CN113470351B - Traffic isochrone drawing method, system, device and medium based on checkpoint data - Google Patents

Traffic isochrone drawing method, system, device and medium based on checkpoint data Download PDF

Info

Publication number
CN113470351B
CN113470351B CN202110670408.XA CN202110670408A CN113470351B CN 113470351 B CN113470351 B CN 113470351B CN 202110670408 A CN202110670408 A CN 202110670408A CN 113470351 B CN113470351 B CN 113470351B
Authority
CN
China
Prior art keywords
track point
track
bayonet
points
shooting
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
CN202110670408.XA
Other languages
Chinese (zh)
Other versions
CN113470351A (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.)
Guangzhou Municipal Engineering Design & Research Institute Co Ltd
Original Assignee
Guangzhou Municipal Engineering Design & Research Institute 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 Guangzhou Municipal Engineering Design & Research Institute Co Ltd filed Critical Guangzhou Municipal Engineering Design & Research Institute Co Ltd
Priority to CN202110670408.XA priority Critical patent/CN113470351B/en
Publication of CN113470351A publication Critical patent/CN113470351A/en
Application granted granted Critical
Publication of CN113470351B publication Critical patent/CN113470351B/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
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules

Landscapes

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

Abstract

The invention discloses a traffic isochrone drawing method, a traffic isochrone drawing system, a traffic isochrone drawing device and a traffic isochrone drawing medium based on checkpoint data, which can be widely applied to the technical field of traffic information. The method comprises the steps of extracting and sorting bayonet data of all vehicles in a single day to obtain track point sequences of all vehicles, storing the track point sequences which accord with a first preset rule and a second preset rule in the track point sequences of all vehicles into a second track point sequence set, then storing a tail end bayonet of each track point sequence in the second track point sequence set into a first tail end bayonet set, counting the occurrence frequency of each tail end bayonet in the first tail end bayonet set, storing the tail end bayonet of which the occurrence frequency is greater than the preset frequency into a second tail end bayonet set, and then drawing a plurality of time interval isochrones according to a third preset rule according to the polar coordinates of each bayonet in the second tail end bayonet set relative to a target bayonet. The invention can reflect the actual geographical road condition more comprehensively.

Description

Traffic isochrone drawing method, system, device and medium based on checkpoint data
Technical Field
The invention relates to the technical field of traffic information, in particular to a traffic isochrone drawing method, a traffic isochrone drawing system, a traffic isochrone drawing device and a traffic isochrone drawing medium based on checkpoint data.
Background
The traffic isochrone is an area range line drawn by travel time, and the travel time spent from any point on the closed line to the specified center is equal. When analyzing the traffic condition of a certain node in a city, the isochrone line represents a line connecting points where vehicles arrive after the same time from the node, with the node as the center. The traffic isochrones can be used for analyzing the accessibility of urban road traffic networks, have a clear indication function on the congestion level of the road networks, and can also be used for urban traffic congestion assessment and traffic management. Traffic isochrone information is generally generated by means of random sampling at present. Because the selection of the research object has randomness, the finally generated traffic isochrone information is generally relatively unilateral, and the actual geographic road condition cannot be well reflected.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a traffic isochrone drawing method, a traffic isochrone drawing system, a traffic isochrone drawing device and a traffic isochrone drawing medium based on checkpoint data, which can reflect actual geographical road conditions more comprehensively.
In a first aspect, an embodiment of the present invention provides a traffic isochrone drawing method based on bayonet data, including the following steps:
s1, determining a target bayonet to be analyzed and a plurality of time intervals;
s2, extracting and sorting all bayonet data in a single day to obtain track point sequences of all vehicles;
s3, saving track point sequences which accord with a first preset rule in the track point sequences of all vehicles into a first track point sequence set;
s4, acquiring one of the plurality of time intervals as a first time interval; according to the target bayonet and the first time interval, each track point sequence in the first track point sequence set is deleted according to a second preset rule to obtain a second track point sequence set;
s5, acquiring shooting bayonets of the tail end track points of all track point sequences in the second track point sequence set, and storing the shooting bayonets into the first tail end bayonet set;
s6, counting the occurrence times of the shooting bayonets of each tail end track point in the first tail end bayonet set, and storing the shooting bayonets with the occurrence times larger than the preset times into a second tail end bayonet set;
s7, drawing an isochrone of the first time interval on a plan according to map points of all shooting bayonets in the second tail-end bayonet set and a third preset rule;
s8, drawing isochrones of the rest time intervals in the plurality of time intervals according to the steps S2 to S7.
The traffic isochrone drawing method based on the checkpoint data provided by the embodiment of the invention has the following beneficial effects:
in the embodiment, track point sequences of all vehicles are obtained by extracting and sorting all bayonet data in a single day, track point sequences which accord with a first preset rule in the track point sequences of all vehicles are stored in a first track point sequence set, and then one time interval of a plurality of predetermined time intervals is obtained as a first time interval; according to the target bayonet and the first time interval, each track point sequence in the first track point sequence set is deleted according to a second preset rule to obtain a second track point sequence set, a shooting bayonet of the tail end track point of all track point sequences in the second track point sequence set is obtained and stored in the first tail end bayonet set, then the occurrence frequency of the shooting bayonet of each tail end track point in the first tail end bayonet set is counted, the shooting bayonet with the occurrence frequency larger than the preset frequency is stored in the second tail end bayonet set, the isochrones of the first time interval are drawn on the plane map according to the map points of all the shooting bayonets in the second tail end bayonet set according to a third preset rule, the isochrones of the remaining time intervals in a plurality of predetermined time intervals are drawn according to the mode, in the embodiment, all bayonet data are processed, so as to avoid the phenomenon that the final traffic isochrone can not fully reflect the actual situation due to the random selection of the objects.
Optionally, one piece of the gate data includes a license plate number, shooting time and a shooting gate; one said track point contains the shooting time and shooting bayonet.
Optionally, the step S2 includes:
s21, selecting one of the vehicles as a first vehicle, and extracting the shooting time and the shooting bayonets of each bayonet data of the first vehicle to form a plurality of track points of the first vehicle;
s232, arranging all track points of the first vehicle in an ascending order according to the shooting time to obtain a track point sequence of the first vehicle;
and S23, obtaining track point sequences of all vehicles according to the steps S21-S22.
Optionally, the step S3 includes:
whether the track point sequences of all vehicles contain track points of the target bayonet is judged in sequence, if yes, the track point sequences of the vehicles are added into the first track point sequence set, and otherwise, the track point sequences of the vehicles are not added.
Optionally, the step S4 includes:
s41, acquiring one of the plurality of time intervals as a first time interval;
s42, acquiring one track point sequence in the first track point sequence set as a first track point sequence;
s43, setting track points of the shooting bayonets in the first track point sequence, which are equal to the target bayonets, as key track points, and setting the shooting time of the key track points as first time nodes;
s44, setting the second time node as the first time node plus the first time interval;
s45, deleting all track points in the first track point sequence, of which the shooting time is after the second time node, and adding the deleted first track point sequence to a second track sequence set;
s46, according to the steps S43-S45, other track point sequences in the first track point sequence set are deleted and added to the second track sequence set.
Optionally, the step S7 includes:
s71, taking the map points of the target bayonets as the circle centers, averagely dividing the map into a plurality of quadrants, and determining map quadrants to which the map points of all bayonets in the second tail-end bayonet set belong;
s72, selecting traffic isochrone points for all map quadrants, and storing the traffic isochrone points into a traffic isochrone point set;
s73, taking the map point of the target gate as the origin of the polar coordinates, and acquiring the polar coordinates of all points in the traffic isochrone point set;
s74, arranging all points of the traffic isochrone point set in ascending order according to the polar coordinate angle to obtain a traffic isochrone point sequence;
and S75, marking all points of the traffic isochrone point sequence on a map, connecting two adjacent points in the traffic isochrone point sequence by straight lines, and connecting the last point of the traffic isochrone sequence with the first point to obtain a closed traffic isochrone map.
Optionally, the step S72 includes:
s721, if one map quadrant comprises 0 bayonet map points, the map quadrant has no traffic isochrone points;
and S722, if one map quadrant comprises one or more bayonet map points, selecting the bayonet map point which is farthest away from the target bayonet map point as the traffic isochrone point of the map quadrant.
In a second aspect, an embodiment of the present invention provides a traffic isochrone rendering system based on bayonet data, including:
the determining module is used for determining a target bayonet to be analyzed and a plurality of time intervals;
the processing module is used for extracting and sorting all the checkpoint data in a single day to obtain track point sequences of all vehicles;
the first screening module is used for storing track point sequences which accord with a first preset rule in the track point sequences of all vehicles into a first track point sequence set;
the second screening module is used for acquiring one of the plurality of time intervals as a first time interval; according to the target bayonet and the first time interval, each track point sequence in the first track point sequence set is deleted according to a second preset rule to obtain a second track point sequence set;
the acquisition module is used for acquiring the shooting bayonets of the tail end track points of all track point sequences in the second track point sequence set and storing the shooting bayonets into the first tail end bayonet set;
the counting module is used for counting the occurrence times of the shooting bayonets of each tail end track point in the first tail end bayonet set and storing the shooting bayonets with the occurrence times larger than the preset times into the second tail end bayonet set;
the drawing module is used for drawing the isochrones of the first time interval on a plan according to a third preset rule according to map points of all shooting bayonets in the second tail-end bayonet set; and drawing isochrones of remaining time intervals in the plurality of time intervals.
In a third aspect, an embodiment of the present invention provides a traffic isochrone drawing device based on bayonet data, including:
at least one memory for storing a program;
the at least one processor is used for loading the program to execute the traffic isochrone drawing method based on the checkpoint data provided by the embodiment of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored, and the program executable by the processor is used for executing the traffic isochrone rendering method based on checkpoint data provided in the first aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The invention is further described with reference to the following figures and examples, in which:
fig. 1 is a flowchart of a traffic isochrone rendering method based on bayonet data according to an embodiment of the present invention;
FIG. 2 is a schematic view of a single time interval traffic isochrone in accordance with an embodiment of the present invention;
FIG. 3 is a schematic view of a traffic isochrone with multiple time intervals according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, the meaning of a plurality is one or more, the meaning of a plurality is two or more, and the above, below, exceeding, etc. are understood as excluding the present numbers, and the above, below, within, etc. are understood as including the present numbers. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly defined, terms such as set, etc. should be broadly construed, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the detailed contents of the technical solutions.
In the description of the present invention, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples," etc., means that a particular feature or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Referring to fig. 1, an embodiment of the present invention provides a traffic isochrone rendering method based on bayonet data. The embodiment can be applied to a server, and the server interacts with each bayonet device and is used for receiving data collected by the bayonet device. The embodiment can also be applied to background controllers of various traffic condition analysis platforms, and the controllers can interact with various bayonet devices and are used for receiving data acquired by the bayonet devices.
Taking the application to the server as an example, the present embodiment includes steps S1 to S6:
s1, determining a target bayonet to be analyzed and a plurality of time intervals. Wherein, the plurality of time intervals are time intervals set according to actual analysis requirements. For example, the plurality of time intervals may be set to 5 minutes, 10 minutes, 15 minutes, 20 minutes, 25 minutes, 30 minutes, or the like, or the plurality of time intervals may be set to 30 minutes, 1 hour 30 minutes, 2 hours 30 minutes, 3 hours, or the like.
And S2, extracting and sorting all the checkpoint data in a single day to obtain track point sequences of all vehicles.
In this embodiment, the gate data includes the license plate number, the shooting time of the gate data, and the shooting gate, which is data collected by the gate device in real time. The bayonet device is a camera installed in an urban road network. The track point contains the shooting time and shoots the bayonet socket. When a certain vehicle passes through the camera, the camera can shoot an image of the vehicle, the license plate number of the vehicle can be larger by analyzing the image, and then the license plate number and the shooting time of the image are sent to a central database in the server. The actual position information of each camera installation is stored in the central database in advance, so that the actual position information of each camera installation can be used as a shooting card of card data.
In some embodiments, step S2 includes:
s21, selecting one of the vehicles as a first vehicle, and extracting the shooting time and the shooting bayonets of each bayonet data of the first vehicle to form a plurality of track points of the first vehicle;
s232, arranging all track points of the first vehicle in an ascending order according to the shooting time to obtain a track point sequence of the first vehicle;
and S23, obtaining track point sequences of all vehicles according to the steps S21-S22.
Specifically, after obtaining the gate data of all vehicles in a single day, the embodiments of the present application store the gate data with the same license plate number in the same single vehicle gate data set, and then arrange the gate data in the single vehicle gate data set in an ascending order according to the shooting time, so as to obtain the track point sequence of all vehicles. For example, the license plate number a corresponds to the single vehicle gate data set including gate data a1, a2, A3, a4, a5 and a6, and the shooting times of a1 to a6 are t 1: 8 point 10, t 2: point 7, 20 points, t 3: 8 points and 30 points: t 4: 10 point 15 point, t 5: point 9, 50 points and t 6: 12: 00, and sequencing according to the ascending order of time: t2< t1< t3< t5< t4< t6, and therefore, the sequence of trajectory points a2 → a1 → A3 → a5 → a4 → a6 is obtained by arranging the vehicles a in ascending order of the shooting time.
And S3, storing the track point sequences which accord with a first preset rule in the track point sequences of all vehicles into a first track point sequence set.
Specifically, whether the track point sequences of all vehicles contain track points with the shooting bayonets as target bayonets or not is sequentially judged, if yes, the track point sequences of the vehicles are added into the first track point sequence set, and otherwise, the track point sequences of the vehicles are not added. For example, the license plate number a corresponds to the trajectory point sequence of the vehicle as a2 → a1 → A3 → a5 → a4 → a6, and the positions of the corresponding shooting gates are B2(10,20), B1(15,30), B3(50,10), B5(60,80), B4(70,40), and B6(100, 90). If the position of the target gate is (50,10), the comparison shows that a shooting gate with the same position as the target gate exists in the track point sequence of the vehicle corresponding to the license plate number A, and the track point sequence of the vehicle corresponding to the license plate number A is stored in the first track point sequence set. If the position of the target gate is (10,30), the comparison shows that no shooting gate at the position of the target gate exists in the track point sequence of the vehicle corresponding to the license plate number A, so that the track point sequence of the vehicle corresponding to the license plate number A is eliminated, and the interference of the track point sequence with the subsequent data processing process is avoided.
S4, acquiring one of a plurality of time intervals as a first time interval; and deleting each track point sequence in the first track point sequence set according to a second preset rule according to the target bayonet and the first time interval to obtain a second track point sequence set.
In the embodiment of the present application, since the time intervals to be analyzed are determined in step S1, in the present embodiment, each of the track point sequences in the first set of track point sequences is subtracted by selecting one of the time intervals to be analyzed determined in step S1 as the first time interval.
In some embodiments, step S4 includes:
s41, acquiring one of a plurality of time intervals as a first time interval;
s42, acquiring one track point sequence in the first track point sequence set as a first track point sequence;
s43, setting track points of the shooting bayonets in the first track point sequence, which are equal to the target bayonets, as key track points, and setting the shooting time of the key track points as first time nodes;
s44, setting the second time node as the first time node plus the first time interval;
s45, deleting all track points in the first track point sequence, of which the shooting time is after the second time node, and adding the deleted first track point sequence to a second track sequence set;
and S46, deleting other track point sequences in the first track point sequence set according to the steps S43-S45, and adding the other track point sequences to the second track sequence set.
For example, taking the case that it is determined in step S1 that the time intervals to be analyzed are t1, t2, t3, t4, t5, and t6, respectively, and the first trajectory point sequence set includes trajectory point sequences B1, B2, B3, B4, B5, and B6, the pruning process is as follows:
in the process 1, when the time interval t1 is set as the first time interval, the processing procedure includes:
the method comprises the steps of 1.1, selecting a track point sequence B1 from a first track point sequence set as a to-be-processed track point sequence, then determining a first time node TY1 when a target checkpoint passes in the to-be-processed track point sequence B1, determining a second time node TE1 according to the first time node TY1 and a first time interval t1, and then keeping a track point sequence C1.1 located before the second time node TE1 in the to-be-processed track point sequence B1;
and sequentially selecting track point sequences B2, B3, B4 and B5 for processing to obtain corresponding track point sequences C1.2, C1.3, C1.4 and C1.5. (the processing procedures of the track point sequences B2, B3, B4 and B5 are similar to those of the track point sequence B1 and are not repeated at times)
The process 1.6 is to select a trajectory point sequence B6 from the first trajectory point sequence set as a to-be-processed trajectory point sequence, then determine a first time node TY6 when the to-be-processed trajectory point sequence B6 passes through the target checkpoint, determine a second time node TE6 according to the first time node TY6 and the first time interval t1, and then keep a trajectory point sequence C1.6 located before the second time node TE2 in the to-be-processed trajectory point sequence B2.
(Process 2, Process 3, Process 4 and Process 5 are all similar to Process 1 and are not repeated at this time.)
In the process 6, when the time interval t6 is the first time interval, the processing procedure includes:
the process 6.1, selecting a track point sequence B1 from the first track point sequence set as a to-be-processed track point sequence, then determining a first time node TY1 when the to-be-processed track point sequence B1 passes through a target checkpoint, determining a second time node TE1 according to the first time node TY1 and a first time interval t1, and then keeping a track point sequence C6.1 before the second time node TE1 in the to-be-processed track point sequence B1;
and sequentially selecting track point sequences B2, B3, B4 and B5 for processing to obtain corresponding track point sequences C6.2, C6.3, C6.4 and C6.5. (the processing procedures of the track point sequences B2, B3, B4 and B5 are the same as those of the track point sequence B1 and are not repeated at times)
The process 6.6 selects a trajectory point sequence B6 from the first trajectory point sequence set as a to-be-processed trajectory point sequence, then determines a first time node TY6 when the to-be-processed trajectory point sequence B6 passes through the target checkpoint, determines a second time node TE6 according to the first time node TY6 and the first time interval t1, and then reserves a trajectory point sequence C6.6 located before the second time node TE2 in the to-be-processed trajectory point sequence B2.
And 7, determining that a plurality of time intervals to be analyzed are all used for sequentially deleting the track point sequences in the first track point sequence set, and then storing the obtained residual track point sequences into a second track point sequence set. In this embodiment, the track point sequences C1.1, C1.2, and … …, C2.1, C2.2, … … C5.1, C5.2, … …, C6.5, and C6.6 are all stored in the second track point sequence set.
And S5, acquiring shooting bayonets of the tail end track points of all track point sequences in the second track point sequence set, and storing the shooting bayonets into the first tail end bayonet set. In this embodiment, since the step S4 has already performed subtraction on the trajectory in the first set of trajectory point sequences, the end checkpoints of the trajectory point sequences in the second set of trajectory point sequences are all checkpoints located before the second time node.
S6, counting the occurrence frequency of the shooting bayonets of each tail end track point in the first tail end bayonet set, and storing the shooting bayonets with the occurrence frequency larger than the preset frequency to the second tail end bayonet set. The preset times can be adjusted according to actual conditions. For example, the preset number of times is set to 10 times, 20 times, or 30 times. In this embodiment of the application, it is assumed that the preset number of times is set to 10, and the first end bayonet set includes end bayonets D1, D2, D3, D4, D5, and D6, where the number of times that the end bayonet D1 appears is 9 times, the number of times that the end bayonet D2 appears is 12 times, the number of times that the end bayonet D3 appears is 5 times, the number of times that the end bayonet D4 appears is 8 times, the number of times that the end bayonet D5 appears is 15 times, and the number of times that the end bayonet D6 appears is 17 times, and then screening is performed by the preset number of times, and only the end bayonet D2, the end bayonet D5, and the end bayonet D6 are greater than the preset number of times, and therefore, the end bayonet D2, the end bayonet D5, and the end bayonet D6 are stored in the second end bayonet set.
And S7, drawing the isochrones of the first time interval on a plan view according to the map points of all the shooting bayonets in the second tail-end bayonet set and a third preset rule.
In some embodiments, step S7 includes:
s71, taking the map points of the target bayonets as the circle centers, averagely dividing the map into a plurality of quadrants, and determining map quadrants to which the map points of all bayonets in the second tail-end bayonet set belong;
s72, selecting traffic isochrone points for all map quadrants, and storing the traffic isochrone points into a traffic isochrone point set;
s73, taking the map point of the target gate as the origin of the polar coordinates, and acquiring the polar coordinates of all points in the traffic isochrone point set;
s74, arranging all points of the traffic isochrone point set in ascending order according to the polar coordinate angle to obtain a traffic isochrone point sequence;
and S75, marking all points of the traffic isochrone point sequence on a map, connecting two adjacent points in the traffic isochrone point sequence by straight lines, and connecting the last point of the traffic isochrone sequence with the first point to obtain a closed traffic isochrone map.
Wherein, step S72 includes:
s721, if one map quadrant comprises 0 bayonet map points, the map quadrant has no traffic isochrone points;
and S722, if one map quadrant comprises one or more bayonet map points, selecting the bayonet map point which is farthest away from the target bayonet map point as the traffic isochrone point of the map quadrant.
S8, drawing isochrones of the remaining time intervals in the plurality of time intervals according to the steps S2 to S7.
In some embodiments, the above embodiments are specifically described by taking a traffic isochrone at which a vehicle arrives as an example:
and acquiring all gate data of all vehicles in a single day, wherein the gate data comprises the license plate number, the shooting time of the gate data and the shooting gate. And arranging all the gate data according to the number of the license plate, namely storing all the gate data of the same license plate in a data set, and then arranging the gate data of the same vehicle in an ascending order according to the shooting time to obtain track point sequences of all the vehicles. In the following, all the gate data of one vehicle are taken as an example to describe the gate data processing process, for example, the first vehicle:
assume that the sequence of trajectory points for the first vehicle is:
Figure BDA0003118478720000091
wherein the content of the first and second substances,
Figure BDA0003118478720000092
Figure BDA0003118478720000093
the shooting bayonet is shown,
Figure BDA0003118478720000094
indicating the shooting time.
First, it is determined whether the track point sequence of the first vehicle is associated with the target gate position K, that is, whether the track point sequence of the first vehicle includes the track point of the target gate position K is determined. In this embodiment, it is assumed that the sequence of trajectory points of one vehicle includes the trajectory point of the target gate position K, and the trajectory point is
Figure BDA0003118478720000095
Namely that
Figure BDA0003118478720000096
Then determining the track point
Figure BDA0003118478720000097
Is taken for a time of
Figure BDA0003118478720000098
Thus, the screening time node is the time of day
Figure BDA0003118478720000099
+ a predetermined time interval T1, and
Figure BDA00031184787200000910
searching for the track point of the first vehicle within T1 minutes
Figure BDA00031184787200000911
Preceding points of track, i.e. defining a first vehicle
Figure BDA00031184787200000912
Going to the farthest bayonet position in T1 minutes, which is equivalent to finding the m value satisfying the following condition:
Figure BDA00031184787200000913
and is
Figure BDA00031184787200000914
In the present embodiment, it is assumed that
Figure BDA00031184787200000915
If m is satisfied, then
Figure BDA00031184787200000916
The track point of (a) corresponds to the position of the gate to serve as the position of the gate for the associated vehicle to arrive at.
And for the second vehicle, the third vehicle, … … and the Mth vehicle, sequentially executing the operation process of the first vehicle, and determining the corresponding arrival bayonet positions. After the arrival gate positions of all vehicles are determined, the arrival gate positions with the occurrence frequency of the arrival gate positions larger than the preset frequency alpha are reserved, and j arrival gate positions are supposed to be reserved finally.
The j arrival gate positions are sequentially marked on the map to obtain the traffic isochrones of the time interval T1 shown in fig. 2. In this embodiment, a polar coordinate method is adopted to sequentially convert rectangular coordinates of j target mount positions into polar coordinates, for example, the polar coordinates of the j target mount positions are respectively: h11,r1)、H22,r2)、……、Hjj,rj). The j polar coordinates are arranged according to the size of the angle theta, for example, H is obtained22,r2)、H11,r1)、H33,r3) Wherein, theta213. Then using the target bayonet position K as original point and connecting H in turn on the periphery2、H1And H3
Assuming that the time interval T1 is 5 minutes, the time interval T2 is 10 minutes, the time interval T3 is 15 minutes, and the time interval T4 is 20 minutes, the traffic isochrones corresponding to these several time intervals are sequentially processed by the bayonet data processing method in which the time interval T1 is 5 minutes, and thus traffic isochrones at a plurality of time intervals as shown in fig. 3 can be obtained. And feeding back real-time traffic conditions through the finally obtained traffic isochrones, so that the actual geographical road conditions can be more comprehensively reflected.
The embodiment of the invention provides a traffic isochrone drawing system based on bayonet data, which comprises:
the determining module is used for determining a target bayonet to be analyzed and a plurality of time intervals;
the processing module is used for extracting and sorting all the checkpoint data in a single day to obtain track point sequences of all vehicles;
the first screening module is used for storing track point sequences which accord with a first preset rule in the track point sequences of all vehicles into a first track point sequence set;
the second screening module is used for acquiring one of the plurality of time intervals as a first time interval; according to the target bayonet and the first time interval, each track point sequence in the first track point sequence set is deleted according to a second preset rule to obtain a second track point sequence set;
the acquisition module is used for acquiring shooting bayonets of tail end track points of all track point sequences in the second track point sequence set and storing the shooting bayonets into the first tail end bayonet set;
the counting module is used for counting the occurrence times of the shooting bayonets of each tail end track point in the first tail end bayonet set and storing the shooting bayonets with the occurrence times larger than the preset times into the second tail end bayonet set;
the drawing module is used for drawing the isochrones of the first time interval on a plan according to a third preset rule according to map points of all shooting bayonets in the second tail-end bayonet set; and drawing isochrones of remaining time intervals in the plurality of time intervals.
The content of the embodiment of the method of the invention is all applicable to the embodiment of the system, the function of the embodiment of the system is the same as the embodiment of the method, and the beneficial effect achieved by the embodiment of the system is the same as the beneficial effect achieved by the method.
The embodiment of the invention provides a traffic isochronal line drawing device based on bayonet data, which comprises:
at least one memory for storing a program;
at least one processor for loading the program to execute the traffic isochrone rendering method based on the checkpoint data shown in fig. 1.
The content of the method embodiment of the present invention is applicable to the apparatus embodiment, the functions specifically implemented by the apparatus embodiment are the same as those of the method embodiment, and the beneficial effects achieved by the apparatus embodiment are also the same as those achieved by the method.
An embodiment of the present invention provides a computer-readable storage medium in which a program executable by a processor is stored, and the program executable by the processor is used for executing the traffic isochrone rendering method based on the checkpoint data shown in fig. 1 when the program is executed by the processor.
The embodiment of the invention also discloses a computer program product or a computer program, which comprises computer instructions, and the computer instructions are stored in a computer readable storage medium. The computer instructions may be read by a processor of a computer device from a computer-readable storage medium, and executed by the processor, causing the computer device to perform the method illustrated in fig. 1.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.

