CN112185117B - Optimized evaluation method and device based on electric alarm data - Google Patents

Optimized evaluation method and device based on electric alarm data Download PDF

Info

Publication number
CN112185117B
CN112185117B CN202011060442.7A CN202011060442A CN112185117B CN 112185117 B CN112185117 B CN 112185117B CN 202011060442 A CN202011060442 A CN 202011060442A CN 112185117 B CN112185117 B CN 112185117B
Authority
CN
China
Prior art keywords
road section
optimization
time
travel time
vehicle
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
Application number
CN202011060442.7A
Other languages
Chinese (zh)
Other versions
CN112185117A (en
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.)
Hisense TransTech Co Ltd
Original Assignee
Hisense TransTech Co 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 Hisense TransTech Co Ltd filed Critical Hisense TransTech Co Ltd
Priority to CN202011060442.7A priority Critical patent/CN112185117B/en
Publication of CN112185117A publication Critical patent/CN112185117A/en
Application granted granted Critical
Publication of CN112185117B publication Critical patent/CN112185117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • G06F18/23213Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q50/40
    • 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

Abstract

The embodiment of the invention relates to the technical field of traffic, in particular to an optimization evaluation method and device based on electric alarm data, which are used for solving the problem of inaccurate optimization evaluation caused by incomplete and unreasonable road traffic signal data. The method comprises the following steps: acquiring electric alarm data in a preset time period before optimization and electric alarm data in a preset time period after optimization of an optimized road section, then preprocessing the electric alarm data in the preset time period before optimization and the electric alarm data in the preset time period after optimization to obtain the travel time of each vehicle before optimization and the travel time of each vehicle after optimization, and further performing data cleaning on the travel time before optimization and the travel time after optimization for multiple times to obtain the cleaning travel time before optimization and the cleaning travel time after optimization; and finally, determining an optimization evaluation result of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization.

Description

