CN115100856B - Method for analyzing vehicle flow direction from multiple departure places to multiple destinations - Google Patents

Method for analyzing vehicle flow direction from multiple departure places to multiple destinations Download PDF

Info

Publication number
CN115100856B
CN115100856B CN202210695137.8A CN202210695137A CN115100856B CN 115100856 B CN115100856 B CN 115100856B CN 202210695137 A CN202210695137 A CN 202210695137A CN 115100856 B CN115100856 B CN 115100856B
Authority
CN
China
Prior art keywords
vehicle
destination
source
bayonet
flow direction
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
CN202210695137.8A
Other languages
Chinese (zh)
Other versions
CN115100856A (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.)
Traffic Management Research Institute of Ministry of Public Security
Original Assignee
Traffic Management Research Institute of Ministry of Public Security
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 Traffic Management Research Institute of Ministry of Public Security filed Critical Traffic Management Research Institute of Ministry of Public Security
Priority to CN202210695137.8A priority Critical patent/CN115100856B/en
Publication of CN115100856A publication Critical patent/CN115100856A/en
Application granted granted Critical
Publication of CN115100856B publication Critical patent/CN115100856B/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
    • G08G1/0129Traffic data processing for creating historical data or processing based on historical data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

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

Abstract

After presetting a source place, a destination and an analysis time period for vehicle flow analysis from a plurality of departure places to a plurality of destinations, finding all bayonet devices in the source place and the destination according to the corresponding relation between regions of different administrative district levels and bayonet record information included in the source place and the destination, and extracting to-be-operated data corresponding to the source place and the destination from national vehicle passing record data; counting the basic information of the traffic of the source and destination vehicles to be analyzed through the number plate types and the number plate numbers included in the data to be operated; and further, obtaining a vehicle flow direction analysis basic result from a source to a destination for each target vehicle, filtering the abnormal data to obtain a vehicle flow direction analysis result, grouping the vehicle flow direction analysis results according to the destination, and then respectively pushing the vehicle flow direction analysis result to the destination.

Description

