CN114913682B - Highway resource allocation method and device, computer equipment and storage medium - Google Patents

Highway resource allocation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114913682B
CN114913682B CN202210242901.6A CN202210242901A CN114913682B CN 114913682 B CN114913682 B CN 114913682B CN 202210242901 A CN202210242901 A CN 202210242901A CN 114913682 B CN114913682 B CN 114913682B
Authority
CN
China
Prior art keywords
detection
distance
expressway
highway
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210242901.6A
Other languages
Chinese (zh)
Other versions
CN114913682A (en
Inventor
戴连贵
邢万勇
廖伟军
彭思岭
钟宇翀
金雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Litong Technology Investment Co ltd
Original Assignee
Guangdong Litong Technology Investment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Litong Technology Investment Co ltd filed Critical Guangdong Litong Technology Investment Co ltd
Priority to CN202210242901.6A priority Critical patent/CN114913682B/en
Publication of CN114913682A publication Critical patent/CN114913682A/en
Application granted granted Critical
Publication of CN114913682B publication Critical patent/CN114913682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/065Traffic control systems for road vehicles by counting the vehicles in a section of the road or in a parking area, i.e. comparing incoming count with outgoing count
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/052Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed

Abstract

The application relates to a method and a device for allocating highway resources, computer equipment and a storage medium. The method comprises the following steps: determining the compression wave velocity of the expressway according to the traffic density of a first detection position of the expressway, a preset traffic density target value and the free driving speed of the vehicle; the first detection position is located at an upstream position of the expressway; determining a first detection distance between a first detection position and an accident occurrence position on the expressway according to the wave velocity of the compression wave and a preset first response time; determining a second detection distance between a second detection position of the expressway and the accident occurrence position; the second detection position is located at a downstream position of the expressway; and according to the first detection distance and the second detection distance, carrying out resource allocation on the expressway. By adopting the method, the layout interval of the detection equipment can be reasonably set, and the detection equipment can be ensured to detect traffic accidents on the highway in time under the free flow situation.

Description

Highway resource allocation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of intelligent transportation technologies, and in particular, to a method, an apparatus, a computer device, a storage medium, and a computer program product for allocating highway resources.
Background
Along with the increase of the mileage of the highway and the continuous increase of the flow of the motor vehicles, the occurrence frequency of traffic accidents is gradually increased, the traffic accidents are detected and processed in time, and the operation efficiency of traffic roads can be improved.
In the prior art, traffic accidents are monitored by using detection devices deployed on a highway, for example, intelligent monitors, and the arrangement intervals of the detection devices are configured manually. In the free flow situation, the traffic flow on the highway is in a low density state, and a large layout distance is usually set on a road with a large free flow probability during manual configuration. However, when the layout distance of the detection devices is too large, traffic accidents may not be detected in time, which may easily cause a reduction in the operation efficiency of the traffic road.
Therefore, the problem that the traffic accident detection is not timely exists in the arrangement of the detection equipment on the expressway at present.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device, a computer readable storage medium and a computer program product for allocating highway resources, which can detect traffic accidents in time.
In a first aspect, the present application provides a method for allocating highway resources. The method comprises the following steps:
determining the compression wave velocity of the expressway according to the traffic density of a first detection position of the expressway, a preset traffic density target value and the free driving speed of a vehicle; the first detection position is located at an upstream position of the expressway;
determining a first detection distance between the first detection position and the accident occurrence position on the expressway according to the wave velocity of the compressional wave and a preset first response time;
determining a second detection distance between a second detection position of the expressway and the accident occurrence position; the second detection location is located at a downstream location of the highway;
and according to the first detection distance and the second detection distance, performing resource allocation on the expressway.
In one embodiment, the resource allocation for the expressway according to the first detection distance and the second detection distance includes:
taking the minimum value of the first detection distance and the second detection distance as a target detection distance;
multiplying the target detection distance by a preset coefficient to obtain a first deployment distance of the detection equipment on the expressway;
and configuring the detection equipment on the expressway according to the first deployment distance of the detection equipment.
In one embodiment, the resource allocation for the highway according to the first detection distance and the second detection distance further includes:
summing the first detection distance and the second detection distance to obtain a second deployment distance of the detection equipment;
and configuring the detection equipment on the expressway according to the second deployment distance of the detection equipment.
In one embodiment, the resource allocation for the highway according to the first detection distance and the second detection distance further includes:
acquiring a deployment distance threshold of the detection equipment;
and under the condition that the first deployment distance or the second deployment distance of the detection equipment exceeds the deployment distance threshold, configuring the detection equipment on the expressway according to the deployment distance threshold.
In one embodiment, before the step of determining the compressional wave velocity of the expressway according to the traffic density of the first detection position of the expressway, a preset traffic density target value and a vehicle free-running speed, the method further comprises the following steps:
determining a density state of traffic flow on the highway;
the method for determining the compression wave velocity of the expressway according to the traffic density of the first detection position of the expressway, a preset traffic density target value and the free driving speed of the vehicle comprises the following steps of:
and under the condition that the density state is a low density state, determining the compression wave velocity of the expressway according to the traffic density of a first detection position of the expressway, a preset traffic density target value and the free running speed of the vehicle.
In one embodiment, the determining the density status of the traffic flow on the highway comprises:
acquiring a target road section on the expressway;
determining an absolute difference of an occupancy rate between a first detection position and a second detection position of the target road section, a first relative difference of an occupancy rate between the first detection position and the second detection position of the target road section, and a second relative difference of an occupancy rate of the second detection position of the target road section;
determining that the density state of the highway is the low density state when the absolute difference value is smaller than a first threshold value, the first relative difference value is smaller than a second threshold value, and the second relative difference value is smaller than a third threshold value.
In a second aspect, the application further provides a device for allocating highway resources. The device comprises:
the compression wave velocity module is used for determining the compression wave velocity of the expressway according to the traffic flow density of a first detection position of the expressway, a preset traffic flow density target value and the free driving speed of a vehicle; the first detection position is located at an upstream position of the expressway;
the first distance module is used for determining a first detection distance between the first detection position and the accident occurrence position on the expressway according to the wave velocity of the compressional wave and a preset first response time;
a second distance module for determining a second detection distance between a second detection location of the highway and the accident occurrence location; the second detection position is located at a downstream position of the expressway;
and the resource allocation module is used for allocating resources to the expressway according to the first detection distance and the second detection distance.
In a third aspect, the application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
determining the compression wave velocity of the expressway according to the traffic density of a first detection position of the expressway, a preset traffic density target value and the free driving speed of a vehicle; the first detection position is located at an upstream position of the expressway;
determining a first detection distance between the first detection position and the accident occurrence position on the expressway according to the wave velocity of the compressional wave and a preset first response time;
determining a second detection distance between a second detection position of the expressway and the accident occurrence position; the second detection position is located at a downstream position of the expressway;
and according to the first detection distance and the second detection distance, carrying out resource allocation on the expressway.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
determining the compression wave velocity of the highway according to the traffic density of a first detection position of the highway, a preset traffic density target value and the free running speed of a vehicle; the first detection position is located at an upstream position of the expressway;
determining a first detection distance between the first detection position and the accident occurrence position on the expressway according to the wave velocity of the compressional wave and a preset first response time;
determining a second detection distance between a second detection location of the highway and the accident occurrence location; the second detection location is located at a downstream location of the highway;
and according to the first detection distance and the second detection distance, carrying out resource allocation on the expressway.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
determining the compression wave velocity of the expressway according to the traffic density of a first detection position of the expressway, a preset traffic density target value and the free driving speed of a vehicle; the first detection position is located at an upstream position of the expressway;
determining a first detection distance between the first detection position and the accident occurrence position on the expressway according to the wave speed of the compressional wave and a preset first response time;
determining a second detection distance between a second detection location of the highway and the accident occurrence location; the second detection position is located at a downstream position of the expressway;
and according to the first detection distance and the second detection distance, carrying out resource allocation on the expressway.
According to the method, the device, the computer equipment, the storage medium and the computer program product for allocating the highway resources, the compression wave velocity of the highway is determined according to the traffic flow density of the first detection position of the highway, the preset traffic flow density target value and the free running speed of the vehicle, the first detection distance between the first detection position and the accident occurrence position on the highway is determined according to the compression wave velocity and the preset first response time, the distance between the detection equipment and the traffic accident position can be determined at the upstream of the highway, and the detection equipment can detect the traffic accident in time within the response time; determining a second detection distance between a second detection position of the expressway and an accident occurrence position, wherein the distance between the detection equipment and a traffic accident position can be determined at the downstream of the expressway, and the detection equipment can also detect the traffic accident in time within response time; according to the first detection distance and the second detection distance, resource allocation is carried out on the highway, the distances between the upstream detection equipment and the downstream detection equipment and the traffic accident position can be accurately determined, the arrangement distance of the detection equipment is reasonably set according to the distances, and the detection equipment can be ensured to be capable of detecting the traffic accident on the highway in time under the free flow situation.
Drawings
FIG. 1 is a schematic flow chart of a highway resource allocation method according to an embodiment;
FIG. 2 is a schematic illustration of the deployment of highway detection equipment in one embodiment;
FIG. 3 is a schematic flow chart of a highway resource allocation method according to another embodiment;
FIG. 4 is a block diagram of an exemplary highway resource allocation device;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The expressway resource allocation method provided by the embodiment of the application can be applied to a terminal or a server. The terminal can be but not limited to various personal computers, notebook computers, smart phones, tablet computers, internet of things equipment and portable wearable equipment, and the internet of things equipment can be smart sound boxes, smart televisions, smart air conditioners, smart vehicle-mounted equipment and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers.
In one embodiment, as shown in fig. 1, a method for allocating highway resources is provided, which is described by taking the method as an example for being applied to a server, and includes the following steps:
step S110, determining the compression wave velocity of the highway according to the traffic density of the first detection position of the highway, a preset traffic density target value and the free running speed of the vehicle; the first detection position is located at an upstream position of the expressway.
The traffic density target value may be an optimal traffic density.
The free-run speed of the vehicle may be a speed of the vehicle when the vehicle is free-run on a highway.
Wherein the first detection position may be a position upstream of a traffic accident occurrence position on the expressway.
In specific implementation, a first detector can be arranged at a first detection position of the highway, the traffic flow density and the traffic flow of the first detection position are collected through the first detector, the detector can send the collected traffic flow density and the collected traffic flow to a server, the server inputs the received traffic flow density of the first detection position into a preset compression wave speed model, and the compression wave speed is obtained through the compression wave speed model according to a traffic flow density target value and the free driving speed of the vehicle, which are pre-stored in the server.
For example, it can be assumed that the vehicles on the highway are uniformly distributed, and when a traffic accident occurs, the traffic speed is reduced, so that the traffic flow is blocked, and a traffic bottleneck is formed. According to the traffic flow theory, traffic flow obstruction causes the generation of compression waves and propagates backward in the traffic flow direction. FIG. 2 provides a schematic illustration of the deployment of highway detection equipment. According to fig. 2, a detector a may be arranged upstream of the highway and a detector B may be arranged downstream of the highway, point C between detectors a and B being the point where the traffic accident occurs and D being the last vehicle to pass point C before the accident occurs. Assuming that the section of the detector A is a section A, the section of the detector B is a section B, when a traffic accident occurs at the point C, the traffic flow at the downstream of the point C is not affected, the vehicle still runs at the original speed, after the point D passes through the detector B, the traffic flow at the section B generates an abnormal condition, and assuming that the moment when the detector B detects the abnormal condition is t 1 At the moment, the detector B collects the traffic flow density and the traffic flow at the section B; at the upstream of point C, a compression wave appears and is transmitted to the detector A in turn, and the moment when the detector A detects the traffic flow abnormity is assumed to be t 2 At this time, the detector a collects the traffic density and the traffic flow at the section a.
Compressional wave velocity V W Can be calculated as
Figure BDA0003543380480000061
Wherein k is 1 ,k 2 The traffic density (unit) of the section A, B: vehicle/km), q 1 ,q 2 The section A, B is the traffic flow (unit: vehicle/h).
Under the free flow scene, the traffic volume is not large, the traffic flow density is in a low density state, and according to the traffic flow theory, the traffic flow running speed and the traffic flow density can meet the following relation
Figure BDA0003543380480000071
Thus obtaining a compressional wave velocity of
Figure BDA0003543380480000072
Wherein k is 1 Is the traffic density, k, at the section B of the highway m For optimum traffic density, v, on motorways f Is the vehicle free-running speed. The server may pre-store k m And v f The detector A can acquire the traffic density k 1 Sent to the server, and the server receives k 1 Then, k is put 1 、k m 、v f Substituting into a compressional wave velocity calculation formula to obtain the compressional wave velocity.
And step S120, determining a first detection distance between the first detection position and the accident occurrence position on the expressway according to the wave speed of the compression waves and a preset first response time.
Wherein the first response time may be a time for the compressional wave to propagate from the incident location to the first detector.
In specific implementation, the server may obtain a time when a traffic accident occurs and a time when a fluctuation caused by the traffic accident is transmitted to the first detector, and use a difference between the time when the fluctuation is transmitted to the first detector and the time when the traffic accident occurs as a first response time, and the server may further multiply a compression wave velocity by the first response time to obtain a first detection distance between the first detection position and an accident occurrence position on the highway.
For example, let t be the time of occurrence of a traffic accident 0 The time t at which the fluctuations caused by the traffic accident propagate to the upstream detector A is 1 The first response time t can be obtained 1 -t 0 Due to the velocity of compressional waves being V W A first detection distance X between the detector A and the traffic accident occurrence point C can be obtained 1 Is composed of
X 1 =V w ×(t 1 -t 0 )。
Step S130, determining a second detection distance between a second detection position of the expressway and an accident occurrence position; the second detection position is located at a downstream position of the highway.
Wherein the second detection position may be a position downstream of the traffic accident occurrence position on the expressway.
In concrete implementation, the server may obtain a time when the traffic accident occurs and a time when the fluctuation caused by the traffic accident is propagated to the second detector, and use a difference value between the time when the fluctuation is propagated to the second detector and the time when the traffic accident occurs as the second response time, and the server may further multiply the free-running speed of the vehicle on the expressway by the second response time to obtain the second detection distance.
For example, let t be the time of occurrence of a traffic accident 0 The time t at which the fluctuations caused by the traffic accident propagate to the downstream detector B is 2 The second response time t can be obtained 2 -t 0 Let the free running speed of the vehicle on the expressway be V f A second detection distance X between the detector B and the traffic accident occurrence point C can be obtained 2 Is composed of
X 2 =V f ×(t 2 -t 0 )。
And step S140, performing resource allocation on the expressway according to the first detection distance and the second detection distance.
In the specific implementation, the first detection distance and the second detection distance may be added to obtain the deployment distance of the detection device on the highway, the minimum value of the first detection distance and the second detection distance may be further obtained, the minimum value is multiplied by a preset coefficient to obtain the deployment distance of the detection device, and the server may configure the distance between the detection devices on the highway according to the deployment distance of the detection device.
For example, the calculation formula of the layout spacing between the detector A and the detector B may be
L 1 =X 1 +X 2
The distance between all adjacent detectors on the highway can be set to L 1
It may be further configured that the server reacts to a traffic accident when any one of the detector a or the detector B detects an abnormal traffic flow, so that the preset coefficient may be set to 2, and the calculation formula of the arrangement distance between the detector a and the detector B may be set to
L 2 =2*min(X 1 ,X 2 )。
The distance between all adjacent detectors on the highway can be set to L 2
According to the method for allocating the expressway resources, the compression wave velocity of the expressway is determined according to the traffic flow density of the first detection position of the expressway, the preset traffic flow density target value and the free running speed of the vehicle, the first detection distance between the first detection position and the accident occurrence position on the expressway is determined according to the compression wave velocity and the preset first response time, the distance between the detection equipment and the traffic accident position can be determined at the upstream of the expressway, and the detection equipment can timely detect the traffic accident within the response time; determining a second detection distance between a second detection position of the expressway and an accident occurrence position, wherein the distance between the detection equipment and a traffic accident position can be determined at the downstream of the expressway, and the detection equipment can also detect the traffic accident in time within response time; according to the first detection distance and the second detection distance, resource allocation is carried out on the highway, the distances between the upstream detection equipment and the downstream detection equipment and the traffic accident position can be accurately determined, the arrangement distance of the detection equipment is reasonably set according to the distances, and the detection equipment can be ensured to be capable of detecting the traffic accident on the highway in time under the free flow situation.
In an embodiment, the step S140 may specifically include: taking the minimum value of the first detection distance and the second detection distance as a target detection distance; multiplying the target detection distance by a preset coefficient to obtain a first deployment distance of the detection equipment on the highway; and configuring the detection equipment on the expressway according to the first deployment distance of the detection equipment.
In the specific implementation, a preset coefficient may be prestored in the server, the server may further use a minimum value between the first detection distance and the second detection distance as the target detection distance, obtain a deployment distance of the detection device on the highway by multiplying the target detection distance by the preset coefficient, use the deployment distance as the first deployment distance, and configure the detection device, where the server may configure the distance between adjacent detection devices on the highway as the first deployment distance.
For example, a preset coefficient may be set to 2 when determining the first detection distance X 1 And a second detection distance X 2 Thereafter, the first deployment distance of the detection device on the highway may be
L 2 =2*min(X 1 ,X 2 )。
In this embodiment, the minimum value between the first detection distance and the second detection distance is used as a target detection distance, the target detection distance is multiplied by a preset coefficient to obtain a first deployment distance of the detection device on the highway, and the detection device on the highway is configured according to the first deployment distance of the detection device, so that when a traffic accident is detected by any upstream or downstream detection device, traffic accident information can be reported to the server, so that the server can detect the traffic accident in time and react to the traffic accident.
In an embodiment, the step S140 may further include: summing the first detection distance and the second detection distance to obtain a second deployment distance of the detection equipment; and configuring the detection equipment on the expressway according to the second deployment distance of the detection equipment.
In a specific implementation, the server may sum the first detection distance and the second detection distance to obtain a deployment distance of the detection devices on the highway, and the deployment distance is used as the second deployment distance.
For example, in determining the first detection distance X 1 And a second detection distance X 2 Thereafter, the second deployment distance of the detection device on the highway may be
L 1 =X 1 +X 2
In the embodiment, the second deployment distance of the detection equipment is obtained by summing the first detection distance and the second detection distance, and the detection equipment on the highway is configured according to the second deployment distance of the detection equipment, so that the distance between the upstream detection equipment and the downstream detection equipment at the traffic accident position in the free flow situation can be simulated, and the accuracy of the distance deployment of the detection equipment is improved.
In an embodiment, the step S140 may further include: acquiring a deployment distance threshold of the detection equipment; and under the condition that the first deployment distance or the second deployment distance of the detection equipment exceeds a deployment distance threshold, configuring the detection equipment on the expressway according to the deployment distance threshold.
In a specific implementation, a deployment distance threshold of the detection device may be pre-stored in the server, after determining the first deployment distance (or the second deployment distance) of the detection device on the highway, the first deployment distance (or the second deployment distance) may be compared with the deployment distance threshold, if the first deployment distance (or the second deployment distance) does not exceed the deployment distance threshold, the distance between the detection devices on the highway may be set as the first deployment distance (or the second deployment distance), and if the first deployment distance (or the second deployment distance) exceeds the deployment distance threshold, the distance between the detection devices on the highway may be set as the deployment distance threshold.
In this embodiment, by obtaining the deployment distance threshold of the detection device, the detection device on the highway is configured according to the deployment distance threshold when the first deployment distance or the second deployment distance of the detection device exceeds the deployment distance threshold, so that the calculated deployment distance of the detection device does not exceed the preset threshold, the low data acquisition precision caused by the excessively large deployment distance of the detection device is avoided, and the reliability of resource configuration is improved.
In an embodiment, before the step S110, the method may further include the step of: determining the density state of traffic flow on the expressway; the step S110 may specifically include: and under the condition that the density state is a low density state, determining the compression wave velocity of the expressway according to the traffic density of the first detection position of the expressway, a preset traffic density target value and the free running speed of the vehicle.
The density state may be a density condition of the traffic flow, and may be a high density state or a low density state, for example.
In a specific implementation, the server may determine a section of target road segment on the highway, determine the density state of the target road segment by collecting occupancy data of vehicles on the target road segment, and use the density state as the density state of the highway traffic flow, when it is determined that the density state is the low density state, the step S110 may be executed, otherwise, if it is determined that the density state is not the low density state, for example, the density state is the high density state, the step S110 does not need to be executed, and at this time, a configuration method of the highway detection device in a high density traffic flow situation may be adopted.
In this embodiment, the density state of the traffic flow on the highway is determined, and when the density state is the low density state, the compression wave velocity of the highway is determined according to the traffic flow density of the first detection position of the highway, the preset traffic flow density target value and the free driving speed of the vehicle, so that the highway resource allocation method can be executed on the basis of accurately judging the traffic flow density state, and the reliability of resource allocation is improved.
In an embodiment, the step of determining the density state of the traffic flow on the expressway may specifically include: acquiring a target road section on a highway; determining an absolute difference of an occupancy rate between a first detection position and a second detection position of the target road section, a first relative difference of an occupancy rate between the first detection position and the second detection position of the target road section, and a second relative difference of an occupancy rate of the second detection position of the target road section; and under the condition that the absolute difference value is smaller than a first threshold value, the first relative difference value is smaller than a second threshold value and the second relative difference value is smaller than a third threshold value, determining that the density state of the expressway is a low density state.
In the concrete implementation, when the traffic flow density state on the highway is determined, a section of target road section on the highway can be obtained, a first detection position and a second detection position of the target road section are determined, an absolute difference of an occupancy between the first detection position and the second detection position, a first relative difference of the occupancy between the first detection position and the second detection position, and a second relative difference of the occupancy of the second detection position are calculated, if the absolute difference is smaller than a first threshold, the first relative difference is smaller than a second threshold, and the second relative difference is smaller than a third threshold, the density state of the highway can be determined to be a low density state, otherwise, if any one of the absolute difference, the first relative difference, and the second relative difference is not smaller than a corresponding threshold, the density state can be determined not to be the low density state.
For example, whether congestion occurs can be judged using the following three conditions,
OCCDF=OCC(i,t)-OCC(i+1,t)≥K 1
Figure BDA0003543380480000121
Figure BDA0003543380480000122
OCCDF is the absolute difference between the upstream and downstream occupancy of the congested road segment, OCCRDF is the relative difference between the upstream and downstream occupancy of the congested road segment, DOCCTD is the relative difference between the downstream occupancy at the beginning of congestion, OCC (i, t) is the occupancy measured by the ith detector at time t, and K 1 、K 2 、K 3 Respectively, the threshold values of the corresponding conditions. And if the three conditions are not met, judging the low density state.
In this embodiment, by obtaining a target road segment on an expressway, determining an absolute difference of an occupancy rate between a first detection position and a second detection position of the target road segment, a first relative difference of an occupancy rate between the first detection position and the second detection position of the target road segment, and a second relative difference of an occupancy rate of the second detection position of the target road segment, and determining that a density state of the expressway is a low density state when the absolute difference is smaller than a first threshold, the first relative difference is smaller than a second threshold, and the second relative difference is smaller than a third threshold, the low density state of the expressway can be accurately determined, and reliability of resource allocation of the expressway is improved.
In one embodiment, as shown in fig. 3, a method for allocating highway resources is provided, which is described by taking the method as an example for being applied to a server, and includes the following steps:
step S310, determining the density state of the traffic flow on the expressway;
step S320, under the condition that the density state is a low density state, determining the compression wave velocity of the expressway according to the traffic density of the first detection position of the expressway, a preset traffic density target value and the free driving speed of the vehicle;
step S330, determining a first detection distance between a first detection position and an accident occurrence position on the highway according to the wave velocity of the compressional wave and a preset first response time;
step S340, determining a second detection distance between a second detection position of the expressway and an accident occurrence position; the second detection position is located at a downstream position of the expressway;
and step S350, performing resource allocation on the expressway according to the first detection distance and the second detection distance.
The highway resource allocation method comprises the steps of firstly determining the density state of traffic flow on a highway, and then determining the compression wave velocity of the highway according to the traffic flow density of a first detection position of the highway, a preset traffic flow density target value and the free running speed of vehicles under the condition that the density state is in a low density state, so that the highway resource allocation method can be executed on the basis of accurately judging the traffic flow density state, and the reliability of resource allocation is improved; furthermore, a first detection distance between a first detection position and an accident occurrence position on the highway is determined according to the wave velocity of the compression waves and a preset first response time, a second detection distance between a second detection position of the highway and the accident occurrence position is determined, and finally, resource allocation is carried out on the highway according to the first detection distance and the second detection distance, so that the distances between upstream detection equipment and downstream detection equipment and a traffic accident position can be accurately determined, the arrangement intervals of the detection equipment are reasonably set according to the distances, and the detection equipment can be ensured to be capable of detecting the traffic accident on the highway in time under the free flow situation.
In order to clarify the expressway resource allocation method provided by the embodiment of the present disclosure more clearly, the expressway resource allocation method is specifically described below with a specific embodiment.
If the vehicles on the highway are uniformly distributed, when a traffic accident occurs on a road section, the traffic speed at the road section is reduced, so that traffic flow is blocked, and a traffic bottleneck is formed. According to the traffic flow theory, such a situation causes a compression wave to be generated and to propagate backward in the traffic flow direction.
As shown in fig. 2, point C is assumed to be a traffic accident occurrence point, and point D is the last vehicle passing point C before the accident occurs. At the moment, the traffic flow at the downstream of the point C is not influenced, the vehicle runs at the original speed, and when the point D passes through the point B of the detector, the traffic flow at the point B generates abnormal conditions; and the compression wave appears at the upstream of the point C and is sequentially transmitted to the point A of the detector (at the moment of t 1), and the traffic flow at the point A is abnormal.
Velocity of compressional wave V W Can be calculated as
Figure BDA0003543380480000131
Wherein k is 1 ,k 2 Are respectively a section ATraffic density of B (unit: vehicle/km), q 1 ,q 2 The section A, B is the traffic flow (unit: vehicle/h).
The detector A, B has a distance of
L 1 =X 1 +X 2
X 1 =V w ×(t 1 -t 0 )
X 2 =V f ×(t 2 -t 0 )。
Wherein, t 0 Is the time of occurrence of a traffic event, t 1 For the time of propagation of the wave to the upstream detector, t 2 For the moment of propagation of the wave to the downstream detector, V f The free-run vehicle speed (km/h).
The double loop data is the basis of a relatively advanced traffic accident detection algorithm, and as long as traffic flow parameter abnormality occurs at an upstream or downstream detection point, the double loop data will react to the accident. However, since it is disadvantageous that the point of occurrence of a traffic accident is located at the midpoint between two adjacent detection points, the detector arrangement pitch must be set to
L 2 =2*min(X 1 ,X 2 )。
The data acquisition precision is not high due to the large arrangement distance of the detectors, and the maximum arrangement distance of the detectors can be regulated; and the detector has the phenomena of serious damage and abnormal work, so the detector can be checked frequently, and a two-stage integer programming model can be established under the condition of considering the fault of the detector.
Research results show that the occurrence of compression waves can cause the occupancy rate to be sharply increased, the traffic density to be increased and the vehicle speed to be sharply decreased. When the increment of the density (or the occupancy) exceeds more than 30%, the traffic accident can be judged to occur, so that the density of the section A and the density of the section B can meet the requirement when the accident occurs
K 2 =(1+30%)K 1 =1.3K 1
When the traffic volume is not large, the road traffic flow density is in a low density state, and belongs to a free flow condition. According to the traffic flow theory, the running speed and the density of the traffic flow satisfy the following relation
Figure BDA0003543380480000141
Thus, the propagation velocity of the traffic wave can be obtained as
Figure BDA0003543380480000142
Wherein K is density (vehicle/km), K m For optimum density (vehicle/km), K 2 =(1+30%)K 1 =1.3K 1
In summary, a corresponding table of response time and deployment distance under low density condition as shown in table 1 can be calculated, and a theoretical value of vehicle detector layout can be as shown in table 1, where V t The vehicle running speed at time t may be used.
Figure BDA0003543380480000151
TABLE 1
And selecting a reasonable detector layout space by using simulation software and an event detection algorithm. Wherein the algorithm adopts California algorithm, and the simulation tool adopts VISSIM. Firstly, establishing a road network, and calibrating relevant parameters such as free flow speed, input traffic volume and the like; then, the detectors are arranged in the simulation software, so that the data of traffic volume, speed, occupancy rate and the like can be obtained, and the distances of the detectors can be designed into a plurality of groups in advance, and meanwhile, the traffic event detection parameters such as starting time, duration, influence distance and the like are specified. And finally, judging whether congestion occurs by using three conditions of the algorithm:
OCCDF=OCC(i,t)-OCC(i+1,t)≥K 1
Figure BDA0003543380480000152
Figure BDA0003543380480000153
wherein, OCCDF is the difference of upstream and downstream occupancy of the crowded road section; OCCRDF is the relative difference of upstream and downstream occupancy of the crowded road section; DOCCTD is the relative difference in downstream occupancy at the start of congestion; OCC (i, t) is the occupancy measured at the moment t of the ith detection station; k is 1 、K 2 、K 3 Respectively, the threshold values of the corresponding conditions. And if the three conditions are met, judging that the congestion occurs.
And then, simulating the pre-designed layout intervals of the plurality of groups of detectors respectively, and finally selecting a reasonable deployment scheme.
In this embodiment, based on data such as response time and traffic flow running speed, the layout density and the layout distance of the detectors on the highway in the free flow situation can be designed through formula calculation and actual conditions. Moreover, by utilizing simulation software and an algorithm, the calculation results generated by different layout intervals of the detectors are evaluated, and a reasonable deployment scheme under a free flow situation can be selected.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides an expressway resource allocation device for realizing the expressway resource allocation method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so specific limitations in one or more embodiments of the highway resource allocation device provided below can be referred to the limitations in the above highway resource allocation method, and are not described herein again.
In one embodiment, as shown in fig. 4, there is provided an expressway resource allocation apparatus including: compressional wave velocity module 410, first distance module 420, second distance module 430, and resource configuration module 440, wherein:
the compressional wave velocity module 410 is used for determining the compressional wave velocity of the expressway according to the traffic density of a first detection position of the expressway, a preset traffic density target value and the free driving speed of a vehicle; the first detection position is located at an upstream position of the expressway;
a first distance module 420, configured to determine a first detection distance between the first detection location and the accident occurrence location on the highway according to the compressional wave velocity and a preset first response time;
a second distance module 430 for determining a second detection distance between a second detection location of the highway and the accident occurrence location; the second detection position is located at a downstream position of the expressway;
and a resource allocation module 440, configured to perform resource allocation on the highway according to the first detection distance and the second detection distance.
In an embodiment, the resource allocation module 440 is further configured to use a minimum value of the first detection distance and the second detection distance as a target detection distance; multiplying the target detection distance by a preset coefficient to obtain a first deployment distance of the detection equipment on the expressway; and configuring the detection equipment on the expressway according to the first deployment distance of the detection equipment.
In an embodiment, the resource allocation module 440 is further configured to sum the first detection distance and the second detection distance to obtain a second deployment distance of the detection device; and configuring the detection equipment on the expressway according to the second deployment distance of the detection equipment.
In an embodiment, the resource allocation module 440 is further configured to obtain a deployment distance threshold of the detection device; and under the condition that the first deployment distance or the second deployment distance of the detection equipment exceeds the deployment distance threshold, configuring the detection equipment on the expressway according to the deployment distance threshold.
In one embodiment, the above highway resource allocation device further includes: the determining module is used for determining the density state of the traffic flow on the expressway; the compressional wave velocity module 410 is further configured to determine, when the density state is a low density state, a compressional wave velocity of the highway according to the traffic density of the first detection location of the highway, a preset traffic density target value, and a free-running speed of the vehicle.
In an embodiment, the determining module is further configured to obtain a target road segment on the highway; determining an absolute difference of an occupancy rate between a first detection position and a second detection position of the target road section, a first relative difference of an occupancy rate between the first detection position and the second detection position of the target road section, and a second relative difference of an occupancy rate of the second detection position of the target road section; determining that the density state of the highway is the low density state when the absolute difference value is less than a first threshold value, the first relative difference value is less than a second threshold value, and the second relative difference value is less than a third threshold value.
The above-mentioned various modules in the highway resource allocation device can be wholly or partially implemented by software, hardware and their combination. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing highway resource allocation data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a highway resource allocation method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), magnetic Random Access Memory (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases involved in the embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method for allocating highway resources, the method comprising:
acquiring a target road section on the expressway;
determining an absolute difference of an occupancy rate between a first detection position and a second detection position of the target road section, a first relative difference of an occupancy rate between the first detection position and the second detection position of the target road section, and a second relative difference of an occupancy rate of the second detection position of the target road section;
determining that the density state of the highway is a low density state when the absolute difference value is smaller than a first threshold value, the first relative difference value is smaller than a second threshold value, and the second relative difference value is smaller than a third threshold value;
determining the compression wave velocity of the expressway according to the traffic density of a first detection position of the expressway, a preset traffic density target value and the free driving speed of a vehicle; the first detection position is located at an upstream position of the expressway;
determining a first detection distance between the first detection position and the accident occurrence position on the expressway according to the wave velocity of the compressional wave and a preset first response time;
determining a second detection distance between a second detection location of the highway and the accident occurrence location; the second detection position is located at a downstream position of the expressway;
and according to the first detection distance and the second detection distance, carrying out resource allocation on the expressway.
2. The method of claim 1, wherein the resource allocation of the highway according to the first detection distance and the second detection distance comprises:
taking the minimum value of the first detection distance and the second detection distance as a target detection distance;
multiplying the target detection distance by a preset coefficient to obtain a first deployment distance of the detection equipment on the expressway;
and configuring the detection equipment on the expressway according to the first deployment distance of the detection equipment.
3. The method of claim 1, wherein the resource allocation for the highway according to the first detection distance and the second detection distance further comprises:
summing the first detection distance and the second detection distance to obtain a second deployment distance of the detection equipment;
and configuring the detection equipment on the expressway according to the second deployment distance of the detection equipment.
4. The method according to claim 2 or 3, wherein the allocating resources to the highway according to the first detection distance and the second detection distance further comprises:
acquiring a deployment distance threshold of the detection equipment;
and under the condition that the first deployment distance or the second deployment distance of the detection equipment exceeds the deployment distance threshold, configuring the detection equipment on the expressway according to the deployment distance threshold.
5. The method of claim 1, wherein determining the compressional wave velocity of the highway based on the traffic density at the first detected location of the highway, a preset traffic density target value, and a vehicle free-running speed comprises:
and under the condition that the density state is the low density state, determining the compression wave velocity of the expressway according to the traffic flow density of a first detection position of the expressway, a preset traffic flow density target value and the free driving speed of the vehicle.
6. An apparatus for allocating resources on a highway, the apparatus comprising:
the determining module is used for acquiring a target road section on the expressway; determining an absolute difference of an occupancy rate between a first detection position and a second detection position of the target road section, a first relative difference of an occupancy rate between the first detection position and the second detection position of the target road section, and a second relative difference of an occupancy rate of the second detection position of the target road section; determining that the density state of the highway is a low density state when the absolute difference value is less than a first threshold value, the first relative difference value is less than a second threshold value, and the second relative difference value is less than a third threshold value;
the compression wave velocity module is used for determining the compression wave velocity of the expressway according to the traffic flow density of a first detection position of the expressway, a preset traffic flow density target value and the free driving speed of a vehicle; the first detection position is located at an upstream position of the expressway;
the first distance module is used for determining a first detection distance between the first detection position and the accident occurrence position on the expressway according to the wave velocity of the compressional wave and a preset first response time;
a second distance module for determining a second detection distance between a second detection location of the highway and the accident occurrence location; the second detection position is located at a downstream position of the expressway;
and the resource allocation module is used for allocating resources to the expressway according to the first detection distance and the second detection distance.
7. The apparatus of claim 6, wherein the resource allocation module is further configured to use a minimum value of the first detection distance and the second detection distance as a target detection distance; multiplying the target detection distance by a preset coefficient to obtain a first deployment distance of the detection equipment on the expressway; and configuring the detection equipment on the expressway according to the first deployment distance of the detection equipment.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 5.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 5 when executed by a processor.
CN202210242901.6A 2022-03-11 2022-03-11 Highway resource allocation method and device, computer equipment and storage medium Active CN114913682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210242901.6A CN114913682B (en) 2022-03-11 2022-03-11 Highway resource allocation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210242901.6A CN114913682B (en) 2022-03-11 2022-03-11 Highway resource allocation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114913682A CN114913682A (en) 2022-08-16
CN114913682B true CN114913682B (en) 2023-03-28

Family

ID=82763721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210242901.6A Active CN114913682B (en) 2022-03-11 2022-03-11 Highway resource allocation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114913682B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2981885B1 (en) * 1998-07-31 1999-11-22 建設省土木研究所長 Road condition grasping device
CN102496264B (en) * 2011-11-11 2013-10-30 东南大学 Method capable of determining influence scope of highway emergent traffic incident
CN103810904B (en) * 2014-03-12 2015-10-07 哈尔滨工业大学 Based on the method for early warning of the express way driving safety early warning system of VANET
CN105023433B (en) * 2015-07-01 2018-04-20 重庆大学 A kind of traffic abnormal events of expressway coverage predictor method

Also Published As

Publication number Publication date
CN114913682A (en) 2022-08-16

Similar Documents

Publication Publication Date Title
Hong et al. Bifurcations of fuzzy nonlinear dynamical systems
EP3616062B1 (en) Anomaly and causation detection in computing environments using counterfactual processing
CN110784825B (en) Method and device for generating vehicle running track
CN111666971A (en) Event identification method, device and equipment based on position location and storage medium
Ma et al. Density-based outlier detection by local outlier factor on largescale traffic data
US8892343B2 (en) Determining a spatiotemporal impact of a planned event on traffic
US20190311615A1 (en) Traffic control support system, traffic control support method, and program recording medium
AU2021202991B2 (en) Method and system for vehicle speed profile generation
CN113593218B (en) Method and device for detecting traffic abnormal event, electronic equipment and storage medium
CN114140992A (en) Electronic fence early warning method and device, computer equipment and storage medium
CN112434260A (en) Road traffic state detection method and device, storage medium and terminal
Chen et al. A novel method for imminent crash prediction and prevention
CN114913682B (en) Highway resource allocation method and device, computer equipment and storage medium
CN114783173B (en) Highway resource allocation method and device, computer equipment and storage medium
KR102006755B1 (en) In-vehicle external data intrusion detection apparatus by comparing information entropy and operating method thereof
CN113449062B (en) Track processing method, track processing device, electronic equipment and storage medium
CN110896524B (en) Network structure monitoring method and device
CN114238013A (en) Alarm aggregation method, device, equipment and storage medium
CN112597835A (en) Driving behavior evaluation method and device, electronic equipment and readable storage medium
CN114822030B (en) Vehicle horn processing method and device, electronic equipment and storage medium
CN114936113B (en) Task avalanche recovery method and device, electronic equipment and storage medium
CN116644585B (en) Dangerous state scene data generation method and device based on target vehicle danger degree
CN111209796B (en) Driving behavior detection method and device, electronic equipment and medium
US20230126364A1 (en) Systems and signal processing methods for real-time traffic congestion detection
CN114255588A (en) Regional motor vehicle illegal parking prediction method, storage medium and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant