Traffic light real-time regulation and control method, device and equipment and storage medium

By collecting real-time traffic data at intersections and adjusting traffic light time according to traffic flow, the traffic congestion problem caused by the fixed control methods of existing traffic lights is solved, and more flexible and efficient traffic flow management is achieved.

CN119152706APending Publication Date: 2024-12-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411030892.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

The existing traffic light control methods are fixed and have low flexibility, making it difficult to effectively solve the traffic congestion problem.

Method used

Real-time traffic data is obtained by installing a collection device at the intersection, the traffic volume in each traffic direction is calculated based on the number of vehicles and traffic direction information, and the traffic light time is adjusted according to the preset rules to achieve real-time regulation.

Benefits of technology

The rationality and flexibility of traffic indicator lights are improved, and the green light time in all directions is automatically balanced according to the traffic flow, reducing the situation where there are no vehicles in the lane but the green light is continuously on, and improving traffic circulation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119152706A_ABST
    Figure CN119152706A_ABST
Patent Text Reader

Abstract

The invention discloses a traffic light real-time regulation and control method, device and equipment and a storage medium, and relates to the technical field of signal control. The method comprises the following steps: acquiring real-time traffic flow data through an acquisition device pre-installed at an intersection; wherein at least one acquisition device is arranged on each coming road corresponding to each intersection; the real-time traffic flow data comprises vehicle number information and vehicle passing direction information; according to the real-time vehicle data, determining traffic flow in different traffic directions on each coming road of the intersection, and based on the traffic flow in different traffic directions on each coming road of the intersection, determining traffic time in each traffic direction according to a preset traffic rule; and regulating and controlling the traffic light of the intersection according to the passing time. The rationality and flexibility of real-time regulation and control of the traffic light can be improved, and the normally-on time of the green light in each direction can be automatically balanced according to the traffic flow on each lane.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal control, and in particular to a method, device, equipment and storage medium for real-time control of traffic lights. Background Art

[0002] At present, with the increase in the number of motor vehicles, traffic congestion at intersections is becoming more and more obvious. In addition to the large number of vehicles causing traffic congestion at intersections, unreasonable regulation of traffic lights at intersections can also cause traffic congestion. In related technologies, the green light passage time for each lane of traffic lights at intersections is fixed, which has low flexibility. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a method, device, equipment and storage medium for real-time control of traffic lights, which can improve the rationality and flexibility of real-time control of traffic lights and can automatically balance the constant light time of green lights in all directions according to the traffic flow on each lane. The specific scheme is as follows:

[0004] In a first aspect, the present application discloses a method for real-time control of a traffic light, comprising:

[0005] Acquire real-time traffic flow data by means of a collection device pre-installed at the intersection; wherein at least one collection device is present on each incoming road corresponding to each intersection; the real-time traffic flow data includes vehicle quantity information and vehicle travel direction information;

[0006] Determine the traffic volume in different directions on each oncoming road of the intersection according to the real-time vehicle data, and determine the travel time of each travel direction according to preset travel rules based on the traffic volume in different directions on each oncoming road of the intersection;

[0007] The traffic light at the intersection is regulated according to the travel time.

[0008] Optionally, determining the traffic flow in different directions on each incoming road at the intersection according to the real-time vehicle data includes:

[0009] According to the vehicle quantity information and the vehicle travel direction information, the total number of vehicles on each oncoming road at the intersection within a single signal light cycle and the number of vehicles in different travel directions on each oncoming road are determined; the vehicle travel direction information includes southeast, west, north, left turn, right turn and straight ahead;

[0010] According to the time period to which the current time belongs, obtain the total number of historical vehicles on each incoming road of the current intersection during the said time period;

[0011] The traffic volume in different travel directions on each incoming road at the intersection is obtained according to the total number of vehicles, the number of vehicles in the travel direction and the total number of historical vehicles.

[0012] Optionally, the determining of the travel time of each travel direction based on the traffic volume of different travel directions on each incoming road at the intersection according to a preset travel rule includes:

[0013] The traffic directions corresponding to the same indicator light are regarded as a traffic direction group;

[0014] Based on the traffic flow in different directions on each incoming road of the intersection, the ratio of the traffic flow in different directions in the traffic direction group to the number of lanes is calculated; the ratio of the traffic flow to the number of lanes is the ratio of the traffic flow in the traffic direction to the number of lanes in the traffic direction;

[0015] The ratio of the vehicle flow to the number of lanes with the largest value is selected as the target ratio, and the product of the target ratio and the basic vehicle travel time is used as the travel time of the indicator light corresponding to the travel direction group.

[0016] Optionally, determining the travel time of each travel direction according to preset travel rules includes:

[0017] The traffic directions corresponding to the same indicator light are regarded as a traffic direction group;

[0018] Based on the traffic flow in different directions on each incoming road of the intersection, the ratio of the traffic flow in different directions in the traffic direction group to the number of lanes is calculated; the ratio of the traffic flow to the number of lanes is the ratio of the traffic flow in the traffic direction to the number of lanes in the traffic direction;

[0019] Selecting the ratio of the traffic volume to the number of lanes with the largest value as the target ratio of the traffic direction group;

[0020] Calculate the relative ratio of each traffic direction group to the remaining traffic direction groups; the numerator of the relative ratio is the target ratio of the current traffic direction group, and the denominator of the relative ratio is the average of the target ratios of all the remaining traffic direction groups;

[0021] If the relative ratio is equal to 0, the travel time in the current travel direction is the preset shortest travel time;

[0022] If the relative ratio is greater than 0 and less than 1, the travel time in the current travel direction is the product of the average travel time and the relative ratio; the average travel time is the average of the shortest travel time and the preset longest travel time;

[0023] If the relative ratio is equal to 1, the travel time in the current travel direction is the average travel time;

