CN112330962B - Traffic signal lamp control method and device, electronic equipment and computer storage medium - Google Patents
Traffic signal lamp control method and device, electronic equipment and computer storage medium Download PDFInfo
- Publication number
- CN112330962B CN112330962B CN202011218276.9A CN202011218276A CN112330962B CN 112330962 B CN112330962 B CN 112330962B CN 202011218276 A CN202011218276 A CN 202011218276A CN 112330962 B CN112330962 B CN 112330962B
- Authority
- CN
- China
- Prior art keywords
- phase
- signal lamp
- target
- traffic
- duration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/09—Arrangements for giving variable traffic instructions
- G08G1/095—Traffic lights
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/07—Controlling traffic signals
- G08G1/08—Controlling traffic signals according to detected number or speed of vehicles
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/07—Controlling traffic signals
- G08G1/081—Plural intersections under common control
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Traffic Control Systems (AREA)
Abstract
The embodiment of the application discloses a traffic signal lamp control method and device, electronic equipment and a computer storage medium, and belongs to the field of intelligent traffic. The method comprises the following steps: generating a signal lamp switching instruction, wherein the signal lamp switching instruction carries a target phase identifier and a target phase duration, and the target phase duration refers to the duration of a green lamp after the traffic signal lamp is switched to a target phase; and sending a signal lamp switching instruction to a signal machine corresponding to the traffic signal lamp to indicate the signal machine to switch the phase of the traffic signal lamp to the target phase in the next time window. In the embodiment of the application, the vehicle data, the road network data and the phase information of the traffic signal lamp at the intersection can reflect the current traffic condition, so that the target phase and the target phase duration determined based on the vehicle data, the road network data and the phase information of the traffic signal lamp at the intersection where the traffic signal lamp is located can accurately respond to the urban traffic condition changing in real time, and the control of the traffic signal lamp is more flexible.
Description
Technical Field
The embodiment of the application relates to the field of intelligent traffic, in particular to a traffic signal lamp control method, a traffic signal lamp control device, electronic equipment and a computer storage medium.
Background
With the improvement of living standard of people, the automobile becomes a necessary tool for people to go out. However, the continuous increase of urban automobiles also brings huge load to urban road traffic. Therefore, the traffic signal lamps in the city need to be controlled, so that the traffic congestion of the city is relieved, and frequent traffic accidents and the like are avoided.
In the related art, a fixed period time length and duration time lengths of traffic lights in different display states (red light, green light, and yellow light) in each phase within the period time length are set for the traffic lights at each intersection based on historical traffic data of each intersection. For example, the cycle duration of the traffic lights at the target intersection is 93 seconds, the east-west traffic green light lasts 45 seconds, the south-north traffic green light lasts 45 seconds, and the yellow light lasts 3 seconds. And the traffic lights of each intersection are displayed according to the configured cycle duration and duration.
Because the period duration and the duration of the traffic signal lamp in different display states are preset fixed values, when the sudden traffic condition changes, the traffic signal lamp cannot quickly respond to the change of urban traffic, and the control of the traffic signal lamp is not flexible enough.
Disclosure of Invention
The embodiment of the application provides a traffic signal lamp control method, a traffic signal lamp control device, electronic equipment and a computer storage medium, and can be used for solving the problems that the traffic signal lamp cannot quickly respond to the change of urban traffic and the control of the traffic signal lamp is not flexible enough in the related technology. The technical scheme is as follows:
in a first aspect, a traffic signal lamp control method is provided, which is applied to a traffic control platform, and the method includes:
generating a signal lamp switching instruction, wherein the signal lamp switching instruction carries a target phase identifier and a target phase duration, and the target phase duration refers to the duration of a green lamp after a traffic signal lamp is switched to a target phase;
the signal lamp switching instruction is determined based on vehicle data of an intersection where the traffic signal lamp is located, road network data and phase information of the traffic signal lamp;
and sending the signal lamp switching instruction to a signal machine corresponding to the traffic signal lamp to indicate the signal machine to switch the phase of the traffic signal lamp to the target phase in the next time window.
Optionally, before the generating the signal light switching instruction, the method further includes:
predicting a signal control strategy of the traffic signal lamp in the next time window through a target signal control model according to vehicle data, road network data and phase information of the traffic signal lamp at the intersection in the previous time window to obtain a first phase identifier and a first phase duration;
and determining the target phase identifier and the target phase duration according to the first phase identifier and the first phase duration.
Optionally, the predicting a signal control strategy of the traffic signal lamp in the next time window through a target signal control model according to the vehicle data, road network data and the current phase information of the traffic signal lamp at the intersection in the previous time window to obtain a first phase identifier and a first phase duration includes:
determining first traffic state information according to the vehicle data, road network data and the current phase information of the traffic signal lamp of the intersection in the last time window;
predicting second traffic state information in the current time window according to the second traffic state information;
and taking the second traffic state information as the input of the target signal control model, and determining the first phase identifier and the first phase duration through the target signal control model.
Optionally, the target signal control model is a signal control model corresponding to a target phase mode among a plurality of signal control models, and the target phase mode is a phase mode configured for the traffic signal lamp among the plurality of phase modes.
Optionally, the determining the target phase identifier and the target phase duration according to the first phase identifier and the first phase duration includes:
acquiring a phase switching rule table corresponding to a target phase mode, wherein the phase switching rule table is used for indicating switching rules among a plurality of phases included in the target phase mode, and the target phase mode is a phase mode configured for the traffic signal lamp in the plurality of phase modes;
verifying the first phase identifier according to the phase switching rule table;
and if the verification is passed, determining the first phase identifier as the target phase identifier, and determining the first phase duration as the target phase duration.
Optionally, the verifying the first phase identifier according to the phase switching rule table includes:
acquiring phase identifiers which can be switched from the current phase of the traffic signal lamp from the phase switching rule table to obtain a plurality of second phase identifiers;
and if the first phase identifier is included in the plurality of second phase identifiers, determining that the first phase identifier is verified.
Optionally, the method further comprises:
determining the target phase mode from a plurality of phase modes, and determining a signal control scheme corresponding to the target phase mode, wherein the signal control scheme comprises a switching rule of each phase which is executed in the target phase mode and default phase duration of each phase;
and sending a phase mode configuration instruction to the annunciator, wherein the phase mode configuration instruction carries the identifier of the target phase mode and a signal control scheme corresponding to the target phase mode.
In a second aspect, a traffic signal lamp control method is provided, which is applied to a signal machine, and the method includes:
receiving a signal lamp switching instruction, wherein the signal lamp switching instruction carries a target phase identifier and a target phase duration, and the target phase duration refers to the duration of a green lamp after a traffic signal lamp is switched to a target phase;
the signal lamp switching instruction is determined based on vehicle data of an intersection where the traffic signal lamp is located, road network data and phase information of the traffic signal lamp;
and controlling the traffic signal lamp to switch the phase to the target phase in the next time window according to the target phase identifier and the target phase duration.
Optionally, the method further comprises:
receiving a phase mode configuration instruction, wherein the phase mode configuration instruction carries an identifier of a target phase mode and a signal control scheme corresponding to the target phase mode, and the signal control scheme comprises a switching rule of each phase which is executed in the target phase mode and a default phase duration of each phase;
and loading phase information of a lapped phase included in the target phase mode according to the identification of the target phase mode, wherein the lapped phase refers to a phase which can be executed in the target phase mode.
Optionally, the method further comprises:
and if the signal lamp switching instruction is not received in the current time window, controlling the traffic signal lamp in the next time window according to the signal control scheme corresponding to the target phase mode.
In a third aspect, a traffic signal lamp control device is provided, configured on a signaling platform, the device including:
the generation module is used for generating a signal lamp switching instruction, wherein the signal lamp switching instruction carries a target phase identifier and a target phase duration, and the target phase duration refers to the duration of a green lamp after a traffic signal lamp is switched to a target phase;
the signal lamp switching instruction is determined based on vehicle data of an intersection where the traffic signal lamp is located, road network data and current phase information of the traffic signal lamp;
and the first sending module is used for sending the signal lamp switching instruction to a signal machine corresponding to the traffic signal lamp so as to indicate the signal machine to switch the phase of the traffic signal lamp to the target phase in the next time window.
Optionally, the apparatus further comprises:
the prediction module is used for predicting a signal control strategy of the traffic signal lamp in the next time window through a target signal control model according to vehicle data, road network data and phase information of the traffic signal lamp at the intersection in the previous time window to obtain a first phase identifier and a first phase duration;
a first determining module, configured to determine the target phase identifier and the target phase duration according to the first phase identifier and the first phase duration.
Optionally, the prediction module includes:
a first determining submodule for determining first traffic state information according to the vehicle data, road network data and the current phase information of the traffic signal lamp at the intersection in the last time window
The prediction submodule is used for predicting second traffic state information in the current time window according to the first traffic state information;
and the second determining submodule is used for taking the second traffic state information as the input of a target signal control model and determining the first phase identifier and the first phase duration through the target signal control model.
Optionally, the target signal control model is a signal control model corresponding to a target phase mode among a plurality of signal control models, and the target phase mode is a phase mode configured for the traffic signal lamp among the plurality of phase modes.
Optionally, the determining module includes:
the first obtaining submodule is used for obtaining a phase switching rule table corresponding to a target phase mode, the phase switching rule table is used for indicating switching rules among a plurality of phases included in the target phase mode, and the target phase mode is a phase mode configured for the traffic signal lamp in the plurality of phase modes;
the verification submodule is used for verifying the first phase identifier according to the phase switching rule table;
and the third determining submodule is used for determining the first phase identifier as the target phase identifier and determining the first phase duration as the target phase duration if the verification is passed.
Optionally, the verification module includes:
the second obtaining submodule is used for obtaining phase identifiers which can be switched from the current phase of the traffic signal lamp from the phase switching rule table to obtain a plurality of second phase identifiers;
a fourth determining submodule, configured to determine that the first phase identifier is verified if the first phase identifier is included in the plurality of second phase identifiers.
Optionally, the apparatus further comprises:
a second determining module, configured to determine the target phase mode from multiple phase modes and determine a signal control scheme corresponding to the target phase mode, where the signal control scheme includes a switching rule of each phase that is executed in the target phase mode and a default phase duration of each phase;
and a second sending module, configured to send a phase mode configuration instruction to the signal machine, where the phase mode configuration instruction carries an identifier of the target phase mode and a signal control scheme corresponding to the target phase mode.
In a fourth aspect, there is provided a traffic signal control device configured to a traffic signal, the device including:
the first receiving module is used for receiving a signal lamp switching instruction, wherein the signal lamp switching instruction carries a target phase identifier and a target phase duration, and the target phase duration refers to the duration of a green lamp after a traffic signal lamp is switched to a target phase;
the signal lamp switching instruction is determined based on vehicle data of an intersection where the traffic signal lamp is located, road network data and phase information of the traffic signal lamp;
and the first control module is used for controlling the traffic signal lamp to switch the phase to the target phase in the next time window according to the target phase identifier and the target phase duration.
Optionally, the apparatus further comprises:
a second receiving module, configured to receive a phase mode configuration instruction, where the phase mode configuration instruction carries an identifier of a target phase mode and a signal control scheme corresponding to the target phase mode, and the signal control scheme includes a switching rule of each phase that is to be executed in the target phase mode and a default phase duration of each phase.
Optionally, the apparatus further comprises:
and the second control module is used for controlling the traffic signal lamp in the next time window according to the signal control scheme corresponding to the target phase mode if the signal lamp switching instruction is not received in the current time window.
In a fifth aspect, an electronic device is provided, which includes:
one or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the steps of the method of any of the first and second aspects described above.
In a fifth aspect, a computer-readable storage medium is provided, having instructions stored thereon, which when executed by a processor, implement the steps of any one of the methods of the first and second aspects described above.
In a sixth aspect, a computer program product is also provided, which, when executed, is configured to implement the traffic signal control method described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
in the embodiment of the application, the vehicle data, the road network data and the phase information of the traffic signal lamp at the intersection can reflect the current traffic condition, so that the target phase and the target phase duration determined by the signal control platform based on the vehicle data, the road network data and the phase information of the traffic signal lamp at the intersection where the traffic signal lamp is located can accurately respond to the real-time changing urban traffic condition, and the control on the traffic signal lamp is more flexible.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic phase diagram provided in an embodiment of the present application;
FIG. 2 is a schematic view of a traffic signal control system according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a control method of a traffic signal lamp according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a junction according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an eight-phase mode according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a six-phase left loop mode provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a six-phase right-loop mode provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of a four-phase mode according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a traffic signal lamp control device according to an embodiment of the present application;
FIG. 10 is a schematic structural diagram of another traffic signal control device provided in the embodiments of the present application;
fig. 11 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
Before explaining the embodiments of the present application in detail, terms, application scenarios and implementation environments related to the embodiments of the present application will be described.
First, relevant terms related to the embodiments of the present application are explained.
Phase position: the direction and the steering information of at least one traffic flow for indicating the simultaneous right of way are obtained, each phase corresponds to a unique phase identifier, and the phase identifier can be a phase number.
As an example, as shown in fig. 1, fig. 1 is a schematic phase diagram provided in the embodiment of the present application, and at an intersection, it is assumed that phase 1 indicates that a straight lane and a left-turn lane in the north-south direction are used for obtaining the right of way. That is, in the north-south direction, vehicles in lane a, lane B, lane C, lane D, lane E, and lane F can pass.
Phase duration: for indicating the duration of green light of a traffic light on a certain phase.
As an example, as shown in fig. 1, if the phase duration of phase 1 is 30 seconds, the transit time of the vehicles traveling on lane a, lane B, lane C, lane D, lane E, and lane F is 30 seconds.
Next, an application scenario of the embodiment of the present application will be described.
With the improvement of the living standard of people, the automobile becomes a necessary tool for people to go out. However, the rapid increase of automobiles also places a great load on urban road traffic. Urban traffic congestion and frequent traffic accidents. Therefore, the conventional traffic light control system, which sets a fixed period time for the traffic lights of each intersection based on the historical traffic data of each intersection, and in which the traffic lights are in different display states within the period time, is greatly challenged. Therefore, how to adjust the display state of the traffic signal lamp in real time so that the traffic signal lamp can quickly respond to the change of urban traffic is very important.
Therefore, in an application scenario, the traffic signal lamp control system judges the change situation of the traffic state once at regular time intervals, controls the traffic signal lamp to switch the phase in real time, and adjusts the phase duration after the phase is switched to the target phase.
As an example, if the fixed time interval is 5 seconds, a signal light switching instruction for controlling the traffic signal light to maintain the current phase, switch to the next phase, or insert a new phase is generated every 5 seconds according to the traffic state.
In another application scenario, when a special traffic condition occurs, a traffic manager can change the phase duration of a traffic signal lamp in real time to adjust the phase duration of the current phase.
As an example, at a certain intersection, the duration of green light in straight going east-west is 30s, but at the end of 30s, when the traffic manager finds that the traffic signal lamp of the intersection performs the phase, most vehicles in straight going east-west do not run out, and there is a congestion situation in the east-west direction, so that the traffic signal lamp is added with the duration of green light in 10s in the phase, that is, the phase duration of the phase is extended by 10s, and then the phase is stepped by 10 s. Therefore, traffic managers issue signal lamp switching instructions to the signal machine at the signal control platform, and the signal machine instructs the signal machine to control the traffic signal lamps of the intersection to prolong the phase duration of the current phase according to the stepping duration carried in the signal lamp switching instructions.
Based on the two application scenarios, in order to solve the problem of phase real-time switching of the traffic signal lamp, the embodiment of the application provides a traffic signal lamp control method, which can flexibly control the target phase and the target phase duration of switching of the traffic signal lamp based on the phase of the traffic signal lamp.
Next, an implementation environment of the embodiment of the present application will be described.
Referring to fig. 2, fig. 2 is a schematic diagram of a traffic signal lamp control system provided in an embodiment of the present application, where the traffic signal lamp control system includes a data acquisition device 201, a signal control platform 202, a signal 203, and a traffic signal lamp 204.
The data collection device 201 can be a radar device, an electric warning device, a flow camera, and the like, and the data collection device 201 is installed at each intersection to acquire vehicle data of the intersection.
The signal control platform 202 is an electronic device, specifically, a server or a terminal, for processing data and generating a switching instruction. As an example, the terminal may be a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet Computer, a smart car, a smart television, and other electronic devices capable of processing data in real time. The server may be a background server for some applications. The signal control platform 202 processes the vehicle data reported by the data acquisition device 201 in real time, and generates a signal lamp switching instruction according to the traffic change condition of the intersection.
The information control platform 202 is connected with at least one data acquisition device 201 in a wireless mode to acquire vehicle data of at least one traffic intersection. And meanwhile, the system is connected with at least one signal machine 203 in a wireless mode, and sends the determined signal lamp switching instruction of a certain intersection to the signal machine 203 corresponding to the traffic signal lamp 204.
It should be noted that one signal machine 203 can connect and control a plurality of traffic lights at one intersection, and control the phase switching of the traffic lights in real time according to the signal light switching instruction.
In the traffic light control system 200, the data acquisition device 201 acquires vehicle data of an intersection in real time, reports the acquired vehicle data to the signal control platform 202, and the signal machine 203 reports phase information of the traffic light 204 to the signal control platform 202 in real time. The traffic control platform 203 generates a signal lamp switching instruction according to the vehicle data, the pre-stored road network data and the phase information of the traffic signal lamp 204, and sends the signal lamp switching instruction to the signal machine 203. When the signal 203 receives the switching command, it controls the traffic signal 204 to perform phase switching.
It should be noted that fig. 2 only uses 3 intersections as an example, and the signal control platform 202 is a server for example, and is intended to explain the traffic signal lamp control system 200 according to the embodiment of the present application, and does not constitute a limitation to the embodiment of the present application.
After the related terms, application scenarios and implementation environments related to the embodiments of the present application are introduced, the traffic signal lamp control method provided by the embodiments of the present application is explained and explained in detail below with reference to the accompanying drawings.
Referring to fig. 3, fig. 3 is a flowchart of a traffic signal light control method according to an embodiment of the present disclosure, where the method is applied to the traffic signal light control system shown in fig. 2. Referring to fig. 3, the method includes:
step 301: the signal control platform generates a signal lamp switching instruction, the signal lamp switching instruction carries a target phase identification and a target phase duration, and the target phase duration refers to the duration of a green lamp after the traffic signal lamp is switched to a target phase.
The signal lamp switching instruction is determined based on vehicle data of the intersection where the traffic signal lamp is located, road network data and phase information of the traffic signal lamp.
The implementation process for determining the target phase identifier and the target phase duration based on the vehicle data, the road network data and the phase information of the traffic signal lamp at the intersection where the traffic signal lamp is located may include the following steps (1) - (2):
(1) and predicting a signal control strategy of the traffic signal lamp in the next time window through a target signal control model according to the vehicle data, the road network data and the phase information of the traffic signal lamp at the intersection in the previous time window to obtain a first phase identifier and a first phase duration.
The phase information includes a phase identifier, a driving direction and a steering direction of the vehicle obtaining the right of way, and the phase identifier may be a phase number, a phase name, and the like, which is not limited in the embodiment of the present application. The vehicle data includes the license plate number of the passing vehicle, the vehicle speed, the driving lane, the passing time, and the like. And the data acquisition equipment transmits the vehicle data acquired in real time to the information control platform. The road network data includes a lane layout, lane numbers, lane turns, and the like of each intersection. The signal control platform may pre-store road network data of intersections corresponding to all managed and controlled traffic lights, and may also obtain road network data of intersections where traffic lights to be controlled are located from a third-party data storage device in real time according to needs, and store the road network data.
It should be noted that, according to the actual research at each intersection, in order to ensure that pedestrians normally pass and vehicles do not jam, the maximum green light duration and the minimum green light duration of the traffic signal lamp at each intersection are known in advance by the signal control platform. Therefore, in order to alleviate the congestion condition of the intersection, when the target signal control model predicts the signal control strategy of the traffic signal lamp in the next time window to obtain the first phase identifier, if the phase indicated by the first phase identifier is the current phase, the duration of the green light on the first phase is set to be the maximum green light duration, that is, the duration of the first phase is the maximum green light duration; if the phase indicated by the first phase identifier is the overlapping phase in a certain phase mode, setting the duration of the green light on the overlapping phase as the difference between the maximum green light duration and the minimum green light duration, namely setting the duration of the first phase as the difference between the maximum green light duration and the minimum green light duration; if the phase indicated by the first phase identifier is the next phase that is to be executed in the current phase mode, the duration of the green light on the first phase is set to be the maximum green light duration, that is, the duration of the first phase is the maximum green light duration.
As an example, the embodiment of the present application defines in advance phase information required by 10 road network data including four-way intersections, as shown in table 1 below.
TABLE 1
Phase | Direction | Steering | |
1 | South to north | Go straight + turn left | |
2 | North to south | Go straight + turn left | |
3 | East to west | Go straight + turn left | |
4 | West to east | Go straight + turn left | |
5 | Things (Earthwest) | Straight going | |
6 | Things (Earthwest) | |
|
7 | North-South | Straight going | |
8 | North-South | Left turn | |
9 | Things (Earthwest) | Go straight + turn left | |
10 | North-South | Go straight + turn left |
Taking the north-south direction as an example, if the passing mode of the intersection is set as the single-port passing mode, the traffic signal lamp only executes the phase 1 or the phase 2 at a certain time. Phase 1 means that: straight-going and left-turning of traffic lights located at the north of the intersection are displayed as green lights, that is, vehicles turning straight and left in the south direction can pass. Phase 2 means that: straight and left turns of traffic lights located south of the intersection are displayed as green lights, i.e., vehicles turning straight and left north to south can pass.
If the intersection clearance mode is set as a symmetrical clearance mode, the traffic signal lamp executes a phase 10 at a certain time. Phase 10 means that: the straight going and left turning of the traffic signal lamp positioned at the north side of the intersection are displayed as green lights, the straight going and left turning of the traffic signal lamp positioned at the south side of the intersection are displayed as green lights, and at the moment, vehicles which go straight and turn left in the south-north direction are simultaneously released.
Based on the symmetric release, see phase 7 and phase 8 if north-south direction is released straight up and left turn apart. Phase 7 means that: the straight traffic lights positioned at the north side of the intersection are displayed as green lights, the straight traffic lights positioned at the south side of the intersection are displayed as green lights, and vehicles which go straight in the north-south direction are simultaneously released. Phase 8 means that: the left turn of the traffic signal lamp positioned at the north side of the intersection is displayed as a green light, the left turn of the traffic signal lamp positioned at the south side of the intersection is displayed as a green light, and vehicles turning left in the south-north direction are released at the same time.
It should be noted that the meaning of the phase representation in the east-west direction is similar to the definition of the phase in the north-south direction, and the meaning of the phase 3, the phase 4, the phase 5, the phase 6, and the phase 9 in the east-west direction can be understood with reference to the meaning of the phase 1, the phase 2, the phase 7, the phase 8, and the phase 10 in the north-south direction, which is not described herein again in this embodiment of the present application.
As an example, referring to fig. 1, the road network data includes: the distribution of the lanes a-L, and the direction of travel of the vehicle specified in each lane.
It should be noted that, in practical applications, three lane deployment manners are provided for right turn at an intersection, the first is that right turn is an independent lane, and generally, no separate signal lamp is provided for right turn, so that right turn is not limited. Under special conditions, a right turn signal lamp is independently arranged, and the special conditions are not considered in the embodiment of the application; the second is that the right turn and straight run share a lane, and the right turn is unrestricted. That is, if no straight-ahead vehicle is in front of the right-turn vehicle on the lane, the right-turn vehicle can normally pass; the third one is that right turn, straight run and left turn share one lane, the straight run and left turn are controlled by the same signal lamp, when the traffic signal lamp displays green light, the straight run and left turn can be performed, in the above process, the right turn is not limited. That is, a right turn can be normally passed if there is no straight vehicle in front of the right turn vehicle on the lane. Therefore, in the embodiment of the present application, when defining the phase of the four-way intersection, the right turn of the vehicle is not limited, but only the straight line and the left turn are limited, but the above definition is not limited to the embodiment of the present application.
In addition, the traffic signal lamp control method related to the embodiment of the present application may also be expanded to be applied to a three-way intersection, as an example, as shown in fig. 4, fig. 4 is a schematic diagram of the three-way intersection provided in the embodiment of the present application.
As shown in fig. 4 (a), a first phase pattern of a three-way junction is shown, and the phase pattern of the three-way junction may include: the south-north direction is straight, the south is turned to the north and the south is turned to the north; north is directed to south and is directly moved, north is directed to south and is left turned, north is directed to south and is directly moved and is left turned; east to west and east to west.
Fig. 4 (b) shows a second phase pattern of a junction, which may include: the east is moving straight to the west, the east is turning left to the west; west to east straight, west to east right turn, west to east straight plus right turn; turn left to north and turn right to north.
Fig. 4 (c) shows a third phase pattern at the intersection, which may include: the south-north direction is straight, the south is turned to the north and the south is turned to the north; north is directed to south and is directly moved, north is directed to south and is left turned, north is directed to south and is directly moved and is left turned; west to east left turn, west to east right turn.
Fig. 4 (d) shows a fourth phase pattern of the intersection, which may include: the east is moving straight to the west, the east is turning left to the west; west to east straight, west to east right turn, west to east straight plus right turn; north turns left to south and north turns right to south.
In the embodiment of the present application, the three-way intersection shown in fig. 4 is taken as an example, and when the phase of the three-way intersection is defined, the straight-going, the left-turning and the right-turning are all restricted.
Further, in the above step (1), the length of the time window may be a fixed value set in advance. As an example, the preset time window length is 5s, which means that the signal light switching command is generated every 5 seconds. In the process of executing the traffic signal lamp control method provided by the embodiment of the application, a traffic manager can reset a new time window length in the signal control platform according to the traffic state of the intersection. As an example, in morning work session 8: 00-9: 00 and night off duty period 5: 00-7: 00, adjusting the time window to 3s, and if the time window in the other time period is still 5s, it means that the ratio of 8: 00-9: 00 and 5: 00-7: and in 00, generating a signal lamp switching instruction every 3s, and generating a signal lamp switching instruction every 5s in other time periods. The embodiment of the application does not limit the method, and the traffic management personnel can set and adjust the method according to the traffic condition of the intersection.
It should be noted that, in theory, it is optimal to predict the phase identifier and the phase duration of the next time window by using the traffic status information of the current time window, but in practical applications, it takes time to determine the traffic status information of the current time window and predict the phase information of the next time window. That is, after the current time window is finished, when the phase information in the next time window is predicted according to the vehicle data, the road network data and the phase information of the traffic signal lamp in the current time window, the phase information is already in the next time window, and the method is logically infeasible. Therefore, in the embodiment of the application, the current time window is used as the processing data and the predicted buffer time period, the vehicle data, the road network data and the phase information of the traffic signal lamp in the previous time window are obtained in the current time window, the traffic state of the current time window is predicted according to the obtained phase information, and then the predicted traffic state of the current time window is input into the target signal control model to determine the phase information required to be switched in the next time window.
Therefore, in a possible implementation manner, the implementation process of the step (1) may be: determining first traffic state information according to vehicle data, road network data and phase information of traffic lights of the intersection in the previous time window, predicting second traffic state information in the current time window according to the first traffic state information, taking the second traffic state information as input of a target signal control model, and determining a first phase identifier and a first phase duration through the target signal control model.
The traffic state information is used for describing the vehicle congestion condition of the intersection. The traffic state information includes: the congestion length of the vehicle in a certain driving direction and the traffic flow in a certain time window in the driving direction. Such as: as shown in fig. 1, the congestion length of lanes B and C is 150 meters. The traffic flow in the last time window (5 seconds) was 5. The target signal control model is trained and established based on an AI algorithm, and can determine a traffic signal lamp control strategy of the traffic intersection according to the traffic condition of the intersection, in other words, the target signal control model can determine a first phase and a first phase duration of the traffic signal lamp in a next time window under the condition of relieving traffic jam according to the input traffic condition in the current time window.
Since the vehicle data includes the license plate number, the vehicle speed, the driving lane, the passing time, and the like of the passing vehicle, the road network data includes the lane layout, the lane number, the lane turn, and the like of each intersection, and the phase information of the traffic signal lamp includes the phase identification, the driving direction of the vehicle obtaining the right of way, and the turn. Therefore, the number of passing vehicles in each lane in the time window, that is, the traffic flow in the lane can be statistically obtained according to the vehicle data and the road network data. The phase executed by the traffic signal lamp in the time window and the phase duration corresponding to the phase can be obtained according to the traffic signal lamp information, and the vehicle congestion condition on each lane can be predicted according to the traffic flow and the green light remaining duration on each lane.
That is, the traffic flow on each lane at the intersection is counted according to the vehicle data and the road network data in the previous time window. And acquiring the phase executed in the last time window and the green light duration of the phase according to the phase information of the traffic signal lamp in the last time window, and further distinguishing the lane acquiring the right of way from the lane not acquiring the right of way according to the phase. Determining the number of vehicles which can pass through the intersection in the remaining green light duration according to the remaining green light duration of the lane for obtaining the right of way, and further determining the congestion length of the vehicles on the lane for obtaining the right of way under the condition of combining the estimated length of the vehicles according to the difference between the traffic flow of the intersection and the number of the vehicles which can pass through the intersection; according to the remaining time of the red light on the traffic lane without the right of way and the traffic flow of the traffic lane in the last time window, determining the congestion length of the vehicles on the traffic lane without the right of way, and taking the congestion length and the traffic flow data of all the traffic lanes in the current phase as first traffic condition information. And predicting the second traffic state information in the current time window according to the congestion length and the traffic flow of each lane, namely the congestion length and the traffic flow in the current time window. Then, the second traffic state information is used as the input of the target signal control model, the first phase identification and the first phase duration are determined through the target signal control model, and when the traffic signal lamp is switched to the first phase, the vehicle congestion condition of the current time window can be effectively relieved, so that the traffic volume in the next time window is smooth.
As an example, assuming that the preset window duration is 5 seconds, when a signal control strategy of a time window of zero 5 seconds from 10 am to 10 am of a traffic signal of a certain intersection needs to be predicted, the first traffic state information is determined according to vehicle data, road network data and phase information of the traffic signal in the time window of 59 minutes to 50 seconds to 55 seconds from 9 am of 8 months 30. And predicting second traffic state information of the intersection in the time period of 59 minutes, 55 seconds and 10 points of 9 points according to the first traffic state information. And then inputting the second traffic state information into a target signal control model, and determining a first phase identifier and a first phase duration of a time window of 10-10 points and 5 seconds according to the target signal control model.
In order to improve the accuracy of the prediction of the second traffic state information, when determining the first traffic state information in the previous time window, historical data in the same time period may be considered, and the first traffic state information is determined according to the data in the previous time window and the historical data or the feature information of the historical data in a plurality of the same time periods, so that the accuracy of the first traffic state information is improved, and the accuracy of the prediction of the second traffic state information is improved.
In addition, it should be noted that the target signal control model is a signal control model corresponding to a target phase mode among the plurality of signal control models, and the target phase mode is a phase mode configured for a traffic signal among the plurality of phase modes.
In the different phase modes, the next phase to which the current phase can be switched is different, and therefore the determined first phase may be different. Therefore, when the first phase identifier and the first phase duration are determined through the target signal control model, the target phase mode configured by the traffic signal lamp needs to be determined according to the phase information of the traffic signal lamp, and the target signal control model corresponding to the target phase mode is called according to the configured target phase mode.
As an example, the embodiment of the present application defines 4 kinds of phase modes suitable for a four-way intersection in advance: eight-phase mode, six-phase left-loop mode, six-phase right-loop mode, and four-phase mode.
Referring to fig. 5, fig. 5 is a schematic diagram of an eight-phase mode provided in the embodiment of the present application, where phase 1 to phase 4 are lap phases, and some or all of the lap phases may be executed according to a signal switching command. After the signaling control platform configures the eight-phase mode to a signaler corresponding to a certain traffic signal lamp, the phase cycle which the signaler must execute is as follows: phase 5-phase 6-phase 7-phase 8.
Referring to fig. 6, fig. 6 is a schematic diagram of a six-phase left-loop mode provided in an embodiment of the present application, where phase 1 and phase 2 are lap phases, and one of the lap phases may be executed according to a signal switching command. After the signaling control platform configures the six-phase left loop mode to a signaler corresponding to a certain traffic signal lamp, the phase cycle which must be executed by the signaler is as follows: phase 9-phase 7-phase 8.
Referring to fig. 7, fig. 7 is a schematic diagram of a six-phase right-loop mode according to an embodiment of the present disclosure, where phase 3 and phase 4 are lap phases, and one of the lap phases may be executed according to a signal switching command. After the signaling control platform configures the six-phase right loop mode to a signaler corresponding to a certain traffic signal lamp, the phase cycle which must be executed by the signaler is as follows: phase 5-phase 6-phase 10.
In summary, in the eight-phase mode, the six-phase left-loop mode and the six-phase right-loop mode, the first phase indicated by the first phase identifier may be a current phase, a next phase that must be executed in the phase mode, or a lap phase.
Referring to fig. 8, fig. 8 is a schematic diagram of a four-phase mode provided in this embodiment, where there is no overlapping phase in the four-phase mode, and after the signaling platform configures the four-phase mode to a signal corresponding to a traffic signal, a phase cycle that the signal must execute is as follows: phase 9-phase 10. That is, in the four-phase mode, the first phase indicated by the first phase identification may be the current phase or the next phase.
(2) And determining a target phase identifier and a target phase duration according to the first phase identifier and the first phase duration.
After the first phase identifier and the first phase duration are determined through the target signal control model, the first phase identifier needs to be verified, and the first phase indicated by the determined first phase identifier is prevented from not conforming to the target phase mode configured by the traffic signal lamp.
Therefore, in a possible implementation manner, a phase switching rule table corresponding to a target phase mode is obtained, the phase switching rule table is used for indicating a switching rule among a plurality of phases included in the target phase mode, and the target phase mode is a phase mode configured for a traffic signal lamp in the plurality of phase modes; verifying the first phase identifier according to a phase switching rule table; and if the verification is passed, determining the first phase identifier as a target phase identifier, and determining the first phase duration as the target phase duration.
The phase switching rule table is obtained by representing the phase switching rule in the target phase mode through 4-dimensional One-hot coding. The coding table is also different for each phase pattern. In a 4-dimensional One-hot encoding table, each dimension represents a phase to which the current phase can be switched.
As an example, see table 2, where table 2 is a phase switching rule table of the eight-phase mode in the embodiment of the present application.
TABLE 2
For example, assuming that the phase number of the current phase is 5, there are four phases that can be switched, i.e., phase 5, phase 4, phase 6, or phase 3. That is, the traffic signal lamp may continue to perform the current phase 5, the direction and turn of at least one traffic flow indicated by the phase 5, the display state of the traffic signal lamp is green, and the vehicles in the direction and turn may continue to pass. It is also possible to switch from the current phase 5 to phase 4, phase 6 or phase 3.
For the case of only two switchable phases, the phase numbers of the 1 st and 2 nd dimensions are the same and the phase numbers of the 3 rd and 4 th dimensions are the same in the One-hot encoding table.
Referring to fig. 5, fig. 6, and fig. 7, a phase switching rule table corresponding to the six-phase left loop mode, a phase switching rule table corresponding to the six-phase right loop mode, and a phase switching rule table corresponding to the four-phase mode may be determined, which is not described herein again in this embodiment.
In a possible implementation manner, according to the phase switching rule table, the implementation process of verifying the first phase identifier is as follows: acquiring phase identifiers to which the current phase of the traffic signal lamp can be switched from a phase switching rule table to obtain a plurality of second phase identifiers; and if the first phase identifier is included in the plurality of second phase identifiers, determining that the first phase identifier is verified.
As an example, if the current phase is phase 7, the identifying according to the plurality of second phases in the phase switching rule table includes: phase 7, phase 2, phase 8 and phase 1, and if the first phase identifier is any one of phase 7, phase 2, phase 8 or phase 1, the first phase identifier is verified.
Step 302: and the signal control platform sends a signal lamp switching instruction to a signal machine corresponding to the traffic signal lamp.
Step 303: and the signal machine receives the signal lamp switching instruction and controls the phase of the traffic signal lamp to be switched to the target phase according to the target phase identifier and the target phase duration.
And after the signal machine receives the signal lamp switching instruction, analyzing and processing the received instruction, and if the target phase is the current phase, controlling the traffic signal lamp to continue displaying green lamps at the current phase by the signal machine and not executing the default phase duration in the target phase mode. And if the target phase is not the current phase but other phases in the target phase mode, the signal machine controls the traffic signal lamp to be switched to the target phase, and the green light display time length of the target phase is the target phase time length.
And if the target phase is not the phase included in the target phase pattern, requesting the signal control platform to match a new phase pattern for the intersection, wherein the new phase pattern includes the target phase, and performing the operation of switching to the target phase.
In a possible implementation manner, when the signal machine judges that the target phase does not belong to the target phase mode, the reporting operation of the signal machine is automatically triggered to request the signal control platform to configure the phase mode for the traffic signal lamp managed by the signal machine.
As an example, the signal machine may send a phase mode configuration request to the signaling platform, where the phase mode configuration request carries the target phase identifier. And after receiving the phase mode configuration request, the signal control platform determines the phase mode containing the target phase according to the target phase identifier, and configures the phase mode for the traffic signal lamp of the intersection through a signal machine.
In addition, if the signal lamp switching instruction is not received in the current time window, the traffic signal lamp is controlled in the next time window according to the signal control scheme corresponding to the target phase mode.
Before the signal control platform controls the traffic signal lamp to perform phase switching through the embodiment shown in fig. 3, the signal control platform needs to pre-configure a target phase mode for the traffic signal lamp. Different phase modes correspond to different signal control models.
Next, an implementation process of configuring the target phase pattern for the traffic signal at the intersection by the signal control platform will be explained.
In a possible implementation manner, the implementation process of configuring the target phase mode for the traffic signal lamp of the intersection by the signal control platform comprises the following steps (1) to (3):
(1) the signal control platform determines a target phase mode from the multiple phase modes and determines a signal control scheme corresponding to the target phase mode, wherein the signal control scheme comprises a switching rule of each phase which is executed in the target phase mode and default phase duration of each phase.
The selection of the target phase mode can be determined according to the distribution of traffic lights at the intersection, and when the traffic lights distinguish left turn and straight going in the north-south east-west directions, the eight-phase mode can be determined as the target phase mode; when the traffic signal lamp does not distinguish left turn and straight going in the east-west direction and distinguishes left turn and straight going in the north-south direction, the six-phase left loop mode can be determined as a target phase mode; when the traffic signal lamp does not distinguish left turn and straight going in the north-south direction and distinguishes left turn and straight going in the east-west direction, the six-phase right loop mode can be determined as a target phase mode; when the traffic signal lamp does not distinguish left turn and straight going in both the north-south and east-west directions, the four-phase mode may be determined as the target phase mode. The embodiment of the present application may also determine the target phase mode by using other methods, which is not limited in the embodiment of the present application.
It should be noted that, when the default phase duration is set, in order to avoid that the traffic signal lamp cannot be controlled in time under the condition that the communication between the traffic control platform and the traffic signal machine is interrupted, which may cause a vehicle congestion, the default phase duration is determined according to the traffic characteristics, such as the time interval flow of the intersection, in the configured target phase mode. That is, the duration of the green light is prolonged as much as possible, so that the effect of alleviating traffic congestion can be achieved during each phase switching.
In one possible implementation, the time division may be done by human experience for weekdays and non-weekdays in terms of early peak, flat peak, late peak and night, each time period implementing a different signal control scheme. The configured default duration may be a default value that is confirmed based on the expertise of the traffic managers. The embodiment of the present application does not limit this.
For example, the traffic signal lamp of the intersection can distinguish between straight going and left turning in the north, south, east and west directions, so the target phase mode configured for the intersection can be an eight-phase mode, and the corresponding phase switching sequence of the target mode is as follows: phase 5-phase 6-phase 7-phase 8, the default phase duration for each phase may be 40s-35s-40s-35 s. That is, the traffic signal is switched in accordance with the above-described phases until no signal switching instruction is received, and the green duration in each phase is 40s and 35s, respectively.
(2) And the signal control platform sends a phase mode configuration instruction to the signal machine, wherein the phase mode configuration instruction carries the identification of the target phase mode and a signal control scheme corresponding to the target phase mode.
(3) And the signal machine receives the phase mode configuration instruction and executes a signal control scheme corresponding to the target phase mode.
It should be noted that, in the embodiment shown in table 2 in fig. 3, the target phase in the signal lamp switching command sent by the signaling platform to the signal machine may be the current phase, may also be a phase that is to be executed in the target phase mode, or may also be a lap phase that is to be executed in the target phase mode. In the configuration process, in order to reduce the data transmission amount, the signal control scheme includes a switching rule of each phase that is executed in the target phase mode and a default phase duration of each phase, and phase information of the lap phase is not included.
Therefore, after the signal machine receives the phase mode configuration instruction, the lap phase included in the target mode needs to be loaded according to the identification of the target phase mode, and the traffic signal lamp is conveniently controlled through the signal lamp switching instruction in the follow-up process.
In the embodiment of the application, the vehicle data, the road network data and the phase of the traffic signal lamp at the intersection can reflect the current traffic condition, so that the target phase and the target phase duration determined by the signal control platform based on the vehicle data, the road network data and the phase information of the traffic signal lamp at the intersection where the traffic signal lamp is located can accurately respond to the real-time changing urban traffic condition, and the control on the traffic signal lamp is more flexible.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the present invention, which is not described in detail herein.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a traffic signal lamp control device provided in an embodiment of the present application, where the device is configured on a signaling platform, and the device includes: a generating module 901 and a first sending module 902.
The generating module 901 is configured to generate a signal lamp switching instruction, where the signal lamp switching instruction carries a target phase identifier and a target phase duration, and the target phase duration refers to a duration of a green light after a traffic signal lamp is switched to a target phase;
the signal lamp switching instruction is determined based on vehicle data of an intersection where the traffic signal lamp is located, road network data and phase information of the traffic signal lamp;
the first sending module 902 is configured to send a signal lamp switching instruction to a signal machine corresponding to a traffic signal lamp, so as to instruct the signal machine to switch the phase of the traffic signal lamp to a target phase in a next time window.
Optionally, the apparatus 900 further comprises:
the prediction module is used for predicting a signal control strategy of the traffic signal lamp in the next time window through a target signal control model according to vehicle data, road network data and phase information of the traffic signal lamp at the intersection in the previous time window to obtain a first phase identifier and a first phase duration;
and the first determining module is used for determining the target phase identifier and the target phase duration according to the first phase identifier and the first phase duration.
Optionally, the prediction module comprises:
the first determining submodule is used for determining first traffic state information according to vehicle data, road network data and phase information of traffic signal lamps of the intersection in the last time window;
the prediction submodule is used for predicting second traffic state information in the current time window according to the first traffic state information;
and the second determining submodule is used for taking the second traffic state information as the input of the target signal control model and determining the first phase identifier and the first phase duration through the target signal control model.
Optionally, the target signal control model is a signal control model corresponding to a target phase mode among the plurality of signal control models, and the target phase mode is a phase mode configured for a traffic signal lamp among the plurality of phase modes.
Optionally, the determining module includes:
the first obtaining submodule is used for obtaining a phase switching rule table corresponding to a target phase mode, the phase switching rule table is used for indicating switching rules among a plurality of phases included in the target phase mode, and the target phase mode is a phase mode configured for a traffic signal lamp in the plurality of phase modes;
the verification submodule is used for verifying the first phase identifier according to the phase switching rule table;
and the third determining submodule is used for determining the first phase identifier as a target phase identifier and determining the first phase duration as the target phase duration if the verification is passed.
Optionally, the verification module comprises:
the second obtaining submodule is used for obtaining phase identifiers which can be switched from the current phase of the traffic signal lamp from the phase switching rule table to obtain a plurality of second phase identifiers;
and the fourth determining submodule is used for determining that the first phase identifier is verified if the first phase identifier is included in the plurality of second phase identifiers.
Optionally, the apparatus 900 further comprises:
the second determining module is used for determining a target phase mode from the multiple phase modes and determining a signal control scheme corresponding to the target phase mode, wherein the signal control scheme comprises a switching rule of each phase which is executed in the target phase mode and default phase duration of each phase;
and the second sending module is used for sending a phase mode configuration instruction to the signal machine, wherein the phase mode configuration instruction carries the identifier of the target phase mode and a signal control scheme corresponding to the target phase mode.
In the embodiment of the application, the vehicle data, the road network data and the phase information of the traffic signal lamp at the intersection can reflect the current traffic condition, so that the target phase and the target phase duration determined by the signal control platform based on the vehicle data, the road network data and the phase information of the traffic signal lamp at the intersection where the traffic signal lamp is located can accurately respond to the real-time changing urban traffic condition, and the control on the traffic signal lamp is more flexible.
Referring to fig. 10, fig. 10 is a schematic structural diagram of another traffic signal lamp control device provided in an embodiment of the present application, where the device 1000 is configured to a signal, and the device 1000 includes: a first receiving module 1001 and a first control module 1002.
The first receiving module 1001 is configured to receive a signal lamp switching instruction, where the signal lamp switching instruction carries a target phase identifier and a target phase duration, and the target phase duration refers to a duration of a green light after a traffic signal lamp is switched to a target phase;
the signal lamp switching instruction is determined based on vehicle data of an intersection where the traffic signal lamp is located, road network data and phase information of the traffic signal lamp;
the first control module 1002 is configured to control the traffic signal lamp to switch the phase to the target phase in the next time window according to the target phase identifier and the target phase duration.
Optionally, the apparatus 1000 further comprises:
and the second receiving module is used for receiving a phase mode configuration instruction, wherein the phase mode configuration instruction carries an identifier of a target phase mode and a signal control scheme corresponding to the target phase mode, and the signal control scheme comprises a switching rule of each phase which is executed in the target phase mode to a certain extent and default phase duration of each phase.
Optionally, the apparatus 1000 further comprises:
and the second control module is used for controlling the traffic signal lamp in the next time window according to the signal control scheme corresponding to the target phase mode if the signal lamp switching instruction is not received in the current time window.
In the embodiment of the application, the signal machine controls the phase of the traffic signal lamp to be switched to the target phase according to the received signal lamp switching instruction. The signal lamp switching instruction is determined based on the vehicle data, the road network data and the phase information of the traffic signal lamp of the intersection where the traffic signal lamp is located, and the vehicle data, the road network data and the phase information of the traffic signal lamp of the intersection can reflect the current traffic condition in real time, so that the target phase and the target phase time length of the traffic signal lamp switching can accurately respond to the urban traffic condition changing in real time, and the signal machine can more flexibly control the traffic signal lamp.
It should be noted that: the traffic signal lamp control device provided in the above embodiment is exemplified by only the division of the above functional modules when controlling the phase switching of the traffic signal lamp at the intersection, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the traffic signal lamp control device and the traffic signal lamp control method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Referring to fig. 11, fig. 11 is a block diagram of an electronic device 1100 according to an embodiment of the present disclosure. The electronic device 1100 may be a mobile phone, a tablet computer, a smart tv, a multimedia playing device, a wearable device, a desktop computer, a server, or the like. The electronic device 1100 may be used to implement the traffic signal control methods provided in the above-described embodiments.
In general, the electronic device 1100 includes: a processor 1101 and a memory 1102.
In some embodiments, the electronic device 1100 may also optionally include: a peripheral interface 1103 and at least one peripheral. The processor 1101, memory 1102 and peripheral interface 1103 may be connected by a bus or signal lines. Various peripheral devices may be connected to the peripheral interface 1103 by buses, signal lines, or circuit boards. Specifically, the peripheral device may include: at least one of a display 1104, audio circuitry 1105, a communications interface 1106, and a power supply 1107.
Those skilled in the art will appreciate that the configuration shown in fig. 11 does not constitute a limitation of the electronic device 1100, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
In an exemplary embodiment, a computer-readable storage medium is also provided, which has instructions stored thereon, which when executed by a processor, implement the above-described traffic signal control method.
In an exemplary embodiment, a computer program product is also provided, which, when executed, is adapted to implement the above-described traffic signal control method.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (12)
1. A traffic signal lamp control method is applied to a signal control platform, and comprises the following steps:
determining first traffic state information according to vehicle data, road network data and phase information of traffic lights at the intersection in the last time window;
predicting second traffic state information in the current time window according to the first traffic state information;
the second traffic state information is used as the input of a target signal control model, and a first phase identifier and a first phase duration are determined through the target signal control model;
determining a target phase identifier and a target phase duration according to the first phase identifier and the first phase duration;
generating a signal lamp switching instruction, wherein the signal lamp switching instruction carries the target phase identifier and the target phase duration, the target phase duration refers to the duration of a green lamp after the traffic signal lamp is switched to a target phase, the target phase is a current phase, a next phase or a lap phase of the current phase preset in a target phase mode, and the target phase mode is a phase mode configured for the traffic signal lamp in a plurality of phase modes;
and sending the signal lamp switching instruction to a signal machine corresponding to the traffic signal lamp to indicate the signal machine to switch the phase of the traffic signal lamp to the target phase in the next time window.
2. The method of claim 1, wherein the target signal control model is a signal control model of a plurality of signal control models corresponding to a target phase pattern.
3. The method of claim 1, wherein said determining said target phase identifier and said target phase duration based on said first phase identifier and said first phase duration comprises:
acquiring a phase switching rule table corresponding to a target phase mode, wherein the phase switching rule table is used for indicating switching rules among a plurality of phases included in the target phase mode, and the target phase mode is a phase mode configured for the traffic signal lamp in the plurality of phase modes;
verifying the first phase identifier according to the phase switching rule table;
and if the verification is passed, determining the first phase identifier as the target phase identifier, and determining the first phase duration as the target phase duration.
4. The method of claim 3, wherein said validating the first phase identification according to the phase switching rule table comprises:
acquiring phase identifiers which can be switched from the current phase of the traffic signal lamp from the phase switching rule table to obtain a plurality of second phase identifiers;
and if the first phase identifier is included in the plurality of second phase identifiers, determining that the first phase identifier is verified.
5. The method of claim 2 or 3, wherein the method further comprises:
determining the target phase mode from a plurality of phase modes, and determining a signal control scheme corresponding to the target phase mode, wherein the signal control scheme comprises a switching rule of each phase which is executed in the target phase mode and default phase duration of each phase;
and sending a phase mode configuration instruction to the annunciator, wherein the phase mode configuration instruction carries the identifier of the target phase mode and a signal control scheme corresponding to the target phase mode.
6. A traffic signal lamp control method is applied to a signal machine, and comprises the following steps:
receiving a signal lamp switching instruction, wherein the signal lamp switching instruction carries a target phase identifier and a target phase duration, the target phase duration refers to a green lamp duration after a traffic signal lamp is switched to a target phase, the target phase is a current phase, a next phase or a lap phase of the current phase preset in a target phase mode, and the target phase mode is a phase mode configured for the traffic signal lamp in a plurality of phase modes;
the target phase identifier and the target phase duration are determined according to a first phase identifier and a first phase duration determined by the target signal control model, the second traffic status information is predicted according to the first traffic status information, and the first traffic status information is determined according to vehicle data of an intersection in a previous time window, road network data and phase information of a traffic signal lamp;
and controlling the traffic signal lamp to switch the phase to the target phase according to the target phase identifier and the target phase duration.
7. The method of claim 6, wherein the method further comprises:
receiving a phase mode configuration instruction, where the phase mode configuration instruction carries an identifier of a target phase mode and a signal control scheme corresponding to the target phase mode, and the signal control scheme includes a switching rule of each phase that is to be executed in the target phase mode and a default phase duration of each phase.
8. The method of claim 7, wherein the method further comprises:
and if the signal lamp switching instruction is not received in the current time window, controlling the traffic signal lamp in the next time window according to the signal control scheme corresponding to the target phase mode.
9. A traffic signal control device configured for deployment on a signaling platform, the device comprising:
the traffic signal switching device comprises a generating module, a switching module and a switching module, wherein the generating module is used for generating a signal lamp switching instruction, the signal lamp switching instruction carries a target phase identifier and a target phase duration, the target phase duration refers to the duration of a green lamp after a traffic signal lamp is switched to a target phase, the target phase is a current phase, a next phase or a lap phase of the current phase preset in a target phase mode, and the target phase mode is a phase mode configured for the traffic signal lamp in a plurality of phase modes;
the signal lamp switching instruction is determined based on vehicle data of an intersection where the traffic signal lamp is located in a last time window, road network data and phase information of the traffic signal lamp;
the first sending module is used for sending the signal lamp switching instruction to a signal machine corresponding to the traffic signal lamp so as to indicate the signal machine to switch the phase of the traffic signal lamp to the target phase in the next time window;
the device further comprises a prediction module and a first determination module, wherein the prediction module comprises a first determination submodule, a prediction submodule and a second determination submodule;
the first determining submodule is used for determining first traffic state information according to the vehicle data, road network data and the current phase information of the traffic signal lamp of the intersection in the last time window; the prediction submodule is used for predicting second traffic state information in a current time window according to the first traffic state information; the second determining submodule is used for taking the second traffic state information as the input of a target signal control model and determining a first phase identifier and a first phase duration through the target signal control model;
the first determining module is configured to determine the target phase identifier and the target phase duration according to the first phase identifier and the first phase duration.
10. A traffic signal control device, configured to be provided to a traffic signal, the device comprising:
the first receiving module is used for receiving a signal lamp switching instruction, wherein the signal lamp switching instruction carries a target phase identifier and a target phase duration, and the target phase duration refers to the duration of a green lamp after a traffic signal lamp is switched to a target phase;
the target phase identifier and the target phase duration are determined according to a first phase identifier and a first phase duration determined by the target signal control model, the second traffic status information is predicted according to the first traffic status information, and the first traffic status information is determined according to vehicle data of an intersection in a previous time window, road network data and phase information of a traffic signal lamp;
and the first control module is used for controlling the traffic signal lamp to switch the phase to the target phase in the next time window according to the target phase identifier and the target phase duration.
11. An electronic device, characterized in that the electronic device comprises:
one or more processors;
one or more memories for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the steps of the method of any one of claims 1-8.
12. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of any of the methods of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011218276.9A CN112330962B (en) | 2020-11-04 | 2020-11-04 | Traffic signal lamp control method and device, electronic equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011218276.9A CN112330962B (en) | 2020-11-04 | 2020-11-04 | Traffic signal lamp control method and device, electronic equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112330962A CN112330962A (en) | 2021-02-05 |
CN112330962B true CN112330962B (en) | 2022-03-08 |
Family
ID=74315293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011218276.9A Active CN112330962B (en) | 2020-11-04 | 2020-11-04 | Traffic signal lamp control method and device, electronic equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112330962B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112950964B (en) * | 2021-03-16 | 2023-06-30 | 北京市商汤科技开发有限公司 | Intelligent control method and device for traffic light, electronic equipment and storage medium |
CN113269971B (en) * | 2021-05-14 | 2023-03-14 | 阿波罗智联(北京)科技有限公司 | Signal lamp control method, device and system |
CN113850992A (en) * | 2021-09-02 | 2021-12-28 | 南京微道科技有限公司 | Traffic light regulation and control device and method based on big data |
CN113506442B (en) * | 2021-09-10 | 2021-12-28 | 之江实验室 | Urban road network traffic signal lamp control method based on expected income estimation |
CN114120647B (en) * | 2021-11-26 | 2023-01-24 | 阿波罗智联(北京)科技有限公司 | Traffic data processing method, traffic data processing device, electronic equipment and medium |
CN114120673B (en) * | 2022-01-28 | 2022-05-13 | 腾讯科技(深圳)有限公司 | Information processing method, device and equipment for signal lamp and storage medium |
CN114613158B (en) * | 2022-02-09 | 2023-09-22 | 阿里云计算有限公司 | Traffic control method, system and equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101561971A (en) * | 2009-06-04 | 2009-10-21 | 吉林大学 | Method for controlling priority of active bus signals on basis of lapping phases |
CN102142197A (en) * | 2011-03-31 | 2011-08-03 | 汤一平 | Intelligent traffic signal lamp control device based on comprehensive computer vision |
CN105608912A (en) * | 2016-01-21 | 2016-05-25 | 湖南拓天节能控制技术股份有限公司 | City road traffic intelligent control method and city road traffic intelligence control system |
CN108171998A (en) * | 2018-02-11 | 2018-06-15 | 深圳市智能交通技术有限公司 | A kind of crossing self-adapting traffic signal control system and its method of work based on the alert data of electricity |
CN109410574A (en) * | 2018-10-29 | 2019-03-01 | 东南大学 | A kind of timing parameter optimization method towards stage-phase signal control program |
CN110114806A (en) * | 2018-02-28 | 2019-08-09 | 华为技术有限公司 | Signalized control method, relevant device and system |
WO2020098079A1 (en) * | 2018-11-16 | 2020-05-22 | 北京嘀嘀无限科技发展有限公司 | Method and system for predicting transit duration |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5227298A (en) * | 1975-08-26 | 1977-03-01 | Kyosan Electric Mfg Co Ltd | Traffic signal control system |
DE102005040350A1 (en) * | 2005-08-25 | 2007-03-15 | Siemens Ag | Method for forecasting a traffic condition in a road network and traffic management center |
EP2187369A3 (en) * | 2008-06-04 | 2012-03-28 | Roads and Traffic Authority of New South Wales | Traffic signals control system |
CN101814237A (en) * | 2009-12-04 | 2010-08-25 | 四川川大智胜软件股份有限公司 | Road condition identifier based on license plate recognition technology and identification method thereof |
CN202142192U (en) * | 2011-06-16 | 2012-02-08 | 上海宝康电子控制工程有限公司 | Video flow acquisition based automatic control system for traffic signal machines |
KR20130015802A (en) * | 2011-08-05 | 2013-02-14 | 이흥수 | Traffic signal controlling device and method using identification information with hierarchy structure |
CN103903453B (en) * | 2012-12-26 | 2016-08-10 | 中国移动通信集团公司 | A kind of intelligent traffic control system, apparatus and method |
CN103236176B (en) * | 2013-03-19 | 2016-06-15 | 郭海锋 | The method of traffic signals and system on a kind of mobile equipment perception driving path |
JP6112054B2 (en) * | 2014-01-31 | 2017-04-12 | 株式会社Jvcケンウッド | Electronic device, electronic device control method, and electronic device control program |
CN110570672B (en) * | 2019-09-18 | 2020-12-01 | 浙江大学 | Regional traffic signal lamp control method based on graph neural network |
-
2020
- 2020-11-04 CN CN202011218276.9A patent/CN112330962B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101561971A (en) * | 2009-06-04 | 2009-10-21 | 吉林大学 | Method for controlling priority of active bus signals on basis of lapping phases |
CN102142197A (en) * | 2011-03-31 | 2011-08-03 | 汤一平 | Intelligent traffic signal lamp control device based on comprehensive computer vision |
CN105608912A (en) * | 2016-01-21 | 2016-05-25 | 湖南拓天节能控制技术股份有限公司 | City road traffic intelligent control method and city road traffic intelligence control system |
CN108171998A (en) * | 2018-02-11 | 2018-06-15 | 深圳市智能交通技术有限公司 | A kind of crossing self-adapting traffic signal control system and its method of work based on the alert data of electricity |
CN110114806A (en) * | 2018-02-28 | 2019-08-09 | 华为技术有限公司 | Signalized control method, relevant device and system |
CN109410574A (en) * | 2018-10-29 | 2019-03-01 | 东南大学 | A kind of timing parameter optimization method towards stage-phase signal control program |
WO2020098079A1 (en) * | 2018-11-16 | 2020-05-22 | 北京嘀嘀无限科技发展有限公司 | Method and system for predicting transit duration |
Also Published As
Publication number | Publication date |
---|---|
CN112330962A (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112330962B (en) | Traffic signal lamp control method and device, electronic equipment and computer storage medium | |
US11087621B2 (en) | Express lane planning method and unit | |
EP4174816A1 (en) | Implementation method and system for road traffic reservation passage, and electronic device | |
CN105513376A (en) | Traffic light adjustment method and device | |
CN103337167B (en) | Controlling system for preventing traffic jams | |
CN110728844B (en) | Traffic light self-adaptive control method and device, traffic control equipment and storage medium | |
CN110491147B (en) | Traffic information processing method, traffic information processing device and terminal equipment | |
CN106683394B (en) | Information processing method, Internet of vehicles social platform and vehicle-mounted equipment | |
CN104680820A (en) | Traffic flow car networking system and traffic flow control method based on gradient field | |
CN111951568A (en) | Signal lamp coordination method, computing equipment and storage medium | |
CN111625927B (en) | Control method of simulation vehicle and related equipment | |
CN111815975A (en) | Multifunctional signal lamp group binding and controlling method and device | |
CN117877282A (en) | Green wave vehicle speed guiding method, device and terminal | |
CN114613162A (en) | Traffic control method, system and equipment | |
CN113781796B (en) | Traffic flow detection method and device based on video virtual coil | |
CN114708741A (en) | Multiphase bus priority control method based on V2X technology | |
Hou et al. | Virtual-grid based traffic control strategy with multiple intersections collaboration | |
Xia et al. | Lane scheduling around crossroads for edge computing based autonomous driving | |
CN110910643B (en) | Traffic flow control method and device | |
CN116824889A (en) | Signal lamp timing device based on edge computing node | |
CN115243430A (en) | Street lamp control method and device, electronic equipment and computer readable storage medium | |
CN114973737A (en) | Method for controlling automatic driving vehicle to enter and exit lane special for automatic driving | |
CN114613157A (en) | Traffic control method, system and equipment | |
CN112017452B (en) | Signal lamp coordination method, computing device and storage medium | |
CN202362942U (en) | System for changing road traffic rule in real time according to traffic flow |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |