Vehicle flashing light control method, device, vehicle and storage medium

By determining the interruption time according to the flashing frequency and status when the vehicle flashing light is interrupted, the problem of inconsistent flashing frequency is solved, ensuring the accurate display of the vehicle status and reducing the risk of traffic accidents.

CN115107637BActive Publication Date: 2025-08-29GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111602387.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2025-08-29
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

When vehicle flashing lights conflict with different priority requests, the flashing frequency in the prior art is not uniform, resulting in drivers and personnel outside the vehicle being unable to accurately understand the vehicle status, which is prone to cause traffic accidents.

Method used

When receiving the flash switch request, the interrupt time is determined according to the flash frequency and operating state of the current flash light, and the frequency and state of the flash light are switched at the interrupt time to ensure the unification of the flash frequency and state before and after the switching.

Benefits of technology

The flashing frequency and status of the flashing lights are unified, ensuring that the driver and outsiders can accurately understand the real status of the vehicle and reduce the occurrence of traffic accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115107637B_ABST
    Figure CN115107637B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, vehicle, and storage medium for controlling vehicle flashing lights. The method includes: when a flashing light switching request is received, and the flashing light corresponding to the flashing light switching request is the same as the current flashing light, obtaining a first flashing frequency and operating state of the current flashing light, and a second flashing frequency of the flashing light corresponding to the flashing light switching request; the operating state includes an on state and an off state of the flashing light; determining an interruption time based on the first flashing frequency, operating state, and second flashing frequency of the current flashing light; and at the interruption time, switching the first flashing frequency output of the current flashing light to a second flashing frequency output, with the operating state being different from the operating state of the current flashing light, thereby avoiding the inconsistency of the flashing states before and after the switching, achieving alternating on and off states of the flashing light, and unifying the flashing frequencies before and after the switching, so that the driver and people outside the vehicle understand the true state of the vehicle and reduce traffic accidents.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a method and device for controlling vehicle flashing lights, a vehicle, and a storage medium. Background Art

[0002] Vehicle flashers (such as turn signals and hazard lights) typically flash to alert the driver and others to the vehicle's status. When the flashers are not operating and a flash request is triggered, the flashers flash at a preset frequency. Flash requests have different priorities and flash frequencies depending on the operating conditions.

[0003] Currently, when vehicle flashing light requests of different priorities conflict, different handling is performed based on the conflicting circumstances. If a high-priority flashing light request is triggered while the flashing light is in operation, the low-priority flashing light is immediately turned off and the high-priority flashing light is responded to by flashing at the corresponding frequency. If a low-priority flashing light request is triggered while the flashing light is in operation, the low-priority flashing light request is not responded to and the current flashing light operation state remains unchanged.

[0004] However, the inventors found that when a high-priority flashing request interrupts a low-priority flashing request, it is directly interrupted, resulting in inconsistent flashing status; and when a low-priority flashing request interrupts a high-priority flashing request, it is directly not processed, resulting in the driver and people outside the vehicle being unable to understand the true status of the vehicle, which can easily cause traffic accidents. Summary of the Invention

[0005] Embodiments of the present invention provide a method, device, vehicle, and storage medium for controlling vehicle flashing lights to solve the problem in the prior art that interrupt processing of vehicle flashing lights leads to inconsistent flashing frequencies or the user cannot understand the actual status of the vehicle.

[0006] In a first aspect, an embodiment of the present invention provides a method for controlling a vehicle flashing light, comprising:

[0007] When a flash light switching request is received, and the flash light corresponding to the flash light switching request is the same as the current flash light, obtaining a first flashing frequency and an operating state of the current flash light, and a second flashing frequency of the flash light corresponding to the flash light switching request; the operating state includes a flashing on state and an off state;

[0008] Determining an interruption time according to the first flashing frequency and working state of the current flashing light and the second flashing frequency;

[0009] At the interruption moment, the first flashing frequency output of the current flashing light is switched to the second flashing frequency output of the flashing light corresponding to the flashing light switching request, and the working state of the flashing light corresponding to the flashing light switching request is different from the working state of the current flashing light when the flashing light switching request is received.

[0010] In a possible implementation, determining the interruption time according to the first flashing frequency and the working state of the current flashing light and the second flashing frequency includes:

[0011] When the working state is the bright state, the interruption moment is determined to be the end moment of the bright state of the first flashing frequency.

[0012] In a possible implementation, determining the interruption time according to the first flashing frequency and the working state of the current flashing light and the second flashing frequency includes:

[0013] When the working state is off, detecting whether the second flashing frequency is greater than the first flashing frequency;

[0014] When the second flashing frequency is greater than the first flashing frequency, detecting whether the duration of the off state is less than the duration of the on state corresponding to the second flashing frequency;