[0024] If the relative ratio is greater than 1, the travel time in the current travel direction is the product of the average travel time and the relative ratio.

[0025] Optionally, determining the travel time of each travel direction according to preset travel rules includes:

[0026] According to the vehicle capacity of the lanes between the current intersection and the next intersection in each oncoming road direction, the travel time is adjusted to obtain the adjusted travel time, so as to control the traffic light of the intersection according to the adjusted travel time.

[0027] Optionally, determining the travel time of each travel direction according to preset travel rules includes:

[0028] Determine the target intersection involved in the target location according to the preset range;

[0029] According to the distance from the target location to each target intersection, all the target intersections are grouped, and a corresponding time coefficient is configured for each group of intersections; the time coefficient is greater than 1, and the closer the distance between the target intersection and the target location, the greater the value of the time coefficient;

[0030] The adjusted passing time is obtained according to the product of the passing time and the corresponding time coefficient, so as to control the traffic light of the intersection according to the adjusted passing time.

[0031] Optionally, regulating the traffic light at the intersection according to the travel time includes:

[0032] When the remaining travel time is a preset time, a new travel time for each travel direction is determined based on the traffic volume in different travel directions on each incoming road of the intersection and according to the preset travel rules;

[0033] If the new travel time is greater than a preset threshold, the traffic light at the intersection is regulated according to the new travel time.

[0034] In a second aspect, the present application discloses a real-time traffic light control device, comprising:

[0035] A collection module, used to obtain real-time traffic flow data through a collection device pre-installed at an intersection; wherein at least one collection device is present on each incoming road corresponding to each intersection; the real-time traffic flow data includes vehicle quantity information and vehicle travel direction information;

[0036] A travel time determination module, used to determine the traffic volume of different travel directions on each oncoming road of the intersection according to the real-time vehicle data, and determine the travel time of each travel direction according to preset travel rules based on the traffic volume of different travel directions on each oncoming road of the intersection;

[0037] A control module is used to adjust the traffic light at the intersection according to the travel time.

[0038] In a third aspect, the present application discloses an electronic device, comprising:

[0039] Memory, used to store computer programs;

[0040] The processor is used to execute the computer program to implement the above-mentioned real-time control method of traffic lights.

[0041] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the aforementioned method for real-time control of traffic lights.

[0042] In the present application, real-time traffic flow data is obtained by a collection device pre-installed at an intersection; wherein, there is at least one collection device on each incoming road corresponding to each intersection; the real-time traffic flow data includes vehicle quantity information and vehicle travel direction information; the traffic flow of different travel directions on each incoming road of the intersection is determined according to the real-time vehicle data, and the travel time of each travel direction is determined according to the preset travel rules based on the traffic flow of different travel directions on each incoming road of the intersection; and the traffic lights at the intersection are regulated according to the travel time. It can be seen that real-time traffic flow is collected by the collection devices at each intersection, and the traffic flow of each travel direction on the incoming road of the vehicle is analyzed according to the real-time traffic flow data, and then the traffic lights corresponding to different travel directions on different roads are controlled according to the traffic flow, so that the traffic light time corresponding to each lane of the intersection can be regulated according to the actual traffic flow, thereby improving the rationality and flexibility of the real-time regulation of the traffic lights, and the constant lighting time of the green lights in each direction can be automatically balanced according to the traffic flow on each lane, so as to avoid the situation where there is no vehicle on the lane but the green light is always on. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0044] Figure 1A flow chart of a real-time traffic light control method provided in this application;

[0045] Figure 2 A schematic diagram of a specific collection device provided for this application;

[0046] Figure 3 A specific schematic diagram of a four-fork intersection provided for this application;

[0047] Figure 4 A specific multi-intersection road intention provided for this application;

[0048] Figure 5 A specific multi-intersection road intention provided for this application;

[0049] Figure 6 A schematic diagram of a specific real-time traffic light control system provided for this application;

[0050] Figure 7 A schematic diagram of the structure of a real-time traffic light control device provided in this application;

[0051] Figure 8 A structural diagram of an electronic device provided for this application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] In the prior art, the green light time of each lane of the traffic light at the intersection is fixed, which is inflexible. In order to overcome the above technical problems, this application proposes a real-time traffic light control method to improve the rationality and flexibility of real-time traffic light control, and can automatically balance the constant light time of the green lights in all directions according to the traffic flow on each lane.

[0054] The present application discloses a method for real-time control of traffic lights. Figure 1 As shown, the method may include the following steps:

[0055] Step S11: acquiring real-time traffic flow data through a collection device pre-installed at an intersection; wherein, there is at least one collection device on each incoming road corresponding to each intersection; and the real-time traffic flow data includes vehicle quantity information and vehicle travel direction information.

[0056] For example Figure 2 As shown, a vehicle flow collection device is set on each incoming road at the intersection. Figure 2 The black dots in the middle represent collection devices, where the number of detection devices on each oncoming road is not limited to 2, and the main purpose is to be able to fully monitor the vehicle data on the entire oncoming road. The detection device at the intersection, taking the detection device at A2 as an example, can detect the exit data of each lane traveling to the right at this intersection. The vehicle travel direction information includes left turn, straight go, right turn, etc.

[0057] This solution can be applied to an intersection edge server set up at an intersection. The traffic flow detection device on the road monitors the traffic flow data on the road in real time, and then transmits the data to the intersection edge server, which then controls the traffic lights in real time.

[0058] In addition, the intersection edge server can store the collected real-time traffic data, and the storage records can be divided into three situations: weekdays, weekends, and holidays, and set to roll over on a monthly, semi-annual, or annual basis.