Claims (6)

1. A traffic isochrone drawing method based on bayonet data is characterized by comprising the following steps:
s1, determining a target bayonet to be analyzed and a plurality of time intervals;
s2, extracting and sorting all checkpoint data in a single day to obtain track point sequences of all vehicles, wherein one checkpoint data comprises a license plate number, shooting time and a shooting checkpoint; one track point comprises shooting time and a shooting bayonet;
s3, sequentially judging whether the track point sequences of all vehicles contain track points of which the shooting bayonets are the target bayonets or not, if so, adding the track point sequences of the vehicles into the first track point sequence set, otherwise, not adding the track point sequences of the vehicles into the first track point sequence set;
s4, acquiring one of the plurality of time intervals as a first time interval; according to the target bayonet and the first time interval, each track point sequence in the first track point sequence set is deleted according to a second preset rule to obtain a second track point sequence set;
s5, acquiring shooting bayonets of the tail end track points of all track point sequences in the second track point sequence set, and storing the shooting bayonets into the first tail end bayonet set;
s6, counting the occurrence times of the shooting bayonets of each tail end track point in the first tail end bayonet set, and storing the shooting bayonets with the occurrence times larger than the preset times into a second tail end bayonet set;
s7, drawing an isochrone of the first time interval on a plan according to map points of all shooting bayonets in the second tail-end bayonet set and a third preset rule;
s8, drawing isochrones of the rest time intervals in the plurality of time intervals according to the steps S2 to S7;
wherein, the step S4 includes:
s41, acquiring one of the plurality of time intervals as a first time interval;
s42, acquiring one track point sequence in the first track point sequence set as a first track point sequence;
s43, setting track points of the shooting bayonets in the first track point sequence, which are equal to the target bayonets, as key track points, and setting the shooting time of the key track points as first time nodes;
s44, setting the second time node as the first time node plus the first time interval;
s45, deleting all track points in the first track point sequence, of which the shooting time is after the second time node, and adding the deleted first track point sequence to a second track sequence set;
s46, deleting other track point sequences in the first track point sequence set according to the steps S43-S45, and adding the other track point sequences to the second track sequence set;
the step S7 includes:
s71, averagely dividing a map into a plurality of quadrants by taking the map points of the target bayonet as the circle center, and determining map quadrants to which the map points of all bayonets in the second tail end bayonet set belong;
s72, selecting traffic isochrone points for all map quadrants, and storing the traffic isochrone points into a traffic isochrone point set;
s73, taking the map point of the target gate as the origin of the polar coordinates, and acquiring the polar coordinates of all points in the traffic isochrone point set;
s74, arranging all points of the traffic isochrone point set in ascending order according to the polar coordinate angle to obtain a traffic isochrone point sequence;
and S75, marking all points of the traffic isochrone point sequence on a map, connecting two adjacent points in the traffic isochrone point sequence by straight lines, and connecting the last point of the traffic isochrone sequence with the first point to obtain a closed traffic isochrone map.
2. The traffic isochrone drawing method based on bayonet data according to claim 1, wherein the step S2 includes:
s21, selecting one of the vehicles as a first vehicle, and extracting the shooting time and the shooting bayonets of each bayonet data of the first vehicle to form a plurality of track points of the first vehicle;
s232, arranging all track points of the first vehicle in an ascending order according to the shooting time to obtain a track point sequence of the first vehicle; and S23, obtaining track point sequences of all vehicles according to the steps S21-S232.
3. The traffic isochrone drawing method based on bayonet data according to claim 1, wherein the step S72 includes:
s721, if one map quadrant comprises 0 bayonet map points, the map quadrant has no traffic isochrone points;
and S722, if one map quadrant comprises one or more bayonet map points, selecting the bayonet map point which is farthest away from the target bayonet map point as the traffic isochrone point of the map quadrant.
4. A traffic isochrone drawing system based on bayonet data is characterized by comprising:
the determining module is used for determining a target bayonet to be analyzed and a plurality of time intervals;
the processing module is used for extracting and sorting all the gate data in a single day to obtain track point sequences of all vehicles, wherein one gate data comprises a license plate number, shooting time and a shooting gate; one track point comprises shooting time and a shooting bayonet;
the first screening module is used for sequentially judging whether the track point sequences of all vehicles comprise track points of which the shooting bayonets are the target bayonets, if so, adding the track point sequences of the vehicles into the first track point sequence set, and otherwise, not adding the track point sequences of the vehicles into the first track point sequence set;
the second screening module is used for acquiring one of the plurality of time intervals as a first time interval; according to the target bayonet and the first time interval, each track point sequence in the first track point sequence set is deleted according to a second preset rule to obtain a second track point sequence set;
the acquisition module is used for acquiring the shooting bayonets of the tail end track points of all track point sequences in the second track point sequence set and storing the shooting bayonets into the first tail end bayonet set;
the counting module is used for counting the occurrence times of the shooting bayonets of each tail end track point in the first tail end bayonet set and storing the shooting bayonets with the occurrence times larger than the preset times into the second tail end bayonet set;
the drawing module is used for drawing the isochrones of the first time interval on a plan according to a third preset rule according to map points of all shooting bayonets in the second tail-end bayonet set; and drawing isochrones of remaining time intervals in the plurality of time intervals;
wherein, according to the target bayonet and the first time interval, each track point sequence in the first track point sequence set is pruned according to a second preset rule to obtain a second track point sequence set, including:
s42, acquiring one track point sequence in the first track point sequence set as a first track point sequence;
s43, setting track points of the shooting bayonets in the first track point sequence, which are equal to the target bayonets, as key track points, and setting the shooting time of the key track points as first time nodes;
s44, setting the second time node as the first time node plus the first time interval;
s45, deleting all track points in the first track point sequence, of which the shooting time is after the second time node, and adding the deleted first track point sequence to a second track sequence set;
s46, deleting other track point sequences in the first track point sequence set according to the steps S43-S45, and adding the other track point sequences to the second track sequence set;
the drawing, according to the map points of all shooting bayonets in the second tail-end bayonet set, the isochrones of the first time interval on the plan view according to a third preset rule includes:
s71, taking the map points of the target bayonets as the circle centers, averagely dividing the map into a plurality of quadrants, and determining map quadrants to which the map points of all bayonets in the second tail-end bayonet set belong;
s72, selecting traffic isochrone points for all map quadrants, and storing the traffic isochrone points into a traffic isochrone point set;
s73, taking the map point of the target gate as the origin of the polar coordinates, and acquiring the polar coordinates of all points in the traffic isochrone point set;
s74, arranging all points of the traffic isochrone point set in ascending order according to the polar coordinate angle to obtain a traffic isochrone point sequence;
and S75, marking all points of the traffic isochrone point sequence on a map, connecting two adjacent points in the traffic isochrone point sequence by straight lines, and connecting the last point of the traffic isochrone sequence with the first point to obtain a closed traffic isochrone map.
5. A traffic isochronal line drawing device based on bayonet data is characterized by comprising:
at least one memory for storing a program;
at least one processor configured to load the program to perform the traffic isochrone rendering method based on bayonet data according to any one of claims 1 to 3.
6. A computer-readable storage medium, in which a processor-executable program is stored, wherein the processor-executable program, when executed by a processor, is adapted to perform a traffic isochron rendering method based on bayonet data according to any one of claims 1 to 3.
CN202110670408.XA 2021-06-17 2021-06-17 Traffic isochrone drawing method, system, device and medium based on checkpoint data Active CN113470351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110670408.XA CN113470351B (en) 2021-06-17 2021-06-17 Traffic isochrone drawing method, system, device and medium based on checkpoint data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110670408.XA CN113470351B (en) 2021-06-17 2021-06-17 Traffic isochrone drawing method, system, device and medium based on checkpoint data

