CN111369785B - Traffic data processing method, device, equipment and storage medium - Google Patents

Traffic data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111369785B
CN111369785B CN201811594342.5A CN201811594342A CN111369785B CN 111369785 B CN111369785 B CN 111369785B CN 201811594342 A CN201811594342 A CN 201811594342A CN 111369785 B CN111369785 B CN 111369785B
Authority
CN
China
Prior art keywords
traffic flow
flow direction
time
determining
target intersection
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
CN201811594342.5A
Other languages
Chinese (zh)
Other versions
CN111369785A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811594342.5A priority Critical patent/CN111369785B/en
Publication of CN111369785A publication Critical patent/CN111369785A/en
Application granted granted Critical
Publication of CN111369785B publication Critical patent/CN111369785B/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/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/097Supervising of traffic control systems, e.g. by giving an alarm if two crossing streets have green light simultaneously

Landscapes

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

Abstract

The embodiment of the application provides a traffic data processing method, a traffic data processing device, traffic data processing equipment and a storage medium, so that signal lamp related information of a road intersection can be conveniently acquired. The method comprises the following steps: carrying out discrete processing on the vehicle track information of the target intersection to obtain a corresponding traffic flow direction sequence; determining the phase and the cycle time of the traffic flow direction according to the traffic flow direction sequence; and determining the timing information of the signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction. The timing information of the signal lamps corresponding to each intersection can be automatically determined, and the accuracy and the efficiency of the related information of the signal lamps are improved.

Description