[0059] Step S12: Determine the traffic volume in different directions on each oncoming road of the intersection according to the real-time vehicle data, and determine the travel time of each direction according to preset travel rules based on the traffic volume in different directions on each oncoming road of the intersection.

[0060] In this embodiment, the traffic volume of different directions on each incoming road of the intersection is calculated based on the real-time traffic flow data, for example, the traffic volume of straight-going, left-turning and right-turning on the incoming road from east to west at the current intersection. If it is a four-way intersection, the travel time of each direction is determined according to the preset traffic rules by comparing the number of vehicles coming from east to west and the other three directions.

[0061] Among them, the above-mentioned determination of the traffic flow of different directions on each oncoming road of the intersection based on the real-time vehicle data may include: determining the total number of vehicles on each oncoming road at the intersection within a single signal light cycle and the number of vehicles in different directions on each oncoming road based on the vehicle quantity information and the vehicle travel direction information; the vehicle travel direction information includes southeast, west, north, left turn, right turn and straight ahead; according to the time period to which the current time belongs, obtaining the total number of historical vehicles on each oncoming road of the current intersection in the said time period; according to the total number of vehicles, the number of vehicles in the said travel direction and the total number of historical vehicles, obtaining the traffic flow of different directions on each oncoming road of the intersection. That is, first convert the acquired real-time vehicle data into traffic flow, and then determine it specifically based on the historical traffic flow.

[0062] In this embodiment, before obtaining the total number of historical vehicles on each oncoming road at the current intersection during the time period according to the time period to which the current time belongs, the above also includes: dividing the whole day into time periods according to the date type and the target duration to obtain different time periods; taking the time period as a unit, obtaining the vehicle data of different directions on each oncoming road at the intersection in different time periods of different date types in the past according to the historical vehicle data statistics of the current intersection; wherein the date types include weekdays, weekends and holidays, the target durations of different date types may be different, and the target durations used for division of different time periods on the same date type may also be different. This embodiment specifically controls the green light passage time according to the actual date (weekdays, weekends, holidays) and time period, and the time period division is shown in Table 1 below:

[0063] Table 1 Time period division table

[0064] 0:00~7:00 7:00~9:00 9:00~11:00 11:00~13:00 13:00~15:00 15:00~17:00 17:00~19:00 19:00~21:00 21:00~24:00 Working Day <![CDATA[T 工1 ]]> <![CDATA[T 工2 ]]> <![CDATA[T 工3 ]]> <![CDATA[T 工4 ]]> <![CDATA[T 工5 ]]> <![CDATA[T 工6 ]]> <![CDATA[T 工7 ]]> <![CDATA[T 工8 ]]> <![CDATA[T 工9 ]]> weekend <![CDATA[T 末1 ]]> <![CDATA[T 末2 ]]> <![CDATA[T 末3 ]]> <![CDATA[T 末4 ]]> <![CDATA[T 末5 ]]> <![CDATA[T 末6 ]]> <![CDATA[T 末7 ]]> <![CDATA[T 末8 ]]> <![CDATA[T 末9 <!-- 4 -->]]> Holidays <![CDATA[T 假1 ]]> <![CDATA[T 假2 ]]> <![CDATA[T 假3 ]]> <![CDATA[T 假4 ]]> <![CDATA[T 假5 ]]> <![CDATA[T 假6 ]]> <![CDATA[T 假7 ]]> <![CDATA[T 假8 ]]> <![CDATA[T 假9 ]]>

[0065] T is each set time period. It is understandable that due to different driving destinations at different time periods on different days, the behavior patterns of vehicles at intersections are different. Therefore, by counting vehicle data at different time periods, it is used to predict the current intersection traffic flow. By storing and recording traffic flow data and the behavior data of vehicles at intersections (left turn, straight, right turn), rules can be defined by time period to store traffic flow data at different time periods.

[0066] Specifically, after obtaining real-time vehicle data, according to the current time period, obtain the historical traffic flow data information of the corresponding time period, and calculate the estimated data of vehicle behavior on the road at this time by recording the proportion of vehicle behavior at the intersection. Take the traffic flow in direction A at 8:00 on weekdays as an example, and refer to the following calculation rules for other time periods; a. When the server time is 8:00 on weekdays, the total number of vehicles collected by the collection module during this traffic light cycle is N, N=N 左转 +N 直行 +N 右转 ; b. The calculation module obtains the A section in the storage module at T 工2 The historical total flow of incoming vehicles in the data is X, and the historical total flow of vehicles at this intersection is Y 左转 , Y 直行 , Y 右转 (X=Y 左转 +Y 直行 +Y 右转 ), this number is the historical data in the storage module; c. Set at intersection A on the day T 工2 The actual traffic volume during this green light cycle (one cycle is one green light cycle in each direction of the intersection) is N. The number of vehicles coming from and going to the intersection in different behaviors at the current section A is N.左转 =N*Y 左转 / X,N 直行 =N*Y 直行 / X,N 右转 =N*Y 右转 / X.

[0067] In this embodiment, based on the traffic volume in different directions on each oncoming road of the intersection, the travel time of each travel direction is determined according to the preset travel rules, including: taking the travel directions corresponding to the same indicator light as a travel direction group; calculating the ratio of the traffic volume to the number of lanes in different travel directions in the travel direction group based on the traffic volume in different directions on each oncoming road of the intersection; the ratio of the traffic volume to the number of lanes is the ratio of the traffic volume in the travel direction to the number of lanes in the travel direction; selecting the traffic volume to the number of lanes ratio with the largest value as the target ratio, and taking the product of the target ratio and the basic travel time of the vehicle as the travel time of the indicator light corresponding to the travel direction group. It can be understood that the ratio of traffic volume to the number of lanes can characterize the degree of road congestion. The larger the ratio, the more congested the road. Therefore, the traffic lights are regulated according to the ratio of traffic volume to the number of lanes in each direction.

