Intelligent road traffic signal control method and system, terminal and storage medium

By acquiring video images to determine the number of vehicles and using preset control rules to dynamically adjust traffic signal timing, the problem of road congestion caused by fixed timing in traditional signal systems has been solved, achieving more efficient traffic flow.

CN116884237BActive Publication Date: 2026-02-24CHANGZHOU SHIZHENG ENG DESIGN RES YUAN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310862528.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-13
Publication Date
2026-02-24
Estimated Expiration
2043-07-13

AI Technical Summary

Technical Problem

Traditional road intersection signal systems use fixed signal timings, resulting in no vehicles passing through the green light direction while other directions have long queues, which cannot effectively alleviate road congestion.

Method used

By acquiring video images of different phases, the number of existing vehicles and buffer vehicles is determined, and traffic signal timing is dynamically adjusted using preset control rules, including extending or shortening green light time, to adapt to actual vehicle flow.

Benefits of technology

Dynamically adjusting traffic signal timing can effectively alleviate road congestion, improve intersection capacity, and reduce vehicle waiting time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116884237B_ABST
    Figure CN116884237B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of intelligent traffic, in particular to an intelligent road traffic signal control method and system, a terminal and a storage medium, which method comprises the following steps: acquiring video images of different phases; acquiring the number of stored vehicles of a stored area corresponding to a target phase based on the video images; judging whether the number of stored vehicles exceeds a preset first storage threshold; if the number of stored vehicles exceeds the preset first storage threshold, controlling traffic information based on a preset control rule; if the number of stored vehicles does not exceed the preset first storage threshold, acquiring the number of buffer vehicles of a buffer area corresponding to the target phase; and controlling road traffic signals based on the number of buffer vehicles and the preset control rule. The application helps to relieve road congestion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent transportation technology, and in particular to an intelligent road traffic signal control method, system, terminal and storage medium. Background Technology

[0002] With modern society's increasing reliance on transportation, the control of traffic systems is receiving more and more attention. Intelligent transportation systems, developed using advanced information, communication, and control technologies, can significantly improve the operational efficiency of transportation networks and are the most economical and effective way to solve traffic congestion problems. In traffic signal control at intersections, how to scientifically and effectively design advanced traffic signal timing schemes based on traffic flow characteristics and queuing delay patterns to improve intersection control efficiency has become one of the important issues in current urban traffic control systems.

[0003] The efficiency of urban road network operation depends on the traffic capacity of intersections. Traditional road intersection signal systems usually use fixed signal timing, which often results in situations where no vehicles pass through the green light direction, but the queue lengths for other directions are long, which is not conducive to alleviating road congestion. Summary of the Invention

[0004] To help alleviate road congestion, this application provides an intelligent road traffic signal control method, system, terminal, and storage medium.

[0005] Firstly, this application provides an intelligent road traffic signal control method, which adopts the following technical solution:

[0006] An intelligent road traffic signal control method, comprising:

[0007] Acquire video images at different phases;

[0008] Based on the video image, obtain the number of vehicles in the storage area corresponding to the target phase;

[0009] Determine whether the number of existing vehicles exceeds a preset first stock threshold;

[0010] If the number of existing vehicles exceeds the preset first stock threshold, the traffic information is controlled based on preset control rules.

[0011] If the number of existing vehicles does not exceed the preset first existing threshold, then the number of buffer vehicles in the buffer zone corresponding to the target phase is obtained.

[0012] Based on the number of buffer vehicles and the preset control rules, the road traffic signals are controlled.

[0013] By adopting the above technical solution, the number of existing vehicles in the stock area corresponding to the target phase is obtained based on video images of different phases. It is then determined whether the number of existing vehicles exceeds a preset first stock threshold. If the number of existing vehicles exceeds the preset first stock threshold, it indicates that the number of vehicles in the stock area is large, which is likely to cause road congestion. Therefore, traffic information is controlled according to preset control rules, which helps to alleviate road congestion. If the number of existing vehicles does not exceed the preset first stock threshold, it indicates that the number of vehicles in the stock area has not reached the point where additional control of traffic information is required. Therefore, the number of buffer vehicles in the buffer zone corresponding to the target phase is further obtained, and then the road traffic signal is controlled according to the size of the number of buffer vehicles through preset control rules, which helps to alleviate road congestion.

[0014] Optionally, if the number of existing vehicles exceeds the preset first stock threshold, the specific steps for controlling the traffic information based on preset control rules include:

[0015] If the number of existing vehicles exceeds the preset first stock threshold, then the current driving time corresponding to the target phase is obtained;

[0016] Obtain the initial driving time corresponding to the target phase;

[0017] Obtain the periodic difference between the current driving time and the initial driving time;

[0018] Determine whether the period difference is less than or equal to zero;

[0019] If the cycle difference is less than or equal to zero, the current driving time will be extended based on the preset control rules.

[0020] By adopting the above technical solution, the current driving time and the initial driving time corresponding to the target phase are obtained. The cycle difference is obtained based on the current driving time and the initial driving time, and it is determined whether the cycle difference is less than or equal to zero. If the cycle difference is less than or equal to zero, it indicates that the current driving time is less than or equal to the initial driving time. The current driving time is extended according to the preset control rules, which helps to alleviate road congestion caused by the large number of existing vehicles.

[0021] Optionally, after determining whether the period difference is zero, the method further includes:

[0022] If the period difference is greater than zero, then determine whether the period difference is greater than or equal to a preset first difference threshold.

[0023] If the period difference is greater than or equal to the preset first difference threshold, then the next phase is obtained based on the preset control rule and the next phase is taken as the target phase;

[0024] If the cycle difference is less than the preset first difference threshold, the current driving time will be extended based on the preset control rule.