Traffic data processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing traffic data, an electronic device, and a storage medium.
Background
Roads are infrastructure for various vehicles, pedestrians and the like to pass through, roads in one area are often staggered with each other, so that users can pass through to obtain various positions, and the staggered positions of the roads are intersections, such as T-intersections, crossroads and the like.
In order to ensure the smoothness of roads, signal lamps are usually arranged at intersections, and vehicles and pedestrians pass according to the indication of the signal lamps. At present, signal lamps on roads usually set information such as change directions and time of the signal lamps in manual or semi-automatic modes, and various difficulties exist in acquisition of relevant information of the signal lamps, for example, configuration information of some signal lamps is not networked and needs to be exported locally, and signal lamp information often needs to be read manually due to problems such as storage formats and storage modes of the signal lamp information, so that the accuracy is poor and the efficiency is low.
Disclosure of Invention
The embodiment of the application provides a traffic data processing method, which is used for conveniently acquiring signal lamp related information of a road intersection.
Correspondingly, the embodiment of the application also provides a traffic data processing device, an electronic device and a storage medium, which are used for ensuring the implementation and application of the method.
In order to solve the above problem, an embodiment of the present application discloses a traffic data processing method, including: carrying out discrete processing on the vehicle track information of the target intersection to obtain a corresponding traffic flow direction sequence; determining the phase and the cycle time of the traffic flow direction according to the traffic flow direction sequence; and determining the timing information of the signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction.
Optionally, the discrete processing of the vehicle track information at the target intersection to obtain a corresponding vehicle flow direction sequence includes: determining a plurality of traffic flow directions corresponding to the target intersection; and performing discrete processing on the plurality of pieces of vehicle track information according to a time axis to obtain traffic flow direction sequences corresponding to a plurality of traffic flow directions respectively.
Optionally, the discrete processing of the vehicle track information according to a time axis to obtain traffic flow direction sequences corresponding to a plurality of traffic flow directions respectively includes: and determining traffic flow direction sequences respectively corresponding to a plurality of traffic flow directions on the time axis according to the position relation between the stop line and the vehicle track information.
Optionally, the method further includes: and in the traffic flow direction sequence, performing interpolation processing on the vehicles with the time interval passing through the stop line meeting the interval threshold.
Optionally, the determining the phase and the cycle time of the traffic flow direction according to the traffic flow direction sequence includes: calculating the similarity between the traffic flow direction sequences, and determining the phase of the traffic flow direction according to the similarity; and determining the cycle time of the signal lamp corresponding to the target intersection according to the traffic flow direction sequence.
Optionally, the calculating the similarity between the traffic flow direction sequences, and determining the phase of the traffic flow direction according to the similarity includes: acquiring two traffic flow direction sequences, and calculating the similarity of the two traffic flow direction sequences; if the similarity meets a similarity threshold, determining that the two traffic flow directions belong to a phase; and if the similarity does not meet the similarity threshold, determining that the two traffic flow directions do not belong to one phase.
Optionally, the determining the cycle time of the signal lamp corresponding to the target intersection according to the traffic flow direction sequence includes: determining a corresponding traffic flow direction repetition period according to the traffic flow direction sequence; and taking the maximum repetition period in the plurality of traffic flow directions as the period time of the signal lamp corresponding to the target intersection.
Optionally, the determining the timing information of the signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction includes: and determining the green light time, the red light time and/or the green light sequence of the signal lamp corresponding to the target intersection according to the phase of the traffic flow direction and the cycle time of the signal lamp corresponding to the target intersection.
Optionally, determining the green time and the green sequence of the signal lamps corresponding to the target intersection according to the phase of the traffic flow direction and the cycle time of the signal lamps corresponding to the target intersection, includes at least one of the following steps: determining the passing time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection, and taking the passing time as the green time of the signal lamp corresponding to the traffic flow direction of the target intersection; determining the stop time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection, and taking the stop time as the red light time of the signal lamp corresponding to the traffic flow direction of the target intersection; traversing all traffic flow direction sequences along the time axis to obtain a phase sequence corresponding to the traffic behavior as a green light sequence of the signal lights corresponding to the target intersection.
Optionally, the method further includes: according to the vehicle track information, counting behavior time information of the vehicle passing through the target intersection, wherein the behavior time information comprises passing time and/or waiting time; and matching the timing information with the behavior time information to determine the vehicle passing state corresponding to the target intersection.
Optionally, the method further includes: and adjusting the timing information of the target intersection according to the vehicle passing state.
The embodiment of the application also discloses a traffic data processing device, which comprises: the sequence determination module is used for carrying out discrete processing on the vehicle track information of the target intersection to obtain a corresponding traffic flow direction sequence; the phase and period determining module is used for determining the phase and period time of the traffic flow direction according to the traffic flow direction sequence; and the signal timing determination module is used for determining timing information of the signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction.
Optionally, the sequence determining module includes: the direction determining submodule is used for determining a plurality of traffic flow directions corresponding to the target intersection; and the discrete processing submodule is used for performing discrete processing on the plurality of pieces of vehicle track information according to a time axis to obtain traffic flow direction sequences corresponding to a plurality of traffic flow directions respectively.
Optionally, the discrete processing sub-module is configured to determine traffic flow direction sequences corresponding to the multiple traffic flow directions respectively on the time axis according to a position relationship between the stop line and the vehicle trajectory information.
Optionally, the sequence determining module further includes: and the interpolation processing sub-module is used for performing interpolation processing on the vehicles with the time intervals passing through the stop line meeting the interval threshold in the traffic flow direction sequence.
Optionally, the phase and period determining module includes: the phase determining submodule is used for calculating the similarity between traffic flow direction sequences and determining the phase of the traffic flow direction according to the similarity; and the cycle determining submodule is used for determining the cycle time of the signal lamp corresponding to the target intersection according to the traffic flow direction sequence.
Optionally, the phase determining submodule is configured to obtain two traffic flow direction sequences, and calculate a similarity between the two traffic flow direction sequences; if the similarity meets a similarity threshold, determining that the two traffic flow directions belong to one phase; and if the similarity does not meet the similarity threshold, determining that the two traffic flow directions do not belong to one phase.
Optionally, the cycle determining submodule is configured to determine a corresponding traffic flow direction repetition cycle according to the traffic flow direction sequence; and taking the maximum repetition period in the multiple traffic flow directions as the period time of the signal lamp corresponding to the target intersection.
Optionally, the signal timing determining module is configured to determine a green time, a red time, and/or a green sequence of the signal lamps corresponding to the target intersection according to the phase of the traffic flow direction and the cycle time of the signal lamps corresponding to the target intersection.
Optionally, the signal timing determining module is configured to determine, within a period time of a signal lamp corresponding to the target intersection, a passing time corresponding to each phase as a green time of the signal lamp in the traffic flow direction corresponding to the target intersection; and/or determining the stop time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection as the red lamp time of the signal lamp corresponding to the traffic direction of the target intersection; and/or traversing the traffic flow direction sequences along the time axis to obtain a phase sequence corresponding to the traffic behavior as a green light sequence of the signal lights corresponding to the target intersection.
Optionally, the apparatus further comprises: the evaluation module is used for counting the behavior time information of the vehicle passing through the target intersection according to the vehicle track information, wherein the behavior time information comprises passing time and/or waiting time; and matching the timing information with the behavior time information to determine the vehicle passing state corresponding to the target intersection.
Optionally, the apparatus further comprises: and the adjusting module is used for adjusting the timing information of the target intersection according to the vehicle passing state.
The embodiment of the application also discloses an electronic device, which comprises: a processor; and a memory having executable code stored thereon, which when executed, causes the processor to perform a traffic data processing method as described in one or more of the embodiments of the present application.
One or more machine-readable media having stored thereon executable code that, when executed, causes a processor to perform a traffic data processing method as described in one or more of the embodiments of the present application are also disclosed.
Compared with the prior art, the embodiment of the application has the following advantages:
in the embodiment of the application, the vehicle track information of the target intersection can be subjected to discrete processing to obtain the traffic flow direction sequence corresponding to the target intersection, then the phase and the cycle time of the traffic flow direction are determined according to the traffic flow direction sequence, the information such as the driving direction and the driving time of the vehicle at the intersection is automatically determined, the timing information of the signal lamp corresponding to the target intersection is determined according to the phase and the cycle time of the traffic flow direction, the timing information of the signal lamp corresponding to each intersection can be automatically determined, and the accuracy and the efficiency of the related information of the signal lamp are improved.
Drawings
FIG. 1 is a schematic view of traffic flow at an intersection according to an embodiment of the present application;
FIG. 2 is a flow chart of steps of an embodiment of a traffic data processing method of the present application;
FIG. 3 is a schematic diagram of directional activity of a traffic direction behavior according to an embodiment of the present application;
FIG. 4 is a flow chart of steps in another traffic data processing method embodiment of the present application;
FIG. 5 is a flow chart of steps in yet another traffic data processing method embodiment of the present application;
FIG. 6 is a block diagram of an embodiment of a traffic data processing apparatus according to the present application;
FIG. 7 is a block diagram of another embodiment of a traffic data processing apparatus according to the present application;
fig. 8 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to the schematic diagram of the traffic flow direction at an intersection shown in fig. 1, since the intersection does not need to turn right, and therefore the intersection ignores the direction of the right-turning traffic flow, the intersection has 8 traffic flow directions, which are respectively the north-to-south straight traffic flow direction 1, the south-to-east (south-to-left) traffic flow direction 2, the east-to-west straight traffic flow direction 3, the west-to-south (west-to-left) traffic flow direction 4, the south-to-north straight traffic flow direction 5, the north-to-west (north-to-left) traffic flow direction 6, the west-to-east straight traffic flow direction 7, and the east-to-south (east-to-left) traffic flow direction 8. The dashed lines in fig. 1 indicate the stop lines of the road segments at the intersection. For example, if a right turn requires a signal light indication, the intersection may include 12 traffic directions; if the intersection turns right without the indication of a signal lamp and the straight-going and left-turning share the same signal lamp, the intersection comprises 4 traffic directions, so that the traffic direction of the intersection can be determined according to the actual situation of the intersection, and the embodiment of the application does not limit the direction.
In the embodiment of the application, the traffic flow direction sequence corresponding to each traffic flow direction can be obtained according to the vehicle track information of vehicles passing through the intersection, and the time, the sequence and the like of the signal lamps in each direction of the intersection are automatically estimated based on the traffic flow direction sequence, so that the accuracy and the efficiency of the related information of the signal lamps are improved. The vehicle track information refers to track data of the vehicle running on the road, such as positioning data of different times.
Referring to FIG. 2, a flow chart of steps of an embodiment of a traffic data processing method of the present application is shown.
Step 202, performing discrete processing on the vehicle track information of the target intersection to obtain a traffic flow direction sequence corresponding to the target intersection.
The traffic direction sequence is a sequence formed by traffic situations of stop lines designating traffic directions on a discrete time axis. For any one target intersection, vehicle track information of a vehicle running on the target intersection within a certain time range can be acquired, for example, the vehicle track information is acquired through monitoring videos, vehicle-mounted equipment, navigation equipment and the like. And then, carrying out discrete processing on the vehicle track information of the target intersection on a time axis according to the traffic flow direction to obtain a discrete traffic flow direction sequence corresponding to each traffic flow direction.
In an optional embodiment, the discrete processing of the vehicle track information at the target intersection to obtain a vehicle flow direction sequence corresponding to the target intersection includes: determining a plurality of traffic flow directions corresponding to the target intersection; and performing discrete processing on the plurality of pieces of vehicle track information according to a time axis to obtain traffic flow direction sequences corresponding to a plurality of traffic flow directions respectively. The vehicle track information of a plurality of vehicles passing through the target intersection and a plurality of traffic flow directions corresponding to the target intersection can be obtained within a specified time range, the number of the specific traffic flow directions can be determined according to the conditions of intersection signal lamps, for example, 8 traffic flow directions can be determined in the intersection shown in fig. 1, and in some intersections, the right turn also needs to be indicated according to the signal lamps, or the straight-going and left turn share the same signal lamp, so that 12 or 4 traffic flow directions and the like can be determined. Then, the vehicles passing through in each traffic flow direction are respectively counted through the plurality of pieces of vehicle track information, and the passing vehicles are subjected to discrete processing according to a time axis, for example, the passing vehicles are one recording point every second, so that traffic flow direction sequences corresponding to the traffic flow directions are obtained.
In a further embodiment, the discrete processing of the vehicle trajectory information according to a time axis to obtain traffic flow direction sequences corresponding to a plurality of traffic flow directions respectively includes: and determining traffic flow direction sequences respectively corresponding to a plurality of traffic flow directions on the time axis according to the position relation between the stop line and the vehicle track information. For each traffic flow direction, the association relationship between the stop line, the vehicle and the time is determined through each piece of vehicle track information, for example, the time point when the corresponding vehicle passes through the stop line is respectively determined through each piece of vehicle track information, or the vehicle passing through the stop line is respectively counted according to time through each piece of vehicle track information, then discrete processing is performed according to a time axis, the vehicle passing through the stop line at each time point on the discrete time axis is determined, and the corresponding traffic flow direction sequence is obtained. For example, when a time point when the vehicle passes the stop line is recorded in the association relationship, every second is taken as one recording time point, and for each traffic flow direction, at each discrete time point, when there is a vehicle trajectory passing the stop line, the traffic flow direction is marked with 1 at the time point, and when there is no vehicle trajectory passing the stop line, the traffic flow direction is marked with 0 at the time point, so that a discrete-time traffic flow direction sequence of 0 and 1 is obtained in each traffic flow direction, for example, the traffic flow direction sequence is [101100110000000000 ].
In some embodiments, the flow direction sequence may be interpolated, wherein an interpolation between two vehicles passing through a short stop line interval may be performed in the flow direction sequence, so as to perform a smoothing process on the flow direction sequence, and fill in the gap of the green time, so as to accurately determine the green time of the flow direction. In the traffic flow direction sequence, interpolation processing is carried out between vehicles which pass through the time interval of the stop line and meet the interval threshold, for example, the interval threshold is one time point or two time points, or within 3 time points, and the like, and can be determined according to requirements, so that the time period formed by the time points can be filled with the green light time which can be passed by the vehicles.
As for the traffic flow direction sequence composed of 0 and 1 in the above example, 0 between two 1 having a short interval can be updated to 1 by interpolation processing, for example, if the interval threshold is 3 or less (including 3), and if 0 between two 1 is 3 or less, 0 can be interpolated to 1, the traffic flow direction sequence is [101100110000000000], and [111111110000000000] is obtained by interpolation processing.
By performing discrete processing on the time axis, a direction activity map showing the behavior in the traffic direction can be obtained, and the driving state, the change in direction, and the like of the vehicle in each traffic direction can be displayed easily, as shown in fig. 3.
And 204, determining the phase and the cycle time of the traffic flow direction according to the traffic flow direction sequence.
In a traffic system, the phases are mainly applied to traffic intersections, the phases refer to the requirements and the grants of the right of way, and one phase can represent the right of way of a motor vehicle and the right of way of pedestrians. The cycle time refers to the time when the intersection cycles once in each direction. The phase of the traffic flow direction and the corresponding cycle time of the target intersection can be calculated based on each point in the traffic flow direction sequence.
In an optional embodiment, the determining the phase and the cycle time of the traffic direction according to the traffic direction sequence includes: calculating the similarity between the traffic flow direction sequences, and determining the phase of the traffic flow direction according to the similarity; and determining the cycle time of the signal lamp corresponding to the target intersection according to the traffic flow direction sequence. For each point in the sequence of directions of flow, a behavior signal can be considered in the traffic system, which behavior signal indicates a passing or stopping behavior, for example, a 1 in the sequence of directions of flow indicates a passing behavior and a 0 indicates a stopping behavior. If the passing time and the stopping time of the two traffic directions are the same, the phases of the two traffic directions are the same, as shown in fig. 1, the phases of the traffic directions 1 and 5 are the same, the phases of the traffic directions 2 and 6 are the same, the phases of the traffic directions 3 and 7 are the same, and the phases of the traffic directions 4 and 8 are the same.
In the embodiment of the application, for different traffic directions, similarity calculation can be performed based on the sequence values of the corresponding traffic direction sequences, so that the similarity between the traffic direction sequences is obtained, and the traffic directions with the same phase are determined based on the similarity. And the passing time of a green light or the stop time of a red light can be determined based on the traffic flow direction sequence of each traffic flow direction, so that the cycle time of the signal lamp corresponding to the target intersection is determined.
Wherein, the calculating the similarity between the traffic flow direction sequences and determining the phase of the traffic flow direction according to the similarity comprises: acquiring two traffic flow direction sequences, and calculating the similarity of the two traffic flow direction sequences; if the similarity meets a similarity threshold, determining that the two traffic flow directions belong to one phase; and if the similarity does not meet the similarity threshold, determining that the two traffic flow directions do not belong to one phase. For any two traffic flow direction sequences, the similarity of the two traffic flow direction sequences can be calculated. And a similarity threshold value can be set so as to determine whether any two traffic directions are in the same phase, thereby obtaining the phase of each traffic direction.
A way of calculating the similarity between traffic directions is shown in formula (1):
Figure BDA0001921009700000081
wherein s isi(t) and sj(t) behavior signals corresponding to a traffic direction sequence of directions i and j, t0And t1As integration interval, it is flexible to choose, i.e. t0And t1Any value more than one period may be selected in between, and the length is not particularly limited, for example, the first 1 after 0 in a certain direction is taken as t0,t1Selection of (t)0And then more than one signal period.
Therefore, the phase of each traffic direction can be obtained based on the behavior signal corresponding to the traffic direction sequence. In the embodiment of the present application, for two traffic flow directions with the same phase, the two corresponding traffic flow direction sequences may also be compared with each other, and the corresponding traffic flow direction sequence is modified, for example, the behavior signal corresponding to the communication behavior is compared, so as to modify the green light time range, and the like.
Wherein, the determining the cycle time of the signal lamp corresponding to the target intersection according to the traffic flow direction sequence comprises: determining a corresponding traffic flow direction repetition period according to the traffic flow direction sequence; and taking the maximum repetition period in the plurality of traffic flow directions as the period time of the signal lamp corresponding to the target intersection. According to the passing or stopping behavior signals in the traffic flow direction sequence, the time information such as the passing time, the stopping time and the like corresponding to the traffic flow direction can be determined, so that the cycle time corresponding to the traffic flow direction is obtained, the repetition cycle of each traffic flow direction is further determined, and then the largest repetition cycle in the repetition cycles corresponding to each traffic flow direction is used as the cycle time of the signal lamp corresponding to the target intersection. One example of a calculation is shown in equation (2):
Figure BDA0001921009700000091
wherein, cycle represents the intersection cycleiIs the repetition period of the direction i.
Therefore, the relation between the traffic flow direction and the phase can be determined through the traffic flow direction sequence, and the cycle time of the signal lamp corresponding to the target intersection can be determined.
And step 206, determining the timing information of the signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction.
The timing information refers to the time and direction of signal lamp configuration in the intersection, and includes the passing time and stopping time corresponding to each traffic flow direction, and the timing information such as the time of various signal lamps corresponding to each traffic flow direction at the target intersection can be estimated based on the phase and cycle time of the traffic flow direction.
In the embodiment of the application, the information such as the passing or stopping behavior and time is determined according to the position relation between the vehicle track information and the stop line, for example, the vehicle passes when the green light is on, and the vehicle stops passing when the red light is on, so that the corresponding moving track of the vehicle track information is usually related to the green light on in the direction. In an optional embodiment, the determining the timing information of the signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction includes: and determining the green time and the green sequence of the signal lamps corresponding to the target intersection according to the phase of the traffic flow direction and the cycle time of the signal lamps corresponding to the target intersection. And determining the passing time, the stopping time and the like of the vehicles corresponding to each traffic flow direction in the period time according to the phase of the traffic flow direction in the period time of the signal lamp corresponding to the target intersection, so as to obtain the green light time of the signal lamp corresponding to the target intersection based on the passing time, obtain the red light time of the signal lamp corresponding to the target intersection based on the stopping time, and determine the green light sequence and the like of the signal lamp corresponding to the target intersection based on the movement of the vehicles corresponding to different directions.
Determining the green time and the green sequence of the signal lamps corresponding to the target intersection according to the phase of the traffic flow direction and the cycle time of the signal lamps corresponding to the target intersection, wherein the determining comprises the following steps: determining the passing time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection, and taking the passing time as the green time of the signal lamp corresponding to the traffic flow direction of the target intersection; determining the stop time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection, and taking the stop time as the red light time of the signal lamp corresponding to the traffic flow direction of the target intersection; and traversing all traffic flow direction sequences along the time axis to obtain a phase sequence corresponding to the traffic behavior, wherein the phase sequence is used as a green light sequence of a signal lamp corresponding to the target intersection.
The green time counted in one cycle time for each phase is the duration (passing time) of 1 for the phase (the traffic direction included in the phase) in the cycle time, so that the passing time corresponding to each phase is determined in the cycle time of the signal lamp corresponding to the target intersection, and can be used as the green time of the signal lamp corresponding to the target intersection. Correspondingly, the red light time is the duration (passing time) of 0 in the phase (traffic flow direction included in the phase) in the cycle time, and the red light time of the signal lamp in the traffic flow direction corresponding to the target intersection can also be determined by subtracting the green light time from the cycle time. And for the green light sequence, traversing each traffic flow direction sequence along the time axis, outputting the phase corresponding to the traffic behavior of the direction when the direction with the behavior signal of 1 is obtained, obtaining the phase sequence of the corresponding traffic behavior, and determining the corresponding traffic flow direction based on the phase sequence so as to obtain the green light sequence of the corresponding signal light of the target intersection.
The method can be used for performing discrete processing on the vehicle track information of the target intersection to obtain a traffic flow direction sequence corresponding to the target intersection, then determining the phase and the cycle time of the traffic flow direction according to the traffic flow direction sequence, automatically determining the information such as the driving direction and the driving time of the vehicle at the intersection, and then determining the timing information of the signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction, so that the processing of the signal lamp corresponding to the intersection can be automatically performed, and the accuracy and the efficiency of the related information of the signal lamp are improved.
On the basis of obtaining the timing information of the signal lamp corresponding to the target intersection, the reasonability of the configuration of the signal lamp corresponding to the intersection can be evaluated, and the timing information can be adjusted. In an optional embodiment, according to the vehicle track information, behavior time information of a vehicle passing through the target intersection is counted, wherein the behavior time information comprises passing time and/or waiting time; and matching the timing information with the behavior time information to determine the vehicle passing state corresponding to the target intersection. Based on the track information of each vehicle, the behavior time information such as passing time and waiting time corresponding to the passing of the vehicle through the target intersection can be counted, and then the behavior time information can be matched with the timing information, for example, whether the passing time is in green light time or in cycle time, whether the waiting time exceeds red light time or in cycle time, and the like, so that the vehicle passing state corresponding to the target intersection can be determined, such as various states such as a smooth passing state, a slow passing state, a queuing waiting state, congestion, and the like. The corresponding time threshold can be set based on various states, so that the difference value of the timing information and the behavior time information is compared with the corresponding time threshold to determine the corresponding vehicle passing state, and the specific setting can be determined according to requirements. And the information such as the traffic flow corresponding to each traffic flow direction of the target intersection can be passed through based on the vehicle track information.
On the basis of the above embodiments, if the vehicle frequently has the status of queuing, congestion, etc. in some traffic directions, or the traffic flow in a certain direction is less, etc., in some other optional embodiments, the timing information of the target intersection can be adjusted according to the traffic status. The traffic condition of the traffic flow direction corresponding to the target intersection can be determined according to the traffic state, the green time can be prolonged aiming at the traffic flow direction with the states of queuing, congestion and the like, or the green time of the traffic flow direction can be shortened aiming at the condition that the traffic flow in a certain traffic flow direction is less, and the like.
In the embodiment of the application, the timing information can be adjusted in different time periods, for example, the vehicle passing states in different time periods are passed, so that the timing information is adjusted in different time periods, or the timing information of the signal lamp is dynamically adjusted in certain time periods of a day, for example, the green time in certain traffic directions is prolonged during rush hours and rush hours.
Therefore, the reasonability of the signal lamp of the intersection can be evaluated based on the automatically matched timing information, the timing information can be automatically adjusted, reasonable suggestions are provided for urban planning, and the smoothness of urban traffic is improved.
On the basis of the embodiment, the traffic data processing method is further provided, discrete processing of a time axis can be performed on the basis of the vehicle track information, corresponding phases and periods are obtained, timing information such as green time and sequence of signal lamps corresponding to the target intersection is determined, and accuracy and efficiency of determination of relevant information of the signal lamps are improved.
Referring to FIG. 4, a flow chart of steps of another traffic data processing method embodiment of the present application is shown.
Step 402, determining a plurality of traffic directions corresponding to the target intersection.
And 404, performing discrete processing on the plurality of pieces of vehicle track information according to a time axis to obtain traffic flow direction sequences corresponding to a plurality of traffic flow directions respectively.
And 406, calculating the similarity between the traffic flow direction sequences, and determining the phase of the traffic flow direction according to the similarity.
And 408, determining the cycle time of the signal lamp corresponding to the target intersection according to the traffic flow direction sequence.
And step 410, determining the green light time, the red light time and the green light sequence of the signal lights corresponding to the target intersection according to the phase of the traffic flow direction and the cycle time of the signal lights corresponding to the target intersection.
Step 412, determining the evaluation information and the adjustment information of the signal lamp corresponding to the target intersection according to the vehicle track information and the timing information. And if the reasonableness of the signal lamp setting is evaluated based on the vehicle passing state corresponding to the target intersection, obtaining corresponding evaluation information, and if the timing information and the like of the target intersection are adjusted based on the vehicle passing state.
On the basis of the embodiment, the traffic data processing method is further provided, discrete processing of a time axis can be performed on the basis of vehicle track information, interpolation processing is performed on a sequence, corresponding phases and periods can be obtained on the basis of the sequence, timing information such as green light time and sequence of signal lights corresponding to a target intersection is determined, behavior of the track passing through the intersection can be modeled, and automatic calculation of traffic timing information is achieved by using a data mining technology.
Referring to FIG. 5, a flow chart of steps of yet another traffic data processing method embodiment of the present application is shown.
Step 502, determining a plurality of traffic directions corresponding to the target intersection.
And step 504, determining traffic flow direction sequences respectively corresponding to a plurality of traffic flow directions on the time axis according to the position relation between the stop line and the vehicle track information.
And step 506, in the traffic flow direction sequence, performing interpolation processing on the vehicles passing through the stop line and having the time interval meeting the interval threshold.
And step 508, acquiring two traffic flow direction sequences, and calculating the similarity of the two traffic flow direction sequences.
Step 510, determining whether the similarity satisfies a similarity threshold. If yes, go to step 512; if not, go to step 514.
And step 512, determining that the two traffic directions belong to one phase.
Step 514, determining that the two traffic directions do not belong to a phase.
And 516, determining a corresponding traffic flow direction repetition period according to the traffic flow direction sequence.
And 518, taking the maximum repetition period in the multiple traffic flow directions as the period time of the signal lamp corresponding to the target intersection.
And step 520, determining the passing time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection, and taking the passing time as the green time of the signal lamp corresponding to the traffic flow direction at the target intersection.
And 522, determining the stop time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection, wherein the stop time is used as the red light time of the signal lamp corresponding to the traffic direction of the target intersection.
And step 524, traversing the traffic flow direction sequences along the time axis to obtain a phase sequence corresponding to the traffic behavior, wherein the phase sequence is used as a green sequence of the signal lamps corresponding to the target intersection.
Step 526, counting behavior time information of the vehicle passing through the target intersection according to the vehicle track information, wherein the behavior time information comprises passing time and/or waiting time; and matching the timing information with the behavior time information to determine the vehicle passing state corresponding to the target intersection.
And step 528, adjusting the timing information of the target intersection according to the vehicle passing state.
The method and the system can evaluate the reasonability of the intersection signal lamp based on the automatically matched timing information and automatically adjust the timing information, provide reasonable suggestions for urban planning, and improve the smoothness of urban traffic.
The embodiment of the application can determine the timing information of the signal lamp through the running track of the vehicle at the intersection, model the behavior of the track passing through the intersection from the track of the floating vehicle, and realize automatic calculation of the traffic timing information by using a data mining technology, so that the automation degree is high, and the popularization is easy.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those of skill in the art will recognize that the embodiments described in this specification are presently preferred embodiments and that no particular act is required to implement the embodiments of the disclosure.
On the basis of the above embodiments, the present embodiment further provides a traffic data processing apparatus, which is applied to electronic devices such as a terminal device and a server.
Referring to fig. 6, a block diagram of a traffic data processing apparatus according to an embodiment of the present application is shown, and may specifically include the following modules:
the sequence determining module 602 is configured to perform discrete processing on the vehicle track information at the target intersection to obtain a corresponding traffic flow direction sequence.
And a phase and period determining module 604, configured to determine a phase and a period time of the traffic direction according to the traffic direction sequence.
And a signal timing determining module 606, configured to determine timing information of a signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction.
In conclusion, the vehicle track information of the target intersection can be subjected to discrete processing to obtain a traffic flow direction sequence corresponding to the target intersection, then the phase and the cycle time of the traffic flow direction are determined according to the traffic flow direction sequence, the information such as the driving direction and the driving time of the vehicle at the intersection is automatically determined, the timing information of the signal lamp corresponding to the target intersection is determined according to the phase and the cycle time of the traffic flow direction, the timing information of the signal lamp corresponding to each intersection can be automatically determined, and the accuracy and the efficiency of the related information of the signal lamp are improved.
Referring to fig. 7, a block diagram of another embodiment of a traffic data processing apparatus according to the present application is shown, and specifically, the block diagram may include the following modules:
the sequence determining module 602 is configured to perform discrete processing on the vehicle track information at the target intersection to obtain a corresponding traffic flow direction sequence.
And a phase and period determining module 604, configured to determine a phase and a period time of the traffic direction according to the traffic direction sequence.
And a signal timing determination module 606, configured to determine timing information of a signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction.
The evaluation module 608 is configured to count behavior time information of the vehicle passing through the target intersection according to the vehicle track information, where the behavior time information includes passing time and/or waiting time; and matching the timing information with the behavior time information to determine the vehicle passing state corresponding to the target intersection.
And the adjusting module 610 is configured to adjust the timing information of the target intersection according to the vehicle passing state.
Wherein the sequence determination module 602 comprises: direction determination sub-module 6022, discrete processing sub-module 6024, and interpolation processing sub-module 6026:
the direction determination submodule 6022 is configured to determine a plurality of traffic directions corresponding to the target intersection.
The discrete processing submodule 6024 is configured to perform discrete processing on the plurality of pieces of vehicle trajectory information according to a time axis to obtain a traffic flow direction sequence corresponding to each of the plurality of traffic flow directions.
An interpolation processing sub-module 6026 for interpolating between vehicles whose time interval passing through the stop line satisfies the interval threshold value in the traffic flow direction sequence.
The discrete processing submodule 6024 is configured to determine a traffic flow direction sequence corresponding to each of the plurality of traffic flow directions on the time axis according to a position relationship between the stop line and the vehicle track information.
The phase and period determination module 604 includes: phase determination sub-module 6042 and period determination sub-module 6044:
the phase determining submodule 6042 is configured to calculate similarity between traffic flow direction sequences, and determine a phase of a traffic flow direction according to the similarity;
the cycle determining submodule 6044 is configured to determine cycle time of a signal lamp corresponding to the target intersection according to the traffic flow direction sequence.
The phase determining submodule 6042 is configured to obtain two traffic flow direction sequences, and calculate a similarity between the two traffic flow direction sequences; if the similarity meets a similarity threshold, determining that the two traffic flow directions belong to one phase; and if the similarity does not meet the similarity threshold, determining that the two traffic flow directions do not belong to one phase.
The cycle determining submodule 6044 is configured to determine a corresponding traffic flow direction repetition cycle according to the traffic flow direction sequence; and taking the maximum repetition period in the plurality of traffic flow directions as the period time of the signal lamp corresponding to the target intersection.
The signal timing determining module 606 is configured to determine a green time, a red time, and/or a green sequence of the signal lamp corresponding to the target intersection according to the phase of the traffic flow direction and the cycle time of the signal lamp corresponding to the target intersection.
The signal timing determining module 606 is configured to determine, within the cycle time of the signal lamp corresponding to the target intersection, a passing time corresponding to each phase as a green time of the signal lamp in the traffic flow direction corresponding to the target intersection; and/or determining the stop time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection as the red lamp time of the signal lamp corresponding to the traffic direction of the target intersection; and/or traversing the traffic flow direction sequences along the time axis to obtain a phase sequence corresponding to the traffic behavior as a green light sequence of the signal lights corresponding to the target intersection.
The embodiment of the application can determine the timing information of the signal lamp through the running track of the vehicle at the intersection, model the behavior of the track passing through the intersection from the track of the floating vehicle, and realize automatic calculation of the traffic timing information by using a data mining technology, so that the automation degree is high, and the popularization is easy.
And moreover, the reasonability of the signal lamp of the intersection can be evaluated based on the automatically matched timing information, the timing information can be automatically adjusted, reasonable suggestions are provided for urban planning, and the smoothness of urban traffic is improved.
The present application further provides a non-transitory, readable storage medium, where one or more modules (programs) are stored, and when the one or more modules are applied to a device, the device may execute instructions (instructions) of method steps in this application.
Embodiments of the present application provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an electronic device to perform the methods as described in one or more of the above embodiments. In the embodiment of the present application, the electronic device includes various types of devices such as a terminal device and a server (cluster).
Embodiments of the present disclosure may be implemented as an apparatus, which may include electronic devices such as a terminal device, a server (cluster), etc., using any suitable hardware, firmware, software, or any combination thereof, to perform a desired configuration. Fig. 8 schematically illustrates an example apparatus 800 that may be used to implement various embodiments described herein.
For one embodiment, fig. 8 illustrates an example apparatus 800 having one or more processors 802, a control module (chipset) 804 coupled to at least one of the processor(s) 802, a memory 806 coupled to the control module 804, a non-volatile memory (NVM)/storage 808 coupled to the control module 804, one or more input/output devices 810 coupled to the control module 804, and a network interface 812 coupled to the control module 804.
The processor 802 may include one or more single-core or multi-core processors, and the processor 802 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the apparatus 800 can be used as a terminal device, a server (cluster), or the like in the embodiments of the present application.
In some embodiments, the apparatus 800 may include one or more computer-readable media (e.g., the memory 806 or the NVM/storage 808) having instructions 814 and one or more processors 802 that, in conjunction with the one or more computer-readable media, are configured to execute the instructions 814 to implement modules to perform the actions described in this disclosure.
For one embodiment, the control module 804 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 802 and/or any suitable device or component in communication with the control module 804.
The control module 804 may include a memory controller module to provide an interface to the memory 806. The memory controller module may be a hardware module, a software module, and/or a firmware module.
The memory 806 may be used, for example, to load and store data and/or instructions 814 for the apparatus 800. For one embodiment, memory 806 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the memory 806 may comprise a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, the control module 804 may include one or more input/output controllers to provide an interface to the NVM/storage 808 and input/output device(s) 810.
For example, the NVM/storage 808 may be used to store data and/or instructions 814. NVM/storage 808 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drive(s) (HDD (s)), one or more Compact Disc (CD) drive(s), and/or one or more Digital Versatile Disc (DVD) drive (s)).
The NVM/storage 808 may include storage resources that are physically part of the device on which the apparatus 800 is installed, or it may be accessible by the device and may not be necessary as part of the device. For example, the NVM/storage 808 may be accessible over a network via the input/output device(s) 810.
Input/output device(s) 810 may provide an interface for apparatus 800 to communicate with any other suitable device, input/output devices 810 may include communication components, audio components, sensor components, and so forth. The network interface 812 may provide an interface for the device 800 to communicate over one or more networks, and the device 800 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as access to a communication standard-based wireless network, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof.
For one embodiment, at least one of the processor(s) 802 may be packaged together with logic for one or more controller(s) (e.g., memory controller module) of the control module 804. For one embodiment, at least one of the processor(s) 802 may be packaged together with logic for one or more controller(s) of the control module 804 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 802 may be integrated on the same die with logic for one or more controller(s) of the control module 804. For one embodiment, at least one of the processor(s) 802 may be integrated on the same die with logic of one or more controllers of the control module 804 to form a system on a chip (SoC).
In various embodiments, the apparatus 800 may be, but is not limited to being: a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.), among other terminal devices. In various embodiments, the apparatus 800 may have more or fewer components and/or different architectures. For example, in some embodiments, device 800 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
The detection device may adopt a main control chip as a processor or a control module, the sensor data, the position information and the like are stored in a memory or an NVM/storage device, the sensor group may serve as an input/output device, and the communication interface may include a network interface.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or terminal equipment comprising the element.
The traffic data processing method and apparatus, the electronic device and the storage medium provided by the present application are introduced in detail, and specific examples are applied in the present application to explain the principles and embodiments of the present application, and the descriptions of the above embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