Method for analyzing vehicle flow direction from multiple departure places to multiple destinations
Technical Field
The invention relates to the technical field of intelligent traffic control, in particular to a vehicle flow direction analysis method from a plurality of departure places to a plurality of destinations.
Background
In modern traffic control, in the face of an emergency outside a province or a city, vehicles with a history of passing through a key area in each district need to be rapidly checked and controlled and continuously focused, and rapid and accurate analysis of vehicle flow direction is required. Particularly, when it is necessary to check and control vehicles which start from a plurality of designated departure places and flow into a plurality of designated destinations, the check and control work needs to be carried out daily and is continued for a long time, the source place and the destination are in a change, the administrative district levels of the source place and the destination are also in a change, the data calculation amount is very large, and the calculation is complex. In the prior art, no quick and accurate method can quickly determine the vehicle flow direction from a plurality of sources to a plurality of destinations, and a management department is generally required to take a great deal of manpower and time to complete the investigation and analysis.
Disclosure of Invention
In order to solve the problem that the existing traffic control technology cannot achieve multi-source to multi-destination vehicle flow direction analysis, the invention provides a multi-source to multi-destination vehicle flow direction analysis method from a plurality of departure places to a plurality of destinations, which can accurately research and judge the multi-source to multi-destination vehicle flow direction in a preset period, and provide data support for rapidly positioning and checking and controlling related vehicles in destination jurisdictions, thereby not only improving the analysis work efficiency, but also saving human resources.
The technical scheme of the invention is as follows: a method of analyzing a vehicle flow direction from a plurality of departure points to a plurality of destinations, comprising the steps of:
s1: creating a vehicle passing record extraction operation record table, which is recorded as: an operation record table initialized to be empty;
the operation record table includes: administrative district codes and dates;
constructing a basic data set and initializing to be empty;
the base data set includes: provincial level vehicle passing basic information, municipal level vehicle passing basic information and regional level vehicle passing basic information;
s2: determining a source, a destination and an analysis period of time for which a vehicle flow direction analysis is required;
the source is: areas where vehicle outflow analysis is required;
the destination is: the area into which the vehicle is to be analyzed;
the analysis time period is as follows: a time period during which a vehicle flow direction analysis is required;
s3: extracting administrative division codes corresponding to the source and the destination and dates corresponding to the analysis time period to generate a temporary table;
the temporary table includes: administrative district codes and dates;
s4: comparing the temporary table with the operation record table, deleting the data of administrative areas and date repetition in the two tables from the temporary table, and obtaining a table to be operated; the table to be operated includes: administrative district codes and dates;
s5: acquiring a vehicle passing record in a national range in the analysis time period, and creating national vehicle passing record data;
the national vehicle passage record data includes: the bayonet equipment number, the bayonet snapshot time, the bayonet snapshot direction, the number plate type and the number plate number;
s6: associating the national vehicle passing record data with the table to be operated based on the bayonet record information, and extracting the vehicle passing record data corresponding to the source and the destination to obtain: data to be operated;
and recording the vehicles included in the data to be operated as: a vehicle to be analyzed;
the bayonet record information comprises: the method comprises the steps of bayonet equipment numbering, a bayonet-located province 2-bit province code, a bayonet-located city 4-bit city code, a bayonet-located administrative division 6-bit administrative division code, a bayonet-located road type, a bayonet longitude and a bayonet latitude;
the data to be operated includes: the method comprises the steps of bayonet equipment numbering, bayonet snapshot time, bayonet snapshot direction, number plate type, number plate number, 2-bit province code of the province where the bayonet is located, 4-bit city code of the city where the bayonet is located and 6-bit administrative division code of the administrative division where the bayonet is located;
s7: according to the table to be operated, based on the number plate number, the number plate type and the administrative division code in the data to be operated, after the data to be operated are arranged, the basic traffic information of the vehicle to be analyzed in each administrative division is respectively extracted according to the administrative division level;
the passing basic information of the vehicles to be analyzed in each administrative area is respectively stored into provincial vehicle passing basic information, municipal vehicle passing basic information and regional vehicle passing basic information in the basic data set according to the administrative area level;
storing the contents of the table to be operated into the operation record table;
s8: respectively counting the passing basic information of each vehicle included in the basic data set corresponding to the destination and the source in the analysis time period according to different administrative district levels from the basic data set;
the vehicles included in the basic data set in the analysis period are recorded as: a target vehicle;
recording the counted vehicle passing basic information of the destination and the source at each administrative district level as: a regional traffic basic information dataset; the regional traffic basic information data set comprises: source vehicle traffic basic information and destination vehicle traffic basic information;
s9: according to different combinations of administrative district levels, extracting source and destination vehicle passing basic information pair by pair from the district passing basic information data set, carrying out data screening based on the source and destination, and reserving the associated results that the source and destination are different and the latest snapshot time of the source is earlier than the latest snapshot time of the destination for each target vehicle, wherein the associated results are recorded as: analyzing a basic result of the vehicle flow direction;
s10: filtering abnormal data in the basic result of the vehicle flow direction analysis to obtain a vehicle flow direction analysis result;
s11: grouping the vehicle flow direction analysis results according to the destination, and then respectively pushing the vehicle flow direction analysis results to the destination;
s12: step S9 to step S11 are circularly executed until all the data of the administrative region levels corresponding to the destination and the source are extracted and participate in calculation, and then the flow direction analysis of the vehicle is completed;
s13: and designating the source, the destination and the analysis time period, and circularly executing the steps S2-S12 to continuously monitor the vehicle flow direction.
It is further characterized by:
the vehicle flow direction analysis result includes: vehicle information, source information, destination information, source traffic record information for an analysis period, destination traffic record information for an analysis period;
the vehicle information includes: number plate type, number plate number;
the source location information includes: source province code, city code and administrative division code;
the destination information includes: destination province code, city code, administrative division code;
analyzing the source-location passing record information for a time period includes: the method comprises the steps of capturing the number of times of the vehicle at a source, capturing the number of times of the expressway, capturing the earliest capturing time, capturing the latest capturing time, driving days, capturing the corresponding bayonet equipment number, capturing direction, road and road type of the vehicle at the source at the latest capturing time;
analyzing the destination entry information for a time period includes: the method comprises the steps of capturing the number of times of capturing the vehicle at a destination, capturing the number of times of capturing the vehicle on an expressway, capturing the earliest capturing time, capturing the latest capturing time, driving days, capturing the corresponding bayonet equipment number, capturing direction, road and road type of the vehicle at the destination at the latest capturing;
the vehicle flow direction analysis basic result is divided into a source administrative district level and a destination administrative district level, and the vehicle flow direction analysis basic result comprises the following components: province-province, province-city, province-district, city-province, city-city, city-district, district-province, district-city, district-district;
in step S10, filtering the abnormal data in the basic result of the vehicle flow direction analysis, including the following steps:
a1: presetting a speed threshold vt;
the speed threshold is the maximum value of the average running speed that the target vehicle can reach between two areas;
a2: acquiring a bayonet device when the target vehicle is captured for the last time at the source, acquiring longitude and latitude of the bayonet device from record information of the bayonet device, and marking as: source latitude and longitude Gs; the snapshot time is recorded as: t1;
acquiring a bayonet device when the target vehicle is captured for the last time at a destination, acquiring longitude and latitude of the bayonet device from record information of the bayonet device, and marking as: destination longitude and latitude Ge; the snapshot time is recorded as: tg;
a3: calculating the source longitude and latitude Gs and the spherical distance of the destination longitude and latitude Ge to obtain a space interval L between the source and the destination;
calculating the difference between T1 and tg to obtain a time interval T of a source and a destination;
then, the travel speed v=l/T of the target vehicle between the two regions;
a4: comparing V and vt;
if V > vt, judging that the traffic record data of the target vehicle from the source and the destination is abnormal data;
otherwise, judging the data to be non-abnormal data;
a5: deleting the vehicle passing record information corresponding to the abnormal data, and completing the filtering of the abnormal data to obtain the vehicle flow direction analysis result.
After presetting source places, destinations and analysis time periods for vehicle flow analysis, according to the corresponding relation between areas with different administrative district levels and gate record information, all gate equipment in the source places and the destinations are found, and data to be operated corresponding to the source places and the destinations are extracted from national vehicle traffic record data; counting the basic information of the traffic of the source and destination vehicles to be analyzed through the number plate types and the number plate numbers included in the data to be operated; further, aiming at each target vehicle, obtaining a basic vehicle flow direction analysis result from a source to a destination, filtering abnormal data to obtain a vehicle flow direction analysis result, grouping the vehicle flow direction analysis results according to the destination, and respectively pushing the vehicle flow direction analysis result to the destination; according to the technical scheme, all data are firstly divided according to administrative district levels, abnormal data are filtered on the flow direction analysis result, so that the traffic record data of the vehicle from the departure place to the destination is obtained, redundant data processing and storage are avoided, a final result is obtained rapidly, and the method is particularly suitable for a mass data analysis process with a long duration; meanwhile, basic information of vehicles passing through administrative areas of different levels is stored by constructing a basic data set, an operation record table, a temporary table and a to-be-operated table are extracted by taking the vehicle passing record as the assistance of massive data extraction and analysis, the temporary table and the operation record table are compared before the data of a source place and a destination are extracted and analyzed each time, when the source place, the destination and the analysis time period of each analysis process are crossed with the past analysis, the administrative areas which are already involved in the data extraction and the analysis and the corresponding dates thereof are filtered, repeated operation is not performed, repeated storage and analysis of the data are avoided, the integral analysis efficiency of the system is improved, the result can be calculated quickly and accurately, the technical scheme of the invention is ensured to be flexibly applicable to various different scenes, the efficiency of analysis work is improved, and the manpower resources are saved.
Drawings
FIG. 1 is a flow chart of a method for analyzing a vehicle flow from a plurality of sources to a plurality of destinations according to the present invention.
Detailed Description
As shown in fig. 1, the present invention includes a vehicle flow direction analysis method from a plurality of departure points to a plurality of destinations, which includes the following steps.
S1: creating a vehicle passing record extraction operation record table, which is recorded as: an operation record table initialized to be empty;
the operation record table includes: administrative district codes and dates;
constructing a basic data set and initializing to be empty;
the base data set includes: provincial level vehicle passing basic information, municipal level vehicle passing basic information and regional level vehicle passing basic information.
In the implementation, the fields included in the basic data set are data which can be directly collected based on the existing bayonet equipment and the bayonet record information, and the specific packet includes: number plate type, number plate number, bayonet equipment number, bayonet snap direction, bayonet snap time, type of road where the bayonet is located, city code where the bayonet is located, administrative division code where the bayonet is located, initial snap time, snap times and highway snap times.
S2: determining a source, a destination and an analysis period of time for which a vehicle flow direction analysis is required;
the source is as follows: areas where vehicle outflow analysis is required;
the destination is: the area into which the vehicle is to be analyzed;
the analysis period was: a period of time is required for the vehicle flow direction analysis.
According to the existing administrative division and the recording mode of administrative division codes, the source and destination comprise: province, city and district level administrative areas, wherein the province, city and district level administrative areas are respectively indicated by 2, 4 and 6 administrative division codes.
In this embodiment: the analysis time period is 2022, 1 month, 1 day to 2 days, and the total time period is 2 days;
the source is set as the south Gong Shi of the Chen Tai City of Hebei province and Hebei province, and the administrative division codes are 13, 1305 and 130581 respectively;
the destination is set as Jiangsu province, suzhou city, jiangsu province, kunshan city, and administrative division codes are 32, 3205 and 320583 respectively.
S3: extracting administrative division codes corresponding to the source and destination and dates corresponding to the analysis time period to generate a temporary table; the temporary table includes: administrative division codes and dates.
S4: comparing the temporary table with the operation record table, deleting the data of the administrative areas and the date repetition in the two tables from the temporary table, and obtaining a table to be operated; the table to be operated includes: administrative district codes and dates; refer specifically to table 1.
Table 1: embodiment of table to be operated
Administrative division codes Date of day
13 2022-01-01
1305 2022-01-01
130581 2022-01-01
32 2022-01-01
3205 2022-01-01
320583 2022-01-01
13 2022-01-02
1305 2022-01-02
130581 2022-01-02
32 2022-01-02
3205 2022-01-02
320583 2022-01-02
The administrative areas and corresponding dates which are subjected to data extraction and storage are filtered through comparison of the temporary table and the operation record table, administrative areas and corresponding dates which are not subjected to data extraction and storage are recorded in the to-be-operated table, and the to-be-operated table is used as the guide of the massive traffic record data extraction and storage steps, so that the source, the destination and the analysis time period can be flexibly specified, and the calculated amount and the storage space of the system redundancy are not increased.
S5: acquiring a vehicle passing record in a national range in an analysis time period, and creating national vehicle passing record data;
the national vehicle passage record data includes: the bayonet equipment number, the bayonet snapshot time, the bayonet snapshot direction, the number plate type and the number plate number;
s6: the national vehicle passing record data is associated with a table to be operated based on the bayonet record information, and the vehicle passing record data corresponding to the source and the destination is extracted to obtain: data to be operated;
the vehicle included in the data to be operated is noted as: a vehicle to be analyzed;
the bayonet record information comprises the following fields: the method comprises the steps of bayonet equipment numbering, a bayonet-located province 2-bit province code, a bayonet-located city 4-bit city code, a bayonet-located administrative division 6-bit administrative division code, a bayonet-located road type, a bayonet longitude and a bayonet latitude;
the data to be operated includes: bayonet equipment number, bayonet snapshot time, bayonet snapshot direction, number plate type, number plate number, 2-bit province code of province where the bayonet is located, 4-bit city code of city where the bayonet is located and 6-bit administrative division code of administrative division where the bayonet is located.
S7: according to the to-be-operated table, based on the number plate number, the number plate type and the administrative division code in the to-be-operated data, after the to-be-operated data are arranged, the passing basic information of the to-be-analyzed vehicle in each administrative division is respectively extracted according to the administrative division level;
wherein the administrative division code includes: dividing the data to be operated into three administrative district level data respectively by a 2-bit province code, a 4-bit city code and a 6-bit administrative district code, and then extracting respectively according to the vehicles to be analyzed;
the method comprises the steps that the passing basic information of vehicles to be analyzed in each administrative area is respectively stored into provincial vehicle passing basic information, municipal vehicle passing basic information and regional vehicle passing basic information in a basic data set according to the administrative area level;
and storing the contents of the table to be operated into an operation record table.
In the specific implementation, the provincial level vehicle passing basic information, the municipal level vehicle passing basic information and the district level vehicle passing basic information in the basic data set are counted and stored by taking the date as a unit, and the specific contents are as follows:
the provincial vehicle passing basic information comprises the following fields: the license plate type, the license plate number, the provincial code, the bayonet equipment number corresponding to the latest snapshot in the province in the vehicle one day, the snapshot direction, the road type, the city code, the administrative division code, the initial snapshot time, the latest snapshot time, the snapshot times and the expressway snapshot times in the province in the vehicle one day;
the city level vehicle passing basic information comprises the following fields: the license plate type, the license plate number, the province code, the city code, the bayonet equipment number corresponding to the latest snapshot in the city in one day of the vehicle, the snapshot direction, the road type, the administrative division code, the initial snapshot time, the latest snapshot time, the snapshot times and the expressway snapshot times in the city in one day of the vehicle;
the zone-level vehicle passing basic information includes the following fields: the license plate type, the license plate number, the province code, the city code, the administrative division code, the bayonet equipment number corresponding to the latest snapshot in the area within one day of the vehicle, the snapshot direction, the road type, the initial snapshot time, the latest snapshot time, the snapshot times and the expressway snapshot times in the area within one day of the vehicle.
S8: respectively counting the passing basic information of each vehicle included in the basic data set, corresponding to the destination and the source in the analysis time period according to different administrative region levels from the basic data set; the vehicles included in the basic data set in the analysis period are recorded as: a target vehicle;
the basic information of the counted vehicle traffic of the destination and the source of each administrative district level is recorded as: a regional traffic basic information dataset; the regional traffic basic information data set includes: source vehicle traffic basic information and destination vehicle traffic basic information.
And respectively associating the basic data set with administrative division codes of corresponding levels in the temporary table, and respectively counting the passing basic information of the target vehicle at each source and destination according to different administrative division levels, wherein the passing basic information of the source and destination is respectively stored in three types of provinces, cities and regions.
In this embodiment, the source is set as the south Gong Shi of the chen city of the Hebei province; the destination is set as Jiangsu province, jiangsu province Suzhou city, jiangsu province Suzhou Kunshan city. The source and destination include administrative levels of: when the method is implemented, the first round of operation data of the Hebei province and Jiangsu province are extracted according to the province level, the statistical passing basic information is stored in a basic data set, and then the vehicle passing basic information of the Hebei province and Jiangsu province in a time period is respectively counted and analyzed, so that the following steps S9 to S11 are implemented; the second round is to extract the operation data of the Suzhou city of Hebei province according to the city level, count and pass the basic information and store the basic data set, then count and analyze the basic information of vehicle passing of the Suzhou city of Jiangsu province in the time period separately from it, implement the subsequent step S9-S11; and extracting data to be operated in the south palace city of Hebei province and the Kunshan city of Suzhou province according to the region level, counting the passing basic information and storing the data into a basic data set, and respectively counting and analyzing the passing basic information of vehicles in the south palace city of Hebei province and Suzhou province in the time period from the data to execute the following steps S9-S11.
The provincial source and destination vehicle passing basic information comprises the following fields: number plate type, number plate number and province code; the vehicle corresponds to the latest snapshot in the province during the time period: the bayonet equipment number, the snapshot direction, the road type, the city code and the administrative division code; the vehicle is within the province during the time period: the method comprises the steps of initial snapshot time, latest snapshot time, total snapshot times, total highway snapshot times and snapshot days;
the city grade source and destination vehicle passing basic information comprises the following fields: number plate type, number plate number, province code, city code; the vehicle corresponds to the latest snapshot of the city during the time period: the bayonet equipment number, the snap shooting direction, the road where the snap shooting direction is located, the road type and administrative division codes; the vehicle is in the city for a period of time: the method comprises the steps of initial snapshot time, latest snapshot time, total snapshot times, total highway snapshot times and snapshot days;
the zone-level source and destination vehicle passing basic information comprises the following fields: number plate type, number plate number, province code, city code and administrative division code; the vehicle takes a snapshot of the corresponding latest in the zone during the period: the number of the bayonet equipment, the snapshot direction, the road where the bayonet equipment is located and the road type; the vehicle is within this zone during the period: the time of initial snapshot, the time of latest snapshot, the total number of times of highway snapshot and the number of days of snapshot.
S9: according to different combinations of administrative district levels, extracting source and destination vehicle passing basic information pair by pair from a regional passing basic information data set, carrying out data screening based on the source and destination, reserving the associated result that the source and destination are different and the latest snapshot time of the source is earlier than the latest snapshot time of the destination for each target vehicle, and recording as: the vehicle flow direction analyzes the base result.
The basic result of vehicle flow direction analysis is divided according to the source and destination administrative district levels, and in this embodiment, different combinations of administrative district levels specifically include 9 dividing modes: province-province, province-city, province-district, city-province, city-city, city-district, district-province, district-city, district-district.
In practice, a pair of source and destination administrative district levels are taken each time, such as: the province-area performs data screening on the vehicle passing basic information of the province-level source and the area-level destination based on the target vehicle.
The field content included in the basic result of the vehicle flow direction analysis is the same as that of the vehicle flow direction analysis result, and the method comprises the following steps: vehicle information, source information, destination information, source traffic record information for an analysis period, destination traffic record information for an analysis period;
the vehicle information includes: number plate type, number plate number;
the source location information includes: source province code, city code and administrative division code;
the destination information includes: destination province code, city code, administrative division code;
analyzing the source traffic record information for the time period includes: the method comprises the steps of capturing the number of times of the vehicle at a source, capturing the number of times of the expressway, capturing the earliest capturing time, capturing the latest capturing time, driving days, capturing the corresponding bayonet equipment number, capturing direction, road and road type of the vehicle at the source at the latest capturing time;
analyzing the destination entry information for the time period includes: the method comprises the steps of capturing the vehicle at a destination, capturing the vehicle at the expressway, capturing the vehicle at the earliest capturing time, capturing the vehicle at the latest capturing time, driving days, capturing the vehicle at the latest capturing corresponding bayonet equipment number, capturing direction, road and road type.
In this embodiment, the basic results of the vehicle flow direction analysis are 9 types, namely, jiangsu province, hebei province, jiangsu province, kunshan city, hebei province, chen table city, jiangsu province, chen table city, jiangsu province, suzhou, kunshan city, hebei province, chen table city, south Gong Shi, jiangsu province, hebei province, south Gong Shi, jiangsu province, and Hebei province, south Gong Shi, jiangsu province, kunshan city.
S10: and filtering the abnormal data in the basic result of the vehicle flow direction analysis to obtain the result of the vehicle flow direction analysis.
Filtering abnormal data in a basic result of vehicle flow direction analysis, and specifically comprising the following steps:
a1: presetting a speed threshold vt;
the speed threshold is the maximum value of the average running speed that the target vehicle can reach between two regions;
a2: acquiring a bayonet device when a target vehicle is captured for the last time at a source place, acquiring longitude and latitude of the bayonet device in record information of the bayonet device, and marking as: source latitude and longitude Gs; the snapshot time is recorded as: t1;
acquiring a bayonet device when a target vehicle is captured for the last time at a destination, acquiring longitude and latitude of the bayonet device in record information of the bayonet device, and marking as: destination longitude and latitude Ge; the snapshot time is recorded as: tg;
a3: calculating the spherical distance of the longitude and latitude Gs of the source and the longitude and latitude Ge of the destination to obtain the space interval L of the source and the destination;
calculating the difference between T1 and tg to obtain a time interval T of a source and a destination;
then, the traveling speed v=l/T of the target vehicle between the two regions;
a4: comparing V and vt;
if V > vt, judging that the traffic record data of the target vehicle from the source and the destination is abnormal data;
otherwise, judging the data to be non-abnormal data;
a5: deleting the vehicle passing record information corresponding to the abnormal data, and completing the filtering of the abnormal data to obtain a vehicle flow direction analysis result.
In this embodiment, the speed threshold vt is set to 120km/h, namely: under the current rule of the running speed of the expressway, the running average speed of the vehicle cannot exceed 120km/h, and when the running average speed exceeds the threshold value, the situation that the same number plate is generated on two places due to the fact that the images are captured in a wrong mode is considered, the analysis result corresponding to the abnormal data is deleted, abnormal data filtering is completed, and accuracy of the calculation result is improved.
S11: and grouping the vehicle flow direction analysis results according to the destinations, and then respectively pushing the vehicle flow direction analysis results to each destination.
The vehicle flow direction analysis results include: vehicle information, source information, destination information, source traffic record information for an analysis period, destination traffic record information for an analysis period;
the vehicle information includes: number plate type, number plate number;
the source location information includes: source province code, city code and administrative division code;
the destination information includes: destination province code, city code, administrative division code;
analyzing the source traffic record information for the time period includes: the method comprises the steps of capturing the number of times of the vehicle at a source, capturing the number of times of the expressway, capturing the earliest capturing time, capturing the latest capturing time, driving days, capturing the corresponding bayonet equipment number, capturing direction, road and road type of the vehicle at the source at the latest capturing time;
analyzing the destination entry information for the time period includes: the method comprises the steps of capturing the vehicle at a destination, capturing the vehicle at the expressway, capturing the vehicle at the earliest capturing time, capturing the vehicle at the latest capturing time, driving days, capturing the vehicle at the latest capturing corresponding bayonet equipment number, capturing direction, road and road type.
The vehicle flow direction analysis results are integrated according to the destination, and are the analysis results of the pushing of the Hebei province, jiangsu province, hebei province, chen, nanno Gong Shi, jiangsu province, the pushing of the Hebei province, jiangsu province, hebei province, chen, jiangsu province, nan Gong Shi, jiangsu province, kunshan, jiangsu province, and the pushing of the Hebei province, jiangsu province, chen, jiangsu province, and Chen Gong Shi, jiangsu province.
S12: and (9) circularly executing the steps S9-S11 until all administrative region level data corresponding to the destination and the source are extracted and participate in calculation, and then completing the current vehicle flow direction analysis.
S13: the source, destination and analysis period are designated, and steps S2-S12 are cyclically executed to continuously monitor the vehicle flow direction.
By using the technical scheme of the invention, an analysis time period, a source place and a destination are preset, a temporary table is set, the temporary table is compared with a vehicle passing record extraction operation record table, the minimum processing capacity of each extraction and storage of massive passing record data is determined, and the system processing efficiency is improved; and (3) organizing source and destination vehicle passing record data in three stages of provinces, cities and regions, counting the basic information of source and destination passing vehicles in each stage, correlating the source and destination passing vehicle basic information in an analysis time period, screening and integrating, and pushing to each destination. According to the technical scheme, new hardware equipment is not required to be added, and the traffic flow direction from multiple sources to multiple destinations is clearly organized and high in efficiency in research and judgment by combining the record information of the bayonet equipment. The technical scheme of the invention not only can avoid redundant processing and storage of data, but also has the advantages of classified data processing process, clear and clear regulations, easy realization, rich and detailed analysis result content, and provides powerful support for vehicle organization control of various areas flowing into jurisdictions from different important attention sources and daily attention maintenance under emergency conditions.

