Driving risk detection method and device, storage medium, and electronic device

By constructing a minimal automaton to process vehicle status data, the problems of redundancy and low timeliness of driving risk detection in the existing technology are solved, the accuracy and efficiency of detection are improved, and risks during vehicle status switching are taken into consideration.

CN110782117BActive Publication Date: 2024-10-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201910833627.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-04
Publication Date
2024-10-15
Estimated Expiration
2039-09-04

AI Technical Summary

Technical Problem

Existing driving risk detection technology can easily lead to detection redundancy when making judgments after observing the vehicle's driving status, reducing detection efficiency and timeliness. It also fails to effectively consider risks during vehicle status switching, resulting in low detection accuracy.

Method used

By obtaining multiple state data of the target vehicle, its inherited state is determined, and formal processing is performed according to the preset number to generate state description data. A minimum automaton is constructed to determine the driving risk data, and the risk of switching between the vehicle states and the time.

Benefits of technology

Redundant detection is avoided, the accuracy and timeliness of driving risk detection are improved, and the accuracy of detection results is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110782117B_ABST
    Figure CN110782117B_ABST
Patent Text Reader

Abstract

The present disclosure provides a driving risk detection method and device, electronic device, and storage medium; it relates to the field of computer technology. The driving risk detection method includes: obtaining multiple state data of a target vehicle, and determining the inheritance state corresponding to the state data according to the state data; judging whether any of the state data corresponds to a preset number of inheritance states; wherein the preset number includes one or more; if it is determined that any of the state data corresponds to one inheritance state, formalizing the state data to generate state description data; constructing a minimum automaton corresponding to the state data through the state description data to determine the driving risk data of the target vehicle according to the minimum automaton. The present disclosure can avoid redundant detection, improve the efficiency of driving risk detection, and improve the accuracy of driving risk detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a driving risk detection method, a driving risk detection device, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the rapid development of Internet technology, intelligent driving technology has received more and more attention. When assisting vehicle driving through Internet of Vehicles and vehicle-road collaboration, driving risk detection has become an indispensable part.

[0003] At present, when conducting driving risk detection, the vehicle's driving status is observed, the vehicle information is detected, and whether the vehicle has abnormal information is determined; if the vehicle is determined to have abnormal information, then the vehicle is determined to have driving risk. However, this solution judges the abnormal information of the vehicle after observing the vehicle's driving status, which is prone to detection redundancy, which undermines the efficiency and timeliness of driving risk detection. In addition, this solution ignores the risk and time of switching between various states of the vehicle. State switching is a process. During the period of switching states, the vehicle may face certain risks, resulting in low accuracy in driving risk detection.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide a driving risk detection method, a driving risk detection device, an electronic device and a computer-readable storage medium, thereby overcoming to a certain extent the problems of low detection efficiency and timeliness, as well as low detection accuracy, caused by detection redundancy during driving risk detection due to limitations and defects of related technologies.

[0006] According to a first aspect of the present disclosure, a driving risk detection method is provided, comprising:

[0007] Acquire multiple state data of the target vehicle, and determine the inheritance state corresponding to the state data according to the state data;

[0008] Determine whether any of the state data corresponds to a preset number of inheritance states; wherein the preset number includes one or more;

[0009] If it is determined that any of the state data corresponds to one of the inherited states, formalizing the state data to generate state description data;

[0010] A minimum automaton corresponding to the state data is constructed through the state description data to determine the driving risk data of the target vehicle according to the minimum automaton.

[0011] In an exemplary embodiment of the present disclosure, if it is determined that any of the state data corresponds to an inheritance state, formalizing the state data to generate state description data further includes:

[0012] If it is determined that any of the state data corresponds to a plurality of the inherited states, formalizing the state data to generate a state description data group;

[0013] A minimum automaton group corresponding to the state data is constructed according to the state description data to determine the driving risk data of the target vehicle according to the minimum automaton group.

[0014] In an exemplary embodiment of the present disclosure, determining the driving risk data of the target vehicle according to the minimum automaton includes:

[0015] Acquire current status data of the target vehicle;

[0016] Inputting the current state data into the minimum automaton to determine subsequent state data corresponding to the current state data;

[0017] The driving risk data of the target vehicle is determined by the subsequent state data.

[0018] In an exemplary embodiment of the present disclosure, the driving risk data includes any one of the presence of driving risk or the absence of driving risk, and the determining the driving risk data of the target vehicle by using the subsequent state data includes:

[0019] Determining whether the successor state data exists in the minimum automaton;

[0020] If it is determined that the successor state data exists in the minimum automaton, it is determined that there is no driving risk for the target vehicle;

[0021] If it is determined that the successor state data does not exist in the minimum automaton, it is determined that there is a driving risk for the target vehicle.

[0022] In an exemplary embodiment of the present disclosure, obtaining the status data of the target vehicle includes:

[0023] The state data of the target vehicle is determined by using all states of the target vehicle, the safety level data corresponding to each state, the switching time data corresponding to each state, and the switching risk data corresponding to each state.

[0024] In an exemplary embodiment of the present disclosure, determining the driving risk data of the target vehicle according to the minimum automatic group includes:

[0025] Acquire current status data of the target vehicle;