1. A traffic data processing method, characterized in that the method comprises:
determining a plurality of traffic flow directions corresponding to a target intersection;
determining traffic flow direction sequences respectively corresponding to a plurality of traffic flow directions on a time axis according to the position relation between the stop line and the vehicle track information;
determining the phase and the cycle time of the traffic flow direction according to the traffic flow direction sequence;
and determining the timing information of the signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction.
2. The method of claim 1, further comprising:
and in the traffic flow direction sequence, performing interpolation processing on the vehicles with the time interval passing through the stop line meeting the interval threshold.
3. The method of claim 1, wherein determining the phase and cycle time of the traffic direction from the sequence of traffic directions comprises:
calculating the similarity between the traffic flow direction sequences, and determining the phase of the traffic flow direction according to the similarity;
and determining the cycle time of the signal lamp corresponding to the target intersection according to the traffic flow direction sequence.
4. The method of claim 3, wherein the calculating the similarity between the traffic flow direction sequences and the determining the phase of the traffic flow direction according to the similarity comprises:
acquiring two traffic flow direction sequences, and calculating the similarity of the two traffic flow direction sequences;
if the similarity meets a similarity threshold, determining that the two traffic flow directions belong to one phase;
and if the similarity does not meet the similarity threshold, determining that the two traffic flow directions do not belong to one phase.
5. The method according to claim 3, wherein the determining the cycle time of the signal light corresponding to the target intersection according to the traffic flow direction sequence comprises:
determining a corresponding traffic flow direction repetition period according to the traffic flow direction sequence;
and taking the maximum repetition period in the multiple traffic flow directions as the period time of the signal lamp corresponding to the target intersection.
6. The method according to claim 3, wherein the determining the timing information of the signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction comprises:
and determining the green light time, the red light time and/or the green light sequence of the signal lamp corresponding to the target intersection according to the phase of the traffic flow direction and the cycle time of the signal lamp corresponding to the target intersection.
7. The method according to claim 6, wherein determining the green time and the green sequence of the signal lights corresponding to the target intersection according to the phase of the traffic flow direction and the cycle time of the signal lights corresponding to the target intersection comprises at least one of the following steps:
determining the passing time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection, and taking the passing time as the green time of the signal lamp corresponding to the traffic flow direction of the target intersection;
determining the stop time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection, and taking the stop time as the red light time of the signal lamp corresponding to the traffic flow direction of the target intersection;
and traversing all traffic flow direction sequences along the time axis to obtain a phase sequence corresponding to the traffic behavior as a green light sequence of the signal light corresponding to the target intersection.
8. The method of claim 1, further comprising:
according to the vehicle track information, counting behavior time information of the vehicle passing through the target intersection, wherein the behavior time information comprises passing time and/or waiting time;
and matching the timing information with the behavior time information to determine the vehicle passing state corresponding to the target intersection.
9. The method of claim 8, further comprising:
and adjusting the timing information of the target intersection according to the vehicle passing state.
10. A traffic data processing apparatus, characterized in that the apparatus comprises:
the sequence determination module is used for carrying out discrete processing on the vehicle track information of the target intersection to obtain a corresponding traffic flow direction sequence;
the phase and period determining module is used for determining the phase and period time of the traffic flow direction according to the traffic flow direction sequence;
the signal timing determining module is used for determining timing information of a signal lamp corresponding to the target intersection according to the phase and the cycle time of the traffic flow direction;
the sequence determination module includes:
the direction determining submodule is used for determining a plurality of traffic flow directions corresponding to the target intersection;
and the discrete processing sub-module is used for determining traffic flow direction sequences respectively corresponding to the multiple traffic flow directions on the time axis according to the position relation between the stop line and the vehicle track information.
11. The apparatus of claim 10, wherein the sequence determining module further comprises:
and the interpolation processing sub-module is used for performing interpolation processing on the vehicles with the time intervals passing through the stop line meeting the interval threshold in the traffic flow direction sequence.
12. The apparatus of claim 10, wherein the phase and period determination module comprises:
the phase determining submodule is used for calculating the similarity between the traffic flow direction sequences and determining the phase of the traffic flow direction according to the similarity;
and the cycle determining submodule is used for determining the cycle time of the signal lamp corresponding to the target intersection according to the traffic flow direction sequence.
13. The apparatus of claim 12,
the phase determining submodule is used for acquiring two traffic flow direction sequences and calculating the similarity of the two traffic flow direction sequences; if the similarity meets a similarity threshold, determining that the two traffic flow directions belong to one phase; and if the similarity does not meet the similarity threshold, determining that the two traffic flow directions do not belong to one phase.
14. The apparatus of claim 12,
the cycle determining submodule is used for determining a corresponding traffic flow direction repetition cycle according to the traffic flow direction sequence; and taking the maximum repetition period in the multiple traffic flow directions as the period time of the signal lamp corresponding to the target intersection.
15. The apparatus of claim 12,
and the signal timing determination module is used for determining the green light time, the red light time and/or the green light sequence of the signal lights corresponding to the target intersection according to the phase of the traffic flow direction and the cycle time of the signal lights corresponding to the target intersection.
16. The apparatus of claim 15,
the signal timing determining module is used for determining the passing time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection, and the passing time is used as the green time of the signal lamp corresponding to the traffic flow direction of the target intersection; and/or determining the stop time corresponding to each phase within the cycle time of the signal lamp corresponding to the target intersection as the red lamp time of the signal lamp corresponding to the traffic direction of the target intersection; and/or traversing the traffic flow direction sequences along the time axis to obtain a phase sequence corresponding to the traffic behavior as a green light sequence of the signal lights corresponding to the target intersection.
17. The apparatus of claim 10, further comprising:
the evaluation module is used for counting the behavior time information of the vehicle passing through the target intersection according to the vehicle track information, wherein the behavior time information comprises passing time and/or waiting time; and matching the timing information with the behavior time information to determine the vehicle passing state corresponding to the target intersection.
18. The apparatus of claim 17, further comprising:
and the adjusting module is used for adjusting the timing information of the target intersection according to the vehicle passing state.
19. An electronic device, comprising: a processor; and
memory having stored thereon executable code which, when executed, causes the processor to perform a traffic data processing method according to one or more of claims 1-9.
20. One or more machine-readable media having executable code stored thereon that, when executed, causes a processor to perform a traffic data processing method as recited in one or more of claims 1-9.
CN201811594342.5A 2018-12-25 2018-12-25 Traffic data processing method, device, equipment and storage medium Active CN111369785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811594342.5A CN111369785B (en) 2018-12-25 2018-12-25 Traffic data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811594342.5A CN111369785B (en) 2018-12-25 2018-12-25 Traffic data processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111369785A CN111369785A (en) 2020-07-03
CN111369785B true CN111369785B (en) 2022-05-24

