CN113538931A - Timing method and device for traffic signals - Google Patents

Timing method and device for traffic signals Download PDF

Info

Publication number
CN113538931A
CN113538931A CN202010319325.1A CN202010319325A CN113538931A CN 113538931 A CN113538931 A CN 113538931A CN 202010319325 A CN202010319325 A CN 202010319325A CN 113538931 A CN113538931 A CN 113538931A
Authority
CN
China
Prior art keywords
traffic
simulation system
timing scheme
preset
parameter
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.)
Pending
Application number
CN202010319325.1A
Other languages
Chinese (zh)
Inventor
李明
刘跃虎
刘宇
罗毅
赵�智
王悦文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010319325.1A priority Critical patent/CN113538931A/en
Publication of CN113538931A publication Critical patent/CN113538931A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0129Traffic data processing for creating historical data or processing based on historical data
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications
    • G08G1/0145Measuring and analyzing of parameters relative to traffic conditions for specific applications for active traffic flow control

Landscapes

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

Abstract

The embodiment of the application provides a time distribution method and a time distribution device for traffic signals, wherein the method comprises the following steps: acquiring a candidate timing scheme of the traffic signal; inputting the candidate timing scheme into a preset traffic simulation system, and acquiring traffic state parameters and traffic index parameters output by the traffic simulation system; and determining a target timing scheme by adopting the traffic state parameter and the traffic index parameter. By the traffic signal timing method, the timing scheme can be evaluated by the traffic simulation system, the candidate timing scheme does not need to be evaluated by a real environment, the evaluation efficiency of the timing scheme is improved, and adverse effects on the real environment are avoided. Meanwhile, the traffic simulation system can acquire the traffic condition of a preset area based on the candidate timing scheme, and can comprehensively evaluate the candidate timing scheme by adopting the traffic state parameters and the traffic index parameters, so that the evaluation accuracy of the candidate timing scheme is improved.

Description