[0025] By adopting the above technical solution, if the cycle difference is greater than zero, it indicates that the current driving time is longer than the initial driving time. Further, it is determined whether the cycle difference is greater than or equal to the preset first difference threshold. If the cycle difference is greater than or equal to the preset first difference threshold, it indicates that the difference between the current driving time and the initial driving time is greater than or equal to the preset first difference threshold, that is, the current driving time is greater than or equal to the maximum allowed time. Therefore, directly obtaining the next phase and using the next phase as the target phase, and controlling the current driving time corresponding to the target phase, helps to extend the driving time corresponding to the target phase according to the preset control rules when the number of existing vehicles is too large. It also helps to prevent congestion of vehicles in other phases due to excessive extension of the driving time corresponding to the target phase.

[0026] If the cycle difference is less than the preset first difference threshold, it indicates that the difference between the current driving time and the initial driving time is less than the preset first difference threshold, that is, the current driving time is less than the maximum allowed time. Therefore, the current driving time can be extended according to the preset control rules, which helps to alleviate road congestion.

[0027] Optionally, the specific steps for controlling the road traffic signal based on the number of buffer vehicles and the preset control rules include:

[0028] Determine whether the number of buffer vehicles exceeds a preset first buffer threshold;

[0029] If the number of buffered vehicles does not exceed the preset first buffer threshold, then the next phase is obtained based on the preset control rule and the next phase is taken as the target phase;

[0030] If the number of buffer vehicles exceeds the preset first buffer threshold, then the current driving time and the initial driving time corresponding to the target phase are obtained;

[0031] Obtain the period difference between the current driving time and the initial driving time, and determine whether the period difference is less than or equal to zero;

[0032] If the cycle difference is less than or equal to zero, the current driving time will be extended based on the preset control rules.

[0033] If the period difference is greater than zero, then determine whether the period difference is greater than or equal to a preset second difference threshold.

[0034] If the period difference is greater than or equal to the preset second difference threshold, then the next phase is obtained based on the preset control rule and the next phase is taken as the target phase;

[0035] If the cycle difference is less than the preset second difference threshold, the current driving time will be extended based on the preset control rule.

[0036] By adopting the above technical solution, it is determined whether the number of buffer vehicles exceeds the preset first buffer threshold. If the number of buffer vehicles does not exceed the preset first buffer threshold, it indicates that the number of buffer vehicles corresponding to the target phase is within the allowable range. Therefore, there is no need to control the traffic signal of the target phase. The next phase is directly obtained and used as the target phase. If the number of buffer vehicles exceeds the preset first buffer threshold, it indicates that the number of buffer vehicles has exceeded the allowable range. It is then determined whether the cycle difference is less than or equal to zero. If the cycle difference is less than or equal to zero, it indicates that the current driving time is less than or equal to the initial driving time. The current driving time is extended according to the preset control rules, which helps to alleviate road congestion caused by an excessive number of existing vehicles.

[0037] If the cycle difference is greater than zero, it indicates that the current driving time is longer than the initial driving time. Therefore, it is further determined whether the cycle difference is greater than or equal to the preset second difference threshold. If the cycle difference is greater than or equal to the preset second difference threshold, it indicates that the current driving time is greater than or equal to the maximum allowed time. Therefore, the next phase is directly obtained and the next phase is used as the target phase. If the cycle difference is less than the preset first difference threshold, it indicates that the current driving time is less than the maximum allowed time. Therefore, the current driving time can be extended according to the preset control rules, which helps to alleviate road congestion.

[0038] Optional, also includes:

[0039] Based on the initial driving time, the initial signal period is obtained;

[0040] Get the number of phases;

[0041] The single-phase control duration is obtained based on the preset control rules;

[0042] Based on the single-phase control duration and the number of phases, the total control duration is obtained;

[0043] Determine whether the current driving time corresponding to the same phase is greater than the initial driving time;

[0044] If the current driving time corresponding to the same phase is greater than the initial driving time, then the initial signal period is extended based on the total adjustment time.

[0045] By adopting the above technical solution, the total control time is obtained based on the single-phase control duration and the number of phases, and it is determined whether the current driving time corresponding to the same phase is greater than the initial driving time. If so, it indicates that there is a signal delay in all phases, and it also indicates that the traffic flow in each phase is relatively large. Extending the initial signal cycle based on the total control time helps to alleviate road congestion.

[0046] Optionally, after determining whether the current driving time corresponding to the same phase is greater than the initial driving time, the method further includes:

[0047] If there are identical phases for which the current driving time is less than or equal to the initial driving time, then determine whether the current driving time for identical phases is less than or equal to the initial driving time.

[0048] If the current driving time corresponding to the same phase is less than or equal to the initial driving time, then determine whether the number of existing vehicles corresponding to the phase is less than a preset second stock threshold and whether the number of buffer vehicles is less than a preset second buffer threshold.

[0049] If the number of existing vehicles is less than a preset second existing threshold and the number of buffer vehicles is less than a preset second buffer threshold, then the initial signal period is shortened based on the total control duration.

[0050] By adopting the above technical solution, if the current travel time corresponding to the same phase is less than or equal to the initial travel time, it indicates that not all phases have signal delay. Therefore, it is further determined whether the current travel time corresponding to the same phase is less than or equal to the initial travel time. If so, it is further determined whether the number of existing vehicles corresponding to that phase is less than a preset second existing threshold and whether the number of buffer vehicles is less than a preset second buffer threshold. If so, it indicates that the number of existing vehicles and the number of buffer vehicles corresponding to all phases are very small, that is, the traffic flow of all phases is very small. Therefore, the signal can be switched to the next phase in advance, and the initial signal cycle can be shortened according to the total control time, thereby helping to reduce vehicle waiting time and improve the intersection capacity.

[0051] Optionally, after determining whether the current driving time corresponding to the same phase is all less than or equal to the initial driving time if there are any phases with the same current driving time less than or equal to the initial driving time, the method further includes:

[0052] If the current driving time corresponding to the same phase is not less than or equal to the initial driving time, then the incremental phase and the decrement phase are obtained based on the single-phase control time, the number of existing vehicles, and the number of buffer vehicles.