[0068] For example Figure 3 As shown, the intersection server is set up at the intersection to analyze vehicles of different directions on the oncoming lanes. First, set the traffic light rules, such as all oncoming vehicles at the entire intersection can complete a cycle in the order of green lights, of course, it is not limited to this rule. There is no need to wait for the green light for right turns. For east-west and north-south directions, the straight green light and the left turn red light, the straight red light and the left turn green light cycle back and forth, the east-west straight green light, the east-west left turn green light, the north-south straight green light, the north-south left turn green light, the east-west straight green light, the east-west straight green light, the north-south straight green light, the east-west straight green light, cycle in sequence. Figure 3 The same traffic light color is used for east-west straight lines, the same traffic light color is used for left turns in the east-west direction, the same traffic light color is used for north-south straight lines, and the same traffic light color is used for left turns in the north-south direction; the traffic directions corresponding to the same indicator light are taken as a traffic direction group. The traffic flow and number of lanes in different traffic directions on each incoming road of the intersection are obtained, as shown in Table 2 below:

[0069] Table 2 Traffic flow and number of lanes in different directions on the incoming roads

[0070] East West South north Through traffic flow <![CDATA[N 东直行 ]]> <![CDATA[N 西直行 ]]> <![CDATA[N 南直行 ]]> <![CDATA[N 北直行 ]]> Left turn traffic <![CDATA[N 东左转 ]]> <![CDATA[N 西左转 ]]> <![CDATA[N 南左转 ]]> <![CDATA[N 北左转 ]]> Number of through lanes <![CDATA[L 东直行 ]]> <![CDATA[L 西直行 ]]> <![CDATA[L 南直行 ]]> <![CDATA[L 北直行 ]]> Number of left turn lanes <![CDATA[L 东左转 ]]> <![CDATA[L 西左转 ]]> <![CDATA[L 南左转 ]]> <![CDATA[L 北左转 ]]>

[0071] In addition, even if the road is very congested, only one direction can pass all the time. Therefore, this embodiment can set a pass time threshold to avoid the green light duration being too short or too long; that is, after determining the pass time of each pass direction according to the preset pass rules, determine whether the pass time is within the pass time threshold. If the pass time is less than the preset shortest pass time, the shortest pass time is used as the pass time. If the pass time is greater than the preset longest pass time, the longest pass time is used as the pass time. Taking the east straight direction as an example, the traffic change in other directions can be readjusted according to the situation. The following rules are executed before the node turns green in the direction of traffic: Set the default green light pass time threshold to 10S-120S, and the default value can be adjusted according to the actual situation; Set the default basic pass time for each vehicle on each lane to pass 1 vehicle body distance to 2S, then when stopping and waiting, the time for the rear vehicle N to reach the intersection is set to 2N seconds. The basic pass time can be customized or calculated based on previous big data; at this time, the green light duration of the green light section should be T 东西直行 =Max(N 东直行 / L 东直行 , N 西直行 / L 西直行 )*2S; when T 东西直行 ≤10S, the lowest threshold is triggered and the traffic light is controlled for 10S. 东西直行 When ≥120S, the highest threshold is triggered and the traffic light is controlled for 120S. The traffic lights of other oncoming lanes are controlled in turn according to this rule.

[0072] In some embodiments, determining the travel time of each travel direction according to the preset travel rules may include: taking the travel directions corresponding to the same indicator light as a travel direction group; calculating the ratio of the traffic flow of different travel directions to the number of lanes in the travel direction group based on the traffic flow of different travel directions on each incoming road of the intersection; the ratio of the traffic flow to the number of lanes is the ratio of the traffic flow of the travel direction to the number of lanes in the travel direction; selecting the traffic flow to the number of lanes ratio with the largest value as the target ratio of the travel direction group; calculating the relative ratio of each travel direction group to the remaining travel direction groups; the numerator of the relative ratio is the current travel direction group The denominator of the relative ratio is the average of the target ratios of all other travel direction groups; if the relative ratio is equal to 0, the travel time of the current travel direction is the preset shortest travel time; if the relative ratio is greater than 0 and less than 1, the travel time of the current travel direction is the product of the average travel time and the relative ratio; the average travel time is the average of the shortest travel time and the preset longest travel time; if the relative ratio is equal to 1, the travel time of the current travel direction is the average travel time; if the relative ratio is greater than 1, the travel time of the current travel direction is the product of the average travel time and the relative ratio. That is, according to the relative ratio of the travel direction group to the other travel direction groups, the vehicle conditions of different roads are compared.

[0073] That is, the east-west straight lines have the same signal light color, the east-west left turns have the same signal light color, the north-south straight lines have the same signal light color, and the north-south left turns have the same signal light color, and the traffic directions corresponding to the same signal lights are regarded as a traffic direction group; that is, the east-west straight lines are grouped as one group, the east-west left turns are grouped as one group, the north-south straight lines are grouped as one group, and the north-south left turns are grouped as one group; the ratio A of the traffic flow in a traffic direction to the number of lanes in the traffic direction is shown in the following Table 3:

[0074] Table 3 Traffic flow and number of lanes in different directions on the incoming roads

[0075] Lane traffic direction Traffic flow / number of lanes in each direction Go straight east-west <![CDATA[A 东西直行 =Max(N 东直行 / L 东直行 ,N 西直行 / L 西直行 )]]> Turn left <![CDATA[A 东西左转 =Max(N 东左转 / L 东左转 ,N 西左转 / L 西左转 )]]> Go straight north and south <![CDATA[A 南北直行 =Max(N 南直行 / L 南直行 ,N 北直行 / L 北直行 )]]> Turn left from north to south <![CDATA[A 南北左转 =Max(N 南左转 / L 南左转 ,N 北左转 / L 北左转 )]]>

