Control method, system and device for atmosphere lamp in vehicle and storage medium

文档序号:1893970 发布日期:2021-11-26 浏览:20次 中文

阅读说明:本技术 一种车内氛围灯控制方法、系统、装置及存储介质 (Control method, system and device for atmosphere lamp in vehicle and storage medium ) 是由 邱泽锋 邱泽雨 于 2021-08-25 设计创作,主要内容包括:本申请涉及一种车内氛围灯控制方法、系统、装置及存储介质,涉及智能车控制的领域,其中方法包括响应开车请求,开车请求携带用于驾驶车辆的开车信号;根据开车信号,调取车辆行进信息,车辆行进信息包括车辆行进位置;获取预设道路信息,预设道路信息包括预设实线位置以及预设间距阈值;根据预设实线位置以及车辆行进位置,生成实际离线间距,实际离线间距为预设实线位置与车辆行进位置之间的距离;根据预设间距阈值,判断实际离线间距是否小于预设间距阈值;若判断为是,则生成压线提示指令并执行,压线提示指令用于向车内氛围灯发送压线提示信号。本申请具有使车辆靠近实线时,用户能够得到及时提醒的效果。(The application relates to a method, a system, a device and a storage medium for controlling an atmosphere lamp in a vehicle, relating to the field of intelligent vehicle control, wherein the method comprises the steps of responding to a driving request, wherein the driving request carries a driving signal for driving the vehicle; calling vehicle traveling information according to the driving signal, wherein the vehicle traveling information comprises a vehicle traveling position; acquiring preset road information, wherein the preset road information comprises a preset solid line position and a preset interval threshold; generating an actual offline distance according to the preset solid line position and the vehicle advancing position, wherein the actual offline distance is the distance between the preset solid line position and the vehicle advancing position; judging whether the actual off-line distance is smaller than a preset distance threshold value or not according to the preset distance threshold value; if the judgment result is yes, a line pressing prompt instruction is generated and executed, and the line pressing prompt instruction is used for sending a line pressing prompt signal to an atmosphere lamp in the vehicle. The method and the device have the effect that when the vehicle is close to the solid line, the user can be reminded in time.)

1. An atmosphere lamp control method in a vehicle is characterized by comprising the following steps:

responding to a driving request, wherein the driving request carries a driving signal for driving a vehicle;

calling vehicle traveling information according to the driving signal, wherein the vehicle traveling information comprises a vehicle traveling position;

acquiring preset road information, wherein the preset road information comprises a preset solid line position and a preset interval threshold value;

generating an actual offline distance according to the preset solid line position and the vehicle travelling position, wherein the actual offline distance is the distance between the preset solid line position and the vehicle travelling position;

judging whether the actual off-line distance is smaller than the preset distance threshold or not according to the preset distance threshold;

if the judgment result is yes, generating a line pressing prompt instruction and executing, wherein the line pressing prompt instruction is used for sending a line pressing prompt signal to an atmosphere lamp in the vehicle.

2. The method for controlling an ambience lamp in a vehicle according to claim 1, further comprising, after the step of responding to the driving request:

acquiring vehicle peripheral information, wherein the vehicle peripheral information comprises a vehicle body distance;

acquiring preset driving information, wherein the preset driving information comprises a preset driving threshold value;

judging whether the distance between the vehicle bodies is smaller than a preset driving threshold value or not according to the preset driving threshold value;

if the judgment result is yes, generating a distance prompt instruction and executing, wherein the distance prompt instruction is used for sending a distance prompt signal to an atmosphere lamp in the vehicle.

3. The method for controlling an ambience lamp in a vehicle according to claim 1, further comprising, after the step of responding to the driving request:

acquiring preset speed limit information, wherein the preset speed limit information comprises the current road speed limit;

acquiring actual driving information, wherein the actual driving information comprises actual driving speed;

judging whether the actual driving speed exceeds the current road speed limit or not according to the current road speed limit and the actual driving speed;

if the judgment result is yes, a deceleration prompting instruction is generated and executed, and the deceleration prompting instruction is used for sending a deceleration prompting signal to an atmosphere lamp in the vehicle.

4. The method for controlling an ambience lamp in a vehicle according to claim 1, further comprising, after the step of responding to the driving request:

acquiring driving information, wherein the driving information comprises continuous driving time;

calling a preset driving time threshold according to driving information, and judging whether the continuous driving time exceeds the driving time threshold;

if the judgment result is yes, a resting instruction is generated and executed, and the resting instruction is used for sending a resting signal to the atmosphere lamp in the vehicle.