Claims (4)

1. A method of analyzing a vehicle flow direction from a plurality of departure points to a plurality of destinations, comprising the steps of:
s1: creating a vehicle passing record extraction operation record table, which is recorded as: an operation record table initialized to be empty;
the operation record table includes: administrative district codes and dates;
constructing a basic data set and initializing to be empty;
the base data set includes: provincial level vehicle passing basic information, municipal level vehicle passing basic information and regional level vehicle passing basic information;
s2: determining a source, a destination and an analysis period of time for which a vehicle flow direction analysis is required;
the source is: areas where vehicle outflow analysis is required;
the destination is: the area into which the vehicle is to be analyzed;
the analysis time period is as follows: a time period during which a vehicle flow direction analysis is required;
s3: extracting administrative division codes corresponding to the source and the destination and dates corresponding to the analysis time period to generate a temporary table;
the temporary table includes: administrative district codes and dates;
s4: comparing the temporary table with the operation record table, deleting the data of administrative areas and date repetition in the two tables from the temporary table, and obtaining a table to be operated; the table to be operated includes: administrative district codes and dates;
s5: acquiring a vehicle passing record in a national range in the analysis time period, and creating national vehicle passing record data;
the national vehicle passage record data includes: the bayonet equipment number, the bayonet snapshot time, the bayonet snapshot direction, the number plate type and the number plate number;
s6: associating the national vehicle passing record data with the table to be operated based on the bayonet record information, and extracting the vehicle passing record data corresponding to the source and the destination to obtain: data to be operated;
and recording the vehicles included in the data to be operated as: a vehicle to be analyzed;
the bayonet record information comprises: the method comprises the steps of bayonet equipment numbering, a bayonet-located province 2-bit province code, a bayonet-located city 4-bit city code, a bayonet-located administrative division 6-bit administrative division code, a bayonet-located road type, a bayonet longitude and a bayonet latitude;
the data to be operated includes: the method comprises the steps of bayonet equipment numbering, bayonet snapshot time, bayonet snapshot direction, number plate type, number plate number, 2-bit province code of the province where the bayonet is located, 4-bit city code of the city where the bayonet is located and 6-bit administrative division code of the administrative division where the bayonet is located;
s7: according to the table to be operated, based on the number plate number, the number plate type and the administrative division code in the data to be operated, after the data to be operated are arranged, the basic traffic information of the vehicle to be analyzed in each administrative division is respectively extracted according to the administrative division level;
the passing basic information of the vehicles to be analyzed in each administrative area is respectively stored into provincial vehicle passing basic information, municipal vehicle passing basic information and regional vehicle passing basic information in the basic data set according to the administrative area level;
storing the contents of the table to be operated into the operation record table;
s8: respectively counting the passing basic information of each vehicle included in the basic data set corresponding to the destination and the source in the analysis time period according to different administrative district levels from the basic data set;
the vehicles included in the basic data set in the analysis period are recorded as: a target vehicle;
recording the counted vehicle passing basic information of the destination and the source at each administrative district level as: a regional traffic basic information dataset; the regional traffic basic information data set comprises: source vehicle traffic basic information and destination vehicle traffic basic information;
s9: according to different combinations of administrative district levels, extracting source and destination vehicle passing basic information pair by pair from the district passing basic information data set, carrying out data screening based on the source and destination, and reserving the associated results that the source and destination are different and the latest snapshot time of the source is earlier than the latest snapshot time of the destination for each target vehicle, wherein the associated results are recorded as: analyzing a basic result of the vehicle flow direction;
s10: filtering abnormal data in the basic result of the vehicle flow direction analysis to obtain a vehicle flow direction analysis result;
s11: grouping the vehicle flow direction analysis results according to the destination, and then respectively pushing the vehicle flow direction analysis results to the destination;
s12: step S9-S11 is circularly executed until all the data of the administrative region levels corresponding to the destination and the source are extracted and participate in calculation, and then the flow direction analysis of the vehicle is completed;
s13: and designating the source, the destination and the analysis time period, and circularly executing the steps S2-S12 to continuously monitor the vehicle flow direction.
2. A vehicle flow direction analysis method from a plurality of departure points to a plurality of destinations according to claim 1, wherein: the vehicle flow direction analysis result includes: vehicle information, source information, destination information, source traffic record information for an analysis period, destination traffic record information for an analysis period;
the vehicle information includes: number plate type, number plate number;
the source location information includes: source province code, city code and administrative division code;
the destination information includes: destination province code, city code, administrative division code;
analyzing the source-location passing record information for a time period includes: the method comprises the steps of capturing the number of times of the vehicle at a source, capturing the number of times of the expressway, capturing the earliest capturing time, capturing the latest capturing time, driving days, capturing the corresponding bayonet equipment number, capturing direction, road and road type of the vehicle at the source at the latest capturing time;
analyzing the destination entry information for a time period includes: the method comprises the steps of capturing the vehicle at a destination, capturing the vehicle at the expressway, capturing the vehicle at the earliest capturing time, capturing the vehicle at the latest capturing time, driving days, capturing the vehicle at the latest capturing corresponding bayonet equipment number, capturing direction, road and road type.
3. A vehicle flow direction analysis method from a plurality of departure points to a plurality of destinations according to claim 1, wherein: the vehicle flow direction analysis basic result is divided into a source administrative district level and a destination administrative district level, and the vehicle flow direction analysis basic result comprises the following components: province-province, province-city, province-district, city-province, city-city, city-district, district-province, district-city, district-district.
4. A vehicle flow direction analysis method from a plurality of departure points to a plurality of destinations according to claim 1, wherein: in step S10, filtering the abnormal data in the basic result of the vehicle flow direction analysis, including the following steps:
a1: presetting a speed threshold vt;
the speed threshold is the maximum value of the average running speed that the target vehicle can reach between two areas;
a2: acquiring a bayonet device when the target vehicle is captured for the last time at the source, acquiring longitude and latitude of the bayonet device from record information of the bayonet device, and marking as: source latitude and longitude Gs; the snapshot time is recorded as: t1;
acquiring a bayonet device when the target vehicle is captured for the last time at a destination, acquiring longitude and latitude of the bayonet device from record information of the bayonet device, and marking as: destination longitude and latitude Ge; the snapshot time is recorded as: tg;
a3: calculating the source longitude and latitude Gs and the spherical distance of the destination longitude and latitude Ge to obtain a space interval L between the source and the destination;
calculating the difference between T1 and tg to obtain a time interval T of a source and a destination;
then, the travel speed v=l/T of the target vehicle between the two regions;
a4: comparing V and vt;
if V > vt, judging that the traffic record data of the target vehicle from the source and the destination is abnormal data;
otherwise, judging the data to be non-abnormal data;
a5: deleting the vehicle passing record information corresponding to the abnormal data, and completing the filtering of the abnormal data to obtain the vehicle flow direction analysis result.
CN202210695137.8A 2022-06-20 2022-06-20 Method for analyzing vehicle flow direction from multiple departure places to multiple destinations Active CN115100856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210695137.8A CN115100856B (en) 2022-06-20 2022-06-20 Method for analyzing vehicle flow direction from multiple departure places to multiple destinations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210695137.8A CN115100856B (en) 2022-06-20 2022-06-20 Method for analyzing vehicle flow direction from multiple departure places to multiple destinations

