Traffic flow-based signal lamp control method, device and equipment and storage medium

By obtaining and analyzing the traffic information at the intersection, intelligently controlling the release time of traffic lights, solving the problem of manual analysis and strong subjectivity in traditional methods, improving the efficiency and accuracy of signal light control, and adapting to changes in traffic flow.

CN119626005APending Publication Date: 2025-03-14BEIJING CHANGDIWANFANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411732791.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The traditional traffic light control method requires manual on-site analysis, which wastes manpower. The results are subjective, with low control efficiency and accuracy, and cannot dynamically adapt to changes in traffic flow.

Method used

By obtaining the traffic information of the intersection within the preset time period, determining the release time on each road based on the traffic information and the preset signal light cycle, the intelligent control of the signal light is achieved.

Benefits of technology

It improves the control efficiency and accuracy of signal lights, saves manpower and time, and realizes dynamic control optimization of signal lights, adapts to actual traffic conditions, and reduces road congestion or waiting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119626005A_ABST
    Figure CN119626005A_ABST
Patent Text Reader

Abstract

The invention provides a traffic flow-based signal lamp control method and device, equipment and a storage medium, and relates to the field of artificial intelligence, in particular to the field of traffic management. According to the specific implementation scheme, flow information of an intersection in a preset time period is acquired; wherein the intersection comprises a first orientation road and a second orientation road, and the flow information represents the traffic flow passing through the intersection; according to the flow information and a preset signal lamp period, determining a release time length on the first orientation road in the intersection; wherein the release duration represents the green light duration of the signal lamp; and controlling a signal lamp in the intersection according to the release duration on the first orientation road in the intersection. The method automatically determines the green time of the signal lamp according to the traffic flow, improves the control efficiency of the signal lamp, and guarantees the road smoothness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of traffic management in the field of artificial intelligence, and in particular to a traffic light control method, device, equipment and storage medium based on vehicle flow. Background Art

[0002] Traditional traffic light control methods often change the lighting time of traffic lights based on fixed time periods or simple periodic control rules. For example, manual field surveys are conducted at each intersection to develop traffic light plans based on factors such as the length of time pedestrians pass through each intersection, the distance between intersections, the traffic volume at each intersection, the width of the two-way green wave band, and the driving speed.

[0003] This method requires manual on-site analysis of each intersection, which wastes manpower and time, and the results are more subjective, and the control efficiency and accuracy of traffic lights are low. Summary of the invention

[0004] The present disclosure provides a traffic light control method, device, equipment and storage medium based on vehicle flow.

[0005] According to a first aspect of the present disclosure, a traffic light control method based on vehicle flow is provided, comprising:

[0006] Obtaining traffic information of an intersection within a preset time period; wherein the intersection includes a first-oriented road and a second-oriented road, and the traffic information represents the traffic volume passing through the intersection;

[0007] Determine, according to the traffic information and the preset traffic light cycle, the release duration on the first direction road in the intersection; wherein the release duration represents the duration of the green light of the traffic light;

[0008] The traffic light at the intersection is controlled according to the release time on the first-direction road at the intersection.

[0009] According to a second aspect of the present disclosure, a traffic light control device based on vehicle flow is provided, comprising:

[0010] An information acquisition unit, configured to acquire traffic information of an intersection within a preset time period; wherein the intersection includes a first-oriented road and a second-oriented road, and the traffic information represents the traffic volume passing through the intersection;

[0011] A duration determination unit, configured to determine a release duration on the first direction road in the intersection according to the traffic information and a preset traffic light cycle; wherein the release duration represents a duration of a green light of the traffic light;

[0012] A signal light control unit is used to control the signal light in the intersection according to the release time on the first direction road in the intersection.

[0013] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0014] at least one processor; and

[0015] a memory communicatively coupled to the at least one processor;

[0016] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect of the present disclosure.

[0017] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method according to the first aspect of the present disclosure.

[0018] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, which implements the steps of the method described in the first aspect of the present disclosure when executed by a processor.

[0019] According to the technology disclosed in the present invention, the control efficiency and accuracy of the signal light are improved.

[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0022] Figure 1 is a flow chart of a traffic light control method based on vehicle flow provided according to an embodiment of the present disclosure;

[0023] Figure 2 is a schematic diagram of an intersection provided according to an embodiment of the present disclosure;

[0024] Figure 3 is a flow chart of a traffic light control method based on vehicle flow provided according to an embodiment of the present disclosure;

[0025] Figure 4 is a flow chart of a traffic light control method based on vehicle flow provided according to an embodiment of the present disclosure;

[0026] Figure 5is a flow chart of a traffic light control method based on vehicle flow provided according to an embodiment of the present disclosure;

[0027] Figure 6 is a schematic diagram of adjacent intersections provided according to an embodiment of the present disclosure;

[0028] Figure 7 is a schematic diagram of green wave passage provided according to an embodiment of the present disclosure;

[0029] Figure 8 is a structural block diagram of a traffic light control device based on vehicle flow according to an embodiment of the present disclosure;

[0030] Fig. 9 is a structural block diagram of a traffic light control device based on vehicle flow according to an embodiment of the present disclosure;

[0031] Fig.10 is a block diagram of an electronic device for implementing a traffic light control method based on vehicle flow according to an embodiment of the present disclosure;

[0032] Fig.11 The block diagram of an electronic device used to implement a traffic light control method based on vehicle flow in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0033] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0034] With the continuous planning and development of road traffic, the number of intersections has gradually increased, and each intersection is connected to each other. In order to ensure traffic safety, multiple traffic lights are set up at the intersection to instruct vehicles to drive in an orderly manner. There are usually north-south roads and east-west roads planned at the intersection. Two-way traffic lights are set up on roads in different directions to control vehicles to drive from south to north, from north to south, from east to west, from west to east, etc.

[0035] In order to avoid traffic congestion and improve the safety of vehicle driving, it is necessary to control the traffic lights at the intersections and adjust the duration of the traffic lights, that is, to adjust the green-to-red ratio. Traditional traffic light control methods often adjust the green-to-red ratio of traffic lights based on fixed time periods or simple periodic control rules. For example, manual field inspections of each intersection are carried out, and each intersection is analyzed. The lighting scheme of the traffic lights is produced based on factors such as the length of time pedestrians pass, the spacing between intersections, the traffic flow of each intersection, the width of the two-way green wave band, and the speed of traffic. This method requires manual field analysis of each intersection, which wastes manpower and the results are relatively subjective. In addition, manual work cannot capture historical and real-time changes in traffic flow, and cannot dynamically adapt to traffic conditions. The accuracy and rationality of the lighting time are not high, which affects the control efficiency and precision of the traffic lights, and thus affects the traffic efficiency, causing congestion or waiting.

