CN114023084B - Traffic jam processing method, device, equipment and medium - Google Patents

Traffic jam processing method, device, equipment and medium Download PDF

Info

Publication number
CN114023084B
CN114023084B CN202111270591.0A CN202111270591A CN114023084B CN 114023084 B CN114023084 B CN 114023084B CN 202111270591 A CN202111270591 A CN 202111270591A CN 114023084 B CN114023084 B CN 114023084B
Authority
CN
China
Prior art keywords
road section
duration
green light
current road
time length
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
CN202111270591.0A
Other languages
Chinese (zh)
Other versions
CN114023084A (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.)
Hisense TransTech Co Ltd
Original Assignee
Hisense TransTech 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 Hisense TransTech Co Ltd filed Critical Hisense TransTech Co Ltd
Priority to CN202111270591.0A priority Critical patent/CN114023084B/en
Publication of CN114023084A publication Critical patent/CN114023084A/en
Application granted granted Critical
Publication of CN114023084B publication Critical patent/CN114023084B/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/07Controlling traffic signals
    • G08G1/08Controlling traffic signals according to detected number or speed of vehicles
    • 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
    • G08G1/0145Measuring and analyzing of parameters relative to traffic conditions for specific applications for active traffic flow control
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the application provides a traffic jam processing method, a device, equipment and a medium, which are used for solving the problem that the traffic jam cannot be effectively solved in the prior art. According to the method and the device, when the fact that the first queuing length of the current road section exceeds the preset congestion length threshold is detected, the time length of the green light in the source road section is shortened, the time length of the coming vehicles of the current road section with congestion is reduced, the number of the coming vehicles of the current road section is controlled, the time length of the green light of the current road section and the green light of the evacuation road section is increased, and the time length of the leaving vehicles is increased, so that the problem of congestion of the current road section can be effectively solved.

Description