Publications (2)

Publication Number Publication Date
CN113470351A CN113470351A (en) 2021-10-01
CN113470351B true CN113470351B (en) 2022-05-10

Family

ID=77870165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110670408.XA Active CN113470351B (en) 2021-06-17 2021-06-17 Traffic isochrone drawing method, system, device and medium based on checkpoint data

Country Status (1)

Country Link
CN (1) CN113470351B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009300294A (en) * 2008-06-16 2009-12-24 Casio Comput Co Ltd Wait time announcement apparatus and wait time announcement program
CN111627208A (en) * 2015-09-06 2020-09-04 阿里巴巴集团控股有限公司 Traffic isochrone information generation method and device
CN112530166A (en) * 2020-12-01 2021-03-19 江苏欣网视讯软件技术有限公司 Method and system for analyzing and identifying bus station for getting on or off bus during traveling based on signaling data and big data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6668226B2 (en) * 2001-10-11 2003-12-23 Microsoft Corporation Polar coordinate-based isochrone generation
CN108847042B (en) * 2018-08-24 2021-04-02 讯飞智元信息科技有限公司 Road condition information publishing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009300294A (en) * 2008-06-16 2009-12-24 Casio Comput Co Ltd Wait time announcement apparatus and wait time announcement program
CN111627208A (en) * 2015-09-06 2020-09-04 阿里巴巴集团控股有限公司 Traffic isochrone information generation method and device
CN112530166A (en) * 2020-12-01 2021-03-19 江苏欣网视讯软件技术有限公司 Method and system for analyzing and identifying bus station for getting on or off bus during traveling based on signaling data and big data