[0026] Inputting the current state data into the minimum automaton group to determine subsequent state data corresponding to the current state data;

[0027] The driving risk data of the target vehicle is determined by the subsequent state data.

[0028] In an exemplary embodiment of the present disclosure, determining the driving risk data of the target vehicle through the subsequent state data includes:

[0029] Inputting the current state data into any minimum automaton in the minimum automaton group to determine a plurality of subsequent state data corresponding to the current state data;

[0030] Determine whether the successor state data corresponding to any of the minimum automata exists in the minimum automata;

[0031] If it is determined that the plurality of successor state data all exist in the corresponding minimum automaton, it is determined that there is no driving risk for the target vehicle;

[0032] If it is determined that any of the plurality of successor state data does not exist in the corresponding minimum automaton, it is determined that there is a driving risk for the target vehicle.

[0033] According to a second aspect of the present disclosure, a driving risk detection device is provided, comprising:

[0034] An inheritance state determination unit, used to obtain state data of a target vehicle and determine an inheritance state corresponding to the state data according to the state data;

[0035] An inheritance status judgment unit, used to judge whether any of the status data corresponds to a preset number of inheritance states; wherein the preset number includes one or more;

[0036] A formal description unit, configured to, if it is determined that any of the state data corresponds to one of the inherited states, perform formal processing on the state data to generate state description data;

[0037] A driving risk data determining unit is used to construct a minimum automaton corresponding to the state data according to the state description data to determine the driving risk data of the target vehicle according to the minimum automaton.

[0038] In an exemplary embodiment of the present disclosure, the formal description unit further includes:

[0039] a state description data group generating unit, configured to, if it is determined that any state data corresponds to a plurality of inheritance states, perform formal processing on the state data to generate a state description data group;

[0040] A minimum automatic machine group determination unit is used to construct a minimum automatic machine group corresponding to the state data according to the state description data to determine the driving risk data of the target vehicle according to the minimum automatic machine group.

[0041] In an exemplary embodiment of the present disclosure, the driving risk data determination unit includes:

[0042] A current state data acquisition unit, used to acquire the current state data of the target vehicle;

[0043] a subsequent state data determining unit, configured to input the current state data into the minimum automaton to determine subsequent state data corresponding to the current state data;

[0044] A risk data determination unit is used to determine the driving risk data of the target vehicle through the subsequent state data.

[0045] In an exemplary embodiment of the present disclosure, the risk data determination unit is configured to:

[0046] Determining whether the successor state data exists in the minimum automaton;

[0047] If it is determined that the successor state data exists in the minimum automaton, it is determined that there is no driving risk for the target vehicle;

[0048] If it is determined that the successor state data does not exist in the minimum automaton, it is determined that there is a driving risk for the target vehicle.

[0049] In an exemplary embodiment of the present disclosure, the inherited state determination unit obtains the state data of the target vehicle through the following steps: determining the state data of the target vehicle through all states of the target vehicle, the safety level data corresponding to each state, the switching time data corresponding to each state, and the switching risk data corresponding to each state.

[0050] In an exemplary embodiment of the present disclosure, the minimum automatic machine group determination unit is configured as follows:

[0051] Acquire current status data of the target vehicle;

[0052] Inputting the current state data into the minimum automaton group to determine subsequent state data corresponding to the current state data;

[0053] The driving risk data of the target vehicle is determined by the subsequent state data.

[0054] In an exemplary embodiment of the present disclosure, the driving risk detection device may determine the driving risk data of the target vehicle through the following steps:

[0055] Inputting the current state data into any minimum automaton in the minimum automaton group to determine a plurality of subsequent state data corresponding to the current state data;

[0056] Determine whether the successor state data corresponding to any of the minimum automata exists in the minimum automata;

[0057] If it is determined that the plurality of successor state data all exist in the corresponding minimum automaton, it is determined that there is no driving risk for the target vehicle;

[0058] If it is determined that any of the plurality of successor state data does not exist in the corresponding minimum automaton, it is determined that there is a driving risk for the target vehicle.

[0059] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods by executing the executable instructions.

[0060] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, any one of the methods described above is implemented.

[0061] The exemplary embodiments of the present disclosure may have some or all of the following beneficial effects:

[0062] In a driving risk detection method provided in an example embodiment of the present disclosure, the inheritance state corresponding to the state data is determined through multiple state data of the target vehicle; if any state data corresponds to an inheritance state, the state data is formally processed to generate state description data, and the corresponding minimum automaton is constructed through the state description data to determine the driving risk data of the target vehicle according to the minimum automaton. On the one hand, the state data of the vehicle is formally described through a standard formal language to generate state description data, and the driving risk is detected based on the minimum automaton designed through the state description data, which can avoid redundant detection and improve the accuracy of detection; on the other hand, the minimum automaton constructed by the state description data corresponding to the multiple state data of the target vehicle is used to detect driving risks. Therefore, when performing driving risk detection, the switching risk and time of the target vehicle between various states can be considered, so as to ensure the timeliness of the detection results and further improve the accuracy of driving risk detection.

[0063] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0065] Figure 1 A schematic diagram showing an exemplary system architecture of a driving risk detection method and device to which the embodiments of the present disclosure can be applied;