Traffic jam processing method, device, equipment and medium
Technical Field
The present application relates to the field of traffic signal control technologies, and in particular, to a method, an apparatus, a device, and a medium for processing traffic congestion.
Background
With the increase of the urban scale, the demand of vehicles in urban traffic for traveling is continuously increased, and the problem of traffic jam is followed. In order to solve the problem of traffic jam in the prior art, an image acquisition device acquires an image, and after the image is acquired, the position information of vehicles in the acquired image is determined through a pre-trained classification model, so that the number of vehicles on the current road section, namely the jam information of the vehicles, is determined; or the number of vehicles on the current road section is obtained through data collected by a Radio Frequency Identification (RFID) vehicle induction module. After the number of vehicles on the current road section is obtained, the algorithm processor determines the conversion time of the traffic light according to the number of vehicles on the current road section and sends the conversion time to the processor. And finally, the processor sends the conversion time to each traffic light device, so that the conversion time of the traffic lights is controlled, and the problem of traffic jam is relieved through the conversion time of the traffic lights. However, in the prior art, only the current road segment is considered, and if only the traffic light of the current road segment is controlled, it is difficult to effectively solve the problem of traffic congestion, and meanwhile, overflow or deadlock may occur on other road segments around the current road segment.
In order to effectively solve the problem of traffic jam, in the prior art, a worker commands a vehicle on a jammed road section or controls a signal lamp of the jammed road section on a signal control platform. However, when a vehicle is commanded by a worker or a signal lamp is controlled by the worker on a signal control platform, the upstream and downstream road sections cannot be scientifically and reasonably coordinated due to manual control, so that resource waste is often caused, the queuing length of a non-control road section is long, and balanced control cannot be achieved.
Disclosure of Invention
The embodiment of the application provides a traffic jam processing method, device, equipment and medium, which are used for solving the problem that the traffic jam cannot be effectively solved in the prior art.
In a first aspect, an embodiment of the present application provides a traffic congestion processing method, where the method includes:
acquiring a first queuing length of vehicles on a current road section acquired by preset acquisition equipment; judging whether the first queuing length exceeds a preset congestion length threshold value or not;
if yes, increasing the duration of the green light of the current road section on the basis of the original duration, and increasing the duration of the green light of each evacuation road section corresponding to the current road section by a first preset duration; acquiring origin and destination OD data of the current road section, and acquiring a first number of vehicles in the current road section according to the OD data; determining, from the source road segments of each vehicle, a second number of vehicles of the current road segment that originate from each source road segment; for each source road segment, determining a target ratio of a second number of vehicles in the current road segment from the source road segment to the first number; and shortening the duration of the green light of the source road section by the duration corresponding to the target ratio according to the corresponding relation between the ratio and the duration which is stored in advance.
In a second aspect, an embodiment of the present application provides a traffic congestion processing apparatus, where the apparatus includes:
the acquisition judging module is used for acquiring a first queuing length of the vehicles on the current road section acquired by preset acquisition equipment; judging whether the first queuing length exceeds a preset congestion length threshold value or not;
the processing module is used for increasing the duration of the green light of the current road section on the basis of the original duration and increasing the duration of the green light of each evacuation road section corresponding to the current road section by a first preset duration if the first queuing length exceeds a preset congestion length threshold; acquiring Origin and Destination (OD) data of the acquired current road section, and acquiring a first number of vehicles in the current road section according to the OD data; determining, from the source road segments of each vehicle, a second number of vehicles of the current road segment that originate from each source road segment; for each source road segment, determining a target ratio of a second number of vehicles in the current road segment from the source road segment to the first number; and shortening the duration of the green light of the source road section by the duration corresponding to the target ratio according to the corresponding relation between the ratio and the duration which is stored in advance.
In a third aspect, an embodiment of the present application further provides an electronic device, where the electronic device at least includes a processor and a memory, and the processor is configured to implement the steps of the traffic congestion processing method according to any one of the above when executing a computer program stored in the memory.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the traffic congestion processing method according to any one of the above.
In the embodiment of the application, when it is detected that the first queuing length of the vehicles on the current road section exceeds the preset congestion length threshold, the duration of the green light on the current road section is increased, the duration of the green light on each evacuation road section corresponding to the current road section is increased by a first preset duration, and the duration of the green light on each source road section corresponding to the current road section is shortened according to the second number of the vehicles in the current road section from the source road section and the first number of the vehicles on the current road section. According to the method and the device, when the fact that the first queuing length of the current road section exceeds the preset congestion length threshold is detected, the time length of the green light in the source road section is shortened, the time length of the coming vehicles of the current road section with congestion is reduced, the number of the coming vehicles of the current road section is controlled, the time length of the green light of the current road section and the green light of the evacuation road section is increased, and the time length of the leaving vehicles is increased, so that the problem of congestion of the current road section can be effectively solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a traffic congestion processing process according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a source road segment for obtaining a current road segment through OD data according to an embodiment of the present disclosure;
fig. 3 is a detailed schematic diagram of a process of a traffic congestion processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a traffic congestion processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will now be described in further detail with reference to the accompanying drawings, wherein like reference numerals refer to like elements throughout. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the embodiment of the application, the electronic device acquires a first queuing length of vehicles on a current road section acquired by a preset acquisition device, judges whether the first queuing length exceeds a preset congestion length threshold, if the first queuing length of the current road section exceeds the preset congestion length threshold, indicates that congestion occurs on the current road section, increases the duration of green lights on the current road section on the basis of the original duration, and increases the duration of green lights on each evacuation road section corresponding to the current road section by a first preset duration; acquiring acquired OD data of the current road section, and acquiring a first number of vehicles in the current road section according to the OD data; determining a second number of vehicles of the current road section from each source road section according to the source road section of each vehicle; for each source road segment, determining a target ratio of a second number and a first number of vehicles in the current road segment, wherein the vehicles are derived from the source road segment; and shortening the duration of the green light of the source road section by the duration corresponding to the target ratio according to the corresponding relation between the ratio and the duration which is stored in advance.
Fig. 1 is a schematic diagram of a traffic congestion processing process provided in an embodiment of the present application, where the process includes the following steps:
s101: acquiring a first queuing length of vehicles on a current road section acquired by preset acquisition equipment; and judging whether the first queuing length exceeds a preset congestion length threshold value.
The traffic jam processing method provided by the embodiment of the application is applied to electronic equipment, and the electronic equipment can be intelligent equipment such as a PC (personal computer) or a server.
In the embodiment of the application, the electronic device determines whether the current road section is congested or not according to the acquired first queuing length of the vehicles on the current road section acquired by the preset acquisition device. The preset acquisition device is arranged at a fixed position of the current road section, and the preset acquisition device can be a radar device, an image acquisition device and the like. Specifically, how to acquire the queuing length of the vehicles on the current road section through a radar is the prior art; how to determine the queuing length of the vehicles on the current road section according to the image acquired by the image acquisition device is the prior art, and details are not repeated here.
After the electronic equipment acquires the first queuing length of the vehicles in the current road section acquired by the preset acquisition equipment, whether the current road section is congested or not is judged according to the acquired first queuing length. Specifically, the electronic device stores a preset congestion length threshold, and the electronic device determines whether the acquired first queue length exceeds the preset congestion length threshold.
S102: if the first queuing length exceeds a preset congestion length threshold, increasing the duration of the green light of the current road section on the basis of the original duration, and increasing the duration of the green light of each evacuation road section corresponding to the current road section by a first preset duration; acquiring collected ORIGIN and DESTINATION (OD) data of the current road section, and acquiring a first number of vehicles in the current road section according to the OD data; determining, from the source road segments of each vehicle, a second number of vehicles of the current road segment that originate from each source road segment; for each source road segment, determining a target ratio of a second number of vehicles in the current road segment from the source road segment to the first number; and shortening the duration of the green light of the source road section by the duration corresponding to the target ratio according to the corresponding relation between the ratio and the duration which is stored in advance.
In the embodiment of the application, after the first queuing length is acquired, whether the first queuing length of the vehicles on the current road section is a preset congestion length threshold is judged, and if the first queuing length exceeds the preset congestion length threshold, congestion occurs on the current road section. The duration of the green light on the current road section is increased on the basis of the original duration. The duration of increasing the duration of the green light on the current road section can be any duration, the duration of increasing the duration can also be a fixed duration in convenience, or a smaller duration, and the like, and can be flexibly set according to needs when being applied. And increasing the time length of the green light of each evacuation road section corresponding to the current road section by a first preset time length, namely increasing the leaving time length of the vehicle in the current road section, and avoiding the sending congestion of the road section near the current road section. The original time length of the road section green light refers to the time length when the time length of the road section green light is not adjusted, for example, the time length when the time length of the certain road section green light is not adjusted is 10 seconds, and the original time length of the road section green light is 10 seconds.
If the current road section is provided with the device for collecting the OD data, the number of vehicles from each source road section in the current road section can be obtained according to the collected OD data. For each source road section, if the number of vehicles in the current road section from the source road section is large, the green light duration of the source road section can be shortened a lot, and if the number of vehicles in the current road section from the source road section is small, the green light duration of the source road section can be shortened a little. Therefore, the vehicle-coming time of the vehicles in the corresponding source road sections with higher number is effectively controlled, and other corresponding source road sections with lower number are not influenced to the greatest extent.
In this embodiment of the application, in order to accurately adjust the duration of the green light of each source road segment, for each source road segment, the duration corresponding to the target ratio may be determined to be the duration shortened by the green light of the source road segment after determining the target ratio corresponding to the source road segment according to the target ratio of the second number of vehicles in the current road segment from the source road segment to the first number of vehicles in the current road segment. Wherein, the larger the ratio is, the longer the corresponding time length is.
Specifically, the determining of the ratio of the second number of vehicles in the current road section, which are from the source road section, to the first number of vehicles in the current road section, and the determining of the adjustment of the duration of the green light of the source road section according to the ratio may be: and after the source road section of each vehicle is obtained, determining a second number of vehicles of the current road section from each source road section according to the source road section of each vehicle. And after determining the first number and the second number, determining a target ratio of the second number to the first number, where the target ratio is a ratio of vehicles in the current road segment that originate from the source road segment. And after the target ratio corresponding to the source road section is determined, determining the duration corresponding to the target ratio according to the corresponding relation between the ratio and the duration stored by the electronic equipment, and shortening the duration of the green light of the source road section by the duration corresponding to the target ratio.
When determining the source road section corresponding to the current road section, each source road section of the vehicle source in the current road section can be determined through the OD data acquired by the OD data acquisition device, so that whether the current road section is provided with the OD data acquisition device or not can be judged, and if the current road section is provided with the OD data acquisition device, the source road section of each vehicle in the current road section can be determined to be the source road section of the current road section according to the OD data acquired by the OD data acquisition device arranged in the current road section.
In the embodiment of the present application, if the source road segment is determined according to the OD data, it may be directly determined which source road segment is the first-level source road segment, which road segment is the second-level source road segment, and which road segment is the other-level source road segment according to the identifier of the sequence of the vehicle passing through the road segments stored in the OD data. The device for collecting OD data may be an electric alarm camera, and specifically, how to collect OD data by the electric alarm camera is the prior art, which is not described herein again.
In this embodiment, the source segments of the current segment may include a primary source segment, a secondary source segment, and a tertiary source segment. For each road section, if the vehicle passes through the road section and then directly reaches the current road section, the road section is a primary source road section, and if the vehicle passes through some other road section after passing through some other road section and then directly reaches the current road section after passing through some other road section, the road section is a secondary source road section. If the vehicle passes through a certain other road section after passing through the road section, passes through another other road section after passing through the certain other road section, and reaches the current road section after passing through the another other road section, the road section is the third-level source road section. In this embodiment, the source segment may be referred to as an upstream segment, and 3 upstream segments may be used to represent a primary source segment, a secondary source segment, and a tertiary source segment.
For example, when the vehicle travels through the a road section, the B road section, and the C road section in sequence, and the C road section is the current road section, the B road section is the primary source road section of the C road section, the a road section is the primary source road section of the B road section, and the C road section is the secondary source road section of the C road section, that is, the B road section and the a road section are both the source road sections of the C road section, and the green light durations of the a road section and the B road section can be adjusted during adjustment.
According to the method and the device, when the fact that the first queuing length of the current road section exceeds the preset congestion length threshold is detected, the time length of the green light in the source road section is shortened, the time length of the vehicles coming in the congested current road section is reduced, the number of the vehicles coming in the current road section is controlled, the time length of the green light in the current road section and the time length of the green light in the evacuation road section is increased, and the time length of the vehicles leaving the current road section is increased, so that the problem of congestion of the current road section can be effectively solved.
In order to effectively solve the problem of congestion of the current road segment, on the basis of the above embodiment, in the embodiment of the present application, the method further includes:
after the duration of the green light of the current road section is increased on the basis of the original duration, acquiring a second queuing length of the vehicles on the current road section, which is acquired by the preset acquisition equipment;
and if the second queuing length exceeds the congestion length threshold, outputting alarm information.
In the embodiment of the application, after the set time interval after the adjustment of the green light time length of the current road section, whether the adjustment of the green light time length of the current road section has an effect on congestion of the current road section is detected, and if the congestion of the current road section has no effect, alarm information is output.
Specifically, after the set time interval after the green light duration of the current road section is adjusted, that is, after the set time interval after the green light duration of the current road section is increased on the basis of the original duration, the electronic device obtains a second queuing length of the vehicle in the current road section, which is acquired by a preset acquisition device, and determines whether the adjustment of the green light duration of the current road section has an effect on congestion of the current road section according to whether the acquired second queuing length exceeds a preset congestion length threshold. If the second queuing length exceeds the preset congestion length threshold, the green light of the current road section is adjusted, no effect is achieved on congestion of the current road section, the current road section is still in a congestion state, intervention of workers is needed, and alarm information is output.
Specifically, the electronic device can output alarm information to preset equipment, and congestion of the current road section is solved manually. That is to say, if the duration of the green light of the current road segment is adjusted, but the current road segment is still in a congestion state, sending alarm information to the preset device, where the alarm information may include an identifier of the current road segment. The alarm information informs workers that risks such as overflow possibly exist in the current road section, and the workers can monitor the road section corresponding to the identification carried in the alarm information through the video after receiving the alarm information, so that whether risks such as overflow exist in the current road section or not can be checked and confirmed. The preset device can be a mobile terminal of a worker.
In order to effectively solve the congestion degree of the current road segment, on the basis of the foregoing embodiments, in an embodiment of the present application, if the second queuing length does not exceed the congestion length threshold, the method further includes:
judging whether the second queuing length exceeds a safety length threshold value or not;
if not, determining that the green light duration of the current road section, each source road section and each evacuation road section is the original green light duration of the current road section, each source road section and each evacuation road section respectively;
if so, increasing the duration of the green light of the current road section on the basis of the original duration; when the second queuing length exceeds the safety length threshold, the increased green light time of the current road section is longer, and when the first queuing length exceeds the preset congestion length threshold, the increased green light time of the current road section is shorter.
In the embodiment of the application, after the duration of the green light on the current road section is adjusted, if the second queuing length does not exceed the congestion length threshold, it is described that congestion on the current road section is relieved, and whether the congestion degree of the current road section is effectively relieved or not is further determined, where the fact that the congestion degree of the current road section is not effectively relieved means that the congestion degree of the current road section is lighter than the congestion degree when congestion is caused, but is not completely relieved. And judging whether the second queuing length of the vehicles on the current road section acquired by the preset acquisition equipment exceeds a preset safe length threshold value. The preset safe length threshold may be a fixed multiple of the preset congestion length threshold, where the fixed multiple is a positive number less than 1, and specifically, the fixed multiple may be 0.6.
If the second queuing length of the vehicles on the current road section does not exceed the safety length threshold, the congestion degree of the current road section is effectively relieved, and the original time lengths of the current road section, each source road section corresponding to the current road section and the green light of each evacuation road section corresponding to the current road section can support the balance of the traffic in the current road section. Therefore, in the embodiment of the present application, if the second queuing length of the vehicle on the current road section does not exceed the safety length threshold, the time length of the green light of the straight going on the current road section is adjusted to the original time length of the green light of the straight going on the current road section, the time length of the left turn green light of the current road section is adjusted to the original time length of the left turn green light of the current road section, the time length of the green light of each source road section is adjusted to the original time length of the green light of each corresponding source road section, and the time length of the green light of each evacuation road section is adjusted to the original time length of the green light of each corresponding evacuation road section.
If the second queuing length exceeds the safety length threshold, the congestion degree of the current road section is relieved to a certain extent, but the congestion degree is not relieved effectively, and the duration of the green light of the current road section is increased on the basis of the original duration. In addition, in the embodiment of the application, when the congestion degree of the current road section is relieved to a certain extent, the congestion of the current road section can be achieved without increasing too much time on the basis of the original time of the green light of the current road section, so that when the second queuing length exceeds the safety length threshold, the increased green light time of the current road section is shorter than that when the first queuing length exceeds the preset congestion length threshold.
If the second queue length does not exceed the safety length threshold, the green light duration of each evacuation road section of the current road section and the green light duration of each source road section of the current road section may not be adjusted, or the green light duration of each evacuation road section of the current road section may be increased on the basis of the original green light duration of each evacuation road section, and the green light duration of each source road section of the current road section may be decreased on the basis of the original green light duration of each source road section. Specifically, the length of the increasing time and the length of the decreasing time are not limited herein.
In order to accurately adjust the duration of the green light on the current road section, on the basis of the foregoing embodiments, in the embodiment of the present application, the increasing the duration of the green light on the current road section on the basis of the original duration includes:
determining a first ratio corresponding to the green light duration of the current road section according to whether the green light duration of the road section is the original green light duration of the road section; the green time length of the road section is larger than a first ratio corresponding to the non-original time length of the green time length of the road section;
according to the stored first green light duration of the straight-going of the current road section and the stored second green light duration of the left turn of the current road section, determining that a first product of the first green light duration and a preset first ratio is a first target duration increased by the duration of the straight-going green light of the current road section, and determining that a second product of the second green light duration and the first ratio is a second target duration increased by the duration of the left turn of the green light of the current road section;
and increasing the first target time length on the basis of the original time length of the green light of the straight-ahead driving of the current road section, and increasing the second target time length on the basis of the original time length of the left-turning green light of the current road section.
In the embodiment of the present application, the first ratio is a parameter used for determining the target duration, and the corresponding target durations are different because the first ratios used for determining the target duration are different. And when the time length of the green light of the road section is the original time length, the electronic equipment detects whether the road section is jammed, and when the time length of the green light of the road section is not the original time length, the electronic equipment detects whether the jamming degree of the road section is effectively relieved. Therefore, the electronic equipment stores the corresponding relation between the original length of time of the green light of the road section and the specific value and the corresponding relation between the non-original length of time of the green light of the road section and the specific value. When the target duration is determined, determining that the corresponding ratio is the first ratio according to whether the green light duration of the current road section is the original duration.
The first target time length and the second target time length are determined to be longer as the corresponding first ratio is larger when the first target time length and the second target time length are determined. When the road section is jammed, the first target time length increased by the time length of the green light of the straight-going road section on the current road section is longer than the first target time length increased by the time length of the green light of the straight-going road section on the current road section when the jam of the current road section is not effectively relieved; the second target time length increased by the time length of the left turn-to-green light of the current road section when the road section is jammed is longer than the second target time length increased by the time length of the left turn-to-green light of the current road section when the jam of the current road section is not effectively relieved. And the first ratio corresponding to the first target duration may be the same as the first ratio corresponding to the second target duration. Therefore, in the embodiment of the present application, the first ratio of the first target duration to the second target duration is correspondingly determined when the congestion occurs in the current road segment, and is larger than the first ratio of the first target duration to the second target duration when the congestion is not effectively alleviated in the current road segment, that is, the ratio corresponding to the green light duration of the road segment is larger than the ratio corresponding to the non-original green light duration of the road segment.
In the embodiment of the application, after determining the first ratio corresponding to the first target time length and the second target time length, the time length of the increase of the time length of the green light for straight traveling on the current road section and the time length of the increase of the time length of the green light for left turn on the current road section may be determined according to the first ratio, the first time length of straight traveling on the current road section and the second time length of green light for left turn on the current road section. Specifically, the determining process may be: and determining a first product of the first green light time length and a first ratio and a second product of the second green light time length and the first ratio, wherein the first product is a first target time length increased by the time length of the green light of the straight-ahead driving of the current road section, and the second product is a second target time length increased by the time length of the left-turning green light of the current road section. And adding a first product to the time length of the green light of the direct driving of the current road section on the basis of the original time length of the green light of the direct driving of the current road section, and adding a second product to the time length of the left-turning green light of the current road section on the basis of the original time length of the left-turning green light of the current road section.
Taking the example that the duration of the green light on the current road section going straight is 50 seconds, the duration of the left turn green light on the current road section is 20 seconds, and the first ratio is 0.2, the duration increased by the current road section going straight is 50 seconds x 0.2=10 seconds, that is to say, the duration of the green light on the current road section going straight is increased by 10 seconds on the basis of 50 seconds; the time length increased by the left turn of the current road section is 20 seconds x 0.2=4 seconds, namely the time length of the green light of the straight-going current road section is increased by 4 seconds on the basis of 20 seconds.
In order to accurately adjust the duration of the green light on the current road section, on the basis of the foregoing embodiments, in the embodiment of the present application, the increasing the duration of the green light on the current road section on the basis of the original duration includes:
determining a first ratio corresponding to the green light duration of the current road section according to whether the green light duration of the road section is the original green light duration of the road section; the first ratio corresponding to the original time length of the green light time length of the road section is larger than the first ratio corresponding to the non-original time length of the green light time length of the road section;
acquiring the number of first lanes for straight running and the number of second lanes for left turning of the current road section;
determining a third product of the first green light duration and the first lane number and a fourth product of the second green light duration and the second lane number according to the first green light duration of the straight going of the current road section, the second green light duration of the left turn of the current road section, the first lane number and the second lane number;
acquiring a first sum of the third product and the fourth product, a second sum of the first green light duration and the second green light duration, and determining a second ratio of the first ratio to the first sum, and a fifth product of the second ratio to the second sum; determining that a sixth product of the third product and the fifth product is a first target duration for increasing the duration of green light for straight-ahead driving on the current road section, and a seventh product of the fourth product and the fifth product is a second target duration for increasing the duration of green light for left turn on the current road section;
and increasing the first target time length on the basis of the original time length of the green light of the straight-ahead driving of the current road section, and increasing the second target time length on the basis of the original time length of the left-turning green light of the current road section.
In the embodiment of the application, after the first ratio corresponding to the target duration is determined, the first target duration increased by the duration of the green light straight running on the current road section and the second target duration increased by the duration of the green light left turning on the current road section can be determined according to the first ratio, the first green light duration straight running on the current road section, the first number of lanes straight running on the current road section, the second green light duration left turning on the current road section and the second number of lanes left turning on the current road section.
Specifically, the determining process may be: determining a third product of the first green light duration and the first lane number, and a fourth product of the second green light duration and the second lane number; after determining a third product and a fourth product, acquiring a first sum of the third product and the fourth product, a second sum of the first green light duration and the second green light duration, determining a second ratio of the first ratio to the first sum, and after determining the second ratio of the first ratio to the first sum, determining a fifth product of the determined second ratio and the second sum; determining a sixth product of the third product and the fifth product as a time length increased by the time length of the green light of the straight-ahead driving of the current road section, and a seventh product of the fourth product and the fifth product as a time length increased by the time length of the left-turn green light of the current road section. And after determining the sixth product and the seventh product, determining that the sixth product is a first target time length increased by the time length of the green light of the straight-ahead driving of the current road section, and determining that the seventh product is a second target time length increased by the time length of the left-turn green light of the current road section. In the embodiment of the present application, the composite lane is treated as a straight lane, that is, if a certain lane is both a straight lane and a left-turn lane, the lane is treated as a straight lane.
Specifically, the determination method may be:
λ=g*n;
Figure GDA0003976931070000121
seventh product = left turn ratio (g) Left turn +g Straight going )*a
Wherein λ is the amount of the straight or left-turning passage at the intersection, that is, the third product or the fourth product determined in the embodiment of the present application; g is the duration of the green light for straight driving or turning left green light, i.e. the duration of the first green light or the duration of the second green light described in the embodiments of the present application; n is the number of lanes; lambda Left turn The quantity of the left turn lane at the intersection is the fourth product determined in the embodiment of the application; lambda [ alpha ] Go straight The amount of the straight-going channel at the intersection, namely the third product determined in the embodiment of the application; g Left turn The duration of turning left to green; g Straight going The duration of the green light for straight going; a is a first ratio.
Taking the time length of the green light of the current road section in straight running as 50 seconds, the time length of the green light of the current road section in left turning as 20 seconds, the number of lanes in left turning as 1, the number of lanes in straight running as 3, and the first ratio as 0.2 as an example, the target time length increased by the left turning of the current road section is (1 × 20)/(1 × 20+3 × 50) ((20 × 50) = 0.2=2 seconds, and the target time length increased by the straight running is (3 × 50)/(1 × 20+3 × 50) ((20 × 50) × 0.2=12 seconds. Wherein 1 × 20 is the fourth product in the embodiment of the present application, 3 × 50 is the third product in the embodiment of the present application, 1 × 20 × 3 × 50 is the first sum in the embodiment of the present application, 20+50 is the second sum in the embodiment of the present application, 0.2/(1 × 20+3 + 50) is the second ratio in the embodiment of the present application, 0.2/(1 × 20+3 × 50) ((20 + 50) is the fifth product in the embodiment of the present application, 0.2/(1 × 20+ 3) = (20 + 50) = (3 × 50)/(1 × 20+ 3)/+ 50) ((20 + 50) } 0.2) is the sixth product in the embodiment of the present application, and 0.2/(1 × 20+ 3) = (20)/+ 50)/(20)/+ 3)/+ 1 × 20)/+ 50)/+ 1 × 20).
In the embodiment of the application, when the device for acquiring the OD data is arranged on the current road section, according to the first green light duration and the second green light duration, the first target duration for increasing the duration of the green light for straight-going on the current road section and the second target duration for increasing the duration of the green light for left-turning on the current road section are determined; and when no device for collecting OD data is arranged on the current road section, determining a first target time length for increasing the time length of the green light of the straight-going current road section and a second target time length for increasing the time length of the left-turn green light of the current road section according to the first green light time length, the second green light time length, the first lane number and the second lane number.
In order to effectively solve the congestion problem of the current road segment, on the basis of the foregoing embodiments, in this embodiment of the present application, after the duration of the green light in the current road segment is increased on the basis of the original duration, before the duration of the green light in each evacuation road segment corresponding to the current road segment is increased by a first preset duration, the method further includes:
and according to the prestored corresponding relation between the road section and the evacuation road section, determining each evacuation road section corresponding to the current road section, and aiming at each evacuation road section corresponding to the determined current road section, executing the subsequent operation of increasing the time length of the green light of each evacuation road section corresponding to the current road section by first preset time length.
In the embodiment of the application, for each road segment, the electronic device may store a corresponding relationship between the road segment and each evacuation road segment corresponding to the road segment. The electronic device may determine each evacuation road segment corresponding to the current road segment according to the stored correspondence between the road segment and the evacuation road segment after increasing the duration of the green light of the current road segment on the basis of the original duration. And adjusting the duration of the green light aiming at each evacuation road section corresponding to the determined current road section. The electronic equipment can also store the corresponding relation between the road section and the first-level evacuation road section, the second-level evacuation road section and the third-level evacuation road section corresponding to the road section for each road section. The electronic device may determine the first-level evacuation road section, the second-level evacuation road section, and the third-level evacuation road section corresponding to the current road section in the stored correspondence relationship between the first-level evacuation road section, the second-level evacuation road section, and the third-level evacuation road section corresponding to each road section.
In this embodiment of the application, if the evacuation road section corresponding to the current road section obtained by the specification includes a first-level evacuation road section and a second-level evacuation road section, and the electronic device pre-stores a correspondence between the road section and the first-level evacuation road section, when the evacuation road section corresponding to the current road section is determined, the electronic device determines each first-level evacuation road section corresponding to the current road section in the stored correspondence between the road section and the first-level evacuation road section, and when the second-level evacuation road section corresponding to the current road section is determined, the first-level evacuation road section corresponding to the first-level evacuation road section of the current road section is determined according to the correspondence between the road section and the first-level evacuation road section, and is the second-level evacuation road section corresponding to the current road section.
The evacuation road sections of the current road section may include a primary evacuation road section, a secondary evacuation road section, and a tertiary evacuation road section. For each road section, if the vehicle passes through the current road section and then directly reaches the road section, the road section is a first-level evacuation road section, and if the vehicle passes through a certain other road section after passing through the current road section and then directly reaches the road section after passing through a certain other road section, the road section is a second-level evacuation road section. And if the vehicle passes through a certain other road section after passing through the current road section, passes through another other road section after passing through the certain other road section, and reaches the road section after passing through another other road section, the road section is a three-level evacuation road section. And in the embodiment of the present application, the evacuation section may be referred to as a downstream section, and 3 downstream sections may be used to represent a primary evacuation section, a secondary evacuation section, and a tertiary evacuation section. In the embodiment of the present application, the green light durations corresponding to 3 upstream road segments and 3 downstream road segments may be adjusted by default.
Fig. 2 is a schematic diagram of a source link for obtaining a current link through OD data according to an embodiment of the present disclosure.
In fig. 2, the determined source segments include a primary source segment, a secondary source segment, and a tertiary source segment.
In fig. 2, circles represent intersections, letters represent intersection names, and numbers in the circles represent the ratio of the number of vehicles driving to the current road section through the intersection to the number of vehicles on the current road section. As can be seen from fig. 2, the first-level source road segments of the current road segment include a road segment from the intersection B to the intersection a and a road segment from the intersection C to the intersection a, and the ratio of the road segments from the intersection B to the intersection a of the vehicle in the current road segment is 0.5, and the ratio of the road segments from the intersection C to the intersection a of the vehicle in the current road segment is 0.2; the second-level source road sections of the current road section comprise a road section from a D intersection to a B intersection and a road section from an E intersection to the B intersection, the ratio of the road sections from the D intersection to the B intersection of the vehicles in the current road section is 0.1, and the ratio of the road sections from the E intersection to the B intersection of the vehicles in the current road section is 0.1.
Taking the corresponding relationship between the road segment and the corresponding first-level evacuation road segment stored in the electronic device as an example, if the first-level evacuation road segment corresponding to the road segment a stored in the electronic device is the road segment B and the road segment C, the first-level evacuation road segment corresponding to the road segment B is the road segment D. And if the road section B and the road section C are the first-level evacuation road sections corresponding to the road section A, the road section D is the first-level evacuation road sections corresponding to the road section B, and therefore the road section D is the second-level evacuation road sections corresponding to the road section A.
In an embodiment of the present application, the determined set of evacuation segments may be:
road section Downstream ={λ iji ,...}
Wherein λ is i Denotes the i direction, beta, of a lambda intersection i Indicating the i direction at the beta crossing.
In order to effectively solve the congestion problem of the current road segment, on the basis of the foregoing embodiments, in an embodiment of the present application, if the acquired OD data of the current road segment is not acquired, the method further includes:
determining each source road section corresponding to the current road section according to the corresponding relation between the pre-stored road section and the source road section; and shortening the duration of the green light of each source road section corresponding to the current road section by a second preset duration.
When the source road section corresponding to the current road section is determined, each source road section of the current road section where the vehicle is sourced can be determined through the OD data acquired by the device for acquiring the OD data, so that whether the device for acquiring the OD data is arranged on the current road section or not can be judged firstly, and if the device for acquiring the OD data is arranged on the current road section, the source road section of each vehicle on the current road section can be determined to be the source road section according to the OD data acquired by the device for acquiring the OD data arranged on the current road section. In addition, in the embodiment of the present application, if the source road segment is determined according to the OD data, it may be directly determined which source road segment is the primary source road segment, which road segment is the secondary source road segment, and which road segment is the other-stage source road segment according to the identifier of the sequence of the vehicle passing through the road segments stored in the OD data. The device for collecting OD data may be an electric alarm camera, and specifically, how to collect OD data by the electric alarm camera is the prior art, which is not described herein again.
If the current road section is not provided with the OD device for collecting OD data, each source road section corresponding to the current road section can be determined according to the corresponding relation between the road section which can be stored in the electronic device in advance and the primary source road section. If the source road section corresponding to the current road section obtained by the stipulation comprises a primary source road section and a secondary source road section, and the corresponding relation between the road section and the primary source road section is pre-stored in the electronic equipment, when the source road section corresponding to the current road section is determined, the electronic equipment determines each primary source road section corresponding to the current road section in the stored corresponding relation between the road section and the primary source road section, and when the secondary source road section corresponding to the current road section is determined, the primary source road section corresponding to the determined primary source road section of the current road section can be determined to be the secondary source road section corresponding to the current road section according to the corresponding relation between the road section and the primary source road section after the corresponding primary source road section is determined.
In an embodiment of the present application, the determined set of source road segments may be:
road section Upstream of ={X i ,X j ,Y i ,...}
Wherein, X i Indicating i direction, Y, of the intersection i Indicating the i direction at the intersection Y.
Fig. 3 is a detailed schematic diagram of a process of a traffic congestion processing method according to an embodiment of the present application.
S301: and determining that the current road section is congested.
In the embodiment of the application, the length of the current road section acquired by a preset radar is received, and if the length exceeds a preset length threshold value, the current road section is indicated to be congested.
S302: and determining an evacuation road section and a source road section corresponding to the current road section.
S303: the duration of the green light of the current road section and each evacuation road section is increased, and the duration of the green light of each source road section is reduced.
The length of time for increasing the green light of the current road section is shorter than the length of time for increasing the green light of the current road section when the length of time for increasing the green light of the current road section is not the original length of time.
S304: and judging whether the length of the current road section exceeds a preset congestion length threshold, if so, executing S305, and if not, executing S306.
S305: and judging whether the length of the current road section exceeds a length threshold corresponding to congestion, if so, executing S308, and if not, executing S303.
That is, after the green light time length of the current road section, each evacuation road section, and each source road section is adjusted, it is determined whether the congestion degree of the current road section is alleviated.
S306: determining that the time lengths of the green lights of the current road section, each source road section and each evacuation road section are the original time lengths of the green lights of the current road section, each source road section and each evacuation road section respectively, and executing S307.
S307: and (6) ending.
S308: alarm information is output, and S307 is executed.
Fig. 4 is a schematic structural diagram of a traffic congestion processing apparatus according to an embodiment of the present application, where the apparatus includes:
the obtaining and judging module 401 is configured to obtain a first queuing length of a vehicle on a current road section, which is collected by a preset collection device; judging whether the first queuing length exceeds a preset congestion length threshold value or not;
a processing module 402, configured to increase the duration of the green light of the current road section on the basis of an original duration if the first queuing length exceeds a preset congestion length threshold, and increase the duration of the green light of each evacuation road section corresponding to the current road section by a first preset duration; acquiring origin and destination OD data of the current road section, and acquiring a first number of vehicles in the current road section according to the OD data; determining, from the source road segments of each vehicle, a second number of vehicles of the current road segment that originate from each source road segment; for each source road segment, determining a target ratio of a second number of vehicles in the current road segment from the source road segment to the first number; and shortening the duration of the green light of the source road section by the duration corresponding to the target ratio according to the corresponding relation between the ratio and the duration which is stored in advance.
In a possible implementation manner, the processing module 402 is further configured to obtain a second queue length of the vehicle on the current road section, which is acquired by the preset acquisition device, after a set time interval after the duration of the green light on the current road section is increased on the basis of the original duration; and if the second queuing length exceeds the congestion length threshold, outputting alarm information.
In a possible implementation manner, the processing module 402 is further configured to determine whether the second queuing length exceeds a safe length threshold; if not, determining that the green light duration of the current road section, each source road section and each evacuation road section is the original green light duration of the current road section, each source road section and each evacuation road section respectively; if so, increasing the duration of the green light of the current road section on the basis of the original duration; when the second queuing length exceeds the safety length threshold, the increased green light time of the current road section is longer, and when the first queuing length exceeds the preset congestion length threshold, the increased green light time of the current road section is shorter.
In a possible implementation manner, the processing module 402 is specifically configured to determine a first ratio corresponding to the green light duration of the current road segment according to whether the green light duration of the road segment is an original green light duration of the road segment; the green time length of the road section is larger than a first ratio corresponding to the non-original time length of the green time length of the road section; according to the stored first green light duration of the straight-going current road section and the stored second green light duration of the left turn of the current road section, determining that a first product of the first green light duration and a preset first ratio is a first target duration increased by the duration of the straight-going green light of the current road section, and determining that a second product of the second green light duration and the first ratio is a second target duration increased by the duration of the left turn of the green light of the current road section; and increasing the first target duration of the green light of the straight-ahead driving of the current road section on the basis of the original duration, and increasing the second target duration of the left-turning green light of the current road section on the basis of the original duration.
In a possible implementation manner, the processing module 402 is specifically configured to determine a first ratio corresponding to the green light duration of the current road segment according to whether the green light duration of the road segment is an original green light duration of the road segment; the first ratio corresponding to the original time length of the green light time length of the road section is larger than the first ratio corresponding to the non-original time length of the green light time length of the road section; acquiring the number of first lanes for straight running and the number of second lanes for left turning of the current road section; determining a third product of the first green light duration and the first lane number and a fourth product of the second green light duration and the second lane number according to the first green light duration of the straight going of the current road section, the second green light duration of the left turning of the current road section, the first lane number and the second lane number; acquiring a first sum of the third product and the fourth product, a second sum of the first green light duration and the second green light duration, and determining a second ratio of the first ratio to the first sum, and a fifth product of the second ratio to the second sum; determining that a sixth product of the third product and the fifth product is a first target time length increased by the time length of the green light for straight-ahead driving of the current road section, and a seventh product of the fourth product and the fifth product is a second target time length increased by the time length of the green light for left turning of the current road section; and increasing the first target time length on the basis of the original time length of the green light of the straight-ahead driving of the current road section, and increasing the second target time length on the basis of the original time length of the left-turning green light of the current road section.
In a possible implementation manner, the processing module 402 is further configured to determine each evacuation road segment corresponding to the current road segment according to a pre-stored correspondence between the road segment and the evacuation road segment.
In a possible implementation manner, the processing module 402 is further configured to determine each source road segment corresponding to the current road segment according to a pre-stored correspondence between the road segment and the source road segment; and shortening the duration of the green light of each source road section corresponding to the current road section by a second preset duration.
On the basis of the foregoing embodiments, an embodiment of the present application further provides an electronic device, as shown in fig. 5, including: the system comprises a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 are communicated with each other through the communication bus 504.
The memory 503 has stored therein a computer program which, when executed by the processor 501, causes the processor 501 to perform the steps of:
acquiring a first queuing length of a current road section vehicle acquired by preset acquisition equipment; judging whether the first queuing length exceeds a preset congestion length threshold value or not;
if so, increasing the duration of the green light of the current road section on the basis of the original duration, and increasing the duration of the green light of each evacuation road section corresponding to the current road section by a first preset duration; acquiring Origin and Destination (OD) data of the acquired current road section, and acquiring a first number of vehicles in the current road section according to the OD data; determining, from the source road segments of each vehicle, a second number of vehicles of the current road segment that originate from each source road segment; for each source road segment, determining a target ratio of a second number of vehicles in the current road segment from the source road segment to the first number; and shortening the duration of the green light of the source road section by the duration corresponding to the target ratio according to the corresponding relation between the ratio and the duration which is stored in advance.
In one possible embodiment, the method further comprises:
after the duration of the green light of the current road section is increased on the basis of the original duration, acquiring a second queuing length of the vehicles on the current road section, which is acquired by the preset acquisition equipment;
and if the second queuing length exceeds the congestion length threshold, outputting alarm information.
In one possible implementation, if the second queue length does not exceed the congestion length threshold, the method further includes:
judging whether the second queuing length exceeds a safe length threshold value;
if not, determining that the green light duration of the current road section, each source road section and each evacuation road section is the original green light duration of the current road section, each source road section and each evacuation road section respectively;
if so, increasing the duration of the green light of the current road section on the basis of the original duration; when the second queuing length exceeds the safety length threshold, the increased green light time of the current road section is longer, and when the first queuing length exceeds the preset congestion length threshold, the increased green light time of the current road section is shorter.
In a possible embodiment, the increasing the duration of the green light on the current road segment on the basis of the original duration includes:
determining a first ratio corresponding to the green light duration of the current road section according to whether the green light duration of the road section is the original green light duration of the road section; the green time length of the road section is larger than a first ratio corresponding to the non-original time length of the green time length of the road section;
according to the stored first green light duration of the straight-going of the current road section and the stored second green light duration of the left turn of the current road section, determining that a first product of the first green light duration and a preset first ratio is a first target duration increased by the duration of the straight-going green light of the current road section, and determining that a second product of the second green light duration and the first ratio is a second target duration increased by the duration of the left turn of the green light of the current road section;
and increasing the first target time length on the basis of the original time length of the green light of the straight-ahead driving of the current road section, and increasing the second target time length on the basis of the original time length of the left-turning green light of the current road section.
In a possible embodiment, the increasing the duration of the green light on the current road segment on the basis of the original duration includes:
determining a first ratio corresponding to the green light duration of the current road section according to whether the green light duration of the road section is the original green light duration of the road section; the first ratio corresponding to the original time length of the green light time length of the road section is larger than the first ratio corresponding to the non-original time length of the green light time length of the road section;
acquiring the number of first lanes for straight running and the number of second lanes for left turning of the current road section;
determining a third product of the first green light duration and the first lane number and a fourth product of the second green light duration and the second lane number according to the first green light duration of the straight going of the current road section, the second green light duration of the left turning of the current road section, the first lane number and the second lane number;
acquiring a first sum of the third product and the fourth product, a second sum of the first green light duration and the second green light duration, and determining a second ratio of the first ratio to the first sum, and a fifth product of the second ratio to the second sum; determining that a sixth product of the third product and the fifth product is a first target time length increased by the time length of the green light for straight-ahead driving of the current road section, and a seventh product of the fourth product and the fifth product is a second target time length increased by the time length of the green light for left turning of the current road section;
and increasing the first target time length on the basis of the original time length of the green light of the straight-ahead driving of the current road section, and increasing the second target time length on the basis of the original time length of the left-turning green light of the current road section.
In a possible implementation manner, after the duration of the green light in the current road section is increased on the basis of the original duration, and before the duration of the green light in each evacuation road section corresponding to the current road section is increased by a first preset duration, the method further includes:
and according to the prestored corresponding relation between the road section and the evacuation road section, determining each evacuation road section corresponding to the current road section, and aiming at each evacuation road section corresponding to the determined current road section, executing the subsequent operation of increasing the time length of the green light of each evacuation road section corresponding to the current road section by first preset time length.
In a possible implementation manner, if the collected OD data of the current road segment is not acquired, the method further includes:
determining each source road section corresponding to the current road section according to the corresponding relation between the pre-stored road section and the source road section; and shortening the duration of the green light of each source road section corresponding to the current road section by a second preset duration.
The communication bus mentioned in the above server may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus.
The communication interface 502 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program executable by an electronic device is stored, and when the program is run on the electronic device, the electronic device is caused to perform the following steps:
the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring a first queuing length of vehicles on a current road section acquired by preset acquisition equipment; judging whether the first queuing length exceeds a preset congestion length threshold value or not;
if so, increasing the duration of the green light of the current road section on the basis of the original duration, and increasing the duration of the green light of each evacuation road section corresponding to the current road section by a first preset duration; acquiring Origin and Destination (OD) data of the acquired current road section, and acquiring a first number of vehicles in the current road section according to the OD data; determining, from the source road segments of each vehicle, a second number of vehicles of the current road segment that originate from each source road segment; for each source road segment, determining a target ratio of a second number of vehicles in the current road segment from the source road segment to the first number; and shortening the duration of the green light of the source road section by the duration corresponding to the target ratio according to the corresponding relation between the ratio and the duration which is stored in advance.
In one possible embodiment, the method further comprises:
after the duration of the green light of the current road section is increased on the basis of the original duration, acquiring a second queuing length of the vehicles on the current road section, which is acquired by the preset acquisition equipment;
and if the second queuing length exceeds the congestion length threshold, outputting alarm information.
In one possible implementation, if the second queue length does not exceed the congestion length threshold, the method further includes:
judging whether the second queuing length exceeds a safe length threshold value;
if not, determining that the green light duration of the current road section, each source road section and each evacuation road section is the original green light duration of the current road section, each source road section and each evacuation road section respectively;
if yes, increasing the duration of the green light of the current road section on the basis of the original duration; when the second queuing length exceeds the safety length threshold, the increased green light time of the current road section is longer, and when the first queuing length exceeds the preset congestion length threshold, the increased green light time of the current road section is shorter.
In a possible embodiment, the increasing the duration of the green light on the current road segment on the basis of the original duration includes:
determining a first ratio corresponding to the green light duration of the current road section according to whether the green light duration of the road section is the original green light duration of the road section; the first ratio corresponding to the original time length of the green light time length of the road section is larger than the first ratio corresponding to the non-original time length of the green light time length of the road section;
according to the stored first green light duration of the straight-going of the current road section and the stored second green light duration of the left turn of the current road section, determining that a first product of the first green light duration and a preset first ratio is a first target duration increased by the duration of the straight-going green light of the current road section, and determining that a second product of the second green light duration and the first ratio is a second target duration increased by the duration of the left turn of the green light of the current road section;
and increasing the first target time length on the basis of the original time length of the green light of the straight-ahead driving of the current road section, and increasing the second target time length on the basis of the original time length of the left-turning green light of the current road section.
In a possible embodiment, the increasing the duration of the green light on the current road segment on the basis of the original duration includes:
determining a first ratio corresponding to the green light duration of the current road section according to whether the green light duration of the road section is the original green light duration of the road section; the green time length of the road section is larger than a first ratio corresponding to the non-original time length of the green time length of the road section;
acquiring the number of first lanes for straight running and the number of second lanes for left turning of the current road section;
determining a third product of the first green light duration and the first lane number and a fourth product of the second green light duration and the second lane number according to the first green light duration of the straight going of the current road section, the second green light duration of the left turn of the current road section, the first lane number and the second lane number;
acquiring a first sum of the third product and the fourth product, a second sum of the first green light duration and the second green light duration, and determining a second ratio of the first ratio to the first sum, and a fifth product of the second ratio to the second sum; determining that a sixth product of the third product and the fifth product is a first target time length increased by the time length of the green light for straight-ahead driving of the current road section, and a seventh product of the fourth product and the fifth product is a second target time length increased by the time length of the green light for left turning of the current road section;
and increasing the first target time length on the basis of the original time length of the green light of the straight-ahead driving of the current road section, and increasing the second target time length on the basis of the original time length of the left-turning green light of the current road section.
In a possible implementation manner, after the time length of the green light of the current road section is increased on the basis of the original time length, and before the time length of the green light of each evacuation road section corresponding to the current road section is increased by a first preset time length, the method further includes:
and according to the prestored corresponding relation between the road section and the evacuation road section, determining each evacuation road section corresponding to the current road section, and aiming at each evacuation road section corresponding to the determined current road section, executing the subsequent operation of increasing the time length of the green light of each evacuation road section corresponding to the current road section by first preset time length.
In a possible implementation manner, if the collected OD data of the current road segment is not acquired, the method further includes:
determining each source road section corresponding to the current road section according to the corresponding relation between the pre-stored road section and the source road section; and shortening the duration of the green light of each source road section corresponding to the current road section by a second preset duration.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (9)