[0053] Based on the single-phase control duration and the preset control rules, the current driving time corresponding to the incremental phase and the current driving time corresponding to the decrement phase are adjusted respectively.

[0054] By adopting the above technical solution, if the current driving time corresponding to the same phase is not less than or equal to the initial driving time, it indicates that there are both phases with signal delay and phases with early signal entry. It also indicates that there are both phases with high traffic volume (incremental phases) and phases with low traffic volume (decreasing phases). Therefore, the incremental and decreasing phases are obtained based on the single-phase control duration, the number of existing vehicles, and the number of buffer vehicles. Then, based on the single-phase control duration and the preset control rules, the current driving time corresponding to the incremental phase and the current driving time corresponding to the decreasing phase are adjusted respectively. When only some phases have high traffic volume and need to optimize signal timing, the timing of the traffic volume decreasing phase is reduced and allocated to the incremental phase, thereby helping to alleviate road congestion.

[0055] Secondly, this application also discloses an intelligent road traffic signal control system, which adopts the following technical solution:

[0056] An intelligent road traffic signal control system includes:

[0057] The first acquisition module is used to acquire video images of different phases;

[0058] The second acquisition module is used to acquire the number of existing vehicles in the storage area corresponding to the target phase based on the video image;

[0059] The judgment module is used to determine whether the number of existing vehicles exceeds a preset first stock threshold.

[0060] If the number of existing vehicles exceeds the preset first stock threshold, the first control module is used to control the traffic information based on preset control rules.

[0061] If the number of existing vehicles does not exceed the preset first existing threshold, the third acquisition module is used to acquire the number of buffer vehicles in the buffer zone corresponding to the target phase.

[0062] The second control module is used to control the road traffic signal based on the number of buffer vehicles and the preset control rules.

[0063] By adopting the above technical solution, the number of existing vehicles in the stock area corresponding to the target phase is obtained based on video images of different phases. It is then determined whether the number of existing vehicles exceeds a preset first stock threshold. If the number of existing vehicles exceeds the preset first stock threshold, it indicates that the number of vehicles in the stock area is large, which is likely to cause road congestion. Therefore, traffic information is controlled according to preset control rules, which helps to alleviate road congestion. If the number of existing vehicles does not exceed the preset first stock threshold, it indicates that the number of vehicles in the stock area has not reached the point where additional control of traffic information is required. Therefore, the number of buffer vehicles in the buffer zone corresponding to the target phase is further obtained, and then the road traffic signal is controlled according to the size of the number of buffer vehicles through preset control rules, which helps to alleviate road congestion.

[0064] Thirdly, the computer device provided in this application adopts the following technical solution:

[0065] A smart terminal includes a memory and a processor, wherein the memory stores a computer program that can run on the processor, and when the processor loads the computer program, it executes the method of the first aspect.

[0066] By adopting the above technical solution, a computer program is generated based on the method of the first aspect and stored in a memory for loading and execution by a processor. Thus, a smart terminal is made based on the memory and the processor, making it convenient for users to use.

[0067] Fourthly, the computer-readable storage medium provided in this application adopts the following technical solution:

[0068] A computer-readable storage medium storing a computer program that, when loaded by a processor, executes the method of the first aspect.

[0069] By adopting the above technical solution, a computer program is generated based on the method of the first aspect and stored in a computer-readable storage medium for loading and execution by a processor. The computer-readable storage medium facilitates the reading and storage of the computer program.

[0070] In summary, this application includes the following beneficial technical effects:

[0071] Based on video images of different phases, the number of vehicles in the stock area corresponding to the target phase is obtained. It is then determined whether the number of vehicles exceeds a preset first stock threshold. If the number of vehicles exceeds the preset first stock threshold, it indicates that the number of vehicles in the stock area is large, which is likely to cause road congestion. Therefore, traffic information is controlled according to preset control rules to help alleviate road congestion. If the number of vehicles does not exceed the preset first stock threshold, it indicates that the number of vehicles in the stock area has not reached the point where additional control of traffic information is required. Therefore, the number of buffer vehicles in the buffer zone corresponding to the target phase is further obtained. Then, according to the preset control rules, the road traffic signal is controlled based on the size of the number of buffer vehicles to help alleviate road congestion. Attached Figure Description

[0072] Figure 1 This is a main flowchart of an intelligent road traffic signal control method according to an embodiment of this application;

[0073] Figure 2 This is a flowchart of steps S201 to S205;

[0074] Figure 3 This is a flowchart of steps S301 to S303;

[0075] Figure 4 This is a flowchart of steps S401 to S408;

[0076] Figure 5 This is a flowchart of steps S501 to S506;

[0077] Figure 6 This is a flowchart of steps S601 to S603;

[0078] Figure 7 This is a flowchart of steps S701 to S702;

[0079] Figure 8 This is a block diagram of an intelligent road traffic signal control system according to an embodiment of this application.

[0080] Explanation of reference numerals in the attached figures:

[0081] 1. First acquisition module; 2. Second acquisition module; 3. Judgment module; 4. First control module; 5. Third acquisition module; 6. Second control module. Detailed Implementation

[0082] Firstly, this application discloses an intelligent road traffic signal control method.

[0083] Reference Figure 1An intelligent road traffic signal control method includes steps S101 to S106:

[0084] Step S101: Acquire video images of different phases.

[0085] Specifically, in this embodiment, the signal cycle of a typical intersection (two roads intersecting at a crossroads) usually has four phases, namely the straight and left turns of one road and the straight and left turns of the other road. A camera device is installed at the intersection to capture video images of vehicles in different phases and send the video images to the intelligent road traffic signal control system.

[0086] Step S102: Based on the video image, obtain the number of existing vehicles in the stock area corresponding to the target phase.