[0066] Figure 2 A schematic diagram showing the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown;

[0067] Figure 3 The following is a schematic diagram showing a process flow of a driving risk detection method according to an embodiment of the present disclosure;

[0068] Figure 4 A schematic diagram of a process of performing driving risk detection using state data containing multiple inherited states according to an embodiment of the present disclosure is schematically shown;

[0069] Figure 5 A flowchart of driving risk detection according to an embodiment of the present disclosure is schematically shown;

[0070] Figure 6A schematic diagram of a scenario for performing driving risk detection according to an embodiment of the present disclosure is schematically shown;

[0071] Figure 7 A schematic diagram schematically shows a detection result corresponding to a driving risk detection according to an embodiment of the present disclosure;

[0072] Figure 8 A schematic block diagram of a driving risk detection device according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0073] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0074] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0075] Figure 1 A schematic diagram of a system architecture of an exemplary application environment in which a driving risk detection method and device according to an embodiment of the present disclosure can be applied is shown.

[0076] like Figure 1As shown, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The terminal devices 101, 102, 103 may be various electronic devices with display screens, including but not limited to desktop computers, portable computers, smart phones, tablet computers, etc. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 105 may be a server cluster composed of multiple servers.

[0077] The driving risk detection method provided in the embodiment of the present disclosure is generally executed by the server 105, and accordingly, the driving risk detection device is generally set in the server 105. However, it is easy for those skilled in the art to understand that the driving risk detection method provided in the embodiment of the present disclosure can also be executed by the terminal devices 101, 102, and 103, and accordingly, the driving risk detection device can also be set in the terminal devices 101, 102, and 103, and this is not particularly limited in this exemplary embodiment. For example, in an exemplary embodiment, the user can upload the current state of the target vehicle to the server 105 through the terminal devices 101, 102, and 103, and the server inputs the current state into the minimum automaton to obtain the subsequent state through the driving risk detection method provided in the embodiment of the present disclosure to determine the driving risk data of the target vehicle according to the subsequent state, and transmits the driving risk data to the terminal devices 101, 102, 103, etc.

[0078] Figure 2 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown.

[0079] It should be noted that Figure 2 The computer system 200 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0080] like Figure 2As shown, the computer system 200 includes a central processing unit (CPU) 201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 202 or a program loaded from a storage part 208 into a random access memory (RAM) 203. Various programs and data required for system operation are also stored in the RAM 203. The CPU 201, the ROM 202, and the RAM 203 are connected to each other via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.

[0081] The following components are connected to the I / O interface 205: an input section 206 including a keyboard, a mouse, etc.; an output section 207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a LAN card, a modem, etc. The communication section 209 performs communication processing via a network such as the Internet. A drive 210 is also connected to the I / O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 210 as needed, so that a computer program read therefrom is installed into the storage section 208 as needed.

[0082] In particular, according to an embodiment of the present disclosure, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 209, and / or installed from a removable medium 211. When the computer program is executed by the central processing unit (CPU) 201, various functions defined in the method and apparatus of the present application are executed.

[0083] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0084] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0085] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0086] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being installed in the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the following embodiment. For example, the electronic device may implement the following method. Figure 3 to Figure 5 The various steps shown, etc.

[0087] The technical solution of the embodiment of the present disclosure is described in detail below:

[0088] First, this exemplary embodiment provides a driving risk detection method. The driving risk detection method can be applied to the above-mentioned server 105, and can also be applied to one or more of the above-mentioned terminal devices 101, 102, 103, which is not particularly limited in this exemplary embodiment. Figure 3 As shown, the driving risk detection method may include the following steps S310 to S340:

[0089] Step S310, acquiring multiple status data of the target vehicle, and determining the inheritance status corresponding to the status data according to the status data;

[0090] Step S320, determining whether any of the state data corresponds to a preset number of inheritance states; wherein the preset number includes one or more;

[0091] Step S330: If it is determined that any of the state data corresponds to an inheritance state, formalizing the state data to generate state description data;

[0092] Step S340: construct a minimum automaton corresponding to the state data through the state description data to determine the driving risk data of the target vehicle according to the minimum automaton.

[0093] In the driving risk detection method provided in this example implementation, on the one hand, the state data of the vehicle is formally described using a standard formal language to generate state description data, and driving risks are detected based on a minimum automaton designed based on the state description data, which can avoid redundant detection and improve the accuracy of detection; on the other hand, driving risk detection is performed using a minimum automaton constructed using state description data corresponding to multiple state data of the target vehicle. Therefore, when performing driving risk detection, the switching risk and time of the target vehicle between various states can be taken into account, thereby ensuring the timeliness of the detection results and further improving the accuracy of driving risk detection.

[0094] Next, the above steps of this exemplary embodiment are described in more detail.

[0095] In step S310, a plurality of status data of the target vehicle is acquired, and an inheritance status corresponding to the status data is determined according to the status data.