1. A traffic congestion processing method, characterized in that the method comprises:
acquiring a first queuing length of vehicles on a current road section acquired by preset acquisition equipment; judging whether the first queuing length exceeds a preset congestion length threshold value or not;
if yes, increasing the duration of the green light of the current road section on the basis of the original duration, and increasing the duration of the green light of each evacuation road section corresponding to the current road section by a first preset duration; acquiring Origin and Destination (OD) data of the acquired current road section, and acquiring a first number of vehicles in the current road section according to the OD data; determining, from the source road segments of each vehicle, a second number of vehicles of the current road segment that originate from each source road segment; for each source road segment, determining a target ratio of a second number of vehicles in the current road segment from the source road segment to the first number; according to the corresponding relation between the pre-stored ratio and the duration, shortening the duration of the green light of the source road section by the duration corresponding to the target ratio;
wherein, the step of increasing the duration of the green light on the current road section on the basis of the original duration comprises the following steps:
determining a first ratio corresponding to the green light duration of the current road section according to whether the green light duration of the road section is the original green light duration of the road section; the first ratio corresponding to the original time length of the green light time length of the road section is larger than the first ratio corresponding to the non-original time length of the green light time length of the road section;
acquiring the number of first lanes for straight running and the number of second lanes for left turning of the current road section;
determining a third product of the first green light duration and the first lane number and a fourth product of the second green light duration and the second lane number according to the first green light duration of the straight going of the current road section, the second green light duration of the left turning of the current road section, the first lane number and the second lane number;
acquiring a first sum of the third product and the fourth product, a second sum of the first green light duration and the second green light duration, and determining a second ratio of the first ratio to the first sum, and a fifth product of the second ratio to the second sum; determining that a sixth product of the third product and the fifth product is a first target duration for increasing the duration of green light for straight-ahead driving on the current road section, and a seventh product of the fourth product and the fifth product is a second target duration for increasing the duration of green light for left turn on the current road section;
and increasing the first target duration of the green light of the straight-ahead driving of the current road section on the basis of the original duration, and increasing the second target duration of the left-turning green light of the current road section on the basis of the original duration.
2. The method of claim 1, further comprising:
after the duration of the green light of the current road section is increased on the basis of the original duration, acquiring a second queuing length of the vehicles on the current road section, which is acquired by the preset acquisition equipment;
and if the second queuing length exceeds the congestion length threshold, outputting alarm information.
3. The method according to claim 2, wherein if the second queue length does not exceed the congestion length threshold, the method further comprises:
judging whether the second queuing length exceeds a safe length threshold value;
if not, determining that the green light duration of the current road section, each source road section and each evacuation road section is the original green light duration of the current road section, each source road section and each evacuation road section respectively;
if yes, increasing the duration of the green light of the current road section on the basis of the original duration; when the second queuing length exceeds the safety length threshold, the increased green light time of the current road section is longer, and when the first queuing length exceeds the preset congestion length threshold, the increased green light time of the current road section is shorter.
4. The method according to claim 1 or 3, wherein the increasing the time length of the green light in the current road section on the basis of the original time length comprises:
determining a first ratio corresponding to the green light duration of the current road section according to whether the green light duration of the road section is the original green light duration of the road section; the first ratio corresponding to the original time length of the green light time length of the road section is larger than the first ratio corresponding to the non-original time length of the green light time length of the road section;
according to the stored first green light duration of the straight-going current road section and the stored second green light duration of the left turn of the current road section, determining that a first product of the first green light duration and a preset first ratio is a first target duration increased by the duration of the straight-going green light of the current road section, and determining that a second product of the second green light duration and the first ratio is a second target duration increased by the duration of the left turn of the green light of the current road section;
and increasing the first target time length on the basis of the original time length of the green light of the straight-ahead driving of the current road section, and increasing the second target time length on the basis of the original time length of the left-turning green light of the current road section.
5. The method according to claim 1, wherein after the time length of the green light of the current road section is increased on the basis of the original time length, and before the time length of the green light of each evacuation road section corresponding to the current road section is increased by a first preset time length, the method further comprises:
and according to the prestored corresponding relation between the road section and the evacuation road section, determining each evacuation road section corresponding to the current road section, and aiming at each evacuation road section corresponding to the determined current road section, executing the subsequent operation of increasing the time length of the green light of each evacuation road section corresponding to the current road section by first preset time length.
6. The method according to claim 1, wherein if the collected OD data of the current road segment is not acquired, the method further comprises:
determining each source road section corresponding to the current road section according to the corresponding relation between the pre-stored road section and the source road section; and shortening the duration of the green light of each source road section corresponding to the current road section by a second preset duration.
7. A traffic congestion processing apparatus, characterized in that the apparatus comprises:
the acquisition judging module is used for acquiring a first queuing length of the vehicles on the current road section acquired by preset acquisition equipment; judging whether the first queuing length exceeds a preset congestion length threshold value or not;
the processing module is used for increasing the duration of the green light of the current road section on the basis of the original duration and increasing the duration of the green light of each evacuation road section corresponding to the current road section by a first preset duration if the first queuing length exceeds a preset congestion length threshold; acquiring origin and destination OD data of the current road section, and acquiring a first number of vehicles in the current road section according to the OD data; determining, from the source road segments of each vehicle, a second number of vehicles of the current road segment that originate from each source road segment; for each source road segment, determining a target ratio of a second number of vehicles in the current road segment from the source road segment to the first number; shortening the duration of the green light of the source road section by the duration corresponding to the target ratio according to the corresponding relation between the ratio and the duration which is stored in advance;
the processing module is specifically configured to determine a first ratio corresponding to the green light duration of the current road section according to whether the green light duration of the road section is the original green light duration of the road section; the green time length of the road section is larger than a first ratio corresponding to the non-original time length of the green time length of the road section; acquiring the number of first lanes for straight running and the number of second lanes for left turning of the current road section; determining a third product of the first green light duration and the first lane number and a fourth product of the second green light duration and the second lane number according to the first green light duration of the straight going of the current road section, the second green light duration of the left turn of the current road section, the first lane number and the second lane number; acquiring a first sum of the third product and the fourth product, a second sum of the first green light duration and the second green light duration, and determining a second ratio of the first ratio to the first sum, and a fifth product of the second ratio to the second sum; determining that a sixth product of the third product and the fifth product is a first target duration for increasing the duration of green light for straight-ahead driving on the current road section, and a seventh product of the fourth product and the fifth product is a second target duration for increasing the duration of green light for left turn on the current road section; and increasing the first target time length on the basis of the original time length of the green light of the straight-ahead driving of the current road section, and increasing the second target time length on the basis of the original time length of the left-turning green light of the current road section.
8. An electronic device, characterized in that the electronic device comprises at least a processor and a memory, the processor being configured to implement the steps of the traffic congestion processing method according to any of the claims 1-6 when executing a computer program stored in the memory.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the traffic congestion processing method according to any one of the preceding claims 1 to 6.
CN202111270591.0A 2021-10-29 2021-10-29 Traffic jam processing method, device, equipment and medium Active CN114023084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111270591.0A CN114023084B (en) 2021-10-29 2021-10-29 Traffic jam processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111270591.0A CN114023084B (en) 2021-10-29 2021-10-29 Traffic jam processing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114023084A CN114023084A (en) 2022-02-08
CN114023084B true CN114023084B (en) 2023-01-17