5. The method for controlling an ambience lamp in a vehicle according to claim 1, further comprising, after the step of responding to the driving request:

responding a communication connection request, wherein the communication connection request carries a communication connection signal for realizing the communication connection relationship between the vehicle and the user intelligent terminal;

calling user terminal information according to the communication connection signal, wherein the user terminal information comprises an incoming call condition;

and generating and sending an incoming call prompt instruction according to the incoming call condition, wherein the incoming call prompt instruction is used for sending an incoming call prompt signal to an atmosphere lamp in the vehicle.

6. The method for controlling an ambience lamp in a vehicle according to claim 1, further comprising, after the step of responding to the driving request:

obtaining user expression information, wherein the user expression information comprises facial expression characteristics;

acquiring preset scene information, wherein the preset scene information comprises a preset scene mode corresponding to the facial expression characteristics;

determining a preset contextual model corresponding to the facial expression features according to the preset contextual information;

and generating a scene switching instruction according to the determined preset scene mode, and executing the scene switching instruction, wherein the scene switching instruction is used for sending a scene switching signal to an atmosphere lamp in the vehicle.

7. The method for controlling an atmosphere lamp in a vehicle according to claim 6, wherein after the step of generating a scene switching command according to a preset scene mode and executing the scene switching command, the method further comprises:

responding to a music playing request, wherein the music playing request carries a music playing signal for playing music;

calling music type information according to the music playing signal, wherein the music type information comprises the current music type;

setting lamplight playing mode information, wherein the lamplight playing mode information comprises a preset lamplight playing mode corresponding to the current music type;

determining a preset lamplight playing mode corresponding to the current music type according to the lamplight playing mode information;

and generating a light playing instruction and executing the light playing instruction according to the preset light playing mode, wherein the light playing instruction is used for sending a playing signal to an atmosphere lamp in the vehicle.

8. An in-vehicle atmosphere lamp control system, comprising:

the system comprises a driving request response module (1) for responding a driving request, wherein the driving request carries a driving signal for driving a vehicle;

the traveling information acquisition module (2) is used for calling vehicle traveling information according to the driving signal, and the vehicle traveling information comprises a vehicle traveling position;

the road information acquisition module (3) is used for acquiring preset road information, and the preset road information comprises a preset solid line position and a preset interval threshold value;

an offline distance obtaining module (4) for generating an actual offline distance according to the preset solid line position and the vehicle traveling position, wherein the actual offline distance is a distance between the preset solid line position and the vehicle traveling position;

the distance judgment module (5) is used for judging whether the actual off-line distance is smaller than the preset distance threshold value according to the preset distance threshold value;

and the prompt signal sending module (6) is used for generating and executing a line pressing prompt instruction, and the line pressing prompt instruction is used for sending a line pressing prompt signal to an atmosphere lamp in the vehicle.

9. The utility model provides an intelligent terminal which characterized in that: comprising a memory and a processor, said memory having stored thereon a computer program which can be loaded by the processor and which performs the method of any of claims 1 to 7.

10. A computer-readable storage medium characterized by: a computer program which can be loaded by a processor and which performs the method according to any one of claims 1 to 7.

Technical Field

The application relates to the field of intelligent vehicle control, in particular to a method, a system and a device for controlling an atmosphere lamp in a vehicle and a storage medium.

Background

With the development of modern economic society, the automobile atmosphere lamp is gradually popularized among various automobile models as a product for decorating automobiles and setting off atmosphere.

According to the road traffic requirement, a user needs to avoid a solid line on a road in the driving process so as to avoid traffic accidents.

With respect to the above-described techniques, the inventors consider that the following drawbacks exist: when the vehicle interior atmosphere lamp works, a user is immersed in light, and is easily distracted in a driving process, so that the phenomenon of driving route deviation occurs.

Disclosure of Invention

In order to enable a user to be reminded timely when a vehicle approaches a solid line, the application provides an in-vehicle atmosphere lamp control method, system, device and storage medium.

In a first aspect, the application provides a method for controlling an atmosphere lamp in a vehicle, which adopts the following technical scheme:

an in-vehicle atmosphere lamp control method comprises the following steps:

responding to a driving request, wherein the driving request carries a driving signal for driving a vehicle;

calling vehicle traveling information according to the driving signal, wherein the vehicle traveling information comprises a vehicle traveling position;

acquiring preset road information, wherein the preset road information comprises a preset solid line position and a preset interval threshold value;

generating an actual offline distance according to the preset solid line position and the vehicle travelling position, wherein the actual offline distance is the distance between the preset solid line position and the vehicle travelling position;

