Synchronous flickering method and device for multiple vehicle indicating lamps
By introducing a synchronous flickering mechanism into the indicator lights inside the vehicle, the visual clutter caused by the independent flickering of the indicator lights in the prior art is solved, and a more obvious and consistent visual signal is achieved, which improves driving safety.
Patent Information
- Application Number
- CN202411769200.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-11
AI Technical Summary
In the prior art, multiple indicator lights inside the vehicle flash independently, resulting in visual disorder, increasing the visual and psychological burden of the driver, and affecting driving safety.
After the first indicator light of the vehicle is triggered, it is controlled to flash periodically according to the preset flash duration, and after the second indicator light is triggered, if the light duration is greater than the flash duration, it is controlled to flash synchronously with the first indicator light.
The synchronous flicker of multiple vehicle indicator lights is achieved, providing a consistent and obvious visual signal, reducing visual interference from the driver, improving concentration during driving, and thus improving driving safety.
Smart Images

Figure CN119590213A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method and device for synchronously flashing multiple vehicle indicator lights. Background Art
[0002] With the rapid development of automobile engineering technology, its safety performance is constantly improving at an unprecedented rate. One direct manifestation of this progress is the significant increase in the number of various indicator lights inside the vehicle. From basic headlight indicators, such as turn signals and brake lights, to complex safety system alarms, such as the anti-lock braking system (ABS) indicator light, the electronic stability program (ESP) indicator light, and the tire pressure monitoring system indicator light, lane departure warning indicator light, blind spot monitoring system indicator light, etc., which are commonly equipped in modern cars, these indicators are like health monitors for the vehicle, providing real-time feedback to the driver on the vehicle's operating status and potential risks.
[0003] In the related art, when there are indicator lights that flash asynchronously, that is, multiple indicator lights flash at their own rhythms without a unified time point, such as Figure 1 As shown in Figure 1, this flashing pattern can give people a chaotic feeling. Since each indicator light flashes independently, the human visual system needs to process the flashing information of each indicator light separately, which may increase the burden of visual processing. At the same time, due to the randomness of the flashing, it may be difficult for the human brain to form a stable visual pattern, resulting in a feeling of instability or uncertainty.
[0004] Therefore, chaotic flashing indicator lights may cause visual interference and even increase the psychological burden on the driver in some cases, affecting driving safety. Summary of the invention
[0005] The present application provides a method and device for synchronously flashing multiple vehicle indicator lights to solve the problem of unsafe driving.
[0006] In a first aspect, the present application provides a method for synchronously flashing multiple vehicle indicator lights, the method comprising:
[0007] After the first indicator light of the vehicle is triggered, the first indicator light is controlled to flash periodically according to a preset flashing duration, wherein the indicator light of the vehicle needs to be lit immediately after being triggered, the first indicator light is the first indicator light to be triggered and lit, and the flashing duration is the duration for which the indicator light remains on or off;
[0008] After the second indicator light of the vehicle is triggered, if it is detected that the lighting duration of the second indicator light is greater than the flashing duration, the second indicator light is controlled to flash synchronously with the first indicator light, wherein a signal source of the second indicator light is different from a signal source of the first indicator light.
[0009] Optionally, after the first indicator light of the vehicle is triggered, controlling the first indicator light to flash periodically according to a preset flashing duration includes:
[0010] Starting the timer and lighting the indicator light after detecting the trigger signal of the indicator light;
[0011] If the indicator light that is lit is the first indicator light that is triggered to light up, the timer is reset and restarted;
[0012] In the case where the flashing signal of the first indicator light is detected, determining the current count value of the timer;
[0013] If the current count value of the timer reaches the target value, the on and off state of the first indicator light is reversed, and the flashing signal of the first indicator light is continuously monitored to determine whether it exists, wherein the target value is a positive integer multiple of the flashing duration.
[0014] Optionally, after determining the current count value of the timer, the method further includes:
[0015] If the current count value of the timer does not reach the target value, continue to monitor whether the flashing signal of the first indicator light exists.
[0016] Optionally, after the second indicator light of the vehicle is triggered, if it is detected that the lighting duration of the second indicator light is greater than the flashing duration, controlling the second indicator light to flash synchronously with the first indicator light includes:
[0017] If the indicator light that is lit is the second indicator light that is not the first indicator light that is triggered to light up, the synchronization delay parameter A is determined according to the current on / off state of the first indicator light, wherein the synchronization delay parameter is used to adjust the flashing timing of the indicator lights of different signal sources;
[0018] In the case where the flashing signal of the second indicator light is detected, determining the current count value of the timer;
[0019] If the current count value of the timer reaches the target value, determining whether the synchronization delay parameter A is zero;
[0020] If the synchronization delay parameter A is not zero, execute A=A-1, and continue to monitor whether the flashing signal of the second indicator light exists;
[0021] When it is detected that the synchronization delay parameter A is zero, the on and off state of the second indicator light is reversed, wherein the synchronization delay parameter A being zero is used to indicate that the second indicator light starts to flash synchronously with the first indicator light.
[0022] Optionally, determining the synchronization delay parameter A according to the current on / off state of the first indicator light includes:
[0023] If the first indicator light is currently in a lit state, determining that the synchronization delay parameter A is 2;
[0024] If the first indicator light is currently off, the synchronization delay parameter A is determined to be 1.
[0025] Optionally, after determining the current count value of the timer, the method further includes:
[0026] If the current count value of the timer does not reach the target value, continue to monitor whether the flashing signal of the second indicator light exists.
[0027] Optionally, the method further comprises:
[0028] When it is detected that the flashing signal of the indicator light does not exist, the corresponding indicator light is controlled to enter an off state.
[0029] In a second aspect, the present application provides a synchronous flashing device for multiple vehicle indicator lights, the device comprising:
[0030] A first control module is used to control a first indicator light of a vehicle to periodically flash according to a preset flashing duration after the first indicator light of the vehicle is triggered, wherein the indicator light of the vehicle needs to be lit immediately after being triggered, the first indicator light is the first indicator light to be triggered to light up, and the flashing duration is the duration for which the indicator light remains in a lit state or an off state;
[0031] The second control module is used to control the second indicator light to flash synchronously with the first indicator light after the second indicator light of the vehicle is triggered, if it is detected that the lighting duration of the second indicator light is greater than the flashing duration, wherein the signal source of the second indicator light is different from the signal source of the first indicator light.
[0032] In a third aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus.
[0033] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for synchronous flashing of multiple vehicle indicator lights as described in any one of the above items of the present application.
[0034] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages compared with the prior art: when the first indicator light that is triggered for the first time is lit up, it flashes periodically, and after the other indicator lights are triggered to light up, they are first lit up for the flashing duration, and then flash synchronously with the first indicator light, ensuring that multiple indicator lights provide consistent and obvious visual signals, thereby avoiding the disorderly flashing of multiple indicator lights interfering with the driver's vision, improving the concentration during driving, and thus improving driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0036] In order to more clearly illustrate the embodiments of the present invention 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.
[0037] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0038] Figure 1 A schematic diagram of the signal of the flashing indicator light of a vehicle provided for the related technology;
[0039] Figure 2 A schematic diagram of a system for synchronous flashing of vehicle indicator lights provided in an embodiment of the present application;
[0040] Figure 3 A flow chart of a method for synchronously flashing multiple vehicle indicator lights provided in an embodiment of the present application;
[0041] Figure 4 A schematic diagram of a signal of synchronous flashing of vehicle indicator lights in the related art provided in an embodiment of the present application;
[0042] Figure 5 A schematic diagram of a signal of multiple vehicle indicator lights flashing synchronously provided in an embodiment of the present application;
[0043] Figure 6A schematic diagram of a process flow of flashing of a first indicator light provided in an embodiment of the present application;
[0044] Figure 7 A schematic diagram of a process flow of flashing the second indicator light provided in an embodiment of the present application;
[0045] Figure 8 A schematic diagram of the structure of a synchronous flashing device for multiple vehicle indicator lights provided in an embodiment of the present application;
[0046] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0048] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0049] In order to solve the problem mentioned in the background technology, according to one aspect of an embodiment of the present application, an embodiment of synchronous flashing of multiple vehicle indicator lights is provided.
[0050] Optionally, in the present application, the above-mentioned method for synchronously flashing multiple vehicle indicator lights can be applied to Figure 2 In the hardware environment shown, which is composed of a plurality of indicator lights 201 and a controller 203, the indicator lights communicate with the controller through a signal flow. The indicator lights 201 send their respective trigger signals and flashing signals to the controller 203, and the controller 203 controls the indicator lights 201 to light up, turn off, or switch between the on and off states. Among them, the indicator lights flash to indicate that they are currently in the on state, including but not limited to: turn signals, brake lights, anti-lock braking system indicator lights, electronic stability program indicator lights, tire pressure monitoring system indicator lights, lane departure warning indicator lights, or blind spot monitoring system indicator lights, etc.
[0051] The following will be combined with a specific implementation method to provide a method for synchronously flashing multiple vehicle indicator lights provided by an embodiment of the present application. The method is applied to a controller to control multiple indicator lights with different signal sources to flash synchronously, thereby improving driving safety. Figure 3 As shown, the specific steps are as follows:
[0052] Step 301: after the first indicator light of the vehicle is triggered, the first indicator light is controlled to flash periodically according to a preset flashing duration, wherein the indicator light of the vehicle needs to be lit immediately after being triggered, the first indicator light is the first indicator light to be triggered and lit, and the flashing duration is the duration for which the indicator light remains in the on state or off state;
[0053] Step 302: After the second indicator light of the vehicle is triggered, if it is detected that the lighting duration of the second indicator light is greater than the flashing duration, the second indicator light is controlled to flash synchronously with the first indicator light, wherein the signal source of the second indicator light is different from the signal source of the first indicator light.
[0054] In order to reduce the visual and psychological interference of indicator lights on the driver, the present application realizes synchronous flashing of multiple indicator lights by making independent indicator lights from different signal sources flash synchronously without affecting the real-time performance of the indicator lights, thereby improving the driving safety of the driver.
[0055] After the vehicle's indicator light is triggered, the controller detects the trigger signal and controls the indicator light to light up immediately. This is because the indicator light that needs to flash often represents an emergency and is accompanied by an alarm sound. Therefore, once the trigger signal is generated, the indicator light must be lit immediately to ensure that the driver can immediately notice the change in the vehicle's status. Figure 4 This is a signal diagram of simple synchronous flashing of indicator lights in the related art. It can be seen that indicator light 3 is lit after a delay of several hundred milliseconds, which will cause the indicator light to be unsynchronized with the alarm sound, giving the user a bad experience.
[0056] If all the indicator lights of the vehicle are off, and the currently lit indicator light is the first indicator light that is triggered to light up, then the first indicator light will flash periodically according to the preset flashing duration, where the flashing duration refers to the length of time the indicator light remains on or off. For example, if the flashing mode is: light up for 500ms, turn off for 500ms, then light up for 500ms, and repeat this action, then 500ms is called the flashing duration. This flashing mode can not only attract more attention, but also provide better visibility under different lighting conditions.
[0057] Optionally, the flashing duration in the present application can be factory set or user set, and can also be adjusted according to different ambient light conditions to ensure that the indicator light can effectively convey information whether it is day or night.
[0058] If the second indicator light in the vehicle is also triggered, it will also be triggered to light up first, and the controller will monitor the duration of the second indicator light. Once it is detected that the duration of the second indicator light is longer than the preset flashing duration, the controller will control the second indicator light to flash synchronously with the first indicator light, which means that the two indicator lights will flash at the same frequency, forming visual consistency.
[0059] Among them, the signal source of the second indicator light is different from the signal source of the first indicator light, which indicates that they may be triggered by different sensors or control systems, but ultimately their working modes will be coordinated and unified.
[0060] Figure 5 This is a signal schematic diagram of the flashing indicator light in the embodiment of the present application, from Figure 5 It can be seen that after indicator light 1 is first triggered and lit at 0.5s, it flashes at a period of 500ms; indicator light 2 is triggered by the second time at 1s and lights up for 500ms until 1.5s, at which time indicator light 1 is just on, so indicator light 2 follows indicator light 1 to remain on, and then follows indicator light 1 to flash synchronously; indicator light 3 is triggered by the third time at about 1.3s and lights up for 500ms until 1.8s, at which time indicator light 1 is just on, so indicator light 2 follows indicator light 1 to remain on, and then follows indicator light 1 to go off at 2s.
[0061] That is to say, when indicator light 1 is triggered first and starts flashing at a frequency of 1 Hz, the other indicator lights need to light up first and maintain a duration of more than 500ms after being triggered, and then go out together with indicator light 1 to achieve synchronous flashing; at the same time, once the trigger signal is generated, the indicator lights must be lit immediately, and there must be no delay of several hundred milliseconds in lighting up.
[0062] Compared with the asynchronous flashing of indicator lights, the indicator lights in the embodiments of the present application flash synchronously, that is, they light up at the same time and then go out at the same time. This flashing pattern will give people a very neat and orderly feeling. Since the actions of all indicator lights are exactly the same, the human visual system will regard them as a whole rather than five independent individuals. The synchronously flashing indicator lights provide more consistent and obvious visual signals, which can reduce the driver's visual interference and improve the driver's concentration while driving, thereby improving driving safety.
[0063] In the present application, when the first indicator light is triggered, it flashes periodically. After the other indicator lights are triggered and lit, they are first lit for the flashing duration and then flash synchronously with the first indicator light, ensuring that multiple indicator lights provide consistent and obvious visual signals, thereby avoiding the disorderly flashing of multiple indicator lights interfering with the driver's vision, improving concentration during driving, and thus improving driving safety.
[0064] In addition, on the basis of achieving synchronous flashing of multiple indicator lights, the present application still maintains that each indicator light can still independently respond to its own trigger signal, thereby maintaining the flexibility and extensiveness of the monitoring system.
[0065] As an optional implementation, in order to realize the periodic flashing of the first indicator light, the trigger signal and the flashing signal of the first indicator light may be processed by the controller, thereby realizing the flashing of the first indicator light, including the following steps:
[0066] Step S11: start the timer and light the indicator light after detecting the trigger signal of the indicator light;
[0067] Step S12: If the indicator light that lights up is the first indicator light that is triggered to light up, the timer is reset and the timer is restarted;
[0068] Step S13: when the flashing signal of the first indicator light is detected, determining the current count value of the timer;
[0069] Step S14: If the current count value of the timer reaches the target value, the on and off state of the first indicator light is reversed, and the flashing signal of the first indicator light is continuously monitored, wherein the target value is a positive integer multiple of the flashing duration.
[0070] In the embodiment of the present application, a timer is started when the system is initialized or the vehicle is started. When the system detects a trigger signal of any indicator light (e.g., a turn signal, a brake light signal, etc.), the indicator light will be lit immediately, thus ensuring that the indicator light can respond to the driver's operation or the change of the vehicle status in a timely manner.
[0071] If the detected indicator light is the first indicator light that is triggered to light up for the first time, that is, the first indicator light, the timer is cleared and a new timing cycle is started. This is done to ensure that the timer is counted from the moment the first indicator light is lit up.
[0072] When the controller detects that the flashing signal of the first indicator light continues to exist, indicating that the first indicator light is normal, the controller checks the current count value of the timer. If the current count value of the timer reaches the preset target value, that is, a positive integer multiple of the flashing duration, such as 500ms, 1000ms, 1500ms, etc., the controller reverses the on and off state of the first indicator light, which means that if the indicator light was originally on, it will now be off; if it was originally off, it will now be on. After the indicator light state is reversed, the system will continue to monitor whether the flashing signal of the first indicator light exists to ensure that the indicator light is working normally.
[0073] In addition, if it is found during the monitoring process that the current count value of the timer has not reached the target value, the system will continue to monitor whether the flashing signal of the first indicator light exists without changing the state of the indicator light. This ensures that the flashing behavior of the indicator light is strictly synchronized with the preset flashing duration.
[0074] In this application, the indicator light is immediately lit after detecting the trigger signal, and the timer is cleared and re-timed when it is first triggered. This real-time response mechanism ensures that the indicator light can quickly reflect the driver's operation or changes in the vehicle status. After the timer reaches the target value, it indicates that it is time for the indicator light to turn on and off. The flashing cycle of the indicator light is accurately controlled by the timer to ensure that the indicator light flashes periodically according to the predetermined flashing duration, which improves the consistency and reliability of the indicator light flashing.
[0075] Figure 6 The schematic diagram of the process of the first indicator light flashing is as follows: Figure 6 As shown, the following steps are included:
[0076] Step 601: Start the timer and begin recording time.
[0077] Step 602: Detect an internal trigger signal of an indicator light, and light up the corresponding indicator light if an internal trigger signal is detected.
[0078] Step 603: Determine whether the currently lit indicator light is the first triggered indicator light, if yes, execute step 604, if not, determine that the second indicator light is triggered to light up.
[0079] Step 604: Determine that the first indicator light is triggered to light up, and reset the timer and restart the timer.
[0080] Step 605: Determine whether the flashing signal of the first indicator light persists, if yes, execute step 606, if no, execute step 608.
[0081] Step 606: Determine whether the current count value of the timer reaches the target value. If it reaches the target value, execute step 607; if it does not reach the target value, return to step 605.
[0082] Step 607: Reverse the on / off state of the first indicator light and execute step 605.
[0083] Step 608: Control the first indicator light to turn off.
[0084] For example, after the car starts the instrument cluster system, the timer is also started and starts counting. When the instrument cluster receives the "abnormal tire pressure" signal from the tire pressure sensor, the abnormal tire pressure indicator light will be immediately lit and flash at a frequency of 1Hz. If no other indicator lights are flashing at this time, the count value of the timer will be reset to zero. When the timer counts to 500ms, the indicator light goes out; when the timer counts to 1000ms, the indicator light turns on; when the timer counts to 1500ms, the indicator light goes out; this cycle repeats to achieve a 1Hz flashing effect.
[0085] As an optional implementation, in order to realize the periodic flashing of the second indicator light, the trigger signal and the flashing signal of the first indicator light can be processed by the controller, so as to realize the flashing of the second indicator light, including the following steps:
[0086] Step S21: if the indicator light that is lit is the second indicator light that is not the first indicator light that is triggered to light up, determine the synchronization delay parameter A according to the current on / off state of the first indicator light, wherein the synchronization delay parameter A is used to adjust the flashing timing of the indicator lights of different signal sources;
[0087] Step S22: when the flashing signal of the second indicator light is detected, determining the current count value of the timer;
[0088] Step S23: If the current count value of the timer reaches the target value, determine whether the synchronization delay parameter A is zero;
[0089] Step S24: if the synchronization delay parameter A is not zero, execute A=A-1, and continue to monitor whether the flashing signal of the second indicator light exists;
[0090] Step S25: when it is detected that the synchronization delay parameter A is zero, the on and off state of the second indicator light is reversed, wherein the synchronization delay parameter A being zero is used to indicate that the second indicator light starts to flash synchronously with the first indicator light.
[0091] When the indicator light that is lit is not the first one to be triggered, but the second or subsequent indicator light, the processor needs to determine the synchronization delay parameter A according to the current on / off state of the first indicator light. The synchronization delay parameter A is used to adjust the flashing timing of the indicators from different signal sources to ensure that they can flash synchronously.
[0092] After the second indicator light is turned on, the processor monitors whether its flashing signal exists. As long as the flashing signal exists, the processor will check the current count value of the timer. This count value reflects the length of time that has passed since the first indicator light was triggered, and is also a key indicator for measuring whether the on-off state of the reverse indicator light has been reached.
[0093] If the current count value of the timer does not reach the target value, the system will continue to monitor whether the flashing signal of the second indicator light exists; if the current count value of the timer reaches the preset target value (i.e., a positive integer multiple of the flashing duration), the processor will determine whether the current A is zero. If the synchronization delay parameter A is not zero, indicating that the starting point of the synchronous flashing of the indicator light has not yet been reached, the system will perform the operation of A=A-1, i.e., reduce the value of the synchronization delay parameter A, and then the system will continue to monitor whether the flashing signal of the second indicator light exists. This step ensures that the second indicator light will not flash synchronously with the first indicator light immediately, but will gradually adjust its flashing timing according to the synchronization delay parameter A.
[0094] When the synchronization delay parameter A is detected to be zero, the system will reverse the on and off state of the second indicator light, which means that the second indicator light will flash synchronously with the first indicator light, ensuring that the second indicator light changes state at the same time as the first indicator light, whether it is from on to off or from off to on. Among them, the synchronization delay parameter A is zero, which means that the second indicator light has completed the synchronization adjustment with the first indicator light and can start to flash synchronously.
[0095] Among them, the initial value of the synchronization delay parameter A is determined according to the current on and off state of the first indicator light. If the first indicator light is currently on, the initial value of the synchronization delay parameter A is 2, and then A=A-1 is executed, that is, A=1, and then the flashing signal of the second indicator light is continuously monitored. In the next cycle, A decreases again, that is, A=0. If the first indicator light is currently off, the synchronization delay parameter A is determined to be 1, and A=A-1 is executed, that is, A=0.
[0096] In addition, if the processor detects that the flashing signal of the indicator light does not exist, indicating that the event corresponding to the indicator light is finished, the processor controls the corresponding indicator light to enter an off state.
[0097] In the present application, the introduction and dynamic adjustment of the synchronization delay parameter A achieves precise synchronization between indicator lights from different signal sources; the gradual reduction of parameter A (A=A-1) ensures a smooth transition between the second indicator light and the first indicator light. This gradual adjustment avoids sudden flickering changes and provides a more natural and smooth visual experience.
[0098] In addition, synchronized flashing reduces confusion and uncertainty, provides users with clearer and more consistent feedback, and synchronized flashing indicators can better attract the attention of surrounding traffic participants, especially at night or in low visibility conditions. This helps reduce the risk of traffic accidents and improve driving safety.
[0099] Figure 7 The schematic diagram of the process of the second indicator light flashing is as follows: Figure 7 As shown, the following steps are included:
[0100] Step 7001: Start the timer and begin recording time.
[0101] Step 7002: Detect the internal trigger signal of the indicator light, and light up the corresponding indicator light if the internal trigger signal is detected.
[0102] Step 7003: Determine whether the currently lit indicator light is the first triggered indicator light. If yes, determine that the first indicator light is triggered to light up. If not, execute step 7004.
[0103] Step 7004: Determine whether the second indicator light is triggered to light up.
[0104] Step 7005: If the first indicator light is on, the synchronization delay parameter A=2.
[0105] Step 7006: If the first indicator light is off, the synchronization delay parameter A=1.
[0106] Step 7007: Determine whether the flashing signal of the second indicator light persists. If so, execute step 7008; if not, execute step 7012.
[0107] Step 7008: Determine whether the current count value of the timer has reached the target value. If so, execute step 7009; if not, return to step 7007.
[0108] Step 7009: Is the synchronization delay parameter A 0? If not, execute step 7010; if so, execute step 7011.
[0109] Step 7010: A=A-1, and return to step 7007.
[0110] Step 7011: Reverse the on and off state of the second indicator light.
[0111] Step 7012: Control the second indicator light to turn off.
[0112] in, Figure 7 Steps 7001 to 7003 in Figure 6The contents of steps 601 to 603 in the embodiment are the same.
[0113] For example, the driver starts the vehicle and drives at a speed greater than 1.5km / h, and the driver is not wearing a seat belt. In this case, the "Driver's seat belt is not fastened" indicator light will be triggered to flash and an alarm sound will be heard to remind the driver to fasten his seat belt. First, the "Driver's seat belt is not fastened" indicator light will be lit immediately and flash at a frequency of 1Hz. Then the system determines that an indicator light (abnormal tire pressure indicator light) has been flashing before. Assuming that when the "Driver's seat belt is not fastened" indicator light is triggered to flash, the count value of the timer is 1300ms, and the abnormal tire pressure indicator light is on at this time. Then the synchronization delay parameter A=2 corresponding to the "Driver's seat belt is not fastened" indicator light is determined at this time. Whether the flashing trigger signal of the "Driver's seat belt is not fastened" indicator light is still there, if it disappears, the "Driver's seat belt is not fastened" indicator light will be turned off immediately. "All belts are not tied" indicator light. Assuming that the flashing trigger signal always exists, the count value of the timer reaches 1500ms, at this time it is judged that A is not 0, A=A-1, A=1. Then the count value of the timer reaches 2000ms, A is still not 0, A=A-1, A=0. Then the count value of the timer reaches 2500ms, A is equal to 0, and the indicator light state is reversed from on to off. The timer count value reaches 3000ms, A is still equal to 0, and the indicator light state is reversed from off to on. The flashing is realized in a reciprocating cycle until the trigger signal disappears.
[0114] Based on the same technical concept, the present application provides a synchronous flashing device for multiple vehicle indicator lights, such as Figure 8 As shown, the device comprises:
[0115] The first control module 801 is used to control the first indicator light to flash periodically according to a preset flashing duration after the first indicator light of the vehicle is triggered, wherein the indicator light of the vehicle needs to be lit immediately after being triggered, the first indicator light is the first indicator light to be triggered and lit, and the flashing duration is the duration for which the indicator light remains in the on state or off state;
[0116] The second control module 802 is used to control the second indicator light to flash synchronously with the first indicator light after the second indicator light of the vehicle is triggered, if it is detected that the lighting duration of the second indicator light is greater than the flashing duration, wherein the signal source of the second indicator light is different from the signal source of the first indicator light.
[0117] Optionally, the first control module 801 is used to:
[0118] Start the timer and light the indicator light after detecting the trigger signal of the indicator light;
[0119] If the indicator light that lights up is the first indicator light that is triggered to light up, the timer is reset and restarted;
[0120] When the flashing signal of the first indicator light is detected, determining the current count value of the timer;
[0121] If the current count value of the timer reaches the target value, the on and off state of the first indicator light is reversed, and the flashing signal of the first indicator light is continuously monitored to determine whether it exists, wherein the target value is a positive integer multiple of the flashing duration.
[0122] Optionally, the device is also used for:
[0123] If the current count value of the timer does not reach the target value, continue to monitor whether the flashing signal of the first indicator light exists.
[0124] Optionally, the second control module 802 is used to:
[0125] If the indicator light that is lit is the second indicator light that is not the first indicator light that is triggered to light up, the synchronization delay parameter A is determined according to the current on / off state of the first indicator light, wherein the synchronization delay parameter is used to adjust the flashing timing of the indicator lights of different signal sources;
[0126] When the flashing signal of the second indicator light is detected, determining the current count value of the timer;
[0127] If the current count value of the timer reaches the target value, it is determined whether the synchronization delay parameter A is zero;
[0128] If the synchronization delay parameter A is not zero, A=A-1 is executed, and the flashing signal of the second indicator light is continuously monitored;
[0129] When it is detected that the synchronization delay parameter A is zero, the on and off state of the second indicator light is reversed, wherein the synchronization delay parameter A being zero is used to indicate that the second indicator light starts to flash synchronously with the first indicator light.
[0130] Optionally, the second control module 802 is further configured to:
[0131] If the first indicator light is currently in the on state, the synchronization delay parameter A is determined to be 2;
[0132] If the first indicator light is currently off, the synchronization delay parameter A is determined to be 1.
[0133] Optionally, the device is also used for:
[0134] If the current count value of the timer does not reach the target value, continue to monitor whether the flashing signal of the second indicator light exists.
[0135] Optionally, the device is also used for:
[0136] When it is detected that the flashing signal of the indicator light does not exist, the corresponding indicator light is controlled to enter an off state.
[0137] like Fig. 9 As shown, an embodiment of the present application provides an electronic device, including a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904.
[0138] The memory 903 is used to store computer programs.
[0139] In one embodiment of the present application, the processor 901 is used to execute the program stored in the memory 903 to implement the method for synchronously flashing multiple vehicle indicator lights provided by any one of the aforementioned method embodiments, including:
[0140] After the first indicator light of the vehicle is triggered, the first indicator light is controlled to flash periodically according to a preset flashing duration, wherein the indicator light of the vehicle needs to be lit immediately after being triggered, the first indicator light is the first indicator light to be triggered and lit, and the flashing duration is the duration for which the indicator light remains in the on or off state;
[0141] After the second indicator light of the vehicle is triggered, if it is detected that the lighting duration of the second indicator light is greater than the flashing duration, the second indicator light is controlled to flash synchronously with the first indicator light, wherein the signal source of the second indicator light is different from the signal source of the first indicator light.
[0142] Optionally, after the first indicator light of the vehicle is triggered, controlling the first indicator light to flash periodically according to a preset flashing duration includes:
[0143] Start the timer and light the indicator light after detecting the trigger signal of the indicator light;
[0144] If the indicator light that lights up is the first indicator light that is triggered to light up, the timer is reset and restarted;
[0145] When the flashing signal of the first indicator light is detected, determining the current count value of the timer;
[0146] If the current count value of the timer reaches the target value, the on and off state of the first indicator light is reversed, and the flashing signal of the first indicator light is continuously monitored to determine whether it exists, wherein the target value is a positive integer multiple of the flashing duration.
[0147] Optionally, after determining the current count value of the timer, the method further includes:
[0148] If the current count value of the timer does not reach the target value, continue to monitor whether the flashing signal of the first indicator light exists.
[0149] Optionally, after the second indicator light of the vehicle is triggered, if it is detected that the lighting duration of the second indicator light is greater than the flashing duration, controlling the second indicator light to flash synchronously with the first indicator light includes:
[0150] If the indicator light that is lit is the second indicator light that is not the first indicator light that is triggered to light up, the synchronization delay parameter A is determined according to the current on / off state of the first indicator light, wherein the synchronization delay parameter is used to adjust the flashing timing of the indicator lights of different signal sources;
[0151] When the flashing signal of the second indicator light is detected, determining the current count value of the timer;
[0152] If the current count value of the timer reaches the target value, it is determined whether the synchronization delay parameter A is zero;
[0153] If the synchronization delay parameter A is not zero, A=A-1 is executed, and the flashing signal of the second indicator light is continuously monitored;
[0154] When it is detected that the synchronization delay parameter A is zero, the on and off state of the second indicator light is reversed, wherein the synchronization delay parameter A being zero is used to indicate that the second indicator light starts to flash synchronously with the first indicator light.
[0155] Optionally, determining the synchronization delay parameter A according to the current on / off state of the first indicator light includes:
[0156] If the first indicator light is currently in the on state, the synchronization delay parameter A is determined to be 2;
[0157] If the first indicator light is currently off, the synchronization delay parameter A is determined to be 1.
[0158] Optionally, after determining the current count value of the timer, the method further includes:
[0159] If the current count value of the timer does not reach the target value, continue to monitor whether the flashing signal of the second indicator light exists.
[0160] Optionally, the method further comprises:
[0161] When it is detected that the flashing signal of the indicator light does not exist, the corresponding indicator light is controlled to enter an off state.
[0162] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for synchronously flashing multiple vehicle indicator lights provided in any of the aforementioned method embodiments are implemented.
[0163] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0164] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0165] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0166] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for synchronous flashing of multiple vehicle indicator lights, characterized in that: The method comprises: After the first indicator light of the vehicle is triggered, the first indicator light is controlled to flash periodically according to a preset flashing duration, wherein the indicator light of the vehicle needs to be lit immediately after being triggered, the first indicator light is the first indicator light to be triggered and lit, and the flashing duration is the duration for which the indicator light remains on or off; After the second indicator light of the vehicle is triggered, if it is detected that the lighting duration of the second indicator light is greater than the flashing duration, the second indicator light is controlled to flash synchronously with the first indicator light, wherein a signal source of the second indicator light is different from a signal source of the first indicator light.
2. The method according to claim 1, characterized in that After the first indicator light of the vehicle is triggered, controlling the first indicator light to flash periodically according to a preset flashing duration includes: Starting the timer and lighting the indicator light after detecting the trigger signal of the indicator light; If the indicator light that is lit is the first indicator light that is triggered to light up, the timer is reset and restarted; In the case where the flashing signal of the first indicator light is detected, determining the current count value of the timer; If the current count value of the timer reaches the target value, the on and off state of the first indicator light is reversed, and the flashing signal of the first indicator light is continuously monitored to determine whether it exists, wherein the target value is a positive integer multiple of the flashing duration.
3. The method according to claim 2, characterized in that After determining the current count value of the timer, the method further includes: If the current count value of the timer does not reach the target value, continue to monitor whether the flashing signal of the first indicator light exists.
4. The method according to claim 2, characterized in that: After the second indicator light of the vehicle is triggered, if it is detected that the lighting duration of the second indicator light is greater than the flashing duration, controlling the second indicator light to flash synchronously with the first indicator light includes: If the indicator light that is lit is the second indicator light that is not the first indicator light that is triggered to light up, the synchronization delay parameter A is determined according to the current on / off state of the first indicator light, wherein the synchronization delay parameter is used to adjust the flashing timing of the indicator lights of different signal sources; In the case where the flashing signal of the second indicator light is detected, determining the current count value of the timer; If the current count value of the timer reaches the target value, determining whether the synchronization delay parameter A is zero; If the synchronization delay parameter A is not zero, execute A=A-1, and continue to monitor whether the flashing signal of the second indicator light exists; When it is detected that the synchronization delay parameter A is zero, the on and off state of the second indicator light is reversed, wherein the synchronization delay parameter A being zero is used to indicate that the second indicator light starts to flash synchronously with the first indicator light.
5. The method according to claim 4, characterized in that Determining the synchronization delay parameter A according to the current on / off state of the first indicator light includes: If the first indicator light is currently in a lit state, determining that the synchronization delay parameter A is 2; If the first indicator light is currently off, the synchronization delay parameter A is determined to be 1.
6. The method according to claim 4, characterized in that After determining the current count value of the timer, the method further includes: If the current count value of the timer does not reach the target value, continue to monitor whether the flashing signal of the second indicator light exists.
7. The method according to any one of claims 2 to 6, characterized in that: The method further comprises: When it is detected that the flashing signal of the indicator light does not exist, the corresponding indicator light is controlled to enter an off state.
8. A synchronous flashing device for multiple vehicle indicator lights, characterized in that: The device comprises: A first control module is used to control a first indicator light of a vehicle to periodically flash according to a preset flashing duration after the first indicator light of the vehicle is triggered, wherein the indicator light of the vehicle needs to be lit immediately after being triggered, the first indicator light is the first indicator light to be triggered to light up, and the flashing duration is the duration for which the indicator light remains in a lit state or an off state; The second control module is used to control the second indicator light to flash synchronously with the first indicator light after the second indicator light of the vehicle is triggered, if it is detected that the lighting duration of the second indicator light is greater than the flashing duration, wherein the signal source of the second indicator light is different from the signal source of the first indicator light.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-7 when executing a program stored in a memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Indicator lamp synchronous flickering method and device and server
CN113268400A
Alarm lamp control method and device, equipment and storage medium
CN114615779A
Instrument alarm lamp flicker synchronization method, electronic equipment and storage medium
CN114755965A
Method for realizing vehicle prompt signal synchronization, synchronization system and vehicle
CN115603848A
Light synchronization control method, device and equipment and storage medium
CN116887489A