Traffic accident handling method and device

By acquiring and analyzing the spatio-temporal correlation data of traffic accidents, identifying abnormal data, determining the scope of impact and deducing processing strategies, the problem of missing traffic accident handling processes in traditional methods is solved, and the entire process of traffic accidents is closed-loop and the processing efficiency is improved.

CN118570998APending Publication Date: 2024-08-30INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410368847.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

It is difficult for traditional artificial intelligence to obtain a complete picture of a traffic accident during traffic accident processing, resulting in deficiencies in the processing process and affecting the accuracy and efficiency of strategy generation.

Method used

By obtaining the spatio-temporal associated data in the target image data, identifying abnormal data, obtaining the attributes and location data of traffic accidents, determining the scope of impact, and deducing the optimal processing strategy based on the scope of impact, the full-process closed-loop processing of traffic accidents is achieved.

Benefits of technology

Using all factors as the initial basis, a complete portrait of the traffic accident is obtained, which improves the accuracy and efficiency of generating traffic accident handling strategies, realizes a closed-loop process of traffic accident handling, and improves the accuracy and efficiency of the handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570998A
    Figure CN118570998A
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and provides a traffic accident processing method and device. The method comprises the following steps: acquiring time-space association data between target image data; obtaining abnormal data in the time-space associated data; acquiring attribute data and position data of the traffic accident according to the abnormal data; determining the influence range of the traffic accident according to the attribute data and the position data; determining an optimal processing strategy of the traffic accident according to the influence range; and processing the traffic accident according to the optimal processing strategy. According to the traffic accident processing method and device provided by the invention, the complete portrait of the traffic accident can be acquired, and the whole-process closed loop of time-space associated data acquisition, abnormal data screening, traffic accident data acquisition, traffic accident influence range determination, traffic accident optimal processing strategy determination and traffic accident processing is realized; the accuracy and efficiency of traffic accident processing strategy generation are improved, so that the accuracy and efficiency of traffic accident processing are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for handling traffic accidents. Background Art

[0002] Traffic is a very complex system, and traffic accident handling is a very typical process from perception to cognition to decision-making and then to control.

[0003] Traditional artificial intelligence is more often used in fragmented applications in the process of traffic accident handling, using very few accident factors as the initial basis for traffic accident handling. It is difficult to obtain a complete picture of the traffic accident based on this, resulting in omissions in the traffic accident handling process, affecting the generation of traffic accident handling strategies, and further affecting the accuracy and efficiency of traffic accident handling. Summary of the invention

[0004] The embodiments of the present application provide a traffic accident handling method and device to solve the technical problem that traditional traffic accident handling methods are difficult to obtain a complete picture of the traffic accident, resulting in omissions in the traffic accident handling process, affecting the generation of traffic accident handling strategies, and further affecting the accuracy and efficiency of traffic accident handling.

[0005] In a first aspect, an embodiment of the present application provides a method for handling a traffic accident, comprising:

[0006] Acquire spatiotemporal correlation data between target image data; the target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image;

[0007] Acquire abnormal data in the spatiotemporal correlation data;

[0008] Acquiring attribute data and location data of the traffic accident according to the abnormal data;

[0009] Determining the impact range of the traffic accident according to the attribute data and the location data;

[0010] Determining the optimal handling strategy for the traffic accident according to the impact range;

[0011] The traffic accident is handled according to the optimal handling strategy.

[0012] In one embodiment, the acquiring of spatiotemporal correlation data between target image data includes:

[0013] Inputting the target image data into a transformer model to obtain correlation data between the target image data output by the transformer model;

[0014] The associated data is divided into static spatial data and dynamic traffic data, and the static spatial data, the dynamic traffic data and timestamp data are input into a spatiotemporal depth feature model to obtain spatiotemporal associated data in the associated data output by the spatiotemporal depth feature model.

[0015] In one embodiment, the obtaining of abnormal data in the spatiotemporal correlation data includes:

[0016] Inputting the spatiotemporal correlation data into an abnormal data recognition model to obtain abnormal data output by the abnormal data recognition model;

[0017] The abnormal data recognition model is obtained by training any prediction model with historical spatiotemporal correlation data.

[0018] In one embodiment, the acquiring of attribute data and location data of the traffic accident according to the abnormal data includes:

[0019] Inputting the abnormal data into an accident analysis model to obtain attribute data and location data of the traffic accident output by the accident analysis model;

[0020] The accident analysis model is obtained by training any prediction model through historical abnormal data and its corresponding accident attribute labels and accident location labels.