judging whether the actual off-line distance is smaller than the preset distance threshold or not according to the preset distance threshold;

if the judgment result is yes, generating a line pressing prompt instruction and executing, wherein the line pressing prompt instruction is used for sending a line pressing prompt signal to an atmosphere lamp in the vehicle.

Through adopting above-mentioned technical scheme, the user is at the in-process of driving, atmosphere lamp system acquires the actual position information of vehicle in real time in the car, and compare the real-time position of vehicle with predetermineeing the solid line position, calculate the distance that reachs the automobile body apart from the solid line, and generate actual off-line interval, and judge whether actual off-line interval is less than predetermineeing the interval threshold value in real time, when actual off-line interval is less than predetermineeing the interval threshold value, it is nearer apart from the solid line to explain the vehicle, there is the risk of line pressing, atmosphere lamp system generates the line pressing suggestion instruction and carries out in the car this moment, control atmosphere lamp in the car and carry out the scintillation to the user and remind, and then when making the vehicle be close to the solid line, the user can obtain timely warning.

Optionally, after the step of responding to the driving request, the method further includes:

acquiring vehicle peripheral information, wherein the vehicle peripheral information comprises a vehicle body distance;

acquiring preset driving information, wherein the preset driving information comprises a preset driving threshold value;

judging whether the distance between the vehicle bodies is smaller than a preset driving threshold value or not according to the preset driving threshold value;

if the judgment result is yes, generating a distance prompt instruction and executing, wherein the distance prompt instruction is used for sending a distance prompt signal to an atmosphere lamp in the vehicle.

By adopting the technical scheme, in the driving process of a user, the in-vehicle atmosphere lamp system obtains the distance between the obstacle around the vehicle and the vehicle body in real time, judges whether the distance between the vehicle body and the vehicle body is smaller than a preset driving threshold value, and when the distance between the vehicle body and the obstacle is smaller than the preset driving threshold value, the situation that the vehicle is very close to the obstacle and the risk of collision or scratch exists is shown, the in-vehicle atmosphere lamp system generates and executes a distance prompt instruction, the in-vehicle atmosphere lamp is controlled to flicker to prompt the user for the distance, the user is reminded of correcting the driving track in time, and the possibility of traffic accidents is reduced.

Optionally, after the step of responding to the driving request, the method further includes:

acquiring preset speed limit information, wherein the preset speed limit information comprises the current road speed limit;

acquiring actual driving information, wherein the actual driving information comprises actual driving speed;

judging whether the actual driving speed exceeds the current road speed limit or not according to the current road speed limit and the actual driving speed;

if the judgment result is yes, a deceleration prompting instruction is generated and executed, and the deceleration prompting instruction is used for sending a deceleration prompting signal to an atmosphere lamp in the vehicle.

By adopting the technical scheme, in the driving process of a user, the in-vehicle atmosphere lamp system obtains the actual driving speed of the vehicle in real time, inquires and obtains the current road speed limit of the road where the vehicle is located, judges whether the actual driving speed exceeds the current road speed limit, indicates that the user has an overspeed condition at the moment when the actual driving speed exceeds the current road speed limit, generates and executes a deceleration prompt instruction, controls the in-vehicle atmosphere lamp to flicker and prompts the user to perform deceleration operation, and further ensures the driving safety of the user.

Optionally, after the step of responding to the driving request, the method further includes:

acquiring driving information, wherein the driving information comprises continuous driving time;

calling a preset driving time threshold according to driving information, and judging whether the continuous driving time exceeds the driving time threshold;

if the judgment result is yes, a resting instruction is generated and executed, and the resting instruction is used for sending a resting signal to the atmosphere lamp in the vehicle.

By adopting the technical scheme, after a user gets on the vehicle, the vehicle atmosphere lamp system starts to time the driving time of the user, the continuous driving time of the user is accumulated, whether the continuous driving time exceeds the driving time threshold value is judged, when the continuous driving time exceeds the driving time threshold value, the user is indicated to have driven for a long time and is in a fatigue driving state, at the moment, the vehicle atmosphere lamp system generates a rest instruction and executes the rest instruction, and the vehicle atmosphere lamp is controlled to flicker to prompt the user to have a rest, so that the user can be rested in the fatigue driving state.

Optionally, after the step of responding to the driving request, the method further includes:

responding a communication connection request, wherein the communication connection request carries a communication connection signal for realizing the communication connection relationship between the vehicle and the user intelligent terminal;

calling user terminal information according to the communication connection signal, wherein the user terminal information comprises an incoming call condition;