[0076] Take the communication time calculation of east-west straight travel as an example. Specifically, compared with Q 东西直行 =A 东西直行 / ((A 东西左转 +A 南北直行 +A 南北左转 ) / 3), Q represents the average of the other three green light directions compared with A 东西直行 The data size of Q 东西直行 The value of Q determines the green light time of this direction and sets the green light threshold time of this direction to 10S-120S; 东西直行=0, it means there is no vehicle in this direction, and the green light time can be controlled according to the shortest passing time (such as 10S or 0S); when 0<Q 东西直行 When it is less than 1, it means that the number of vehicles passing in this direction is less than the average number of vehicles passing in other intersections. At this time, the green light time can be controlled according to the threshold and proportion calculation rules. 东西直行 =Q 东西直行 * (10 + 120) / 2; when Q 东西直行 =1, it means that the number of vehicles passing in this direction is equal to the average value of vehicles passing in other intersections. At this time, the green light time can be controlled according to the threshold value T 东西直行 = (10 + 120) / 2, or controlled according to the preset default value; when Q 东西直行 When >1, it means that the number of vehicles passing in this direction is greater than the average number of vehicles passing in other intersections. At this time, the green light time can be controlled according to the threshold value T 东西直行 = Q 东西直行 * (10+120) / 2, the upper limit is 120S.

[0077] In some embodiments, the determination of the travel time of each travel direction according to the preset travel rules may include: adjusting the travel time to obtain an adjusted travel time according to the vehicle capacity of the lanes between the current intersection and the next intersection in each direction of the road, so as to control the traffic light at the intersection according to the adjusted travel time. It is understandable that the green light travel time at the intersection is calculated according to the traffic volume at the next intersection to avoid congestion at the intersection due to too many vehicles flowing into the next intersection.

[0078] like Figure 4 As shown in the figure, after calculating the basic traffic light travel time, the number of vehicles passing through the next intersection is combined for calculation. Taking the calculation from intersection B to intersection A as an example, the traffic light at intersection B controls the vehicles traveling from intersection B to intersection A, and thus can control the traffic flow between intersections A and B. Assume N A is the real-time traffic flow of BA section, N B is the real-time traffic flow of the CB section, L C-B is the number of lanes in the CB section, N AMAX is the maximum traffic volume that the BA section can accommodate, T B-A The east-west straight line is the green light time for B intersection to enter A intersection calculated according to rule 6. In order to prevent the number of vehicles passing from B intersection to A intersection from exceeding the capacity of the BA section lane, this rule should be considered before the B intersection turns green in the direction of travel to optimize T B-A The time for going straight east and west, assuming that the actual duration of the optimized green light is T B-A In the actual east-west straight driving, refer to the threshold rule in rule 6 for reverse calculation, and the travel time T of the traffic flow from the CB section to the BA section exceeding the upper limit needs to be deducted. B-AGo straight east and west = T B-A Go straight east-west - (((N AMAX -N A ) / L C-B )*2).

[0079] In some embodiments, the travel time of each travel direction is determined according to the preset travel rules, which may include: determining the target intersection involved in the target place according to the preset range; grouping all the target intersections according to the distance from the target place to each target intersection, and configuring a corresponding time coefficient for each group of intersections; the time coefficient is greater than 1, and the closer the distance between the target intersection and the target place is, the greater the value of the time coefficient; the adjusted travel time is obtained according to the product of the travel time and the corresponding time coefficient, so as to control the traffic lights at the intersection according to the adjusted travel time. It can be understood that when there are temporary large-scale activities, some intersections will be affected, and effective solutions are needed for control. This embodiment uses the time coefficient to adjust the travel time according to the distance, which can effectively alleviate the traffic congestion caused by large-scale activities.

[0080] For example Figure 5 As shown, when there is a temporary large-scale event, Figure 5 The star mark in the middle is the active point. For example, the nearest intersection to the active point is I1, and the nearest intersection to I1 is I2. In this way, the green light time of each intersection can be assigned to ensure the smooth flow of traffic at the active point. The green light time of each intersection calculated according to the original rules is T, and the time obtained after assignment is Tx, where x is the number of intersections closest to the active point; the number of assigned intersections, the assignment ratio, and the assignment time period can be set according to the specific situation; the green light time of each intersection after assignment is shown in Table 4 below:

[0081] Table 4 Travel time adjusted based on time coefficient

[0082] <![CDATA[I 1 ]]> <![CDATA[I 2 ]]> <![CDATA[I 3 ]]> <![CDATA[I 4 ]]> <![CDATA[I 5 ]]> …… Assignment ratio 1.5 1.4 1.3 1.2 1.1 …… Tx <![CDATA[1.5T 1 ]]> <![CDATA[1.4T 2 ]]> <![CDATA[1.3T 3 ]]> <![CDATA[1.2T 4 ]]> <![CDATA[1.1T 5 ]]> ……

[0083] By assigning values ​​to the traffic flow at intersections, temporary congestion at intersections caused by large-scale events can be avoided.

[0084] Step S13: adjusting the traffic lights at the intersection according to the travel time.

[0085] After the passing time, i.e., the length of the green light, is calculated, the time of the traffic light is controlled according to the passing time. In this embodiment, it can be assumed that there is no restriction on right turns. If there is also a traffic light restriction on right turns, similarly, the relevant data of the right turn lane is introduced for calculation and added to the control loop.

[0086] In some embodiments, the control of the traffic lights at the intersection according to the travel time may include: when the remaining preset travel time is a preset time, re-determining the new travel time for each travel direction based on the traffic volume in different travel directions on each incoming road of the intersection according to the preset travel rules; if the new travel time is greater than a preset threshold, the traffic lights at the intersection are controlled according to the new travel time. That is, when the green light has not ended, if the travel time is 100s and the remaining preset time is 10s, the green light is recalculated according to the travel rules after it has been on for 90s to obtain the new travel time. If the new travel time is greater than the preset threshold, it indicates that there are still many vehicles on the current road, so the green light duration can be extended. Recalculation when the remaining preset travel time is for the continuity of the green light.

