Accident handling method, device, electronic device and computer readable medium
Through cross-verification of surveillance video and accident party description information, accident identification results are automatically generated, solving the problem of low efficiency of manual identification, improving accident handling efficiency and reducing the probability of traffic congestion and new accidents.
Patent Information
- Application Number
- CN202410296844.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-03-15
AI Technical Summary
In automobile accident handling, the inefficiency of manual identification leads to an increase in traffic congestion duration, which in turn increases the probability of new traffic accidents.
By obtaining surveillance video and description information of the accident party, video frame annotation, accident analysis, and cross-validation are performed to generate accident identification results, reducing the need for traffic police to rush to the scene and improving accident handling efficiency.
The accident handling time is shortened, the accident handling efficiency is improved, and the probability of new traffic accidents is reduced.
Smart Images

Figure CN118038334B
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to an accident handling method, device, electronic device, and computer-readable medium. Background Art
[0002] As the number of cars increases year by year, the number of car accidents also increases accordingly. At present, when handling car accidents, the usual method is: after the accident party reports the police, the traffic police manually determine the accident results based on the on-site situation.
[0003] However, when the above method is adopted, the following technical problems often occur:
[0004] During the accident identification process, traffic police are often required to rush to the scene, which leads to inefficient accident identification. At the same time, it will increase the duration of traffic congestion, and further increase the probability of new traffic accidents.
[0005] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art. Summary of the invention
[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0007] Some embodiments of the present disclosure propose accident handling methods, devices, electronic devices, and computer-readable media to solve one or more of the technical problems mentioned in the above background technology section.
[0008] In a first aspect, some embodiments of the present disclosure provide an accident handling method, the method comprising: obtaining a surveillance video and first accident description information for an accident to be handled, wherein the surveillance video is a video in which video frames containing the accident to be handled are pre-annotated, and the first accident description information is an accident description of the accident to be handled by the accident party; performing an accident analysis on the surveillance video to generate second accident description information for the accident to be handled; performing accident cross-verification on the first accident description information and the second accident description information to generate verification information, wherein the verification information comprises: a verification identifier and verification exception information, the verification identifier comprises: a first verification identifier and a second verification identifier, the first verification identifier represents the second verification identifier. The first accident description information is consistent with the second accident description information, the second verification mark indicates that the first accident description information is inconsistent with the second accident description information, and when the verification mark is the first verification mark, the verification exception information is empty; in response to determining that the verification mark is the first verification mark, an accident identification result for the pending accident is generated according to the first accident description information and the second accident description information; in response to determining that the verification mark is the second verification mark, the accident description information is supplemented according to the verification exception information to generate supplemented accident description information; the accident identification result is generated according to the first accident description information, the second accident description information and the supplemented accident description information.
[0009] In a second aspect, some embodiments of the present disclosure provide an accident handling device, the device comprising: an acquisition unit, configured to acquire a surveillance video and first accident description information for an accident to be handled, wherein the surveillance video is a video in which video frames containing the accident to be handled are pre-annotated, and the first accident description information is an accident description of the accident to be handled by the accident party; an accident analysis unit, configured to perform an accident analysis on the surveillance video to generate second accident description information for the accident to be handled; an accident cross-verification unit, configured to perform accident cross-verification on the first accident description information and the second accident description information to generate verification information, wherein the verification information includes: a verification identifier and verification abnormality information, and the verification identifier includes: The invention comprises: a first verification mark and a second verification mark, wherein the first verification mark indicates that the first accident description information and the second accident description information are consistent in description, and the second verification mark indicates that the first accident description information and the second accident description information are inconsistent in description, and when the verification mark is the first verification mark, the verification exception information is empty; a first generating unit is configured to generate an accident identification result for the pending accident according to the first accident description information and the second accident description information in response to determining that the verification mark is the first verification mark; an information supplementing unit is configured to supplement the accident description information according to the verification exception information in response to determining that the verification mark is the second verification mark, so as to generate supplemented accident description information;
[0010] The second generating unit is configured to generate the above-mentioned accident identification result according to the above-mentioned first accident description information, the above-mentioned second accident description information and the above-mentioned supplemented accident description information.
[0011] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.
[0012] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.
[0013] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the accident handling method of some embodiments of the present disclosure, the accident handling efficiency is improved, the traffic congestion caused by the accident is reduced, and the probability of new traffic accidents is reduced to a certain extent. Specifically, the reason for the low efficiency of accident handling is that in the process of accident identification, traffic police are often required to rush to the scene, which leads to low efficiency of accident identification, and at the same time, it will also increase the duration of traffic congestion, and further increase the probability of new traffic accidents. Based on this, the accident handling method of some embodiments of the present disclosure, first, obtains the monitoring video and the first accident description information for the accident to be processed, wherein the above-mentioned monitoring video is a video in which the video frame containing the above-mentioned accident to be processed is pre-annotated, and the above-mentioned first accident description information is the accident description of the above-mentioned accident to be processed by the accident party. In practice, with the popularization of surveillance cameras on traffic arterial roads, the subsequent accident identification can be combined with the surveillance video. Secondly, the above-mentioned surveillance video is analyzed to generate the second accident description information for the above-mentioned accident to be processed. In this way, the accident description obtained from the analysis in the surveillance video is obtained. Next, the first accident description information and the second accident description information are cross-verified to generate verification information, wherein the verification information includes: a verification mark and verification exception information, the verification mark includes: a first verification mark and a second verification mark, the first verification mark indicates that the first accident description information and the second accident description information are consistent in description, the second verification mark indicates that the first accident description information and the second accident description information are inconsistent in description, and when the verification mark is the first verification mark, the verification exception information is empty. In practice, the accident party may have an inaccurate description when describing the accident, so it is necessary to cross-verify the first accident description information and the second accident description information. Further, in response to determining that the verification mark is the first verification mark, according to the first accident description information and the second accident description information, an accident identification result for the above-mentioned pending accident is generated. When the first accident description information and the second accident description information are consistent in description, the accident identification result can be directly generated. In addition, in response to determining that the verification mark is the second verification mark, according to the verification exception information, the accident description information is supplemented to generate the supplemented accident description information. When the first accident description information and the second accident description information are inconsistent, it is necessary to further supplement the accident-related description information. Finally, the accident identification result is generated based on the first accident description information, the second accident description information and the supplemented accident description information. In this way, the accident handling time can be reduced and the accident handling efficiency can be greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0015] Figure 1 is a flow chart of some embodiments of the accident handling method according to the present disclosure;
[0016] Figure 2 is a schematic diagram of the structure of some embodiments of the accident handling device according to the present disclosure;
[0017] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0019] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0021] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0024] refer to Figure 1, shows a process 100 of some embodiments of the accident handling method according to the present disclosure. The accident handling method comprises the following steps:
[0025] Step 101, obtaining a surveillance video and first accident description information for the accident to be handled.
[0026] In some embodiments, the execution subject (e.g., a computing device) of the accident handling method can obtain the monitoring video and the first accident description information for the pending accident through a wired connection or a wireless connection. Among them, the monitoring video is a video in which the video frames containing the above-mentioned pending accident are pre-annotated. In practice, the monitoring video is often collected by monitoring cameras set around the road. Among them, based on the architectural relationship between the monitoring camera and the computing device, the monitoring camera can be understood as an edge terminal. Therefore, a binary classification model for classifying whether an accident is contained in the image can be pre-set in the monitoring camera, and each frame of the monitoring video collected by the monitoring camera is binary classified to achieve the purpose of pre-annotating the video frame. Specifically, the binary classification model can be a convolutional neural network model connected to a binary classifier. The first accident description information is the accident description of the above-mentioned pending accident by the accident party. In practice, the accident party can fill in the above-mentioned first accident description information through a mobile terminal such as a mobile phone, and send it to the above-mentioned execution subject. Specifically, the first accident description information may include: accident time, accident type, accident location, accident party vehicle information, and accident summary description. For example, the first accident description information may be: {Accident time: timestamp A to timestamp B; accident type: collision accident; accident location: about 400 meters west of Hengshan Road; accident party vehicle information: license plate number 1: XXX, license plate number 2: XXX; accident summary description: During the right lane change process, the right front side of the vehicle with license plate number 1 collided with the left rear side of the vehicle with license plate number 2, and the bumper and right headlight of the vehicle with license plate number 1 were damaged}. Specifically, the accident types may include: scratch accidents, collision accidents, crushing accidents, rollover accidents, falling accidents, vehicle fire accidents, collision accidents with fixed objects, collision accidents with pedestrians, and collision accidents with stationary vehicles. The location of the accident can be automatically located and filled in by the mobile terminal used by the accident party. In practice, the above-mentioned execution subject can obtain the surveillance camera near the accident location and the video collected at the time of the accident included in the first accident description information as the above-mentioned surveillance video.
[0027] It should be noted that the above-mentioned wireless connection methods may include but are not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or developed in the future.
[0028] It should be noted that the above-mentioned computing device can be hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or it can be implemented as a single server or a single terminal device. When the computing device is embodied as software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, for example, or it can be implemented as a single software or software module. No specific limitation is made here. It should be understood that the number of computing devices can be any number according to the implementation needs.
[0029] Step 102: Perform accident analysis on the surveillance video to generate second accident description information for the accident to be processed.
[0030] In some embodiments, the execution subject may perform accident analysis on the surveillance video to generate second accident description information for the pending accident. The second accident description information is accident description information for the pending accident obtained based on the surveillance video analysis. In practice, the execution subject may perform accident analysis on the surveillance video remotely by manual analysis to obtain the second accident description information.
[0031] In some optional implementations of some embodiments, the execution subject performs accident analysis on the monitoring video to generate second accident description information for the accident to be processed, which may include the following steps:
[0032] The first step is to determine the target video frame sequence.
[0033] The target video frame sequence is a video frame in the surveillance video that is pre-annotated by a video frame and is related to the accident to be processed. In practice, the execution subject can traverse each video frame in the surveillance video, and in response to a video frame being annotated by a video frame, determine the annotated video frame as a target video frame to obtain the target video frame sequence.
[0034] In the second step, the target video frame in the target video frame sequence is used as a segmentation point to segment the monitoring video into video segments to obtain a monitoring video segment set.
[0035] Among them, when the target video frames in the target video frame sequence are continuous, the target video frames at the boundary of the continuous target video frames can be used as segmentation points to segment the surveillance video. When the target video frames in the target video frame sequence are discontinuous, the target video frames can be used as segmentation points to segment the surveillance video.
[0036] As an example, the target video may include: video frame A, video frame B, video frame C, video frame D, video frame E, video frame F, video frame G, video frame H, video frame I, and video frame J. The target video frame sequence may be: [video frame C, video frame D, video frame E, video frame F, video frame G]. Therefore, the monitoring video segment set may be [monitoring video segment A, monitoring video segment B, monitoring video segment C], wherein monitoring video segment A includes: video frame A and video frame B. Monitoring video segment B includes: video frame C, video frame D, video frame E, video frame F, and video frame G. Monitoring video segment C includes: video frame H, video frame I, and video frame J.
[0037] In the third step, video features are extracted from the surveillance video segments in the above surveillance video segment set using a pre-trained video feature extraction model to generate video features.
[0038] Among them, the video feature extraction model can adopt the LSTM (Long Short-Term Memory) model.
[0039] Optionally, the video feature extraction model includes: a video feature extraction block set and a feature splicing layer. The video feature extraction block includes: a global feature extraction block and a local feature extraction block. The model structures of the global feature extraction block and the local feature extraction block are consistent. The feature receptive field of the global feature extraction block is larger than the feature receptive field of the local feature extraction block.
[0040] Optionally, performing video feature extraction on the surveillance video segments in the surveillance video segment set by using a pre-trained video feature extraction model to generate video features may include the following steps:
[0041] Step 1: For each surveillance video segment in the above surveillance video segment set, perform the following processing steps:
[0042] In the first sub-step, feature extraction is performed on the monitoring video segment through the global feature extraction block included in the target video feature extraction block to generate a global monitoring video block feature.
[0043] The target video feature extraction block is a video feature extraction block in the video feature extraction block set corresponding to the monitoring video segment. Specifically, there is a one-to-one correspondence between the video feature extraction blocks in the video feature extraction block set and the monitoring video segments in the monitoring video segment set in terms of time sequence.
[0044] The second sub-step is to input the global monitoring video block feature into the local feature extraction block included in the target video feature extraction block to generate a local monitoring video block feature.
[0045] Step 2: Generate the above video features based on the obtained global monitoring video block feature set, the obtained local monitoring video block feature set and the above feature splicing layer.
[0046] Among them, the global feature extraction block includes: 7 convolution layers. Specifically, the global feature extraction block includes: convolution layer A, convolution layer B, convolution layer C, convolution layer D, convolution layer E, convolution layer F and convolution layer G. Among them, the features output by convolution layer A are input to convolution layer B. The features output by convolution layer C and the features output by convolution layer A are input to convolution layer D together. The features output by convolution layer E and the features output by convolution layer E are input to convolution layer E together. The features output by convolution layer B, the features output by convolution layer D and the features output by convolution layer F are input to convolution layer G together. The video feature extraction blocks in the video feature extraction block set adopt a recurrent neural network architecture. At the same time, the features output by each video feature extraction block in the video feature extraction block set are input to the feature splicing layer together. Specifically, the video feature extraction block set includes: video feature extraction block A, video feature extraction block B and video feature extraction block C. Among them, the input of video feature extraction block B includes the corresponding surveillance video segment and the features output by video feature extraction block A. The input of the video feature extraction block C includes the corresponding surveillance video segment and the features output by the video feature extraction block B. The features output by the video feature extraction block A, the features output by the video feature extraction block B, and the features output by the video feature extraction block C are input into the feature concatenation layer to obtain the above video features.
[0047] The fourth step is to generate the second accident description information based on the above video features and the pre-trained accident description information generation model.
[0048] The accident description information generation model is a pre-trained generation model. Specifically, the accident description information generation model can adopt a network model based on the Transformer architecture, for example, a GPT (Generative Pre-trained Transformer) model.
[0049] Step 103: cross-verify the first accident description information and the second accident description information to generate verification information.
[0050] In some embodiments, the execution entity may perform an accident cross-verification on the first accident description information and the second accident description information to generate verification information. The verification information indicates whether the descriptions of the first accident description information and the second accident description information for the accident to be processed are consistent, and the difference points when they are inconsistent. The verification information includes: a verification identifier and verification exception information. The verification identifier includes: a first verification identifier and a second verification identifier. The first verification identifier indicates that the descriptions of the first accident description information and the second accident description information are consistent. The second verification identifier indicates that the descriptions of the first accident description information and the second accident description information are inconsistent. When the verification identifier is the first verification identifier, the verification exception information is empty.
[0051] As an example, the first accident description information may be: {Accident time: timestamp A to timestamp B; Accident type: Collision accident; Accident location: about 400 meters west of Hengshan Road; Accident party vehicle information: License plate number 1: XXX, License plate number 2: XXX; Accident summary description: During the right lane change process, the right front side of the vehicle with license plate number 1 collided with the left rear side of the vehicle with license plate number 2, and the bumper and right headlight of the vehicle with license plate number 1 were damaged}. The second accident description information may be {Accident time: timestamp A to timestamp B; Accident type: Collision accident; Accident location: about 400 meters west of Hengshan Road; Accident party vehicle information: License plate number 1: XXX, License plate number 2: XXX; Accident summary description: The vehicle with license plate number 3 in front of the vehicle with license plate number 1 braked, causing the vehicle with license plate number 1 to make an emergency right lane change. During the right lane change process, the right front side of the vehicle with license plate number 1 collided with the left rear side of the vehicle with license plate number 2, and the bumper and right headlight of the vehicle with license plate number 1 were damaged}. Therefore, the verification information can be {verification identifier: second verification identifier; verification exception information {accident description information is different}.
[0052] In some optional implementations of some embodiments, the execution subject performs accident cross-verification on the first accident description information and the second accident description information to generate verification information, which may include the following steps:
[0053] In the first step, key content points are extracted from the first accident description information and the second accident description information respectively to generate a first key content point set and a second key content point set.
[0054] The first key content point may represent summary information in the first accident description information. The second key content point may represent summary information in the second accident description information. In practice, the execution entity may use the BERT model to extract key content points from the first accident description information and the second accident description information, respectively, to generate a first key content point set and a second key content point set.
[0055] In the second step, the first key content points in the first key content point set and the second key content points in the second key content point set are adjusted in time sequence to generate a first key content point sequence and a second key content point sequence.
[0056] In practice, the above-mentioned execution entity can adjust the first key content point in the first key content point set and the second key content point in the second key content point set according to the relative position of the first key content point information in the first accident description information and the relative position of the second key content point information in the second accident description information, so as to generate a first key content point sequence and a second key content point sequence.
[0057] Step 3: For each first key content point in the first key content point sequence, perform the following matching steps:
[0058] The first sub-step is to extract features from the first key content point to generate first key content point features.
[0059] In practice, the execution subject may extract features of the first key content point through an encoder model to generate features of the first key content point. The encoder model includes: 3 Transformer layers.
[0060] The second sub-step is to extract features of the second key content points in the second key content point sequence corresponding to the first key content points to generate second key content point features.
[0061] The relative position of the second key content point corresponding to the first key content point in the second key content point sequence is the same as the relative position of the first key content point in the first key content point sequence. In practice, the execution subject may use the encoder model to extract features from the second key content point to generate features of the second key content point.
[0062] The third sub-step is to determine the feature matching degree between the first key content point feature and the second key content point feature.
[0063] The execution entity may use the cosine similarity between the first key content point feature and the second key content point feature as the feature matching degree.
[0064] In a fourth sub-step, in response to the feature matching degree being less than a preset matching degree threshold, verification exception sub-information is generated according to the first key content point and a second key content point corresponding to the first key content point.
[0065] The verification exception sub-information may include: a first key content point and a second key content point corresponding to the first key content point.
[0066] In the fourth step, in response to the obtained verification exception sub-information set being an empty set, the first verification identifier is determined as the verification identifier to obtain the verification information.
[0067] In a fifth step, in response to the verification exception sub-information set being a non-empty set, the second verification identifier is determined as the verification identifier, and the verification exception sub-information set is determined as the verification exception information, to obtain the verification information.
[0068] Step 104 , in response to determining that the verification identifier is the first verification identifier, generating an accident identification result for the accident to be processed according to the first accident description information and the second accident description information.
[0069] In some embodiments, in response to determining that the verification mark is the first verification mark, the execution subject may generate an accident identification result for the pending accident based on the first accident description information and the second accident description information. In practice, the execution subject may send the first accident description information and the second accident description information to the accident identification party, and use the identification result generated by the accident identification party as the accident identification result. Specifically, the accident identification party may be a traffic police.
[0070] Step 105 , in response to determining that the verification identifier is the second verification identifier, the accident description information is supplemented according to the verification exception information to generate supplemented accident description information.
[0071] In some embodiments, in response to determining that the verification mark is the second verification mark, the execution subject may supplement the accident description information according to the verification exception information to generate supplemented accident description information. In practice, the execution subject may send the verification exception information to the accident party, and remind the accident party to supplement the accident description information according to the verification exception information, and use the accident description information supplemented by the accident party as the supplemented accident description information.
[0072] Step 106, generating an accident identification result based on the first accident description information, the second accident description information and the supplemented accident description information.
[0073] In some embodiments, the execution subject may generate an accident identification result based on the first accident description information, the second accident description information, and the supplemented accident description information. In practice, the execution subject may send the first accident description information, the second accident description information, and the supplemented accident description information to the accident identification party, and use the identification result generated by the accident identification party as the accident identification result. Specifically, the accident identification party may be a traffic police.
[0074] In some optional implementations of some embodiments, the execution subject generates the accident identification result according to the first accident description information, the second accident description information and the supplemented accident description information, which may include the following steps:
[0075] The first step is to establish a remote communication connection with a target result determining party in response to a remote assistance request initiated by the result determining party.
[0076] The above-mentioned result identification party and the above-mentioned target result identification party communicate through a portable communication device. The target result identification party may be an identification party that is in an idle state and can remotely identify the accident. In practice, since different accident identification parties have different identification experiences and the causes of different accidents are also different, when the result identification party is unable to make an accurate accident identification, it can initiate a remote assistance request and have other accident identification parties conduct accident result identification.
[0077] The second step is to forward the first accident description information, the second accident description information and the supplemented accident description information to the target result determination party in response to successful creation.
[0078] The third step is to determine the accident reference identification result as the accident identification result in response to receiving the accident reference identification result sent by the target result identification party.
[0079] Among them, the accident reference identification result can be the accident identification result made by the target result identification party.
[0080] In some optional implementations of some embodiments, the above method further includes:
[0081] The first step is to respond to the accident party initiating an accident review request for the above-mentioned pending accident within a preset time period, and send the above-mentioned monitoring video and the above-mentioned accident identification result to the accident review terminal.
[0082] The accident review terminal may be a terminal for accident review personnel to conduct accident review. The preset time period may be a preset time period for the accident party to initiate an accident review. For example, the preset time period may be 7 days.
[0083] In the second step, in response to receiving the accident review result sent by the accident review terminal, the accident review result is compared with the accident identification result.
[0084] In a third step, in response to determining that the accident review result is inconsistent with the accident identification result, the accident identification result is updated according to the accident review result.
[0085] In practice, the above-mentioned executing entities can replace the accident identification results through the accident review results to achieve the update of the above-mentioned accident identification results.
[0086] In some optional implementations of some embodiments, the above method further includes:
[0087] The first step is to respond to the above-mentioned accident party initiating a consultation request for the accident follow-up processing process for the above-mentioned pending accident within the above-mentioned preset time period, determine whether there is an accident processing process matching the above-mentioned accident identification result in the accident processing process library.
[0088] In practice, after the traffic accident identification is completed, the subsequent processes may involve compensation, damage assessment, etc. Therefore, the above-mentioned executive entity selects the accident handling process that matches the accident identification result from the accident handling process library.
[0089] The second step is to send the above accident handling process to the above accident party in response to existence.
[0090] In practice, the above-mentioned execution entity can send the accident handling process to the terminal bound to the accident party.
[0091] The third step is to generate an accident handling process for the above-mentioned accident to be handled in response to the non-existence, and send the above-mentioned accident handling process to the above-mentioned accident party.
[0092] In practice, the execution subject can generate a suggested accident handling process for the above-mentioned pending accident through the pre-trained generative model and the accident identification result. For example, the pre-trained generative model can be a GPT (Generative Pre-trained Transformer) model.
[0093] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the accident handling method of some embodiments of the present disclosure, the accident handling efficiency is improved, the traffic congestion caused by the accident is reduced, and the probability of new traffic accidents is reduced to a certain extent. Specifically, the reason for the low efficiency of accident handling is that in the process of accident identification, traffic police are often required to rush to the scene, which leads to low efficiency of accident identification, and at the same time, it will also increase the duration of traffic congestion, and further increase the probability of new traffic accidents. Based on this, the accident handling method of some embodiments of the present disclosure, first, obtains the monitoring video and the first accident description information for the accident to be processed, wherein the above-mentioned monitoring video is a video in which the video frame containing the above-mentioned accident to be processed is pre-annotated, and the above-mentioned first accident description information is the accident description of the above-mentioned accident to be processed by the accident party. In practice, with the popularization of surveillance cameras on traffic arterial roads, the subsequent accident identification can be combined with the surveillance video. Secondly, the above-mentioned surveillance video is analyzed to generate the second accident description information for the above-mentioned accident to be processed. In this way, the accident description obtained from the analysis in the surveillance video is obtained. Next, the first accident description information and the second accident description information are cross-verified to generate verification information, wherein the verification information includes: a verification mark and verification exception information, the verification mark includes: a first verification mark and a second verification mark, the first verification mark indicates that the first accident description information and the second accident description information are consistent in description, the second verification mark indicates that the first accident description information and the second accident description information are inconsistent in description, and when the verification mark is the first verification mark, the verification exception information is empty. In practice, the accident party may have an inaccurate description when describing the accident, so it is necessary to cross-verify the first accident description information and the second accident description information. Further, in response to determining that the verification mark is the first verification mark, according to the first accident description information and the second accident description information, an accident identification result for the above-mentioned pending accident is generated. When the first accident description information and the second accident description information are consistent in description, the accident identification result can be directly generated. In addition, in response to determining that the verification mark is the second verification mark, according to the verification exception information, the accident description information is supplemented to generate the supplemented accident description information. When the first accident description information and the second accident description information are inconsistent, it is necessary to further supplement the accident-related description information. Finally, the accident identification result is generated based on the first accident description information, the second accident description information and the supplemented accident description information. In this way, the accident handling time can be reduced and the accident handling efficiency can be greatly improved.
[0094] Further references Figure 2As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of an accident handling device. These device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the accident handling device can be specifically applied to various electronic devices.
[0095] like Figure 2 As shown, the accident handling device 200 of some embodiments includes: an acquisition unit 201, an accident analysis unit 202, an accident cross-verification unit 203, a first generation unit 204, an information supplement unit 205, and a second generation unit 206. The acquisition unit 201 is configured to acquire a surveillance video and first accident description information for the accident to be processed, wherein the surveillance video is a video in which video frames containing the accident to be processed are pre-annotated, and the first accident description information is an accident description of the accident to be processed by the accident party; the accident analysis unit 202 is configured to perform an accident analysis on the surveillance video to generate second accident description information for the accident to be processed; the accident cross-verification unit 203 is configured to perform accident cross-verification on the first accident description information and the second accident description information to generate verification information, wherein the verification information includes: a verification identifier and verification abnormality information, and the verification identifier includes: a first verification identifier and a second verification identifier, and the first verification identifier represents the first accident description information and the second accident description information. The description information is consistent, the second verification mark indicates that the description of the first accident description information and the second accident description information are inconsistent, and when the verification mark is the first verification mark, the verification exception information is empty; the first generation unit 204 is configured to generate an accident identification result for the above-mentioned pending accident in response to determining that the above-mentioned verification mark is the above-mentioned first verification mark according to the above-mentioned first accident description information and the above-mentioned second accident description information; the information supplement unit 205 is configured to supplement the accident description information in response to determining that the above-mentioned verification mark is the above-mentioned second verification mark according to the above-mentioned verification exception information to generate supplemented accident description information; the second generation unit 206 is configured to generate the above-mentioned accident identification result according to the above-mentioned first accident description information, the above-mentioned second accident description information and the above-mentioned supplemented accident description information.
[0096] It is understandable that the various units recorded in the accident handling device 200 are similar to those in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the accident handling device 200 and the units contained therein, and will not be described in detail here.
[0097] Reference below Figure 3, which shows a structural schematic diagram of an electronic device (eg, a computing device) 300 suitable for implementing some embodiments of the present disclosure. Figure 3 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.
[0098] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory 302 or a program loaded from a storage device 308 into a random access memory 303. Various programs and data required for the operation of the electronic device 300 are also stored in the random access memory 303. The processing device 301, the read-only memory 302, and the random access memory 303 are connected to each other via a bus 304. An input / output interface 305 is also connected to the bus 304.
[0099] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0100] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include 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 some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the read-only memory 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0101] It should be noted that the computer-readable medium recorded in some embodiments of 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 some embodiments of 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 some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. 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. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, 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 suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0102] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0103] The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist independently without being installed in the electronic device. The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains the monitoring video and first accident description information for the accident to be processed, wherein the above-mentioned monitoring video is a video in which the video frames containing the above-mentioned accident to be processed are pre-annotated, and the above-mentioned first accident description information is the accident description of the above-mentioned accident to be processed by the accident party; performs accident analysis on the above-mentioned monitoring video to generate second accident description information for the above-mentioned accident to be processed; performs accident cross-verification on the above-mentioned first accident description information and the above-mentioned second accident description information to generate verification information, wherein the above-mentioned verification information includes: a verification identifier and verification exception information, and the verification identifier includes: a first verification identifier and a second verification identifier, and the above-mentioned first The verification mark indicates that the first accident description information and the second accident description information are consistent, and the second verification mark indicates that the first accident description information and the second accident description information are inconsistent. When the verification mark is the first verification mark, the verification exception information is empty; in response to determining that the verification mark is the first verification mark, an accident identification result for the pending accident is generated according to the first accident description information and the second accident description information; in response to determining that the verification mark is the second verification mark, the accident description information is supplemented according to the verification exception information to generate supplemented accident description information; the accident identification result is generated according to the first accident description information, the second accident description information and the supplemented accident description information.
[0104] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0105] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / 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.
[0106] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor including an acquisition unit, an accident analysis unit, an accident cross-verification unit, a first generation unit, an information supplementation unit, and a second generation unit. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances. For example, the second generation unit may also be described as "a unit for generating the above-mentioned accident identification result based on the above-mentioned first accident description information, the above-mentioned second accident description information and the above-mentioned supplemented accident description information".
[0107] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0108] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.
Claims
1. An accident handling method, comprising: Acquire a surveillance video and first accident description information for the accident to be processed, wherein the surveillance video is a video in which video frames containing the accident to be processed are pre-annotated, and the first accident description information is an accident description of the accident to be processed by the accident party; Performing accident analysis on the surveillance video to generate second accident description information for the accident to be processed; Perform accident cross-verification on the first accident description information and the second accident description information to generate verification information, wherein the verification information includes: a verification identifier and verification exception information, the verification identifier includes: a first verification identifier and a second verification identifier, the first verification identifier indicates that the first accident description information and the second accident description information are consistent in description, the second verification identifier indicates that the first accident description information and the second accident description information are inconsistent in description, and when the verification identifier is the first verification identifier, the verification exception information is empty; In response to determining that the verification identifier is the first verification identifier, generating an accident identification result for the accident to be processed according to the first accident description information and the second accident description information; In response to determining that the verification identifier is the second verification identifier, supplementing the accident description information according to the verification exception information to generate supplemented accident description information; The accident identification result is generated according to the first accident description information, the second accident description information and the supplemented accident description information, wherein the performing of accident analysis on the monitoring video to generate the second accident description information for the accident to be processed includes: Determine a target video frame sequence, wherein the target video frame sequence is a video frame in the monitoring video that is pre-annotated by a video frame and is related to the accident to be processed; Taking the target video frame in the target video frame sequence as a segmentation point, segmenting the monitoring video into video segments to obtain a monitoring video segment set; Performing video feature extraction on the surveillance video segments in the surveillance video segment set by a pre-trained video feature extraction model to generate video features, wherein the video feature extraction model comprises: a video feature extraction block set and a feature splicing layer, the video feature extraction block comprises: a global feature extraction block and a local feature extraction block, wherein the global feature extraction block comprises: a convolution layer A, a convolution layer B, a convolution layer C, a convolution layer D, a convolution layer E, a convolution layer F and a convolution layer G; The second accident description information is generated according to the video features and a pre-trained accident description information generation model, wherein the video features are extracted from the surveillance video segments in the surveillance video segment set by the pre-trained video feature extraction model to generate the video features, including: For each surveillance video segment in the surveillance video segment set, the following processing steps are performed: Performing feature extraction on the surveillance video segment through a global feature extraction block included in a target video feature extraction block to generate a global surveillance video block feature, wherein the target video feature extraction block is a video feature extraction block in the video feature extraction block set corresponding to the surveillance video segment; Inputting the global monitoring video block feature into the local feature extraction block included in the target video feature extraction block to generate a local monitoring video block feature; The video feature is generated according to the obtained global monitoring video block feature set, the obtained local monitoring video block feature set and the feature splicing layer, wherein the first accident description information and the second accident description information are cross-verified to generate verification information, including: Extracting key content points from the first accident description information and the second accident description information respectively to generate a first key content point set and a second key content point set; adjusting the first key content point in the first key content point set and the second key content point in the second key content point set respectively in time sequence to generate a first key content point sequence and a second key content point sequence; For each first key content point in the first key content point sequence, the following matching steps are performed: Performing feature extraction on the first key content point to generate a first key content point feature; Extracting features of second key content points in the second key content point sequence corresponding to the first key content point to generate second key content point features; Determining a feature matching degree between the first key content point feature and the second key content point feature; In response to the feature matching degree being less than a preset matching degree threshold, generating verification exception sub-information according to the first key content point and a second key content point corresponding to the first key content point; In response to the obtained verification exception sub-information set being an empty set, determining the first verification identifier as the verification identifier, and obtaining the verification information; In response to the verification exception sub-information set being a non-empty set, the second verification identifier is determined as the verification identifier, and the verification exception sub-information set is determined as the verification exception information to obtain the verification information.
2. The method according to claim 1, wherein: The method further comprises: In response to the accident party initiating an accident review request for the pending accident within a preset time period, sending the monitoring video and the accident identification result to the accident review terminal; In response to receiving the accident review result sent by the accident review terminal, comparing the accident review result with the accident identification result; In response to determining that the accident review result is inconsistent with the accident identification result, the accident identification result is updated according to the accident review result.
3. The method according to claim 2, wherein: The method further comprises: In response to the accident party initiating a consultation request for a subsequent accident processing process for the pending accident within the preset time period, determining whether there is an accident processing process matching the accident identification result in the accident processing process library; In response to existence, sending the incident handling process to the incident party; In response to the non-existence, an incident handling process for the incident to be handled is generated, and the incident handling process is sent to the incident party.
4. The method according to claim 3, wherein: Generating the accident identification result according to the first accident description information, the second accident description information and the supplemented accident description information includes: In response to a remote assistance request initiated by a result determining party, a remote communication connection is established with a target result determining party, wherein the result determining party and the target result determining party communicate via a portable communication device; In response to successful creation, forwarding the first accident description information, the second accident description information and the supplemented accident description information to the target result determination party; In response to receiving the accident reference determination result sent by the target result determination party, the accident reference determination result is determined as the accident determination result.
5. An accident handling device, comprising: an acquisition unit configured to acquire a surveillance video and first accident description information for the accident to be processed, wherein the surveillance video is a video in which video frames containing the accident to be processed are pre-annotated, and the first accident description information is an accident description of the accident to be processed by the accident party; An accident analysis unit is configured to perform accident analysis on the monitoring video to generate second accident description information for the accident to be processed; an accident cross-verification unit, configured to perform an accident cross-verification on the first accident description information and the second accident description information to generate verification information, wherein the verification information includes: a verification identifier and verification exception information, the verification identifier includes: a first verification identifier and a second verification identifier, the first verification identifier indicates that the first accident description information and the second accident description information are consistent in description, the second verification identifier indicates that the first accident description information and the second accident description information are inconsistent in description, and when the verification identifier is the first verification identifier, the verification exception information is empty; a first generating unit configured to generate, in response to determining that the verification identifier is the first verification identifier, an accident identification result for the accident to be processed according to the first accident description information and the second accident description information; an information supplementing unit, configured to, in response to determining that the verification identifier is the second verification identifier, supplement the accident description information according to the verification exception information to generate supplemented accident description information; The second generating unit is configured to generate the accident identification result according to the first accident description information, the second accident description information and the supplemented accident description information, wherein the performing accident analysis on the monitoring video to generate the second accident description information for the accident to be processed includes: Determine a target video frame sequence, wherein the target video frame sequence is a video frame in the monitoring video that is pre-annotated by a video frame and is related to the accident to be processed; Taking the target video frame in the target video frame sequence as a segmentation point, segmenting the monitoring video into video segments to obtain a monitoring video segment set; Performing video feature extraction on the surveillance video segments in the surveillance video segment set by a pre-trained video feature extraction model to generate video features, wherein the video feature extraction model comprises: a video feature extraction block set and a feature splicing layer, the video feature extraction block comprises: a global feature extraction block and a local feature extraction block, wherein the global feature extraction block comprises: a convolution layer A, a convolution layer B, a convolution layer C, a convolution layer D, a convolution layer E, a convolution layer F and a convolution layer G; The second accident description information is generated according to the video features and a pre-trained accident description information generation model, wherein the video features are extracted from the surveillance video segments in the surveillance video segment set by the pre-trained video feature extraction model to generate the video features, including: For each surveillance video segment in the surveillance video segment set, the following processing steps are performed: Performing feature extraction on the monitoring video segment through a global feature extraction block included in a target video feature extraction block to generate a global monitoring video block feature, wherein the target video feature extraction block is a video feature extraction block in the video feature extraction block set corresponding to the monitoring video segment; Inputting the global monitoring video block feature into the local feature extraction block included in the target video feature extraction block to generate a local monitoring video block feature; The video feature is generated according to the obtained global monitoring video block feature set, the obtained local monitoring video block feature set and the feature splicing layer, wherein the first accident description information and the second accident description information are cross-verified to generate verification information, including: Extracting key content points from the first accident description information and the second accident description information respectively to generate a first key content point set and a second key content point set; adjusting the first key content point in the first key content point set and the second key content point in the second key content point set respectively in time sequence to generate a first key content point sequence and a second key content point sequence; For each first key content point in the first key content point sequence, the following matching steps are performed: Performing feature extraction on the first key content point to generate a first key content point feature; Extracting features of second key content points in the second key content point sequence corresponding to the first key content point to generate second key content point features; Determining a feature matching degree between the first key content point feature and the second key content point feature; In response to the feature matching degree being less than a preset matching degree threshold, generating verification exception sub-information according to the first key content point and a second key content point corresponding to the first key content point; In response to the obtained verification exception sub-information set being an empty set, determining the first verification identifier as the verification identifier, and obtaining the verification information; In response to the verification exception sub-information set being a non-empty set, the second verification identifier is determined as the verification identifier, and the verification exception sub-information set is determined as the verification exception information to obtain the verification information.
6. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.
7. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