[0021] In one embodiment, determining the impact range of the traffic accident according to the attribute data and the location data includes:

[0022] Inputting the attribute data and the location data into an accident impact range prediction model to obtain the impact range of the traffic accident output by the accident impact range prediction model;

[0023] The accident impact range prediction model is obtained by training any prediction model through attribute data and location data of historical traffic accidents.

[0024] In one embodiment, determining the optimal handling strategy for the traffic accident according to the impact range includes:

[0025] Acquire multiple processing strategies from a preset strategy library according to the impact scope;

[0026] The execution effects of the multiple processing strategies are deduced, and the optimal processing strategy among the multiple processing strategies is determined according to the execution effects.

[0027] In a second aspect, an embodiment of the present application provides a traffic accident handling device, comprising:

[0028] A spatiotemporal correlation data acquisition module is used to: acquire spatiotemporal correlation data between target image data; the target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image;

[0029] An abnormal data acquisition module is used to: acquire abnormal data in the spatiotemporal correlation data;

[0030] An attribute location data acquisition module, used to: acquire attribute data and location data of the traffic accident according to the abnormal data;

[0031] An impact range determination module, used to: determine the impact range of the traffic accident according to the attribute data and the location data;

[0032] An optimal handling strategy determination module is used to: determine the optimal handling strategy for the traffic accident according to the impact range;

[0033] The traffic accident processing module is used to: process the traffic accident according to the optimal processing strategy.

[0034] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory storing a computer program, wherein when the processor executes the program, the steps of the traffic accident handling method described in the first aspect are implemented.

[0035] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the traffic accident handling method described in the first aspect.

[0036] In a fifth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, including a computer program, which, when executed by a processor, implements the steps of the traffic accident handling method described in the first aspect.

[0037] The traffic accident handling method and device provided by the present application obtain the spatiotemporal correlation data between the target image data, obtain the abnormal data in the spatiotemporal correlation data, obtain the attribute data and location data of the traffic accident based on the abnormal data, determine the impact range of the traffic accident based on the attribute data and location data, determine the optimal handling strategy for the traffic accident based on the impact range, and handle the traffic accident based on the optimal handling strategy. Since the target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image, covering all factors affecting traffic, and taking all factors as the initial basis, a complete portrait of the traffic accident can be obtained based on this, realizing the full process closed loop of spatiotemporal correlation data acquisition, abnormal data screening, traffic accident data acquisition, traffic accident impact range determination, traffic accident optimal handling strategy determination and traffic accident handling, improving the accuracy and efficiency of traffic accident handling strategy generation, thereby improving the accuracy and efficiency of traffic accident handling. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 It is a flow chart of a traffic accident handling method provided in an embodiment of the present application;

[0040] Figure 2 is a structural schematic diagram of a traffic accident handling device provided in an embodiment of the present application;

[0041] Figure 3 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0043] It should be noted that in the description of the embodiments of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The orientation or position relationship indicated by the terms "upper", "lower" and the like is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be a connection between the two elements. For those skilled in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0044] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0045] Figure 1 Schematic diagram of the flow of the traffic accident handling method provided in the embodiment of the present application. Figure 1 , the embodiment of the present application provides a traffic accident handling method, which may include:

[0046] 101. Acquire spatiotemporal correlation data between target image data;

[0047] The target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image;

[0048] 102. Obtain abnormal data in spatiotemporal correlation data;

[0049] 103. Obtain attribute data and location data of the traffic accident based on the abnormal data;

[0050] 104. Determine the impact range of the traffic accident based on attribute data and location data;

[0051] 105. Determine the optimal handling strategy for traffic accidents based on the impact range;

[0052] 106. Handle traffic accidents according to the optimal handling strategy.

[0053] In step 101, the target image data may be shown in the following table:

[0054] Table 1 Target image data

[0055]

[0056]

[0057] The traffic accident handling method provided in this embodiment obtains the spatiotemporal correlation data between target image data, obtains abnormal data in the spatiotemporal correlation data, obtains the attribute data and location data of the traffic accident based on the abnormal data, determines the impact range of the traffic accident based on the attribute data and location data, determines the optimal handling strategy for the traffic accident based on the impact range, and handles the traffic accident based on the optimal handling strategy. Since the target image data includes pedestrian data, vehicle data, road data, environmental data, and control data in the target image, covering all factors affecting traffic, and taking all factors as the initial basis, a complete portrait of the traffic accident can be obtained based on this, realizing the full process closed loop of spatiotemporal correlation data acquisition, abnormal data screening, traffic accident data acquisition, traffic accident impact range determination, traffic accident optimal handling strategy determination, and traffic accident handling, improving the accuracy and efficiency of traffic accident handling strategy generation, thereby improving the accuracy and efficiency of traffic accident handling.