[0087] The green light extension plan can also be determined based on the ratio of traffic volume to the number of lanes. Before the green light in the direction of travel enters the countdown, if it is determined that the green light period is 120S (upper threshold), the green light in the direction of travel will continue to be on for 110S, and before entering the 10S countdown, another judgment will be made, that is, the current traffic volume to the number of lanes ratio is calculated to determine whether to increase the duration; if it is still Q at this time 东西直行 >1, the new travel time is calculated and the continuous green light time is increased according to the new travel time. The specific T 增加 =T 东西直行 -10S,T 东西直行 The time re-determined before entering the green light countdown, that is, the new passing time. The premise for the above steps not to be triggered is that the Q calculated before the green light enters the countdown 东西直行 ≤1, that is, the traffic volume in this direction does not exceed the traffic volume ratio of other directions. The above steps are performed before the countdown to avoid increasing the time after the countdown begins, which may cause passengers to mistakenly think that the traffic light is faulty. In addition, the above steps can be set to loop times. For example, if the loop is set to 2 times, the number of green light calculations in this direction is 2, that is, once before the red light turns green, and once before the green light enters the countdown.

[0088] As can be seen from the above, in this embodiment, real-time traffic flow data is obtained by a collection device pre-installed at the intersection; wherein, there is at least one collection device on each incoming road corresponding to each intersection; the real-time traffic flow data includes vehicle quantity information and vehicle travel direction information; the traffic flow of different travel directions on each incoming road of the intersection is determined according to the real-time vehicle data, and the travel time of each travel direction is determined according to the preset travel rules based on the traffic flow of different travel directions on each incoming road of the intersection; the traffic lights at the intersection are regulated according to the travel time. It can be seen that real-time traffic flow is collected by the collection devices at each intersection, and the traffic flow of each travel direction on the incoming road of the vehicle is analyzed according to the real-time traffic flow data, and then the traffic lights corresponding to different travel directions on different roads are controlled according to the traffic flow, so that the traffic light time corresponding to each lane of the intersection can be regulated according to the actual traffic flow, thereby improving the rationality and flexibility of the real-time regulation of the traffic lights, and the constant lighting time of the green lights in each direction can be automatically balanced according to the traffic flow on each lane, so as to avoid the situation where there is no vehicle on the lane but the green light is always on.

[0089] The present application also discloses a specific real-time traffic light control system. Figure 6 As shown, the system includes a roadside server and a collection device, wherein the roadside server includes a collection module, a storage module, a computing module, and a control module. The collection device is connected to the roadside server, the control module is connected to the intersection signal light, and the storage module and the computing module are located inside the roadside server. Through overall collaboration, the real-time control function of the traffic light is realized, and the temporary traffic congestion caused by unreasonable time control of the traffic light is minimized.

[0090] The collection device collects information on the number of vehicles on the four roads centered on the intersection and the form information of the vehicles at this intersection, taking the intersection as a unit. The collection module is used to receive real-time vehicle data collected by the collection device. The calculation module is used to refresh and calculate the traffic data of vehicles coming from all directions corresponding to the intersection in real time through preset traffic rules, and calculate the duration that the traffic lights at the intersection need to be reduced or increased. The storage module is used to store the number of vehicles coming from all directions at this intersection and the driving data selected at the intersection through preset traffic rules. The control module is used to receive the signal data transmitted by the calculation module and control the change in the duration of the traffic lights.

[0091] Taking the roadside server set up in the middle of the intersection as an example, the collection module of this server is connected to the traffic collection devices on the roads in each direction of the intersection, and monitors the traffic flow in each direction in real time; the collection module transmits the collected data to the calculation module and the storage module; the storage module classifies, summarizes and stores the vehicle data in different time periods according to preset rules; the calculation module combines historical data, calculates whether the traffic light time in each direction is reduced or increased according to the set rules and real-time traffic flow data, and transmits the calculated data to the control module; after receiving the calculation results, the control module controls the duration of the traffic lights in the intersection.

[0092] In summary, real-time traffic flow is collected through the collection devices at each intersection, and the traffic flow of vehicles in each direction on the road is analyzed based on the real-time traffic flow data. Then, the traffic lights corresponding to different directions on different roads are controlled according to the traffic flow, so that the traffic light time corresponding to each lane at the intersection can be adjusted according to the actual traffic flow, thereby improving the rationality and flexibility of the real-time control of traffic lights. The green light time in each direction can be automatically balanced according to the traffic flow on each lane, avoiding the situation where the green light is always on when there is no vehicle on the lane.

[0093] Correspondingly, the present application also discloses a real-time traffic light control device, see Figure 7 As shown, the device comprises:

[0094] The acquisition module 11 is used to acquire real-time traffic flow data through a acquisition device pre-installed at the intersection; wherein at least one acquisition device is present on each incoming road corresponding to each intersection; the real-time traffic flow data includes vehicle quantity information and vehicle travel direction information;

[0095] A travel time determination module 12 is used to determine the traffic volume of different travel directions on each oncoming road of the intersection according to the real-time vehicle data, and determine the travel time of each travel direction according to preset travel rules based on the traffic volume of different travel directions on each oncoming road of the intersection;

[0096] The control module 13 is used to adjust the traffic lights at the intersection according to the travel time.