[0015] When the duration of the off state is less than the duration of the on state corresponding to the second flickering frequency, the interruption moment is determined to be the moment corresponding to when the duration of the off state is equal to the duration of the on state corresponding to the second flickering frequency.

[0016] In a possible implementation, after detecting whether the duration of the off state is less than the duration of the on state corresponding to the second flickering frequency, the method further includes:

[0017] When the duration of the off state is greater than or equal to the duration of the on state corresponding to the second flashing frequency, the interruption moment is determined to be the moment when the flashing light switching request is received.

[0018] In a possible implementation, after detecting whether the second flickering frequency is greater than the first flickering frequency, the method further includes:

[0019] When the second flickering frequency is less than the first flickering frequency, the interruption moment is determined to be the end moment of the off state corresponding to the first flickering frequency.

[0020] In a possible implementation, after receiving the flash light switching request, the method further includes:

[0021] When the flashing light corresponding to the flashing light switching request and the current flashing light are not the same flashing light, after receiving the flashing light switching request, the current flashing light is turned off and the flashing light corresponding to the flashing light switching request is turned on.

[0022] In one possible implementation, when the flash light corresponding to the flash light switching request is not the same as the current flash light, turning off the current flash light and turning on the flash light corresponding to the flash light switching request after receiving the flash light switching request includes:

[0023] When the flash light corresponding to the flash light switching request is not the same as the current flash light, and the working state of the current flash light is on, after receiving the flash light switching request, the current flash light is turned off, and after outputting in the off state for a preset time, the flash light corresponding to the flash light switching request is turned on, and the working state of the flash light corresponding to the flash light switching request is on;

[0024] When the flashing light corresponding to the flashing light switching request and the current flashing light are not the same flashing light, and the working state of the current flashing light is off, the current flashing light is turned off after receiving the flashing light switching request, and the flashing light corresponding to the flashing light switching request is turned on at the same time, and the working state of the flashing light corresponding to the flashing light switching request is on.

[0025] In a second aspect, an embodiment of the present invention provides a device for controlling a vehicle flashing light, comprising:

[0026] an acquisition module configured to, upon receiving a flash light switching request and when the flash light corresponding to the flash light switching request is the same flash light as the current flash light, acquire a first flashing frequency and an operating state of the current flash light, as well as a second flashing frequency of the flash light corresponding to the flash light switching request; the operating state includes a flashing on state and a flashing off state;

[0027] a determination module, configured to determine an interruption time according to the first flashing frequency and working state of the current flashing light and the second flashing frequency;

[0028] A processing module is used to switch the first flashing frequency output of the current flashing light to the second flashing frequency output of the flashing light corresponding to the flashing light switching request at the interruption moment, and the working state of the flashing light corresponding to the flashing light switching request is different from the working state of the current flashing light when the flashing light switching request is received.

[0029] In a third aspect, an embodiment of the present invention provides a vehicle, the vehicle includes an electronic device, the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, it implements the steps of the method for controlling vehicle flashing lights as described in the first aspect or any possible implementation of the first aspect.

[0030] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the vehicle flashing light control method as described in the first aspect or any possible implementation method of the first aspect.

[0031] An embodiment of the present invention provides a method, device, vehicle and storage medium for controlling vehicle flashing lights. When the flashing light corresponding to a switching request and the current flashing light are the same flashing light, an interruption moment is determined according to the working state and first flashing frequency of the current flashing light and the second flashing frequency of the flashing light corresponding to the flashing light switching request. At the interruption moment, the first flashing frequency output of the current flashing light is switched to the second flashing frequency output of the flashing light corresponding to the flashing light switching request. The working state of the flashing light corresponding to the flashing light switching request is different from the working state of the current flashing light when the flashing light switching request is received, thereby avoiding the inconsistency of the flashing states before and after the switching, realizing the alternating appearance of the flashing light in the on and off states, and the unification of the flashing frequencies before and after the switching, so that the driver and people outside the vehicle can understand the real state of the vehicle and reduce traffic accidents. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0033] Figure 1 This is a flow chart of a method for controlling vehicle flashing lights provided by an embodiment of the present invention;

[0034] Figure 2 This is a schematic diagram of an interruption in which a high-frequency flashing light interrupts a low-frequency flashing light in a working state, and the low-frequency flashing light is in a high-level state, provided by an embodiment of the present invention;

[0035] Figure 3 This is a schematic diagram of an interruption in which a low-frequency flashing light interrupts a high-frequency flashing light in a working state, and the high-frequency flashing light is at a high level, provided by an embodiment of the present invention;

[0036] Figure 4 This is a schematic diagram of an interruption in which a high-frequency flashing light interrupts a low-frequency flashing light in a working state, and the low-frequency flashing light is at a low level, provided by an embodiment of the present invention;