[0036] The present invention provides a traffic light control method, device, equipment and storage medium based on vehicle flow, which are applied to the field of traffic management in the field of artificial intelligence to improve the control efficiency of traffic lights.

[0037] It should be noted that the data in this embodiment is not targeted at a specific user and cannot reflect the personal information of a specific user. It should be noted that the data in this embodiment comes from a public data set.

[0038] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0039] In order to enable readers to more deeply understand the implementation principle of the present disclosure, the following Figure 1-Figure 11 The embodiment is further refined.

[0040] Figure 1 FIG. 1 is a flow chart of a traffic light control method based on vehicle flow according to an embodiment of the present disclosure. The method can be executed by a traffic light control device based on vehicle flow. Figure 1 As shown, the method comprises the following steps:

[0041] S101. Obtain traffic information at an intersection within a preset time period; wherein the intersection includes a first-direction road and a second-direction road, and the traffic information represents the volume of vehicles passing through the intersection.

[0042] For example, the intersection may include two types of roads, namely, a first-direction road and a second-direction road. For example, the intersection is a crossroads, the first-direction road may be a north-south road, and the second-direction road may be an east-west road. The first-direction road may be bidirectional, and the second-direction road may also be bidirectional. For example, a vehicle may pass through the intersection from south to north on a north-south road, or may pass through the intersection from north to south.

[0043] A time period is preset, for example, the preset time period may be the past month. For any intersection, the traffic information of the intersection within the preset time period is obtained. The traffic information may characterize the volume of vehicles passing through the intersection, for example, the traffic information may include the volume of vehicles passing through the intersection along a first direction road and the volume of vehicles passing through the intersection along a second direction road. The traffic conditions at the intersection may be captured by image or video, and the traffic information may be acquired based on the captured image frames. For example, the vehicle in the image frame may be identified. For another example, a vehicle counter may be provided at the intersection, and the number of vehicles passing through the intersection may be recorded by the counter as the traffic information of the intersection. In this embodiment, the method for collecting the traffic information is not specifically limited.

[0044] Figure 2 A schematic diagram of the intersection. Figure 2 The intersection includes north-south roads and east-west roads. The first direction road is the north-south road, and the second direction road is the east-west road. There are four signal lights at the intersection, namely signal light 1, signal light 2, signal light 3, and signal light 4. Among them, signal light 1 can indicate vehicles traveling from south to north, signal light 2 can indicate vehicles traveling from north to south, signal light 3 can indicate vehicles traveling from east to west, and signal light 4 can indicate vehicles traveling from west to east.

[0045] S102. Determine a release duration on a first-direction road in an intersection according to traffic information and a preset traffic light cycle; wherein the release duration represents a duration of a green light of a traffic light.

[0046] For example, a traffic light is preset with a traffic light cycle, which is the time length between two green light onsets, that is, the time length from the time the traffic light turns on once to the time the next green light onsets is the traffic light cycle. The traffic lights at the same intersection have the same traffic light cycle.

[0047] For two directional roads in an intersection, the release duration of one of the directional roads can be determined based on the traffic information of the intersection and the preset traffic light cycle. For example, the release duration of the first directional road can be determined. In this embodiment, the direction of the first directional road is not specifically limited. That is, one of the directional roads is taken as the first directional road, and the release duration of the first directional road is determined. The release duration represents the duration of the green light of the traffic light, that is, the length of time the green light occupies in a traffic light cycle.

[0048] The green-to-signal ratio of the traffic light can be determined based on the traffic information within a preset time period, and the duration of the green light can be determined based on the green-to-signal ratio and the traffic light cycle. The green-to-signal ratio refers to the proportion of the duration of the green light to the total traffic light cycle. The correlation between the traffic information and the green-to-signal ratio can be preset. For example, the more vehicles represented by the traffic information, the larger the green-to-signal ratio, that is, the longer the duration of the green light.

[0049] Two opposite traffic lights may be arranged on each road in each direction, that is, a traffic light for a two-way road may be arranged on one direction. Figure 2 The signal lights 1 and 2 are opposite signal lights, and the signal lights 3 and 4 are opposite signal lights. On a road in one direction, the release times of the two opposite signal lights are the same, that is, the release time of the road in the first direction is the release time of the two signal lights on the road.

[0050] S103: Control the traffic lights at the intersection according to the release time on the first direction road at the intersection.

[0051] Exemplarily, after obtaining the release duration on the first direction road in the intersection, each signal light in the intersection can be controlled, that is, the green light duration of each signal light is controlled to instruct the vehicle to pass through the intersection.

[0052] For example, according to the release duration on the first-direction road, the green light durations of the two traffic lights on the first-direction road are adjusted to the release duration. The first-direction road and the second-direction road intersect, and the green light durations of the traffic lights on the two intersecting roads may be different. When the traffic light on the first-direction road is green, the traffic light on the second-direction road should be red. Therefore, according to the release duration on the first-direction road, the red light duration of the traffic light on the second-direction road can be determined. According to the red light duration of the traffic light on the second-direction road, the lighting duration of the traffic light on the second-direction road is adjusted, thereby realizing the control of each traffic light in the intersection.

[0053] In the disclosed embodiment, the green light duration of the traffic light is determined in an intelligent manner by collecting and analyzing the historical traffic flow data at the intersection, that is, the flow information, and combining it with the preset signal light cycle. When the flow information changes, the release time of the signal light will also change accordingly, realizing dynamic control optimization of the signal light, so that the lighting of the signal light is adapted to the actual traffic situation, saving manpower and time for signal light control, improving the control efficiency and accuracy of the signal light, and thus improving the traffic efficiency of the road and reducing congestion or waiting.

[0054] Figure 3 A flow chart of a traffic light control method based on vehicle flow provided in an embodiment of the present disclosure.

[0055] In this embodiment, the traffic information includes a first traffic flow and a second traffic flow, the first traffic flow represents the traffic flow through the first direction road, and the second traffic flow represents the traffic flow through the second direction road; according to the traffic information and the preset traffic light cycle, the release time on the first direction road in the intersection is determined, including: according to the first traffic flow and the second traffic flow, determining the number of vehicles passing through the intersection within a preset time period; according to the number of vehicles, the first traffic flow, and the preset traffic light cycle, determining the release time on the first direction road in the intersection.

[0056] This embodiment is based on the above embodiment. Figure 3 As shown, the method comprises the following steps:

[0057] S301. Obtain traffic information at an intersection within a preset time period; wherein the intersection includes a first-direction road and a second-direction road, and the traffic information represents the volume of vehicles passing through the intersection.

[0058] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.