and generating and sending an incoming call prompt instruction according to the incoming call condition, wherein the incoming call prompt instruction is used for sending an incoming call prompt signal to an atmosphere lamp in the vehicle.

By adopting the technical scheme, the user is in communication connection with the vehicle and the personal terminal, so that the atmosphere lamp system in the vehicle can acquire the incoming call condition of the user terminal in real time in the driving process of the user, further generate an incoming call prompt instruction, and control the atmosphere lamp in the vehicle to flash to prompt the user that the user has an incoming call.

Optionally, after the step of responding to the driving request, the method further includes:

obtaining user expression information, wherein the user expression information comprises facial expression characteristics;

acquiring preset scene information, wherein the preset scene information comprises a preset scene mode corresponding to the facial expression characteristics;

determining a preset contextual model corresponding to the facial expression features according to the preset contextual information;

and generating a scene switching instruction according to the determined preset scene mode, and executing the scene switching instruction, wherein the scene switching instruction is used for sending a scene switching signal to an atmosphere lamp in the vehicle.

By adopting the technical scheme, after a user gets on the vehicle, the atmosphere lamp system in the vehicle judges the mood state of the user when the user is in the current state by identifying the facial expression characteristics of the user, and matches the corresponding preset contextual model according to the state of the user, and the atmosphere lamp system in the vehicle generates the contextual switching instruction and executes the contextual switching instruction, so that the atmosphere lamp in the vehicle can automatically select the mode according to the mood state of the user, and the mood of the user can be relaxed when the user drives the vehicle.

Optionally, after the generating the scene switching instruction and executing the step according to the preset scene mode, the method further includes:

responding to a music playing request, wherein the music playing request carries a music playing signal for playing music;

calling music type information according to the music playing signal, wherein the music type information comprises the current music type;

setting lamplight playing mode information, wherein the lamplight playing mode information comprises a preset lamplight playing mode corresponding to the current music type;

determining a preset lamplight playing mode corresponding to the current music type according to the lamplight playing mode information;

and generating a light playing instruction and executing the light playing instruction according to the preset light playing mode, wherein the light playing instruction is used for sending a playing signal to an atmosphere lamp in the vehicle.

By adopting the technical scheme, when the user plays music, the atmosphere lamp system in the vehicle selects the corresponding preset light playing mode according to the currently played music mode, controls the atmosphere lamp in the vehicle to perform light transformation in response to the music, and ensures the audio-visual experience of the user when driving.

In a second aspect, the present application provides an in-vehicle ambience lamp control system, which adopts the following technical scheme:

an in-vehicle ambience lamp control system, comprising:

the driving request response module is used for responding a driving request, and the driving request carries a driving signal for driving a vehicle;

the traveling information acquisition module is used for calling vehicle traveling information according to the driving signal, and the vehicle traveling information comprises a vehicle traveling position;

the road information acquisition module is used for acquiring preset road information, and the preset road information comprises a preset solid line position and a preset interval threshold value;

the off-line distance obtaining module is used for generating an actual off-line distance according to the preset solid line position and the vehicle advancing position, wherein the actual off-line distance is the distance between the preset solid line position and the vehicle advancing position;

the distance judgment module is used for judging whether the actual off-line distance is smaller than the preset distance threshold value or not according to the preset distance threshold value;

and the prompt signal sending module is used for generating and executing a line pressing prompt instruction, and the line pressing prompt instruction is used for sending a line pressing prompt signal to an atmosphere lamp in the vehicle.

In a third aspect, the present application provides an intelligent terminal, which adopts the following technical scheme:

an intelligent terminal comprising a memory and a processor, said memory having stored thereon a computer program that can be loaded by the processor and that can perform any of the above-described in-vehicle ambience lamp control methods.

In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:

a computer readable storage medium storing a computer program that can be loaded by a processor and execute any of the above-described in-vehicle ambience lamp control methods.

In summary, the present application includes at least one of the following beneficial technical effects:

when a user drives a vehicle, the in-vehicle atmosphere lamp system acquires actual position information of the vehicle in real time, the real-time position of the vehicle is compared with a preset solid line position, the distance between the vehicle body and the solid line is calculated, an actual off-line distance is generated, whether the actual off-line distance is smaller than a preset distance threshold value or not is judged in real time, when the actual off-line distance is smaller than the preset distance threshold value, the fact that the vehicle is close to the solid line and a line pressing risk exists is indicated, at the moment, the in-vehicle atmosphere lamp system generates a line pressing prompt instruction and executes the line pressing prompt instruction, the in-vehicle atmosphere lamp is controlled to flash and remind the user, and therefore when the vehicle approaches the solid line, the user can be reminded in time;