[0037] Figure 5 1 is a schematic diagram of another embodiment of the present invention, wherein a high-frequency flashing light interrupts a low-frequency flashing light in a working state, and the low-frequency flashing light is at a low level;

[0038] Figure 6 This is a schematic diagram of another embodiment of the present invention, in which a low-frequency flashing light interrupts a high-frequency flashing light in a working state, and the high-frequency flashing light is at a low level;

[0039] Figure 7 Schematic diagram of the interruption of different flashing lights provided by an embodiment of the present invention;

[0040] Figure 8 is a schematic diagram of interruption of different flashing lights provided by another embodiment of the present invention;

[0041] Figure 9 1. It is a schematic diagram of the interruption of the unlocked flashing light frequency and the locked flashing light frequency provided by an embodiment of the present invention;

[0042] Figure 10 1 is a schematic structural diagram of a vehicle flashing light control device provided by an embodiment of the present invention;

[0043] Figure 11 is a schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In the following description, specific details such as particular system structures and techniques are provided for purposes of illustration, not limitation, to facilitate a thorough understanding of the embodiments of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0045] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below with reference to the accompanying drawings.

[0046] Figure 1 The present invention provides a flowchart for implementing a method for controlling vehicle flashing lights. In the prior art, the interrupt control of turn signals is performed based on the request priority, giving priority to high-priority requests and even ignoring low-priority requests. Furthermore, interrupt switching can cause inconsistent flashing frequencies, reducing user experience. To address the aforementioned issues, the present application switches based on the flashing frequencies corresponding to the flashing lights when performing interrupt control of the flashing lights, thereby treating requests of different priorities equally and addressing the inconsistent flashing frequencies after switching. The existing flashing light frequencies include at least four categories, and the corresponding flashing light durations for each flash can be: 350ms, 200ms, 150ms, and constant light for 1s.

[0047] The control method of vehicle flashing lights is detailed as follows:

[0048] Step 101, when a flash light switching request is received, and the flash light corresponding to the flash light switching request is the same as the current flash light, obtain the first flashing frequency and working status of the current flash light, and the second flashing frequency of the flash light corresponding to the flash light switching request; the working status includes the flashing on state and the off state.

[0049] The current flashing light is the one currently in operation, flashing at a certain frequency to warn. When a flashing light switch request is received, it is necessary to distinguish whether the flashing light corresponding to the flashing light switch request and the current flashing light are the same flashing light. If the two are the same flashing light, for example, both are left turn signals or right turn signals, then interrupt processing is performed based on the flashing frequency of the flashing light corresponding to the flashing light switch request and the current flashing light. If the two are different flashing lights, a different interrupt processing method is used for control. For details, see Figure 7-9 The flashing lights can be divided into turn signals, hazard warning lights, locking flashing lights, and unlocking flashing lights; among them, the turn signals include left turn signals and right turn signals.

[0050] In this embodiment, the first and second flashing frequencies are used only to distinguish different flashing frequencies and are not intended to rank the flashing frequencies. Different flashing frequencies correspond to different on and off times for each flashing light. However, the same flashing frequency corresponds to the same on and off times. The on state can also be referred to as the ON state, i.e., the flashing light is on, and the off state can also be referred to as the OFF state, i.e., the flashing light is off.

[0051] It should be noted that the on state and off state can be two different operating states corresponding to the flashing of the flashing light. They can be relative concepts, that is, different degrees of brightness. For example, the flashing light can be divided into three levels from off to on, with the third level being the brightest. The on state can be the third level and the off state can be the first level. Similarly, the on state can be the second level and the off state can be the first level, or the on state can be the third level and the off state can be the second level. The flashing of the flashing light can also be controlled by electrical level, with a high level corresponding to the on state and a low level corresponding to the off state. Here, the low level can be a level slightly lower than the high level.

[0052] Step 102: Determine the interruption time according to the first flashing frequency and working state of the current flashing light and the second flashing frequency.

[0053] In this embodiment, after receiving the flash light switching request, the system does not switch directly. Instead, the interruption time is determined according to the working status of the flash light, the first flashing frequency and the second flashing frequency, and the system switches at the interruption time, so as to solve the problem of inconsistent flashing frequency caused by interruption in the prior art.

[0054] How to determine the interruption time is described in detail below through different embodiments.

