Vehicle signal lamp automatic activation method, device and equipment and storage medium
By obtaining vehicle status data and setting activation flags, the vehicle signal lights are automatically activated, and the problems of complex operation and lack of intelligence in the existing technology are solved, and driving safety and warning effectiveness are improved.
Patent Information
- Application Number
- CN202411265140.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-11-08
AI Technical Summary
The operation of existing vehicle signal lights is complex and depends on the driver's active control, which may delay or misoperate in emergencies, and lack intelligence, and the warning mode cannot be automatically adjusted according to the vehicle status or external environment, reducing driving safety.
By obtaining the vehicle's speed, steering angle, high-speed driving threshold, steering threshold and emergency braking threshold, setting the activation sign and automatically activate the corresponding turn signal and/or dual flash lights, realizing intelligent identification and automatic switching to prevent error operations .
It simplifies the operation complexity of drivers in emergency situations, reduces the risk of misoperation, improves driving safety, and realizes the ability to automatically adjust the warning method according to the vehicle status and external environment.
Smart Images

Figure CN118921809A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle lighting control, and in particular to a method, device, equipment and storage medium for automatically activating vehicle signal lights. Background Art
[0002] In the automotive electrical system, turn signals and double flashes (hazard warning flashers) are important devices to ensure driving safety. They respectively bear the key functions of indicating the direction of the vehicle and alerting surrounding vehicles and pedestrians in an emergency. However, the current implementation methods mostly rely on manual operation of physical switches or electronic control units, which has some disadvantages in practical applications. First, the operation is complicated. When switching between turn signals and double flashes, some models require the driver to complete it through multiple buttons or complex combination operations, which increases the driving burden. Especially in an emergency, the timely issuance of warning signals may be delayed due to cumbersome operations. Secondly, there is a risk of misoperation. When driving at high speeds or in complex traffic environments, drivers are prone to mistakenly turn on the turn signal instead of the double flash due to nervousness or misjudgment, or mistakenly turn on the turn signal when the double flash is required, which reduces the effectiveness of the safety warning. Finally, there is a lack of intelligence. The signal lights of most vehicles rely on the driver's active operation and cannot automatically adjust the warning mode according to the vehicle status or external environment, thereby limiting the further improvement of driving safety.
[0003] Therefore, how to realize automatic control of vehicle signal lights is a problem that urgently needs to be solved. Summary of the invention
[0004] The main purpose of the present application is to provide a method, device, equipment and storage medium for automatically activating vehicle signal lights, aiming to solve the technical problem of how to achieve automatic control of vehicle signal lights.
[0005] To achieve the above objectives, the present application proposes a method for automatically activating a vehicle signal light, the method comprising:
[0006] Obtain the vehicle's speed, steering angle, high-speed driving threshold, steering threshold, and emergency braking threshold;
[0007] Setting an activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold, and the emergency braking threshold;
[0008] Activate corresponding turn signal lights and / or hazard lights according to the activation flag position.
[0009] In one embodiment, the activation flag includes a steering activation flag and a double flash activation flag, and the step of setting the activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold, and the emergency braking threshold includes:
[0010] Setting a double flash activation flag according to the vehicle speed, the high-speed driving threshold and the emergency braking threshold;
[0011] A steering activation flag is set according to the vehicle speed, the steering angle and the steering threshold.
[0012] In one embodiment, the step of setting the double flash activation flag according to the vehicle speed, the high-speed driving threshold and the emergency braking threshold comprises:
[0013] Obtaining a vehicle speed change rate according to the vehicle speed;
[0014] Obtaining a vehicle speed state according to the vehicle speed and the high-speed driving threshold;
[0015] When the vehicle speed state is a high speed state and the vehicle speed change rate is less than the emergency braking threshold, the double flash activation flag is set to a set state.
[0016] In one embodiment, the steering activation flag includes a first steering activation flag and a second steering activation flag, and the step of setting the steering activation flag according to the vehicle speed, the steering angle and the steering threshold includes:
[0017] determining a steering direction according to the steering angle;
[0018] A first steering activation flag and a second steering activation flag are set according to the vehicle speed, the steering angle, the steering threshold, and the steering direction.
[0019] In one embodiment, the step of setting the first steering activation flag and the second steering activation flag according to the vehicle speed, the steering angle, the steering threshold, and the steering direction comprises:
[0020] When the vehicle speed is greater than a preset vehicle speed threshold, the steering direction is left and the absolute value of the steering angle is greater than the steering threshold, setting the first steering activation flag to a set state;
[0021] When the vehicle speed is greater than a preset vehicle speed threshold, the steering direction is right and the absolute value of the steering angle is greater than the steering threshold, the second steering activation flag is set to a set state.
[0022] In one embodiment, the step of activating the corresponding turn signal and / or double flash light according to the activation flag comprises:
[0023] When the activation flag is a double flash activation flag and the double flash activation flag is in a set state, activating the double flash lights;
[0024] When the activation flag is the first turn activation flag and the first turn activation flag is in a set state, activating the left turn signal lamp;
[0025] When the activation flag is the second turn activation flag and the second turn activation flag is in a set state, the right turn signal lamp is activated.
[0026] In one embodiment, the activation flag includes a turn signal activation flag and a double flash signal activation flag, and the step of activating the corresponding turn signal and / or double flash signal according to the activation flag includes:
[0027] When the double flash activation flag and the turn signal activation flag are both in a set state, obtaining the activation priority of the double flash lights and the turn signal lights;
[0028] The turn signal lamp and the hazard lamp are activated in sequence according to the activation priority, and an audible and visual reminder is given to the driver.
[0029] In addition, to achieve the above purpose, the present application also proposes a vehicle signal light automatic activation device, the device comprising:
[0030] A data acquisition module is used to obtain the vehicle speed, steering angle, high-speed driving threshold, steering threshold and emergency braking threshold;
[0031] A flag setting module, used for setting an activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold and the emergency braking threshold;
[0032] The automatic control module is used to activate the corresponding turn signal lamp and / or double flash lamp according to the activation flag position.
[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle signal light automatic activation device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle signal light automatic activation method as described above.
[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the vehicle signal light automatic activation method as described above are implemented.
[0035] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the method for automatically activating a vehicle signal light as described above are implemented.
[0036] The present application provides a method for automatically activating vehicle signal lights, and the method of the present application includes: obtaining the vehicle speed, steering angle, high-speed driving threshold, steering threshold, and emergency braking threshold of the vehicle; setting an activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold, and the emergency braking threshold; activating the corresponding turn signal lights and / or double flash lights according to the activation flag. In summary, the present application solves the problem of how to realize automatic control of vehicle signal lights through intelligent identification, automatic switching, and anti-misoperation mechanisms, simplifies the complexity of the driver's operation in emergency situations, effectively reduces the risk of misoperation, and improves driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0039] Figure 1 A schematic diagram of a flow chart provided for the first embodiment of the method for automatically activating a vehicle signal light of the present application;
[0040] Figure 2 A schematic diagram of a flow chart provided for a second embodiment of the method for automatically activating a vehicle signal light of the present application;
[0041] Figure 3 A schematic diagram of a flow chart provided for the third embodiment of the method for automatically activating a vehicle signal light of the present application;
[0042] Figure 4 This is a schematic diagram of the module structure of the automatic activation device for vehicle signal lights according to an embodiment of the present application;
[0043] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the method for automatically activating vehicle signal lights in the embodiment of the present application.
[0044] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0045] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0046] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0047] The main solution of the embodiment of the present application is: obtaining the vehicle speed, steering angle, high-speed driving threshold, steering threshold and emergency braking threshold; setting an activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold and the emergency braking threshold; activating the corresponding turn signal and / or double flash light according to the activation flag.
[0048] In the automotive electrical system, turn signals and double flashes (hazard warning flashers) are important devices to ensure driving safety. They respectively bear the key functions of indicating the direction of the vehicle and alerting surrounding vehicles and pedestrians in an emergency. However, the current implementation methods mostly rely on manual operation of physical switches or electronic control units, which has some disadvantages in practical applications. First, the operation is complicated. When switching between turn signals and double flashes, some models require the driver to complete it through multiple buttons or complex combination operations, which increases the driving burden. Especially in an emergency, the timely issuance of warning signals may be delayed due to cumbersome operations. Secondly, there is a risk of misoperation. When driving at high speeds or in complex traffic environments, drivers are prone to mistakenly turn on the turn signal instead of the double flash due to nervousness or misjudgment, or mistakenly turn on the turn signal when the double flash is required, which reduces the effectiveness of the safety warning. Finally, there is a lack of intelligence. The signal lights of most vehicles rely on the driver's active operation and cannot automatically adjust the warning mode according to the vehicle status or external environment, thereby limiting the further improvement of driving safety. Therefore, how to achieve automatic control of vehicle signal lights is a problem that needs to be solved urgently.
[0049] The present application solves the problem of how to achieve automatic control of vehicle signal lights through intelligent identification, automatic switching and anti-misoperation mechanisms, simplifies the operation complexity of the driver in emergency situations, effectively reduces the risk of misoperation, and improves driving safety.
[0050] It should be noted that the execution subject of this embodiment may be a vehicle signal light automatic activation system, or a computing service device with data processing, network communication and program running functions, or an electronic device capable of realizing the above-mentioned vehicle signal light automatic activation function, etc., and this embodiment does not specifically limit this. The following takes the vehicle signal light automatic activation system as an example to illustrate this embodiment and the following embodiments.
[0051] Based on this, the embodiment of the present application provides a method for automatically activating a vehicle signal light, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for automatically activating vehicle signal lights of the present application.
[0052] In this embodiment, the vehicle signal light automatic activation method includes steps S10 to S30:
[0053] Step S10: Acquire the vehicle speed, steering angle, high-speed driving threshold, steering threshold and emergency braking threshold of the vehicle.
[0054] It should be noted that the vehicle speed refers to the speed of the vehicle on the current road; the steering angle is the deflection angle of the front wheel of the vehicle relative to the center line of the vehicle body, which is used to determine the direction of the vehicle; the high-speed driving threshold is the standard for distinguishing between low-speed and high-speed states of the vehicle; the steering threshold is used to determine whether the vehicle has an obvious turning intention; the emergency braking threshold is based on the rate of change of the vehicle speed to determine whether emergency braking has occurred. Specifically, in this step, the system will obtain the necessary information through the intelligent recognition module integrated in the vehicle ECU. The module will read the current vehicle speed in real time through the vehicle speed sensor, and at the same time, obtain the steering angle of the vehicle through the steering angle sensor. In addition, the system also needs to obtain the high-speed driving threshold, steering threshold and emergency braking threshold, and these parameters can be customized by the user in advance.
[0055] Step S20: setting an activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold and the emergency braking threshold.
[0056] It should be noted that the activation flag is the result of the current working condition judgment, indicating whether the current vehicle needs to activate the corresponding signal light, which is used to control the subsequent light activation operation. Specifically, in this step, after obtaining the above data, the system will enter the logical judgment stage of the current working condition of the vehicle. The system will compare the vehicle speed with the high-speed driving threshold and the emergency braking threshold to determine whether the current vehicle needs emergency braking and set the corresponding activation flag. At the same time, the system will also combine the steering angle and steering threshold to determine whether the vehicle has a steering intention and set the corresponding activation flag.
[0057] Step S30: activating corresponding turn signals and / or hazard lights according to the activation flag.
[0058] It should be noted that turn signals are mainly used to provide clear visual signals to other road users when the vehicle turns or changes lanes to prevent accidents. They are usually located on the front and rear sides of the vehicle and flash according to the driver's steering operation. Double flash lights, also known as hazard warning flashers, are a light signal used for emergency warnings. Generally, when a vehicle encounters emergency braking or a breakdown, it warns other road users around it to attract attention and prompt other vehicles and pedestrians to keep a safe distance.
[0059] In addition, it should be noted that in this step, the system will execute the corresponding activation logic to activate the corresponding signal light according to the activation flag set in step S20. Specifically, when the flag corresponding to the turn is activated, it means that the vehicle is turning and the turn signal is activated. When the flag corresponding to the double flash is activated, it means that the vehicle is in emergency braking and the double flash is activated. If none of the above conditions are met, no light will be activated. It can be understood that this step ensures that the corresponding light signals can be accurately and timely issued in different driving scenarios through logical judgment and flag control.
[0060] This embodiment provides a method for automatically activating vehicle signal lights, and the method of this embodiment includes: obtaining the vehicle speed, steering angle, high-speed driving threshold, steering threshold, and emergency braking threshold of the vehicle; setting an activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold, and the emergency braking threshold; activating the corresponding turn signal lights and / or double flash lights according to the activation flag. In summary, this embodiment solves the problem of how to achieve automatic control of vehicle signal lights through intelligent identification, automatic switching, and anti-misoperation mechanisms, simplifies the complexity of the driver's operation in emergency situations, effectively reduces the risk of misoperation, and improves driving safety.
[0061] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 2 , Figure 2 This is a flow chart of the second embodiment of the method for automatically activating a vehicle signal light of the present application, wherein step S20 specifically includes:
[0062] Step S201: setting a double flash activation flag according to the vehicle speed, the high-speed driving threshold and the emergency braking threshold.
[0063] It should be noted that the double flash activation flag can be a Boolean flag or a numerical flag. This embodiment does not limit this. It is mainly used to indicate whether the vehicle needs to activate the double flash lights. In this step, the system will read the vehicle speed in real time through the intelligent recognition module integrated in the vehicle ECU and compare it with the preset high-speed driving threshold to determine the current speed state of the vehicle. Then, by monitoring the vehicle speed data and calculating the speed change rate, it is compared with the emergency braking threshold. If the speed change rate meets the preset judgment condition, it means that the vehicle is in emergency braking and the double flash activation flag needs to be set.
[0064] In a feasible implementation manner, the step S201 specifically includes:
[0065] Step A10: Obtaining the vehicle speed change rate according to the vehicle speed.
[0066] It should be noted that the vehicle speed change rate is a dynamic parameter that changes according to the vehicle speed change. It mainly reflects the speed of the vehicle speed change and is used to determine whether the vehicle is decelerating rapidly in a short period of time (i.e., whether it is in an emergency braking state). In addition, it should be noted that in this step, in order to calculate the vehicle speed change rate (i.e., deceleration or acceleration), the ECU will record the vehicle speed values at several consecutive time points and calculate the vehicle speed change rate α based on these values. The vehicle speed change rate can be calculated by the difference method, that is, the speed difference between two adjacent time points is divided by the time interval. For example, assuming that the vehicle speed at a certain moment t1 is V1, and the vehicle speed at the next moment t2 (time interval Δt) is V2, the vehicle speed change rate α can be calculated by the formula (V1-V2) / Δt. If the result is a positive value, it means that the vehicle is accelerating; if the result is a negative value and the absolute value is large, it means that the vehicle is decelerating rapidly, which may be an emergency braking situation.
[0067] Step A20: Obtaining the vehicle speed state according to the vehicle speed and the high-speed driving threshold.
[0068] It should be noted that the high-speed driving threshold is a pre-configured parameter, and its setting value should be comprehensively considered according to factors such as different vehicle types, road conditions and safety regulations. In this step, the system compares the real-time read vehicle speed V with the preset high-speed driving threshold V_threshold. If V is greater than V_threshold, the vehicle is judged to be in a high-speed state and the vehicle speed state is set to a high-speed state; if V is less than or equal to V_threshold, the vehicle is judged to be in a low-speed state and the vehicle speed state is set to a low-speed state. It can be understood that the role of this step is to distinguish different driving states of the vehicle and provide a basis for subsequent steering intention recognition and emergency braking recognition.
[0069] Step A30: When the vehicle speed state is a high speed state and the vehicle speed change rate is less than the emergency braking threshold, the double flash activation flag is set to a set state.
[0070] It should be noted that the emergency braking threshold is also a configurable parameter, and its set value should be determined based on factors such as vehicle performance, braking system characteristics and safety standards. By adjusting this threshold, unnecessary activation of the double flash can be avoided while ensuring driving safety, reducing interference with other traffic participants. In addition, it should be noted that the system determines that this step will only be executed when two conditions are met. One is that the vehicle speed is in a high-speed state, and the other is that the vehicle speed change rate is less than the emergency braking threshold. When these two conditions are met at the same time, it means that the vehicle is traveling at a high speed and emergency braking has occurred. At this time, the double flash activation flag should be set to the set state to trigger the activation of the double flash lights. For example, suppose the vehicle is currently in a high-speed state, and the calculated result of the vehicle speed change rate is -10m / s. 2 (indicating that the vehicle is decelerating rapidly), and the emergency braking threshold is set to -5m / s 2 . Due to -10m / s 2 <-5m / s 2 Therefore, the judgment condition of emergency braking is met and the double flash activation flag is set to the set state.
[0071] Step S202: setting a steering activation flag according to the vehicle speed, the steering angle and the steering threshold.
[0072] It should be noted that the steering angle threshold is a preset angle value used to determine whether the vehicle has a clear intention to turn. Only when the steering angle exceeds this threshold will the system consider that the driver has a need for steering operation. The steering activation flag can also be a Boolean flag or a numerical flag, which is mainly used to indicate whether the vehicle needs to activate the turn signal. In this step, the system will read the steering angle sensor data and the vehicle speed sensor data through the intelligent recognition module, and combine it with the preset steering angle threshold to determine whether the current vehicle has a clear intention to turn, so as to set the steering activation flag position in the corresponding direction.
[0073] In a feasible implementation manner, the step S202 specifically includes:
[0074] Step B10: Determine the steering direction according to the steering angle.
[0075] It should be noted that in this step, the system will read the data of the steering angle sensor (i.e., the steering angle) in real time through the intelligent recognition module integrated in the vehicle ECU, and then determine the steering direction by judging the positive and negative values of the steering angle. When the steering angle is positive, it means that the vehicle intends to turn right; when the steering angle is negative, it means that the vehicle intends to turn left; if the steering angle is close to or equal to zero, it is considered that there is no steering intention.
[0076] Step B20: setting a first steering activation flag and a second steering activation flag according to the vehicle speed, the steering angle, the steering threshold and the steering direction.
[0077] It should be noted that the steering activation flag includes a first steering activation flag and a second steering activation flag, the first steering activation flag is used to control the activation state of the left turn signal, and the second steering activation flag is used to control the activation state of the right turn signal. In addition, it should be noted that in this step, after obtaining the vehicle speed, steering angle, preset steering threshold and steering direction determined in step B10, the system will combine this information for logical judgment. Specifically, when the vehicle speed and steering angle both meet the preset conditions, the system will set the corresponding first steering activation flag (left turn) or second steering activation flag (right turn) to the set state according to the steering direction.
[0078] In a feasible implementation manner, the step B20 specifically includes:
[0079] Step B201: When the vehicle speed is greater than a preset vehicle speed threshold, the steering direction is left and the absolute value of the steering angle is greater than the steering threshold, the first steering activation flag is set to a set state.
[0080] It should be noted that in this step, if all the above conditions are met, the system will set the first turn activation flag (the flag used to indicate that the left turn signal should be activated) to the set state, indicating that the system has recognized the intention to turn left and is ready to activate the left turn signal. For example, in a specific driving scenario, when the driver is preparing to change lanes to the left lane on the highway, the vehicle speed reaches 100km / h (exceeding the preset 80km / h threshold), and the steering wheel turns to the left more than 15 degrees (exceeding the preset 10-degree threshold). At this time, the system will set the first turn activation flag to the set state according to the above judgment logic.
[0081] Step B202: When the vehicle speed is greater than a preset vehicle speed threshold, the steering direction is right and the absolute value of the steering angle is greater than the steering threshold, the second steering activation flag is set to a set state.
[0082] It should be noted that in this step, if all the above conditions are met, the system will set the second turn activation flag (the flag used to indicate that the right turn signal should be activated) to the set state, indicating that the system has recognized the intention to turn right and is ready to activate the right turn signal. For example, when the driver is preparing to change lanes to the right lane on the highway, the vehicle speed reaches 100km / h (exceeding the preset 80km / h threshold), and the steering wheel turns to the right more than 15 degrees (exceeding the preset 10-degree threshold), at this time the system will set the second turn activation flag to the set state.
[0083] In this embodiment, by real-time analysis of data such as the vehicle speed and steering angle during driving to activate the corresponding signal lights, it is possible to distinguish between the vehicle in an emergency braking state and a steering state, thereby solving the problem of the driver failing to promptly or correctly activate the turn signal or hazard lights due to complex operations or misjudgment when driving at high speeds or in complex traffic environments, thereby improving accuracy and timeliness.
[0084] Based on the first and second embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those in the first and second embodiments can be referred to the above description, and will not be described in detail later. Figure 3 , Figure 3 This is a flow chart of the third embodiment of the method for automatically activating a vehicle signal light of the present application, wherein step S30 specifically includes:
[0085] Step S301: activating the double flash lights when the activation flag is a double flash activation flag and the double flash activation flag is in a set state.
[0086] It should be noted that in this step, the system will read the status of the double flash activation flag according to the control logic unit, and then control the double flash lights according to the status of the double flash activation flag. Specifically, if the double flash activation flag is in the set state, the ECU sends a command to the control circuit of the double flash lights to activate the double flash lights. For example, during high-speed driving, if the driver suddenly performs emergency braking. At this time, the vehicle speed sensor and brake sensor quickly feed back data to the intelligent recognition module, which is judged as an emergency braking situation, and the double flash activation flag is set. After reading the status of the double flash activation flag, the system will immediately activate the double flash lights, thereby effectively warning the rear and side vehicles and improving driving safety.
[0087] Step S302: When the activation flag is the first turn activation flag and the first turn activation flag is in a set state, activating the left turn signal.
[0088] It should be noted that in this step, the system will read the state of the first turn activation flag according to the control logic unit, and then control the left turn signal according to the state of the first turn activation flag. Specifically, if the first turn activation flag is in the set state, the ECU sends an instruction to the control circuit of the left turn signal to activate the left turn signal. The left turn signal then lights up, sending a left turn signal to surrounding vehicles and pedestrians. For example, when driving at a low speed, the driver intends to turn left. The steering angle sensor detects that the steering angle of the vehicle exceeds the preset angle threshold, and the vehicle speed sensor confirms that the vehicle speed is in a low speed state. Based on this, the intelligent recognition module determines that the vehicle has the intention to turn left and sets the first turn activation flag. After receiving this state, the control logic unit immediately activates the left turn signal to help the driver convey clear steering information to other traffic participants.
[0089] Step S303: When the activation flag is the second turn activation flag and the second turn activation flag is in a set state, activating the right turn signal.
[0090] It should be noted that in this step, the system will read the state of the second turn activation flag according to the control logic unit, and then control the right turn signal according to the state of the second turn activation flag. The specific execution steps are similar to the process of activating the left turn signal, which will not be repeated here.
[0091] Step S304: When the double flash activation flag and the turn signal activation flag are both in a set state, the activation priority of the double flash lights and the turn signal lights is obtained.
[0092] It should be noted that when the system detects that the vehicle may meet the conditions for activating both the double flash (such as emergency braking) and the turn signal (such as a clear turning intention) at the same time, the double flash activation flag and the turn signal activation flag will be set. At this time, the system needs to determine which warning method has a higher priority to ensure that the safety warning of the signal light in an emergency situation can be communicated in a timely and effective manner. Specifically, the system will first access the pre-set priority judgment logic, which is usually stored in the vehicle's ECU and can be adjusted according to user-defined settings. The priority judgment logic will clearly define which warning method should be executed first when multiple warning methods coexist. In most cases, double flashes (hazard warning flashers) are considered to be the highest safety level warning method.
[0093] Step S305: activating the turn signal lamp and the hazard lamp in sequence according to the activation priority, and issuing an audible and visual reminder to the driver.
[0094] It should be noted that in this step, the system will activate the corresponding signal lights in order according to the activation priority. If the double flash has a higher priority, the system will first activate the double flash, and then activate the turn signal within a period of time after the double flash is activated (if necessary). At the same time, the system will issue an audible and visual reminder to the driver to inform him of the current system status and reduce safety hazards caused by misoperation or misunderstanding.
[0095] In addition, it should be noted that the sound and light reminders include sound reminders (such as beeps, voice prompts) and visual reminders (such as flashing prompts on the instrument panel, information display on the central control screen), which are used to provide the driver with timely feedback on changes in system status and warning methods.
[0096] In this embodiment, by setting the status of different activation flags and the priority of different activation flags, the warning mode is automatically adjusted according to different vehicle states and external environments, which improves the pertinence and effectiveness of safety warnings and provides more comprehensive safety protection for drivers and surrounding traffic participants. At the same time, the control conditions can be customized to meet the personalized needs of different drivers and improve the adaptability of vehicle light activation control.
[0097] This application also provides a vehicle signal light automatic activation device, please refer to Figure 4 , the vehicle signal light automatic activation device comprises:
[0098] The data acquisition module 10 is used to obtain the vehicle speed, steering angle, high-speed driving threshold, steering threshold and emergency braking threshold of the vehicle.
[0099] The flag setting module 20 is used to set an activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold and the emergency braking threshold.
[0100] The automatic control module 30 is used to activate the corresponding turn signal lamp and / or double flash lamp according to the activation flag position.
[0101] The automatic activation device for vehicle signal lights provided by the present application adopts the automatic activation method for vehicle signal lights in the above-mentioned embodiment, and can solve the technical problem of how to realize automatic control of vehicle signal lights. Compared with the prior art, the beneficial effects of the automatic activation device for vehicle signal lights provided by the present application are the same as the beneficial effects of the automatic activation method for vehicle signal lights provided by the above-mentioned embodiment, and other technical features in the automatic activation device for vehicle signal lights are the same as the features disclosed in the above-mentioned embodiment method, which will not be described in detail here.
[0102] In one embodiment, the flag setting module 20 is further used to set the double flash activation flag according to the vehicle speed, the high-speed driving threshold and the emergency braking threshold; and to set the steering activation flag according to the vehicle speed, the steering angle and the steering threshold.
[0103] In one embodiment, the flag setting module 20 is also used to obtain the vehicle speed change rate according to the vehicle speed; obtain the vehicle speed state according to the vehicle speed and the high-speed driving threshold; when the vehicle speed state is a high-speed state and the vehicle speed change rate is less than the emergency braking threshold, the double flash activation flag is set to a set state.
[0104] In one embodiment, the flag setting module 20 is further used to determine the steering direction according to the steering angle; and to set the first steering activation flag and the second steering activation flag according to the vehicle speed, the steering angle, the steering threshold and the steering direction.
[0105] In one embodiment, the flag setting module 20 is also used to set the first steering activation flag to a set state when the vehicle speed is greater than a preset vehicle speed threshold, the steering direction is left and the absolute value of the steering angle is greater than the steering threshold; and set the second steering activation flag to a set state when the vehicle speed is greater than a preset vehicle speed threshold, the steering direction is right and the absolute value of the steering angle is greater than the steering threshold.
[0106] In one embodiment, the automatic control module 30 is further used to activate the double flash lights when the activation flag is the double flash activation flag and the double flash activation flag is in a set state; to activate the left turn signal when the activation flag is the first turn signal activation flag and the first turn signal activation flag is in a set state; and to activate the right turn signal when the activation flag is the second turn signal activation flag and the second turn signal activation flag is in a set state.
[0107] In one embodiment, the automatic control module 30 is further used to obtain the activation priority of the double flash lights and the turn signal lights when the double flash activation flag and the turn signal activation flag are both in the set state; activate the turn signal lights and the double flash lights in sequence according to the activation priority, and issue an audible and visual reminder to the driver.
[0108] The present application provides a vehicle signal light automatic activation device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle signal light automatic activation method in the above-mentioned embodiment one.
[0109] Reference below Figure 5 , which shows a schematic diagram of the structure of a vehicle signal light automatic activation device suitable for implementing the embodiment of the present application. The vehicle signal light automatic activation device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The vehicle signal light automatic activation device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0110] like Figure 5 As shown, the vehicle signal light automatic activation device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. Various programs and data required for the operation of the vehicle signal light automatic activation device are also stored in the RAM 1004. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 may allow the vehicle signal light automatic activation device to communicate wirelessly or wired with other devices to exchange data. Although the vehicle signal light automatic activation device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.
[0111] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0112] The vehicle signal light automatic activation device provided by the present application adopts the vehicle signal light automatic activation method in the above embodiment, which can solve the technical problem of how to realize the automatic control of the vehicle signal light. Compared with the prior art, the beneficial effects of the vehicle signal light automatic activation device provided by the present application are the same as the beneficial effects of the vehicle signal light automatic activation method provided by the above embodiment, and the other technical features of the vehicle signal light automatic activation device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0113] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0114] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0115] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle signal light automatic activation method in the above-mentioned embodiment.
[0116] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0117] The computer-readable storage medium may be included in the vehicle signal light automatic activation device; or may exist independently without being assembled into the vehicle signal light automatic activation device.
[0118] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the vehicle signal light automatic activation device, the vehicle signal light automatic activation device: obtains the vehicle speed, steering angle, high-speed driving threshold, steering threshold and emergency braking threshold; sets an activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold and the emergency braking threshold; activates the corresponding turn signal and / or double flash light according to the activation flag.
[0119] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0120] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0121] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0122] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for automatically activating vehicle signal lights, and can solve the technical problem of how to realize automatic control of vehicle signal lights. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the method for automatically activating vehicle signal lights provided by the above-mentioned embodiment, and will not be described in detail here.
[0123] The present application also provides a computer program product, comprising a computer program, which implements the steps of the above-mentioned method for automatically activating a vehicle signal light when executed by a processor.
[0124] The computer program product provided by the present application can solve the technical problem of how to realize automatic control of vehicle signal lights. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the vehicle signal light automatic activation method provided by the above embodiment, which will not be repeated here.
[0125] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for automatically activating a vehicle signal light, characterized in that: The method comprises: Obtain the vehicle's speed, steering angle, high-speed driving threshold, steering threshold, and emergency braking threshold; Setting an activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold, and the emergency braking threshold; Activate corresponding turn signal lights and / or hazard lights according to the activation flag position.
2. The method according to claim 1, characterized in that The activation flag includes a steering activation flag and a double flash activation flag, and the step of setting the activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold, and the emergency braking threshold includes: Setting a double flash activation flag according to the vehicle speed, the high-speed driving threshold and the emergency braking threshold; A steering activation flag is set according to the vehicle speed, the steering angle and the steering threshold.
3. The method according to claim 2, characterized in that The step of setting the double flash activation flag according to the vehicle speed, the high-speed driving threshold and the emergency braking threshold comprises: Obtaining a vehicle speed change rate according to the vehicle speed; Obtaining a vehicle speed state according to the vehicle speed and the high-speed driving threshold; When the vehicle speed state is a high speed state and the vehicle speed change rate is less than the emergency braking threshold, the double flash activation flag is set to a set state.
4. The method according to claim 2, characterized in that The steering activation flag includes a first steering activation flag and a second steering activation flag, and the step of setting the steering activation flag according to the vehicle speed, the steering angle and the steering threshold includes: determining a steering direction according to the steering angle; A first steering activation flag and a second steering activation flag are set according to the vehicle speed, the steering angle, the steering threshold, and the steering direction.
5. The method according to claim 4, characterized in that The step of setting the first steering activation flag and the second steering activation flag according to the vehicle speed, the steering angle, the steering threshold and the steering direction comprises: When the vehicle speed is greater than a preset vehicle speed threshold, the steering direction is left and the absolute value of the steering angle is greater than the steering threshold, setting the first steering activation flag to a set state; When the vehicle speed is greater than a preset vehicle speed threshold, the steering direction is right and the absolute value of the steering angle is greater than the steering threshold, the second steering activation flag is set to a set state.
6. The method according to claim 1, characterized in that The step of activating the corresponding turn signal lamp and / or double flash lamp according to the activation flag position comprises: When the activation flag is a double flash activation flag and the double flash activation flag is in a set state, activating the double flash lights; When the activation flag is the first turn activation flag and the first turn activation flag is in a set state, activating the left turn signal lamp; When the activation flag is the second turn activation flag and the second turn activation flag is in a set state, the right turn signal lamp is activated.
7. The method according to claim 1, characterized in that The activation flag includes a turn signal activation flag and a double flash signal activation flag, and the step of activating the corresponding turn signal and / or double flash signal according to the activation flag includes: When the double flash activation flag and the turn signal activation flag are both in a set state, obtaining the activation priority of the double flash lights and the turn signal lights; The turn signal lamp and the hazard lamp are activated in sequence according to the activation priority, and an audible and visual reminder is given to the driver.
8. A vehicle signal light automatic activation device, characterized in that: The device comprises: A data acquisition module is used to obtain the vehicle speed, steering angle, high-speed driving threshold, steering threshold and emergency braking threshold; A flag setting module, used for setting an activation flag according to the vehicle speed, the steering angle, the high-speed driving threshold, the steering threshold and the emergency braking threshold; The automatic control module is used to activate the corresponding turn signal lamp and / or double flash lamp according to the activation flag position.
9. A vehicle signal light automatic activation device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for automatically activating a vehicle signal light according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle signal light automatic activation method according to any one of claims 1 to 7 are implemented.