Publications (2)

Publication Number Publication Date
CN115100856A CN115100856A (en) 2022-09-23
CN115100856B true CN115100856B (en) 2023-05-26

Family

ID=83290244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210695137.8A Active CN115100856B (en) 2022-06-20 2022-06-20 Method for analyzing vehicle flow direction from multiple departure places to multiple destinations

Country Status (1)

Country Link
CN (1) CN115100856B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002319093A (en) * 2001-04-19 2002-10-31 Fujitsu Ltd Device for supporting vehicle allocation plan, computer program, and recording medium
CN104408920A (en) * 2014-11-25 2015-03-11 公安部交通管理科学研究所 Checkpoint traffic information-based method for judging traffic violation of long-distance passenger vehicles
CN105654730A (en) * 2015-12-31 2016-06-08 公安部交通管理科学研究所 Method for identifying fake-licensed car based on block port throughput big data analysis
CN108986478A (en) * 2018-09-17 2018-12-11 公安部交通管理科学研究所 A method of fixed point screens illegal vehicle
WO2020186764A1 (en) * 2019-03-21 2020-09-24 江苏智通交通科技有限公司 Vehicle-to-turn area lane saturated time headway calculation method based on video license plate device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9600541B2 (en) * 2014-05-02 2017-03-21 Kookmin University Industry Academy Corporation Foundation Method of processing and analysing vehicle driving big data and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002319093A (en) * 2001-04-19 2002-10-31 Fujitsu Ltd Device for supporting vehicle allocation plan, computer program, and recording medium
CN104408920A (en) * 2014-11-25 2015-03-11 公安部交通管理科学研究所 Checkpoint traffic information-based method for judging traffic violation of long-distance passenger vehicles
CN105654730A (en) * 2015-12-31 2016-06-08 公安部交通管理科学研究所 Method for identifying fake-licensed car based on block port throughput big data analysis
CN108986478A (en) * 2018-09-17 2018-12-11 公安部交通管理科学研究所 A method of fixed point screens illegal vehicle
WO2020186764A1 (en) * 2019-03-21 2020-09-24 江苏智通交通科技有限公司 Vehicle-to-turn area lane saturated time headway calculation method based on video license plate device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于云计算的智能卡口***研究;彭宁;刘忠山;周海波;;软件导刊(第05期);全文 *