[0059] S302: Determine the number of vehicles passing through the intersection within a preset time period according to the first vehicle flow rate and the second vehicle flow rate.

[0060] Exemplarily, the traffic volume of roads in various directions in an intersection is collectively determined as the traffic volume information of the intersection. That is, the traffic volume information includes a first traffic volume and a second traffic volume, the first traffic volume characterizes the traffic volume passing through the road in the first direction, and the second traffic volume characterizes the traffic volume passing through the road in the second direction. The first traffic volume includes forward and reverse traffic volume in the first direction, and the second traffic volume includes forward and reverse traffic volume in the second direction. Forward and reverse are two relative directions, for example, from south to north is forward, and from north to south is reverse. Traffic volume characterizes the number of vehicles passing through, and the larger the traffic volume, the more vehicles there are.

[0061] The first vehicle flow and the second vehicle flow of the intersection within a preset time period are obtained, that is, the vehicle flow in two directions is obtained. According to the vehicle flow in the two directions, the number of vehicles passing through the intersection within a preset time period is determined, that is, the total number of vehicles passing through the intersection. The number represented by the first vehicle flow and the number represented by the second vehicle flow can be added to obtain the number of vehicles passing through the intersection within the preset time period.

[0062] S303: Determine a release time on a first-direction road in the intersection according to the number of vehicles, the first traffic flow, and a preset traffic light cycle.

[0063] Exemplarily, the first traffic flow is the traffic flow through the first direction road. According to the total number of vehicles passing through the intersection, the first traffic flow, and the preset traffic light cycle, the release time on the first direction road in the exit can be determined, that is, the duration of the green light of the traffic light on the first direction road can be determined.

[0064] For example, if the first traffic flow accounts for a large proportion of the total number of vehicles, the release time on the first direction road can be determined as a larger value within the range of the traffic light cycle. For example, a maximum threshold for the release time can be set, and if the proportion of the first traffic flow to the number of vehicles exceeds the preset proportion threshold, the release time on the first direction road is determined to be the preset maximum threshold.

[0065] In this embodiment, the release time for different directions is adaptively determined based on historical traffic flow, so that directions with heavy traffic flow are automatically given more release time, thereby improving the control efficiency of traffic lights, reducing traffic congestion, and improving road traffic efficiency.

[0066] In this embodiment, the release time on the first direction road is characterized by:

[0067]

[0068] Among them, t1 is the release time on the first direction road, T is the preset traffic light cycle, f1 is the first traffic flow, F is the number of vehicles, F=f1+f2, and f2 is the second traffic flow.

[0069] Specifically, assuming that the signal light cycle is T, the release time of the first direction road is t1, the first traffic flow is f1, the second traffic flow is f2, and the waiting time of vehicles at the intersection is E. Waiting time = first traffic flow × waiting probability of the first direction road × average waiting time of the first direction road + second traffic flow × waiting probability of the second direction road × average waiting time of the second direction road. The calculation formula for waiting time is:

[0070]

[0071] Set f1, f2, and T to be fixed. When E is the shortest, we get

[0072] The first vehicle flow f1 and the second vehicle flow f2 are added to obtain the total number of vehicles passing through the intersection F. The first vehicle flow f1 is multiplied by the signal light cycle T, and then divided by the total number of vehicles F to obtain the release time t1 on the first direction road.

[0073] The beneficial effect of this setting is that based on the proportional relationship between the release time and the traffic flow at the intersection, the green-to-light ratio of the intersection can be automatically determined according to the traffic flow, that is, the duration of the green light can be determined, thereby reducing vehicle delays.

[0074] S304: Control the traffic lights at the intersection according to the release time on the first direction road at the intersection.

[0075] Exemplarily, this step may refer to the above-mentioned step S103 and will not be described in detail.

[0076] In the disclosed embodiment, the green light duration of the traffic light is determined in an intelligent manner by collecting and analyzing the historical traffic flow data at the intersection, that is, the flow information, and combining it with the preset signal light cycle. When the flow information changes, the release time of the signal light will also change accordingly, realizing dynamic control optimization of the signal light, so that the lighting of the signal light is adapted to the actual traffic situation, saving manpower and time for signal light control, improving the control efficiency and accuracy of the signal light, and thus improving the traffic efficiency of the road and reducing congestion or waiting.

[0077] Figure 4 A flow chart of a traffic light control method based on vehicle flow provided in an embodiment of the present disclosure.

[0078] In this embodiment, the traffic lights in the intersection are controlled according to the release time on the first direction road in the intersection, including: determining the release time on the second direction road in the intersection according to the release time on the first direction road and the preset traffic light cycle; controlling the traffic lights in the intersection according to the release time on the first direction road and the release time on the second direction road.

[0079] This embodiment is based on the above embodiment. Figure 4 As shown, the method comprises the following steps:

[0080] S401. Obtain traffic information at an intersection within a preset time period; wherein the intersection includes a first-direction road and a second-direction road, and the traffic information represents the volume of vehicles passing through the intersection.

[0081] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.

[0082] S402: Determine a release time on a first-direction road in an intersection according to traffic information and a preset traffic light cycle; wherein the release time represents a duration of a green light of a traffic light.

[0083] Exemplarily, this step may refer to the above-mentioned step S102 and will not be described in detail.

[0084] S403: Determine a release time on a second direction road in the intersection according to the release time on the first direction road and a preset traffic light cycle.

[0085] Exemplarily, the release time on the second direction road in the intersection can be determined based on traffic information and a preset traffic light cycle. For example, based on the preset release time calculation formula, f1 in the formula can be replaced with f2 to obtain the release time t2 on the second direction road in the intersection according to the total number of vehicles passing through the intersection, the second traffic flow, and the preset traffic light cycle.

[0086] The release time on the second direction road can also be directly determined based on the release time on the first direction road. Traffic lights on different directions of the same intersection are lit alternately, and the signal light cycle is consistent, that is, when the north-south traffic light is green, the east-west traffic light is red; when the north-south traffic light is red, the east-west traffic light is green.

[0087] According to the duration of the green light on the road in the first direction, the duration of the red light on the road in the second direction can be determined. The duration of the green light on the road in the first direction is the duration of the red light on the road in the second direction, and the duration of the green light on the road in the second direction is obtained.

[0088] In this embodiment, the release time on the second direction road in the intersection is determined based on the release time on the first direction road and the preset traffic light cycle, including: subtracting the preset traffic light cycle from the release time on the first direction road to obtain the release time on the second direction road in the intersection.

[0089] Specifically, the duration of a green light on the signal light plus the duration of a red light on the signal light is the signal light cycle. In other words, the duration of the red light on the first direction road is obtained by subtracting the preset signal light cycle from the release time on the first direction road. The duration of the red light on the first direction road is the duration of the green light on the second direction road, that is, the release time on the second direction road, t2 = T-t1.