when the distance between the vehicle body and the obstacle is smaller than the preset driving threshold value, the fact that the distance between the vehicle and the obstacle is very close is indicated, and the danger of collision or scratch exists, the in-vehicle atmosphere lamp system generates and executes a distance prompt instruction, the in-vehicle atmosphere lamp is controlled to flicker to prompt the distance between the user and remind the user of correcting a driving track in time, and the possibility of traffic accidents is reduced;

in the driving process of a user, the in-vehicle atmosphere lamp system obtains the actual driving speed of the vehicle in real time, inquires and obtains the current road speed limit of the road where the vehicle is located, judges whether the actual driving speed exceeds the current road speed limit, indicates that the user has an overspeed condition at the moment when the actual driving speed exceeds the current road speed limit, generates and executes a deceleration prompt instruction, controls the in-vehicle atmosphere lamp to flicker to prompt the user to perform deceleration operation, and further ensures the driving safety of the user.

Drawings

Fig. 1 is a schematic flow chart of an in-vehicle atmosphere lamp control method according to an embodiment of the present application.

Fig. 2 is a schematic flowchart of generating and executing a distance prompt instruction in the embodiment of the present application.

Fig. 3 is a schematic flowchart of generating and executing a light playing instruction in an embodiment of the present application.

Fig. 4 is a schematic flowchart of generating and executing a deceleration hint instruction in an embodiment of the present application.

FIG. 5 is a flowchart illustrating the generation and execution of a retiring instruction according to an embodiment of the present application.

Fig. 6 is a schematic flow chart illustrating generation and transmission of an incoming call prompt instruction in the embodiment of the present application.

FIG. 7 is a block diagram of an in-vehicle mood light control system in accordance with an embodiment of the present application.

Description of reference numerals: 1. a driving request response module; 2. a travel information acquisition module; 3. a road information acquisition module; 4. an offline interval acquisition module; 5. a distance judgment module; 6. and a prompt signal sending module.

Detailed Description

The present application is described in further detail below with reference to figures 1-7.

The embodiment of the application discloses a method, a system and a device for controlling an atmosphere lamp in a vehicle and a storage medium. Referring to fig. 1, an in-vehicle ambience lamp control method includes:

s101: and responding to the driving request.

Wherein the driving request carries a driving signal for driving the vehicle. Before driving the vehicle, the user opens the lock by operating the vehicle key, so that the vehicle is unlocked, the user enters the vehicle to start the vehicle, and the vehicle is driven.

S102: vehicle travel information is retrieved.

Specifically, the atmosphere lamp system in the vehicle calls vehicle traveling information according to the driving signal, wherein the vehicle traveling information comprises a vehicle traveling position. In the driving process of a user, the atmosphere lamp system in the vehicle detects the driving dynamic state of the vehicle in real time to acquire the actual position information of the vehicle.

S103: and acquiring preset road information.

The preset road information comprises a preset solid line position and a preset distance threshold value. In the driving process of a user, the road marking condition of the position of the vehicle is obtained in real time by the atmosphere lamp system in the vehicle, the solid line position of the actual position of the vehicle is called, the preset solid line position of the current road is obtained, and the preset distance threshold value preset by the user is obtained and is the minimum distance of the solid line between the vehicle bodies. For example, the preset distance threshold preset by the user is 0.2 meters.

S104: an actual offline spacing is generated.

Specifically, the atmosphere lamp system in the vehicle generates an actual off-line distance according to the preset solid line position and the vehicle traveling position, wherein the actual off-line distance is the distance between the preset solid line position and the vehicle traveling position. In the vehicle driving process, the atmosphere lamp system in the vehicle enables the real-time position of the vehicle to be compared with the position of a preset solid line, the distance between the vehicle body and the solid line is calculated, and the actual off-line distance is generated.

S105: and judging whether the actual off-line distance is smaller than a preset distance threshold value.

Specifically, the atmosphere lamp system in the vehicle judges whether the actual off-line distance is smaller than the preset distance threshold value according to the preset distance threshold value. Whether the vehicle body is too close to the solid line at the moment is known through the comparison condition of the actual off-line distance and the preset distance threshold, for example, when the actual off-line distance is smaller than the preset distance threshold by 0.2 m, the vehicle body is close to the solid line at the moment.

If not, jumping to S102;

if yes, the process goes to S106.

S106: and generating a line pressing prompt instruction and executing.