[0058] In one embodiment, obtaining the spatiotemporal correlation data between target image data may include:

[0059] Inputting the target image data into the transformer model to obtain the correlation data between the target image data output by the transformer model;

[0060] The associated data is divided into static spatial data and dynamic traffic data, and the static spatial data, dynamic traffic data and timestamp data are input into the spatiotemporal deep feature model to obtain the spatiotemporal associated data in the associated data output by the spatiotemporal deep feature model.

[0061] The core feature of the Transformer model is that it can capture global dependencies between input data, not just local information. In the Transformer model, each data generates a score (attention weight) based on its relative position and content with other data, and then uses these weights to weightedly combine the values ​​of other data to obtain the final representation of the data. This process not only takes into account the information of the data itself, but also the relationship with other data, allowing the model to capture the complex associations between data.

[0062] In addition, the Transformer model also enhances its ability to capture different types of associations through a multi-head attention mechanism. Multi-head attention allows the model to learn information from different representation subspaces simultaneously, which can more comprehensively understand the diversity and complexity of the input data.

[0063] The Spatio-Temporal Deep Feature Model (ST-DFM) is a deep learning model used in the field of transportation. It combines the Compressed Interaction Network (CIN) and the Deep Neural Network (DNN). The Compressed Interaction Network is responsible for learning the spatio-temporal interaction relationship between different data in the vector direction, and the Deep Neural Network is used to learn the high-level representation of these spatio-temporal interaction relationships.

[0064] This embodiment first extracts the correlation data between the target image data through the transformer model, and the correlation data includes data that is correlated in time, space, and both time and space. Then, the spatiotemporal depth feature model is used to further extract the data that is correlated in both time and space, thereby improving the correlation dimension and strength of the data, which helps to further generate accurate data in subsequent processes.

[0065] In one embodiment, obtaining abnormal data in spatiotemporal correlation data may include:

[0066] The spatiotemporal correlation data is input into the abnormal data recognition model to obtain the abnormal data output by the abnormal data recognition model; the abnormal data recognition model is obtained by training any prediction model through historical spatiotemporal correlation data.

[0067] Furthermore, obtaining attribute data and location data of the traffic accident based on the abnormal data may include:

[0068] The abnormal data is input into the accident analysis model to obtain the attribute data and location data of the traffic accident output by the accident analysis model; the accident analysis model is obtained by training any prediction model through historical abnormal data and its corresponding accident attribute labels and accident location labels.

[0069] Attribute data include accident type, accident cause, accident casualties, etc.

[0070] Furthermore, determining the impact range of the traffic accident based on the attribute data and the location data may include:

[0071] The attribute data and location data are input into the accident impact range prediction model to obtain the impact range of the traffic accident output by the accident impact range prediction model; the accident impact range prediction model is obtained by training any prediction model with the attribute data and location data of historical traffic accidents.

[0072] The scope of influence can be shown in the following table:

[0073] Table 2 Example of traffic accident impact range prediction

[0074]

[0075]

[0076] This embodiment uses trained prediction models to obtain abnormal data, attribute data and location data of traffic accidents, and the impact range of traffic accidents. Compared with the practice of using a single process to intelligently improve the accuracy and efficiency of accident handling during accident handling, this embodiment uses intelligent models to process multiple processes, fully utilizing the guiding role of historical data for future predictions, and maximizing the accuracy and efficiency of accident handling.

[0077] In one embodiment, determining the optimal handling strategy for a traffic accident based on the impact range may include:

[0078] According to the impact scope, multiple processing strategies are obtained from the preset strategy library, the execution effects of the multiple processing strategies are deduced, and the optimal processing strategy among the multiple processing strategies is determined according to the execution effects.

[0079] The preset strategy library can be constructed in the form of a knowledge graph to enhance the correlation between strategies.

[0080] The multiple processing strategies obtained can be shown in the following table:

[0081] Table 3 Processing strategy examples

[0082]

[0083] When deduce the execution effect of multiple handling strategies, the recovery of traffic conditions within the accident impact range after the implementation of the handling strategy can be used as the execution effect measurement standard, and the handling strategy with the fastest recovery can be selected as the optimal handling strategy. At the same time, after the actual implementation of the optimal handling strategy, the actual execution effect can also be evaluated, and the optimal evaluation strategy can be adjusted according to the evaluation results to update and optimize the handling strategies in the preset strategy library, so as to improve the effect of the next traffic accident handling.