[0090] The beneficial effect of such a setting is that, by performing a subtraction process, the release time of all traffic lights at the intersection can be quickly obtained, thereby improving the control efficiency of the signal.

[0091] S404: Control the traffic lights at the intersection according to the release time on the first direction road and the release time on the second direction road.

[0092] Exemplarily, different traffic lights at the intersection are controlled according to the release time on the first direction road and the release time on the second direction road. For example, the green-to-signal ratio of the traffic light on the first direction road can be controlled according to the release time on the first direction road; and the green-to-signal ratio of the traffic light on the second direction road can be controlled according to the release time on the second direction road.

[0093] The same traffic light at the intersection can also be controlled in combination with the release time on the first direction road and the release time on the second direction road. For example, the green light duration of the traffic light on the first direction road is adjusted according to the release time on the first direction road; after the adjustment, it can also be determined whether the red light duration on the first direction road is the release time on the second direction road. If so, it is determined that the traffic light on the first direction road has been adjusted. If not, a prompt message can be sent to the staff to remind the staff to make manual control adjustments.

[0094] In this embodiment, the release time of traffic lights on roads in different directions at the intersection is determined to achieve rapid control of each traffic light at the intersection, ensure the consistency of the lighting conditions between the traffic lights, and improve the control efficiency and accuracy of the traffic lights.

[0095] In the disclosed embodiment, the green light duration of the traffic light is determined in an intelligent manner by collecting and analyzing the historical traffic flow data at the intersection, that is, the flow information, and combining it with the preset signal light cycle. When the flow information changes, the release time of the signal light will also change accordingly, realizing dynamic control optimization of the signal light, so that the lighting of the signal light is adapted to the actual traffic situation, saving manpower and time for signal light control, improving the control efficiency and accuracy of the signal light, and thus improving the traffic efficiency of the road and reducing congestion or waiting.

[0096] Figure 5 A flow chart of a traffic light control method based on vehicle flow provided in an embodiment of the present disclosure.

[0097] In this embodiment, the method also includes: obtaining the release time of the previous intersection in the adjacent intersections on the first direction road and the release time of the next intersection in the first direction road; wherein the road between the previous intersection and the next intersection is the first direction road; according to the release time of the previous intersection in the adjacent intersections on the first direction road and the release time of the next intersection in the first direction road, determining the phase difference between the previous intersection and the next intersection; wherein the phase difference represents the time difference between the green lights of the two intersections lighting up successively.

[0098] This embodiment is based on the above embodiment. Figure 5 As shown, the method comprises the following steps:

[0099] S501. Obtain traffic information at an intersection within a preset time period; wherein the intersection includes a first-direction road and a second-direction road, and the traffic information represents the volume of vehicles passing through the intersection.

[0100] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.

[0101] S502: Determine a release time on a first-direction road in an intersection according to traffic information and a preset traffic light cycle; wherein the release time represents a duration of a green light of a traffic light.

[0102] Exemplarily, this step may refer to the above-mentioned step S102 and will not be described in detail.

[0103] S503: Control the traffic lights at the intersection according to the release time on the first direction road at the intersection.

[0104] Exemplarily, this step may refer to the above-mentioned step S103 and will not be described in detail.

[0105] S504: Obtain a release time of a preceding intersection on a first-direction road and a release time of a succeeding intersection on the first-direction road among adjacent intersections; wherein the road between the preceding intersection and the succeeding intersection is the first-direction road.

[0106] For example, there may be multiple intersections in one direction, that is, after a vehicle passes an intersection in one direction, it may continue to pass the next intersection in the same direction. After determining the release time of each intersection, two adjacent intersections on the first direction road are determined, where the first direction road refers to a road in any direction of the two directions of the intersection. The release time of the two intersections on the first direction road is obtained. That is, the release time of the first intersection on the first direction road and the release time of the next intersection on the first direction road are determined among the adjacent intersections.

[0107] In this embodiment, the distance between the two intersections is fixed, and the average speed of travel is also fixed, so the time required to pass through the two intersections is considered to be fixed. In order to ensure that the phase difference between adjacent intersections remains unchanged within each signal light cycle, the signal light cycles of adjacent intersections can be adjusted to be consistent or multiple relationships. For example, the signal light cycle of intersection A is 30 seconds, and the signal light cycle of intersection B can be 30 seconds or 60 seconds, etc. By adjusting the cycles of adjacent intersections to be consistent or multiple relationships, it can be ensured that the signal light changes of the two intersections remain synchronized or with a specific time difference, thereby optimizing traffic fluidity, reducing waiting time and congestion, and improving traffic efficiency.

[0108] In this embodiment, the phase sequence of the traffic lights can also be adjusted. The phase sequence refers to the order in which the traffic flows heading in different directions from the intersection are released. For example, a left-turn special light, a waiting area, etc. can be set. For a left-turn special light, if there is a left-turn special light, the left-turn special light can be controlled separately from the straight-through light. In this way, left-turning vehicles can pass independently when the left-turn special light is on without interfering with the flow of straight-through vehicles. For the waiting area, in order to increase the safety and efficiency of traffic, a waiting area can be set at the intersection. The waiting area can provide a waiting space for left-turning vehicles so that they will not hinder the passage of other vehicles.

[0109] Figure 6 A schematic diagram of adjacent intersections. Figure 6 The intersection A and the intersection B are included, and the intersection A and the intersection B are adjacent intersections on the north-south road.

[0110] S505. Determine a phase difference between a preceding intersection and a succeeding intersection according to a release time of a preceding intersection on the first-direction road and a release time of a succeeding intersection on the first-direction road among adjacent intersections; wherein the phase difference represents a time difference between two intersections successively lighting up green lights.

[0111] Exemplarily, the release time of the first intersection in the first direction road and the release time of the second intersection in the first direction road are determined, and the phase difference of the two intersections in the same direction is determined according to the release time of the two intersections. The phase difference can represent the time difference between the two intersections lighting up green lights successively, that is, the time when the first intersection lights up green is determined, and the time when the second intersection lights up green for the first time after the time, and the time difference between these two times is the phase difference. For example, the time when the first intersection lights up green is 10:15:00, and the time when the second intersection lights up green is 10:15:15, then the phase difference is 15 seconds.

[0112] According to the release time of the previous intersection, the earliest time and the latest time for the vehicle to travel from the previous intersection to the next intersection can be determined. The earliest time is the time when the vehicle passes through the previous intersection when the green light just turns on and arrives at the next intersection; the latest time is the time when the vehicle passes through the previous intersection when the green light just turns off and arrives at the next intersection. According to the earliest time, the latest time, and the release time of the second intersection, a more optimal phase difference can be obtained.