[0096] In an example embodiment of the present disclosure, the target vehicle may refer to one or more vehicles that need to be tested for driving risks in a specific actual scenario (for example, in a vehicle-road collaboration scenario). The state data may refer to all states corresponding to the target vehicle and information associated with all states. For example, the state data may be all states corresponding to the target vehicle, or it may be safety level data corresponding to each state of the target vehicle. Of course, it may also be switching time data corresponding to each state of the target vehicle. This example embodiment is not limited to this. The inherited state may refer to the next state corresponding to a certain state of the target vehicle. For example, for state A, state B is reached through preset rules (conditions), then state B is the inherited state of state A. Of course, this is only an illustrative example and should not impose any special limitations on this example embodiment.

[0097] Specifically, the state data of the target vehicle is determined by all states of the target vehicle, the safety level data corresponding to each state, the switching time data corresponding to each state, and the switching risk data corresponding to each state. All states of the target vehicle may refer to all states that the target vehicle may have. The safety level data corresponding to each state may refer to the safety level set by the developer for all states of the target vehicle. For example, when the target vehicle is in a state of clear weather and low driving speed, and is driving in a straight line, the safety level corresponding to this state is high; when the target vehicle is in a state of rainy weather and high driving speed, and is driving on multiple bends, the safety level corresponding to this state is low. Of course, this is only a schematic example and should not cause any special restrictions on this example embodiment. The switching time data corresponding to each state may refer to the corresponding time length when the state of the target vehicle is switched. For example, the switching time data may be the time required for the target vehicle to switch from state A to state B. This example embodiment does not make any special restrictions on this. The switching risk data corresponding to each state may refer to the risk type that may be caused when the state of the target vehicle is switched. For example, the switching risk data may be the risk type that may cause the target vehicle to smooth, side slip, roll over, etc. when the speed is switched when the target vehicle is driving in rainy days. This example embodiment does not make any special restrictions on this.

[0098] In step S320, it is determined whether any of the state data corresponds to a preset number of inheritance states.

[0099] In an example embodiment of the present disclosure, after acquiring multiple state data of the target vehicle, the inheritance state corresponding to each state data in the multiple state data is analyzed and detected. The preset number may refer to a preset threshold value for determining the number of inheritance states. In this example embodiment, the preset number may be one or more. When each state data of the target vehicle corresponds to an inheritance state, no detection redundancy will be caused when performing driving risk detection. When any state data of the target vehicle corresponds to multiple inheritance states, the path corresponding to the state data will be passed through multiple times when performing driving risk detection, resulting in detection redundancy.

[0100] In step S330, if it is determined that any of the state data corresponds to an inheritance state, the state data is formalized to generate state description data.

[0101] In an example embodiment of the present disclosure, a formal language may refer to a language defined by precise mathematical or machine-processable formulas, for example, a formal language may be expressed in the form of G={V, T, P, S}. Formal processing may refer to a process of converting state data into a formal language for expression. State description data may refer to data converted from state data into a formal language for expression.

[0102] In step S340, a minimum automaton corresponding to the state data is constructed by using the state description data to determine the driving risk data of the target vehicle according to the minimum automaton.

[0103] In an example embodiment of the present disclosure, an automaton (Finite Automata, FA, also known as a finite state automaton or a sequential machine) may refer to an abstract mathematical model of a finite discrete digital system. A minimal automaton may refer to an automaton that contains only valid states, and the minimal automaton does not contain invalid states, so the states in the minimal automaton designed by the state description data are all safe states of the target vehicle. Driving risk data may refer to data used to determine whether the target vehicle has a driving risk, for example, the driving risk data may be the presence of a driving risk or the absence of a driving risk, and this example embodiment does not specifically limit this.

[0104] Specifically, the current state data of the target vehicle is obtained; the current state data is input into the minimum automaton to determine the subsequent state data corresponding to the current state data; and the driving risk data of the target vehicle is determined by the subsequent state data. The current state data may refer to the state corresponding to the target vehicle currently obtained from the real scene. The subsequent state data may refer to the output obtained by inputting the current state data into the minimum automaton, and may also be considered as the next state of the target vehicle corresponding to the current state data. The state corresponding to the minimum automaton is the safe state, and the condition for state transition in the minimum automaton is the factor affecting vehicle driving. The current state data is input into the minimum automaton, and the minimum automaton will transition to the next state according to the current state data and the factors affecting vehicle driving (state transition rules or state transition conditions).

[0105] Further, it is determined whether the successor state data exists in the minimum automaton, for example, the successor state data can be compared with the corresponding valid state data (safe state data) in the minimum automaton, and then it is determined whether the successor state data exists in the minimum automaton. If it is determined that the successor state data exists in the minimum automaton, it is considered that the successor state data corresponding to the current state data is within the safety level range, and it is considered that the target vehicle does not have a driving risk; if it is determined that the successor state data does not exist in the minimum automaton, it is considered that the successor state data corresponding to the current state data is not within the safety level range, the driving state of the target vehicle is abnormal, and it is considered that the target vehicle has a driving risk.

[0106] For example, if it is determined that any state data corresponds to an inherited state, the set of all state sequences is modeled as a formal language L(G) derived from the grammar G = {V, T, P, S}, where V = {v1, v2, ..., v m} can refer to the set of all non-terminal symbols representing safe states, T = {t1, t2, ..., t m} may refer to a terminal symbol set of all factors that affect vehicle driving (for example, factors that affect vehicle driving may include driving behavior, weather factors, etc., and specific factors are determined according to actual needs, and this exemplary embodiment does not make special restrictions on this), P = {v1→t1v2,v2→t2v3,...,v m-1 →t m- 1v m ,v m →t m} may refer to the set of all productions, specifying the state switching rules of the target vehicle, S=v1 may refer to the initial non-terminal symbol, m rule may refer to the number of safe states, and V and T satisfy Based on the obtained formal language G, design the minimum automaton M as shown in equation (1):