[0055] In one embodiment, the interruption processing when the current flash light is in working state and in the bright state is divided into two cases. The first case is that the high-frequency flash light interrupts the low-frequency flash light in the working state, and the low-frequency flash light is in the bright state. Figure 2 As shown, the flashing light under the current low-priority flashing light request is in the bright state, and a flashing light switching request of a high-priority flashing light is received. The frequency of the high-priority flashing light is the second flashing frequency, for example, the time for each flashing bright state or off state can be 200ms, and the frequency of the low-priority flashing light is the first flashing frequency, for example, the time for each flashing bright state or off state can be 350ms. It should be noted that the priority of the flashing light request has no direct relationship with the flashing frequency of the flashing light. At this time, when the working state of the current flashing light is bright, the interruption time can be determined as the end time of the bright state of the first flashing frequency. See Figure 2 In the embodiment of the present invention, a flashing light switching request is received while the flashing light is in the on state, for example, when the on state duration is 100ms. The flashing light switching request is received, and the flashing light switching request is not interrupted until the on state lasts for 350ms. When the predetermined interruption time arrives, the current flashing light frequency output is switched to the second flashing frequency output starting from the off state. In this way, although the flashing frequencies before and after the flashing light switching are different, the flashing light switching does not cause the flashing frequency to be inconsistent when the flashing light switches from the off state to the on state due to the interruption immediately after switching from the off state to the on state, as in the prior art. This embodiment can make the flashing frequency of the flashing light relatively consistent before and after the switching.

[0056] It should be noted that low priority and high priority are relative. Generally, the priority of requests in a vehicle can be divided into sixteen levels according to the priority level, among which priority 1 is the highest priority and priority 16 is the lowest priority.

[0057] Priority 1: Thermal runaway alarm. Thermal runaway refers to overheating of the battery in the vehicle.

[0058] Priority 2: Collision alarm;

[0059] Priority 3: Anti-accidental locking of the backup door;

[0060] Priority 4: Back row liveness detection prompt;

[0061] Priority 5: Emergency brake lights;

[0062] Priority 6: Flashing when brake light fails;

[0063] Priority 7: Lock reminder, unlock instruction, anti-theft defense;

[0064] Priority 8: burglar alarm;

[0065] Priority 9: Window and sunroof anti-pinch alarm;

[0066] Priority 10: Car search prompt;

[0067] Priority 11: Back door opening system learning and height learning;

[0068] Priority 12: Highway pilot (HWP) system turn signals, HWP hazard warning lights;

[0069] Priority 13: Turn signal function (including turn signal and lane change signal), hazard warning light function, and intelligent driving turn signal;

[0070] Priority 14: Automatic emergency braking, safe stopping;

[0071] Priority 15: rear collision warning;

[0072] Priority 16: Parking assistance instructions.

[0073] The second is that the low-frequency flashing light interrupts the high-frequency flashing light in the working state, and the high-frequency flashing light is at a high level. Figure 3 As shown, the flashing light under the current low-priority flashing light request is in the on state, with a flashing frequency of the first flashing frequency. For example, each flashing time in the on state or off state can be 150ms. When a flashing light switching request is received from a high-priority flashing light, the flashing frequency is the second flashing frequency. For example, each flashing time in the on state or off state can be 200ms. At this time, when the current flashing light is in the on state, the interruption time can be determined to be the end time of the on state of the first flashing frequency. That is, when the flashing light switching request is received in the on state, for example, when the flashing light switching request is received when the on state duration is 50ms, the interruption is performed after the on state continues for 150ms. When the determined interruption time arrives, the first flashing frequency output of the current flashing light is switched to the second flashing frequency output of the flashing light corresponding to the flashing light switching request, and the flashing light corresponding to the flashing light switching request is in the off state.

[0074] When a flashing light that is currently in operation is interrupted in the off state, the interruption time is determined based on the flashing frequency and the duration of the current off state of the flashing light. Optionally, when the current operating state of the flashing light is the off state, the second flashing frequency is detected to be less than the first flashing frequency; when the second flashing frequency is less than the first flashing frequency, the duration of the off state is detected to be less than the duration of the on state corresponding to the second flashing frequency; when the duration of the off state is less than the duration of the on state corresponding to the second flashing frequency, the interruption time is determined to be the time corresponding to when the duration of the off state is equal to the duration of the on state corresponding to the second flashing frequency.

[0075] like Figure 4 As shown, the high-frequency flashing light interrupts the low-frequency flashing light in the working state, and the low-frequency flashing light is at a low level. The flashing light currently in the working state is a low-priority flashing light, and its flashing frequency is the first flashing frequency. For example, the duration of each flashing on state or off state is 350ms. When it is in the off state, it receives a flashing light switching request from a high-priority flashing light. For example, the duration of each flashing on state or off state is 200ms. Then, the second flashing frequency is greater than the first flashing frequency. When the duration of the off state is less than the duration of the on state corresponding to the second flashing frequency, as shown in FIG. Figure 4 In the example, the off state lasts for 100ms and does not exceed 200ms. At this time, the moment when the off state continues for another 100ms is determined to be the interruption moment. In this way, the switch is performed at the moment of 200ms in the off state, and the flash light switches from the first flashing frequency output to the second flashing frequency output, and the working state of the flash light corresponding to the flash light switching request is the bright state. In this way, the flashing frequency of the flash light is not suddenly changed and is relatively uniform.