[0087] Specifically, in this embodiment, the intelligent road traffic signal control system identifies and counts vehicles within the target phase storage area based on the video image of the target phase, thereby obtaining the number of existing vehicles. In this embodiment, different phases can be numbered, such as 1, 2, 3, 4, etc. Phase 1 can be preset as the target phase, and then the target phase can be selected in ascending order. Alternatively, the phase corresponding to the green light can be preset as the target phase, and then the target phase can be selected according to the number or directional order (such as clockwise or counterclockwise order). The number of existing vehicles is the number of vehicles in the storage area, which can be set as the area included by the solid line segment of the corresponding flow lane at the intersection.

[0088] Step S103: Determine whether the number of existing vehicles exceeds the preset first stock threshold.

[0089] Specifically, in this embodiment, the preset first storage threshold can be set directly, such as 10 or other values, or it can be set according to the number of lanes in one direction of the road. For example, if the road has 3 lanes in one direction, and a lane can accommodate a maximum of 10 vehicles from the stop line at the traffic light to the end of the solid line corresponding to the storage area (in this embodiment, ordinary cars are used as the basis, and the distance between two cars is not less than 1 meter), then the first storage threshold can be set according to 50% of the maximum number of vehicles that can be placed, that is, the first storage threshold can be set to 3*10*50%=15 vehicles. In this embodiment, a judgment is made every certain period of time, which can be 5 seconds or other times selected according to the actual situation.

[0090] Step S104: If the number of existing vehicles exceeds the preset first stock threshold, traffic information is controlled based on preset control rules.

[0091] Specifically, in this embodiment, if the number of existing vehicles exceeds the preset first existing threshold, it indicates that the number of existing vehicles is large and the traffic flow corresponding to the target phase is large. Therefore, the traffic signal can be delayed within the allowable range according to the preset control rules. The preset control rules are the control rules for controlling traffic signals that are pre-set and stored in the intelligent road traffic signal control system.

[0092] Step S105: If the number of existing vehicles does not exceed the preset first existing threshold, then obtain the number of buffer vehicles in the buffer corresponding to the target phase.

[0093] Specifically, in this embodiment, if the number of existing vehicles does not exceed the preset first existing threshold, it indicates that the number of existing vehicles is within the allowed range. Therefore, it is necessary to further obtain the number of buffer vehicles in the buffer zone corresponding to the target phase and use this as a factor to control the traffic signal. The number of buffer vehicles is the number of vehicles in the buffer zone area. The buffer zone is the area that is connected to the existing area and has the same length as the existing area.

[0094] Step S106: Control the road traffic signal based on the number of buffer vehicles and preset control rules.

[0095] Specifically, in this embodiment, the traffic signal is delayed or shortened within the allowed time range based on the number of buffer vehicles and preset control rules.

[0096] The intelligent road traffic signal control method provided in this embodiment obtains the number of existing vehicles in the stock area corresponding to the target phase based on video images of different phases, and determines whether the number of existing vehicles exceeds a preset first stock threshold. If the number of existing vehicles exceeds the preset first stock threshold, it indicates that the number of vehicles in the stock area is large, which is likely to cause road congestion. Therefore, traffic information is controlled according to preset control rules, which helps to alleviate road congestion. If the number of existing vehicles does not exceed the preset first stock threshold, it indicates that the number of vehicles in the stock area has not reached the point where additional control of traffic information is required. Therefore, the number of buffer vehicles in the buffer zone corresponding to the target phase is further obtained, and then the road traffic signal is controlled according to the size of the number of buffer vehicles through preset control rules, which helps to alleviate road congestion.

[0097] Reference Figure 2 In one embodiment of this example, if the number of existing vehicles exceeds a preset first stock threshold in step S104, the specific steps for controlling traffic information based on preset control rules include steps S201 to S205:

[0098] Step S201: If the number of existing vehicles exceeds the preset first existing threshold, then obtain the current driving time corresponding to the target phase.

[0099] Specifically, in this embodiment, the current driving time is the total green light duration corresponding to the current phase. The current driving time is stored in the intelligent road traffic signal control system and displayed through the signal control lights. For example, if the current phase is straight in the north-south direction and the total green light duration for straight in this direction is 90 seconds, then the current driving time is 90 seconds.

[0100] Step S202: Obtain the initial driving time corresponding to the target phase.

[0101] Specifically, in this embodiment, the initial driving time, i.e. the initial value of the total green light duration of the target phase when setting the intelligent road traffic signal control system, is preset and stored in the intelligent road traffic signal control system.

[0102] Step S203: Obtain the periodic difference between the current driving time and the initial driving time.

[0103] Specifically, in this embodiment, the cycle difference is the current driving time minus the initial driving time. For example, if the current driving time is 60 seconds and the initial driving time is 50 seconds, then the cycle difference is 60-50=10 seconds.

[0104] Step S204: Determine whether the period difference is less than or equal to zero.

[0105] Step S205: If the cycle difference is less than or equal to zero, the current driving time will be extended based on the preset control rules.

[0106] Specifically, in this embodiment, if the cycle difference is less than or equal to zero, it indicates that the current driving time is less than or equal to the initial new vehicle driving time, meaning that the current driving time has not been extended from the initial new vehicle driving time. However, in the case of an excessive number of existing vehicles, in order to alleviate road congestion, the current driving time is extended within the allowed range according to preset control rules. In this embodiment, if the traffic congestion is caused by an excessive number of existing vehicles, the maximum allowed extension time of the current driving time from the initial driving time is 10 seconds, but other time values ​​can also be selected based on the actual situation.

[0107] The intelligent road traffic signal control method provided in this embodiment obtains the current driving time and the initial driving time corresponding to the target phase, obtains the cycle difference based on the current driving time and the initial driving time, and determines whether the cycle difference is less than or equal to zero. If the cycle difference is less than or equal to zero, it indicates that the current driving time is less than or equal to the initial driving time. The current driving time is extended according to the preset control rules, which helps to alleviate road congestion caused by the large number of existing vehicles.