Family

ID=80058764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111270591.0A Active CN114023084B (en) 2021-10-29 2021-10-29 Traffic jam processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114023084B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102005124A (en) * 2010-11-16 2011-04-06 青岛海信网络科技股份有限公司 Method and device for controlling traffic signals of intersections
CN105336183A (en) * 2015-10-26 2016-02-17 青岛海信网络科技股份有限公司 Traffic congestion control method and device based on road section passing capacity
CN111047880A (en) * 2018-10-12 2020-04-21 杭州海康威视系统技术有限公司 Traffic control method and device for road network, storage medium and management equipment
CN111260922A (en) * 2020-01-20 2020-06-09 浙江工业大学 Ramp control method based on congestion situation classification

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011203933A (en) * 2010-03-25 2011-10-13 Nomura Research Institute Ltd Apparatus and computer program for determining switching timing of traffic signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102005124A (en) * 2010-11-16 2011-04-06 青岛海信网络科技股份有限公司 Method and device for controlling traffic signals of intersections
CN105336183A (en) * 2015-10-26 2016-02-17 青岛海信网络科技股份有限公司 Traffic congestion control method and device based on road section passing capacity
CN111047880A (en) * 2018-10-12 2020-04-21 杭州海康威视系统技术有限公司 Traffic control method and device for road network, storage medium and management equipment
CN111260922A (en) * 2020-01-20 2020-06-09 浙江工业大学 Ramp control method based on congestion situation classification

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
快速路出口辅路与地面交叉口协调控制策略研究;袁长亮等;《道路交通与安全》;20100815(第04期);全文 *
袁长亮等.快速路出口辅路与地面交叉口协调控制策略研究.《道路交通与安全》.2010,(第04期),全文. *