[0076] Optionally, after detecting whether the duration of the off state is less than the duration of the on state corresponding to the second flashing frequency, the method further includes: when the duration of the off state is greater than or equal to the duration of the on state corresponding to the second flashing frequency, determining that the interruption moment is the moment when the flashing light switching request is received. Figure 5 As shown, this application scenario is still a high-frequency flashing light interrupting a low-frequency flashing light, which is different from Figure 4 The situation shown is similar, except that the off state duration has exceeded 200ms. For example, when the flash light switching request is received, the off state duration is already 300ms, which is greater than the on state duration corresponding to the second flashing frequency of the flash light corresponding to the flash light switching request. At this time, the switch is performed directly.

[0077] In one embodiment, Figure 4 and Figure 5 The scenario shown is that a high-frequency flashing light interrupts a low-frequency flashing light. In this embodiment, Figure 6 The scenario shown is a low-frequency flashing light interrupting a high-frequency flashing light. For example, the duration of the on or off state corresponding to the second flashing frequency is 350ms, and the duration of the on or off state corresponding to the first flashing frequency is 200ms. If a flashing light switch request is received while the currently active flashing light is in the off state, for example, the flashing light switch request is received at 50ms, then to maintain relative uniformity in the flashing frequency, the interruption time is determined to be the end of the off state corresponding to the first flashing frequency. That is, when the off state lasts for 200ms, the current flashing light's first flashing frequency output is switched to the second flashing frequency output of the flashing light corresponding to the flashing light switch request, and the flashing light corresponding to the flashing light switch request is in the active state of the on state.

[0078] The above embodiments describe a flashing light control method when the flashing light corresponding to the flashing light switching request and the current flashing light are the same flashing light, and also include a vehicle flashing light control method when the flashing light corresponding to the flashing light switching request and the current flashing light are not the same flashing light.

[0079] In one embodiment, after receiving a flashlight switching request, the method may further include: if the flashlight corresponding to the flashlight switching request is not the same as the current flashlight, turning off the current flashlight and turning on the flashlight corresponding to the flashlight switching request after receiving the flashlight switching request. This ensures a timely response to the flashlight switching request and reduces latency.

[0080] When the flashing light corresponding to the flashing light switching request and the current flashing light are not the same flashing light, it may include: the flashing light corresponding to the flashing light switching request is the left / right turn light, and the current flashing light is the right / left turn light; the flashing light corresponding to the flashing light switching request is the left / right turn light, and the current flashing light is the hazard warning light; the flashing light corresponding to the flashing light switching request is the hazard warning light, and the current flashing light is the left / right turn light; the flashing light corresponding to the flashing light switching request is the unlocking light, and the current flashing light is the locking light.

[0081] To ensure that different flashing lights respond in a timely manner and to achieve a relatively uniform flashing frequency, different switching methods can be used according to different operating states. Optionally, when the flashing light corresponding to the flashing light switching request is different from the current flashing light, and the current flashing light is in the on state, the current flashing light is turned off after receiving the flashing light switching request, and after outputting the preset time in the off state, the flashing light corresponding to the flashing light switching request is turned on, and the working state of the flashing light corresponding to the flashing light switching request is set to the on state. The preset time here can be set as required, for example, the preset time can be 10ms, 20ms, or other durations.

[0082] When the flash light corresponding to the flash light switching request is not the same as the current flash light, and the working state of the current flash light is off, the current flash light is turned off after receiving the flash light switching request, and the flash light corresponding to the flash light switching request is turned on at the same time, and the working state of the flash light corresponding to the flash light switching request is on.

[0083] like Figure 7 As shown, when the flashing light switching request corresponds to the left / right turn signal, and the current flashing light is the right / left turn signal, the flashing frequency is 350ms. When the flashing light switching request is received in the bright state, the right / left turn signal is immediately turned off, and the left / right turn signal is turned on after the off state lasts for 10ms, and the bright state output is performed.

[0084] like Figure 8As shown, when the flashing light corresponding to the flashing light switching request is the left / right turn signal, and the flashing light currently in the working state is the right / left turn signal, the flashing frequency is 350ms. When the flashing light switching request is received in the off state, the right / left turn signal is immediately turned off, and the left / right turn signal is turned on at the same time to output the bright state.

[0085] See also Figure 7 , the flashing light corresponding to the flashing light switching request is the left / right turn signal, and the current flashing light is the hazard warning light, or the flashing light corresponding to the flashing light switching request is the hazard warning light, and the current flashing light is the left / right turn signal, when the flashing light switching request is received while the current flashing light is on, the hazard warning light or the left / right turn signal is immediately turned off, and after the off state continues for a preset time, the left / right turn signal or the hazard warning light is turned on, and the frequency output starts in the on state.