[0107] M={Q,Σ,δ,q0,F} (1)

[0108] Where Q = V ∪ F, Σ = T, q = S, F is the terminal state of M, and the value of δ can be shown in equation (2):

[0109]

[0110] After designing the minimum automaton as shown in equation (1), observe the current state data of the target vehicle and run the minimum automaton M, use the current state data of the target vehicle as the input of the minimum automaton M, and then observe the next state (successor state data) of the minimum automaton M. If the next state is also in the safe state of the minimum automaton M, then the driving of the target vehicle is normal and there is no driving risk, otherwise there is a driving risk.

[0111] Optionally, if it is determined that any state data corresponds to multiple inherited states, the state data is formally processed to generate a state description data group; a minimum automaton group corresponding to the state data is constructed according to the state description data to determine the driving risk data of the target vehicle according to the minimum automaton group. The state description data group may refer to a set consisting of a formal language obtained by formalizing state data containing multiple inherited states, wherein each formal language represents a safety state corresponding to a state data and an inherited state connection path of the state data. The minimum automaton group may refer to a set consisting of multiple minimum automata designed according to the state description data group, and the number of minimum automata in the minimum automaton group is determined by the number of inherited states corresponding to the state data, and this example embodiment does not specifically limit this.

[0112] Specifically, the current state data of the target vehicle is obtained; the current state data is input into the minimum automaton group to determine the subsequent state data corresponding to the current state data; and the driving risk data of the target vehicle is determined through the subsequent state data. The current state data of the target vehicle is respectively input into each minimum automaton in the minimum automaton group, and the subsequent state data corresponding to each minimum automaton is respectively obtained. When verifying, the subsequent state data corresponding to each minimum automaton is used to verify whether it is in the corresponding minimum automaton.

[0113] Figure 4 A flowchart of performing driving risk detection using state data containing multiple inherited states according to an embodiment of the present disclosure is schematically shown.

[0114] refer to Figure 4 As shown, in step S410, the current state data is input into any minimum automaton in the minimum automaton group to determine a plurality of subsequent state data corresponding to the current state data.

[0115] In an exemplary embodiment of the present disclosure, the current state data of the target vehicle is respectively input into each minimum automaton in the minimum automaton group, and a plurality of successor state data are obtained based on the plurality of minimum automatons in the minimum automaton group, that is, a minimum automaton corresponding to each successor state data.

[0116] Step S420, determining whether the subsequent state data corresponding to any of the minimum automata exists in the minimum automata.

[0117] In an example embodiment of the present disclosure, multiple successor state data output by multiple minimum automata in a minimum automaton group according to current state data are obtained, and it is determined whether the multiple successor state data are in the respective corresponding minimum automata. The specific determination method may be to determine whether the successor state data are in a non-terminal symbol set V representing a safe state. Of course, it is also possible to draw a valid state diagram corresponding to the minimum automaton and determine whether the successor state data are in the valid state diagram. This example embodiment does not make any special limitation on this.

[0118] Step S430: If it is determined that a plurality of the subsequent state data all exist in the corresponding minimum automaton, it is determined that there is no driving risk for the target vehicle.

[0119] In an example embodiment of the present disclosure, if it is determined that each successor state data is in the non-terminal symbol set V representing the safe state of the respective corresponding minimal automaton, or each successor state data is in the valid state diagram of the corresponding minimal automaton, then it is determined that there is no driving risk for the target vehicle.

[0120] Step S440: If it is determined that any of the plurality of successor state data does not exist in the corresponding minimum automaton, it is determined that there is a driving risk for the target vehicle.

[0121] In an example embodiment of the present disclosure, if it is determined that each successor state data is not in the non-terminal symbol set V representing the safe state of the respective corresponding minimal automaton, or each successor state data is not in the valid state diagram of the corresponding minimal automaton, then it is determined that the target vehicle has a driving risk.

[0122] For example, if it is determined that any state data corresponds to multiple inherited states, then it is necessary to determine the minimum number of minimum automata required. Specifically, for any state t i , get the corresponding number of successors n i , then the set of all state sequences is modeled as a formal language group (3):

[0123]

[0124] in, It can represent the number of minimum automata in the minimum automaton group; V k Can satisfy It can represent the set of all non-terminal symbols representing safe states in the kth minimal automaton; T k satisfy The most, can represent the terminal symbol set of all factors that affect vehicle driving in the kth minimum automaton (for example, factors that affect vehicle driving may include driving behavior, weather factors, etc., and the specific factors are determined according to actual needs, and this exemplary embodiment does not make special restrictions on this)); P k It can refer to the set of all productions in the kth minimum automaton, and can represent the state switching rules in the kth minimum state machine; S k =v1 can represent the initial non-terminal symbol of the kth minimum state machine, and for any k1 and k2,