Also Published As

Publication number Publication date
CN114023084A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
US11380195B2 (en) Road traffic analysis methods and apparatuses
RU2705480C1 (en) Control method and vehicle control device with automatic driving function
DE102016205972A1 (en) Method for the autonomous or semi-autonomous execution of a cooperative driving maneuver
CN113936480B (en) Traffic signal control method and equipment
CN112382102A (en) Intelligent control system of urban traffic signal lamp
US20210043076A1 (en) Traffic monitoring apparatus, traffic monitoring system, traffic monitoring method, and non-transitory computer readable medium storing program
CN112185147B (en) Vehicle driving process optimization method, device, equipment and storage medium
CN113744522B (en) Method, device and medium for guiding vehicles on highway
CN109584579B (en) Traffic signal lamp control method based on face recognition and computer equipment
CN112382103A (en) Intelligent control method and storage medium for urban traffic signal lamp
CN111798687A (en) Method and system for remotely controlling vehicle based on 5G technology
CN111540197B (en) Lane function division method and device, electronic equipment and storage medium
CN114664097B (en) Radar data-based green light dynamic extension method, device, equipment and medium
CN103700267B (en) Self-adaption emptying signal control method for signal intersection
CN116229722A (en) Vehicle control method and device for expressway ramp under vehicle-road cooperative environment
CN116564079A (en) Road section traffic jam identification method, device and equipment and readable storage medium
CN108806285B (en) Intersection signal adjusting method and device based on array radar
CN114023084B (en) Traffic jam processing method, device, equipment and medium
CN109598953B (en) Vehicle guiding method and device
CN110491122B (en) Method and device for reducing urban congestion ranking
CN110027560B (en) Vehicle control method and device
CN112669630B (en) Traffic signal timing scheme generation method, traffic signal control method and device
CN117558144A (en) Signal timing control method, system, equipment and medium based on cooperative control area
CN111724600A (en) Real-time queuing length analysis method and system based on edge calculation
CN111435568B (en) Regional traffic control method 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