And the line pressing prompting instruction is used for sending a line pressing prompting signal to the atmosphere lamp in the vehicle. When actual off-line interval is less than and predetermines the interval threshold value, it is close to the solid line to explain the vehicle, has the risk of line ball, and atmosphere lamp system generates the line ball suggestion instruction and carries out in the car this moment, and the lamp pearl of control interior atmosphere lamp twinkles the red light, and the user is carried out the scintillation and is reminded, and then when making the vehicle be close to the solid line, the user can obtain timely warning.

Referring to fig. 2, after S101, a distance prompt command is generated according to the vehicle periphery information, and the method specifically includes the following steps:

s201: vehicle peripheral information is acquired.

Wherein the vehicle periphery information includes a vehicle body pitch. In the driving process of a user, the atmosphere lamp system in the vehicle acquires the distance between the surrounding obstacles of the vehicle and the vehicle body in real time to generate the distance between the vehicle body and the surrounding obstacles. For example, when a vehicle is backing or moving in a small range, an atmosphere lamp system in the vehicle detects how far a vehicle body is away from surrounding obstacles, and the distance is the distance between the vehicle bodies.

S202: and acquiring preset driving information.

The preset driving information comprises a preset driving threshold value. The user sets up in advance and predetermines driving threshold value before going, predetermines driving threshold value and is the minimum distance of automobile body distance barrier, and apart from saying, the user predetermines predetermined driving threshold value and is 0.2 meters.

S203: and judging whether the distance between the vehicle bodies is smaller than a preset travelling threshold value or not.

Specifically, the atmosphere lamp system in the car judges whether the car body distance is smaller than a preset driving threshold value according to the preset driving threshold value, and then judges whether the situation that the distance from the barrier is too close exists in the car moving process of the user. In terms of distance, when the distance between the vehicle body and the obstacle is smaller than the preset driving threshold value of 0.2 m preset by the user, the vehicle body is close to the obstacle.

If not, jumping to S201;

if yes, the process goes to S204.

S204: and generating and executing a distance prompt instruction.

The distance prompt instruction is used for sending a distance prompt signal to an atmosphere lamp in the vehicle. When the distance between the vehicle bodies is smaller than the preset driving threshold value, the fact that the distance between the vehicle and the obstacle is very close is indicated, and the danger of collision or scratch exists, at the moment, the in-vehicle atmosphere lamp system generates and executes a distance prompt instruction, the lamp beads of the in-vehicle atmosphere lamp are controlled to flash the yellow lamp, distance prompt is conducted on a user, the user is reminded to correct the driving track in time, and the possibility of traffic accidents is reduced.

Referring to fig. 3, after S101, a scene switching instruction is further generated according to the expression information of the user, and the method specifically includes the following steps:

s301: and acquiring the expression information of the user.

Wherein the user expression information includes facial expression features. After a user gets on the vehicle, the atmosphere lamp system in the vehicle judges the current mood state of the user by identifying facial expression characteristics of the user, and obtains the current expression information of the user. For example, the in-vehicle ambience light system recognizes that the current mood of the user is pleasant by recognizing the smile of the face of the user.

S302: and acquiring preset scene information.

The preset scene information comprises a preset scene mode corresponding to the facial expression features, and the preset scene information is preset and generated by a user. The method comprises the following steps that a user sets a contextual model of the atmosphere lamp in the vehicle according to own preference, for example, when the user is happy, the contextual model corresponds to a contextual model A; and the user is difficult to be outdated and corresponds to the contextual model B.

S303: a preset contextual pattern corresponding to the facial expression features is determined.

Specifically, the atmosphere lamp system in the vehicle determines a preset contextual model corresponding to the facial expression features according to preset contextual information. For example, the atmosphere lamp system in the vehicle matches a corresponding preset contextual model according to the state of the user, and if the user is happy, the contextual model a is determined by matching.

S304: and generating a scene switching instruction and executing.

Specifically, the vehicle interior atmosphere lamp system generates and executes a scene switching command according to the determined preset scene mode, and the scene switching command is used for sending a scene switching signal to the vehicle interior atmosphere lamp. The atmosphere lamp system in the car generates the scene switching instruction, so that the atmosphere lamp in the car can automatically select the mode according to the mood state of the user, and the user can relax the mood through appreciating light when driving the car.

Referring to fig. 3, after S304, a light playing instruction is further generated according to the music type information, which specifically includes the following steps:

s401: in response to the music play request.