Timing method and device for traffic signals
Technical Field
The present application relates to the field of traffic technologies, and in particular, to a timing method and a timing device for traffic signals.
Background
Along with the development of cities, the scale of road networks of the cities is increased correspondingly, and the complexity of traffic conditions of the cities is increased correspondingly. The control of traffic signals plays an important role in regulating traffic flow and maintaining traffic order. The reasonable timing scheme of the traffic signals can improve the traffic efficiency of the intersection, reduce traffic jams in a road network and reduce the waiting time of vehicles on the road network channel.
However, generally, the timing scheme of the traffic signal needs to be tested and evaluated in a real environment during the optimization process, so that the optimization process of the timing scheme of the traffic signal takes a long time, is inefficient, and may have a bad influence on the real environment.
Disclosure of Invention
In view of the above problems, embodiments of the present application are proposed to provide a timing method of a traffic signal and a timing apparatus of a traffic signal, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses a timing method for traffic signals, including:
acquiring a candidate timing scheme of the traffic signal;
inputting the candidate timing scheme into a preset traffic simulation system, and acquiring traffic state parameters and traffic index parameters output by the traffic simulation system;
and determining a target timing scheme by adopting the traffic state parameter and the traffic index parameter.
Optionally, the step of determining a target timing scheme by using the traffic state parameter and the traffic index parameter includes:
inputting the traffic index parameters into a preset loss function, and determining a loss value;
determining whether the loss value is less than a preset threshold value;
when the loss value is smaller than a preset threshold value, taking the candidate timing scheme as a target timing scheme;
and when the loss value is greater than a preset threshold value, adjusting the timing parameters in a preset timing model, and generating a new candidate timing scheme by adopting the traffic state parameters.
Optionally, the method further comprises:
generating a historical traffic parameter curve by adopting preset historical traffic data;
generating a simulation parameter curve by adopting the traffic simulation system;
and adjusting simulation parameters in the traffic simulation system by adopting the simulation parameter curve and the historical traffic parameter curve.
Optionally, the method further comprises:
acquiring historical navigation data of a preset navigation application;
and determining historical traffic data by adopting the historical navigation data and a preset proportional relation.
Optionally, the step of inputting the candidate timing scheme into a preset traffic simulation system and acquiring the traffic state parameter and the traffic index parameter output by the traffic simulation system includes:
inputting the candidate timing scheme into a preset traffic simulation system to obtain the running track of a simulated vehicle in the traffic simulation system;
and determining the traffic state parameters and the traffic index parameters of the traffic simulation system by adopting the running track.
Optionally, the step of inputting the candidate timing scheme into a preset traffic simulation system and acquiring the traffic state parameter and the traffic index parameter output by the traffic simulation system includes:
and inputting the candidate timing scheme, the trip demand information and the environmental condition information into a preset traffic simulation system, and acquiring traffic state parameters and traffic index parameters output by the traffic simulation system.
The embodiment of the application also discloses a timing device of traffic signals, including:
the first acquisition module is used for acquiring a candidate timing scheme of the traffic signal;
the second acquisition module is used for inputting the candidate timing scheme into a preset traffic simulation system and acquiring traffic state parameters and traffic index parameters output by the traffic simulation system;
and the timing determination module is used for determining a target timing scheme by adopting the traffic state parameter and the traffic index parameter.
Optionally, the timing determination module includes:
the loss value determining submodule is used for inputting the traffic index parameters into a preset loss function and determining a loss value;
the threshold value comparison submodule is used for determining whether the loss value is smaller than a preset threshold value;
the timing determination submodule is used for taking the candidate timing scheme as a target timing scheme when the loss value is smaller than a preset threshold value;
and the candidate timing scheme determining submodule is used for adjusting the timing parameters in a preset timing model when the loss value is greater than a preset threshold value, and generating a new candidate timing scheme by adopting the traffic state parameters.
Optionally, the apparatus further comprises:
the first curve generation module is used for generating a historical traffic parameter curve by adopting preset historical traffic data;
the second curve generation module is used for generating a simulation parameter curve by adopting the traffic simulation system;
and the simulation parameter adjusting module is used for adjusting the simulation parameters in the traffic simulation system by adopting the simulation parameter curve and the historical traffic parameter curve.
Optionally, the apparatus further comprises:
the historical navigation data acquisition module is used for acquiring historical navigation data of a preset navigation application;
and the historical traffic data determining module is used for determining the historical traffic data by adopting the historical navigation data and a preset proportional relation.
Optionally, the second obtaining module includes:
the running track determining submodule is used for inputting the candidate timing scheme into a preset traffic simulation system and acquiring the running track of a simulated vehicle in the traffic simulation system;
and the first acquisition submodule is used for determining the traffic state parameter and the traffic index parameter of the traffic simulation system by adopting the running track.
Optionally, the second obtaining module includes:
and the second acquisition sub-module is used for inputting the candidate timing scheme, the travel demand information and the environmental condition information into a preset traffic simulation system and acquiring the traffic state parameters and the traffic index parameters output by the traffic simulation system.
The embodiment of the application also discloses a device, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more methods as described in embodiments of the application.
One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more methods as described in embodiments of the application.
The embodiment of the application has the following advantages:
by the traffic signal timing method, the candidate timing scheme is input into a preset traffic simulation system, the traffic state parameter and the traffic index parameter output by the traffic simulation system are obtained, and the target timing scheme is determined by adopting the traffic state parameter and the traffic index parameter. Therefore, the traffic simulation system can be adopted to evaluate the timing scheme, and the candidate timing scheme does not need to be evaluated by adopting a real environment, so that the evaluation efficiency of the timing scheme is improved, and the adverse effect on the real environment is avoided. Meanwhile, the traffic simulation system can acquire the traffic condition of a preset area based on the candidate timing scheme, and can comprehensively evaluate the candidate timing scheme by adopting the traffic state parameters and the traffic index parameters, so that the evaluation accuracy of the candidate timing scheme is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of an embodiment of a timing method of a traffic signal according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating steps of another embodiment of a method for timing traffic signals according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a timing method of a traffic signal according to an embodiment of the present application;
fig. 4 is a block diagram of an embodiment of a timing device for traffic signals according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a timing method for a traffic signal according to an embodiment of the present application is shown, which may specifically include the following steps:
step 101, obtaining a candidate timing scheme of a traffic signal;
in the embodiment of the application, the traffic signal can be a traffic guidance measure used for allocating right of way to the traffic flow in time at a place where traffic separation cannot be realized at a road intersection. Such as automotive signal lights, non-automotive signal lights, pedestrian crossing signal lights, etc.
In the embodiment of the present application, the candidate timing scheme may be a time allocation scheme of at least one traffic signal in a preset area. In particular, the candidate timing scheme may include a period duration and a split ratio of at least one traffic signal.
In this embodiment of the present application, the preset area may be a traffic road network of at least one city, or a road network of local roads in the city, which is not limited in this application. The candidate timing scheme obtains a plurality of candidate timing schemes based on a timing model of a traffic signal, and also obtains candidate timing schemes respectively based on timing models of a plurality of traffic signals, thereby obtaining a plurality of timing schemes, which is not limited in the present application.
In the embodiment of the application, a candidate timing scheme of the traffic signal can be obtained. The candidate timing scheme can be a timing scheme of a real traffic signal of a current traffic network, and can also be a timing scheme of a traffic signal to be verified through manual optimization and adjustment, which is not limited in the application.
Step 102, inputting the candidate timing scheme into a preset traffic simulation system, and acquiring a traffic state parameter and a traffic index parameter output by the traffic simulation system;
in the embodiment of the application, the traffic simulation system can be used for simulating the traffic condition in the preset area. In particular, the traffic simulation system may comprise several simulation models. The traffic simulation system adopts a plurality of simulation models to realize the simulation of the running track of the vehicles in the preset area, thereby obtaining the traffic condition in the preset area, and adopts the traffic state parameters and the traffic index parameters to represent the traffic condition.
In the embodiment of the present application, the traffic state parameter may be used to represent a traffic state in a preset area, and specifically, the traffic state parameter may include a traffic state of a vehicle and a traffic state of a road. For example, the average traveling speed of the vehicle, the traveling speed of at least one vehicle, the average parking delay time of the vehicle, the parking delay time of at least one vehicle, the average queuing length of the intersection, the queuing length of at least one intersection, and the like, which are not limited in this application.
In the embodiment of the present application, the traffic index parameter may be used to represent an optimization index parameter of a timing scheme. For example, the average parking delay time of the vehicle, the average queue length at the intersection, etc., which is not limited in this application.
In the embodiment of the application, the candidate timing scheme and road network data of a preset area can be input into a preset traffic simulation system, and the traffic simulation system can simulate the traffic condition of the preset area under the candidate timing scheme and output the traffic state parameter and the traffic index parameter under the current traffic condition.
And 103, determining a target timing scheme by adopting the traffic state parameters and the traffic index parameters.
In the embodiment of the present application, the candidate timing scheme may be evaluated by using the traffic state parameter and the traffic index parameter. Specifically, the traffic state parameter may be adopted to determine the overall traffic condition, the operation condition of at least one vehicle, and the traffic condition of at least one intersection in the preset area under the candidate timing scheme. Meanwhile, whether the candidate timing scheme is a better timing scheme may be determined based on whether the traffic index parameter reaches a target. Therefore, at least one target timing scheme can be determined in the candidate timing schemes, and therefore optimization of the traffic condition in the preset area is achieved.
In the embodiment of the application, the traffic simulation system can also be used for simulating the running track of at least one traffic object in a preset area by adopting a plurality of simulation model models. Therefore, the method and the device can optimize the environment of the object with complex dynamic motion.
In the embodiment of the present application, the traffic object may be a moving object in a traffic network. For example, if the traffic network is trackless traffic, the traffic object may be a motor vehicle, a non-motor vehicle, a pedestrian, or the like. If the traffic road network is a land-road rail traffic system, the traffic objects may be trams, trains, high-speed rails, subways, and the like. If the traffic network is waterway traffic, the traffic object may be a surface motorized ship, a surface non-motorized ship, an underwater submarine, etc. If the traffic network is an air traffic network, the traffic object may be an aircraft, an airplane, or the like.
In addition, the traffic simulation system can also simulate the running track of traffic objects belonging to a specific category in a traffic network aiming at a specific application scene. For example, when the application scenario is logistics transportation, the motion trajectory simulation can be performed on a logistics transportation vehicle, so that the conditions of time, efficiency and the like of logistics transportation are simulated, and the logistics transportation is optimized.
By the traffic signal timing method, the candidate timing scheme is input into a preset traffic simulation system, the traffic state parameter and the traffic index parameter output by the traffic simulation system are obtained, and the target timing scheme is determined by adopting the traffic state parameter and the traffic index parameter. Therefore, the traffic simulation system can be adopted to evaluate the timing scheme, and the candidate timing scheme does not need to be evaluated by adopting a real environment, so that the evaluation efficiency of the timing scheme is improved, and the adverse effect on the real environment is avoided. Meanwhile, the traffic simulation system can acquire the traffic condition of a preset area based on the candidate timing scheme, and can comprehensively evaluate the candidate timing scheme by adopting the traffic state parameters and the traffic index parameters, so that the evaluation accuracy of the candidate timing scheme is improved.
Referring to fig. 2, a flowchart illustrating steps of another embodiment of a timing method for a traffic signal according to an embodiment of the present application is shown, and specifically, the method may include the following steps:
step 201, obtaining a candidate timing scheme of a traffic signal;
in the embodiment of the application, the traffic signal can be a traffic guidance measure used for allocating right of way to the traffic flow in time at a place where traffic separation cannot be realized at a road intersection. Such as automotive signal lights, non-automotive signal lights, pedestrian crossing signal lights, etc.
In the embodiment of the present application, the candidate timing scheme may be a time allocation scheme of at least one traffic signal in a preset area. In particular, the candidate timing scheme may include a period duration and a split ratio of at least one traffic signal.
In this embodiment of the present application, the preset area may be a traffic road network of at least one city, or a road network of local roads in the city, which is not limited in this application.
In the embodiment of the application, a candidate timing scheme of the traffic signal can be obtained. The candidate timing scheme can be a timing scheme of a real traffic signal of a current traffic network, and can also be a timing scheme of a traffic signal to be verified through manual optimization and adjustment, which is not limited in the application.
Step 202, inputting the candidate timing scheme into a preset traffic simulation system, and acquiring a traffic state parameter and a traffic index parameter output by the traffic simulation system;
in the embodiment of the application, the traffic simulation system can be used for simulating the traffic condition in the preset area. In particular, the traffic simulation system may comprise several simulation models. The traffic simulation system adopts a plurality of simulation models to realize the simulation of the running track of the vehicles in the preset area, thereby obtaining the traffic condition in the preset area, and adopts the traffic state parameters and the traffic index parameters to represent the traffic condition.
In the embodiment of the present application, the traffic state parameter may be used to represent a traffic state in a preset area, and specifically, the traffic state parameter may include a traffic state of a vehicle and a traffic state of a road. For example, the average traveling speed of the vehicle, the traveling speed of at least one vehicle, the average parking delay time of the vehicle, the parking delay time of at least one vehicle, the average queuing length of the intersection, the queuing length of at least one intersection, and the like, which are not limited in this application.
In the embodiment of the present application, the traffic index parameter may be used as a parameter representing an index to be optimized by the timing scheme. For example, the average parking delay time of the vehicle, the average queue length at the intersection, etc., which is not limited in this application.
In the embodiment of the application, the candidate timing scheme and road network data of a preset area can be input into a preset traffic simulation system, and the traffic simulation system can simulate the traffic condition of the preset area under the candidate timing scheme and output the traffic state parameter and the traffic index parameter under the current traffic condition.
In one embodiment of the present application, the method further comprises:
s11, generating a historical traffic parameter curve by adopting preset historical traffic data;
in the embodiment of the application, before the traffic state parameters and the traffic index parameters are acquired by using the traffic simulation system, the traffic simulation system can be adjusted by using the traffic data of the real environment, so that the accuracy of the traffic simulation system is improved.
In the embodiment of the present application, the historical traffic data may be traffic data of a preset area collected in a real environment in a preset historical time period. Specifically, the historical traffic data may include a historical average vehicle speed, a historical average vehicle parking delay time, a historical intersection queuing length, a historical traffic flow of a specified road segment, a historical traffic flow of a preset area, and the like, which is not limited in this application.
In the embodiment of the application, the historical traffic data may be used, and the historical traffic parameter curve may be generated by using time as an abscissa and historical traffic data as an ordinate. So that changes in the historical traffic data at different points in time can be observed.
In the embodiment of the present application, the historical traffic data may be historical traffic data at different time periods, or at different environmental conditions, or at different travel demands. For example, the historical traffic data during the daytime period, the historical traffic data during the night period, the historical traffic data under the sunny condition, the historical traffic data under the rainstorm condition, the historical traffic data under the condition that the demand is large during the holiday and the historical traffic data under the condition that the demand is large in the office area before the working day, and the like, which are not limited in this application. Therefore, the traffic simulation system can be adjusted based on different conditions, so that the adjusted traffic simulation system can simulate various conditions, and the accuracy of the traffic simulation system is further improved.
S12, generating a simulation parameter curve by adopting the traffic simulation system;
in the embodiment of the application, the traffic simulation system may be adopted to generate simulated traffic data of the same kind as the historical traffic data, and the simulated traffic data is adopted to generate a simulated traffic parameter curve with time as an abscissa and simulated traffic data as an ordinate. So that the traffic simulation system can observe the change of the simulated traffic data at different time points.
And S13, adjusting the simulation parameters in the traffic simulation system by adopting the simulation parameter curve and the historical traffic parameter curve.
In the embodiment of the application, a plurality of simulation models can be included in the traffic simulation system. The simulation parameters may be adjustable parameters in the simulation model. The simulation parameter curve and the historical traffic parameter curve may be used to adjust simulation parameters of the traffic simulation system. The simulation parameter curve can approach the historical traffic parameter curve, so that the data output by the traffic simulation system can approach the real environment, the accuracy of the traffic simulation system is further improved, the output target timing scheme can better accord with the real environment, and the traffic condition is better optimized.
In one embodiment of the present application, the method further comprises:
s21, acquiring historical navigation data of the preset navigation application;
in the embodiment of the present application, in order to obtain historical traffic data, historical navigation data may be obtained from a preset navigation application. The historical navigation data may be a navigation request input by a user in the navigation application. The navigation request may include a departure location, an arrival location, and traffic conditions for the navigation route. Thereby, travel needs and traffic conditions of the user of the navigation application at different time periods may be determined based on the historical navigation data.
And S22, determining historical traffic data by adopting the historical navigation data and a preset proportional relation.
In the embodiment of the application, the users using the navigation application can occupy a certain proportion of the users in the real environment, so that the historical navigation data generated by the users using the navigation application can be used, and the historical traffic data of all the users in the real environment can be calculated by adopting a preset proportion relation, so that the historical traffic data can be efficiently acquired, and the accuracy of the simulation system can be further improved.
In an embodiment of the present application, the step of inputting the candidate timing scheme into a preset traffic simulation system and obtaining a traffic state parameter and a traffic index parameter output by the traffic simulation system includes:
s31, inputting the candidate timing scheme into a preset traffic simulation system, and acquiring the running track of a simulated vehicle in the traffic simulation system;
in the embodiment of the application, the traffic simulation system can comprise a plurality of simulation models. Specifically, the simulation model may include a following model, an ACC auto-cruise model, a fleet model, and the like, which is not limited in this application.
In the embodiment of the application, in the traffic simulation system, at least one simulated vehicle can run in the preset area. The candidate timing scheme can be input into a preset traffic simulation system, and the running track of a simulated vehicle in the traffic simulation system is obtained. Therefore, the traffic simulation system can realize the simulation fineness of the running track of the simulation vehicle. Specifically, the traffic simulation system can simulate the fine operations of the simulated vehicles such as following, overtaking, lane changing and the like, so that high-precision traffic simulation can be realized.
In the embodiment of the present application, the preset area may be a larger-scale area, so that the present application may implement large-scale micro traffic simulation. Specifically, the traffic simulation system can operate on the cloud platforms, and the cloud server in each cloud platform respectively calculates the operation tracks of the plurality of simulated vehicles, so that large-scale microscopic traffic simulation is realized, and the accuracy of the simulated traffic system is further improved.
And S32, determining the traffic state parameters and the traffic index parameters of the traffic simulation system by adopting the running track.
In the embodiment of the application, the running track of the simulated vehicle can be adopted to determine the overall traffic condition of the traffic simulation system, and the traffic state parameter and the traffic index parameter of the traffic simulation system are obtained. Specifically, the traffic state parameters may include a traffic state of the vehicle and a traffic state of the road. For example, the average traveling speed of the vehicle, the traveling speed of at least one vehicle, the average parking delay time of the vehicle, the parking delay time of at least one vehicle, the average queuing length of the intersection, the queuing length of at least one intersection, and the like, which are not limited in this application. The traffic index parameter may be used to represent an optimization index parameter of a timing scheme. For example, the average parking delay time of the vehicle, the average queue length at the intersection, etc., which is not limited in this application.
In an embodiment of the present application, the step of inputting the candidate timing scheme into a preset traffic simulation system and obtaining a traffic state parameter and a traffic index parameter output by the traffic simulation system includes:
and S41, inputting the candidate timing scheme, the trip time period information, the trip demand information and the environmental condition information into a preset traffic simulation system, and acquiring the traffic state parameters and the traffic index parameters output by the traffic simulation system.
In the embodiment of the application, the traffic simulation system can further determine the traffic state parameters and the traffic index parameters under different travel demands and different environmental conditions. For example, the traffic state parameter and the traffic index parameter in the daytime period, the traffic state parameter and the traffic index parameter in the nighttime period, the traffic state parameter and the traffic index parameter in the sunny condition, the traffic state parameter and the traffic index parameter in the rainstorm condition, the traffic state parameter and the traffic index parameter in the case of a large demand for going to the city on holidays, the traffic state parameter and the traffic index parameter in the case of a large demand for going to the office area on workdays, and the like, which are not limited in this application.
In the embodiment of the application, road network data of a preset area, the candidate timing scheme, the travel time period information, the travel demand information and the environmental condition information can be input into a preset traffic simulation system, so that traffic state parameters and traffic index parameters under different travel time periods, different travel demands and different environmental conditions are obtained, and the accuracy of the simulation system is further improved.
Step 203, inputting the traffic index parameters into a preset loss function, and determining a loss value;
in the embodiment of the present application, the penalty function may be used to evaluate whether the candidate timing scheme is a better timing scheme. Specifically, the loss function may be a mean square error function, an absolute error function, a logarithmic loss function, or a custom loss function, which is not limited in this application.
In the embodiment of the application, the traffic index parameter for indicating the index to be optimized in the timing scheme can be input into the loss function, and the loss value output by the loss function can be obtained. So that it can be further determined whether the candidate timing scheme is a better timing scheme based on the loss value.
Step 204, determining whether the loss value is smaller than a preset threshold value;
in the embodiment of the present application, the smaller the loss value is, the better the candidate timing scheme may be considered as the candidate timing scheme. A preset threshold may be set to determine whether the loss value is less than the preset threshold, thereby determining whether the candidate timing scheme is a better timing scheme. The preset threshold may be set based on an optimization goal of the traffic signal.
Step 205, when the loss value is smaller than a preset threshold value, taking the candidate timing scheme as a target timing scheme;
in the embodiment of the present application, when the loss value is smaller than the preset threshold, the candidate timing scheme may be considered as a better timing scheme, and thus, the candidate timing scheme may be taken as a target timing scheme. Therefore, the time distribution scheme can be evaluated based on the traffic index parameters output by the traffic simulation system, the candidate time distribution scheme does not need to be evaluated by adopting a real environment, and the evaluation efficiency of the time distribution scheme is improved.
And step 206, when the loss value is greater than a preset threshold value, adjusting a timing parameter in a preset timing model, and generating a new candidate timing scheme by adopting the traffic state parameter.
In embodiments of the present application, a timing model may be used to generate candidate timing schemes. At least one adjustable timing parameter may be included in the timing model. And generating a new candidate timing scheme by adjusting the timing parameters and adopting the traffic state parameters, thereby obtaining a better candidate timing scheme.
In a particular implementation, the timing model may be a reinforcement learning model. When the loss value is greater than a preset threshold value, the candidate timing scheme is not a better timing scheme, so that the timing parameters in a preset timing model can be adjusted, and the traffic state parameters and road network data of a preset region are used as input to generate a new candidate timing scheme. Thereafter, a new candidate timing scheme may be input to the traffic simulation system, such that new traffic state parameters and traffic index parameters may be obtained. And determining a new loss value based on the new traffic index parameter, determining whether the new loss value is smaller than a preset threshold value, if the loss value is equal to the preset threshold value, adjusting the timing parameters in the timing model to generate a new candidate timing scheme until the loss value is smaller than the preset threshold value, and taking the candidate timing scheme as a target timing scheme.
In the embodiment of the application, at least one loss value can be obtained in an iterative process of inputting the candidate timing scheme into a traffic simulation system, obtaining a traffic state parameter and a traffic index parameter, determining a loss value based on a traffic index function, and obtaining a new candidate timing scheme based on the traffic state parameter. The loss values can be compared with each other, when the loss values are gradually reduced to no longer change, or the loss values reach the lowest value, the candidate timing scheme at the moment can be regarded as the preferred candidate timing scheme, and the candidate timing scheme can be taken as the target timing scheme, so that the optimization of the traffic condition in the preset area is realized.
As an example of the present application, fig. 3 is a schematic flowchart of a timing method of a traffic signal according to an embodiment of the present application. The historical traffic parameter curve generated by the historical traffic data 301 may be compared with the simulation parameter curve generated by the traffic simulation system 302 to adjust the parameters of the simulation model in the traffic simulation system 302, so that the traffic simulation system 302 may approach the real environment. Then, the road network data 303 of the preset area and the traffic signal timing data 304 of the preset area in the real environment may be input into the timing model 305, and a candidate timing scheme 306 of the traffic signal may be obtained. Thereafter, the candidate timing scheme 306 may be input into the traffic simulation system 302, and the traffic state parameter 307 and the traffic index parameter 308 output by the traffic simulation system 302 may be obtained. The candidate timing scheme 306 may be compared using the traffic status parameter 307 and the traffic index parameter 308. The timing model 305 may use the traffic indicator parameter 308 to adjust timing parameters and use the traffic status parameter 307 to output a new candidate timing scheme. Finally, a better target timing scheme can be determined in the candidate timing scheme 306, the generation of the timing scheme of the traffic signal is realized, and the scheme pre-evaluation of the timing scheme before the real environment is released is realized, so that the evaluation efficiency of the timing scheme is improved, and the adverse effect on the real environment is avoided.
By the traffic signal timing method, the candidate timing scheme is input into a preset traffic simulation system, the traffic state parameter and the traffic index parameter output by the traffic simulation system are obtained, and the target timing scheme is determined by adopting the traffic state parameter and the traffic index parameter. Therefore, the traffic simulation system can be adopted to evaluate the timing scheme, and the candidate timing scheme does not need to be evaluated by adopting a real environment, so that the evaluation efficiency of the timing scheme is improved, and the adverse effect on the real environment is avoided. Meanwhile, the traffic simulation system can acquire the traffic condition of a preset area based on the candidate timing scheme, and can comprehensively evaluate the candidate timing scheme by adopting the traffic state parameters and the traffic index parameters, so that the evaluation accuracy of the candidate timing scheme is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 4, a block diagram of a configuration of an embodiment of a timing apparatus for a traffic signal according to the present application is shown, and specifically, the timing apparatus may include the following modules:
a first obtaining module 401, configured to obtain a candidate timing scheme of a traffic signal;
a second obtaining module 402, configured to input the candidate timing scheme into a preset traffic simulation system, and obtain a traffic state parameter and a traffic index parameter output by the traffic simulation system;
a timing determination module 403, configured to determine a target timing scheme by using the traffic state parameter and the traffic index parameter.
In one embodiment of the present application, the timing determination module includes:
the loss value determining submodule is used for inputting the traffic index parameters into a preset loss function and determining a loss value;
the threshold value comparison submodule is used for determining whether the loss value is smaller than a preset threshold value;
the timing determination submodule is used for taking the candidate timing scheme as a target timing scheme when the loss value is smaller than a preset threshold value;
and the candidate timing scheme determining submodule is used for adjusting the timing parameters in a preset timing model when the loss value is greater than a preset threshold value, and generating a new candidate timing scheme by adopting the traffic state parameters.
In one embodiment of the present application, the apparatus further comprises:
the first curve generation module is used for generating a historical traffic parameter curve by adopting preset historical traffic data;
the second curve generation module is used for generating a simulation parameter curve by adopting the traffic simulation system;
and the simulation parameter adjusting module is used for adjusting the simulation parameters in the traffic simulation system by adopting the simulation parameter curve and the historical traffic parameter curve.
In one embodiment of the present application, the apparatus further comprises:
the historical navigation data acquisition module is used for acquiring historical navigation data of a preset navigation application;
and the historical traffic data determining module is used for determining the historical traffic data by adopting the historical navigation data and a preset proportional relation.
In an embodiment of the present application, the second obtaining module includes:
the running track determining submodule is used for inputting the candidate timing scheme into a preset traffic simulation system and acquiring the running track of a simulated vehicle in the traffic simulation system;
and the first acquisition submodule is used for determining the traffic state parameter and the traffic index parameter of the traffic simulation system by adopting the running track.
In an embodiment of the present application, the second obtaining module includes:
and the second acquisition sub-module is used for inputting the candidate timing scheme, the travel demand information and the environmental condition information into a preset traffic simulation system and acquiring the traffic state parameters and the traffic index parameters output by the traffic simulation system.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present application further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform methods as described in embodiments of the present application.
Embodiments of the present application also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the methods of embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The traffic signal timing method and the traffic signal timing device provided by the present application are introduced in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. A method of timing traffic signals, comprising:
acquiring a candidate timing scheme of the traffic signal;
inputting the candidate timing scheme into a preset traffic simulation system, and acquiring traffic state parameters and traffic index parameters output by the traffic simulation system;
and determining a target timing scheme by adopting the traffic state parameter and the traffic index parameter.
2. The method of claim 1, wherein the step of determining a target timing scheme using the traffic status parameter and the traffic index parameter comprises:
inputting the traffic index parameters into a preset loss function, and determining a loss value;
determining whether the loss value is less than a preset threshold value;
when the loss value is smaller than a preset threshold value, taking the candidate timing scheme as a target timing scheme;
and when the loss value is greater than a preset threshold value, adjusting the timing parameters in a preset timing model, and generating a new candidate timing scheme by adopting the traffic state parameters.
3. The method of claim 1, further comprising:
generating a historical traffic parameter curve by adopting preset historical traffic data;
generating a simulation parameter curve by adopting the traffic simulation system;
and adjusting simulation parameters in the traffic simulation system by adopting the simulation parameter curve and the historical traffic parameter curve.
4. The method of claim 3, further comprising:
acquiring historical navigation data of a preset navigation application;
and determining historical traffic data by adopting the historical navigation data and a preset proportional relation.
5. The method according to claim 1, wherein the step of inputting the candidate timing scheme into a preset traffic simulation system and obtaining the traffic state parameter and the traffic index parameter output by the traffic simulation system comprises:
inputting the candidate timing scheme into a preset traffic simulation system to obtain the running track of a simulated vehicle in the traffic simulation system;
and determining the traffic state parameters and the traffic index parameters of the traffic simulation system by adopting the running track.
6. The method according to claim 1 or 5, wherein the step of inputting the candidate timing scheme into a preset traffic simulation system and obtaining the traffic state parameter and the traffic index parameter output by the traffic simulation system comprises:
and inputting the candidate timing scheme, the trip demand information and the environmental condition information into a preset traffic simulation system, and acquiring traffic state parameters and traffic index parameters output by the traffic simulation system.
7. A timing device for a traffic signal, comprising:
the first acquisition module is used for acquiring a candidate timing scheme of the traffic signal;
the second acquisition module is used for inputting the candidate timing scheme into a preset traffic simulation system and acquiring traffic state parameters and traffic index parameters output by the traffic simulation system;
and the timing determination module is used for determining a target timing scheme by adopting the traffic state parameter and the traffic index parameter.
8. The apparatus of claim 7, wherein the timing determination module comprises:
the loss value determining submodule is used for inputting the traffic index parameters into a preset loss function and determining a loss value;
the threshold value comparison submodule is used for determining whether the loss value is smaller than a preset threshold value;
the timing determination submodule is used for taking the candidate timing scheme as a target timing scheme when the loss value is smaller than a preset threshold value;
and the candidate timing scheme determining submodule is used for adjusting the timing parameters in a preset timing model when the loss value is greater than a preset threshold value, and generating a new candidate timing scheme by adopting the traffic state parameters.
9. The apparatus of claim 7, further comprising:
the first curve generation module is used for generating a historical traffic parameter curve by adopting preset historical traffic data;
the second curve generation module is used for generating a simulation parameter curve by adopting the traffic simulation system;
and the simulation parameter adjusting module is used for adjusting the simulation parameters in the traffic simulation system by adopting the simulation parameter curve and the historical traffic parameter curve.
10. The apparatus of claim 9, further comprising:
the historical navigation data acquisition module is used for acquiring historical navigation data of a preset navigation application;
and the historical traffic data determining module is used for determining the historical traffic data by adopting the historical navigation data and a preset proportional relation.
11. The apparatus of claim 7, wherein the second obtaining module comprises:
the running track determining submodule is used for inputting the candidate timing scheme into a preset traffic simulation system and acquiring the running track of a simulated vehicle in the traffic simulation system;
and the first acquisition submodule is used for determining the traffic state parameter and the traffic index parameter of the traffic simulation system by adopting the running track.
12. The apparatus of claim 7 or 11, wherein the second obtaining module comprises:
and the second acquisition sub-module is used for inputting the candidate timing scheme, the travel demand information and the environmental condition information into a preset traffic simulation system and acquiring the traffic state parameters and the traffic index parameters output by the traffic simulation system.
13. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 1-6.
14. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method of one or more of claims 1-6.
CN202010319325.1A 2020-04-21 2020-04-21 Timing method and device for traffic signals Pending CN113538931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010319325.1A CN113538931A (en) 2020-04-21 2020-04-21 Timing method and device for traffic signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010319325.1A CN113538931A (en) 2020-04-21 2020-04-21 Timing method and device for traffic signals