Optimized evaluation method and device based on electric alarm data
Technical Field
The embodiment of the invention relates to the technical field of traffic, in particular to an optimization evaluation method and device based on electric alarm data.
Background
With the development of economy and the acceleration of urbanization, the quantity of motor vehicles is rapidly increased, electronic policemen are popularized, and the increasingly serious traffic problem cannot be avoided. Therefore, for traveling vehicles, the optimal evaluation of the road traffic signal is important.
In the current optimization evaluation of road traffic signals, data sources mainly depend on floating car data, and actual floating car data only account for a few of all vehicles and only represent the running conditions of part of the vehicles, so that the problem of inaccurate optimization evaluation caused by lack of floating data exists; on the other hand, the comprehensive electric police data obtained by the electronic police are generally applied to analysis of traffic states and laws such as vehicle track analysis, traffic driving amount (OD) analysis, congestion judgment and the like, and the electric police data are not fully utilized to carry out optimization evaluation on traffic signals.
Therefore, a solution is needed to solve the problem of inaccurate optimization evaluation caused by incomplete and unreasonable road traffic signal data.
Disclosure of Invention
The embodiment of the invention provides an optimization evaluation method and device based on electric alarm data, which are used for solving the problem of inaccurate optimization evaluation caused by incomplete and unreasonable road traffic signal data.
In a first aspect, an optimized evaluation method based on electrical alarm data provided in an embodiment of the present invention includes:
acquiring electric alarm data in a preset time period before optimization and electric alarm data in a preset time period after optimization of the optimized road section;
preprocessing the electric alarm data in the preset time period before optimization and the electric alarm data in the preset time period after optimization to obtain the travel time of each vehicle before optimization and the travel time of each vehicle after optimization;
carrying out data cleaning for a plurality of times on the travel time before optimization and the travel time after optimization to obtain the cleaning travel time before optimization and the cleaning travel time after optimization;
and determining an optimization evaluation result of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization.
By the mode, the travel time is obtained by preprocessing the electric alarm data of the optimized road section, and the travel time is cleaned to obtain the cleaned travel time for optimizing and evaluating the optimized road section, so that the comprehensiveness and the authenticity of the optimized and evaluated data source for optimizing the road section are ensured; and the travel time after cleaning is obtained by cleaning the obtained travel time and is used for determining an optimization evaluation result, so that the data reliability of the optimization evaluation data is ensured, and the accuracy of the optimization evaluation of the road traffic is improved.
In a possible design, the preprocessing the electrical alarm data in the preset time period before the optimization and the electrical alarm data in the preset time period after the optimization to obtain the travel time of each vehicle before the optimization and the travel time of each vehicle after the optimization includes:
acquiring the passing time of the vehicle in the electric alarm data aiming at any one of the electric alarm data in the preset time period before optimization and the electric alarm data in the preset time period after optimization;
determining whether an elapsed time of the vehicle at a downstream intersection of the optimized road segment is greater than an elapsed time at an upstream intersection of the optimized road segment;
if so, determining the difference value of the passing time of the vehicle at the downstream crossing of the optimized road section and the passing time at the upstream crossing of the optimized road section as the travel time of the vehicle.
By the mode, the travel time of the vehicle is determined by utilizing the difference value of the time of the vehicle passing through the downstream intersection and the upstream intersection in the preset time period before and after optimization, so that the travel time of each vehicle before and after optimization is comprehensively acquired, and the comprehensiveness of data and the authenticity of the data are ensured.
In one possible design, the method further includes:
if the elapsed time of the vehicle at the downstream intersection of the optimized road section is not greater than the elapsed time at the upstream intersection of the optimized road section, the elapsed time of the vehicle at the downstream intersection of the optimized road section and the elapsed time at the upstream intersection of the optimized road section are respectively subjected to time synchronization with standard time, and the elapsed time after the time synchronization at the downstream intersection of the optimized road section and the elapsed time after the time synchronization at the upstream intersection of the optimized road section are obtained;
determining whether the elapsed time after the time tick of the vehicle at a downstream intersection of the optimized road segment is greater than the elapsed time after the time tick at an upstream intersection of the optimized road segment;
if so, determining the difference value of the elapsed time after time setting of the vehicle at the downstream intersection of the optimized road section and the elapsed time after time setting of the vehicle at the upstream intersection of the optimized road section as the travel time of the vehicle, and otherwise, rejecting the elapsed time of the vehicle at the downstream intersection of the optimized road section and the elapsed time of the upstream intersection of the optimized road section.
Through the mode, the condition that the difference value of the time of the vehicle passing through the downstream intersection and the upstream intersection in the preset time period before and after optimization is smaller than zero is analyzed, the condition that the difference value caused by inaccurate time synchronization of the electric alarm data is negative is considered, the passing time of the part of vehicles is corrected, the condition of the difference value of the time synchronized passing time is further judged, deletion of part of data missing or abnormal data is realized, reasonable data is effectively utilized, and the reliability of the data for optimization evaluation and the comprehensiveness of the data are ensured.
In one possible design, the performing data washing on the pre-optimization travel time and the post-optimization travel time for a plurality of times to obtain the pre-optimization washing travel time and the post-optimization washing travel time includes:
for any one of the travel time before optimization and the travel time after optimization, carrying out first cleaning on the travel time according to a Lauda criterion or a k-means clustering algorithm to obtain first cleaning travel time;
and carrying out secondary cleaning on the first cleaning travel time according to the preset speed limit of the optimized road section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization.
Through the mode, the travel time before optimization and the travel time after optimization are washed for multiple times, so that the obtained data of the cleaning travel time before optimization and the cleaning travel time after optimization are high in reliability, and the accuracy of the optimization evaluation result determined by the cleaning travel time before optimization and the cleaning travel time after optimization is ensured.
In one possible design, the second cleaning of the first cleaning travel time according to the preset speed limit of the optimized section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization includes:
determining a driving speed corresponding to the first cleaning travel time of the vehicle according to the road length of the optimized road section and the first cleaning travel time of the vehicle;
and deleting the first cleaning travel time corresponding to the running speed which does not accord with the preset speed limit according to the preset speed limit of the optimized road section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization.
Through the mode, the speed limit is utilized to re-clean the first cleaning travel time corresponding to the running speed of the vehicle in the optimized road section, so that unreasonable data of optimization evaluation caused by the travel time of the vehicle violating the regulations is avoided, and the obtained data of the cleaning travel time before optimization and the cleaning travel time after optimization are high in reliability.
In one possible design, the determining an optimized evaluation result of the optimized link according to the cleaning travel time before optimization and the cleaning travel time after optimization includes:
determining the optimization rate of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization;
determining whether the optimization rate is a negative value; if so, determining that the optimization evaluation result of the optimized road section is good; otherwise, determining that the optimization evaluation result of the optimized road section is poor.
By the mode, the optimization rate of the optimized road section is determined according to the cleaning travel time before optimization and the cleaning travel time after optimization, the data reliability for optimization evaluation is guaranteed, and meanwhile, the accuracy and the reliability of the road traffic optimization evaluation result are guaranteed through judgment of the optimization rate.
In a second aspect, an embodiment of the present invention provides an optimized evaluation device based on electrical alarm data, including:
the acquisition module is used for acquiring the electric alarm data in the preset time interval before optimization and the electric alarm data in the preset time interval after optimization of the optimized road section;
the processing module is used for preprocessing the electric alarm data in the preset time period before optimization and the electric alarm data in the preset time period after optimization to obtain the travel time of each vehicle before optimization and the travel time of each vehicle after optimization; carrying out data cleaning for a plurality of times on the travel time before optimization and the travel time after optimization to obtain the cleaning travel time before optimization and the cleaning travel time after optimization; and determining an optimization evaluation result of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization.
In one possible design, the processing module is specifically configured to:
acquiring the passing time of the vehicle in the electric alarm data aiming at any one of the electric alarm data in the preset time period before optimization and the electric alarm data in the preset time period after optimization;
determining whether an elapsed time of the vehicle at a downstream intersection of the optimized road segment is greater than an elapsed time at an upstream intersection of the optimized road segment;
if so, determining the difference value of the passing time of the vehicle at the downstream crossing of the optimized road section and the passing time at the upstream crossing of the optimized road section as the travel time of the vehicle.
In one possible design, the processing module is further configured to:
if the elapsed time of the vehicle at the downstream intersection of the optimized road section is not greater than the elapsed time at the upstream intersection of the optimized road section, the elapsed time of the vehicle at the downstream intersection of the optimized road section and the elapsed time at the upstream intersection of the optimized road section are respectively subjected to time synchronization with standard time, and the elapsed time after the time synchronization at the downstream intersection of the optimized road section and the elapsed time after the time synchronization at the upstream intersection of the optimized road section are obtained;
determining whether the elapsed time after the time tick of the vehicle at a downstream intersection of the optimized road segment is greater than the elapsed time after the time tick at an upstream intersection of the optimized road segment;
if so, determining the difference value of the elapsed time after time setting of the vehicle at the downstream intersection of the optimized road section and the elapsed time after time setting of the vehicle at the upstream intersection of the optimized road section as the travel time of the vehicle, and otherwise, rejecting the elapsed time of the vehicle at the downstream intersection of the optimized road section and the elapsed time of the upstream intersection of the optimized road section.
In one possible design, the processing module is specifically configured to:
for any one of the travel time before optimization and the travel time after optimization, carrying out first cleaning on the travel time according to a Lauda criterion or a k-means clustering algorithm to obtain first cleaning travel time;
and carrying out secondary cleaning on the first cleaning travel time according to the preset speed limit of the optimized road section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization.
In one possible design, the processing module is specifically configured to:
determining a driving speed corresponding to the first cleaning travel time of the vehicle according to the road length of the optimized road section and the first cleaning travel time of the vehicle;
and deleting the first cleaning travel time corresponding to the running speed which does not accord with the preset speed limit according to the preset speed limit of the optimized road section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization.
In one possible design, the processing module is specifically configured to:
determining the optimization rate of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization;
determining whether the optimization rate is a negative value; if so, determining that the optimization evaluation result of the optimized road section is good; otherwise, determining that the optimization evaluation result of the optimized road section is poor.
In a third aspect, an embodiment of the present invention further provides a computing device, including: a memory for storing a computer program; a processor for calling the computer program stored in said memory and executing the method as described in the various possible designs of the first aspect according to the obtained program.
In a fourth aspect, embodiments of the present invention also provide a computer-readable non-volatile storage medium, which includes a computer-readable program, which, when read and executed by a computer, causes the computer to perform the method as set forth in the various possible designs of the first aspect.
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 will be 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 inventive exercise.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
fig. 2 is a flowchart of an optimized evaluation method based on electric alarm data according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a travel time scatter plot according to an embodiment of the present invention;
fig. 4 is a flowchart of a specific optimization evaluation method based on electrical alarm data according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an optimization evaluation device based on electric alarm data according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a system architecture provided in an embodiment of the present invention. As shown in fig. 1, the system architecture may be a server 100, and the server 100 may include a processor 110, a communication interface 120, and a memory 130.
The communication interface 120 is used for communicating with a terminal device, and transceiving information transmitted by the terminal device to implement communication.
The processor 110 is a control center of the server 100, connects various parts of the entire server 100 using various interfaces and lines, performs various functions of the server 100 and processes data by running or executing software programs and/or modules stored in the memory 130 and calling data stored in the memory 130. Alternatively, processor 110 may include one or more processing units.
The memory 130 may be used to store software programs and modules, and the processor 110 executes various functional applications and data processing by operating the software programs and modules stored in the memory 130. The memory 130 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to a business process, and the like. Further, the memory 130 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Based on the above description, fig. 2 shows in detail a flow of an optimized evaluation method based on electric alarm data according to an embodiment of the present invention, where the flow may be executed by an optimized evaluation device based on electric alarm data, and the device may be the above server or be located in the above server.
As shown in fig. 2, the process specifically includes:
step 201, acquiring electric alarm data in a preset time interval before optimization and electric alarm data in a preset time interval after optimization of an optimized road section;
step 202, preprocessing the electric alarm data in the preset time period before optimization and the electric alarm data in the preset time period after optimization to obtain the travel time of each vehicle before optimization and the travel time of each vehicle after optimization;
step 203, performing data cleaning on the travel time before optimization and the travel time after optimization for multiple times to obtain the cleaning travel time before optimization and the cleaning travel time after optimization;
and 204, determining an optimization evaluation result of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization.
In the specific implementation process of step 201, the obtaining of the electric alarm data in the preset time period before the optimization of the optimized road section and the electric alarm data in the preset time period after the optimization mainly obtains the license plate number, the driving direction and the time information in the electric alarm data. Specifically, when a vehicle passes through an electronic police, the recorded original electric police data comprise various data information such as an electric police number, a vehicle license plate number, a vehicle body color, a lane number, a driving direction, a driving speed, time and the like, wherein the acquired electric police data are mainly used for matching electronic data by using the license plate number when the vehicle passes through the electronic police in the same road driving direction, so as to obtain a time value of each vehicle passing through the electronic police. It should be noted that, for different requirements of optimizing an evaluation result, a person skilled in the art may select different raw electrical alarm data in an optimized road segment, and the embodiment of the present application does not limit the types of electrical alarm data in a preset time before and after optimization of the optimized road segment.
In step 202, the electric alarm data obtained in step 201 are preprocessed, specifically, the electric alarm data of the optimized road segment at the preset time is obtained from an electronic police, and is not directly used in the optimization evaluation of road traffic, and the electric alarm data of the optimized road segment at the preset time needs to be preprocessed, that is, the travel time of each vehicle before optimization and the travel time of each vehicle after optimization are obtained through calculation.
In the specific implementation process of step 203, the pre-optimized travel time and the post-optimized travel time are obtained according to the electric alarm data in steps 201 and 202, and for the obtained electric alarm data, due to factors such as electric alarm equipment and environment, some data may be missing or unreasonable data may exist in the electric alarm data, so that in order to avoid the inaccuracy of the electric alarm data to cause the inaccuracy of the final optimized evaluation result, the cleaning of the travel time obtained from the electric alarm data is a necessary step for performing the optimized evaluation of the road traffic.
In step 204, an optimization evaluation result of the optimized road section is determined according to the cleaning travel time before optimization and the cleaning travel time after optimization obtained in step 203, the optimization condition of the optimized road section is judged, and objective evaluation is given to the optimization condition of the optimized road section. The optimization evaluation result is good, which shows that the optimization effect of the optimized road section is good, most vehicles can smoothly run, and the condition of road traffic jam or total collision of vehicles with red light does not occur; the result of the optimization evaluation is poor, which indicates that the optimization effect of the optimized road section is poor, and the conditions of road traffic jam and long running time of vehicles passing through the road section may occur.
The optimization process of the optimized road section means that signal schemes of all intersections before optimization are not specially designed, so that green lights of the intersections encountered by vehicles when the vehicles run from a starting point to a terminal point are random, the condition of the traffic lights encountered by the vehicles at each intersection can not be predicted in the running process of most vehicles, the running and stopping of the vehicles can not be predicted in the running process of the vehicles, the travel time is long, and the traveling of the vehicles is influenced. Therefore, the traffic lights are optimized through a green wave coordination linkage algorithm, the signal periods of all intersections are adjusted to be consistent, the signal schemes of the intersections are further set according to the time of the vehicles arriving at the other intersection from one intersection, when the vehicles arrive at the other intersection after normally driving for a certain time through the first intersection, the direction of the intersection is also the green light, the vehicles can pass through without stopping, and after the signal schemes of a plurality of intersections are set to be linked, most of the vehicles can pass through the starting point and the end point without stopping, so that the travel time of each vehicle is greatly reduced, and the process is the optimization process of the optimized road section. And according to the cleaning of the travel time before optimization and the travel time after optimization in the optimized road section, obtaining reasonable cleaning travel time before optimization and cleaning travel time after optimization, further determining the optimization evaluation result of the optimized road section, and judging whether the optimization effect of the optimized road section is good or not.
The travel time is obtained by preprocessing the electric alarm data of the optimized road section, and the travel time is cleaned to obtain the cleaned travel time for optimizing and evaluating the optimized road section, so that the comprehensiveness and the authenticity of an optimized and evaluated data source for optimizing the road section are ensured; and the travel time after cleaning is obtained by cleaning the obtained travel time and is used for determining an optimization evaluation result, so that the data reliability of the optimization evaluation data is ensured, and the accuracy of the optimization evaluation of the road traffic is improved.
Aiming at the preprocessing of the electric alarm data in the preset time period before optimization and the electric alarm data in the preset time period after optimization, the travel time of each vehicle before optimization and the travel time of each vehicle after optimization are obtained, and a specific implementation mode is provided as follows:
after step 201, acquiring the elapsed time of the vehicle in the electrical alarm data for any one of the electrical alarm data in the preset time period before optimization and the electrical alarm data in the preset time period after optimization; it is determined whether the elapsed time of any vehicle at the downstream intersection of the optimized road segment is greater than the elapsed time at the upstream intersection of the optimized road segment. When it is determined that the elapsed time of the vehicle at the downstream intersection of the optimized road segment is greater than the elapsed time at the upstream intersection of the optimized road segment, determining the difference between the elapsed time of the vehicle at the downstream intersection of the optimized road segment and the elapsed time at the upstream intersection of the optimized road segment as the travel time of the vehicle.
It should be noted that when any vehicle passes through the upstream intersection of the optimized road section, the upstream intersection can be understood as the first intersection of the optimized road section, and the time in the electric police data recorded by the electronic police is the upstream intersection passing time of the optimized road section; when the same vehicle passes through the downstream intersection of the optimized road section, the downstream intersection can be understood as the last intersection of the optimized road section, and the time in the electric police data recorded by the electronic police of the intersection is the downstream intersection passing time of the optimized road section. It can be seen that for reasonable electrical alarm data, the vehicle transit time at the downstream junction must be greater than the transit time at the upstream junction in the optimized segment.
For example, an optimized road section is selected between two intersections on the road section, and the electric police data recorded by the electronic police of the two intersections on the optimized road section on the same day are selected, and it can be known that the optimized road section has two directions of driving, wherein one direction of driving is defined as forward driving, and the other direction of driving is defined as reverse driving. Taking the forward driving direction as an example, the data of other directions are removed, the license plate number is used for matching the electric alarm data of two intersections, and when any vehicle passes through an upstream intersection, the passing time recorded by the first electronic police is t1When passing through the downstream crossing, the second electronic police station records the passing time as t2That is, the elapsed time of each vehicle driving in the forward direction on the day in the optimized road section is obtained. Further determining whether the passing time of each vehicle running in the forward direction of the optimized road section passing through the downstream intersection is greater than the passing time of each vehicle running at the upstream intersection of the optimized road section; and if so, determining the difference value of the passing time of each vehicle at the downstream intersection and the passing time of the upstream intersection of the optimized road section as the travel time of the vehicle.
The travel time T for forward travel is then:
T=t2-t1..
In addition, for each vehicle traveling in reverse in the optimized link, the electronic police station passing through the downstream intersection is the first electronic police station that the vehicle passes through, and the electronic police station passing through the upstream intersection of the optimized link is the second electronic police station that the vehicle passes through, so the travel time of each vehicle traveling in reverse in the optimized link is calculated as:
T=t1-t2..
The travel time required by each vehicle to travel from the first electronic police to the other electronic police is guaranteed to be positive.
When the passing time of the vehicle at the downstream intersection of the optimized road section is not more than the passing time at the upstream intersection of the optimized road section, a specific implementation mode is provided as follows:
if the elapsed time of the vehicle at the downstream intersection of the optimized road section is not greater than the elapsed time at the upstream intersection of the optimized road section, respectively carrying out time synchronization on the elapsed time of the vehicle at the downstream intersection of the optimized road section and the elapsed time at the upstream intersection of the optimized road section with the standard time to obtain the elapsed time after time synchronization of the downstream intersection of the optimized road section and the elapsed time after time synchronization of the upstream intersection of the optimized road section, and determining whether the elapsed time after time synchronization of the vehicle at the downstream intersection of the optimized road section is greater than the elapsed time after time synchronization of the upstream intersection of the optimized road section; if the elapsed time of the vehicle after time synchronization at the downstream intersection of the optimized road section is determined to be greater than the elapsed time of the vehicle after time synchronization at the upstream intersection of the optimized road section, determining the difference value of the elapsed time of the vehicle after time synchronization at the downstream intersection of the optimized road section and the elapsed time of the vehicle after time synchronization at the upstream intersection of the optimized road section as the travel time of the vehicle, and otherwise, rejecting the elapsed time of the vehicle at the downstream intersection of the optimized road section and the elapsed time of the upstream intersection of the optimized road section.
Since a vehicle needs a certain time to travel from an upstream intersection to a downstream intersection, the travel time should be a positive number, and if it is determined that the elapsed time of the vehicle at the downstream intersection of the optimized road section is not greater than the elapsed time at the upstream intersection of the optimized road section, the possible reason is that the electric alarm data is abnormal or the time of the electric alarm data is not correct. According to the reason that the situation is possible to happen, firstly, the elapsed time of each vehicle at the downstream crossing and the elapsed time of each vehicle at the upstream crossing of the optimized road section are respectively subjected to time comparison with the standard time, and then the elapsed time after the time comparison at the downstream crossing of the optimized road section and the elapsed time after the time comparison at the upstream crossing of the optimized road section are obtained. The standard time varies depending on the country, and for example, the standard time in China is beijing time, and the standard time in korea is seoul time. The selection of the standard time is specifically selected according to different regions, and the application is not limited.
For example, the standard time is the beijing time, the road section where a vehicle travels from a first intersection to a second intersection is an optimized road section, the passing time of the vehicle at the second intersection in the optimized road section is less than the passing time of the first intersection, when the time recorded by a first electronic police and a second electronic police that the vehicle passes by is paired with the beijing time, the difference between the two times is recorded as: Δ t1And Δ t2Then, the difference between the elapsed time after time synchronization of the vehicle at the second intersection of the optimized road section and the elapsed time after time synchronization of the first intersection is:
T=(t2+Δt2)-(t1+Δt1) … … formula (3)
Further judging whether the difference is a positive number, if so, indicating that the reason that the passing time of the vehicle at the downstream intersection of the optimized road section is not more than the passing time at the upstream intersection of the optimized road section is that the time synchronization of the electric alarm data is not accurate, and the travel time of the vehicle is the difference between the passing time after the time synchronization of the downstream intersection and the passing time after the time synchronization of the upstream intersection; if not, the problem of inaccurate time setting of the electronic police equipment can be solved, the electric alarm data of the vehicle are abnormal data, and the electric alarm data of the vehicle are removed, so that the high reliability of the obtained travel time data is ensured.
The travel time of the vehicle is determined by utilizing the difference value of the passing time of the vehicle passing through the downstream intersection and the upstream intersection in the preset time period before and after optimization, the condition that the difference value of the passing time of the vehicle passing through the downstream intersection and the upstream intersection in the preset time period before and after optimization is less than zero is analyzed, the condition that the difference value caused by inaccurate time synchronization of electric alarm data is negative is considered, the passing time of the part of vehicles is corrected, the condition of the time difference value after time synchronization is further judged, deletion of part of data missing or abnormal data is realized, reasonable data is effectively utilized, and the reliability of the data for optimization evaluation and the comprehensiveness of the data are ensured.
Aiming at carrying out data cleaning for a plurality of times on the travel time before optimization and the travel time after optimization to obtain the cleaning travel time before optimization and the cleaning travel time after optimization, a specific implementation mode is provided as follows:
after step 202, for any one of the travel time before optimization and the travel time after optimization, performing first cleaning on the travel time according to a Lauda criterion or a k-means clustering algorithm to obtain a first cleaning travel time; and further, according to the preset speed limit of the optimized road section, carrying out secondary cleaning on the first cleaning travel time to obtain the cleaning travel time before optimization and the cleaning travel time after optimization.
For the first cleaning of the travel time, two cleaning modes are provided:
first, the journey time is cleaned according to the Lavian criterion, also referred to as the 3 σ criterion. The Lauda criterion means that a group of detection data is supposed to only contain random errors, the detection data is calculated to obtain a standard deviation, an interval is determined according to a certain probability, all errors exceeding the interval are considered to be not random errors but coarse errors, and the data containing the coarse errors are removed. The probability that the data is distributed in (mu-3 sigma, mu +3 sigma) in the 3 sigma criterion is 0.9974, and the data beyond the range is less than three thousandths, so that the data beyond the range of (mu-3 sigma, mu +3 sigma) can be considered as unreasonable data for the obtained travel time before optimization and the travel time after optimization, and the unreasonable data are cleaned.
Obtaining the travel time of each vehicle before optimization and the travel time of each vehicle after optimization according to the step 202, and calculating the average value of the travel time of the optimized road section according to the travel time of any vehicle:
Figure BDA0002712182010000131
calculating the travel time standard deviation of the optimized road section:
Figure BDA0002712182010000132
and cleaning the travel time by using a 3 sigma criterion according to the calculated mean value and standard deviation to obtain a first cleaning travel time.
For example, the optimized link is a link from a first intersection to a second intersection, taking forward driving as an example, 100 vehicles are passed through in total from 5:00 to 6:00, and the average value of the travel time of the optimized link is calculated by taking the travel time of the 100 vehicles as the average value: mu is 400, and the standard deviation sigma of the optimized section travel time is 20, then according to the 3 sigma criterion: (μ -3 σ, μ +3 σ) ═ 340,460, travel time T of vehicles A, B and C was found by first cleaning travel timeA=450、TB380 and TC330, then the travel time T for the vehicle C is cleaned according to the 3 σ criterionCFor unreasonable data, cleaning is performed.
And in the second mode, the travel time is cleaned according to a k-means clustering algorithm. The K-means clustering algorithm (K-means clustering algorithm) is an iterative solution clustering analysis algorithm, and comprises the steps of dividing data into K groups in advance, randomly selecting K objects as initial clustering centers, calculating the distance between each object and each seed clustering center, representing a cluster by the clustering centers and the objects distributed to the objects, and distributing each object to the nearest clustering center. And if the distance between the data and the data center is too far, the data is an outlier, and the data is deleted and continuously clustered until the data meets the distance requirement.
And according to a K-means clustering algorithm, grouping the travel time of each vehicle in the optimized road section (K groups), randomly selecting the travel time of N vehicles as an initial clustering center, calculating the distance between the travel time corresponding to each vehicle in the optimized road section and each seed clustering center, and assigning each travel time to the nearest clustering center. And if the distance between the travel time and the data center exceeds a set distance, the travel time is an outlier, the travel time is deleted and clustering is continued, the travel time which does not meet the distance requirement is deleted through a k-means clustering algorithm until the selected travel time meets the set distance, and the travel time is cleaned, so that the first cleaning travel time is obtained.
Because each road section is provided with the speed limit, vehicles running on the optimized road section firstly follow basic traffic criteria and cannot exceed the speed limit, and the electric warning data of the vehicles exceeding the limit in the travel time are unreasonable data and should be cleaned. In addition, the running speed on the road is too low and unreasonable, normal traffic jam is eliminated, and the data with too low speed may be the phenomenon that the vehicle stops midway or returns after running to other paths, so that the first cleaning travel time needs to be cleaned continuously under the condition of presetting the speed limit between the optimized road sections, and the cleaning travel time before optimization and the cleaning travel time after optimization with higher reliability are obtained and are used as the basis for the optimization evaluation of the road traffic.
And cleaning the first cleaning travel time for the second time according to the preset speed limit of the optimized road section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization, and providing a specific implementation mode as follows:
determining a driving speed corresponding to the first cleaning travel time of the vehicle according to the road length of the optimized road section and the first cleaning travel time of the vehicle; and deleting the first cleaning travel time corresponding to the running speed which does not accord with the preset speed limit according to the preset speed limit of the optimized road section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization. It should be noted that, in the optimization evaluation of actual road traffic, a person skilled in the art may clean various types of data in the electric alarm data according to actual needs, for example, data cleaning such as pressing lines of vehicles in an optimized road section and running red lights.
By optimizing the known distance length (noted L) of the road segment, and the travel time (noted T) of each vehicle in the optimized road segmenti) And calculating the running speed of each vehicle as follows:
Figure BDA0002712182010000151
further, according to the preset speed limit of the optimized road section, the maximum speed limit is as follows: v. ofmaxMinimum speed limit vminAnd cleaning the first cleaning travel time corresponding to the running speed of each vehicle in the optimized road section again to obtain the cleaning travel time before optimization and the cleaning travel time after optimization.
For example: the optimized road section is from a first intersection to a second intersection, the road length of the optimized road section is that L is 1000(m), and the preset speed limit of the optimized road section is as follows:
Figure BDA0002712182010000152
minimum speed limit
Figure BDA0002712182010000153
Calculating the corresponding running speed of the first cleaning travel time of each vehicle in the optimized road section, wherein the corresponding first cleaning travel time is T aiming at the vehicles D1, D2 and D3D1=70,TD2=80s,TD3140s, the vehicle travel speeds of the vehicles D1, D2, and D3 are calculated as:
Figure BDA0002712182010000154
further, since it is found that the traveling speed of the vehicle D3 does not satisfy the set speed limit for the optimized link, the first cleaning stroke time T corresponding to the vehicle D3 is determined for the vehicle D3D3Wash 140 s.
By cleaning the travel time of each vehicle in the optimized road section through the cleaning method, the number of effective samples and the corresponding proportion in the optimized road section can be obtained, and effective data evaluation is obtained, so that the degree of data cleaning and the evaluation accuracy are displayed to a certain extent. And recording the sample size after the electric alarm data is cleaned as N, recording the total sample size as N, and then, the effective data proportion is as follows:
Figure BDA0002712182010000161
for example, the total number of vehicles in the optimized link per day is 6343, and the travel time washing of each vehicle in the optimized link results in an effective data rate of 69.19%, which indicates that the travel time washing of each vehicle in the optimized link is good.
By the mode, the first cleaning of the travel time before optimization and the travel time after optimization is utilized, so that part of data missing or abnormal data is deleted from the obtained cleaning travel time before optimization and the cleaning travel time after optimization; meanwhile, the speed limit is utilized to re-clean the first cleaning travel time corresponding to the running speed of the vehicle in the optimized road section, so that unreasonable optimized evaluation data caused by the travel time of the vehicle violating the regulations is avoided, the accuracy of the optimized evaluation result determined by the cleaning travel time before optimization and the cleaning travel time after optimization is ensured, and the obtained data of the cleaning travel time before optimization and the cleaning travel time after optimization has high reliability.
Determining an optimization evaluation result of the optimized road section according to the obtained cleaning travel time before optimization and the cleaning travel time after optimization, and providing a specific implementation mode as follows:
determining the optimization rate of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization; determining whether the optimization rate is a negative value; if so, determining that the optimization evaluation result of the optimized road section is good; otherwise, determining that the optimization evaluation result of the optimized road section is poor.
Aiming at an optimized road section, in a preset time period, calculating the cleaning travel time before optimization to obtain the average value of the travel time before optimization:
Figure BDA0002712182010000162
meanwhile, calculating the optimized cleaning travel time to obtain the average value of the optimized travel time:
Figure BDA0002712182010000171
further, determining the optimization rate of the optimized road section as follows according to the average value of the travel time before optimization and the average value of the travel time after optimization:
Figure BDA0002712182010000172
judging the optimization evaluation result of the optimized road section, namely the optimization rate, if the optimization rate is a negative value, indicating that the travel time of the vehicle after optimization in the optimized road section is reduced, and indicating that the optimization effect is good; if the optimization rate is a positive value, the travel time of the vehicle optimization in the optimized road section is increased, and the optimization effect is poor.
It should be noted that the optimization evaluation result is an average optimization effect in the whole preset time period, and in the actual optimization evaluation, a person skilled in the art may set different optimization evaluation manners according to needs, for example, obtaining a mean value of travel time per hour by dividing travel time of each vehicle in the optimized road segment into 1 hour time period, connecting the obtained travel time mean values by using a smooth curve, obtaining an optimization curve of the travel time mean values before and after optimization in different time periods, and visually observing optimization trends and effects.
For example, taking forward travel of a vehicle in an optimized road segment as an example, the preset time period is one day, the cleaning travel time before optimization and the cleaning travel time after optimization are taken for each hour, the average value of the travel times before optimization and the average value of the travel times after optimization are calculated, and the optimization rate is calculated. Taking 00: 00-06: 00 as an example, the optimization rate of the optimized road section in the time period of 00: 00-06: 00 is obtained, and the table 1 is an optimization evaluation result.
TABLE 1
Figure BDA0002712182010000173
Fig. 3 is a schematic diagram of a travel time scatter plot according to an embodiment of the present invention, which shows an average value of the travel time before optimization and an average value distribution of the travel time after optimization in each unit time in the optimized road segment. In the figure, the triangles represent the mean values of the travel time before optimization, and the circles represent the mean values of the travel time after optimization.
For the optimization evaluation of the road traffic, one possible implementation manner is to utilize the average driving speed of the electronic police in the optimized road section to perform the optimization evaluation of the road traffic. Measuring the distance between the starting point and the end point by using an electronic map and utilizing a formula
Figure BDA0002712182010000181
And calculating the speed of each vehicle from the starting point to the end point in the optimized road section, comparing the optimized average running speed in the optimized road section with the average running speed before optimization by calculating the average travel speed of each vehicle in the optimized road section, wherein if the speed is increased, the optimization effect is improved, and otherwise, the optimization effect is poor.
Another possible implementation is to use the number of passing vehicles per unit time in the optimized section for an optimized evaluation of the road traffic. And calculating the number of vehicles from the starting point to the terminal point within one hour through license plate number matching, comparing the number of passing vehicles in unit time after optimization in the optimized road section with the number of passing vehicles in unit time before optimization, and if the number of passing vehicles is increased, indicating that the optimization effect is improved, otherwise indicating that the optimization effect is poor.
Fig. 4 is a flowchart of a specific optimization evaluation method based on electrical alarm data according to an embodiment of the present invention, which specifically includes the following steps:
in steps 401 to 402 (same as steps 201 to 202), the travel time of each vehicle before optimization and the travel time of each vehicle after optimization are obtained in the optimized section through steps 401 to 402.
Step 403, performing first data cleaning on the travel time before optimization and the travel time after optimization to obtain a first cleaning travel time;
and carrying out first cleaning on the travel time according to a Laplace criterion or a k-means clustering algorithm. One way is to perform cleaning according to the raleigh criterion (3 σ criterion) method, by calculating the mean and standard deviation of the travel time of each vehicle in the optimized section, and according to the probability of 0.9974 in (μ -3 σ, μ +3 σ), data beyond this range is regarded as unreasonable data, and thus data not within the (μ -3 σ, μ +3 σ) range is deleted, resulting in a first cleaning travel time; the other mode is that the travel time which is far away from the data center is deleted through the clustering of iterative solution by a k-means clustering algorithm, and the travel time of each vehicle in the optimized road section is cleaned, so that the first cleaning travel time is obtained.
Step 404, performing secondary cleaning on the first cleaning travel time according to the preset speed limit of the optimized road section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization;
and further, because each road section has a speed limit, performing secondary cleaning on the first cleaning travel time corresponding to the running speed of each vehicle according to the preset speed limit of the optimized road section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization.
Step 405, obtaining effective data evaluation results according to the cleaning results of the travel time before optimization and the travel time after optimization;
the method comprises the steps of carrying out first cleaning on travel time according to a 3 sigma criterion or a k-means clustering algorithm of each vehicle in an optimized road section, carrying out speed limit cleaning in the optimized road section to obtain cleaning travel time before optimization and cleaning travel time after optimization, and obtaining a corresponding effective data proportion according to the number of effective samples (cleaning travel time) and the total number of samples (uncleaned travel time) in the optimized road section to obtain an effective data evaluation result.
And 406, determining an optimization evaluation result of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization.
Determining the optimization rate of the optimized road section by calculating the cleaning travel time before optimization to obtain the average value of the travel time before optimization and the average value of the travel time after optimization by calculating the cleaning travel time after optimization, wherein if the optimization rate is a negative value, the travel time after vehicle optimization in the optimized road section is reduced, and the optimization effect is good; if the optimization rate is a positive value, the travel time of the vehicle optimization in the optimized road section is increased, and the optimization effect is poor.
From the above, it can be seen that: the embodiment of the invention provides an optimization evaluation method and device based on electric alarm data, which are used for acquiring the electric alarm data in a preset time period before optimization and the electric alarm data in a preset time period after optimization of an optimized road section; preprocessing the electric alarm data in the preset time period before optimization and the electric alarm data in the preset time period after optimization to obtain the travel time of each vehicle before optimization and the travel time of each vehicle after optimization; carrying out data cleaning for a plurality of times on the travel time before optimization and the travel time after optimization to obtain the cleaning travel time before optimization and the cleaning travel time after optimization; and determining an optimized evaluation result of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization. The travel time is obtained by preprocessing the electric alarm data of the optimized road section, and the travel time is cleaned to obtain the cleaned travel time for optimizing and evaluating the optimized road section, so that the comprehensiveness and the authenticity of an optimized and evaluated data source for optimizing the road section are ensured; and the travel time after cleaning is obtained by cleaning the obtained travel time and is used for determining an optimization evaluation result, so that the data reliability of the optimization evaluation data is ensured, and the accuracy of the optimization evaluation of the road traffic is improved.
Fig. 5 is a schematic structural diagram of an optimization evaluation device based on electric alarm data according to an embodiment of the present invention. Based on the same conception, the embodiment of the invention provides an optimized evaluation device based on electric alarm data, which is used for realizing any optimized evaluation method based on electric alarm data in the above embodiments. As shown in fig. 5, the optimization evaluation apparatus 500 based on electric alarm data includes: an obtaining module 501 and a processing module 502, wherein:
the acquiring module 501 is configured to acquire electrical alarm data in a preset time period before optimization and electrical alarm data in a preset time period after optimization of an optimized road section;
the processing module 502 is configured to pre-process the electric alarm data in the preset time period before optimization and the electric alarm data in the preset time period after optimization to obtain the travel time of each vehicle before optimization and the travel time of each vehicle after optimization, and perform data cleaning on the travel time before optimization and the travel time after optimization for multiple times to obtain the cleaning travel time before optimization and the cleaning travel time after optimization; and determining an optimized evaluation result of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization.
In one possible design, the processing module 502 is specifically configured to:
acquiring the passing time of the vehicle in the electric alarm data aiming at any one of the electric alarm data in the preset time period before optimization and the electric alarm data in the preset time period after optimization;
determining whether the elapsed time of any vehicle at the downstream intersection of the optimized road segment is greater than the elapsed time at the upstream intersection of the optimized road segment;
if so, determining the difference value of the elapsed time of the vehicle at the downstream intersection of the optimized road section and the elapsed time at the upstream intersection of the optimized road section as the travel time of the vehicle.
In one possible design, the processing module 502 is further configured to:
if the passing time of any vehicle at the downstream intersection of the optimized road section is not more than the passing time at the upstream intersection of the optimized road section, the passing time of the vehicle at the downstream intersection of the optimized road section and the passing time at the upstream intersection of the optimized road section are respectively subjected to time synchronization with the standard time, and the passing time after the time synchronization at the downstream intersection of the optimized road section and the passing time after the time synchronization at the upstream intersection of the optimized road section are obtained;
determining whether the elapsed time of the vehicle after time synchronization at the downstream intersection of the optimized road section is greater than the elapsed time after time synchronization at the upstream intersection of the optimized road section;
if so, determining the difference value of the elapsed time of the vehicle after time synchronization at the downstream intersection of the optimized road section and the elapsed time of the vehicle after time synchronization at the upstream intersection of the optimized road section as the travel time of the vehicle, and otherwise, rejecting the elapsed time of the vehicle at the downstream intersection of the optimized road section and the elapsed time of the upstream intersection of the optimized road section.
In one possible design, the processing module 502 is specifically configured to:
aiming at any one of the travel time before optimization and the travel time after optimization, carrying out first cleaning on the travel time according to a Lauda criterion or a k-means clustering algorithm to obtain first cleaning travel time;
and carrying out secondary cleaning on the first cleaning travel time according to the preset speed limit of the optimized road section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization.
In one possible design, the processing module 502 is specifically configured to:
determining a driving speed corresponding to the first cleaning travel time of the vehicle according to the road length of the optimized road section and the first cleaning travel time of the vehicle;
and deleting the first cleaning travel time corresponding to the running speed which does not accord with the preset speed limit according to the preset speed limit of the optimized road section to obtain the cleaning travel time before optimization and the cleaning travel time after optimization.
In one possible design, the processing module 502 is specifically configured to:
determining the optimization rate of the optimized road section according to the cleaning travel time before optimization and the cleaning travel time after optimization; determining whether the optimization rate is a negative value; if so, determining that the optimization evaluation result of the optimized road section is good; otherwise, determining that the optimization evaluation result of the optimized road section is poor.
Based on the same inventive concept, the embodiment of the present invention further provides another computer device, which may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. The computer device may include a Central Processing Unit (CPU), a memory, an input/output device, etc., the input device may include a keyboard, a mouse, a touch screen, etc., and the output device may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), etc.
The memory may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides the processor with program instructions and data stored in the memory. In an embodiment of the present invention, the memory may be used to store a program of the above-mentioned optimization evaluation method based on the electric alarm data.
The processor is used for executing the optimized evaluation method based on the electric alarm data according to the obtained program instructions by calling the program instructions stored in the memory.
Based on the same inventive concept, embodiments of the present invention provide a computer storage medium for storing computer program instructions for the computer device, which includes a program for executing the above optimized evaluation method based on electric alarm data.
The computer storage media may be any available media or data storage device that can be accessed by a computer, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.