[0125]

[0126] Based on the obtained formal language group (3), the minimum automaton group shown in relation (4) is designed:

[0127]

[0128] Among them, Q k =V k ∪{F k},Σ k =T k ,q 0,k =S k , Fk It is M k The terminal state of , the value of δ can be shown as equation (5):

[0129]

[0130] as well as Formula (5) jointly determines the distribution of each state in the k minimum state machines.

[0131] After designing the minimum automaton group as shown in equation (4), observe the current state data of the target vehicle and select the variable h so that it gradually increases from 1 to n. For each h, first run the hth minimum automaton M in the minimum automaton group (4). h , and then use the current state data of the target vehicle as the minimum automaton M h Input, and finally observe the hth minimum automaton M h The next state (successor state data) of the minimum automaton M. h If the target vehicle is normal, the current round of driving risk detection ends. Otherwise, variable h+1 is selected and the above driving risk detection steps are continued. If the h+1th minimum automaton M h+1 The next state is not in M h+1 If the target vehicle has a driving risk, then there is a driving risk.

[0132] This example embodiment is only used to illustrate the present disclosure, in which the selection of development environment, language, information acquisition source, parameters in relevant formulas, etc. can all be changed. On the basis of the technical solution of the present invention, any improvement and equivalent transformation of a certain part based on the principle of the present invention should not be excluded from the protection scope of the present invention.

[0133] Figure 5 The flowchart of driving risk detection according to an embodiment of the present disclosure is schematically shown.

[0134] refer to Figure 5 As shown, step S510, determining the state data of the target vehicle through all states of the target vehicle, the safety level data corresponding to each state, the switching time data corresponding to each state, and the switching risk data corresponding to each state;

[0135] Step S520, determining the number of inherited states of each state data among the multiple state data of the target vehicle;

[0136] Step S530, determining whether each of the multiple status data of the target vehicle corresponds to only one inherited state, if each status data corresponds to only one inherited state, executing step S540, otherwise executing step S550;

[0137] Step S540, formalizing the state data of the target vehicle to obtain corresponding state description data, and designing a minimum automaton based on the state description data;

[0138] Step S550, formalizing the state data of the target vehicle to obtain a state description data group corresponding to the number of inherited states, and designing a minimum automaton group according to the state description data group, wherein the minimum automaton group may include multiple minimum automata;

[0139] Step S560, obtain the current state data of the target vehicle, and input the current state data into the minimum automaton (minimum automaton group), and obtain the successor state data (multiple successor state data) corresponding to the current state data. If the successor state data (multiple successor state data) is in the safe state of the corresponding minimum automaton (the corresponding minimum automaton in the minimum automaton group), it is considered that there is no driving risk for the target vehicle, otherwise it is considered that there is a driving risk for the target vehicle.

[0140] Figure 6 A schematic diagram of a scenario for performing driving risk detection according to an embodiment of the present disclosure is schematically shown.

[0141] refer to Figure 6 As shown, extracted from the cloud Figure 6 The vehicle type, vehicle position, vehicle speed, vehicle acceleration, vehicle direction, vehicle quantity and other information are detected. Figure 6 Whether the vehicles in the test have driving risks, and calculate the collision risk of any two vehicles. The specific implementation steps are:

[0142] Step 1: Build a development platform, configure a development environment, and install auxiliary libraries and packages, such as math, numpy, time, and requests (this example embodiment uses Python, but the language can be any programming language including Python, and this example embodiment does not specifically limit this);

[0143] Step 2: Determine the state of the target vehicle and the safety level of each state, the switching risk and switching time that may be caused by each state switching, and regard the state as a terminal symbol, the state sequence as a terminal symbol string, the terminal symbol string as an element in the formal language, and the language as derived from the grammar;

[0144] Step 3: If any state in step 2 has only one inherited state, then the set of all state sequences of the target vehicle is modeled into a formal language L(G) derived from the formal language G, and the minimum state machine M shown in formula (1) is further designed, and then go to step 5;

[0145] Step 4: If any state in step 2 has multiple inherited states, then determine the minimum number of minimum automata required, then expand the formal language L(G) to the formal language group shown in formula (3) and further design the minimum automata group shown in formula (4) (the numbers in the formal language group and the minimum automata group can be the numbers corresponding to the minimum automata);

[0146] Step 5: If any state in step 2 has only one successor, then observe the current state data of the target vehicle, run the minimum automaton M in step 3, use the current state data of the target vehicle as the input of the minimum automaton M, and then observe the next state (successor state data) of the minimum automaton M. If the next state is also in the minimum automaton M, then the target vehicle does not have a driving risk, otherwise there is a driving risk;

[0147] Step 6: If some states in step 2 have multiple successors, then observe the current state data of the target vehicle, select the variable h, and gradually increase it from 1 to n; for each h, first run the hth minimum automaton M in (5) h , and then the current state of the vehicle is used as the minimum automaton M h Input, and finally observe the hth minimum automaton M h The next state. If the next state is also in the minimum automaton M h If the target vehicle has no driving risk, the current round of driving risk detection ends. Otherwise, variable h+1 is selected and the above driving risk detection steps are continued. If the h+1th minimum automaton M h+1 The next state is not in M h+1 If the target vehicle has a driving risk, then there is a driving risk.