Wherein, the music playing request carries a music playing signal for playing music. After a user gets on a vehicle, an atmosphere lamp system in the vehicle firstly identifies the facial expression of the user and automatically selects a mode according to the mood state of the user; when a user wants to listen to music during driving, the user generates a music playing request by operating an operation panel of the vehicle, so that the vehicle plays music, and the user can listen to the music during driving.

S402: music type information is called.

Specifically, the atmosphere lamp system in the vehicle calls music type information according to the music playing signal, wherein the music type information comprises the current music type. For example, the music type includes lyrics, classics, rock, etc., and the in-vehicle mood light system determines the current music type as the lyrics according to the playing signal of the current music.

S403: and setting light playing mode information.

The light playing mode information comprises a preset light playing mode corresponding to the current music type. For example, a user sets a preset lighting playing mode according to own preference and requirements, and when the playing type is the lyrics, the lighting playing mode is the mode A; when the playing type is classical, the lamplight playing mode is B mode; and when the playing type is a rock type, the lamplight playing mode is a C mode.

S404: and determining a preset lamplight playing mode corresponding to the current music type.

Specifically, the atmosphere lamp system in the vehicle determines a preset light playing mode corresponding to the current music type according to the light playing mode information, and when the vehicle plays music, the atmosphere lamp system in the vehicle switches the light mode according to the music type, and does not switch the light according to the user expression. For example, if the current music type is the lyrics class, the in-vehicle mood lamp system determines the preset light playing mode a corresponding to the lyrics class no matter what state the expression features of the user are.

S405: and generating a light playing instruction and executing.

Specifically, the atmosphere lamp system in the vehicle generates a light playing instruction and executes the light playing instruction according to a preset light playing mode, and the light playing instruction is used for sending a playing signal to the atmosphere lamp in the vehicle. Atmosphere lamp system in the car selects corresponding preset light broadcast mode according to the music mode of present broadcast, and control atmosphere lamp in the car corresponds with the music and carries out the light transform, guarantees that the user sees the audio-visual experience when driving.

Referring to fig. 4, after S101, a deceleration prompting instruction is generated according to the actual driving information, which specifically includes the following steps:

s501: and acquiring preset speed limit information.

The preset speed limit information comprises the current road speed limit. In the driving process of a user, the atmosphere lamp system in the vehicle acquires the actual driving position of the vehicle in real time, and inquires and acquires the current road speed limit of the road where the vehicle is located. For example, if the speed limit of the road on which the vehicle is located is 70 km/h, the current road speed limit is 70.

S502: and acquiring actual driving information.

Wherein the actual driving information includes an actual driving speed. In the driving process of a user, the atmosphere lamp system in the vehicle acquires the actual driving speed of the vehicle in real time to monitor the vehicle speed. For example, if the actual vehicle speed of the vehicle is 60 km/h, the current actual driving speed is 60.

S503: and judging whether the actual driving speed exceeds the current road speed limit.

Specifically, the atmosphere lamp system in the vehicle judges whether the actual driving speed exceeds the current road speed limit according to the current road speed limit and the actual driving speed. For example, the ambient light system in the vehicle compares the actual driving speed 60 with the current road speed limit 70 to determine whether the vehicle has an overspeed.

If not, jumping to S501;

if yes, the process goes to S504.

S504: and generating and executing a deceleration prompt instruction.

The deceleration prompting instruction is used for sending a deceleration prompting signal to an atmosphere lamp in the vehicle. When the actual driving speed exceeds the current road speed limit, it is shown that the user has an overspeed condition at the moment, the atmosphere lamp system in the vehicle generates a deceleration prompt instruction, the lamp bead of the atmosphere lamp in the vehicle is controlled to flash blue light, the user is prompted to perform deceleration operation, and then the driving safety of the user is ensured.

Referring to fig. 5, after S101, a distress instruction is generated according to the driving information, which specifically includes the following steps:

s601: and acquiring driving information.

Wherein the driving information includes a continuous driving time. After the user starts driving, the in-vehicle atmosphere lamp system times the driving time of the user through the timer, and the timer accumulates the continuous driving time of the user to enable the in-vehicle atmosphere lamp system to obtain the continuous driving time of the user.

S602: and judging whether the continuous driving time exceeds a driving time threshold value.

Specifically, the atmosphere lamp system in the vehicle calls a preset driving time threshold value according to the driving information, and judges whether the continuous driving time exceeds the driving time threshold value. For example, the preset driving time threshold is 4 hours, and when the user drives the motor vehicle for more than 4 hours continuously and does not stop for rest, the atmosphere lamp system in the vehicle judges that the user is in a fatigue driving state.

If not, jumping to S601;

if yes, the process goes to S603.