[0084] This embodiment obtains multiple processing strategies through the impact range of the traffic accident, and deduce the optimal processing strategy, which can make the optimal processing strategy bring the optimal strategy effect to the greatest extent possible.

[0085] The traffic accident handling device provided in the embodiment of the present application is described below. The traffic accident handling device described below and the traffic accident handling method described above can be referenced to each other.

[0086] Figure 2 Schematic diagram of the structure of the traffic accident handling device provided in the embodiment of the present application. Figure 2 , the embodiment of the present application provides a traffic accident handling device, which may include:

[0087] The spatiotemporal correlation data acquisition module 201 is used to: acquire spatiotemporal correlation data between target image data; the target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image;

[0088] The abnormal data acquisition module 202 is used to: acquire abnormal data in the spatiotemporal correlation data;

[0089] The attribute location data acquisition module 203 is used to: acquire the attribute data and location data of the traffic accident according to the abnormal data;

[0090] An impact range determination module 204 is used to: determine the impact range of the traffic accident according to the attribute data and the location data;

[0091] The optimal handling strategy determination module 205 is used to: determine the optimal handling strategy of the traffic accident according to the impact range;

[0092] The traffic accident processing module 206 is used to process the traffic accident according to the optimal processing strategy.

[0093] The traffic accident processing device provided in this embodiment obtains the spatiotemporal correlation data between the target image data, obtains the abnormal data in the spatiotemporal correlation data, obtains the attribute data and location data of the traffic accident based on the abnormal data, determines the impact range of the traffic accident based on the attribute data and location data, determines the optimal processing strategy for the traffic accident based on the impact range, and processes the traffic accident based on the optimal processing strategy. Since the target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image, covering all factors affecting traffic, and taking all factors as the initial basis, a complete portrait of the traffic accident can be obtained based on this, realizing the full process closed loop of spatiotemporal correlation data acquisition, abnormal data screening, traffic accident data acquisition, traffic accident impact range determination, traffic accident optimal processing strategy determination and traffic accident processing, improving the accuracy and efficiency of traffic accident processing strategy generation, thereby improving the accuracy and efficiency of traffic accident processing.

[0094] In one embodiment, the spatiotemporal correlation data acquisition module 201 is specifically used to:

[0095] Inputting the target image data into a transformer model to obtain correlation data between the target image data output by the transformer model;

[0096] The associated data is divided into static spatial data and dynamic traffic data, and the static spatial data, the dynamic traffic data and timestamp data are input into a spatiotemporal depth feature model to obtain spatiotemporal associated data in the associated data output by the spatiotemporal depth feature model.

[0097] In one embodiment, the abnormal data acquisition module 202 is specifically used to:

[0098] Inputting the spatiotemporal correlation data into an abnormal data recognition model to obtain abnormal data output by the abnormal data recognition model;

[0099] The abnormal data recognition model is obtained by training any prediction model with historical spatiotemporal correlation data.

[0100] In one embodiment, the attribute location data acquisition module 203 is specifically used to:

[0101] Inputting the abnormal data into an accident analysis model to obtain attribute data and location data of the traffic accident output by the accident analysis model;

[0102] The accident analysis model is obtained by training any prediction model through historical abnormal data and its corresponding accident attribute labels and accident location labels.

[0103] In one embodiment, the impact range determination module 204 is specifically configured to:

[0104] Inputting the attribute data and the location data into an accident impact range prediction model to obtain the impact range of the traffic accident output by the accident impact range prediction model;

[0105] The accident impact range prediction model is obtained by training any prediction model through attribute data and location data of historical traffic accidents.

[0106] In one embodiment, the optimal processing strategy determination module 205 is specifically used to:

[0107] Acquire multiple processing strategies from a preset strategy library according to the impact scope;

[0108] The execution effects of the multiple processing strategies are deduced, and the optimal processing strategy among the multiple processing strategies is determined according to the execution effects.

[0109] Figure 3 An example of a structural diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call a computer program in the memory 330 to execute the steps of the traffic accident handling method, for example including:

[0110] Acquire spatiotemporal correlation data between target image data; the target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image;

[0111] Acquire abnormal data in the spatiotemporal correlation data;

[0112] Acquiring attribute data and location data of the traffic accident according to the abnormal data;

[0113] Determining the impact range of the traffic accident according to the attribute data and the location data;

[0114] Determining the optimal handling strategy for the traffic accident according to the impact range;

[0115] The traffic accident is handled according to the optimal handling strategy.