Claims (10)

1. An optimized evaluation method based on electric alarm data is characterized by comprising the following steps:
optimizing traffic signals of each intersection of the road section;
acquiring electric alarm data of the road section in a preset time period before optimization and electric alarm data of the road section in the preset time period after optimization;
preprocessing the electric alarm data of the road section in the preset time period before optimization to obtain the travel time of each vehicle passing through the road section before optimization, and preprocessing the electric alarm data of the vehicle in the preset time period after optimization to obtain the travel time of each vehicle passing through the road section after optimization;
according to the speed limit requirement of the road section, carrying out data cleaning on the travel time of each vehicle passing through the road section before optimization, determining the average travel time of each vehicle passing through the road section before optimization after data cleaning, carrying out data cleaning on the travel time of each vehicle passing through the road section after optimization according to the speed limit requirement of the road section, and determining the average travel time of each vehicle passing through the road section after optimization after data cleaning;
and determining the optimization evaluation result of the road section according to the average travel time of each vehicle passing through the road section before optimization and the average travel time of each vehicle passing through the road section after optimization.
2. The method of claim 1, wherein the preprocessing the electrical alarm data of the road segment before or after the optimization within a preset time period to obtain the travel time of each vehicle passing through the road segment before or after the optimization comprises:
acquiring the passing time of the vehicle in each electric warning data;
and determining whether the passing time of the vehicle at the downstream intersection of the road section is greater than the passing time at the upstream intersection of the road section or not for each vehicle passing through the road section within the preset time, and if so, determining the difference value between the passing time of the vehicle at the downstream intersection of the road section and the passing time at the upstream intersection of the road section as the travel time of the vehicle.
3. The method of claim 2, further comprising:
if the elapsed time of the vehicle at the downstream intersection of the road section is not greater than the elapsed time at the upstream intersection of the road section, respectively carrying out time synchronization on the elapsed time of the vehicle at the downstream intersection of the road section and the elapsed time at the upstream intersection of the road section with standard time to obtain the elapsed time after time synchronization at the downstream intersection of the road section and the elapsed time after time synchronization at the upstream intersection of the road section;
determining whether the elapsed time of the vehicle after time synchronization at the downstream intersection of the road section is greater than the elapsed time of the vehicle after time synchronization at the upstream intersection of the road section, if so, determining the difference value between the elapsed time of the vehicle after time synchronization at the downstream intersection of the road section and the elapsed time after time synchronization at the upstream intersection of the road section as the travel time of the vehicle, and otherwise, rejecting the elapsed time of the vehicle at the downstream intersection of the road section and the elapsed time of the upstream intersection of the road section.
4. The method of claim 1, wherein prior to data cleansing of travel time for each vehicle through the road segment before or after optimization based on speed limit requirements for the road segment, the method further comprises:
and carrying out first data cleaning on the travel time of each vehicle passing through the road section before or after optimization according to a Lauda criterion or a k-means clustering algorithm to obtain first cleaning travel time.
5. The method according to claim 4, wherein the data cleaning of the travel time of each vehicle passing through the road section before or after optimization according to the preset speed limit of the road section comprises the following steps:
determining a driving speed corresponding to the first cleaning travel time according to the road length of the road section and the first cleaning travel time of each vehicle;
and according to the speed limit requirement of the road section, deleting the first cleaning travel time corresponding to the running speed which does not meet the speed limit requirement.
6. The method according to any one of claims 1 to 5, wherein determining the optimized evaluation result of the road section according to the average travel time of each vehicle passing through the road section before optimization and the average travel time of each vehicle passing through the road section after optimization comprises:
determining the optimization rate of the road section according to the average travel time of each vehicle passing through the road section before optimization and the average travel time of each vehicle passing through the road section after optimization;
determining whether the optimization rate is a negative value; if so, determining that the optimization evaluation result of the road section is good; otherwise, determining that the optimization evaluation result of the road section is poor.
7. An optimization evaluation device based on electric alarm data is characterized by comprising:
the acquisition module is used for acquiring the electric alarm data of the road section in a preset time period before optimization and the electric alarm data of the road section in the preset time period after optimization;
the processing module is used for preprocessing the electric alarm data of the road section in the preset time period before optimization to obtain the travel time of each vehicle passing through the road section before optimization, and preprocessing the electric alarm data of the vehicle in the preset time period after optimization to obtain the travel time of each vehicle passing through the road section after optimization;
according to the speed limit requirement of the road section, carrying out data cleaning on the travel time of each vehicle passing through the road section before optimization, determining the average travel time of each vehicle passing through the road section before optimization after data cleaning, carrying out data cleaning on the travel time of each vehicle passing through the road section after optimization according to the speed limit requirement of the road section, and determining the average travel time of each vehicle passing through the road section after optimization after data cleaning;
and determining the optimization evaluation result of the road section according to the average travel time of each vehicle passing through the road section before optimization and the average travel time of each vehicle passing through the road section after optimization.
8. The apparatus of claim 7, wherein the processing module is specifically configured to:
acquiring the passing time of the vehicle in each electric warning data;
and determining whether the passing time of the vehicle at the downstream intersection of the road section is greater than the passing time at the upstream intersection of the road section or not for each vehicle passing through the road section within the preset time, and if so, determining the difference value between the passing time of the vehicle at the downstream intersection of the road section and the passing time at the upstream intersection of the road section as the travel time of the vehicle.
9. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 6 in accordance with the obtained program.
10. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1-6.
CN202011060442.7A 2020-09-30 2020-09-30 Optimized evaluation method and device based on electric alarm data Active CN112185117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011060442.7A CN112185117B (en) 2020-09-30 2020-09-30 Optimized evaluation method and device based on electric alarm data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011060442.7A CN112185117B (en) 2020-09-30 2020-09-30 Optimized evaluation method and device based on electric alarm data