[0148] Figure 7 A schematic diagram schematically shows a detection result corresponding to driving risk detection according to an embodiment of the present disclosure.

[0149] refer to Figure 7 As shown, in this example embodiment, the vehicle driving risk can be measured by the probability of a vehicle accident. Based on the above steps 1 to 5, Figure 7 The operation results shown in FIG. 1 are shown in FIG. 1 , where the element in the i-th row and j-th column of the matrix represents the probability that vehicle j collides with vehicle i. For example, the element 0.19 in the first row and third column of the matrix represents the probability that vehicle 2 collides with vehicle 1 is 0.19, and the element 0.14 in the first row and eighth column represents the probability that vehicle 3 collides with vehicle 2 is 0.14. Of course, this is only an illustrative description, and the present exemplary embodiment is not limited thereto.

[0150] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0151] Furthermore, in this exemplary embodiment, a driving risk detection device is also provided. The driving risk detection device can be applied to a server or a terminal device. Figure 8 As shown, the driving risk detection device 800 may include an inheritance state determination unit 810, an inheritance state judgment unit 820, a formal description unit 830, and a driving risk data determination unit 840. Among them:

[0152] The inheritance state determination unit 810 is used to obtain state data of the target vehicle and determine the inheritance state corresponding to the state data according to the state data;

[0153] The inheritance status judgment unit 820 is used to judge whether any of the status data corresponds to a preset number of inheritance states; wherein the preset number includes one or more;

[0154] The formal description unit 830 is used for performing formal processing on the state data to generate state description data if it is determined that any state data corresponds to an inheritance state;

[0155] The driving risk data determining unit 840 is used to construct a minimum automaton corresponding to the state data according to the state description data to determine the driving risk data of the target vehicle according to the minimum automaton.

[0156] In an exemplary embodiment of the present disclosure, the formal description unit 830 further includes:

[0157] a state description data group generating unit, configured to, if it is determined that any state data corresponds to a plurality of inheritance states, perform formal processing on the state data to generate a state description data group;

[0158] A minimum automatic machine group determination unit is used to construct a minimum automatic machine group corresponding to the state data according to the state description data to determine the driving risk data of the target vehicle according to the minimum automatic machine group.

[0159] In an exemplary embodiment of the present disclosure, the driving risk data determination unit 840 includes:

[0160] A current state data acquisition unit, used to acquire the current state data of the target vehicle;

[0161] a subsequent state data determining unit, configured to input the current state data into the minimum automaton to determine subsequent state data corresponding to the current state data;

[0162] A risk data determination unit is used to determine the driving risk data of the target vehicle through the subsequent state data.

[0163] In an exemplary embodiment of the present disclosure, the risk data determination unit is configured to:

[0164] Determining whether the successor state data exists in the minimum automaton;

[0165] If it is determined that the successor state data exists in the minimum automaton, it is determined that there is no driving risk for the target vehicle;

[0166] If it is determined that the successor state data does not exist in the minimum automaton, it is determined that there is a driving risk for the target vehicle.

[0167] In an exemplary embodiment of the present disclosure, the inherited state determination unit 810 obtains the state data of the target vehicle through the following steps: determining the state data of the target vehicle through all states of the target vehicle, the safety level data corresponding to each state, the switching time data corresponding to each state, and the switching risk data corresponding to each state.

[0168] In an exemplary embodiment of the present disclosure, the minimum automatic machine group determination unit is configured as follows:

[0169] Acquire current status data of the target vehicle;

[0170] Inputting the current state data into the minimum automaton group to determine subsequent state data corresponding to the current state data;

[0171] The driving risk data of the target vehicle is determined by the subsequent state data.

[0172] In an exemplary embodiment of the present disclosure, the driving risk detection device 800 may determine the driving risk data of the target vehicle through the following steps:

[0173] Inputting the current state data into any minimum automaton in the minimum automaton group to determine a plurality of subsequent state data corresponding to the current state data;

[0174] Determine whether the successor state data corresponding to any of the minimum automata exists in the minimum automata;

[0175] If it is determined that the plurality of successor state data all exist in the corresponding minimum automaton, it is determined that there is no driving risk for the target vehicle;

[0176] If it is determined that any of the plurality of successor state data does not exist in the corresponding minimum automaton, it is determined that there is a driving risk for the target vehicle.

[0177] The specific details of each module or unit in the above-mentioned driving risk detection device have been described in detail in the corresponding driving risk detection method, so they will not be repeated here.

