Vehicle early warning method and device, electronic equipment and storage medium

By implementing polling steps in the vehicle microcontrol unit, dynamically managing and performing multiple early warning tasks, the problem of lack of comprehensiveness and expansion of existing vehicle ambient light early warning systems is solved, and higher driving safety and flexibility are achieved. Early warning plan configuration.

CN119428435APending Publication Date: 2025-02-14FULSCIENCE AUTOMOTIVE ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411769211.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The existing vehicle ambient light warning system lacks comprehensiveness and expansion, cannot effectively cover a variety of early warning situations, and is difficult to flexibly configure and expand.

Method used

By implementing polling steps in the microcontroller unit of the vehicle, a plurality of early warning tasks are dynamically managed and executed, the satisfaction of the early warning conditions is determined based on the vehicle operation data, and if so, the atmosphere light is controlled to perform early warning.

Benefits of technology

It has achieved comprehensive management of vehicle ambient light warning, improved driving safety, flexible configuration of early warning plans, and strong scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119428435A_ABST
    Figure CN119428435A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle early warning method and device, electronic equipment and a storage medium, the method comprises the steps of executing a polling step according to a preset frequency, the polling step comprises the steps of determining a current early warning task list, and the early warning task list comprises a plurality of early warning tasks arranged according to priorities; determining a target early warning task with the highest priority in the undetected early warning tasks in the early warning task list and an early warning condition corresponding to the target early warning task; based on the operation data of the vehicle, determining whether an early warning condition corresponding to the target early warning task is satisfied; if yes, determining an atmosphere lamp control scheme corresponding to the target early warning task so as to control an atmosphere lamp of the vehicle to act for early warning, and quitting the current polling; and if not, returning to execute the step of determining the target early warning task. The safety of the user during vehicle driving is improved, the early warning scheme is flexible to configure, and the expansibility is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle early warning method, device, electronic device and storage medium. Background Art

[0002] In the prior art, ambient lighting is mainly used to improve the environment, decoration or auxiliary lighting purposes. Although some car dealers have tried to use ambient lighting as a warning method, these systems are often limited to a single or limited type of warning, lacking comprehensiveness and scalability. For example, some systems may only provide specific types of risk warnings such as door open warnings (DOW) or fatigue driving warnings (DMS, Driver Monitor System). These warning systems usually cannot cover a wider range of warning situations, nor can they be easily expanded to deal with new risk situations in the future. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a vehicle warning method, device, electronic device and storage medium, which can improve the safety of users when driving their vehicles through comprehensive management of vehicle ambient light warnings, and the warning scheme has flexible configuration and strong scalability.

[0004] In a first aspect, the present invention provides a vehicle early warning method, which is applicable to a microcontroller unit of a vehicle. The method includes executing a polling step at a preset frequency, and the polling step includes: determining a current early warning task list, the early warning task list including a plurality of early warning tasks arranged according to priority; determining a target early warning task with the highest priority among the early warning tasks not detected in the early warning task list, and early warning conditions corresponding to the target early warning task; determining whether the early warning conditions corresponding to the target early warning task are met based on the vehicle's operating data; if so, determining an atmosphere light control scheme corresponding to the target early warning task to control the vehicle's atmosphere light action for early warning, and exiting the current polling; if not, returning to the step of determining the target early warning task.

[0005] In an optional implementation, the current warning task list is determined in the following manner: all current warning tasks are determined; all warning tasks are arranged according to the priority of each warning task to generate a warning task list; wherein each warning task is associated with corresponding warning conditions and atmosphere light control schemes.

[0006] In an optional implementation, the warning task is a door opening warning. Based on the vehicle's operating data, the steps of determining whether the warning conditions corresponding to the target warning task are met include: obtaining a door status signal through the CAN bus; determining whether the door is open based on the door status signal; if so, determining whether a dangerous target is approaching the door, and if so, determining that the warning conditions are met; if not, the warning conditions are not met.