[0113] In this embodiment, after determining the release time of each intersection, the phase difference between the intersections can also be adjusted to automatically further optimize the lighting conditions of the traffic lights, thereby improving the control efficiency and accuracy of the traffic lights and improving the smoothness of the road.

[0114] In this embodiment, the phase difference between the previous intersection and the next intersection is determined according to the release time of the previous intersection in the first direction road and the release time of the next intersection in the first direction road, including: obtaining road length information between adjacent intersections; determining the green wave time for the vehicle to arrive at the next intersection in the adjacent intersection according to the release time of the previous intersection in the first direction road and the road length information; wherein the green wave time represents the time when the vehicle starts from the next intersection when the light at the previous intersection is green and arrives at the next intersection; the phase difference between the previous intersection and the next intersection is determined according to the release time of the next intersection in the first direction road and the green wave time for the vehicle to arrive at the next intersection in the adjacent intersection.

[0115] Specifically, the roads between adjacent intersections are fixed, and the road length information between adjacent intersections can be directly obtained, and the road length information represents the distance between adjacent intersections. Determine the release time of the previous intersection in the adjacent intersection on the first direction road, and determine the green wave time for the vehicle to arrive at the next intersection in the adjacent intersection based on the release time and the road length information. The green wave time represents the time it takes for the vehicle to depart from the next intersection when the previous intersection is green and arrive at the next intersection. That is, the green wave time refers to the time it takes for the vehicle to depart from the next intersection and then arrive at the next intersection during the period between when the green light just turns on and when the green light just turns off at the previous intersection. For example, the release time of the previous intersection is 50 seconds, and the time it takes for the vehicle to arrive at the next intersection from the 0th second is determined, and the time it takes for the vehicle to arrive at the next intersection from the 50th second is determined. The time between these two times is the green wave time.

[0116] According to the green wave time when the vehicle arrives at the next intersection among the adjacent intersections, the time when the vehicle can pass the next intersection with a green wave can be determined. Green wave passing means that the vehicle can pass through multiple intersections with continuous green lights. That is, when the vehicle arrives at the next intersection during the green wave time, if the traffic light at the next intersection is green, the vehicle can pass with a green wave. According to the release time of the next intersection on the first direction road, the phase difference between the previous intersection and the next intersection when the vehicle passes with a green wave is determined.

[0117] According to the green wave time and the release time of the next intersection, the time when the green light starts to turn on at the next intersection can be determined. For example, each green wave time can be used as the time when the green light starts to turn on at the next intersection, and the width of the green wave band from the previous intersection to the next intersection can be determined at each time when the green light turns on at the next intersection. And each green wave time can be used as the time when the green light is turned off at the next intersection, and the width of the green wave band from the previous intersection to the next intersection can be determined at each time when the green light is turned off at the next intersection. Determine the maximum green wave band width, and obtain the time when the green light turns on corresponding to the green wave band width. Determine the time difference between this time and the time when the green light turns on at the previous intersection as the phase difference. If multiple phase differences are determined, they can be selected randomly or selected in sequence, and the road can be monitored at each phase difference to confirm which phase difference is most helpful in avoiding road congestion.

[0118] That is to say, when the green light comes on at the previous intersection, the green light will also come on at the next intersection after a phase difference, and the green wave passage time of vehicles should be allowed to fall as much as possible within the release time of the next intersection. Figure 7 This is a schematic diagram of green wave passage. Figure 7 The horizontal axis in the middle represents the intersection, the vertical axis represents time, and the oblique line part represents the green wave. Figure 7 The time between a and b is the release time of intersection A, the time between e and f is the release time of intersection B, and the time between c and d is the green wave time for vehicles to reach intersection B. In order to ensure that vehicles can pass through the green wave, point e can be adjusted to point c at the maximum, and the green wave time can be all between e and f, with the phase difference being the time difference between a and e; point f can also be adjusted to point d at the minimum, and the green wave time can also be all between e and f, with the phase difference being the time difference between a and e. That is, under the condition that point e is less than or equal to point c, and point f is greater than or equal to point d, the time difference between point a and point e is determined as the phase difference between intersection A and intersection B.

[0119] The beneficial effect of this setting is that the time when the green light starts to turn on at the next intersection is determined based on the green wave time and the release time of the next intersection, thereby obtaining the phase difference between adjacent intersections, ensuring that vehicles can pass through the green wave as much as possible, improving road smoothness and reducing road congestion.

[0120] In this embodiment, the green wave time for a vehicle to arrive at a subsequent intersection among adjacent intersections is determined based on the release time of a previous intersection among adjacent intersections on the first direction road and the road length information, including: obtaining the average driving speed of the vehicle; determining the green wave time for the vehicle to arrive at the subsequent intersection among adjacent intersections based on the release time of a previous intersection among adjacent intersections on the first direction road, the road length information, and the average driving speed.

[0121] Specifically, the average speed of the vehicle on the road is obtained, and the time required for the vehicle to reach the next intersection among the adjacent intersections is determined based on the road length information between the adjacent intersections and the average speed. The time required for the vehicle to reach the next intersection among the adjacent intersections is determined based on the release time of the previous intersection among the adjacent intersections on the first direction road and the time required by the vehicle, as the green wave time. For example, if the release time of the previous intersection is 50 seconds and the time required by the vehicle is 15 seconds, the green wave time is between the time after 0 seconds plus 15 seconds and the time after 50 seconds plus 15 seconds.

[0122] The beneficial effect of this setting is that the green wave time of the vehicle can be quickly obtained based on the release time, road length and average vehicle speed. The calculation process is simple, the calculation amount is small, and the control efficiency of the traffic light is improved.

[0123] In this embodiment, it also includes: obtaining the forward traffic flow, reverse traffic flow, forward green wave band width, and reverse green wave band width of the latter intersection among the adjacent intersections on the first direction road under the phase difference; wherein the first direction road includes a forward driving direction and a reverse driving direction, the forward traffic flow represents the traffic flow in the forward driving direction, the reverse traffic flow represents the traffic flow in the reverse driving direction, the forward traffic flow corresponds to the forward green wave band width, and the reverse traffic flow corresponds to the reverse green wave band width; according to the forward traffic flow, the reverse traffic flow, the forward green wave band width, and the reverse green wave band width, determining the green wave band index of the latter intersection on the first direction road; wherein the green wave band index represents the congestion degree of the intersection; if the green wave band index does not meet the preset index condition, adjusting the phase difference according to the release time of the latter intersection among the adjacent intersections on the first direction road and the green wave time when the vehicle arrives at the latter intersection among the adjacent intersections.

[0124] Specifically, after determining the phase difference of the adjacent intersections on the first direction road, the adjacent intersections can be monitored in real time to obtain the forward traffic flow, reverse traffic flow, forward green wave band width, and reverse green wave band width of the latter intersection in the adjacent intersection on the first direction road within a period of time. The forward traffic flow refers to the traffic flow from the previous intersection to the next intersection, and the reverse traffic flow refers to the traffic flow from the next intersection to the previous intersection. Each direction corresponds to its own green wave band, and the width of each green wave band is obtained. The width of the green wave band represents the length of time.

[0125] According to the forward traffic volume, the reverse traffic volume, the forward green wave band width, and the reverse green wave band width, the green wave band index of the latter intersection on the first direction road is calculated, and the green wave band index represents the degree of congestion at the intersection. That is, determine whether the traffic on the road is smooth under the phase difference. The index condition is pre-set, and the index condition is the condition for judging the degree of congestion of the road. If the green wave band index does not meet the preset index condition, then adjust the phase difference according to the release time of the latter intersection in the adjacent intersection on the first direction road and the green wave time of the vehicle arriving at the latter intersection in the adjacent intersection, that is, determine a new phase difference, and monitor again until the green wave band index meets the preset index condition. For example, the index condition is set to a preset index threshold. If the green wave index is greater than the preset index threshold, the current phase difference is determined to be the optimal phase difference, and no phase difference adjustment is required.

[0126] It is also possible to first determine multiple phase differences, monitor the vehicle flow and green wave band under each phase difference, and thus determine the green wave band index under each phase difference. The phase difference corresponding to the largest green wave band index is selected as the optimal phase difference.

[0127] The beneficial effect of this setting is that the phase difference can be adjusted according to the real-time traffic flow, so that the lighting of the traffic lights meets the actual road conditions, improving the control efficiency and accuracy of the traffic lights and effectively reducing road congestion.

[0128] In this embodiment, the green band index is characterized by:

[0129]

[0130] Among them, β is the green wave band index, f3 is the forward traffic flow, f4 is the reverse traffic flow, α1 is the forward green wave band width, and α2 is the reverse green wave band width.

[0131] Specifically, the green band index is obtained by weighted calculation of the vehicle flow and the green band width. For example, the forward vehicle flow is 100, the reverse vehicle flow is 50, the forward green band width is 10, the reverse green band width is 5, and the green band index is 100 / 150×10+50 / 150×5.

[0132] It can monitor under different phase sequences and different signal light cycles, determine the green wave band index of different phase differences, select the optimal cycle, optimal phase sequence, and optimal phase difference, and improve the control accuracy of the signal light.

[0133] The beneficial effect of this setting is that the green wave band index is automatically calculated and the phase difference is evaluated to find the optimal phase difference, thereby avoiding road congestion to the greatest extent and achieving precise control of traffic lights.

[0134] In the disclosed embodiment, the green light duration of the traffic light is determined in an intelligent manner by collecting and analyzing the historical traffic flow data at the intersection, that is, the flow information, and combining it with the preset signal light cycle. When the flow information changes, the release time of the signal light will also change accordingly, realizing dynamic control optimization of the signal light, so that the lighting of the signal light is adapted to the actual traffic situation, saving manpower and time for signal light control, improving the control efficiency and accuracy of the signal light, and thus improving the traffic efficiency of the road and reducing congestion or waiting.

[0135] Figure 8 This is a structural block diagram of a traffic light control device based on vehicle flow provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 8 The traffic light control device 800 based on vehicle flow includes: an information acquisition unit 801, a duration determination unit 802 and a traffic light control unit 803.

[0136] The information acquisition unit 801 is used to acquire traffic information of an intersection within a preset time period; wherein the intersection includes a first-direction road and a second-direction road, and the traffic information represents the traffic volume passing through the intersection;

[0137] The duration determination unit 802 is used to determine the release duration on the first direction road in the intersection according to the traffic information and the preset traffic light cycle; wherein the release duration represents the duration of the green light of the traffic light;

[0138] The traffic light control unit 803 is used to control the traffic light in the intersection according to the release time on the first direction road in the intersection.

[0139] Fig. 9 A structural block diagram of a traffic light control device based on vehicle flow provided by an embodiment of the present disclosure, such as Fig. 9 As shown, the traffic light control device 900 based on traffic flow includes an information acquisition unit 901, a duration determination unit 902 and a traffic light control unit 903, wherein the traffic flow information includes a first traffic flow and a second traffic flow, the first traffic flow represents the traffic flow passing through a first direction road, and the second traffic flow represents the traffic flow passing through a second direction road; the duration determination unit 902 includes a quantity determination module 9021 and a first determination module 9022.

[0140] A quantity determination module 9021, configured to determine the number of vehicles passing through the intersection within a preset time period according to the first vehicle flow rate and the second vehicle flow rate;

[0141] The first determination module 9022 is used to determine the release time on the first direction road in the intersection according to the number of vehicles, the first traffic flow, and the preset traffic light cycle.

[0142] In one example, the release time on the first direction road is characterized by:

[0143]

[0144] Among them, t1 is the release time on the first direction road, T is the preset traffic light cycle, f1 is the first traffic flow, F is the number of vehicles, F=f1+f2, and f2 is the second traffic flow.

[0145] In one example, the signal light control unit 903 includes:

[0146] A second determining module, configured to determine a release time on the second direction road in the intersection according to the release time on the first direction road and a preset traffic light cycle;

[0147] The traffic light control module is used to control the traffic light in the intersection according to the release time on the first direction road and the release time on the second direction road.

[0148] In one example, the second determination module is specifically configured to:

[0149] The preset traffic light cycle is subtracted from the release time on the first-direction road to obtain the release time on the second-direction road in the intersection.

[0150] In one example, it also includes:

[0151] A duration acquisition unit, used to acquire a release duration of a preceding intersection on a first-direction road and a release duration of a succeeding intersection on the first-direction road among adjacent intersections; wherein the road between the preceding intersection and the succeeding intersection is the first-direction road;

[0152] A phase difference determination unit is used to determine the phase difference between the previous intersection and the next intersection according to the release time of the previous intersection on the first direction road and the release time of the next intersection on the first direction road in the adjacent intersections; wherein the phase difference represents the time difference between the green lights of the two intersections being turned on successively.

[0153] In one example, the phase difference determining unit includes:

[0154] A length acquisition module is used to obtain the road length information between adjacent intersections;