[0097] As can be seen from the above, in this embodiment, real-time traffic flow data is obtained by a collection device pre-installed at the intersection; wherein, there is at least one collection device on each incoming road corresponding to each intersection; the real-time traffic flow data includes vehicle quantity information and vehicle travel direction information; the traffic flow of different travel directions on each incoming road of the intersection is determined according to the real-time vehicle data, and the travel time of each travel direction is determined according to the preset travel rules based on the traffic flow of different travel directions on each incoming road of the intersection; the traffic lights at the intersection are regulated according to the travel time. It can be seen that real-time traffic flow is collected by the collection devices at each intersection, and the traffic flow of each travel direction on the incoming road of the vehicle is analyzed according to the real-time traffic flow data, and then the traffic lights corresponding to different travel directions on different roads are controlled according to the traffic flow, so that the traffic light time corresponding to each lane of the intersection can be regulated according to the actual traffic flow, thereby improving the rationality and flexibility of the real-time regulation of the traffic lights, and the constant lighting time of the green lights in each direction can be automatically balanced according to the traffic flow on each lane, so as to avoid the situation where there is no vehicle on the lane but the green light is always on.

[0098] In some specific embodiments, the travel time determination module 12 may specifically include:

[0099] A total vehicle number determination unit is used to determine the total number of vehicles on each oncoming road at the intersection within a single signal light cycle, and the number of vehicles in different directions on each oncoming road, according to the vehicle number information and the vehicle travel direction information; the vehicle travel direction information includes southeast, west, north, left turn, right turn and straight ahead;

[0100] A historical vehicle total number acquisition unit, used to acquire the historical total number of vehicles on each approaching road of the current intersection during the time period according to the time period to which the current time belongs;

[0101] The vehicle flow determination unit is used to obtain the vehicle flow in different travel directions on each incoming road of the intersection according to the total number of vehicles, the number of vehicles in the travel direction and the total number of historical vehicles.

[0102] In some specific embodiments, the travel time determination module 12 may specifically include:

[0103] A traffic direction grouping unit, used to group the traffic directions corresponding to the same indicator light into a traffic direction group;

[0104] A ratio calculation unit, configured to calculate the ratio of the traffic flow in different directions in the traffic direction group to the number of lanes based on the traffic flow in different directions on each incoming road of the intersection; the traffic flow to the number of lanes ratio is the ratio of the traffic flow in the traffic direction to the number of lanes in the traffic direction;

[0105] The target ratio determination unit is used to select the vehicle flow to lane number ratio with the largest value as the target ratio, and use the product of the target ratio and the basic vehicle travel time as the travel time of the indicator light corresponding to the travel direction group.

[0106] In some specific embodiments, the travel time determination module 12 may specifically include:

[0107] A traffic direction grouping unit, used to group the traffic directions corresponding to the same indicator light into a traffic direction group;

[0108] A ratio calculation unit, configured to calculate the ratio of the traffic flow in different directions in the traffic direction group to the number of lanes based on the traffic flow in different directions on each incoming road of the intersection; the traffic flow to the number of lanes ratio is the ratio of the traffic flow in the traffic direction to the number of lanes in the traffic direction;

[0109] A target ratio determination unit, configured to select the vehicle flow to lane number ratio with the largest value as the target ratio of the travel direction group;

[0110] A relative ratio calculation unit, used to calculate the relative ratio of each traffic direction group relative to the remaining traffic direction groups; the numerator of the relative ratio is the target ratio of the current traffic direction group, and the denominator of the relative ratio is the average value of the target ratios of all the remaining traffic direction groups;

[0111] A first travel time determination unit, configured to determine that if the relative ratio is equal to 0, the travel time in the current travel direction is a preset shortest travel time;

[0112] A second travel time determination unit, for determining, if the relative ratio is greater than 0 and less than 1, that the travel time in the current travel direction is the product of the average travel time and the relative ratio; the average travel time is the average of the shortest travel time and the preset longest travel time;

[0113] A third travel time determination unit, configured to determine, if the relative ratio is equal to 1, that the travel time in the current travel direction is the average travel time;

[0114] The fourth travel time determination unit is used for, if the relative ratio is greater than 1, the travel time in the current travel direction is the product of the average travel time and the relative ratio.

[0115] In some specific embodiments, the travel time determination module 12 may specifically include:

[0116] The first adjustment unit is used to adjust the travel time to obtain an adjusted travel time according to the vehicle capacity of the lanes between the current intersection and the next intersection in each oncoming road direction, so as to control the traffic light at the intersection according to the adjusted travel time.

[0117] In some specific embodiments, the travel time determination module 12 may specifically include:

[0118] A target intersection determination unit, used to determine a target intersection involved in a target location according to a preset range;

[0119] A time coefficient determination unit, used to group all the target intersections according to the distance from the target location to each target intersection, and configure a corresponding time coefficient for each group of intersections; the time coefficient is greater than 1, and the closer the distance between the target intersection and the target location, the greater the value of the time coefficient;

[0120] The second adjustment unit is used to obtain an adjusted passing time according to the product of the passing time and a corresponding time coefficient, so as to control the traffic light of the intersection according to the adjusted passing time.

[0121] In some specific embodiments, the control module 13 may specifically include:

[0122] A new travel time determination unit is used to determine the new travel time for each travel direction according to preset travel rules based on the traffic volume in different travel directions on each incoming road of the intersection when the remaining travel time is a preset time length;

[0123] A control unit is used to control the traffic light at the intersection according to the new travel time if the new travel time is greater than a preset threshold.

[0124] Furthermore, the present application also discloses an electronic device, see Figure 8 As shown, the contents in the drawings should not be considered as any limitation on the scope of use of the present application.

[0125] Figure 8 The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the real-time traffic light control method disclosed in any of the aforementioned embodiments.

[0126] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0127] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222, and data 223 including real-time traffic data, etc. The storage method can be temporary storage or permanent storage.