[0108] Reference Figure 3In one embodiment of this example, after determining whether the period difference is less than or equal to zero in step S204, steps S301 to S303 are further included:

[0109] Step S301: If the period difference is greater than zero, determine whether the period difference is greater than or equal to the preset first difference threshold.

[0110] Specifically, in this embodiment, if the cycle difference is greater than zero, it indicates that the current driving time is less than the initial new vehicle time, that is, the current driving time has been delayed based on the initial new vehicle time. In order not to exceed the preset first difference threshold, it is necessary to further determine whether the cycle difference is greater than or equal to the preset first difference threshold. The preset first difference threshold is the maximum value of the cycle difference allowed under traffic congestion caused by too many existing vehicles. In this embodiment, the preset first difference can be set to 10 seconds or other time values.

[0111] Step S302: If the period difference is greater than or equal to the preset first difference threshold, then the next phase is obtained based on the preset control rules and the next phase is used as the target phase.

[0112] Specifically, in this embodiment, if the cycle difference is greater than or equal to the preset first difference threshold, it indicates that the cycle difference has reached or exceeded the maximum allowed range. That is, the current driving time has been delayed by the maximum allowed range based on the initial driving time. Therefore, no additional delay is applied to the traffic signal of the target phase. Thus, according to the preset control rules, the next phase is selected as the target phase in the specified order.

[0113] Step S303: If the cycle difference is less than the preset first difference threshold, the current driving time will be extended based on the preset control rules.

[0114] Specifically, in this embodiment, if the cycle difference is less than the preset first difference threshold, it indicates that the cycle difference has not reached or exceeded the maximum allowed range, that is, the current driving time has not been delayed by the maximum allowed range based on the initial driving time. Therefore, according to the preset control rules, the current driving time is extended within the allowed range.

[0115] For example, a cycle difference of 5 indicates that the current driving time has not yet been delayed by 5 seconds from the initial driving time. The preset first difference is 10 seconds. Therefore, in order to alleviate road congestion, the current driving time can be delayed by up to 5 seconds according to the preset control rules.

[0116] The intelligent road traffic signal control method provided in this embodiment indicates that if the cycle difference is greater than zero, it means that the current driving time is greater than the initial driving time. It further determines whether the cycle difference is greater than or equal to a preset first difference threshold. If the cycle difference is greater than or equal to the preset first difference threshold, it means that the difference between the current driving time and the initial driving time is greater than or equal to the preset first difference threshold, that is, the current driving time is greater than or equal to the maximum allowed time. Therefore, directly obtaining the next phase and using the next phase as the target phase, and controlling the current driving time corresponding to the target phase, helps to extend the driving time corresponding to the target phase according to the preset control rules when the number of existing vehicles is too large. It also helps to prevent congestion of vehicles in other phases due to excessive extension of the driving time corresponding to the target phase.

[0117] If the cycle difference is less than the preset first difference threshold, it means that the difference between the current driving time and the initial driving time is less than the preset first difference threshold, that is, the current driving time is less than the maximum allowed time. Therefore, the current driving time can be extended according to the preset control rules, which helps to alleviate road congestion.

[0118] Reference Figure 4 In one embodiment of this invention, step S106, which controls the road traffic signal based on the number of buffer vehicles and preset control rules, includes steps S401 to S408:

[0119] Step S401: Determine whether the number of buffer vehicles exceeds the preset first buffer threshold.

[0120] Specifically, in this embodiment, a preset first buffer threshold is pre-set and stored in the intelligent road traffic signal control system to determine whether the road is congested. It can be set according to the preset first stock threshold, for example, set to 150% of the preset first stock threshold or other values, or it can be set according to the actual situation.

[0121] Step S402: If the number of buffered vehicles does not exceed the preset first buffer threshold, then obtain the next phase based on the preset control rules and use the next phase as the target phase.

[0122] Specifically, in this embodiment, if the number of buffered vehicles does not exceed the preset first buffer threshold, it indicates that the number of buffered vehicles is small and the road is clear. Therefore, there is no need to perform additional control on the traffic signal corresponding to the current phase. The preset control rules can be followed, and the next phase can be directly obtained as the target phase.

[0123] Step S403: If the number of buffered vehicles exceeds the preset first buffer threshold, then obtain the current driving time and the initial driving time corresponding to the target phase.

[0124] Specifically, in this embodiment, the current driving time is the same as the current driving time involved in step S201, and the initial driving time is the same as the initial driving time involved in step S202.

[0125] Step S404: Obtain the period difference between the current driving time and the initial driving time, and determine whether the period difference is less than or equal to zero.

[0126] Specifically, in this embodiment, the cycle difference is the same as the cycle difference in step S203, and the calculation method is the current driving time minus the initial driving time.

[0127] Step S405: If the cycle difference is less than or equal to zero, the current driving time will be extended based on the preset control rules.

[0128] Specifically, in this embodiment, if the cycle difference is less than or equal to zero, it indicates that the current driving time is less than or equal to the initial new vehicle time, meaning that the current driving time has not been extended based on the initial new vehicle time. However, in cases where there are too many buffer vehicles, in order to alleviate road congestion, the current driving time is extended within the allowed range according to preset control rules. In this embodiment, if traffic congestion is caused by too many buffer vehicles, the maximum allowed extension time of the current driving time based on the initial driving time is 5 seconds, and other time values ​​can also be selected based on the actual situation.

[0129] Step S406: If the period difference is greater than zero, determine whether the period difference is greater than or equal to the preset second difference threshold.

[0130] Specifically, in this embodiment, if the cycle difference is greater than zero, it indicates that the current driving time is less than the initial new vehicle time, that is, the current driving time has been delayed based on the initial new vehicle time. In order not to exceed the preset second difference threshold, it is necessary to further determine whether the cycle difference is greater than or equal to the preset second difference threshold. The preset second difference threshold is the maximum value of the cycle difference that is allowed under traffic congestion caused by too many buffer vehicles. In this embodiment, the preset first difference can be set to 5 seconds or other time values.

