A blockchain-based traffic event intelligent detection method, device and system
By receiving data from multiple sensors, combining vehicle speed and fleet information, and using blockchain to share traffic information, the accuracy and comprehensiveness issues of traffic incident detection in existing technologies are solved, and intelligent detection and timely response to traffic incidents are achieved.
Patent Information
- Application Number
- CN202211055302.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2042-08-31
AI Technical Summary
Existing traffic incident detection methods cannot accurately and comprehensively reflect the actual situation of traffic incidents. There are delays in manual observation, and observations based on roadside sensors cannot fully reflect traffic conditions.
By receiving road section data collected by vehicle sensors, roadside sensors and smart street lights, combined with vehicle speed, fleet average speed and fleet length change, the vehicle's deceleration behavior and lateral displacement are detected, and blockchain technology is used to share traffic information and calculate response strategies to achieve intelligent detection of traffic incidents.
More accurate detection of traffic incidents, especially on highway sections with low traffic saturation, enables timely response to traffic incidents, reduces detection delays, improves the comprehensiveness and accuracy of detection, and optimizes resource scheduling.
Smart Images

Figure CN115547034B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Vehicles, and in particular to a method, device and system for intelligent detection of traffic incidents based on blockchain. Background Art
[0002] Currently, traffic incident detection primarily relies on direct human observation and indirect observation via roadside sensors. Direct human observation involves traffic management personnel observing road conditions or incidents via closed-circuit television at the traffic management center, and traffic police and the public reporting road conditions or incidents via a traffic accident hotline. Indirect roadside sensor observation typically targets roads with medium or high traffic saturation, collecting and analyzing road traffic data to determine whether an incident has occurred. Direct human observation can lead to delays in the discovery and reporting of traffic incidents, while indirect roadside sensor observation cannot accurately and comprehensively reflect the actual situation of a traffic incident. Summary of the Invention
[0003] The present invention provides a blockchain-based intelligent traffic incident detection method, device and system to solve the technical problem that indirect observation cannot accurately reflect traffic incidents.
[0004] To solve the above technical problems, an embodiment of the present invention provides a blockchain-based intelligent traffic incident detection method, which is applied to a blockchain node in a blockchain network and includes:
[0005] Receiving road section data collected by a plurality of information collection devices, and processing the road section data to obtain traffic information; wherein the plurality of information collection devices include: vehicle sensors, roadside sensors, and smart street lights; the traffic information includes: vehicle speed, average speed of the fleet, and change in fleet length;
[0006] Based on the vehicle speed, the vehicle's deceleration behavior is detected, and then based on the average speed of the convoy and the change in the convoy length, whether the vehicles in the convoy have lateral displacement is detected. Combined with the vehicle's deceleration behavior and the lateral displacement of the vehicles in the convoy, it is determined whether a traffic incident has occurred on the road section.
[0007] The present invention receives road section data collected by multiple sensing devices, wherein: vehicle sensors can collect the driving speed of a single vehicle, roadside sensors can measure the driving status of multiple vehicles, and smart street lights can observe the traffic conditions of the entire road section; processes the road section data collected by several sensing devices to obtain information including vehicle speed and fleet driving status; then determines whether any vehicle suddenly decelerates due to a traffic incident based on the vehicle speed, and further determines whether the vehicle moves sideways based on the average speed and length of the fleet. If the vehicle moves sideways, it means that the vehicle has changed lanes due to a traffic incident. This method is not only applicable to high-speed sections with low traffic saturation, but also can more accurately detect the occurrence of traffic incidents.
[0008] Furthermore, the deceleration behavior of the vehicle is detected based on the vehicle speed, and whether the vehicles in the convoy have lateral displacement is detected based on the average speed of the convoy and the change in the length of the convoy. The occurrence of a traffic incident on the road section is determined based on the deceleration behavior of the vehicle and the lateral displacement of the vehicles in the convoy. Specifically,
[0009] determining whether the vehicle speed of the selected vehicle is less than a first threshold;
[0010] When the vehicle speed is less than a first threshold, the selected vehicle is determined to have decelerated, the selected vehicle is set as a central vehicle, and a notification is sent to the central vehicle to enable the central vehicle to establish a convoy; when the vehicle speed is not less than the first threshold, the road section data collected by the plurality of information collection devices is continued to be received;
[0011] Determine whether the number of vehicles in the road section where the selected vehicle is located whose vehicle speed is less than the first threshold is greater than a second threshold; if so, determine that the majority of vehicles have decelerated; otherwise, continue to receive road section data collected by the plurality of information collection devices;
[0012] determining whether the average speed of the convoy is less than a third threshold and whether the change in the length of the convoy is negative; if so, determining that lateral displacement has occurred in the vehicles in the convoy; otherwise, continuing to receive the road section data collected by the plurality of information collection devices;
[0013] When it is determined that most vehicles have decelerated, or when it is determined that the vehicles in the fleet have undergone lateral displacement, it is determined that a preliminarily recognized traffic event has occurred on the road section.
[0014] The application determines whether a traffic accident occurs according to various road information, first determines whether a single vehicle suddenly slows down according to a first threshold value, and if the vehicle suddenly slows down, a traffic event is likely to occur; on this basis, further determines whether a traffic event occurs according to the driving condition of the vehicle fleet in which the center vehicle is located, and if the speed of several vehicles on the road section is less than the first threshold value, it indicates that the vehicles are caused by traffic time to cause traffic congestion; if the length of the vehicle fleet is shortened, the vehicles in the vehicle fleet are likely to move laterally or change lanes, so as to determine that a traffic event occurs, and thus the occurrence of a traffic event is more accurately detected.
[0015] Further, after determining that the road section has a preliminarily identified traffic event, further comprising:
[0016] According to the road section data collected by the intelligent street lamp, the road section occupancy rate difference and the road section traffic flow difference are calculated;
[0017] Determine whether the road section occupancy rate difference is greater than a fourth threshold value, and whether the road section traffic flow difference is greater than a fifth threshold value; if so, determine that the road section has a finally identified traffic event; otherwise, continue to receive road section data collected by the several information collection devices.
[0018] The application can further determine whether the upstream and downstream road conditions have a large difference and whether the road conditions of the front and rear time periods change rapidly according to the road section traffic flow difference after determining that the vehicle speed of several vehicles on the road section is less than the first threshold value or that several vehicles in the vehicle fleet have lateral displacement, and consider the traffic conditions of the entire road section when determining the occurrence of a traffic event, which is more accurate and comprehensive than the detection of a traffic event in the prior art.
[0019] Further, the application receives road section data collected by the several information collection devices, and obtains traffic information after processing the road section data, comprising:
[0020] The vehicle sensor comprises a navigation system and a roller counter, and the road section data comprises a navigation speed and a roller speed.
[0021] The navigation speed uploaded by the navigation system and the roller speed collected by the roller counter are received.
[0022] The navigation speed and the roller speed are fused to obtain the vehicle speed.
[0023] The application not only receives the vehicle speed collected by the navigation system, but also receives the vehicle speed detected by the vehicle roller counter, and fuses the two kinds of vehicle speeds to obtain the vehicle speed of a single vehicle, which more accurately reflects the driving speed of the vehicle at the incident location in a traffic event.
[0024] Furthermore, the receiving of the road section data collected by the plurality of information collection devices and processing the road section data to obtain traffic information further includes:
[0025] The road section data includes: several groups of fleet speed data, several groups of fleet length data;
[0026] receiving a plurality of sets of convoy speed data collected by the roadside sensors, and receiving a plurality of sets of convoy length data collected by the roadside sensors at a preset period; wherein the convoy includes: a central vehicle and other vehicles within a preset inter-vehicle spacing range;
[0027] The average speed of the convoy is calculated based on the plurality of groups of convoy speed data; and the change in the convoy length is calculated based on the plurality of groups of convoy length data.
[0028] The present invention also detects the speed of the convoy consisting of the central vehicle through roadside sensors, and calculates the average speed of the speed of each vehicle to obtain the average speed of the convoy, thereby reducing the error caused by collecting the speed of a single vehicle; at the same time, it collects the change in the length of the convoy, and more comprehensively and accurately detects the driving conditions of multiple vehicles in a traffic incident.
[0029] Furthermore, the road section occupancy difference and road section traffic flow difference are calculated based on the road section data collected by the smart street lamps, specifically:
[0030] The road section data includes: upstream occupancy rate of the road section, downstream occupancy rate of the road section, occupancy rate of the road section before the preset time, current road section occupancy rate, upstream traffic flow of the road section, downstream traffic flow of the road section, traffic flow of the road section before the preset time, and current traffic flow of the road section;
[0031] Receiving the road section data collected by the smart street lamp;
[0032] According to the upstream occupancy of the section and the downstream occupancy of the section, the difference in the upstream and downstream section occupancy is calculated; according to the section occupancy before the preset time and the current section occupancy, the difference in the section occupancy before and after time is calculated; according to the upstream traffic volume of the section and the downstream traffic volume of the section, the difference in the upstream and downstream section traffic volume is calculated; according to the traffic volume of the section before the preset time and the current section traffic volume, the difference in the section traffic volume before and after time is calculated; the section occupancy difference includes: the difference in the upstream and downstream section occupancy and the difference in the section occupancy before and after time; the section traffic volume difference includes: the difference in the upstream and downstream section traffic volume and the difference in the section traffic volume before and after time.
[0033] The present invention receives the section data of the accident section uploaded by the smart street lamp, including: the occupancy rate of the upstream and downstream sections, the traffic volume of the upstream and downstream sections, the occupancy rate of the sections before and after, and the traffic volume of the sections before and after. According to these section data, the section occupancy rate difference and the section traffic volume difference are obtained, so as to more accurately detect the vehicle driving conditions of the section where the accident occurred in the traffic incident.
[0034] Furthermore, after determining whether a traffic incident occurs according to the traffic information, the method further includes:
[0035] When a traffic incident occurs, a response strategy is derived based on the traffic information and the resource information shared on the blockchain, combined with a preset resource scheduling model. The traffic information also includes the location of the traffic accident. The resource information includes the rescue demand, the overall response time, the amount of rescue resources available, the average travel speed of the rescue force to the accident site, the average travel distance of the rescue force to the accident site, and the service coverage of the rescue force.
[0036] The response is sent to a traffic management unit so that the traffic management unit can handle the traffic event in a timely manner according to the response strategy.
[0037] Furthermore, the preset resource scheduling model is specifically:
[0038]
[0039]
[0040] Among them, minZ is the response strategy, q o is the rescue demand at the traffic accident site; g oe The intensity of the service demand attracted by the traffic accident site to the rescue force location; e The comprehensive response time of rescue forces; Whether the traffic accident site needs rescue forces, 1 means yes, 0 means no; y e The amount of rescue resources owned by the rescue force; oe is the average travel speed of the rescue force to the accident site; d oe is the average travel distance from the rescue force to the traffic accident site; r e The service scope of the rescue force; N e A collection of rescue forces that meet the rescue requirements.
[0041] The present invention also quickly calculates corresponding strategies based on traffic information and resource information in combination with a preset resource scheduling model; and transmits the corresponding strategies to the traffic management department, which can respond to traffic incidents in a timely manner and effectively alleviate the impact of traffic incidents on road conditions.
[0042] On the other hand, an embodiment of the present invention further provides a blockchain-based intelligent traffic incident detection device, comprising: a receiving module and a detection module;
[0043] The receiving module is used to receive road section data collected by a number of information collection devices and process the road section data to obtain traffic information; wherein the several information collection devices include: vehicle sensors, roadside sensors and smart street lights; the traffic information includes: vehicle speed, average speed of the fleet, and change in fleet length;
[0044] The detection module is used to detect the vehicle's deceleration behavior based on the vehicle speed, and then detect whether the vehicles in the convoy have lateral displacement based on the average speed of the convoy and the change in the convoy length, and determine whether a traffic incident has occurred on the road section based on the vehicle's deceleration behavior and the lateral displacement of the vehicles in the convoy.
[0045] On the other hand, the present invention also provides a blockchain-based intelligent traffic incident detection system, comprising: an information collection device, a distributed server;
[0046] The information collection device is used to collect road section data and send the road section data to the distributed server;
[0047] The distributed server is used to execute the blockchain-based intelligent traffic event detection method as described in an embodiment of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 This is a flow chart of an embodiment of the blockchain-based intelligent traffic incident detection method provided by the present invention;
[0049] Figure 2 This is a flow chart of another embodiment of the blockchain-based intelligent traffic incident detection method provided by the present invention;
[0050] Figure 3 This is a flow chart of another embodiment of the blockchain-based intelligent traffic incident detection method provided by the present invention;
[0051] Figure 4 This is a schematic structural diagram of an embodiment of a blockchain-based intelligent traffic incident detection device provided by the present invention;
[0052] Figure 5 This is a schematic structural diagram of another embodiment of the blockchain-based intelligent traffic incident detection device provided by the present invention;
[0053] Figure 6 This is a schematic diagram of the structure of an embodiment of a blockchain-based intelligent traffic incident detection system provided by the present invention;
[0054] Figure 7 It is a structural diagram of another embodiment of the blockchain-based traffic incident intelligent detection system provided by the present invention. DETAILED DESCRIPTION
[0055] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0056] Example 1
[0057] Please refer to Figure 1 The flowchart of an embodiment of the intelligent detection method for traffic incidents based on blockchain provided by the present invention mainly includes steps 101 and 102, which are specifically as follows:
[0058] Step 101: Receive road section data collected by several information collection devices, and process the road section data to obtain traffic information; wherein, the several information collection devices include: vehicle sensors, roadside sensors and smart street lights; the traffic information includes: vehicle speed, average speed of the fleet, and change in fleet length.
[0059] In this embodiment, the method of receiving road segment data collected by multiple information collection devices and processing the road segment data to obtain traffic information includes: the vehicle sensors include a navigation system and a wheel counter; the road segment data includes navigation speed and wheel speed; receiving the navigation speed uploaded by the navigation system and the wheel speed collected by the wheel counter; and fusing the navigation speed and the wheel speed to obtain the vehicle speed. Fusion of the navigation speed and the wheel speed can be obtained by taking the average of the navigation speed and the wheel speed; and the wheel speed can be obtained by multiplying the wheel speed by the tire circumference.
[0060] The present invention not only receives the vehicle speed collected by the navigation system, but also receives the vehicle speed detected by the vehicle roller counter, and fuses the two vehicle speeds to obtain the vehicle speed of a single vehicle, which more accurately reflects the driving speed of the vehicle at the scene of the traffic incident.
[0061] In this embodiment, the receiving of road section data collected by a plurality of information collection devices and obtaining traffic information after processing the road section data also includes: the receiving of road section data collected by a plurality of information collection devices and obtaining traffic information after processing the road section data also includes: wherein the road section data includes: several groups of fleet speed data and several groups of fleet length data; receiving several groups of fleet speed data collected by the roadside sensors, and receiving several groups of fleet length data collected by the roadside sensors according to a preset period; wherein the fleet includes: a central vehicle and other vehicles within a preset vehicle-to-vehicle spacing range; calculating the average speed of the fleet based on the several groups of fleet speed data; calculating the change in fleet length based on the several groups of fleet length data.
[0062] Step 102: Based on the vehicle speed, the vehicle's deceleration behavior is detected. Then, based on the average speed of the convoy and the change in the convoy length, whether the vehicles in the convoy have lateral displacement is detected. Combined with the vehicle's deceleration behavior and the lateral displacement of the vehicles in the convoy, it is determined that a traffic incident has occurred on the road section.
[0063] In this embodiment, after determining that a traffic incident has occurred on a road section based on the deceleration behavior and the lateral displacement of the fleet, the traffic information can be shared. The sharing method can be: uploading the traffic information to the blockchain and saving it; the traffic information can also be further sent to the traffic management department to enable the traffic management department to accurately grasp the road traffic situation.
[0064] The present invention receives road section data collected by multiple sensing devices, wherein: vehicle sensors can collect the driving speed of a single vehicle, roadside sensors can measure the driving status of multiple vehicles, and smart street lights can observe the traffic conditions of the entire road section; processes the road section data collected by several sensing devices to obtain information including vehicle speed and fleet driving status; then determines whether any vehicle suddenly decelerates due to a traffic incident based on the vehicle speed, and further determines whether the vehicle moves sideways based on the average speed and length of the fleet. If the vehicle moves sideways, it means that the vehicle has changed lanes due to a traffic incident. Therefore, it can be applied to high-speed sections with low traffic saturation and can more accurately detect the occurrence of traffic incidents.
[0065] In this embodiment, after determining whether a traffic incident has occurred based on the traffic information, it includes: when a traffic incident occurs, a response strategy is obtained based on the traffic information and the material information shared by the blockchain, combined with a preset resource scheduling model; wherein, the traffic information also includes: the location of the traffic accident; the material information includes: the rescue demand, the comprehensive response time, the amount of rescue resources owned, the average travel speed of the rescue force to the accident point, the average travel distance of the rescue force to the traffic accident location and the service scope of the rescue force; the response is sent to the traffic management unit, so that the traffic management unit can handle the traffic incident in a timely manner according to the response strategy.
[0066] In this embodiment, the preset resource scheduling model is specifically:
[0067]
[0068]
[0069] Among them, min Z is the response strategy, q o is the rescue demand at the traffic accident site; g oe The intensity of the service demand attracted by the traffic accident site to the rescue force location; e The comprehensive response time of rescue forces; Whether the traffic accident site needs rescue forces, 1 means yes, 0 means no; y e The amount of rescue resources owned by the rescue force; oe is the average travel speed of the rescue force to the accident site; d oe is the average travel distance from the rescue force to the traffic accident site; r e The service scope of the rescue force; N e A collection of rescue forces that meet rescue requirements. The resource scheduling model can be written into smart contracts, and the smart contracts can automatically generate response strategies for traffic incidents.
[0070] The present invention also quickly calculates corresponding strategies based on traffic information and resource information in combination with a preset resource scheduling model; and transmits the corresponding strategies to the traffic management department, which can respond to traffic incidents in a timely manner and effectively alleviate the impact of traffic incidents on road conditions.
[0071] Please refer to Figure 2 , a flow chart of another embodiment of the blockchain-based intelligent traffic incident detection method provided by the present invention mainly includes steps 201 to 208, which are specifically as follows:
[0072] In this embodiment, step 102 is specifically steps 201 to 208.
[0073] Step 201: Determine whether the vehicle speed of the selected vehicle is less than a first threshold; when the vehicle speed of the selected vehicle is less than the first threshold, execute step 202; when the vehicle speed of the selected vehicle is not less than the first threshold, execute step 203.
[0074] In this embodiment, the first threshold value can be manually set and used for comparison with the vehicle speed to determine whether the selected vehicle has a driving situation of significant deceleration or sudden deceleration; the comparison of the vehicle speed with the first threshold value can be: collecting several vehicle speeds of the selected vehicle according to a preset time period, accumulating the several vehicle speeds and comparing them with the first threshold value.
[0075] Step 202: Determine whether the selected vehicle has decelerated, set the selected vehicle as a central vehicle, and send a notification to the central vehicle so that the central vehicle establishes a fleet.
[0076] In this embodiment, the distance between vehicles in the convoy satisfies the following conditions:
[0077]
[0078] Among them, dist is the distance between the two cars, C i represents the i-th vehicle. Furthermore, C m , C m+1 ,……,C m+k These k cars form a fleet.
[0079] The longitudinal distance between the center vehicle and other vehicles within the preset inter-vehicle spacing range can be expressed as:
[0080]
[0081] Where n is the number of vehicles in the fleet, l is the average length of the vehicles, and λ i This represents the distance between the front of the i-th vehicle and the i+1-th vehicle in the convoy. During data upload, the central vehicle in this embodiment can be a candidate in the convoy. Once the candidate central vehicle has been verified and approved by more than half of the other vehicles in the convoy, it can act as the leader to upload vehicle information for the other vehicles in the convoy. Simultaneously, the central vehicle sends information to the other vehicles in the convoy via a heartbeat mechanism to ensure communication with them. Furthermore, when uploading road segment data, the central vehicle can protect the data using timestamp technology to prevent modification or corruption.
[0082] Step 203: Continue to receive road section data collected by several information collection devices.
[0083] Step 204: judging whether the number of vehicles whose speed in the road section where the selected vehicle is located is less than the first threshold is greater than a second threshold; when the number of vehicles whose speed in the road section where the selected vehicle is located is less than the first threshold is greater than the second threshold, step 205 is executed; when the number of vehicles whose speed in the road section where the selected vehicle is located is less than the first threshold is not greater than the second threshold, step 203 is executed.
[0084] Step 205: then judging that most vehicles decelerate; when it is judged that most vehicles decelerate, step 206 is executed.
[0085] Step 206: judging that the road section has a preliminarily identified traffic event.
[0086] Step 207: judging whether the average speed of the vehicle group is less than a third threshold and the length variation of the vehicle group is negative; when the average speed of the vehicle group is less than the third threshold and the length variation of the vehicle group is negative, step 208 is executed; when the average speed of the vehicle group is not less than the third threshold or the length variation of the vehicle group is not negative, step 203 is executed.
[0087] In the embodiment, the third threshold can be artificially set, when the average speed of the vehicle group is less than the third threshold, it indicates that the vehicle group as a whole decelerates, and a traffic event can occur; at the same time, when the length of the vehicle group shortens, it indicates that some vehicles in the vehicle group can avoid the obstacles at the occurrence site of the traffic event, so it is judged that the vehicles in the vehicle group have lateral displacement.
[0088] Step 208: judging that the vehicles in the vehicle group have lateral displacement; when it is judged that the vehicles in the vehicle group have lateral displacement, step 206 is executed.
[0089] In the embodiment, the lateral displacement of the vehicle group indicates that the vehicles in the vehicle group avoid the obstacles at the occurrence site of the traffic event, so the preliminary identified traffic event on the road section can be further judged according to the judgment result.
[0090] The application judges whether a traffic accident occurs according to various road surface information, first judges whether a single vehicle suddenly decelerates according to a first threshold, if the vehicle suddenly decelerates, a traffic event can occur; on this basis, further judges whether a traffic event occurs according to the driving condition of the vehicle group where the center vehicle is located, if the speed of some vehicles in the road section is less than the first threshold, it indicates that the vehicles cause traffic congestion due to the traffic event; if the length of the vehicle group shortens, the vehicles in the vehicle group can have lateral displacement or change lanes, so the occurrence of the traffic event is judged, and the occurrence of the traffic event is more accurately detected.
[0091] Please refer to Figure 3The flowchart of another embodiment of the blockchain-based intelligent traffic incident detection method provided by the present invention mainly includes steps 301 to 303, which are as follows:
[0092] In this embodiment, after step 206 , steps 301 to 303 are further included.
[0093] Step 301: Calculate the road section occupancy difference and road section traffic flow difference based on the road section data collected by the smart street lights.
[0094] In this embodiment, the section data collected by the smart street lamps are used to calculate the section occupancy difference and the section traffic flow difference, specifically: the section data includes: the upstream occupancy of the section, the downstream occupancy of the section, the section occupancy before the preset time, the current section occupancy, the upstream traffic flow of the section, the downstream traffic flow of the section, the traffic flow of the section before the preset time, and the current traffic flow of the section; the section data collected by the smart street lamps are received; the upstream and downstream section occupancy differences are calculated according to the upstream occupancy of the section and the downstream occupancy of the section; according to the The section occupancy rate before the preset time and the current section occupancy rate are used to calculate the difference in section occupancy rates before and after the time; the upstream and downstream section traffic flow rate difference is calculated based on the upstream traffic flow rate of the section and the downstream traffic flow rate of the section; the section traffic flow rate difference before and after the time is calculated based on the section traffic flow rate before the preset time and the current section traffic flow rate; the section occupancy rate difference includes: the upstream and downstream section occupancy rate difference and the section occupancy rate difference before and after the time; the section traffic flow rate difference includes: the upstream and downstream section traffic flow rate difference and the section traffic flow rate difference before and after the time.
[0095] The present invention receives the section data of the accident section uploaded by the smart street lamp, including: the occupancy rate of the upstream and downstream sections, the traffic volume of the upstream and downstream sections, the occupancy rate of the sections before and after, and the traffic volume of the sections before and after. According to these section data, the section occupancy rate difference and the section traffic volume difference are obtained, so as to more accurately detect the vehicle driving conditions of the section where the accident occurred in the traffic incident.
[0096] Step 302: Determine whether the road section occupancy difference is greater than the fourth threshold, and whether the road section traffic flow difference is greater than the fifth threshold; when the road section occupancy difference is greater than the fourth threshold, and the road section traffic flow difference is greater than the fifth threshold, execute step 303; when the road section occupancy difference is not greater than the fourth threshold, or the road section traffic flow difference is not greater than the fifth threshold, execute step 203.
[0097] In this embodiment, the traffic incident may cause different occupancy rates and traffic volumes upstream and downstream of the road section where the incident occurred. In the time period before and after the traffic incident, the occupancy rates and traffic volumes of the road section before and after the incident may also differ. Therefore, by comparing the difference in occupancy rates with a preset third threshold, and comparing the difference in traffic volumes with a preset fourth threshold, it is possible to further assist in determining whether a traffic incident has occurred on the road section.
[0098] Step 303: Determine whether a traffic incident that has been finally confirmed has occurred on the road section.
[0099] In this embodiment, all judgment processes can be written into the smart contract, and event records can be generated based on the detected road section data and processed traffic information; in addition, traffic event data from traffic management centers in various regions and fire and health departments can be uploaded to the distributed server in real time through the proof-of-work mechanism.
[0100] The present invention can also determine whether there is a large difference in road conditions between upstream and downstream sections, and whether there is a rapid change in road conditions before and after time periods based on the difference in road traffic volume after determining that the vehicle speeds of several vehicles in the road section are less than a first threshold, or that several vehicles in the fleet have undergone lateral displacement. The traffic conditions of the entire road section are taken into consideration when determining the occurrence of a traffic incident, and the detection of traffic incidents is more accurate and comprehensive than the existing technology.
[0101] Please refer to Figure 4 , a structural diagram of an embodiment of a traffic event intelligent detection device based on blockchain provided by the present invention, which mainly includes: a receiving module 401 and a detection module 402.
[0102] In this embodiment, the receiving module 401 is used to receive road section data collected by several information collection devices, and obtain traffic information after processing the road section data; wherein, the several information collection devices include: vehicle sensors, roadside sensors and smart street lights; the traffic information includes: vehicle speed, average speed of the fleet, and change in fleet length.
[0103] In this embodiment, the receiving module 401 also includes: a first receiving unit and a first processing unit; the vehicle sensor includes: a navigation system and a roller counter; the road section data includes: a navigation speed and a roller speed; the first receiving unit is used to receive the navigation speed uploaded by the navigation system and the roller speed collected by the roller counter; the first processing unit is used to fuse the navigation speed and the roller speed after the first receiving unit receives the navigation speed uploaded by the navigation system and the roller speed collected by the roller counter to obtain the vehicle speed.
[0104] In this embodiment, the receiving module 401 further includes: a second receiving unit and a second processing unit; wherein the road section data includes: several groups of convoy speed data and several groups of convoy length data; the second receiving unit is used to receive the several groups of convoy speed data collected by the roadside sensor, and receive the several groups of convoy length data collected by the roadside sensor according to a preset period; wherein the convoy includes: a central vehicle and other vehicles within a preset vehicle-to-vehicle spacing range; the vehicle speed of each vehicle includes: the speed of the leading vehicle in the convoy; the second processing unit is used to calculate the average speed of the convoy based on the several groups of convoy speed data after receiving the several groups of convoy speed data collected by the roadside sensor and the several groups of convoy length data collected by the roadside sensor according to a preset period at the second receiving unit; and calculate the change in the convoy length based on the several groups of convoy length data.
[0105] The detection module 402 is used to detect the deceleration behavior of the vehicle according to the vehicle speed after the receiving module 401 processes the road section data to obtain traffic information, and then detect whether the vehicles in the convoy have lateral displacement according to the average speed of the convoy and the change in the length of the convoy, and determine whether a traffic incident has occurred on the road section based on the deceleration behavior of the vehicle and the lateral displacement of the vehicles in the convoy.
[0106] In this embodiment, the detection module 402 is also connected to the response processing module, and the response processing module is connected to the response sending module; the response processing module is used to obtain a response strategy when a traffic incident occurs, based on the traffic information and the material information shared by the blockchain, combined with a preset resource scheduling model; wherein, the traffic information also includes: the location of the traffic accident; the material information includes: the rescue demand, the comprehensive response time, the amount of rescue resources owned, the average travel speed of the rescue force to the accident point, the average travel distance of the rescue force to the traffic accident location and the service scope of the rescue force; the response sending module is used to send the response to the traffic management unit after the response processing module obtains the response strategy, so that the traffic management unit can handle the traffic incident in a timely manner according to the response strategy.
[0107] Please refer to Figure 5 , a structural diagram of another embodiment of the blockchain-based intelligent traffic incident detection device provided by the present invention. Figure 5 and Figure 4 The main difference is that the detection module 402 further includes: a first judgment unit 501, a first execution unit 502, a second judgment unit 503, a second execution unit 504, a third judgment unit 505, a third execution unit 506 and a first confirmation unit 507.
[0108] In this embodiment, the first determination unit 501 is configured to determine whether the vehicle speed of the selected vehicle is less than a first threshold.
[0109] The first execution unit 502 is used to determine that the selected vehicle has decelerated when the vehicle speed is less than a first threshold, set the selected vehicle as a central vehicle, and send a notification to the central vehicle so that the central vehicle establishes a fleet; and to continue to receive road section data collected by multiple information collection devices when the vehicle speed is not less than the first threshold.
[0110] The second judgment unit 503 is used to judge whether the number of vehicles with speeds less than the first threshold in the road section where the selected vehicle is located is greater than a second threshold after the first execution unit 502 determines that the selected vehicle has decelerated.
[0111] The second execution unit 504 is used to determine that most vehicles have decelerated when the number of vehicles whose vehicle speeds in the road section where the selected vehicle is located are less than the first threshold is greater than the second threshold; and to continue to receive road section data collected by multiple information collection devices when the number of vehicles whose vehicle speeds in the road section where the selected vehicle is located are less than the first threshold is not greater than the second threshold.
[0112] The third judgment unit 505 is used to determine that the selected vehicle has decelerated in the first execution unit 502, set the selected vehicle as the central vehicle, and send a notification to the central vehicle so that after the central vehicle establishes a convoy, it determines whether the average speed of the convoy is less than a third threshold and whether the change in the convoy length is negative.
[0113] The third execution unit 506 is used to determine that the vehicles in the convoy have undergone lateral displacement when the average speed of the convoy is less than a third threshold value and the change in the length of the convoy is negative; and to continue to receive road section data collected by multiple information collection devices when the average speed of the convoy is not less than the third threshold value or the change in the length of the convoy is not negative.
[0114] The first confirmation unit 507 is configured to determine that a preliminarily identified traffic event occurs on the road section after the second execution unit 504 determines that a majority of vehicles have decelerated, or after the third execution unit 506 determines that the convoy has undergone lateral displacement.
[0115] In this embodiment, the detection module 402 further includes: a data processing unit, a fourth judgment unit, and a second confirmation unit.
[0116] In this embodiment, the data processing unit is used to calculate the road section occupancy difference and the road section traffic flow difference based on the road section data collected by the smart street lamps.
[0117] In the embodiment, the data processing unit further comprises a receiving subunit and a processing subunit; the road section data comprises a road section upstream occupancy rate, a road section downstream occupancy rate, a road section occupancy rate before a preset time, a current road section occupancy rate, a road section upstream vehicle flow, a road section downstream vehicle flow, a road section vehicle flow before a preset time, and a current road section vehicle flow; the receiving subunit is configured to receive the road section data collected by the smart street lamp; and the processing subunit is configured to, after the receiving subunit receives the road section data collected by the smart street lamp, calculate a difference between the road section upstream occupancy rate and the road section downstream occupancy rate to obtain an upstream and downstream road section occupancy rate difference; calculate a difference between the road section occupancy rate before the preset time and the current road section occupancy rate to obtain a before and after time road section occupancy rate difference; calculate a difference between the road section upstream vehicle flow and the road section downstream vehicle flow to obtain an upstream and downstream road section vehicle flow difference; and calculate a difference between the road section vehicle flow before the preset time and the current road section vehicle flow to obtain a before and after time road section vehicle flow difference; the road section occupancy rate difference comprises the upstream and downstream road section occupancy rate difference and the before and after time road section occupancy rate difference; and the road section vehicle flow difference comprises the upstream and downstream road section vehicle flow difference and the before and after time road section vehicle flow difference.
[0118] The third judging unit is configured to, after the data processing unit calculates the road section occupancy rate difference and the road section vehicle flow difference, judge whether the road section occupancy rate difference is greater than a fourth threshold value and whether the road section vehicle flow difference is greater than a fifth threshold value.
[0119] The second confirming unit is configured to, when the road section occupancy rate difference is greater than the third threshold value and the road section vehicle flow difference is greater than the fourth threshold value, determine that the road section has a finally identified traffic event; and configured to, when the road section occupancy rate difference is not greater than the third threshold value and the road section vehicle flow difference is not greater than the fourth threshold value, continue to receive road section data collected by the information collection devices.
[0120] Please refer to Figure 6 , the application provides a structure schematic diagram of an embodiment of a traffic event intelligent detection system based on a block chain, which mainly comprises an information collection device 601 and a distributed server 602.
[0121] In the embodiment, the information collection device 601 is configured to collect road section data and send the road section data to the distributed server.
[0122] The information collection device 601 can comprise a vehicle sensor, a roadside sensor, and a smart street lamp; and the road section data can comprise a vehicle speed, a vehicle fleet average speed, a vehicle fleet length change amount, a road section upstream occupancy rate, a road section downstream occupancy rate, a road section occupancy rate before a preset time, a current road section occupancy rate, a road section upstream vehicle flow, a road section downstream vehicle flow, a road section vehicle flow before a preset time, and a current road section vehicle flow.
[0123] The distributed server 602 is configured to execute the blockchain-based intelligent traffic event detection method as described in any one of steps 101-102, steps 201-208, and steps 301-303.
[0124] Referring to Figure 7 The present application provides a structural diagram of another embodiment of the blockchain-based intelligent traffic event detection system, wherein the distributed server 602 is arranged at each road section of the expressway and each traffic event response department, configured to collect and analyze the collected information, and share the information to the blockchain network through the consensus mechanism.
[0125] In the embodiment, the expressway has a plurality of road sections, each road section of the expressway has an information collection device 601, a receiving device configured to receive the road section data collected by the information collection device 601, and a corresponding consensus node; wherein the receiving device can include a distributed server 602. There are a plurality of departments responding to traffic events, and each traffic event response department also has an information collection device 601, a receiving device configured to receive the road section data collected by the information collection device 601, and a corresponding consensus node; in addition, each consensus node is connected to each other and connected to the blockchain network.
[0126] In the road traffic event detection, the data of the vehicle speed and the vehicle position are fused from the data of the satellite navigation system and the vehicle-mounted sensor, so that the accuracy of the measured vehicle speed is better than that of the general measurement; the driving state of the vehicle fleet is detected in real time by using the Internet of Vehicles technology to preliminarily judge the occurrence of the road traffic event, and the road section is further observed by the road section occupancy rate and the road section traffic flow; therefore, it can not only be applied to the low traffic saturation expressway section, but also improve the detection accuracy of the traffic event according to the multiple judgment standards. The traffic event response strategy is calculated according to the resource scheduling model, and the response strategy and the traffic information are sent to the traffic management department to realize the rapid processing of the traffic event; at the same time, the resource scheduling model considers the distribution of the human resources or the material resources around the traffic incident site, so that the calculated response strategy can also help to save the material resources.
[0127] The above-described specific embodiments further illustrate the purpose, technical solutions and beneficial effects of the present application, and it should be understood that the above-described specific embodiments are only specific embodiments of the present application and are not used to limit the protection scope of the present application. It is particularly pointed out that any modification, equivalent replacement, improvement, etc. made by those skilled in the art 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 intelligent detection method based on blockchain, applied to blockchain nodes of a blockchain network, characterized in that: include: Receiving road section data collected by a plurality of information collection devices, and processing the road section data to obtain traffic information; wherein the plurality of information collection devices include: vehicle sensors, roadside sensors, and smart street lights; the traffic information includes: vehicle speed, average speed of the fleet, and change in fleet length; Based on the vehicle speed, the deceleration behavior of the vehicle is detected. Then, based on the average speed of the convoy and the change in the length of the convoy, whether the vehicles in the convoy have lateral displacement is detected. In combination with the deceleration behavior of the vehicle and the lateral displacement of the vehicles in the convoy, it is determined that a traffic incident has occurred on the road section. Specifically, determining whether the vehicle speed of the selected vehicle is less than a first threshold; When the vehicle speed is less than a first threshold, the selected vehicle is determined to have decelerated, the selected vehicle is set as a central vehicle, and a notification is sent to the central vehicle to enable the central vehicle to establish a convoy; when the vehicle speed is not less than the first threshold, the road section data collected by the plurality of information collection devices is continued to be received; Determine whether the number of vehicles in the road section where the selected vehicle is located whose vehicle speed is less than the first threshold is greater than a second threshold; if so, determine that the majority of vehicles have decelerated; otherwise, continue to receive road section data collected by the plurality of information collection devices; determining whether the average speed of the convoy is less than a third threshold and whether the change in the length of the convoy is negative; if so, determining that lateral displacement has occurred in the vehicles in the convoy; otherwise, continuing to receive the road section data collected by the plurality of information collection devices; When it is determined that most vehicles have decelerated, or when it is determined that the vehicles in the fleet have undergone lateral displacement, it is determined that a preliminarily recognized traffic event has occurred on the road section.
2. The method for intelligent traffic incident detection based on blockchain according to claim 1, characterized in that: After determining that a preliminarily identified traffic incident occurs on the road section, the method further includes: Based on the road section data collected by smart street lights, the road section occupancy difference and road section traffic flow difference are calculated; Determine whether the difference in the road section occupancy is greater than a fourth threshold, and whether the difference in the road section traffic volume is greater than a fifth threshold; if so, determine that a finally recognized traffic incident has occurred on the road section; otherwise, continue to receive road section data collected by several information collection devices.
3. A method for intelligent traffic incident detection based on blockchain according to any one of claims 1-2, characterized in that: The receiving device receives the road section data collected by the information collection device, processes the road section data to obtain traffic information, include: The vehicle sensors include: a navigation system and a roller counter; the road section data include: navigation speed and roller speed; Receive the navigation speed uploaded by the navigation system and the roller speed collected by the roller counter; The navigation speed and the wheel speed are combined to obtain the vehicle speed.
4. A method for intelligent traffic incident detection based on blockchain according to any one of claims 1-2, characterized in that: The receiving device receives the road section data collected by several information collection devices, processes the road section data to obtain traffic information, and include: The road section data includes: several groups of fleet speed data, several groups of fleet length data; receiving a plurality of sets of convoy speed data collected by the roadside sensors, and receiving a plurality of sets of convoy length data collected by the roadside sensors at a preset period; wherein the convoy includes: a central vehicle and other vehicles within a preset inter-vehicle spacing range; The average speed of the convoy is calculated based on the plurality of groups of convoy speed data; and the change in the convoy length is calculated based on the plurality of groups of convoy length data.
5. The method for intelligent traffic incident detection based on blockchain according to claim 2, characterized in that: The road section occupancy difference and road section traffic flow difference are calculated based on the road section data collected by the smart street lamps, specifically: The road section data includes: upstream occupancy rate of the road section, downstream occupancy rate of the road section, occupancy rate of the road section before the preset time, current road section occupancy rate, upstream traffic flow of the road section, downstream traffic flow of the road section, traffic flow of the road section before the preset time, and current traffic flow of the road section; Receiving the road section data collected by the smart street lamp; According to the upstream occupancy of the section and the downstream occupancy of the section, the difference in the upstream and downstream section occupancy is calculated; according to the section occupancy before the preset time and the current section occupancy, the difference in the section occupancy before and after time is calculated; according to the upstream traffic volume of the section and the downstream traffic volume of the section, the difference in the upstream and downstream section traffic volume is calculated; according to the traffic volume of the section before the preset time and the current section traffic volume, the difference in the section traffic volume before and after time is calculated; the section occupancy difference includes: the difference in the upstream and downstream section occupancy and the difference in the section occupancy before and after time; the section traffic volume difference includes: the difference in the upstream and downstream section traffic volume and the difference in the section traffic volume before and after time.
6. A method for intelligent traffic incident detection based on blockchain according to any one of claims 1-2, characterized in that: After determining whether a traffic incident occurs according to the traffic information, the method further includes: When a traffic incident occurs, a response strategy is derived based on the traffic information and the resource information shared on the blockchain, combined with a preset resource scheduling model. The traffic information also includes the location of the traffic accident. The resource information includes the rescue demand, the overall response time, the amount of rescue resources available, the average travel speed of the rescue force to the accident site, the average travel distance of the rescue force to the accident site, and the service coverage of the rescue force. The response is sent to a traffic management unit so that the traffic management unit can handle the traffic event in a timely manner according to the response strategy.
7. The method for intelligent traffic incident detection based on blockchain according to claim 6, characterized in that: The preset resource scheduling model is specifically: Among them, min Z is the response strategy, q o is the rescue demand at the traffic accident site; g oe The intensity of the service demand attracted by the traffic accident site to the rescue force location; e The comprehensive response time of rescue forces; Whether the traffic accident site needs rescue forces, 1 means yes, 0 means no; y e The amount of rescue resources owned by the rescue force; oe is the average travel speed of the rescue force to the accident site; d oe is the average travel distance from the rescue force to the traffic accident site; r e The service scope of the rescue force; N e A collection of rescue forces that meet the rescue requirements.
8. A traffic incident intelligent detection device based on blockchain, characterized in that: include: Receiving module and detecting module; The receiving module is used to receive road section data collected by a number of information collection devices and process the road section data to obtain traffic information; wherein the several information collection devices include: vehicle sensors, roadside sensors and smart street lights; the traffic information includes: vehicle speed, average speed of the fleet, and change in fleet length; The detection module is used to detect the deceleration behavior of the vehicle based on the vehicle speed, and then detect whether the vehicles in the convoy have lateral displacement based on the average speed of the convoy and the change in the length of the convoy, and determine whether a traffic incident has occurred on the road section based on the deceleration behavior of the vehicle and the lateral displacement of the vehicles in the convoy, specifically: determining whether the vehicle speed of the selected vehicle is less than a first threshold; When the vehicle speed is less than a first threshold, the selected vehicle is determined to have decelerated, the selected vehicle is set as a central vehicle, and a notification is sent to the central vehicle to enable the central vehicle to establish a convoy; when the vehicle speed is not less than the first threshold, the road section data collected by the plurality of information collection devices is continued to be received; Determine whether the number of vehicles in the road section where the selected vehicle is located whose vehicle speed is less than the first threshold is greater than a second threshold; if so, determine that the majority of vehicles have decelerated; otherwise, continue to receive road section data collected by the plurality of information collection devices; determining whether the average speed of the convoy is less than a third threshold and whether the change in the length of the convoy is negative; if so, determining that lateral displacement has occurred in the vehicles in the convoy; otherwise, continuing to receive the road section data collected by the plurality of information collection devices; When it is determined that most vehicles have decelerated, or when it is determined that the vehicles in the fleet have undergone lateral displacement, it is determined that a preliminarily recognized traffic event has occurred on the road section.
9. A traffic incident intelligent detection system based on blockchain, characterized in that: include: Information collection equipment and distributed servers; The information collection device is used to collect road section data and send the road section data to the distributed server; The distributed server is used to execute the blockchain-based intelligent traffic event detection method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Road traffic accident judging method and device
CN106652445A