S603: generating a retiring instruction and executing.

The adjusting instruction is used for sending adjusting signals to atmosphere lamps in the vehicle. When the continuous driving time exceeds the driving time threshold, the user is indicated to be in a fatigue driving state after driving for a long time, at the moment, the atmosphere lamp system in the vehicle generates and executes a trimming instruction, the lamp bead of the atmosphere lamp in the vehicle is controlled to flash green light, the user is prompted to have a rest, and the user can be rested in the fatigue driving state.

Referring to fig. 6, after S101, an incoming call prompt instruction is further generated according to the user terminal information, which specifically includes the following steps:

s701: in response to the communication connection request.

The communication connection request carries a communication connection signal used for realizing the communication connection relation between the vehicle and the user intelligent terminal. Before a user drives a vehicle, the vehicle and the personal terminal are communicated and connected through Bluetooth by operating the intelligent terminal and the control panel of the vehicle.

S702: and calling user terminal information.

Specifically, the atmosphere lamp system in the vehicle calls the user terminal information according to the communication connection signal, wherein the user terminal information includes the incoming call condition. In the driving process of a user, the atmosphere lamp system in the vehicle can acquire the call condition of the user terminal in real time, and the vehicle-machine interaction process is realized.

S703: and generating and sending an incoming call prompt instruction.

Specifically, the atmosphere lamp system in the vehicle generates and sends an incoming call prompt instruction according to the incoming call condition, and the incoming call prompt instruction is used for sending an incoming call prompt signal to the atmosphere lamp in the vehicle. When the intelligent terminal of the user has telephone access, the atmosphere lamp system in the vehicle generates an incoming call prompt instruction, and the lamp bead of the atmosphere lamp in the vehicle is controlled to flicker purple light, so that the user is prompted to have an incoming call.

The implementation principle of the control method for the atmosphere lamp in the vehicle in the embodiment of the application is as follows: in the driving process of a user, the atmosphere lamp system in the vehicle acquires actual position information of the vehicle in real time, compares the real-time position of the vehicle with the position of a preset solid line, calculates the distance between the vehicle body and the solid line, generates an actual off-line distance, and judges whether the actual off-line distance is smaller than a preset distance threshold value or not in real time. When the actual off-line distance is smaller than the preset distance threshold value, the fact that the vehicle is close to the solid line is indicated, the risk of line pressing exists, the atmosphere lamp system in the vehicle generates a line pressing prompt instruction and executes the line pressing prompt instruction, the lamp bead of the atmosphere lamp in the vehicle is controlled to flicker red light, the user is reminded of flickering, and then when the vehicle is close to the solid line, the user can be reminded of timely.

Based on the method, the embodiment of the application further discloses an atmosphere lamp control system in the vehicle. Referring to fig. 7, an in-vehicle ambience lamp control system includes:

the driving request response module 1 is used for responding to a driving request, and the driving request carries a driving signal for driving a vehicle.

The vehicle driving information acquisition module 2 is used for acquiring vehicle driving information according to the driving signal, and the vehicle driving information comprises a vehicle driving position.

The road information acquisition module 3 is used for acquiring preset road information, and the preset road information comprises a preset solid line position and a preset interval threshold.

And the offline distance acquiring module 4 is configured to generate an actual offline distance according to the preset solid line position and the vehicle traveling position, where the actual offline distance is a distance between the preset solid line position and the vehicle traveling position.

And the distance judgment module 5 is used for judging whether the actual off-line distance is smaller than the preset distance threshold value according to the preset distance threshold value.

And the prompt signal sending module 6 is used for generating and executing a line pressing prompt instruction, and the line pressing prompt instruction is used for sending a line pressing prompt signal to an atmosphere lamp in the vehicle.

The embodiment of the application also discloses an intelligent terminal which comprises a memory and a processor, wherein the memory is stored with a computer program which can be loaded by the processor and can execute the in-vehicle atmosphere lamp control method.

The embodiment of the application also discloses a computer readable storage medium. A computer program capable of being loaded by a processor and executing an in-vehicle ambience lamp control method as described above is stored in a computer readable storage medium, which comprises for example: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

The above examples are only used to illustrate the technical solutions of the present invention, and do not limit the scope of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from these embodiments without making any inventive step, fall within the scope of the present invention. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art may still make various combinations, additions, deletions or other modifications of the features of the embodiments of the present invention according to the situation without conflict, so as to obtain different technical solutions without substantially departing from the spirit of the present invention, and these technical solutions also fall within the protection scope of the present invention.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种铁路隧道智能型照明系统及其使用方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!