[0086] In one embodiment, see Figure 8 , the flashing light corresponding to the flashing light switching request is the left / right turn signal, and the current flashing light is the hazard warning light, or the flashing light corresponding to the flashing light switching request is the hazard warning light, and the current flashing light is the left / right turn signal, if the flashing light switching request is received when the current flashing light is off, the hazard warning light or the left / right turn signal will be immediately turned off, and the left / right turn signal or the hazard warning light will be turned on at the same time, and will start outputting in the bright state.

[0087] In one embodiment, if Figure 9 As shown, the flashing time of the locked flash light is 1s, and the rest of the time it is in the off state. For example, when the unlocked flash light switching request is received when the on state lasts for 100ms, it will immediately switch to the bright state after lasting for a preset time and use the flashing frequency of the unlocked flash light for output.

[0088] Step 103: at the interruption moment, the first flashing frequency output of the current flashing light is switched to the second flashing frequency output of the flashing light corresponding to the flashing light switching request, and the working state of the flashing light corresponding to the flashing light switching request is different from the working state of the current flashing light when the flashing light switching request is received.

[0089] For a detailed description of this step, see step 102 and the attached Figure 2-9 Description.

[0090] In the above-mentioned vehicle flashing light control method, when the flashing light corresponding to the flashing light switch request is the same as the current flashing light, an interruption time is determined based on the different operating states of the flashing light, the first flashing frequency, and the second flashing frequency corresponding to the flashing light corresponding to the flashing light switch request. At the interruption time, the first flashing frequency of the flashing light is switched to the second flashing frequency. The operating state of the flashing light corresponding to the flashing light switch request is different from the operating state of the current flashing light when the flashing light switch request is received. This ensures that the flashing frequency of the flashing light before and after the switch is consistent, allowing the driver and people outside the vehicle to understand the true status of the vehicle and reduce traffic accidents. In addition, when the flashing light corresponding to the flashing light switch request is different from the current flashing light, after receiving the flashing light switch request, the current flashing light is turned off and the flashing light corresponding to the flashing light switch request is turned on for frequency output, thereby ensuring a timely response to the flashing light switch request and reducing latency.

[0091] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0092] The following are device embodiments of the present invention. For details not fully described therein, reference may be made to the corresponding method embodiments described above.

[0093] Figure 10 A schematic diagram of the structure of a vehicle flashing light control device provided by an embodiment of the present invention is shown. For ease of explanation, only the parts related to the embodiment of the present invention are shown, which are described in detail as follows:

[0094] like Figure 10 As shown, the vehicle flashing light control device includes: an acquisition module 1001 , a determination module 1002 and a processing module 1003 .

[0095] The acquisition module 1001 is configured to, upon receiving a flash light switching request, obtain a first flashing frequency and operating state of the current flash light, and a second flashing frequency of the flash light corresponding to the flash light switching request, if the flash light corresponding to the flash light switching request is the same as the current flash light; the operating state includes a flashing on state and a flashing off state;

[0096] A determination module 1002 is configured to determine an interruption time based on the first flashing frequency and working state of the current flashing light and the second flashing frequency;

[0097] The processing module 1003 is used to switch the first flashing frequency output of the current flashing light to the second flashing frequency output of the flashing light corresponding to the flashing light switching request at the interruption moment, and the working state of the flashing light corresponding to the flashing light switching request is different from the working state of the current flashing light when the flashing light switching request is received.

[0098] In a possible implementation, when determining the interruption time according to the first flashing frequency and the working state of the current flashing light and the second flashing frequency, the determination module 1002 is configured to:

[0099] When the working state is the bright state, the interruption moment is determined to be the end moment of the bright state of the first flashing frequency.

[0100] In a possible implementation, when determining the interruption time according to the first flashing frequency and the working state of the current flashing light and the second flashing frequency, the determination module 1002 is configured to:

[0101] When the working state is off, detecting whether the second flashing frequency is greater than the first flashing frequency;

[0102] When the second flashing frequency is greater than the first flashing frequency, detecting whether the duration of the off state is less than the duration of the on state corresponding to the second flashing frequency;

[0103] When the duration of the off state is less than the duration of the on state corresponding to the second flickering frequency, the interruption moment is determined to be the moment corresponding to when the duration of the off state is equal to the duration of the on state corresponding to the second flickering frequency.

[0104] In a possible implementation, after detecting whether the duration of the off state is less than the duration of the on state corresponding to the second flickering frequency, the determination module 1002 is further configured to:

[0105] When the duration of the off state is greater than or equal to the duration of the on state corresponding to the second flashing frequency, the interruption moment is determined to be the moment when the flashing light switching request is received.