[0131] Step S407: If the period difference is greater than or equal to the preset second difference threshold, then the next phase is obtained based on the preset control rules and the next phase is used as the target phase.

[0132] Specifically, in this embodiment, if the cycle difference is greater than or equal to the preset second difference threshold, it indicates that the cycle difference has reached or exceeded the maximum allowable range. That is, the current driving time has been delayed by the maximum allowable range based on the initial driving time. Therefore, no additional delay is applied to the traffic signal of the target phase. Thus, according to the preset control rules, the next phase is selected as the target phase in the specified order.

[0133] Step S408: If the cycle difference is less than the preset second difference threshold, the current driving time will be extended based on the preset control rules.

[0134] Specifically, in this embodiment, if the cycle difference is less than the preset second difference threshold, it indicates that the cycle difference has not reached or exceeded the maximum allowed range, that is, the current driving time has not been delayed by the maximum allowed range based on the initial driving time. Therefore, according to the preset control rules, the current driving time is extended within the allowed range.

[0135] The intelligent road traffic signal control method provided in this embodiment determines whether the number of buffer vehicles exceeds a preset first buffer threshold. If the number of buffer vehicles does not exceed the preset first buffer threshold, it indicates that the number of buffer vehicles corresponding to the target phase is within the allowable range. Therefore, there is no need to control the traffic signal of the target phase, and the next phase is directly obtained and used as the target phase. If the number of buffer vehicles exceeds the preset first buffer threshold, it indicates that the number of buffer vehicles has exceeded the allowable range. It then determines whether the cycle difference is less than or equal to zero. If the cycle difference is less than or equal to zero, it indicates that the current travel time is less than or equal to the initial travel time. According to the preset control rules, the current travel time is extended, which helps to alleviate road congestion caused by an excessive number of existing vehicles.

[0136] If the cycle difference is greater than zero, it indicates that the current driving time is longer than the initial driving time. Therefore, it is further determined whether the cycle difference is greater than or equal to the preset second difference threshold. If the cycle difference is greater than or equal to the preset second difference threshold, it indicates that the current driving time is greater than or equal to the maximum allowed time. Therefore, the next phase is directly obtained and the next phase is used as the target phase. If the cycle difference is less than the preset first difference threshold, it indicates that the current driving time is less than the maximum allowed time. Therefore, the current driving time can be extended according to the preset control rules, which helps to alleviate road congestion.

[0137] Reference Figure 5 In one embodiment of this example, steps S501 to S506 are further included:

[0138] Step S501: Obtain the initial signal cycle based on the initial driving time.

[0139] Specifically, in this embodiment, the initial signal period is the initial value of the signal period. The signal period is the sum of the initial travel times of all phases. For example, in an intersection consisting of two roads, there are four phases, namely 1, 2, 3 and 4. The initial travel times of phases 1, 2, 3 and 4 are 45 seconds, 15 seconds, 45 seconds and 15 seconds respectively. Then the initial signal period is 45+15+45+15=120 seconds.

[0140] Step S502: Obtain the number of phases.

[0141] Specifically, in this embodiment, the number of phases refers to the number of directions controlled by the traffic lights. For example, in an intersection consisting of two roads, there are four phases: one road for going straight and the other for turning left, and the other road for going straight and turning left. Therefore, the number of phases is 4.

[0142] Step S503: Obtain the single-phase control duration based on preset control rules.

[0143] Specifically, in this embodiment, the single-phase control duration, i.e. the length of time for a single phase to be increased or decreased, can be set according to the road traffic flow conditions and preset control rules, such as 5 seconds or other values.

[0144] Step S504: Obtain the total control duration based on the single-phase control duration and the number of phases.

[0145] Specifically, in this embodiment, the total control duration is the total duration of the entire signal cycle that is controlled, and its value is the product of the single-phase control duration and the number of phases.

[0146] Step S505: Determine whether the current driving time corresponding to the same phase is greater than the initial driving time.

[0147] Specifically, in this embodiment, determining whether the current driving time corresponding to the same phase is greater than the initial driving time, i.e., determining whether there is a signal delay in each phase, can be done by comparing the period difference between different phases with 0. If the period difference between all phases is greater than 0, it indicates that the current driving time corresponding to the same phase is greater than the initial driving time. If at least one phase has a period difference less than or equal to 0, it indicates that the current driving time corresponding to the same phase is not greater than the initial driving time.

[0148] Step S506: If the current driving time corresponding to the same phase is greater than the initial driving time, the initial signal period is extended based on the total control time.

[0149] Specifically, in this embodiment, if the current travel time corresponding to the same phase is greater than the initial travel time, it indicates that there is a signal delay in each phase. Therefore, it indicates that the traffic flow in each phase of the intersection is large and there is congestion in each phase. In order to alleviate the congestion, the initial signal cycle is extended according to the preset control rules, and the extension time is the total control time.

[0150] It is worth noting that the signal period should meet the requirement of being no less than 15 seconds multiplied by the number of phases and no more than 45 seconds multiplied by the number of phases.

[0151] The intelligent road traffic signal control method provided in this embodiment obtains the total control time based on the single-phase control duration and the number of phases, and determines whether the current travel time corresponding to the same phase is greater than the initial travel time. If so, it indicates that there is a signal delay in all phases, or that the traffic flow in each phase is large. Extending the initial signal cycle based on the total control time helps to alleviate road congestion.

[0152] Reference Figure 6 In one embodiment of this example, the specific steps of step S505, which determines whether the current driving time corresponding to the same phase is greater than the initial driving time, include steps S601 to S603:

[0153] Step S601: If there are phases with the same current driving time that are less than or equal to the initial driving time, then determine whether the current driving time corresponding to the same phase is less than or equal to the initial driving time.