Family

ID=71205942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811594342.5A Active CN111369785B (en) 2018-12-25 2018-12-25 Traffic data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111369785B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113870557A (en) * 2021-09-24 2021-12-31 阿波罗智联(北京)科技有限公司 Traffic policy detection method, device, apparatus, storage medium, and program
CN114299716B (en) * 2021-12-27 2023-04-25 北京世纪高通科技有限公司 Method, device, storage medium and equipment for associating time information of signal lamps
CN114926980B (en) * 2022-04-22 2023-04-14 阿里巴巴(中国)有限公司 Traffic data mining method and device, electronic equipment and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103996308A (en) * 2014-06-09 2014-08-20 北京易华录信息技术股份有限公司 System and method capable of monitoring intersection signal control effect in real time
CN104332058A (en) * 2013-07-31 2015-02-04 南通大学 Intelligent traffic light controlling method and system
CN107257379A (en) * 2017-06-30 2017-10-17 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information
CN108171978A (en) * 2017-12-29 2018-06-15 迈锐数据(北京)有限公司 A kind of traffic conditions evaluation method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0978811A3 (en) * 1998-08-07 2000-08-16 Siemens Aktiengesellschaft Method and device to obtain travel times of vehicles
PT102988A (en) * 2003-06-30 2004-12-31 Joao Antonio Crespo Fontes SYSTEM OF DETERMINATION OF RELATIVE POSITION BETWEEN SEVERAL VEHICLES
CN100580735C (en) * 2008-09-25 2010-01-13 北京航天智通科技有限公司 Real-time dynamic traffic information processing method based on car detecting technique
US9183743B2 (en) * 2013-10-31 2015-11-10 Bayerische Motoren Werke Aktiengesellschaft Systems and methods for estimating traffic signal information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104332058A (en) * 2013-07-31 2015-02-04 南通大学 Intelligent traffic light controlling method and system
CN103996308A (en) * 2014-06-09 2014-08-20 北京易华录信息技术股份有限公司 System and method capable of monitoring intersection signal control effect in real time
CN107257379A (en) * 2017-06-30 2017-10-17 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information
CN108171978A (en) * 2017-12-29 2018-06-15 迈锐数据(北京)有限公司 A kind of traffic conditions evaluation method and device