[0106] In a possible implementation, after detecting whether the second flickering frequency is greater than the first flickering frequency, the determination module 1002 is further configured to:

[0107] When the second flickering frequency is lower than the first flickering frequency, the interruption time is determined to be the end time of the off state corresponding to the first flickering frequency.

[0108] In a possible implementation, the processing module 1003 is further configured to:

[0109] When the flash light corresponding to the flash light switching request is not the same as the current flash light, after receiving the flash light switching request, the current flash light is turned off and the flash light corresponding to the flash light switching request is turned on.

[0110] In one possible implementation, when the flash light corresponding to the flash light switching request is not the same as the current flash light, the processing module 1003 turns off the current flash light and turns on the flash light corresponding to the flash light switching request after receiving the flash light switching request, and is configured to:

[0111] When the flash light corresponding to the flash light switching request is not the same as the current flash light, and the working state of the current flash light is on, after receiving the flash light switching request, the current flash light is turned off, and after outputting in the off state for a preset time, the flash light corresponding to the flash light switching request is turned on, and the working state of the flash light corresponding to the flash light switching request is on;

[0112] When the flashing light corresponding to the flashing light switching request is not the same as the current flashing light, and the working state of the current flashing light is off, the current flashing light is turned off after receiving the flashing light switching request, and the flashing light corresponding to the flashing light switching request is turned on at the same time, and the working state of the flashing light corresponding to the flashing light switching request is vehicle state.

[0113] In the above-mentioned vehicle flashing light control device, when the flashing light corresponding to the flashing light switching request and the flashing light currently in operation are the same flashing light, the determination module determines the interruption time based on the operating state of the flashing light, the first flashing frequency, and the second flashing frequency corresponding to the flashing light corresponding to the flashing light switching request. At the interruption time, the processing module switches the first flashing frequency of the flashing light to the second flashing frequency. The operating state of the flashing light corresponding to the flashing light switching request is different from the operating state of the current flashing light when the flashing light switching request is received. This ensures that the flashing frequency of the flashing light before and after the switching is consistent, allowing the driver and people outside the vehicle to understand the true state of the vehicle and reduce traffic accidents. In addition, the processing module is further configured to, when the flashing light corresponding to the flashing light switching request and the current flashing light are different, turn off the current flashing light after receiving the flashing light switching request and turn on the flashing light corresponding to the flashing light switching request. This ensures a timely response to the flashing light switching request and reduces latency.

[0114] Another embodiment of the present invention further provides a vehicle, the vehicle comprising Figure 11 Schematic diagram of the electronic device shown. Figure 11 As shown, the electronic device 11 of this embodiment includes: a processor 110, a memory 111, and a computer program 112 stored in the memory 111 and executable on the processor 110. When the processor 110 executes the computer program 112, the steps in the above-mentioned embodiments of the vehicle flashing light control method are implemented, such as Figure 1 Alternatively, when the processor 110 executes the computer program 112, the functions of the modules / units in the above-mentioned device embodiments are realized, for example, Figure 10 Functions of modules / units 1001 to 1003 are shown.

[0115] Exemplarily, the computer program 112 may be divided into one or more modules / units, one or more modules / units being stored in the memory 111 and executed by the processor 110 to implement the present invention. One or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program 112 in the electronic device 11. For example, the computer program 112 may be divided into Figure 10 Modules / units 1001 to 1003 are shown.

[0116] The electronic device 11 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 11 may include, but is not limited to, a processor 110 and a memory 111. Those skilled in the art will appreciate that Figure 11 It is only an example of the electronic device 11 and does not constitute a limitation of the electronic device 11. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0117] The processor 110 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0118] The memory 111 may be an internal storage unit of the electronic device 11, such as a hard disk or memory of the electronic device 11. The memory 111 may also be an external storage device of the electronic device 11, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the electronic device 11. Furthermore, the memory 111 may include both an internal storage unit of the electronic device 11 and an external storage device. The memory 111 is used to store computer programs and other programs and data required by the electronic device. The memory 111 may also be used to temporarily store data that has been output or is about to be output.

[0119] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0120] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0121] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0122] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0123] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0124] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0125] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the process steps in the above-mentioned method embodiments by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by a processor, the computer program can implement the steps of each of the above-mentioned vehicle flashing light control method embodiments. The computer program includes computer program code, which can be in source code form, object code form, executable file, or some intermediate form. Computer-readable media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, mobile hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signals, telecommunication signals, and software distribution media. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased based on the requirements of legislation and patent practice in a jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0126] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the scope of protection of the present invention.

Claims