[0154] Specifically, in this embodiment, if the current driving time corresponding to the same phase is less than or equal to the initial driving time, it indicates that not every phase has a signal delay. Therefore, it is necessary to further determine whether the current driving time corresponding to the same phase is less than or equal to the initial driving time.

[0155] Step S602: If the current driving time corresponding to the same phase is less than or equal to the initial driving time, then determine whether the number of existing vehicles corresponding to the phase is less than the preset second existing threshold and whether the number of buffer vehicles is less than the preset second buffer threshold.

[0156] Specifically, in this embodiment, if the current driving time corresponding to the same phase is less than or equal to the initial driving time, it indicates that there is no signal delay in each phase and that the traffic conditions in each phase are relatively good. Therefore, it is further determined whether the number of existing vehicles corresponding to the phase is less than a preset second existing threshold and whether the number of buffer vehicles is less than a preset second buffer threshold.

[0157] The preset second stock threshold is a pre-set and stored value in the intelligent road traffic signal control system, used to determine whether the number of existing vehicles meets the criteria for early phase switching. In this embodiment, the preset second stock threshold can be 20% of the preset first stock threshold or other values. The preset second buffer threshold is a pre-set and stored value in the intelligent road traffic signal control system, used to determine whether the number of buffer vehicles meets the criteria for early phase switching. In this embodiment, the preset second buffer threshold can be 20% of the preset first buffer threshold or other values.

[0158] Step S603: If the number of existing vehicles is less than the preset second existing threshold and the number of buffer vehicles is less than the preset second buffer threshold, then the initial signal period is shortened based on the total control duration.

[0159] Specifically, in this embodiment, if the number of existing vehicles is less than a preset second existing threshold and the number of buffer vehicles is less than a preset second buffer threshold, it indicates that the number of existing vehicles and the number of buffer vehicles corresponding to each phase are both very small. Therefore, in order to reduce vehicle waiting time and improve the intersection's throughput capacity, the initial signal cycle is shortened according to the preset control rules, and the shortening time is the total control time.

[0160] The intelligent road traffic signal control method provided in this embodiment indicates that if the current travel time corresponding to the same phase is less than or equal to the initial travel time, it means that not all phases have signal delay. Therefore, it further determines whether the current travel time corresponding to the same phase is less than or equal to the initial travel time. If so, it further determines whether the number of existing vehicles corresponding to that phase is less than a preset second existing threshold and whether the number of buffer vehicles is less than a preset second buffer threshold. If so, it means that the number of existing vehicles and the number of buffer vehicles corresponding to all phases are very small, that is, the traffic flow of all phases is very small. Therefore, the signal can be switched to the next phase in advance, and the initial signal cycle can be shortened according to the total control time, thereby helping to reduce vehicle waiting time and improve the intersection capacity.

[0161] Reference Figure 7 In one embodiment of this example, if in step S601 there are current driving times corresponding to the same phase that are less than or equal to the initial driving time, then after determining whether the current driving times corresponding to the same phase are all less than or equal to the initial driving time, steps S701 to S702 are further included:

[0162] Step S701: If the current driving time corresponding to the same phase is not less than or equal to the initial driving time, then the incremental phase and the decrement phase are obtained based on the single-phase control time, the number of existing vehicles and the number of buffer vehicles.

[0163] Specifically, in this embodiment, if the current driving time corresponding to the same phase is not less than or equal to the initial driving time, it indicates that there are both phases with high traffic volume (i.e., incremental phases) and phases with low traffic volume (i.e., decremental phases). An incremental phase is the phase corresponding to the current driving time that has been increased by the single-phase control time based on the initial driving time, and a decremental phase is the phase corresponding to the current driving time that has been decreased by the single-phase control time based on the initial driving time.

[0164] For example, if the single-phase control duration is 5 seconds, the initial driving duration corresponding to phase 1 is 15 seconds, and the current driving duration is 20 seconds, then phase 1 is an incremental phase; if the initial driving duration corresponding to phase 2 is 45 seconds, and the current driving duration is 40 seconds, then phase 2 is a decremental phase.

[0165] Step S702: Based on the single-phase control duration and preset control rules, adjust the current driving duration corresponding to the incremental phase and the current driving duration corresponding to the decrement phase respectively.

[0166] Specifically, in this embodiment, the initial signal period is kept unchanged, and the single-phase modulation duration reduced by the decrement phase is evenly distributed to the increment phase.

[0167] It is worth noting that, in order to make the data more accurate, in this embodiment, the timing efficiency of the most recent 3 cycles can be evaluated at the end of every 3 signal cycles, and optimization adjustments can be made based on the evaluation results.

[0168] The intelligent road traffic signal control method provided in this embodiment indicates that if the current travel time corresponding to the same phase is not less than or equal to the initial travel time, it means that there are both phases with signal delay and phases with early signal entry. It also means that there are both phases with high traffic volume (incremental phases) and phases with low traffic volume (decreasing phases). Therefore, the incremental and decreasing phases are obtained based on the single-phase control duration, the number of existing vehicles, and the number of buffer vehicles. Then, based on the single-phase control duration and the preset control rules, the current travel time corresponding to the incremental phase and the current travel time corresponding to the decreasing phase are adjusted respectively. When only some phases have high traffic volume and need to optimize signal timing, the timing of the traffic volume decreasing phase is reduced and allocated to the incremental phase, thereby helping to alleviate road congestion.

[0169] Secondly, this application also discloses an intelligent road traffic signal control system.

[0170] Reference Figure 8 An intelligent road traffic signal control system, comprising:

[0171] The first acquisition module 1 is used to acquire video images of different phases;

[0172] The second acquisition module 2 is used to acquire the number of existing vehicles in the stock area corresponding to the target phase based on the video image;

[0173] Module 3 is used to determine whether the number of existing vehicles exceeds a preset first stock threshold.

[0174] If the number of existing vehicles exceeds a preset first existing threshold, the first control module 4 is used to control traffic information based on preset control rules.