[0007] In an optional implementation, the warning task is a fatigue driving warning. Based on the vehicle's operating data, a step is performed to determine whether the warning conditions corresponding to the target warning task are met, specifically including obtaining the driver's driving status sent by the system-level chip through SPI; determining whether the driver's driving status is a fatigue driving condition; if so, determining that the warning conditions are met; if not, the warning conditions are not met.

[0008] In an optional implementation, the vehicle's ambient light action is controlled to provide a warning in the following manner: an ambient light control signal is generated based on an ambient light control scheme corresponding to a target warning task; and the ambient light control signal is sent to a corresponding ambient light control module via a LIN line for warning.

[0009] In an optional embodiment, in response to a power-on signal of the vehicle, the polling step is performed at a preset frequency.

[0010] In a second aspect, the present invention provides a vehicle early warning device, the device comprising:

[0011] The polling module is used to perform the polling steps according to the preset frequency, and the polling steps include:

[0012] Determine a current warning task list, where the warning task list includes multiple warning tasks arranged according to priority;

[0013] Determine the target warning task with the highest priority among the warning tasks that have not been detected in the warning task list, and the warning conditions corresponding to the target warning task;

[0014] Based on the vehicle's operating data, determine whether the warning conditions corresponding to the target warning task are met;

[0015] If the conditions are met, the ambient light control scheme corresponding to the target warning task is determined to control the ambient light action of the vehicle to issue a warning, and the current polling is exited;

[0016] If not satisfied, return to the step of determining the target warning task.

[0017] In an optional implementation, the polling module determines the current warning task list in the following manner:

[0018] Determine all current warning tasks; arrange all warning tasks according to the priority of each warning task to generate a warning task list; wherein each warning task is associated with a corresponding warning condition and an ambient light control scheme.

[0019] In a third aspect, the present invention provides an electronic device comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the early warning method for a vehicle as described in any of the aforementioned embodiments.

[0020] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the vehicle warning method of any of the aforementioned embodiments are executed.

[0021] The present application provides a vehicle warning method, device, electronic device and storage medium. The method includes executing a polling step at a preset frequency. The polling step includes: determining the current warning task list, which includes multiple warning tasks arranged according to priority; determining the target warning task with the highest priority among the warning tasks not detected in the warning task list, and the warning conditions corresponding to the target warning task; based on the vehicle's operating data, determining whether the warning conditions corresponding to the target warning task are met; if met, determining the atmosphere light control scheme corresponding to the target warning task to control the vehicle's atmosphere light action for warning, and exiting the current polling; if not met, returning to the step of determining the target warning task. Comprehensive management of vehicle atmosphere light warnings through polling improves the safety of users when driving their vehicles, and the warning scheme is flexible in configuration and highly scalable. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 A flowchart of a polling step provided in an embodiment of the present application;

[0024] Figure 2 A schematic diagram of the structure of a vehicle warning device provided in an embodiment of the present application;

[0025] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] First, the common application of the present application is described. The technical solution of the present application can be applied to the design and implementation of a vehicle terminal system for early warning through the vehicle's ambient light.

[0027] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0028] In one embodiment of the present application, a plurality of different warning tasks are configured for the vehicle, and each warning task is configured with a corresponding priority, as well as corresponding warning conditions and ambient light control schemes.

[0029] For example, the warning task may be DOW_ACTION (door opening warning). When a dangerous target (sedan, truck, two-wheeled vehicle, pedestrian) is detected approaching the left or right door of the vehicle quickly, the door opening warning is triggered, and the left or right ambient light of the vehicle flashes red. After the alarm is lifted, the ambient light status returns to the state before the alarm.

[0030] The warning task can also be RCTA_ACTION (parking exit warning). When the vehicle is detected to be in R gear and a dangerous object is approaching rapidly from the rear, the left and / or right ambient lights of the vehicle flash red. After the alarm is lifted, the ambient light status returns to the status before the alarm.