1. A method for controlling vehicle flashing lights, characterized in that: include: When a flash light switching request is received, and the flash light corresponding to the flash light switching request is the same as the current flash light, obtaining a first flashing frequency and an operating state of the current flash light, and a second flashing frequency of the flash light corresponding to the flash light switching request; the operating state includes a flashing on state and an off state; Determining an interruption time according to the first flashing frequency and working state of the current flashing light and the second flashing frequency; At the interruption moment, the first flashing frequency output of the current flashing light is switched to the second flashing frequency output of the flashing light corresponding to the flashing light switching request, and the working state of the flashing light corresponding to the flashing light switching request is different from the working state of the current flashing light when the flashing light switching request is received; The determining of the interruption time according to the first flashing frequency and the working state of the current flashing light and the second flashing frequency includes: When the working state is off, detecting whether the second flashing frequency is greater than the first flashing frequency; When the second flashing frequency is greater than the first flashing frequency, detecting whether the duration of the off state is less than the duration of the on state corresponding to the second flashing frequency; When the duration of the off state is less than the duration of the on state corresponding to the second flickering frequency, the interruption moment is determined to be the moment corresponding to when the duration of the off state is equal to the duration of the on state corresponding to the second flickering frequency.

2. The method for controlling vehicle flashing lights according to claim 1, characterized in that: The determining of the interruption time according to the first flashing frequency and the working state of the current flashing light and the second flashing frequency further includes: When the working state is the bright state, the interruption moment is determined to be the end moment of the bright state of the first flashing frequency.

3. The method for controlling vehicle flashing lights according to claim 1, characterized in that: After detecting whether the duration of the off state is less than the duration of the on state corresponding to the second flashing frequency, the method further includes: When the duration of the off state is greater than or equal to the duration of the on state corresponding to the second flashing frequency, the interruption moment is determined to be the moment when the flashing light switching request is received.

4. The method for controlling vehicle flashing lights according to claim 1, wherein: After detecting whether the second flickering frequency is greater than the first flickering frequency, the method further includes: When the second flickering frequency is less than the first flickering frequency, the interruption moment is determined to be the end moment of the off state corresponding to the first flickering frequency.

5. The method for controlling vehicle flashing lights according to any one of claims 1 to 4, characterized in that: After receiving the flash light switching request, the method further includes: When the flashing light corresponding to the flashing light switching request and the current flashing light are not the same flashing light, after receiving the flashing light switching request, the current flashing light is turned off and the flashing light corresponding to the flashing light switching request is turned on.

6. The method for controlling vehicle flashing lights according to claim 5, characterized in that: When the flashing light corresponding to the flashing light switching request and the current flashing light are not the same flashing light, turning off the current flashing light and turning on the flashing light corresponding to the flashing light switching request after receiving the flashing light switching request includes: When the flash light corresponding to the flash light switching request is not the same as the current flash light, and the working state of the current flash light is on, after receiving the flash light switching request, the current flash light is turned off, and after outputting in the off state for a preset time, the flash light corresponding to the flash light switching request is turned on, and the working state of the flash light corresponding to the flash light switching request is on; When the flashing light corresponding to the flashing light switching request and the current flashing light are not the same flashing light, and the working state of the current flashing light is off, the current flashing light is turned off after receiving the flashing light switching request, and the flashing light corresponding to the flashing light switching request is turned on at the same time, and the working state of the flashing light corresponding to the flashing light switching request is on.

7. A vehicle flashing light control device, characterized in that: include: an acquisition module configured to, upon receiving a flash light switching request and when the flash light corresponding to the flash light switching request is the same flash light as the current flash light, acquire a first flashing frequency and an operating state of the current flash light, as well as a second flashing frequency of the flash light corresponding to the flash light switching request; the operating state includes a flashing on state and a flashing off state; a determination module, configured to determine an interruption time according to the first flashing frequency and working state of the current flashing light and the second flashing frequency; a processing module, configured to switch, at the interruption moment, the first flashing frequency output of the current flashing light to the second flashing frequency output of the flashing light corresponding to the flashing light switching request, wherein the working state of the flashing light corresponding to the flashing light switching request is different from the working state of the current flashing light when the flashing light switching request is received; The determining of the interruption time according to the first flashing frequency and the working state of the current flashing light and the second flashing frequency includes: When the working state is off, detecting whether the second flashing frequency is greater than the first flashing frequency; When the second flashing frequency is greater than the first flashing frequency, detecting whether the duration of the off state is less than the duration of the on state corresponding to the second flashing frequency; When the duration of the off state is less than the duration of the on state corresponding to the second flickering frequency, the interruption moment is determined to be the moment corresponding to when the duration of the off state is equal to the duration of the on state corresponding to the second flickering frequency.

8. A vehicle comprising an electronic device, wherein the electronic device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the vehicle flashing light control method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the vehicle flashing light control method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Automatic warning light control device for automobiles

    US20090003006A1

  • Energization control apparatus

    US20110215653A1