Vehicle signal warning method, device and equipment and storage medium
By generating the current signal characteristic information of the vehicle signal and finding the target alarm rules, the problem of vehicle signal alarm judgment in the prior art is solved, and rapid response and resource costs are achieved.
Patent Information
- Application Number
- CN202311183947.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-13
- Publication Date
- 2025-03-14
AI Technical Summary
In the prior art, the judgment time of vehicle signal alarm is too long, resulting in too long response time.
By generating the current signal characteristic information of the vehicle signal, and based on the correspondence between the preset signal characteristic information and the alarm rules, the target alarm rules corresponding to the current signal characteristic information are obtained, and the target alarm rules are directly used to make alarms to avoid comparison and judgment.
It greatly shortens the judgment time, realizes rapid response to alarms, and reduces server resource costs.
Smart Images

Figure CN119626011A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle signal alarm method, device, equipment and storage medium. Background Art
[0002] With the development of automobile technology and the continuous improvement of people's living standards, the use of automobiles is becoming more and more popular. During the use of automobiles, some warning information is sometimes generated to remind users of some precautions, such as rescue status warnings, vehicle slipping scene warnings, etc.
[0003] In the prior art, vehicle alarms are performed by comparing the vehicle signals reported by the vehicle with each alarm rule one by one, and an alarm is issued according to the notification method set in the alarm rule that meets the requirements. This obviously increases the judgment time, resulting in a long response time. Summary of the invention
[0004] The present invention provides a vehicle signal warning method, device, equipment and storage medium to solve the problems of long judgment time and long response time in the prior art. The present invention can shorten the processing time and realize rapid response warning.
[0005] To achieve the above object, an embodiment of the present invention provides a vehicle signal warning method, comprising:
[0006] Get vehicle signal;
[0007] generating current signal characteristic information of the vehicle signal;
[0008] Based on the preset correspondence between the signal characteristic information and the alarm rule, obtaining the target alarm rule corresponding to the current signal characteristic information;
[0009] The target alarm rule is used to generate an alarm.
[0010] As an improvement of the above solution, the generating of the current signal characteristic information of the vehicle signal includes:
[0011] A signal belonging to a preset feature library is extracted from the vehicle signal to generate current signal feature information of the vehicle signal; wherein the feature library includes signals in all alarm rules.
[0012] As an improvement to the above solution, the corresponding relationship between the signal characteristic information and the alarm rule is established through the following steps:
[0013] Get all alarm rules;
[0014] Extracting a signal from each of the alarm rules to generate signal feature information for each of the alarm rules;
[0015] The alarm rules of the same signal characteristic information are merged to obtain the corresponding relationship between the signal characteristic information and the alarm rules.
[0016] As an improvement of the above solution, the correspondence between the signal feature information and the alarm rules is stored in a map-like manner.
[0017] As an improvement of the above solution, the obtaining of the vehicle signal includes one of the following: receiving a vehicle signal periodically reported by the vehicle end;
[0018] Receive vehicle signals reported by the vehicle end based on preset event triggers;
[0019] The receiving vehicle sends a vehicle signal based on the preset instructions.
[0020] As an improvement of the above solution, the vehicle signal warning method further includes:
[0021] When the target alarm rule corresponding to the current signal characteristic information is not obtained, no alarm is issued.
[0022] To achieve the above purpose, an embodiment of the present invention further provides a vehicle signal warning device, comprising:
[0023] A vehicle signal acquisition module, used for acquiring vehicle signals;
[0024] A current signal characteristic information generating module, used to generate current signal characteristic information of the vehicle signal;
[0025] A target alarm rule acquisition module, used to acquire a target alarm rule corresponding to the current signal characteristic information based on a preset correspondence between the signal characteristic information and the alarm rule;
[0026] The alarm module is used to generate an alarm using the target alarm rule.
[0027] As an improvement of the above solution, the vehicle signal warning device further includes:
[0028] Alarm rule acquisition module, used to obtain all alarm rules;
[0029] A signal characteristic information generating module, used to extract a signal from each of the alarm rules and generate signal characteristic information of each of the alarm rules;
[0030] The corresponding relationship establishing module is used to merge the alarm rules of the same signal characteristic information to obtain the corresponding relationship between the signal characteristic information and the alarm rules.
[0031] To achieve the above objectives, an embodiment of the present invention also provides a vehicle signal warning device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor implements the vehicle signal warning method as described above when executing the computer program.
[0032] To achieve the above-mentioned purpose, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the vehicle signal warning method as described above.
[0033] Compared with the prior art, the embodiments of the present invention provide a vehicle signal alarm method, device, equipment and storage medium. By finding the target alarm rule corresponding to the current signal characteristic information of the vehicle signal from the correspondence between the preset signal characteristic information and the alarm rule, the target alarm rule is used for alarm. There is no need to compare and judge the vehicle signal with each alarm rule one by one, which greatly shortens the judgment time, enables rapid response, and reduces server resource costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 is a flow chart of a vehicle signal warning method provided by an embodiment of the present invention;
[0035] Figure 2 is another flow chart of a vehicle signal warning method provided by an embodiment of the present invention;
[0036] Figure 3 It is a structural block diagram of a vehicle signal warning device provided by an embodiment of the present invention;
[0037] Figure 4 The present invention provides a structural block diagram of a vehicle signal warning device. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] In the prior art, a vehicle signal of a single vehicle needs to be judged by each alarm rule, which will lead to the following problems: the more alarm rules there are, the longer the vehicle signal judgment time is. Moreover, as the vehicle signal judgment time increases, the resource occupancy time will increase, and more server resources will be required to complete the signal alarms of a large number of vehicles.
[0040] In view of this, an embodiment of the present invention provides a vehicle signal alarm method, which finds the target alarm rule corresponding to the current signal characteristic information of the vehicle signal from the correspondence between the preset signal characteristic information and the alarm rule, and uses the target alarm rule to issue an alarm. There is no need to compare and judge the vehicle signal with each alarm rule one by one, which greatly shortens the judgment time and reduces server resource costs.
[0041] See also Figure 1 , Figure 1 : is a flow chart of a vehicle signal warning method provided by an embodiment of the present invention, the vehicle signal warning method comprising:
[0042] S1. Obtain vehicle signal;
[0043] S2. generating current signal characteristic information of the vehicle signal;
[0044] S3. Based on the preset correspondence between the signal characteristic information and the alarm rule, obtaining a target alarm rule corresponding to the current signal characteristic information;
[0045] S4. Using the target alarm rule to issue an alarm.
[0046] In the embodiment of the present invention, the correspondence between the signal characteristic information and the alarm rule includes: at least one signal characteristic information, and an alarm rule corresponding to each of the signal characteristic information, and the alarm rule corresponding to one signal characteristic information may include one or more;
[0047] In the embodiment of the present invention, Figure 2 As shown, the Internet of Vehicles cloud platform receives the vehicle signal reported by the vehicle end, generates current signal characteristic information of the vehicle signal, the current signal characteristic information includes description information of one or more signals, compares the current signal characteristic information with the preset signal characteristic information and the signal characteristic information in the corresponding relationship of the alarm rule, obtains the target alarm rule corresponding to the current signal characteristic information, sends the target alarm rule to the vehicle end, and the vehicle end issues an alarm according to the notification method set in the target alarm rule.
[0048] In an optional embodiment, the generating of the current signal characteristic information of the vehicle signal includes:
[0049] A signal belonging to a preset feature library is extracted from the vehicle signal to generate current signal feature information of the vehicle signal; wherein the feature library includes signals in all alarm rules.
[0050] It is understandable that the vehicle signal may include signals that do not require alarms. In this case, if all signals in the vehicle signal are described and current signal characteristic information is generated, this will undoubtedly increase the workload. Therefore, in an embodiment of the present invention, only the signals in the vehicle signal that belong to the alarm rules are described, and current signal characteristic information is generated, which reduces the workload, further reduces the processing time, and speeds up the response.
[0051] In an optional embodiment, the corresponding relationship between the signal characteristic information and the alarm rule is established through the following steps:
[0052] Get all alarm rules;
[0053] Extracting a signal from each of the alarm rules to generate signal feature information for each of the alarm rules;
[0054] The alarm rules of the same signal characteristic information are merged to obtain the corresponding relationship between the signal characteristic information and the alarm rules.
[0055] In an embodiment of the present invention, signal characteristic information is generated based on the signal in the alarm rule, and the corresponding signal characteristic information is obtained through the current signal characteristic information and the target alarm rule is matched. First, all pre-set alarm rules are obtained. Users of different roles can set one or more alarm rules, and each alarm rule includes one or more signal judgment conditions; then, the signal is extracted from each alarm rule and described to generate the signal characteristic information of each alarm rule, wherein the signal characteristic information of each alarm rule includes one or more signal description information, and finally, the alarm rules with the same signal characteristic information are merged to obtain the corresponding relationship between the signal characteristic information and the alarm rule.
[0056] For example, alarm rule 1 is set to give an alarm when signal A>2, alarm rule 2 is set to give an alarm when signal B>3 or signal A>2, and alarm rule 3 is set to give an alarm when signal A>2 and signal C>4. Then the signal characteristic information of alarm rule 1 is signal A>2, and alarm rule 2 has two signal characteristic information, one signal characteristic information is signal B>3, and the other signal characteristic information is signal A>2. The signal characteristic information of alarm rule 3 is signal A>2 and signal C>4. It can be seen that alarm rule 1 and alarm rule 2 have the same signal characteristic information, which is signal A>2.
[0057] At this time, signal A>2 is set as a corresponding relationship with alarm rule 1 and alarm rule 2, signal B>3 is set as a corresponding relationship with alarm rule 2, and signal A>2 and signal C>4 are set as a comparative relationship with alarm rule 3.
[0058] In an optional embodiment, the correspondence between the signal feature information and the alarm rule is stored in a map-like manner.
[0059] It can be understood that the map class is a data structure for storing key-value pairs. The key and value in the map are one-to-one corresponding. It provides an effective way to store and retrieve data, and can quickly find the corresponding value according to the key. In the embodiment of the present invention, the corresponding relationship between the signal feature information and the alarm rule is stored in a map manner to facilitate search and retrieval.
[0060] In an optional embodiment, the acquiring of the vehicle signal comprises one of the following: receiving a vehicle signal periodically reported by the vehicle end;
[0061] Receive vehicle signals reported by the vehicle end based on preset event triggers;
[0062] The receiving vehicle sends a vehicle signal based on the preset instructions.
[0063] In the embodiment of the present invention, the vehicle signal can be obtained in three ways: the vehicle side periodically reports the vehicle signal, the vehicle side event triggers the reporting of the vehicle signal, and the Internet of Vehicles cloud platform sends a command to obtain the vehicle signal.
[0064] In an optional embodiment, the vehicle signal warning method further includes:
[0065] When the target alarm rule corresponding to the current signal characteristic information is not obtained, no alarm is issued.
[0066] In an embodiment of the present invention, when the target warning rule corresponding to the current signal characteristic information is not found from the correspondence between the signal characteristic information and the warning rule, it means that the vehicle signal has no warning rule for the symbol and no warning is needed.
[0067] A vehicle signal alarm method provided by an embodiment of the present invention finds a target alarm rule corresponding to the current signal characteristic information of the vehicle signal from the correspondence between the preset signal characteristic information and the alarm rule, and uses the target alarm rule to issue an alarm. There is no need to compare and judge the vehicle signal with each alarm rule one by one, which greatly shortens the judgment time, enables rapid response, and reduces server resource costs.
[0068] See also Figure 3 , Figure 3 : is a structural block diagram of a vehicle signal warning device 10 provided in an embodiment of the present invention, wherein the vehicle signal warning device 10 comprises:
[0069] A vehicle signal acquisition module 11 is used to acquire vehicle signals;
[0070] A current signal characteristic information generating module 12, used to generate current signal characteristic information of the vehicle signal;
[0071] A target alarm rule acquisition module 13 is used to acquire a target alarm rule corresponding to the current signal characteristic information based on a preset correspondence between the signal characteristic information and the alarm rule;
[0072] The alarm module 14 is used to generate an alarm using the target alarm rule.
[0073] Optionally, the vehicle signal warning device further includes:
[0074] Alarm rule acquisition module, used to obtain all alarm rules;
[0075] A signal characteristic information generating module, used to extract a signal from each of the alarm rules and generate signal characteristic information of each of the alarm rules;
[0076] The corresponding relationship establishing module is used to merge the alarm rules of the same signal characteristic information to obtain the corresponding relationship between the signal characteristic information and the alarm rules.
[0077] Optionally, the generating of the current signal characteristic information of the vehicle signal includes:
[0078] A signal belonging to a preset feature library is extracted from the vehicle signal to generate current signal feature information of the vehicle signal; wherein the feature library includes signals in all alarm rules.
[0079] Optionally, the correspondence between the signal feature information and the alarm rule is stored in a map-like manner.
[0080] Optionally, the acquiring of the vehicle signal comprises one of the following: receiving a vehicle signal periodically reported by a vehicle end;
[0081] Receive vehicle signals reported by the vehicle end based on preset event triggers;
[0082] The receiving vehicle sends a vehicle signal based on the preset instructions.
[0083] Optionally, the alarm module is further used to not issue an alarm when a target alarm rule corresponding to the current signal characteristic information is not obtained.
[0084] It is worth noting that the working process of each module in the vehicle signal warning device 10 described in the embodiment of the present invention can refer to the working process of the vehicle signal warning method described in the above embodiment, and will not be repeated here.
[0085] A vehicle signal warning device 10 provided in an embodiment of the present invention finds a target warning rule corresponding to the current signal characteristic information of the vehicle signal from the correspondence between the preset signal characteristic information and the warning rule, and uses the target warning rule to issue an alarm. There is no need to compare and judge the vehicle signal with each warning rule one by one, which greatly shortens the judgment time, enables rapid response, and reduces server resource costs.
[0086] An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the vehicle signal warning method as described in any of the above embodiments.
[0087] See also Figure 4 , Figure 4 1 is a structural block diagram of a vehicle signal warning device 20 provided in an embodiment of the present invention, and the vehicle signal warning device 20 includes: a processor 21, a memory 22, and a computer program stored in the memory 22 and executable on the processor 21. When the processor 21 executes the computer program, the steps in the above-mentioned vehicle signal warning method embodiment are implemented. Alternatively, when the processor 21 executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are implemented.
[0088] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 22 and executed by the processor 21 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the vehicle signal warning device 20.
[0089] The vehicle signal warning device 20 may include, but is not limited to, a processor 21 and a memory 22. Those skilled in the art will appreciate that the schematic diagram is merely an example of the vehicle signal warning device 20 and does not constitute a limitation on the vehicle signal warning device 20. The vehicle signal warning device 20 may include more or fewer components than shown in the figure, or may combine certain components, or different components. For example, the vehicle signal warning device 20 may also include input and output devices, network access devices, buses, etc.
[0090] The processor 21 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, etc. The processor 21 is the control center of the vehicle signal warning device 20, and uses various interfaces and lines to connect various parts of the entire vehicle signal warning device 20.
[0091] The memory 22 can be used to store the computer program and / or module. The processor 21 realizes various functions of the vehicle signal warning device 20 by running or executing the computer program and / or module stored in the memory 22 and calling the data stored in the memory 22. The memory 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 22 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0092] Wherein, if the module / unit integrated in the vehicle signal warning device 20 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor 21, the steps of the above-mentioned method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0093] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0094] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A vehicle signal warning method, characterized in that: include: Get vehicle signal; generating current signal characteristic information of the vehicle signal; Based on the preset correspondence between the signal characteristic information and the alarm rule, obtaining the target alarm rule corresponding to the current signal characteristic information; The target alarm rule is used to generate an alarm.
2. The vehicle signal warning method according to claim 1, characterized in that: The generating of the current signal characteristic information of the vehicle signal comprises: A signal belonging to a preset feature library is extracted from the vehicle signal to generate current signal feature information of the vehicle signal; wherein the feature library includes signals in all alarm rules.
3. The vehicle signal warning method according to claim 1, characterized in that: The corresponding relationship between the signal characteristic information and the alarm rule is established through the following steps: Get all alarm rules; Extracting a signal from each of the alarm rules to generate signal feature information for each of the alarm rules; The alarm rules of the same signal characteristic information are merged to obtain the corresponding relationship between the signal characteristic information and the alarm rules.
4. The vehicle signal warning method according to claim 3, characterized in that: The correspondence between the signal feature information and the alarm rules is stored in a map-like manner.
5. The vehicle signal warning method according to claim 1, characterized in that: The obtaining of the vehicle signal comprises one of the following: receiving a vehicle signal periodically reported by the vehicle end; Receive vehicle signals reported by the vehicle end based on preset event triggers; The receiving vehicle sends a vehicle signal based on the preset instructions.
6. The vehicle signal warning method according to claim 1, characterized in that: The vehicle signal warning method further includes: When the target alarm rule corresponding to the current signal characteristic information is not obtained, no alarm is issued.
7. A vehicle signal warning device, characterized in that: include: A vehicle signal acquisition module, used for acquiring vehicle signals; A current signal characteristic information generating module, used to generate current signal characteristic information of the vehicle signal; A target alarm rule acquisition module, used to acquire a target alarm rule corresponding to the current signal characteristic information based on a preset correspondence between the signal characteristic information and the alarm rule; The alarm module is used to generate an alarm using the target alarm rule.
8. The device according to claim 7, characterized in that The vehicle signal warning device also includes: Alarm rule acquisition module, used to obtain all alarm rules; A signal characteristic information generating module, used to extract a signal from each of the alarm rules and generate signal characteristic information of each of the alarm rules; The corresponding relationship establishing module is used to merge the alarm rules of the same signal characteristic information to obtain the corresponding relationship between the signal characteristic information and the alarm rules.
9. A vehicle signal warning device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the vehicle signal warning method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program; wherein, when the computer program is run, it controls the device where the computer-readable storage medium is located to execute the vehicle signal warning method according to any one of claims 1 to 6.