[0031] The warning task can also be MIK_ACTION (fatigue distraction warning). When the user is judged to be severely fatigued or distracted, the color of all ambient lights changes from the user-set color to red and the brightness is adjusted from 10% to 100%, flashing for 15 seconds at a frequency of 200ms.

[0032] The warning task can also be SPEEDING_ACTION (speeding warning). When the vehicle is detected to be speeding, the color of the ambient light changes from the user-set color to red and the brightness is 100%. The ambient light state is restored after the speeding warning is lifted.

[0033] In order to manage multiple warning tasks of a vehicle, this application proposes a polling method to implement the execution of the warning tasks.

[0034] Figure 1 A flowchart of a polling step provided in an embodiment of the present application. Figure 1 As shown, in this embodiment, the polling step can be performed by the micro control unit of the vehicle. Specifically, the micro control unit of the vehicle can respond to the power-on signal of the vehicle and perform the following polling steps according to a preset frequency:

[0035] S1. Determine a current warning task list, where the warning task list includes a plurality of warning tasks arranged according to priority.

[0036] Specifically, the current warning task list can be determined in the following ways:

[0037] Determine all current warning tasks. Arrange all warning tasks according to the priority of each warning task to generate a warning task list. Each warning task is associated with a corresponding warning condition and atmosphere light control scheme.

[0038] This is because the warning tasks can be added or deleted according to the needs or user configuration. Therefore, at the beginning of each polling, a new warning task list is generated. All the currently effective warning tasks can be obtained at the specified address and arranged from high to low according to the priority. It should be noted that the priorities of multiple warning tasks are different.

[0039] S2. Determine the target warning task with the highest priority among the warning tasks that have not been detected in the warning task list, and the warning conditions corresponding to the target warning task.

[0040] Starting from the target warning task with the highest current priority in the warning task list, determine whether the warning conditions of the target warning task are met.

[0041] S3. Based on the vehicle's operating data, determine whether the warning conditions corresponding to the target warning task are met.

[0042] In step S3, the micro control unit of the vehicle may obtain the operating data of the vehicle and determine the vehicle status to determine whether the warning condition corresponding to the target warning task is met.

[0043] Specifically, in one case, the micro control unit of the vehicle can directly obtain signals from corresponding components of the vehicle for determining early warning conditions.

[0044] For example, if the warning task is a door opening warning, the steps of determining whether the warning conditions corresponding to the target warning task are met based on the vehicle's operating data include:

[0045] The door status signal is obtained through the CAN bus. According to the door status signal, it is determined whether the door is open. If so, it is determined whether there is a dangerous target approaching the door. If so, it is determined that the warning condition is met. If not, the warning condition is not met.

[0046] The vehicle's microcontroller unit can directly obtain the door status signal of each door through the CAN bus. The door status signal here is used to indicate the open or closed state of the corresponding door.

[0047] When it is determined that the left and / or right door is open, it is determined whether a dangerous target is approaching the corresponding door. Here, an image sensor or a radar sensor on the vehicle can be used, for example, to obtain an image near the door captured by the image sensor to identify whether there is a dangerous target in the image. If so, it can be determined that the warning condition is met.

[0048] In another case, the vehicle's microcontroller unit can obtain operating data from the vehicle's system-on-chip (Soc).

[0049] For example, if the warning task is fatigue driving warning, the steps of determining whether the warning conditions corresponding to the target warning task are met based on the vehicle's operating data include:

[0050] Obtain the driver's driving status sent by the system-level chip through SPI. Determine whether the driver's driving status is fatigue driving. If so, determine that the warning condition is met. If not, the warning condition is not met.

[0051] The system-level chip here can collect the driver's facial image through the image sensor on the vehicle and identify the driver's driving status through the facial image.

[0052] S4. If the conditions are met, determine the ambient light control scheme corresponding to the target warning task to control the ambient light of the vehicle to issue a warning, and exit the current polling.

[0053] In step S4, when the target warning task meets the warning condition, the current polling is exited, and the warning task of the next priority is no longer retrieved and judged. In this way, redundant warning triggering can be avoided, and only the most serious warning is reminded.

[0054] If not satisfied, return to the step of determining the target warning task.

[0055] If the target warning task with the highest current priority among the warning tasks that have not been detected does not meet the warning conditions, the next warning task will be judged in a loop and continued to be executed in the order of priority 1, priority 2, priority 3, ..., priority N until all warning tasks in the warning task list have been cycled through, then the cycle ends.

[0056] After one polling is completed, the micro control unit can perform the next polling according to the preset frequency.

[0057] In this way, all warning tasks can be managed and scheduled as a whole. When project requirements change, adding or deleting warning tasks, modifying warning task priorities, or modifying warning conditions and ambient light execution actions are very flexible. The system only needs to configure the data structure corresponding to the warning task without changing the code logic of the polling steps, which enhances the flexibility of warning scheme configuration and has strong scalability. In addition, the Base code of different projects can be transferred and modified, which improves code reusability and reduces the work of programmers.

[0058] At the same time, in the technical solution of the present application, a warning function of different atmosphere lights is also provided for possible dangers that may arise during the use of the vehicle, which can further ensure the safety of vehicle driving.

[0059] like Figure 2 As shown, based on the same inventive concept, an embodiment of the present application further provides a vehicle warning device 20, the device includes a polling module 200, which is used to perform a polling step according to a preset frequency, and the polling step includes:

[0060] Determine a current warning task list, where the warning task list includes multiple warning tasks arranged according to priority;

[0061] Determine the target warning task with the highest current priority among the warning tasks that have not been detected in the warning task list, and the warning conditions corresponding to the target warning task;

[0062] Based on the vehicle's operating data, determine whether the warning conditions corresponding to the target warning task are met;

[0063] If the conditions are met, the ambient light control scheme corresponding to the target warning task is determined to control the ambient light action of the vehicle to issue a warning, and the current polling is exited;

[0064] If not satisfied, the target warning task in the warning task list is deleted, and the process returns to the step of determining the target warning task with the highest current priority in the warning task list.

[0065] In a preferred embodiment, the polling module 200 determines the current warning task list in the following manner:

[0066] Determine all current warning tasks; arrange all warning tasks according to the priority of each warning task to generate a warning task list; wherein each warning task is associated with a corresponding warning condition and an ambient light control scheme.

[0067] In a preferred embodiment, the polling module 200 determines the current warning task list in the following manner: determines all current warning tasks; arranges all warning tasks according to the priority of each warning task to generate a warning task list; wherein each warning task is associated with corresponding warning conditions and atmosphere light control schemes.

[0068] In a preferred embodiment, the warning task is a door opening warning, and the polling module 200 is specifically used to obtain a door status signal through the CAN bus; based on the door status signal, determine whether the door is open; if so, determine whether a dangerous target is approaching the door, and if so, determine that the warning condition is met; if not, the warning condition is not met.

[0069] In a preferred embodiment, the warning task is fatigue driving warning, and the polling module 200 is specifically used to obtain the driver's driving status sent by the system-level chip through SPI; determine whether the driver's driving status is fatigue driving; if so, determine that the warning conditions are met; if not, the warning conditions are not met.

[0070] In a preferred embodiment, the polling module 200 controls the vehicle's ambient light action for early warning in the following manner: generating an ambient light control signal based on the ambient light control scheme corresponding to the target early warning task; and sending the ambient light control signal to the corresponding ambient light control module via the LIN line for early warning.

[0071] In a preferred embodiment, the polling module 200 is used to respond to a power-on signal of the vehicle and execute a polling step at a preset frequency.

[0072] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 3 As shown in , the electronic device 300 includes a processor 310 , a memory 320 and a bus 330 .

[0073] The memory 320 stores machine-readable instructions executable by the processor 310. When the electronic device 300 is running, the processor 310 communicates with the memory 320 via the bus 330. When the machine-readable instructions are executed by the processor 310, the above-mentioned Figure 1 The steps of a vehicle early warning method in the method embodiment shown are specifically implemented in accordance with the method embodiment and will not be described in detail here.

[0074] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1The steps of a vehicle early warning method in the method embodiment shown are specifically implemented in accordance with the method embodiment and will not be described in detail here.

[0075] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0076] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, 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 communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0077] In addition, 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 units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0078] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0079] It should be noted that if the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM) random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0080] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0081] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A vehicle early warning method, characterized in that: Applicable to a micro control unit of a vehicle, the method comprising: The polling step is performed according to a preset frequency, and the polling step includes: Determine a current warning task list, wherein the warning task list includes a plurality of warning tasks arranged according to priority; Determine the target warning task with the highest priority among the warning tasks not detected in the warning task list, and the warning conditions corresponding to the target warning task; Determining whether the warning condition corresponding to the target warning task is met based on the vehicle's operating data; If the conditions are met, the ambient light control scheme corresponding to the target warning task is determined to control the ambient light action of the vehicle to issue a warning, and the current polling is exited; If not satisfied, return to the step of determining the target warning task.

2. The method according to claim 1, characterized in that: The current warning task list is determined by: Determine all current warning tasks; Arrange all warning tasks according to the priority of each warning task to generate a warning task list; Among them, each warning task is associated with corresponding warning conditions and atmosphere light control solutions.

3. The method according to claim 1, characterized in that The warning task is a door opening warning, and the step of determining whether the warning condition corresponding to the target warning task is met based on the vehicle operation data specifically includes: Get the door status signal through the CAN bus; Determining whether the door is open according to the door status signal; If yes, determine whether there is a dangerous target approaching the door, and if yes, determine that the warning condition is met; If not, the warning condition is not met.

4. The method according to claim 1, characterized in that: The warning task is fatigue driving warning, and the step of determining whether the warning condition corresponding to the target warning task is met based on the vehicle operation data specifically includes: Get the driver's driving status sent by the system-level chip through SPI; Determining whether the driver's driving state is fatigue driving; If so, it is determined that the warning condition is met; If not, the warning condition is not met.

5. The method according to claim 1, characterized in that The vehicle's ambient light action is controlled in the following ways to provide warning: Based on the atmosphere light control scheme corresponding to the target warning task, generate an atmosphere light control signal; The ambient light control signal is sent to the corresponding ambient light control module via the LIN line for early warning.

6. The method according to claim 1, characterized in that In response to the vehicle's power-on signal, the polling steps are performed at a preset frequency.

7. A vehicle warning device, characterized in that: The device comprises: The polling module is used to perform a polling step according to a preset frequency, and the polling step includes: Determine a current warning task list, wherein the warning task list includes a plurality of warning tasks arranged according to priority; Determine the target warning task with the highest priority among the warning tasks not detected in the warning task list, and the warning conditions corresponding to the target warning task; Determining whether the warning condition corresponding to the target warning task is met based on the vehicle's operating data; If the conditions are met, the ambient light control scheme corresponding to the target warning task is determined to control the ambient light action of the vehicle to issue a warning, and the current polling is exited; If not satisfied, return to the step of determining the target warning task.

8. The device according to claim 7, characterized in that The polling module determines the current warning task list in the following ways: Determine all current warning tasks; Arrange all warning tasks according to the priority of each warning task to generate a warning task list; Among them, each warning task is associated with corresponding warning conditions and atmosphere light control solutions.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of the vehicle warning method as described in any one of claims 1 to 6.

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 steps of the vehicle warning method as claimed in any one of claims 1 to 6 are executed.