Publications (1)

Publication Number Publication Date
CN113538931A true CN113538931A (en) 2021-10-22

Family

ID=78123912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010319325.1A Pending CN113538931A (en) 2020-04-21 2020-04-21 Timing method and device for traffic signals

Country Status (1)

Country Link
CN (1) CN113538931A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105761515A (en) * 2016-01-29 2016-07-13 吴建平 Road crossing signal dynamic regulation method, device and system
CN106683442A (en) * 2016-12-28 2017-05-17 安徽科力信息产业有限责任公司 Multi-index based intersection signal timing plan evaluation method
CN108629990A (en) * 2018-06-14 2018-10-09 重庆同济同枥信息技术有限公司 A kind of real-time dynamic timing method and system based on multi-source data
CN110782120A (en) * 2019-09-12 2020-02-11 腾讯科技(深圳)有限公司 Method, system, equipment and medium for evaluating traffic flow model

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105761515A (en) * 2016-01-29 2016-07-13 吴建平 Road crossing signal dynamic regulation method, device and system
CN106683442A (en) * 2016-12-28 2017-05-17 安徽科力信息产业有限责任公司 Multi-index based intersection signal timing plan evaluation method
CN108629990A (en) * 2018-06-14 2018-10-09 重庆同济同枥信息技术有限公司 A kind of real-time dynamic timing method and system based on multi-source data
CN110782120A (en) * 2019-09-12 2020-02-11 腾讯科技(深圳)有限公司 Method, system, equipment and medium for evaluating traffic flow model