[0178] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0179] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0180] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A driving risk detection method, It is characterized in that include: Acquire multiple status data of the target vehicle, and determine the inheritance status corresponding to the status data according to the status data; The inherited state corresponding to any state data refers to: the next state of the state corresponding to the state data; Determine whether any of the state data corresponds to a preset number of inheritance states; wherein the preset number includes one or more; If it is determined that any of the state data corresponds to an inherited state, the state data is formally processed to generate state description data; the state description data can be expressed as: G = {V, T, P, S}; where V = {v 1 ,v 2 ,...,v m } refers to the set of all non-terminal symbols representing safe states, T = {t 1 ,t 2 ,...,t m } refers to the terminal symbol set of all factors that affect vehicle driving, P = {v 1 →t 1 v 2 ,v 2 →t 2 v 3 ,...,v m-1 →t m-1 v m ,v m →t m } refers to the set of all production types, which specifies the state switching rules of the target vehicle, S = v 1 is the initial non-terminal symbol, m is the number of safe states, and V and T satisfy The minimum automaton corresponding to the state data is constructed by the state description data; wherein the minimum automaton can be expressed as: M = {Q, Σ, δ, q 0 ,F}; where Q = V∪F, Σ = T, q = S, F is the terminal state of M, and the values ​​of δ are as follows: Acquire the current state data of the target vehicle and run the minimum automaton; Inputting the current state data into the minimum automaton, and determining whether subsequent state data corresponding to the current state data exists in the minimum automaton; If it is determined that the successor state data exists in the minimum automaton, determining that there is no driving risk for the target vehicle; If it is determined that the successor state data does not exist in the minimum automaton, it is determined that there is a driving risk for the target vehicle.

2. The driving risk detection method according to claim 1, It is characterized in that If it is determined that any of the state data corresponds to an inheritance state, formalizing the state data to generate state description data further includes: If it is determined that any of the state data corresponds to a plurality of the inherited states, formalizing the state data to generate a state description data group; A minimum automaton group corresponding to the state data is constructed according to the state description data to determine the driving risk data of the target vehicle according to the minimum automaton group.

3. The driving risk detection method according to claim 2, It is characterized in that Determining the driving risk data of the target vehicle according to the minimum automatic unit includes: Acquire current status data of the target vehicle; Inputting the current state data into the minimum automaton group to determine subsequent state data corresponding to the current state data; The driving risk data of the target vehicle is determined by the subsequent state data.

4. The driving risk detection method according to claim 3, It is characterized in that Determining the driving risk data of the target vehicle by using the subsequent state data includes: Inputting the current state data into any minimum automaton in the minimum automaton group to determine a plurality of subsequent state data corresponding to the current state data; Determine whether the successor state data corresponding to any of the minimum automata exists in the minimum automata; If it is determined that the plurality of successor state data all exist in the corresponding minimum automaton, it is determined that there is no driving risk for the target vehicle; If it is determined that any of the plurality of successor state data does not exist in the corresponding minimum automaton, it is determined that there is a driving risk for the target vehicle.

5. The driving risk detection method according to claim 1, It is characterized in that Obtaining multiple status data of the target vehicle includes: The state data of the target vehicle is determined by using all states of the target vehicle, the safety level data corresponding to each state, the switching time data corresponding to each state, and the switching risk data corresponding to each state.

6. A driving risk detection device, It is characterized in that include: An inheritance state determination unit, used to obtain state data of a target vehicle and determine an inheritance state corresponding to the state data according to the state data; The inherited state corresponding to any state data refers to: the next state of the state corresponding to the state data; An inheritance status judgment unit, used to judge whether any of the status data corresponds to a preset number of inheritance states; wherein the preset number includes one or more; A formal description unit is used for, if it is determined that any of the state data corresponds to an inheritance state, to formally process the state data to generate state description data; the state description data can be expressed as: G = {V, T, P, S}; wherein V = {v 1 ,v 2 ,...,v m } refers to the set of all non-terminal symbols representing safe states, T = {t 1 ,t 2 ,...,t m } refers to the terminal symbol set of all factors that affect vehicle driving, P = {v 1 →t 1 v 2 ,v 2 →t 2 v 3 ,...,v m-1 →t m-1 v m ,v m →t m } refers to the set of all production types, which specifies the state switching rules of the target vehicle, S = v 1 is the initial non-terminal symbol, m is the number of safe states, and V and T satisfy A driving risk data determination unit is used to construct a minimum automaton corresponding to the state data according to the state description data; wherein the minimum automaton can be expressed as: M = {Q, Σ, δ, q 0 ,F}; where Q = V∪F, Σ = T, q = S, F is the terminal state of M, and the values ​​of δ are as follows: Acquire the current state data of the target vehicle and run the minimum automaton; Inputting the current state data into the minimum automaton, and determining whether subsequent state data corresponding to the current state data exists in the minimum automaton; If it is determined that the successor state data exists in the minimum automaton, it is determined that there is no driving risk for the target vehicle; If it is determined that the successor state data does not exist in the minimum automaton, it is determined that there is a driving risk for the target vehicle.

7. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

8. An electronic device, It is characterized in that include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 5 by executing the executable instructions.

9. A computer program product, It is characterized in that The computer program product comprises a computer program, and the computer program is suitable for being loaded by a processor and executing the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Driving condition e.g. view movement, complexity signaling method for car, involves deriving complexity measure as quantitative measure for complexity of driving conditions, and quantitatively delivering complexity measure

    DE102007018517A1

  • Starter system of in-vehicle equipment, and starting method of in-vehicle equipment

    JP2012066657A

  • On-vehicle situation detection apparatus and method

    US20160009295A1

  • Generating Estimates of Failure Risk for a Vehicular Component in Situations of High-Dimensional and Low Sample Size Data

    US20160093118A1

  • Method and system for driving mode switching based on driver's state in hybrid driving

    US20190184998A1