Also Published As

Publication number Publication date
CN115100856A (en) 2022-09-23

Similar Documents

Publication Publication Date Title
CN108346292B (en) Urban expressway real-time traffic index calculation method based on checkpoint data
CN111243277B (en) Commuting vehicle space-time trajectory reconstruction method and system based on license plate recognition data
WO2017084221A1 (en) Method and apparatus for acquiring traffic state
CN106610981A (en) Verification and upgrading method and system for road information in electronic map
CN107645709B (en) Method and device for determining personnel information
CN113808401B (en) Traffic congestion prediction method, device, equipment and storage medium
CN105448092A (en) Analysis method and apparatus of associated vehicles
CN110838232A (en) Single vehicle OD (origin-destination) acquisition method based on vehicle-passing electric alarm data
CN108230724A (en) A kind of urban mass-transit system Vehicle station name announcing missing data method for repairing and mending based on maximum probability estimation
CN110874369A (en) Multidimensional data fusion investigation system and method thereof
CN106251628B (en) A kind of method and device of the traffic trip amount of determining motor vehicle
CN104298832A (en) Road network traffic flow analytical method based on RFID technology
CN108629982B (en) Road section vehicle number estimation method based on travel time distribution rule
CN108615359B (en) Vehicle foothold analysis method and device
CN114647684A (en) Traffic prediction method and device based on stacking algorithm and related equipment
CN114743165A (en) Method and device for determining vehicle trajectory, storage medium and electronic device
CN111949701A (en) Moving object travel rule analysis method and device based on track similarity
CN115880894A (en) Traffic state determination method, device and equipment
CN115100856B (en) Method for analyzing vehicle flow direction from multiple departure places to multiple destinations
CN112489439A (en) Traffic control method based on big data and storage medium
CN115376315B (en) Multi-level bayonet quality control method for road network emission accounting
CN113470376B (en) Real-time regional in-transit vehicle counting method and system based on bayonet vehicle passing data
CN115063977B (en) Method for analyzing vehicle flow direction from single departure place to multiple destinations
CN116757390A (en) Bus operation period division method based on time sequence clustering
CN106448178B (en) Fake-licensed vehicle analysis method and device

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