Also Published As

Publication number Publication date
CN111369785A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN111369785B (en) Traffic data processing method, device, equipment and storage medium
KR102110199B1 (en) Method and apparatus for obtaining traffic light duration data
CN108603763B (en) Travel plan generating device, travel plan generating method, and computer-readable recording medium
US10077986B2 (en) Storing trajectory
CN110784825B (en) Method and device for generating vehicle running track
TW201832190A (en) Road traffic optimization method and device and electronic apparatus
CN111063205B (en) Signal lamp control method, device, equipment and storage medium
CN111951567B (en) Data processing method, device, equipment and computer storage medium
US10546493B2 (en) Cognitive traffic signal cycle timer
CN111508225B (en) Information processing method, traffic control method, information processing device, traffic control equipment and storage medium
CN105578258A (en) Method and device of video preprocessing and video playback
CN108171999A (en) Traffic lights duration dynamic control method and system based on sliding average vehicle flowrate
CN113252062B (en) Method and device for generating real-time map, electronic equipment and storage medium
CN103644922A (en) Method and system for judging deviation from preset action route
KR102113206B1 (en) Smart Cruise Control system of vehicle and method for controlling velocity of vehicle using the said system
CN113968243A (en) Obstacle trajectory prediction method, device, equipment and storage medium
CN105223950B (en) Information processing method and electronic equipment
JP2019148905A (en) Information processing device, information processing method, and program
CN112785858A (en) Traffic control method and device and electronic equipment
CN109829935B (en) Scene sequence tracking processing method and device of vehicle and vehicle
CN111210513A (en) Information processing method, device, equipment and storage medium
CN111311930A (en) Method and device for acquiring traffic flow
KR102184150B1 (en) Smart Cruise Control system of vehicle and method for controlling velocity of vehicle using the said system
CN115393827A (en) Traffic signal lamp state identification method and system, electronic equipment and storage medium
CN111354184B (en) Traffic signal period calculation method and apparatus, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40032526

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant