Traffic incident analysis device and method
By comparing the traffic information detected twice adjacently by the traffic information detection equipment, traffic events are determined, which solves the problems of low detection accuracy and poor effect when visibility is low in the existing technology, and achieves higher traffic event analysis accuracy and supervision effect. .
Patent Information
- Application Number
- CN202110853174.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-07-27
AI Technical Summary
Existing traffic event analysis equipment has low detection accuracy for traffic events, cannot accurately locate local congestion locations, and has poor detection results when environmental visibility is low, and cannot meet high-frequency calculation requirements.
By obtaining the traffic information detected twice by the traffic information detection equipment, comparing and analyzing the differences to determine the traffic events in the target road section, improving the comprehensiveness of the information and the accuracy of analysis.
It improves the accuracy of traffic incident analysis, can work normally in low visibility environments, and improves the accuracy to meter level, ensuring the effectiveness of traffic supervision.
Smart Images

Figure CN115691095B
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a traffic incident analysis device and method. Background Art
[0002] At present, the detection accuracy of traffic incidents in the traffic environment is required to be high, so that the traffic supervision department can deal with the traffic incidents in a timely and effective manner. The traffic environment at least includes the roads where vehicles pass, and traffic incidents can include congestion incidents and accident incidents.
[0003] In the related art, traffic information detection equipment (such as millimeter wave radar) and traffic event analysis equipment are set up in the traffic environment. The millimeter wave radar can detect traffic information such as vehicle position, vehicle speed and vehicle type in the traffic environment. The traffic event analysis equipment can analyze traffic events occurring in the traffic environment based on the traffic information detected by the millimeter wave radar.
[0004] However, the accuracy of the traffic event analysis device in analyzing the traffic event based on the traffic information is low. Summary of the invention
[0005] The present application provides a traffic incident analysis device and method, which can solve the problem of poor detection accuracy of traffic incidents. The technical solution is as follows:
[0006] In one aspect, a traffic incident analysis device is provided, wherein the traffic incident analysis device is used to:
[0007] Acquire traffic information detected by a traffic information detection device twice in succession, wherein the traffic information includes information about vehicles in a target road section;
[0008] Comparing the traffic information of the two adjacent detections;
[0009] Based on the comparison result, a traffic event in the target road section is determined.
[0010] On the other hand, a traffic incident analysis method is provided, which is used in a traffic incident analysis device; the method comprises:
[0011] Acquire traffic information detected by a traffic information detection device twice in succession, wherein the traffic information includes information about vehicles in a target road section;
[0012] Comparing the traffic information of the two adjacent detections;
[0013] Based on the comparison result, a traffic event in the target road section is determined.
[0014] The beneficial effects of the technical solution provided by this application include at least:
[0015] The traffic incident analysis device provided by the present application can determine the traffic incident in the target road section based on at least the comparison results of the traffic information of two adjacent detections, so as to improve the comprehensiveness of the information based on which the traffic incident is determined, and thus improve the accuracy of the analysis of the traffic incident. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 It is a structural schematic diagram of a traffic incident analysis system provided in an embodiment of the present application;
[0018] Figure 2 It is a structural schematic diagram of a traffic supervision system provided in an embodiment of the present application;
[0019] Figure 3 is a flow chart of a traffic incident analysis method provided by an embodiment of the present application;
[0020] Figure 4 is a flow chart of another traffic incident analysis method provided by an embodiment of the present application;
[0021] Figure 5 is a schematic diagram of a target road section provided in an embodiment of the present application;
[0022] Figure 6 is a vehicle distribution diagram in a target road section provided in an embodiment of the present application;
[0023] Figure 7 is a schematic diagram of the evolution of a congestion situation provided in an embodiment of the present application;
[0024] Figure 8 is a schematic diagram of a plane rectangular coordinate system created for a target road section provided in an embodiment of the present application;
[0025] Fig. 9 It is a comparison diagram of a coordinate system provided in an embodiment of the present application;
[0026] Fig.10 It is a structural block diagram of a traffic incident analysis device adopted in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0028] At present, the requirements for the traffic supervision effect of traffic supervision departments are getting higher and higher. Traffic information detection equipment is set up in the traffic environment, such as detection equipment at checkpoints and toll booths, millimeter wave radars, road side units (RSU), cameras, and vehicle flow sensors. Traffic information detection equipment is used to detect traffic information in the traffic environment, such as traffic information such as vehicle type, speed, and location. Traffic event analysis equipment analyzes traffic events in the traffic environment at a certain moment or within a period of time based on the traffic information detected by the traffic information detection equipment at a certain moment or within a period of time. Traffic supervision departments can obtain information on traffic events (such as congestion events and accident events, etc.) that occur in the traffic environment from traffic event analysis equipment. Based on the information of the traffic event, supervisors intervene in the traffic conditions of vehicles in the traffic environment to ensure the smooth operation of the traffic environment, that is, to ensure the smooth passage of vehicles in the traffic environment. However, the accuracy of traffic event analysis equipment in analyzing traffic events is low, and the traffic supervision effect of traffic supervision departments is poor.
[0029] The traffic event analysis equipment can determine the travel time of the vehicle between the two detection devices through the detection equipment at the checkpoint and the toll station, and then determine whether there is a congestion event in the road section. This method can only reflect the general congestion situation in a larger range, but cannot reflect the congestion situation in a local range, nor can it accurately locate the specific congestion location, and the analysis effect of traffic events is relatively large. In the analysis of traffic congestion based on images collected by the camera, due to the high complexity and long time consumption of the recognition algorithm based on the video image, it is difficult to meet the requirements of the calculation frequency of the current vehicle-road collaboration project. In addition, the monitoring range of equipment such as cameras and sensors is small, and a higher deployment density is required. The camera has a poor detection effect on traffic information when the environmental visibility is low, and the millimeter wave radar cannot detect vehicles with a lower speed. Therefore, the accuracy and comprehensiveness of the traffic information detected by the traffic event analysis equipment are poor, and the accuracy of the traffic event analysis based on the traffic information is also low.
[0030] The embodiments of the present application provide a traffic event analysis device and method, which can improve the analysis accuracy of the traffic event analysis device on traffic events and ensure the supervision effect of the traffic supervision department on the traffic environment.
[0031] Figure 1 Schematic diagram of a traffic incident analysis system provided by an embodiment of the present application. Figure 1 As shown, the traffic event analysis system 10 may include: a traffic event analysis device 101 and at least one traffic information detection device 102. The traffic event analysis device 101 may be connected in communication with the at least one traffic information detection device 102 to obtain traffic information detected by the traffic information detection device 102. Figure 1 Only three traffic information detection devices 102 are shown. Optionally, the number of traffic information detection devices 102 in the traffic event analysis system 10 may be one, two, four or even more, and the number of traffic event analysis devices 101 may also be multiple, which is not limited in the embodiment of the present application. Figure 1 The black blocks in the figure refer to vehicles in the traffic environment.
[0032] Optionally, the traffic event analysis device 101 may include a multi-access edge computing (Mobile Edge Computing, MEC) device. The traffic information detection device 102 may include a camera, a radar (such as a millimeter wave radar), a roadside unit, a toll station detection device, and a checkpoint detection device, etc. The following embodiments of this application are introduced by taking the traffic information detection device 102 as a millimeter wave radar as an example. The traffic event analysis device 101 and the traffic information detection device 102 can be installed on the side of the road in the traffic environment, or they can be installed above the road through a bracket, which is not limited in the embodiments of this application.
[0033] Optionally, the staff can divide the road in the traffic environment into multiple sections, and set up an MEC device and multiple millimeter wave radars in each section, and the MEC device can be connected to the multiple millimeter wave radars. The multiple millimeter wave radars can jointly detect the traffic information in the section, and each millimeter wave radar can detect the traffic information within a certain detection range around it. The MEC device can obtain the traffic information detected by the multiple millimeter wave radars, and then analyze the traffic events in the section based on the traffic information. For example, the MEC device can have a corresponding signal coverage range, and the sections can be divided based on the signal coverage range of the MEC device, such as making each section within the signal coverage range of the corresponding MEC device, ensuring that the MEC device can receive the traffic information sent by the roadside perception device in the section. Optionally, the lengths of each section can be equal, such as the length of each section is one kilometer, or the length of each section can also be five hundred meters, two kilometers or other lengths; or the lengths of each section can also be unequal, which is not limited in the embodiment of the present application. Optionally, there may be no overlap between different sections. Optionally, the traffic environment targeted in the embodiments of the present application may be a highway network, and each road section in the traffic environment is a highway.
[0034] It should be noted that the traffic event analysis system 10 in the embodiment of the present application is a system for a single road section in the traffic environment. Figure 1 The traffic incident analysis system 10 shown in the present application will not be described in detail in the present application embodiment. Optionally, Figure 2 Schematic diagram of a traffic supervision system provided in an embodiment of the present application. Figure 2As shown, a plurality of traffic event analysis systems 10 are arranged in the traffic environment supervised by the traffic supervision system, and the plurality of traffic event analysis systems 10 can be connected to the traffic supervision platform 20 to upload the traffic information determined by each traffic event analysis system 10 and the information of the traffic event to the traffic supervision platform 20. The traffic supervision platform 20 can give corresponding prompts to the supervisor based on the received information, so that the supervisor can handle the situation accordingly based on the prompt. Optionally, the traffic event analysis system 10 and the traffic supervision platform 20 can be connected to the cloud platform 30, and the traffic event analysis system 10 can upload the acquired information to the cloud platform 30. The traffic supervision platform 20 can obtain the information stored therein from the cloud platform 30, and then give corresponding prompts to the supervisor based on the information.
[0035] Figure 3 is a flow chart of a traffic incident analysis method provided in an embodiment of the present application, which can be used for Figure 1 or Figure 2 The traffic incident analysis device 101 in FIG. Figure 3 As shown, the method may include:
[0036] Step 301: Obtain traffic information detected by a traffic information detection device twice in succession, where the traffic information includes information about vehicles in a target road section.
[0037] The target road section is the road section where the traffic information detection device and the traffic event analysis device are located. The target road section can be any of the multiple road sections in the traffic environment. The vehicle information may include the position and speed of the vehicle. Optionally, the vehicle information may also include information such as the acceleration, vehicle type and size of the vehicle. For example, each traffic information detection device in the target road section may periodically detect the traffic information within the detection range corresponding to the traffic information detection device in the target road section. After each traffic information is detected, the traffic information detection device may send the traffic information to the corresponding traffic event analysis device; or the traffic information detection device may also send the traffic information detected for the target times to the corresponding traffic event analysis device after detecting the traffic information for the target times in a row.
[0038] Step 302: Compare the traffic information of the two adjacent detections.
[0039] For example, the traffic event analysis device can compare the traffic information of the two adjacent detections to determine the difference between the two detected traffic information, and use the difference as the comparison result of the two detected traffic information. For example, it can determine the missing part and / or the added part of the traffic information of the latter detection relative to the traffic information of the previous detection.
[0040] Optionally, the traffic event analysis device can compare the traffic information detected each time by the traffic information detection device with the traffic information detected last time. Alternatively, the traffic event analysis device can also compare part of the traffic information detected by the traffic information detection device. For example, the traffic event analysis device can compare the traffic information detected by the traffic information detection device within the target time period, that is, only compare the traffic information detected twice adjacently within the target time period. For example, the number of historical vehicles in the target time period in the target time period is more than a threshold value, and the target time period includes the morning rush hour and the evening rush hour of the day. Since the risk of traffic events occurring in the target section in the target time period is relatively high, the traffic events in the target section in the target time period can be analyzed emphatically to ensure that the traffic supervision device effectively supervises the traffic environment.
[0041] Step 303: Determine the traffic event in the target road section based on the comparison result.
[0042] For example, the traffic event analysis device can determine more traffic information in the target section based on the comparison result, such as traffic information that is not detected by the traffic information but actually exists in the target section. Determining the traffic events in the target section based on the comparison result can ensure that the traffic events are determined based on more comprehensive traffic information in the target section, and the accuracy of the determined traffic events is higher. It should be noted that in the embodiment of the present application, the traffic events are analyzed based on at least the comparison results of the traffic information detected twice. On this basis, the traffic event analysis device can also combine the traffic information detected once to analyze the traffic events in the target section at the time of the latter detection.
[0043] It should be noted that in the related art, the traffic event analysis device only determines the traffic information in the target section at the time of detection of the traffic information through the traffic information detected by the traffic information detection device each time. However, some traffic information detection devices have certain inherent defects or detection errors, resulting in the lack of detection of part of the traffic information in the target section. For example, when the speed of the vehicle is less than 5 kilometers per hour (km / h), the millimeter wave radar cannot detect the information of the vehicle. In this way, the traffic event analysis device directly analyzes the traffic event based on the incomplete traffic information detected by the traffic information detection device, resulting in a low accuracy of analysis of the traffic event. In the embodiment of the present application, the traffic event analysis device can analyze the traffic event based on the traffic information of two adjacent detections, such as analyzing the traffic event based on at least the comparison result of the traffic information detected twice. In this way, the amount of traffic information referred to in the analysis of the traffic event is increased, and the accuracy of the analysis of the traffic event can be guaranteed.
[0044] In summary, the traffic event analysis device in the embodiment of the present application can determine the traffic event in the target road section based on at least the comparison results of the traffic information of two adjacent detections. This can improve the comprehensiveness of the information based on which the traffic event is determined, thereby improving the accuracy of the analysis of the traffic event.
[0045] Figure 4 is a flowchart of another traffic incident analysis method provided in an embodiment of the present application, which can be used for Figure 1 or Figure 2 The traffic incident analysis device 101 in FIG. Figure 4 As shown, the method may include:
[0046] Step 401: Acquire first traffic information and second traffic information detected in sequence by a traffic information detection device.
[0047] The embodiment of the present application takes the traffic information detected twice adjacently by the traffic information detection device as the first traffic information and the second traffic information as an example to introduce the traffic event analysis method provided by the embodiment of the present application.
[0048] For example, the traffic information detection device and the traffic incident analysis device are both arranged in the target section, and the target section is any section of multiple sections of the traffic environment (such as a highway network). Optionally, the traffic information detected by the traffic information detection device described in the embodiment of the present application each time may refer to: the traffic information of all areas in the target section, which may also be referred to as the traffic information of the entire section. The traffic incident analysis device may summarize the traffic information detected by all traffic information detection devices arranged in the target section to determine the traffic information of all areas in the target section. The traffic information detected by the traffic information detection device may include vehicle information, such as the position and speed of the vehicle. The first traffic information and the second traffic information may be the traffic information of all areas in the target section detected by the traffic information detection device twice adjacently, that is, the traffic information of all areas in the target section at two adjacent detection moments. For example, the first traffic information includes the position and speed of the vehicle in the target section at the first moment, and the second traffic information includes the position and speed of the vehicle in the target section at the second moment. The first moment is also the detection moment of the first traffic information, and the second moment is also the detection moment of the second traffic information.
[0049] Optionally, each traffic information detection device has a corresponding detection range, which is the maximum coverage of the signal emitted by the traffic information detection device, and the traffic information detection device can only detect traffic information within the detection range at most. The traffic event analysis device can also determine the traffic information of two adjacent detections of a single traffic information detection device, and then perform subsequent steps for the detection range rather than the target road section, which is not limited in the embodiments of the present application.
[0050] Step 402: Based on the first traffic information and the second traffic information, determine the target vehicle that is not detected by the traffic information detection device at the time of detecting the second traffic information.
[0051] The target vehicle may refer to a vehicle that actually exists in the target road section but is not detected by the traffic information detection device. The traffic event analysis device may compare the first traffic information with the second traffic information, and determine the target vehicle based on the comparison result of the first traffic information and the second traffic information. For example, the traffic event analysis device may determine the difference between the first traffic information and the second traffic information, and determine the information of the target vehicle that is not detected at the second moment based on the difference. For example, the information of the target vehicle exists in the first traffic information but does not exist in the second traffic information.
[0052] Further, the traffic event analysis device can determine the vehicle that meets the target condition indicated by the first traffic information as the target vehicle. The target condition may include: being outside the termination area of the target road section, and the speed being less than or equal to the first speed threshold. It should be noted that each road section in the traffic environment may have a starting area and a termination area, and the starting area and the termination area are determined according to the vehicle travel direction set for the road section. The starting area is the area in the road section that the vehicle enters, and the termination area is the area in the road section that the vehicle leaves. Optionally, for a two-way driving road section, each of the two ends of the road section may include a starting area and a termination area.
[0053] For example, Figure 5 is a schematic diagram of a target road section provided in an embodiment of the present application. Figure 5 As shown, the target road section is a two-way driving section, including three lanes in each driving direction. Figure 5 The left end of the target segment (such as Figure 5 The right end of the lane also includes a starting area Q3 and a terminating area Q4. The starting area Q1 and the terminating area Q4 belong to the same lane, and the starting area Q3 and the terminating area Q2 belong to the same lane. Optionally, the length of the starting area and the terminating area in the extension direction of the lane can be determined based on empirical values, such as the length can be greater than or equal to the product of the minimum speed limit of the lane and the information detection cycle of the traffic information detection device.
[0054] In the embodiment of the present application, the traffic information detection device may be a millimeter wave radar. Within the detection range of the millimeter wave radar, if the speed of a target is less than a certain speed, such as 5km / h, the millimeter wave radar will lose the target, that is, it cannot detect the information of the target. For example, Figure 6This is a vehicle distribution diagram in a target road section provided by an embodiment of the present application. This diagram can be used for millimeter wave radar Figure 5 The target road section shown in the figure shows the vehicle distribution diagram indicated by the detected traffic information. Figure 5 The actual distribution of vehicles in the target road section is shown. The traffic event analysis device can determine the vehicle lost by the millimeter wave radar among the vehicles with a speed close to 5km / h in the target road section, that is, the target vehicle. For example, the first speed threshold in the above target condition can be greater than 5km / h, such as 6km / h or other values. The first speed threshold can be set accordingly based on different millimeter wave radars. For example, if the critical speed corresponding to the target lost by the millimeter wave radar is greater than 5km / h, the first speed threshold can also be set larger. If the vehicle is located in the termination area of the road section, during the time when the millimeter wave radar performs two detections, even if the speed of the vehicle is small, the vehicle may have normally driven out of the target road section, resulting in the traffic information detection device being unable to detect the vehicle. Therefore, the vehicle in the termination area cannot be determined as the target lost by the millimeter wave radar, and the target vehicle needs to be determined in the area outside the termination area of the target road section. Therefore, the target vehicle can be detected by the millimeter wave radar at the first moment, but not detected by the millimeter wave radar at the second moment. It is outside the termination area of the target road section at the first moment, and the speed is less than or equal to the first speed threshold.
[0055] It should be noted that the embodiment of the present application takes the example of a traffic event analysis device directly comparing traffic information detected twice adjacently to determine a target vehicle. Optionally, the traffic event analysis device can also obtain traffic information detected by a traffic information detection device within a certain time period. Based on the traffic information, the speed change process of the vehicle within the time period is determined, and the vehicle that decelerates until the speed is lower than the first speed threshold, causing the target to be lost, is identified. The vehicle is the target vehicle. The traffic event analysis device can infer the position of the target vehicle based on the traffic information within the time period.
[0056] Step 403: Determine a traffic event in the target road section at the time of detecting the second traffic information based on the second traffic information and the information of the target vehicle in the first traffic information.
[0057] After determining the target vehicle, the traffic event analysis device can determine that the target vehicle is also located in the target section at the second moment (that is, the detection moment of the second traffic information). The information of the target vehicle in the first traffic information is the information of the vehicle detected for the last time before the target vehicle was lost. The traffic event analysis device can use this information as the information of the target vehicle at the second moment, and then classify the information of the target vehicle in the first traffic information into the traffic information in the target section at the second moment. It should be noted that although the target vehicle may move to a certain extent between the first moment and the second moment, resulting in a slight difference between the actual position of the target vehicle at the second moment and the position of the target vehicle in the first traffic information; however, due to the low speed of the target vehicle, the information of the target vehicle in the first traffic information is used as the information of the target vehicle at the second moment, which has little impact on the analysis process of subsequent traffic events. And in this way, the number and distribution of vehicles in the target section can be accurately determined to a certain extent.
[0058] The traffic event analysis device can determine the traffic events in the target road section at the second moment based on the traffic information in the target road section at the second moment, such as the traffic events in the target road section at the second moment can be determined based on the second traffic information and the information of the target vehicle in the first traffic information. Optionally, the information of the target vehicle can include the position and speed of the target vehicle, and can also include information such as the lane where the target vehicle is located in the target road section. It should be noted that in addition to the information of the target vehicle in the second traffic information and the first traffic information, the traffic event analysis device can also determine the traffic events at the second moment in combination with other information. If the traffic event analysis device determines that other vehicles are located in the target road section but are not detected by the traffic information detection device before the first moment, the traffic event analysis device can also determine the traffic events in the target road section at the second moment in combination with the information of the other vehicles.
[0059] In the embodiment of the present application, the traffic event analysis device determines the target vehicle based on the first traffic information and the second traffic information as an example. Optionally, the traffic event analysis device may not determine the target vehicle based on the first traffic information and the second traffic information, so it can be considered that all vehicles in the target section at the second moment can be detected by the traffic information detection device. At this time, the traffic event analysis device can determine the traffic event in the target section at the second moment only based on the second traffic information.
[0060] The following is an introduction to the way in which traffic incident analysis equipment determines traffic incidents:
[0061] The traffic event analysis device can determine the distance between adjacent vehicles in each lane (i.e., the following distance) based on the traffic information in the target road section at the second moment, such as the second traffic information and the information of the target vehicle. The staff can pre-set the threshold of the following distance, such as the first distance threshold. If the following distance of the two vehicles is less than the first distance threshold, it is considered that the following distance is too close. The traffic event analysis device can also determine the number of vehicles whose continuous following distance is less than the first distance threshold for each lane. The staff can pre-set the threshold of the number of vehicles whose following distance is too close, such as the quantity threshold. When the traffic event analysis device determines that there are m consecutive vehicles whose following distances are less than the first distance threshold on any lane, the area where the m vehicles are located is determined as a detection area, and m is greater than the quantity threshold. The detection area is a suspected congestion area, and there is a greater probability of a congestion event in the detection area. In the embodiment of the present application, each detection area is a partial area in a lane.
[0062] The traffic event analysis device can further analyze the determined detection area to determine whether a congestion event actually occurs in the detection area. For example, the traffic event analysis device can determine the vehicle density of the detection area, and the staff can pre-set a threshold value of the vehicle density in the detection area, such as a density threshold value. When the vehicle density in the detection area is greater than the density threshold value, the traffic event analysis device determines that a congestion event occurs in the detection area. The vehicle density can be the ratio of the number of vehicles in the detection area to the length of the detection area, and the length of the detection area can be the length of the lane in the detection area. The traffic event analysis device can determine the distance between the vehicles at the front and rear ends of the detection area (that is, the first vehicle and the last vehicle) as the length of the detection area, such as the distance between the first vehicle and the last vehicle can be the distance between the front of the first vehicle and the rear of the last vehicle. Optionally, the vehicle density can also be the ratio of the length of the detection area to the number of vehicles in the detection area. At this time, the traffic event analysis device can determine that a congestion event occurs in the detection area when the vehicle density in the detection area is less than the density threshold value. The density threshold value in this vehicle density calculation method is different from the density threshold value in the previous vehicle density calculation method.
[0063] Optionally, on the basis of detecting the vehicle density, the traffic event analysis device can also combine the length of the detection area and / or the average speed of the vehicles in the detection area to determine whether a congestion event occurs in the detection area. For example, the staff can pre-set a threshold value for the length of the detection area, such as a second distance threshold. When the vehicle density in the detection area is greater than the density threshold, and the length of the detection area is greater than the second distance threshold, it is determined that a congestion event occurs in the detection area. For example, the staff can pre-set a threshold value for the average speed, such as a speed threshold. When the vehicle density in the detection area is greater than the density threshold, and the average speed of the vehicles in the detection area is less than the speed threshold, it is determined that a congestion event occurs in the detection area. Optionally, the traffic event detection device can also determine that a congestion event occurs in the detection area when the vehicle density in the detection area is greater than the density threshold, the length of the detection area is greater than the second distance threshold, and the average speed in the detection area is less than the speed threshold. When any of the vehicle density in the detection area, the length of the detection area, and the average speed in the detection area does not meet the corresponding conditions, it is determined that no congestion event occurs in the detection area.
[0064] Optionally, after determining that a congestion event has occurred in a detection area in the target section, the traffic event analysis device can directly determine the detection area as a congestion area in the target section. The above-mentioned first distance threshold, quantity threshold, density threshold, second distance threshold and speed threshold can all be empirical values. It should be noted that the target section may include multiple lanes, and the traffic event analysis device can determine whether there is a detection area for each lane, and then determine whether a congestion event has occurred in each detection area, so as to determine all congestion areas in the target section.
[0065] Step 404: Acquire the third traffic information detected by the traffic information detection device.
[0066] The third traffic information may be the traffic information of the target road section detected by the traffic information detection device at the third moment after the second traffic information. Optionally, the second traffic information and the third traffic information may be traffic information detected by the traffic information detection device twice adjacently. Step 404 may refer to the relevant records of the traffic event analysis device acquiring the first traffic information and the second traffic information in step 401, and the embodiments of the present application will not be repeated.
[0067] Step 405: When the specified conditions are met, determine the traffic event in the target road section at the time of detecting the third traffic information based on the third traffic information.
[0068] Step 406: When the specified condition is not met, determine the traffic event in the target road section at the time of detecting the third traffic information based on the third traffic information and the information of the target vehicle in the first traffic information.
[0069] In step 405 and step 406, the specified condition may include: the first traffic information indicates that the target vehicle is outside the starting area of the target section, and the third traffic information indicates that there is a vehicle different from the target vehicle at the position of the target vehicle. Alternatively, the specified condition may also include that the third traffic information indicates that there is a vehicle with a speed greater than a second speed threshold at the position of the target vehicle. The second speed threshold may be an empirical value, and the vehicle with a speed greater than the second speed threshold has a faster travel speed. Optionally, the traffic event analysis device may determine whether the target vehicle is still a vehicle that actually exists in the target section but is not detected by the traffic information detection device based on the specified condition. When the target vehicle is still a vehicle that actually exists in the target section but is not detected by the traffic information detection device, the traffic event in the target section is determined based on the information of the target vehicle. When the target vehicle is no longer a vehicle that actually exists in the target section but is not detected by the traffic information detection device, the traffic event in the target section is no longer determined based on the information of the target vehicle.
[0070] When the traffic information detection device detects a new vehicle at the lost position of the target vehicle, it proves that the speed of the new vehicle is high and the target vehicle is no longer at its lost position. The lost position is the position of the target vehicle detected by the traffic information detection device for the last time. Vehicles may enter the starting area of the road section from time to time. Even if the lost position of the target vehicle is in the starting area of the target road section, the target vehicle is likely to drive out of the starting area when driving at a low speed, and a new vehicle may enter the original position of the target vehicle. Therefore, the starting area of the road section cannot be used to determine whether the vehicle is still in the target road section and has not been detected by the traffic information detection device. If the lost position of the target vehicle is outside the starting area of the target road section, and a new vehicle appears at the lost position of the target vehicle, it can be considered that the target vehicle has normally left its lost position, and it is considered that the target vehicle does not belong to the vehicles in the target road section that have not been detected by the traffic information detection device.
[0071] When the traffic information detection device detects a vehicle with a speed greater than the second speed threshold at the lost position of the target vehicle, it can be said that there are no low-speed vehicles or vehicles not detected by the traffic information detection device at the lost position; and then the traffic event analysis device can determine that the target vehicle is no longer among the vehicles not detected by the traffic information detection device in the target section. Optionally, the traffic event analysis device can also determine that all target vehicles on the driving track of the vehicle with a speed greater than the second speed threshold are no longer among the vehicles not detected by the traffic information detection device in the target section.
[0072] Optionally, the specified condition may further include: the third traffic information includes information of the target vehicle. The traffic event analysis device may further determine whether the third traffic information includes information of the target vehicle. When the third traffic information includes information of the target vehicle, it is determined that the target vehicle no longer belongs to the vehicles in the target road section that are not detected by the traffic information detection device. Furthermore, the traffic time analysis device no longer determines the traffic event based on the information of the target vehicle in the first traffic information, but directly determines the traffic event based on the third traffic information.
[0073] The embodiment of the present application is introduced by taking the target vehicle determined based on the first traffic information and the second traffic information as an example. For each target vehicle, processing for the target vehicle can be performed, that is, it is determined whether to determine a traffic event based on the information of the target vehicle based on the specified conditions for each target vehicle. When the specified conditions are determined to be met for the target vehicle based on the traffic information (such as the third traffic information) of the target section acquired the latest, the traffic event analysis device can determine that the target vehicle no longer belongs to the vehicle in the target section that has not been detected by the traffic information detection device. The actual traffic information in the target section at the third moment does not include the information of the target vehicle in the first traffic information, so the traffic event analysis device can determine the traffic event that occurred in the target section at the third moment only based on the third traffic information, that is, execute step 405. When it is determined that the specified conditions are not met for the target vehicle based on the third traffic information, the traffic event analysis device can determine that the target vehicle is still a vehicle in the target section that has not been detected by the traffic information detection device. The actual traffic information in the target road section at the third moment includes the information of the target vehicle in the first traffic information. Therefore, the traffic event analysis device can determine the traffic event occurring in the target road section at the third moment based on the third traffic information and the information of the target vehicle in the first traffic information, that is, execute step 406.
[0074] Regarding the manner in which the traffic event analysis device determines a traffic event in the above steps 405 and 406, reference may be made to the introduction to the manner in which the traffic event is determined in step 403, and will not be described in detail in the embodiment of the present application.
[0075] Optionally, the traffic event analysis device can determine whether there is a target vehicle at the detection time of the latter detection of the traffic information of the target road section for each of the two adjacent detections of the traffic information detection device, that is, a vehicle in the target road section that has not been detected by the traffic information detection device. Optionally, after each determination of the target vehicle, the traffic event analysis device can store the information of the target vehicle detected for the last time in a designated cache space; the cache space is used to store the information of the vehicle that actually exists in the target road section but has not been detected by the traffic information detection device as determined by the traffic event analysis device. For example, after the traffic event analysis device determines the target vehicle in the above step 402, the information of the target vehicle in the first traffic information can be stored in the cache space. For example, the cache space can store the information of all vehicles in the target road section at the current moment that have not been detected by the traffic information detection device.
[0076] The traffic event analysis device can also determine whether each target vehicle whose information is stored in the cache space still belongs to the undetected vehicles in the target section based on the traffic information in the target section detected by the traffic information detection device each time. If the traffic event analysis device determines that a vehicle whose information is stored in the cache space is no longer in the target section, the information of the vehicle stored in the cache space can be deleted. The traffic event analysis device can determine whether the vehicle whose information is stored in the cache space still belongs to the undetected vehicles in the target section through the above-mentioned specified conditions. For example, after each time the traffic event analysis device receives the traffic information uploaded by the traffic information detection device, it can determine whether the specified conditions are met for each target vehicle in the cache space based on the traffic information to determine whether the target vehicle still belongs to the undetected vehicles in the target section.
[0077] For example, the vehicles indicated by the information stored in the cache space at the second moment are all vehicles that are actually present in the target section at the second moment but have not been detected, as determined by the traffic event analysis device. In step 403, the traffic event analysis device can directly determine the traffic events in the target section at the second moment based on the second traffic information and the information of all vehicles stored in the cache space. For any moment, the traffic event analysis device can analyze the traffic events in the target section at that moment based on the traffic information detected by the traffic information detection device at that moment and the information stored in the cache space at that moment. Optionally, the traffic event analysis device can determine the traffic events in the target section based on the traffic information most recently detected by the traffic information detection device; or the traffic event analysis device can also determine the traffic events in the target section based on the traffic information historically detected by the traffic information detection device, which is not limited in the embodiments of the present application.
[0078] It should be noted that the embodiment of the present application takes the example that the traffic event analysis device determines the traffic events occurring in the target road section at the time of detection of the traffic information each time the traffic information detected by the traffic information detection device. Optionally, the traffic event analysis device may periodically analyze the traffic events in the target road section, and the analysis period of the traffic events is greater than the detection period of the traffic information by the traffic information detection device. For example, the analysis period of the traffic event is 5 seconds. Optionally, after determining a congested area each time, the traffic event analysis device may upload the information of the congested area to the cloud platform, so that the traffic supervision platform can obtain the information of the congested area in the traffic environment, so as to better supervise the traffic environment. Optionally, the traffic supervision platform may display the evolution process of the congestion situation in the traffic environment based on the information of the congested area at each moment on the cloud platform. For example, Figure 7 Schematic diagram of the evolution of a congestion situation provided by an embodiment of the present application. Figure 7 As shown, the congestion situation in the target road segment can be Figure 7 The multiple vehicle schematic diagrams arranged in the arrow direction in the figure evolve in sequence. Optionally, the passing process of the vehicles in the target road section can also be more vividly displayed in the form of dynamic graphics.
[0079] In summary, the traffic event analysis device in the embodiment of the present application can determine the traffic event in the target road section based on at least the comparison results of the traffic information of two adjacent detections. This can improve the comprehensiveness of the information based on which the traffic event is determined, thereby improving the accuracy of the analysis of the traffic event.
[0080] In addition, based on the traffic information of two adjacent detections, the information of target vehicles that have not been detected by traffic information detection equipment (such as millimeter-wave radar) can be determined, which can overcome the inherent defect of millimeter-wave radar that it cannot identify low-speed targets. Even in severe congestion scenarios where the average vehicle speed is less than 5km / h, the detection data of the millimeter-wave radar can still be used to identify congestion scenes, and it can also work normally in scenes with low visibility. Traffic event analysis equipment relies on millimeter-wave radar to obtain vehicle location information with an accuracy of meters, vehicle size information, and speed information accurate to 1km / h, which can increase the accuracy of the determined congested area to the meter level, increase the calculation accuracy of the average vehicle speed of the congested section to 1km / h, and calculate the number of vehicles in the congested area with an accuracy of single digits; improving the accuracy of the calculation.
[0081] Optionally, the traffic incident analysis device can construct a plane rectangular coordinate system for the target road section, and map the traffic information detected by the traffic information detection device to the plane rectangular coordinate system, and then analyze whether a traffic incident occurs in the target road section based on the data of the plane rectangular coordinate system. The plane rectangular coordinate system can also be called a two-dimensional canvas. Optionally, the plane rectangular coordinate system can also be constructed by other devices, and the traffic incident analysis device directly obtains the plane rectangular coordinate system, which is not limited in the embodiments of the present application.
[0082] Figure 8 Schematic diagram of a plane rectangular coordinate system created for a target road section provided in an embodiment of the present application. Figure 8 As shown, the first axis (such as the y-axis) of the plane rectangular coordinate system can be parallel to the line L1 (i.e., the dotted line in the figure) connecting the starting point D1 and the end point D2 of the target section. The starting point D1 and the end point D2 of the target section are respectively located at the two ends of the target section, such as the starting point D1 and the end point D2 are respectively the two end points of the midline of the target section. The starting point D1 and the end point D2 can be respectively the starting point and the end point of the target section in the upward direction, or can also be respectively the starting point and the end point of the target section in the downward direction. The second axis (such as the x-axis) of the plane rectangular coordinate system passes through the starting point D1 or the end point D2. Figure 8 Take the x-axis passing through the starting point D1 as an example. Optionally, the target section can be located in the first quadrant of the plane coordinate system, so that all data in the target section can be guaranteed to be positive values, reducing the calculation complexity. Optionally, the second axis can pass through the point in the target section with the smallest coordinate value on the first axis.
[0083] For example, the traffic incident analysis device can obtain high-precision map data of the target road section and construct a plane rectangular coordinate system based on the data. The high-precision map data can be high-precision longitude and latitude data, which can include the longitude and latitude of the edge position of the target road section, the longitude and latitude of the center line, lane line and side line, the total width of the target road section, the number of lanes, and the width of the green belt. The traffic incident analysis device can connect the starting point D1 and the end point D2 of the center line of the target road section according to the upward direction of the target road section to obtain a line segment L1, and use the direction from the starting point D1 to the end point D2 in the line segment L1 as the y-axis direction. The line segment L1 can be translated until it is tangent to the most protruding position in the side line of the target road to obtain the y-axis. Then, the straight line passing through the starting point D1 and perpendicular to the y-axis can be used as the x-axis, and the coordinate system formed by the x-axis and the y-axis can be made a right-handed coordinate system, so as to achieve the creation of a plane rectangular coordinate system for the target road section.
[0084] Optionally, 1 meter can be directly used as a unit length in the plane rectangular coordinate system, or the unit length can be set to other lengths. Optionally, the maximum error caused by the traffic event analysis device using the algorithm for calculation is 0.2 meters, and 0.2 meters can be used as a unit length to ensure the simplicity of calculation of the traffic event analysis device. Optionally, 0.1 meters or other lengths can also be used as a unit length, which is not limited in the embodiments of the present application.
[0085] The traffic information detection device detects traffic information in the target road section based on the latitude and longitude coordinate system. For example, the information of the vehicle detected by the traffic information detection device includes the latitude and longitude coordinates of the vehicle, that is, the position of the vehicle detected by the traffic information detection device is expressed in the form of latitude and longitude coordinates. After obtaining the traffic information detected by the traffic information detection device, the traffic event analysis device can convert the vehicle's latitude coordinates in the traffic information into coordinates in a plane rectangular coordinate system. Then, based on the coordinates of the vehicle in the plane rectangular coordinate system, the traffic event in the target road section is determined. The following is an introduction to the way in which the traffic event analysis device converts the latitude and longitude coordinates into coordinates in a plane rectangular coordinate system. For example, the traffic event analysis device can perform the following steps to convert the latitude and longitude coordinates into coordinates in a plane rectangular coordinate system:
[0086] Step s1: The traffic event analysis device obtains information of a target road section, where the information of the target road section includes the longitude and latitude coordinates of multiple locations in the target road section.
[0087] For example, the information of the target road section may be high-precision map data of the target road section, and the traffic incident analysis device may obtain the high-precision map data from the Internet. The high-precision map data may be obtained by the staff and uploaded to the Internet after the road is built; or it may be obtained by the map drawing unit and uploaded to the Internet; or it may be obtained by other means, which is not limited in the embodiments of the present application.
[0088] Step s2: The traffic event analysis device determines the latitude and longitude coordinates of the origin of the plane rectangular coordinate system based on the information of the target road section.
[0089] For example, the traffic incident analysis device can calculate the longitude and latitude coordinates of the origin O of the plane rectangular coordinate system for the target section based on the longitude and latitude coordinates of the starting point D1 and the end point D2 in the target section, and the longitude and latitude of the boundary point in the target section through which the y-axis passes, according to the longitude and latitude distance calculation formula. If the coordinates of the origin in the plane rectangular coordinate system are (0,0), the embodiment of the present application takes the longitude (longitude, lng) of the origin of the plane rectangular coordinate system determined for the target section as oLng = 120.4369376E, that is, 120.4369376 degrees east longitude; the latitude (latitude, lat) is oLat = 36.1683615N, that is, 36.1683615 degrees north latitude as an example. It should be noted that when determining the position on the road in the longitude and latitude coordinate system, the accuracy of the determined longitude and latitude is usually required to reach the centimeter level, so the accuracy and latitude must be accurate to 10 -7 At this accuracy level, within a local area of several kilometers, the error caused by the latitude and longitude coordinate system to the spherical characteristics of the earth can be ignored, that is, it can be considered that the difference within the road section is 10 -7 The location of two points in longitude or latitude is the same.
[0090] Step s3: The traffic event analysis device determines the distance corresponding to one unit of longitude and one unit of latitude in the target road section, wherein one unit is the product of one degree and a target coefficient, and the target coefficient is less than 1.
[0091] For example, in the embodiment of the present application, the target coefficient is 10 -7 , traffic incident analysis equipment will be 10 -7 longitude as a unit of longitude, 10 -7 The distance corresponding to one unit of longitude is the actual distance between the two points on the earth when the longitude and latitude coordinates of the two points differ by only one unit of longitude. The distance corresponding to one unit of latitude is the actual distance between the two points on the earth when the longitude and latitude coordinates of the two points differ by only one unit of latitude. For example, the traffic event analysis device can calculate the length of the latitude line at the target section of road according to the location of the target section of road. Divide the length of the latitude line by 360 to get the distance corresponding to one latitude. Multiply the distance corresponding to one latitude by 10. -7 The distance corresponding to one unit of latitude can be obtained. The distance corresponding to one unit of longitude is calculated in the same way. In the embodiment of the present application, for the target section, the distance corresponding to one unit of longitude is 0.00898666639260428321 meters, and the distance corresponding to one unit of latitude is 0.00113194884009693908 meters.
[0092] Step s4: The traffic incident analysis device determines the angle between the positive direction of the first axis and the true north direction of the earth in the plane rectangular coordinate system.
[0093] Fig. 9 It is a comparison diagram of a coordinate system provided in an embodiment of the present application. Fig. 9 The N axis and E axis in the y axis represent the due north and due west directions in the longitude and latitude coordinate system, respectively. The due north direction is also the due north direction of the earth. The traffic event analysis device can determine the angle θ between the N axis and the y axis in the plane rectangular coordinate system. For example, the traffic event analysis device can calculate the angle θ according to the vector angle calculation formula. For example, the traffic event analysis device can determine the vector of the y axis based on the longitude and latitude coordinates of the origin and the longitude and latitude coordinates of the point through which the y axis passes in the target section; and then the angle θ can be calculated based on the vector of the N axis and the vector of the y axis using the vector angle calculation formula.
[0094] Step s4, the traffic event analysis device determines, based on the angle and the distance corresponding to the one unit of longitude, a first distance change in the positive direction of the first axis and a second distance change in the positive direction of the second axis when the longitude of any position point in the target section increases by one unit.
[0095] The longitude and latitude coordinate system includes a coordinate axis in the due north direction and a coordinate axis in the due east direction. The plane rectangular coordinate system in the embodiment of the present application is equivalent to rotating the longitude and latitude coordinate system by a certain angle, and the angle is the above-mentioned angle θ. For example, the traffic event analysis device can use the rotation axis formula to calculate the coordinates of a point in the longitude and latitude coordinate system in the plane rectangular coordinate system. The traffic event analysis device can use the rotation axis formula to calculate the distance between the position represented by the changed longitude and latitude coordinates and the position represented by the longitude and latitude coordinates before the change when the longitude of a longitude and latitude coordinate in the target section between two points changes (such as increases) by one unit while the latitude remains unchanged. And determine the component of the distance in the positive direction of the first axis of the plane rectangular coordinate system, that is, the first distance change; and determine the component of the distance in the positive direction of the second axis of the plane rectangular coordinate system, that is, the second distance change. In the embodiment of the present application, for the target road section, the first distance change is -0.00183457875861148733 meters, and the second distance change is 0.00879741403086241151 meters. Optionally, the traffic event analysis device can also determine the distance change between the position before the change and the position after the change in the positive direction of the first axis as the first distance change, and the distance change in the positive direction of the second axis as the second distance change when the longitude is reduced by one unit.
[0096] Step s5, the traffic event analysis device determines, based on the angle and the distance corresponding to the one unit of latitude, a third distance change in the positive direction of the first axis and a fourth distance change in the positive direction of the second axis when the latitude of any position point in the target section increases by one unit.
[0097] For example, the traffic incident analysis device can use the rotation axis formula to calculate the distance between the position represented by the longitude and latitude coordinates after the change and the position represented by the longitude and latitude coordinates before the change when the latitude of a certain longitude and latitude coordinate in the target section between two points changes (such as increases) by one unit while the longitude remains unchanged. And determine the component of the distance in the positive direction of the first axis of the plane rectangular coordinate system, that is, the third distance change; and determine the component of the distance in the positive direction of the second axis of the plane rectangular coordinate system, that is, the fourth distance change. The embodiment of the present application takes the third distance change of 0.01089751846105095449 meters and the fourth distance change of 0.00227252642879884666 meters for the target section as an example. Optionally, the traffic incident analysis device can also determine the distance change between the position before the change and the position after the change in the positive direction of the first axis when the latitude is reduced by one unit as the third distance change, and the distance change in the positive direction of the second axis as the fourth distance change.
[0098] Step s6, the traffic event analysis device determines the coordinates of the vehicle in the plane rectangular coordinate system based on the first distance change, the second distance change, the third distance change, the fourth distance change, and the difference between the longitude and latitude coordinates of the vehicle and the longitude and latitude coordinates of the origin.
[0099] For the information of any vehicle, the traffic event analysis device can determine the difference between the longitude and latitude coordinates of the vehicle and the longitude and latitude coordinates of the origin of the plane rectangular coordinate system, such as using δlng to represent the longitude difference between the vehicle position and the origin, and using δlat to represent the latitude difference between the vehicle position and the origin. Based on the longitude difference, the first distance change and the second distance change, determine the distance y1 corresponding to the longitude difference in the positive direction of the first axis, and the distance x1 corresponding to the positive direction of the second axis. Based on the latitude difference, the third distance change and the fourth distance change, determine the distance y2 corresponding to the latitude difference in the positive direction of the first axis, and the distance x2 corresponding to the positive direction of the second axis. The distance between the vehicle position and the origin in the positive direction of the first axis is y1+y2, and the distance between the vehicle position and the origin in the positive direction of the second axis is x1+x2. Furthermore, if 1 meter can be directly used as a unit length in the plane rectangular coordinate system, the traffic event analysis device can directly determine the coordinates of the vehicle position in the plane rectangular coordinate system as (x, y), x = x1 + x2, y = y1 + y2. If 0.2 meters can be used as a unit length in the plane rectangular coordinate system, the traffic event analysis device can directly determine the coordinates of the vehicle position in the plane rectangular coordinate system as (x / 0.2, y / 0.2).
[0100] After the traffic event analysis device converts the longitude and latitude data in the traffic information uploaded by the traffic information detection device into data in the plane rectangular system, the traffic event analysis device can be analyzed based on the converted data. It should be noted that in the related art, the longitude and latitude data detected by the traffic information detection device are directly used for calculation. Since the number of digits of the longitude and latitude values is large, such as usually there are multiple digits after the decimal point, the amount of longitude and latitude data is large; and the longitude and latitude data also need to distinguish between east-west longitude and north-south latitude; therefore, the calculation based on the longitude and latitude data is more complicated and the amount of calculation is large. And one degree of longitude and latitude can correspond to a distance of several kilometers in reality, and the accuracy of calculation based on longitude and latitude data is low. In the embodiment of the present application, the longitude and latitude data are converted into data in the plane rectangular coordinate system for the target road section, and the data used for calculation is closer to integer, which can greatly reduce the amount of calculation to improve the calculation efficiency, and can meet the calculation frequency required in the traffic environment, such as 20 Hz (HZ). In addition, in the embodiment of the present application, the length of the detection area in the target road section can be determined based on the plane rectangular coordinate system, and the length of the detection area can be accurate to the meter level. Furthermore, the number of vehicles in the detection area and the average vehicle speed can be determined with high accuracy.
[0101] Fig.10900 is a structural block diagram of a traffic event analysis device adopted in an embodiment of the present application, and the traffic event analysis device may be a multi-edge computing device, i.e., an MEC device. By way of example, the traffic event analysis device 900 may include a processor 901, a memory, a bus 903, and a communication interface 904. The processor 901, the memory, and the communication interface 904 may all be connected to the bus 903.
[0102] The processor 901 may include a central processing unit CPU, each of which may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor may refer to one or more devices, circuits or processing cores for processing data (e.g., computer program instructions). The memory may include a system memory 905 and a mass storage device 908, the system memory 905 may include a random access memory (RAM) 906 and a read-only memory (ROM) 907, and the mass storage device 908 may store an operating system 909, an application 910, and other program modules 911. The mass storage device 908 is connected to the processor 901 via a mass storage controller (not shown) connected to the system bus 903. The mass storage device 908 and its associated computer-readable medium provide non-volatile storage for the traffic event analysis device 900. That is, the mass storage device 908 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM drive. The memory 902 may exist independently and be connected to the processor 901 via the bus 903. The memory 902 may also be integrated with the processor 901. In a specific implementation, the memory 902 is used to store the data in the embodiment of the present application and the computer execution instructions corresponding to the software program of the present application. The processor 901 may implement the above-mentioned traffic event analysis method by running or executing the software program stored in the memory 902 and calling the data stored in the memory 902.
[0103] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, electrical programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid-state storage technology, compact disc read-only memory (CD-ROM), DVD or other optical storage, cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that the computer storage medium is not limited to the above-mentioned ones.
[0104] The bus 903 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus 903 may be divided into an address bus, a data bus, and a control bus. The communication interface 904 may use any transceiver-like device to communicate with other devices or communication networks, such as a control system, a radio access network (RAN), a wireless local area network (WLAN), etc. The communication interface 904 may include a receiving unit to implement a receiving function, and a sending unit to implement a sending function.
[0105] The present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the traffic incident analysis method provided in the above embodiment, for example: Figure 3 or Figure 4 The method shown.
[0106] The present application also provides a computer program product including instructions. When the computer program product is run on a computer, the computer executes the traffic incident analysis method provided by the above method embodiment, for example: Figure 3 or Figure 4 The method shown.
[0107] It should be noted that the method embodiments provided in the embodiments of the present application can be referenced with the corresponding device embodiments, and the embodiments of the present application are not limited thereto. The sequence of the steps of the method embodiments provided in the embodiments of the present application can be appropriately adjusted, and the steps can also be increased or decreased accordingly according to the circumstances. Any technician familiar with the technical field can easily think of the changed methods within the technical scope disclosed in the present application, and they should be included in the protection scope of the present application, so they will not be repeated.
[0108] The term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there may be three kinds of relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship. In the case of mathematical formula calculation, the character " / " represents the operator "divided by". The term "at least one of A and B" in the application is only a description of the association relationship of associated objects, indicating that there may be three kinds of relationships. For example, at least one of A and B can represent: A exists alone, A and B exist at the same time, and B exists alone. Similarly, "at least one of A, B, and C" means that there may be seven kinds of relationships, which can represent: A exists alone, B exists alone, C exists alone, A and B exist at the same time, A and C exist at the same time, C and B exist at the same time, and A, B, and C exist at the same time. "Multiple" in this application refers to "two or more".
[0109] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A traffic incident analysis device, characterized in that: The traffic incident analysis device is used for: Acquire first traffic information detected at a first moment by a plurality of traffic information detection devices set in a target road section, and acquire second traffic information detected at a second moment by a plurality of traffic information detection devices set in the target road section, wherein the first moment and the second moment are two adjacent moments of detecting traffic information during periodic detection by the plurality of traffic information detection devices, and the first traffic information and the second traffic information include information of vehicles in the target road section, and the information of the vehicles includes the position and speed of the vehicles; Based on the comparison result of the first traffic information and the second traffic information, a vehicle satisfying a target condition indicated by the first traffic information is determined as a target vehicle; The first traffic information includes information of the target vehicle, and the second traffic information does not include information of the target vehicle; The target conditions include: being outside the termination area of the target road section, and having a speed less than or equal to a first speed threshold; Determine a traffic event in the target road section at the second moment based on the second traffic information and the information of the target vehicle in the first traffic information; The traffic incident analysis device is also used for: When it is determined based on the second traffic information and the information of the target vehicle that there are m consecutive vehicles on any lane in the target road section whose following distances are all less than a first distance threshold, an area where the m vehicles are located is determined as a detection area, and m is greater than a quantity threshold; In the detection area, when the distance between the front and rear vehicles is greater than a second distance threshold, the average vehicle speed is less than a vehicle speed threshold, and the vehicle density is greater than a density threshold, it is determined that a congestion event occurs in the target road section at the time of detection of the second traffic information, and the detection area is determined as a congested area in the target road section.
2. The traffic incident analysis device according to claim 1, characterized in that: The traffic incident analysis device is also used for: After determining the target vehicle, obtaining third traffic information detected by the traffic information detection device, wherein the third traffic information is detected after the second traffic information; When a specified condition is met, determining, based on the third traffic information, a traffic event in the target road section at the time of detecting the third traffic information; The specified condition includes: the first traffic information indicates that the target vehicle is located outside the starting area of the target road section, and the third traffic information indicates that a vehicle different from the target vehicle exists at the location of the target vehicle; When the specified condition is not met, a traffic event in the target road section at the time of detecting the third traffic information is determined based on the third traffic information and the information of the target vehicle.
3. The traffic incident analysis device according to claim 1, characterized in that: The traffic incident analysis device is also used for: After determining the target vehicle, obtaining third traffic information detected by the traffic information detection device, wherein the third traffic information is detected after the second traffic information; When the third traffic information indicates that there is a vehicle with a speed greater than a second speed threshold at the position of the target vehicle, determining, based on the third traffic information, a traffic event in the target road section at the time of detecting the third traffic information; When the third traffic information does not indicate that there is a vehicle with a speed greater than the second speed threshold at the position of the target vehicle, a traffic event in the target road section at the time of detecting the third traffic information is determined based on the third traffic information and information of the target vehicle.
4. The traffic incident analysis device according to any one of claims 1 to 3, characterized in that: The vehicle information includes the latitude and longitude coordinates of the vehicle; the traffic event analysis device is also used for: Converting the latitude and longitude coordinates of the vehicle into coordinates in a plane rectangular coordinate system; the first axis of the plane rectangular coordinate system is parallel to a line connecting the starting point and the end point of the target road section, the second axis of the plane rectangular coordinate system passes through the starting point or the end point, and the target road section is located in the first quadrant of the plane rectangular coordinate system; A traffic event in the target road section is determined based on the coordinates of the vehicle in the plane rectangular coordinate system.
5. The traffic incident analysis device according to claim 4, characterized in that: The traffic incident analysis device is used for: Acquire information of the target road section, wherein the information of the target road section includes latitude and longitude coordinates of multiple locations in the target road section; Determine the latitude and longitude coordinates of the origin of the plane rectangular coordinate system based on the information of the target road section; Determine a distance corresponding to one unit of longitude and a distance corresponding to one unit of latitude in the target road segment; wherein the one unit is the product of one degree and a target coefficient, and the target coefficient is less than 1; Determine the angle between the positive direction of the first axis and the true north direction; Based on the angle and the distance corresponding to the one unit of longitude, determine a first distance change in the positive direction of the first axis and a second distance change in the positive direction of the second axis when the longitude of any position point in the target section increases by the one unit; Based on the angle and the distance corresponding to the one unit of latitude, determine a third distance change in the positive direction of the first axis and a fourth distance change in the positive direction of the second axis when the latitude of any position point in the target section increases by the one unit; Based on the first distance change, the second distance change, the third distance change, the fourth distance change, and the difference between the longitude and latitude coordinates of the vehicle and the longitude and latitude coordinates of the origin, the coordinates of the vehicle in the plane rectangular coordinate system are determined.
6. The traffic incident analysis device according to any one of claims 1 to 3, characterized in that: The traffic event analysis device includes a multi-edge computing MEC device, and the traffic information detection device includes a millimeter wave radar.
7. A traffic incident analysis method, characterized in that: Used in traffic incident analysis equipment; the method comprises: Acquire first traffic information detected at a first moment by a plurality of traffic information detection devices arranged in a target road section, and acquire second traffic information detected at a second moment by a plurality of traffic information detection devices arranged in the target road section, wherein the first moment and the second moment are two adjacent moments of detecting traffic information, the first traffic information and the second traffic information include information of vehicles in the target road section, and the information of the vehicles includes the position and speed of the vehicles; Based on the comparison result of the first traffic information and the second traffic information, a vehicle satisfying a target condition indicated by the first traffic information is determined as a target vehicle; the first traffic information includes information of the target vehicle, and the second traffic information does not include information of the target vehicle; the target condition includes: being outside a termination area of the target road section, and having a speed less than or equal to a first speed threshold; Determine a traffic event in the target road section at the second moment based on the second traffic information and the information of the target vehicle in the first traffic information; The determining, based on the second traffic information and the information of the target vehicle in the first traffic information, a traffic event in the target road section at the second moment includes: When it is determined based on the second traffic information and the information of the target vehicle that there are m consecutive vehicles on any lane in the target road section whose following distances are all less than a first distance threshold, an area where the m vehicles are located is determined as a detection area, and m is greater than a quantity threshold; In the detection area, when the distance between the front and rear vehicles is greater than a second distance threshold, the average vehicle speed is less than a vehicle speed threshold, and the vehicle density is greater than a density threshold, it is determined that a congestion event occurs in the target road section at the time of detection of the second traffic information, and the detection area is determined as a congested area in the target road section.