[0116] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0117] On the other hand, an embodiment of the present application further provides a computer program product, the computer program product comprising a computer program, the computer program may be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can execute the steps of the traffic accident handling method provided in the above embodiments, for example, including:

[0118] Acquire spatiotemporal correlation data between target image data; the target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image;

[0119] Acquire abnormal data in the spatiotemporal correlation data;

[0120] Acquiring attribute data and location data of the traffic accident according to the abnormal data;

[0121] Determining the impact range of the traffic accident according to the attribute data and the location data;

[0122] Determining the optimal handling strategy for the traffic accident according to the impact range;

[0123] The traffic accident is handled according to the optimal handling strategy.

[0124] On the other hand, an embodiment of the present application further provides a non-transitory computer-readable storage medium on which a computer program is stored, wherein the computer program is used to enable a processor to execute the steps of the traffic accident handling method provided in the above embodiments, for example, including:

[0125] Acquire spatiotemporal correlation data between target image data; the target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image;

[0126] Acquire abnormal data in the spatiotemporal correlation data;

[0127] Acquiring attribute data and location data of the traffic accident according to the abnormal data;

[0128] Determining the impact range of the traffic accident according to the attribute data and the location data;

[0129] Determining the optimal handling strategy for the traffic accident according to the impact range;

[0130] The traffic accident is handled according to the optimal handling strategy.

[0131] The non-transitory computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.

[0132] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components 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. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for handling traffic accidents, characterized in that: include: Acquire spatiotemporal correlation data between target image data; The target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image; Acquire abnormal data in the spatiotemporal correlation data; Acquiring attribute data and location data of the traffic accident according to the abnormal data; Determining the impact range of the traffic accident according to the attribute data and the location data; Determining the optimal handling strategy for the traffic accident according to the impact range; The traffic accident is handled according to the optimal handling strategy.

2. The traffic accident handling method according to claim 1, characterized in that: The step of acquiring the spatiotemporal correlation data between target image data includes: Inputting the target image data into a transformer model to obtain correlation data between the target image data output by the transformer model; The associated data is divided into static spatial data and dynamic traffic data, and the static spatial data, the dynamic traffic data and timestamp data are input into a spatiotemporal depth feature model to obtain spatiotemporal associated data in the associated data output by the spatiotemporal depth feature model.

3. The traffic accident handling method according to claim 1, characterized in that: The obtaining of abnormal data in the spatiotemporal correlation data includes: Inputting the spatiotemporal correlation data into an abnormal data recognition model to obtain abnormal data output by the abnormal data recognition model; The abnormal data recognition model is obtained by training any prediction model with historical spatiotemporal correlation data.

4. The traffic accident handling method according to claim 1, characterized in that: The step of obtaining attribute data and location data of the traffic accident according to the abnormal data includes: Inputting the abnormal data into an accident analysis model to obtain attribute data and location data of the traffic accident output by the accident analysis model; The accident analysis model is obtained by training any prediction model through historical abnormal data and its corresponding accident attribute labels and accident location labels.

5. The traffic accident handling method according to claim 1, characterized in that: Determining the impact range of the traffic accident according to the attribute data and the location data includes: Inputting the attribute data and the location data into an accident impact range prediction model to obtain the impact range of the traffic accident output by the accident impact range prediction model; The accident impact range prediction model is obtained by training any prediction model through attribute data and location data of historical traffic accidents.

6. The traffic accident handling method according to claim 1, characterized in that: Determining the optimal handling strategy for the traffic accident according to the impact range includes: Acquire multiple processing strategies from a preset strategy library according to the impact scope; The execution effects of the multiple processing strategies are deduced, and the optimal processing strategy among the multiple processing strategies is determined according to the execution effects.

7. A traffic accident handling device, characterized in that: include: A spatiotemporal correlation data acquisition module is used to: acquire spatiotemporal correlation data between target image data; the target image data includes pedestrian data, vehicle data, road data, environmental data and control data in the target image; An abnormal data acquisition module is used to: acquire abnormal data in the spatiotemporal correlation data; An attribute location data acquisition module, used to: acquire attribute data and location data of the traffic accident according to the abnormal data; An impact range determination module, used to: determine the impact range of the traffic accident according to the attribute data and the location data; An optimal handling strategy determination module is used to: determine the optimal handling strategy for the traffic accident according to the impact range; The traffic accident processing module is used to: process the traffic accident according to the optimal processing strategy.

8. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the traffic accident handling method according to any one of claims 1 to 6 are implemented.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the traffic accident handling method according to any one of claims 1 to 6 are implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the traffic accident handling method according to any one of claims 1 to 6 are implemented.