Also Published As

Publication number Publication date
CN113470351A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN107945507B (en) Travel time prediction method and device
CN109087510B (en) Traffic monitoring method and device
CN110909794B (en) Target detection system suitable for embedded equipment
WO2021238262A1 (en) Vehicle recognition method and apparatus, device, and storage medium
CN111131314B (en) Network behavior detection method and device, computer equipment and storage medium
CN109740479A (en) A kind of vehicle recognition methods, device, equipment and readable storage medium storing program for executing again
CN112766206B (en) High-order video vehicle detection method and device, electronic equipment and storage medium
CN111192451B (en) Vehicle arrival time prediction method and device, computer equipment and storage medium
CN110765615A (en) Logistics simulation method, device and equipment
CN112562330A (en) Method and device for evaluating road operation index, electronic equipment and storage medium
CN112447041A (en) Method and device for identifying operation behavior of vehicle and computing equipment
CN110633718B (en) Method and device for determining a driving area in an environment image
CN111931799A (en) Image recognition method and device
CN112101246A (en) Vehicle identification method, device, equipment and medium
CN116416626A (en) Method, device, equipment and storage medium for acquiring circular seal data
CN113470351B (en) Traffic isochrone drawing method, system, device and medium based on checkpoint data
CN112489436B (en) Vehicle identity recognition method, device and system and electronic device
CN109359689B (en) Data identification method and device
CN113298042B (en) Remote sensing image data processing method and device, storage medium and computer equipment
CN115880533A (en) Bridge apparent crack identification method based on adaptive subset search and deep learning
CN114972931A (en) Goods storage method and device based on knowledge distillation
CN109360137A (en) A kind of car accident appraisal procedure, computer readable storage medium and server
CN115273025A (en) Traffic asset checking method, device, medium and electronic equipment
CN113192106A (en) Livestock tracking method and device
CN111708769A (en) Method, system, computer storage medium and terminal for realizing information processing

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