Publications (2)

Publication Number Publication Date
CN112185117A CN112185117A (en) 2021-01-05
CN112185117B true CN112185117B (en) 2021-12-24

Family

ID=73947222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011060442.7A Active CN112185117B (en) 2020-09-30 2020-09-30 Optimized evaluation method and device based on electric alarm data

Country Status (1)

Country Link
CN (1) CN112185117B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103258430A (en) * 2013-04-26 2013-08-21 青岛海信网络科技股份有限公司 Road traveling time calculating and traffic road condition judging method and road traveling time calculating and traffic road condition judging device
CN107862863A (en) * 2017-10-16 2018-03-30 贵阳海信网络科技有限公司 A kind of method and device of traffic data quality lifting
CN108335482A (en) * 2017-01-20 2018-07-27 亚信蓝涛(江苏)数据科技有限公司 A kind of urban transportation Situation Awareness method and method for visualizing
CN108597235A (en) * 2018-05-08 2018-09-28 中南大学 Intersection signal parameter optimization and effect evaluation method based on traffic video data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7912628B2 (en) * 2006-03-03 2011-03-22 Inrix, Inc. Determining road traffic conditions using data from multiple data sources
CN106875699B (en) * 2017-03-21 2019-10-01 陆化普 A kind of traffic control optimization method and device
CN108932855A (en) * 2017-05-22 2018-12-04 阿里巴巴集团控股有限公司 Road traffic control system, method and electronic equipment
CN110459067B (en) * 2019-08-27 2020-12-08 广东方纬科技有限公司 Traffic green road signal coordination control evaluation method and system based on vehicle individuals

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103258430A (en) * 2013-04-26 2013-08-21 青岛海信网络科技股份有限公司 Road traveling time calculating and traffic road condition judging method and road traveling time calculating and traffic road condition judging device
CN108335482A (en) * 2017-01-20 2018-07-27 亚信蓝涛(江苏)数据科技有限公司 A kind of urban transportation Situation Awareness method and method for visualizing
CN107862863A (en) * 2017-10-16 2018-03-30 贵阳海信网络科技有限公司 A kind of method and device of traffic data quality lifting
CN108597235A (en) * 2018-05-08 2018-09-28 中南大学 Intersection signal parameter optimization and effect evaluation method based on traffic video data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
城市交通数据采集设备质量分析;李建森;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20190915(第09期);第1-39页 *