[0128] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, and it can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the real-time traffic light control method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0129] Furthermore, an embodiment of the present application also discloses a computer storage medium, in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by a processor, the steps of the real-time traffic light control method disclosed in any of the aforementioned embodiments are implemented.

[0130] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0131] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0132] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0133] The above is a detailed introduction to a method, device, equipment and storage medium for real-time control of traffic lights provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for real-time control of traffic lights, characterized in that: include: Acquire real-time traffic flow data by means of a collection device pre-installed at the intersection; wherein at least one collection device is present on each incoming road corresponding to each intersection; the real-time traffic flow data includes vehicle quantity information and vehicle travel direction information; Determine the traffic volume in different directions on each oncoming road of the intersection according to the real-time vehicle data, and determine the travel time of each travel direction according to preset travel rules based on the traffic volume in different directions on each oncoming road of the intersection; The traffic light at the intersection is regulated according to the travel time.

2. The method for real-time control of traffic lights according to claim 1, characterized in that: Determining the traffic flow in different directions on each oncoming road of the intersection according to the real-time vehicle data includes: According to the vehicle quantity information and the vehicle travel direction information, the total number of vehicles on each oncoming road at the intersection within a single signal light cycle and the number of vehicles in different travel directions on each oncoming road are determined; the vehicle travel direction information includes southeast, west, north, left turn, right turn and straight ahead; According to the time period to which the current time belongs, obtain the total number of historical vehicles on each incoming road of the current intersection during the said time period; The traffic volume in different travel directions on each incoming road at the intersection is obtained according to the total number of vehicles, the number of vehicles in the travel direction and the total number of historical vehicles.

3. The method for real-time control of traffic lights according to claim 1, characterized in that: The method of determining the travel time of each travel direction based on the traffic flow of different travel directions on each incoming road of the intersection according to a preset travel rule includes: The traffic directions corresponding to the same indicator light are regarded as a traffic direction group; Based on the traffic flow in different directions on each incoming road of the intersection, the ratio of the traffic flow in different directions in the traffic direction group to the number of lanes is calculated; the ratio of the traffic flow to the number of lanes is the ratio of the traffic flow in the traffic direction to the number of lanes in the traffic direction; The ratio of the vehicle flow to the number of lanes with the largest value is selected as the target ratio, and the product of the target ratio and the basic vehicle travel time is used as the travel time of the indicator light corresponding to the travel direction group.

4. The real-time traffic light control method according to claim 1, characterized in that: Determining the travel time of each travel direction according to the preset travel rules includes: The traffic directions corresponding to the same indicator light are regarded as a traffic direction group; Based on the traffic flow in different directions on each incoming road of the intersection, the ratio of the traffic flow in different directions in the traffic direction group to the number of lanes is calculated; the ratio of the traffic flow to the number of lanes is the ratio of the traffic flow in the traffic direction to the number of lanes in the traffic direction; Selecting the ratio of the traffic volume to the number of lanes with the largest value as the target ratio of the traffic direction group; Calculate the relative ratio of each traffic direction group to the remaining traffic direction groups; the numerator of the relative ratio is the target ratio of the current traffic direction group, and the denominator of the relative ratio is the average of the target ratios of all the remaining traffic direction groups; If the relative ratio is equal to 0, the travel time in the current travel direction is the preset shortest travel time; If the relative ratio is greater than 0 and less than 1, the travel time in the current travel direction is the product of the average travel time and the relative ratio; the average travel time is the average of the shortest travel time and the preset longest travel time; If the relative ratio is equal to 1, the travel time in the current travel direction is the average travel time; If the relative ratio is greater than 1, the travel time in the current travel direction is the product of the average travel time and the relative ratio.

5. The real-time traffic light control method according to claim 1, characterized in that: Determining the travel time of each travel direction according to the preset travel rules includes: According to the vehicle capacity of the lanes between the current intersection and the next intersection in each oncoming road direction, the travel time is adjusted to obtain the adjusted travel time, so as to control the traffic light of the intersection according to the adjusted travel time.

6. The method for real-time control of traffic lights according to claim 1, characterized in that: Determining the travel time of each travel direction according to the preset travel rules includes: Determine the target intersection involved in the target location according to the preset range; According to the distance from the target location to each target intersection, all the target intersections are grouped, and a corresponding time coefficient is configured for each group of intersections; the time coefficient is greater than 1, and the closer the distance between the target intersection and the target location, the greater the value of the time coefficient; The adjusted passing time is obtained according to the product of the passing time and the corresponding time coefficient, so as to control the traffic light of the intersection according to the adjusted passing time.

7. The method for real-time control of traffic lights according to any one of claims 1 to 6, characterized in that: The method of regulating the traffic light at the intersection according to the passing time includes: When the remaining travel time is a preset time, a new travel time for each travel direction is determined based on the traffic volume in different travel directions on each incoming road of the intersection and according to the preset travel rules; If the new travel time is greater than a preset threshold, the traffic light at the intersection is regulated according to the new travel time.

8. A real-time traffic light control device, characterized in that: include: A collection module, used to obtain real-time traffic flow data through a collection device pre-installed at an intersection; wherein at least one collection device is present on each incoming road corresponding to each intersection; the real-time traffic flow data includes vehicle quantity information and vehicle travel direction information; A travel time determination module, used to determine the traffic volume of different travel directions on each oncoming road of the intersection according to the real-time vehicle data, and determine the travel time of each travel direction according to preset travel rules based on the traffic volume of different travel directions on each oncoming road of the intersection; A control module is used to adjust the traffic light at the intersection according to the travel time.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the real-time traffic light control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein when the computer program is executed by the processor, the real-time traffic light control method as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Gear display control method and device, computer equipment, medium and handheld fan

    CN122640880A