[0175] If the number of existing vehicles does not exceed the preset first existing threshold, the third acquisition module 5 is used to acquire the number of buffer vehicles in the buffer corresponding to the target phase.

[0176] The second control module 6 is used to control road traffic signals based on the number of buffer vehicles and preset control rules.

[0177] Thirdly, this application discloses an intelligent terminal, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor loads the computer program, it executes an intelligent road traffic signal control method according to the above embodiment.

[0178] Fourthly, embodiments of this application disclose a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is loaded by a processor, it executes an intelligent road traffic signal control method according to the above embodiments.

[0179] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.

Claims

1. An intelligent road traffic signal control method, characterized in that, include: Acquire video images at different phases; Based on the video image, obtain the number of vehicles in the storage area corresponding to the target phase; Determine whether the number of existing vehicles exceeds a preset first stock threshold; If the number of existing vehicles exceeds the preset first stock threshold, the traffic signal is controlled based on preset control rules. If the number of existing vehicles does not exceed the preset first existing threshold, then the number of buffer vehicles in the buffer zone corresponding to the target phase is obtained. Based on the number of buffer vehicles and the preset control rules, the road traffic signals are controlled. If the number of existing vehicles exceeds the preset first stock threshold, the specific steps for controlling the traffic signal based on preset control rules include: If the number of existing vehicles exceeds the preset first stock threshold, then the current driving time corresponding to the target phase is obtained; Obtain the initial driving time corresponding to the target phase; Obtain the periodic difference between the current driving time and the initial driving time; Determine whether the period difference is less than or equal to zero; If the cycle difference is less than or equal to zero, the current driving time will be extended based on the preset control rules. After determining whether the period difference is zero, the method further includes: If the period difference is greater than zero, then determine whether the period difference is greater than or equal to a preset first difference threshold. If the period difference is greater than or equal to the preset first difference threshold, then the next phase is obtained based on the preset control rule and the next phase is taken as the target phase; If the cycle difference is less than the preset first difference threshold, the current driving time will be extended based on the preset control rule.

2. The intelligent road traffic signal control method according to claim 1, characterized in that, The specific steps for controlling road traffic signals based on the number of buffer vehicles and the preset control rules include: Determine whether the number of buffer vehicles exceeds a preset first buffer threshold; If the number of buffered vehicles does not exceed the preset first buffer threshold, then the next phase is obtained based on the preset control rule and the next phase is taken as the target phase; If the number of buffer vehicles exceeds the preset first buffer threshold, then the current driving time and the initial driving time corresponding to the target phase are obtained; Obtain the period difference between the current driving time and the initial driving time, and determine whether the period difference is less than or equal to zero; If the cycle difference is less than or equal to zero, the current driving time will be extended based on the preset control rules. If the period difference is greater than zero, then determine whether the period difference is greater than or equal to a preset second difference threshold. If the period difference is greater than or equal to the preset second difference threshold, then the next phase is obtained based on the preset control rule and the next phase is taken as the target phase; If the cycle difference is less than the preset second difference threshold, the current driving time will be extended based on the preset control rule.

3. The intelligent road traffic signal control method according to claim 1, characterized in that, Also includes: Based on the initial driving time, the initial signal period is obtained; Get the number of phases; The single-phase control duration is obtained based on the preset control rules; Based on the single-phase control duration and the number of phases, the total control duration is obtained; Determine whether the current driving time corresponding to the same phase is greater than the initial driving time; If the current driving time corresponding to the same phase is greater than the initial driving time, then the initial signal period is extended based on the total adjustment time.

4. The intelligent road traffic signal control method according to claim 3, characterized in that, After determining whether the current driving time corresponding to the same phase is greater than the initial driving time, the method further includes: If there are identical phases for which the current driving time is less than or equal to the initial driving time, then determine whether the current driving time for identical phases is less than or equal to the initial driving time. If the current driving time corresponding to the same phase is less than or equal to the initial driving time, then determine whether the number of existing vehicles corresponding to the phase is less than a preset second stock threshold and whether the number of buffer vehicles is less than a preset second buffer threshold. If the number of existing vehicles is less than a preset second existing threshold and the number of buffer vehicles is less than a preset second buffer threshold, then the initial signal period is shortened based on the total control duration.

5. The intelligent road traffic signal control method according to claim 4, characterized in that, After determining whether the current driving time corresponding to the same phase is all less than or equal to the initial driving time, the method further includes: If the current driving time corresponding to the same phase is not less than or equal to the initial driving time, then the incremental phase and the decrement phase are obtained based on the single-phase control time, the number of existing vehicles, and the number of buffer vehicles. Based on the single-phase control duration and the preset control rules, the current driving time corresponding to the incremental phase and the current driving time corresponding to the decrement phase are adjusted respectively.

6. An intelligent road traffic signal control system, characterized in that, The method based on any one of claims 1 to 5 includes: The first acquisition module (1) is used to acquire video images of different phases; The second acquisition module (2) is used to acquire the number of existing vehicles in the stock area corresponding to the target phase based on the video image. The judgment module (3) is used to determine whether the number of existing vehicles exceeds a preset first stock threshold. If the number of existing vehicles exceeds the preset first stock threshold, the first control module (4) is used to control the traffic signal based on preset control rules. If the number of existing vehicles does not exceed the preset first existing threshold, the third acquisition module (5) is used to acquire the number of buffer vehicles in the buffer zone corresponding to the target phase. The second control module (6) is used to control the road traffic signal based on the number of buffer vehicles and the preset control rules.

7. A smart terminal, comprising a memory and a processor, characterized in that, The memory is used to store computer programs that can run on the processor, and when the processor loads the computer program, it executes the method of any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is loaded by the processor, it executes the method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Traffic signal control method and device for road intersection and medium

    CN113129595A

  • Traffic signal lamp control method and system, storage medium and electronic equipment

    CN115601980A