Similar Documents

Publication Publication Date Title
WO2022121248A1 (en) Test evaluation information determining method, apparatus and device, and computer storage medium
CN111491844B (en) Method and device for generating a dynamic speed profile of a motor vehicle
US9068848B2 (en) Providing cost information associated with intersections
CN110716529A (en) Automatic generation method and device for automatic driving test case
EP4090567B1 (en) Cross-platform control profiling for autonomous vehicle control
Anya et al. Application of AIMSUN microsimulation model to estimate emissions on signalized arterial corridors
Valera et al. Driving cycle and road grade on-board predictions for the optimal energy management in EV-PHEVs
CN111415520A (en) System and method for processing traffic target
CN110849382A (en) Driving duration prediction method and device
CN115165387A (en) Control method, device and system for testing performance of automatic driving whole vehicle
US20200326195A1 (en) Method and apparatus for computer-implemented traffic control of motor vehicles in a predetermined area
CN113918615A (en) Simulation-based driving experience data mining model construction method and system
CA3028647A1 (en) Systems and methods for processing traffic objects
KR20210000198A (en) Method for predicting and simulating congestion of road flow
Kamal Keerthi Chandan et al. A real-time traffic signal control strategy under partially connected vehicle environment
CN116430750A (en) Automatic driving system detection method, device and system based on simulation
CN103903432A (en) Equipment for determining road link congestion state and method
WO2023197409A1 (en) Speed control model generation method and apparatus, and vehicle control method and apparatus
CN112046480A (en) Control method and device for vehicle speed limit
CN113538931A (en) Timing method and device for traffic signals
CN117636620A (en) Method and processing system for processing detection data and detector
Sahlholm et al. Segmented road grade estimation for fuel efficient heavy duty vehicles
CN109712425B (en) A method and device for determining the position of a public transport vehicle based on sparse positioning points
Seddon A program for simulating the dispersion of platoons of road traffic
US20230055974A1 (en) Method of Selecting a Route for Recording Vehicle

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40063908

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20211022