[0155] A green wave determination module is used to determine the green wave time for the vehicle to arrive at the next intersection among the adjacent intersections according to the release time of the previous intersection among the adjacent intersections on the first directional road and the road length information; wherein the green wave time represents the time for the vehicle to depart from the next intersection when the light at the previous intersection is green and arrive at the next intersection;

[0156] The phase difference determination module is used to determine the phase difference between the previous intersection and the next intersection according to the release time of the next intersection among the adjacent intersections on the first direction road and the green wave time of the vehicle arriving at the next intersection among the adjacent intersections.

[0157] In one example, the green wave determination module includes:

[0158] The speed acquisition submodule is used to obtain the average driving speed of the vehicle;

[0159] The green wave determination submodule is used to determine the green wave time for the vehicle to arrive at the next intersection among the adjacent intersections according to the release time of the previous intersection among the adjacent intersections on the first directional road, the road length information, and the average driving speed.

[0160] In one example, it also includes:

[0161] a width acquisition unit, configured to acquire, under the phase difference, the forward traffic volume, the reverse traffic volume, the forward green wave band width, and the reverse green wave band width of the latter intersection among the adjacent intersections on the first directional road; wherein the first directional road includes a forward driving direction and a reverse driving direction, the forward traffic volume represents the traffic volume in the forward driving direction, the reverse traffic volume represents the traffic volume in the reverse driving direction, the forward traffic volume corresponds to the forward green wave band width, and the reverse traffic volume corresponds to the reverse green wave band width;

[0162] An index determination unit, configured to determine a green wave band index of the latter intersection on the first oriented road according to the forward traffic flow, the reverse traffic flow, the forward green wave band width, and the reverse green wave band width; wherein the green wave band index represents the congestion degree of the intersection;

[0163] A phase difference adjustment unit is used to adjust the phase difference according to the release time of the latter intersection among the adjacent intersections on the first direction road and the green wave time of the vehicle arriving at the latter intersection among the adjacent intersections if the green wave band index does not meet the preset index condition.

[0164] In one example, the green band indicator is characterized as:

[0165]

[0166] Among them, β is the green wave band index, f3 is the forward traffic flow, f4 is the reverse traffic flow, α1 is the forward green wave band width, and α2 is the reverse green wave band width.

[0167] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device.

[0168] Fig.10 A structural block diagram of an electronic device provided in an embodiment of the present disclosure, such as Fig.10 As shown, the electronic device 1000 includes: at least one processor 1002; and a memory 1001 communicatively connected to the at least one processor 1002; wherein the memory stores instructions executable by the at least one processor 1002, and the instructions are executed by the at least one processor 1002 so that the at least one processor 1002 can execute the traffic light control method based on vehicle flow disclosed in the present invention.

[0169] The electronic device 1000 further includes a receiver 1003 and a transmitter 1004. The receiver 1003 is used to receive instructions and data sent by other devices, and the transmitter 1004 is used to send instructions and data to external devices.

[0170] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0171] According to an embodiment of the present disclosure, the present disclosure also provides a computer program product, which includes: a computer program, the computer program is stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device executes the solution provided by any of the above embodiments.

[0172] Fig.11 A schematic block diagram of an example electronic device 1100 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0173] like Fig.11As shown, the device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0174] A number of components in the device 1100 are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0175] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above, such as a traffic light control method based on vehicle flow. For example, in some embodiments, the traffic light control method based on vehicle flow may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of the traffic light control method based on vehicle flow described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to execute the traffic light control method based on traffic flow in any other appropriate manner (for example, by means of firmware).

[0176] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0177] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0178] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0179] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0180] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0181] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0182] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0183] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A traffic light control method based on vehicle flow, comprising: Obtaining traffic information of an intersection within a preset time period; wherein the intersection includes a first-oriented road and a second-oriented road, and the traffic information represents the traffic volume passing through the intersection; Determine, according to the traffic information and the preset traffic light cycle, the release duration on the first direction road in the intersection; wherein the release duration represents the duration of the green light of the traffic light; The traffic light at the intersection is controlled according to the release time on the first-direction road at the intersection.

2. The method according to claim 1, wherein: The traffic information includes a first vehicle flow rate and a second vehicle flow rate, wherein the first vehicle flow rate represents the vehicle flow rate passing through a first-oriented road, and the second vehicle flow rate represents the vehicle flow rate passing through a second-oriented road; The determining, according to the traffic information and a preset traffic light cycle, a release duration on the first-direction road at the intersection includes: Determining the number of vehicles passing through the intersection within a preset time period according to the first vehicle flow rate and the second vehicle flow rate; The release time on the first-direction road in the intersection is determined according to the number of vehicles, the first traffic flow, and the preset traffic light cycle.

3. The method according to claim 2, wherein: The release time on the first direction road is characterized by: Among them, t1 is the release time on the first direction road, T is the preset traffic light cycle, f1 is the first traffic flow, F is the number of vehicles, F=f1+f2, and f2 is the second traffic flow.

4. The method according to any one of claims 1 to 3, wherein: The controlling of the traffic light at the intersection according to the release time on the first direction road at the intersection includes: Determining a release time on the second-direction road at the intersection according to the release time on the first-direction road and a preset traffic light cycle; The traffic light at the intersection is controlled according to the release time on the first-direction road and the release time on the second-direction road.

5. The method according to claim 4, wherein: The determining, according to the release duration on the first-direction road and a preset signal light cycle, the release duration on the second-direction road at the intersection comprises: The preset traffic light cycle is subtracted from the release time on the first-direction road to obtain the release time on the second-direction road in the intersection.

6. The method according to any one of claims 1 to 5, further comprising: Obtaining the release time of the first intersection on the first-direction road and the release time of the second intersection on the first-direction road among adjacent intersections; wherein the road between the first intersection and the second intersection is the first-direction road; The phase difference between the preceding intersection and the succeeding intersection among the adjacent intersections is determined according to the duration of release of the preceding intersection on the first oriented road and the duration of release of the succeeding intersection on the first oriented road; wherein the phase difference represents the time difference between the green lights of the two intersections being successively turned on.

7. The method according to claim 6, wherein: The determining of the phase difference between the preceding intersection and the subsequent intersection according to the release time of the preceding intersection on the first oriented road and the release time of the subsequent intersection on the first oriented road among the adjacent intersections comprises: Get the road length information between adjacent intersections; Determine the green wave time for the vehicle to arrive at the next intersection among the adjacent intersections according to the release time of the previous intersection among the adjacent intersections on the first oriented road and the road length information; wherein the green wave time represents the time for the vehicle to depart from the next intersection when the light at the previous intersection is green and arrive at the next intersection; The phase difference between the previous intersection and the next intersection is determined according to the release time of the next intersection among the adjacent intersections on the first directional road and the green wave time of the vehicle arriving at the next intersection among the adjacent intersections.

8. The method according to claim 7, wherein: The method of determining the green wave time for the vehicle to arrive at the next intersection among the adjacent intersections according to the release time of the previous intersection among the adjacent intersections on the first oriented road and the road length information comprises: Get the average speed of the vehicle; The green wave time for the vehicle to arrive at a subsequent intersection among the adjacent intersections is determined according to the release time of the previous intersection among the adjacent intersections on the first oriented road, the road length information, and the average driving speed.

9. The method according to any one of claims 6 to 8, further comprising: Obtaining the forward traffic flow, reverse traffic flow, forward green wave band width, and reverse green wave band width of the latter intersection among the adjacent intersections on the first directional road under the phase difference; wherein the first directional road includes a forward driving direction and a reverse driving direction, the forward traffic flow represents the traffic flow in the forward driving direction, the reverse traffic flow represents the traffic flow in the reverse driving direction, the forward traffic flow corresponds to the forward green wave band width, and the reverse traffic flow corresponds to the reverse green wave band width; Determining a green wave band index of the latter intersection on the first oriented road according to the forward traffic flow, the reverse traffic flow, the forward green wave band width, and the reverse green wave band width; wherein the green wave band index represents the congestion degree of the intersection; If the green wave band index does not meet the preset index condition, the phase difference is adjusted according to the release time of the latter intersection among the adjacent intersections on the first direction road and the green wave time when the vehicle arrives at the latter intersection among the adjacent intersections.

10. The method according to claim 9, wherein: The green band index is characterized by: Among them, β is the green wave band index, f3 is the forward traffic flow, f4 is the reverse traffic flow, α1 is the forward green wave band width, and α2 is the reverse green wave band width.

11. A traffic light control device based on vehicle flow, comprising: An information acquisition unit, configured to acquire traffic information of an intersection within a preset time period; wherein the intersection includes a first-oriented road and a second-oriented road, and the traffic information represents the traffic volume passing through the intersection; A duration determination unit, configured to determine a release duration on the first direction road in the intersection according to the traffic information and a preset traffic light cycle; wherein the release duration represents a duration of a green light of the traffic light; A signal light control unit is used to control the signal light in the intersection according to the release time on the first direction road in the intersection.

12. The device according to claim 11, wherein The traffic information includes a first vehicle flow rate and a second vehicle flow rate, wherein the first vehicle flow rate represents the vehicle flow rate passing through a first-oriented road, and the second vehicle flow rate represents the vehicle flow rate passing through a second-oriented road; The duration determination unit includes: A quantity determination module, configured to determine the number of vehicles passing through the intersection within a preset time period according to the first vehicle flow rate and the second vehicle flow rate; The first determination module is used to determine the release time on the first direction road in the intersection according to the number of vehicles, the first traffic flow, and the preset traffic light cycle.

13. The device according to claim 12, wherein: The release time on the first direction road is characterized by: Among them, t1 is the release time on the first direction road, T is the preset traffic light cycle, f1 is the first traffic flow, F is the number of vehicles, F=f1+f2, and f2 is the second traffic flow.

14. The device according to any one of claims 11 to 13, wherein: The signal light control unit comprises: A second determining module, configured to determine a release time on the second direction road in the intersection according to the release time on the first direction road and a preset traffic light cycle; The traffic light control module is used to control the traffic light in the intersection according to the release time on the first direction road and the release time on the second direction road.

15. The device according to claim 14, wherein: The second determining module is specifically used to: The preset traffic light cycle is subtracted from the release time on the first-direction road to obtain the release time on the second-direction road in the intersection.

16. The apparatus according to any one of claims 11 to 15, further comprising: A duration acquisition unit, used to acquire a release duration of a preceding intersection on a first-direction road and a release duration of a succeeding intersection on the first-direction road among adjacent intersections; wherein the road between the preceding intersection and the succeeding intersection is the first-direction road; A phase difference determination unit is used to determine the phase difference between the previous intersection and the next intersection according to the release time of the previous intersection on the first direction road and the release time of the next intersection on the first direction road in the adjacent intersections; wherein the phase difference represents the time difference between the green lights of the two intersections being turned on successively.

17. The device according to claim 16, wherein: The phase difference determining unit comprises: A length acquisition module is used to obtain the road length information between adjacent intersections; A green wave determination module is used to determine the green wave time for the vehicle to arrive at the next intersection among the adjacent intersections according to the release time of the previous intersection among the adjacent intersections on the first directional road and the road length information; wherein the green wave time represents the time for the vehicle to depart from the next intersection when the light at the previous intersection is green and arrive at the next intersection; The phase difference determination module is used to determine the phase difference between the previous intersection and the next intersection according to the release time of the next intersection among the adjacent intersections on the first direction road and the green wave time of the vehicle arriving at the next intersection among the adjacent intersections.

18. The device according to claim 17, wherein: The green wave determination module comprises: The speed acquisition submodule is used to obtain the average driving speed of the vehicle; The green wave determination submodule is used to determine the green wave time for the vehicle to arrive at the next intersection among the adjacent intersections according to the release time of the previous intersection among the adjacent intersections on the first directional road, the road length information, and the average driving speed.

19. The apparatus according to any one of claims 16 to 18, further comprising: a width acquisition unit, configured to acquire, under the phase difference, the forward traffic volume, the reverse traffic volume, the forward green wave band width, and the reverse green wave band width of the latter intersection among the adjacent intersections on the first directional road; wherein the first directional road includes a forward driving direction and a reverse driving direction, the forward traffic volume represents the traffic volume in the forward driving direction, the reverse traffic volume represents the traffic volume in the reverse driving direction, the forward traffic volume corresponds to the forward green wave band width, and the reverse traffic volume corresponds to the reverse green wave band width; An index determination unit, configured to determine a green wave band index of the latter intersection on the first oriented road according to the forward traffic flow, the reverse traffic flow, the forward green wave band width, and the reverse green wave band width; wherein the green wave band index represents the congestion degree of the intersection; A phase difference adjustment unit is used to adjust the phase difference according to the release time of the latter intersection among the adjacent intersections on the first direction road and the green wave time of the vehicle arriving at the latter intersection among the adjacent intersections if the green wave band index does not meet the preset index condition.

20. The device according to claim 19, wherein The green band index is characterized by: Among them, β is the green wave band index, f3 is the forward traffic flow, f4 is the reverse traffic flow, α1 is the forward green wave band width, and α2 is the reverse green wave band width.

21. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 10.

22. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-10.

23. A computer program product, wherein: The invention comprises a computer program, which implements the steps of the method according to any one of claims 1 to 10 when being executed by a processor.