Also Published As

Publication number Publication date
CN112185117A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN112700072B (en) Traffic condition prediction method, electronic device, and storage medium
CN109634801B (en) Data trend analysis method, system, computer device and readable storage medium
US20210375128A1 (en) System and method for detection and quantification of irregular traffic congestion
CN110782659B (en) Road condition determining method, road condition determining device, server and storage medium
CN107331172B (en) Traffic phase adjusting method and device based on road traffic state
CN107389085B (en) Method and device for determining road traffic attributes, computer and storage medium
CN109684162B (en) Equipment state prediction method, system, terminal and computer readable storage medium
CN110132293B (en) Route recommendation method and device
CN110304068B (en) Method, device, equipment and storage medium for collecting automobile driving environment information
CN114078327A (en) Road congestion state detection method, device, equipment and storage medium
CN109841078B (en) Navigation data processing method and device and storage medium
CN110728759B (en) ETC portal transaction success rate detection method and device, computing equipment and medium
CN110471999B (en) Trajectory processing method, apparatus, device and medium
US11443621B2 (en) Method and apparatus for adjusting channelization of traffic intersection
Li et al. A multi-categorical probabilistic approach for short-term bike sharing usage prediction
CN111369810A (en) Vehicle travel characteristic acquisition method and device, electronic equipment and storage medium
CN111369790B (en) Vehicle passing record correction method, device, equipment and storage medium
CN112185117B (en) Optimized evaluation method and device based on electric alarm data
WO2023241388A1 (en) Model training method and apparatus, energy replenishment intention recognition method and apparatus, device, and medium
CN110837979B (en) Safe driving risk prediction method and device based on random forest
CN115563522B (en) Traffic data clustering method, device, equipment and medium
CN110555425A (en) Video stream real-time pedestrian detection method
CN114169247A (en) Method, device and equipment for generating simulated traffic flow and computer readable storage medium
WO2022245295A2 (en) System and method for predicting delivery time for batch orders
CN114627643A (en) Expressway accident risk prediction method, device, equipment and medium

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