Intersection vehicle passing data processing method and computer device

CN117152954BActive Publication Date: 2026-08-07ZHEJIANG SUPCON INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG SUPCON INFORMATION TECH CO LTD
Filing Date
2023-08-30
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0002]交通信号配时方案识别分析是路口管控的关键所在,当前路口的交通信号配时方案识别分析方式主要是以人工估算、配合雷达车辆轨迹预估的方式,这种复杂、多设备的方式往往无法匹配路口复杂多变的交通实际场景,设备成本巨大且不适用所有交叉路口的多数场景,且交通信号控制效果多取决于人工经验和主观判断,使得识别交通信号配时方案的准确低下,资源利用率降低

Benefits of technology

[0046]本申请实施例提供了一种路口过车数据处理方法和计算机设备,包括:获取预设路口处在预设单位时间段内各个进口方向的历史车道过车数据,根据各个进口方向的历史车道过车数据,确定预设路口处交通信号灯的多个目标信号周期,最后根据多个目标信号周期,对预设单位时间段进行时段划分,得到预设单位时间段的多个时段,每个时段对应同一目标信号周期,用于在未来时间段的预设单位时间段内的每个时段内采用同一目标信号周期对交通信号灯进行控制。本申请的方法,通过预设路口在预设单位时间段内各个进口方向的历史车道过车数据,确定预设路口处交通信号灯的多个目标信号周期,并对预设单位时间段进行时段划分,更符合实际交通特性,准确确定预设路口在预设单位时间段内每个时段对应的目标信号周期,便于后续根据每个时段对应的目标信号周期对交通信号灯进行配时,无需人工估算每个时段对应的信号周期,实现对交通信号灯的准确控制,为预设路口交通信号灯控制方案的优化提供基础和依据。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117152954B_ABST
    Figure CN117152954B_ABST
Patent Text Reader

Abstract

The application provides a kind of intersection vehicle passing data processing method and computer equipment, it is related to signal data processing field.The method comprises: obtaining the historical lane vehicle passing data of each import direction in preset unit time period at preset intersection, according to the historical lane vehicle passing data of each import direction, determine the multiple target signal periods of traffic signal light at preset intersection, according to multiple target signal periods, time period division is carried out to preset unit time period, obtain the multiple time periods of preset unit time period, each time period corresponds to the same target signal period, for in each time period in the preset unit time period of future time period, the same target signal period and phase time are used to control traffic signal light.The method of the application, by historical lane vehicle passing data, determine multiple target signal periods, further determine the target signal period corresponding to each time period, facilitate subsequent control of traffic signal light according to the target signal period corresponding to each time period.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of signal data processing, and more specifically, to a method and computer device for processing vehicle traffic data at intersections. Background Technology

[0002] Traffic signal timing scheme identification and analysis is crucial for intersection management. Currently, the main method for identifying and analyzing traffic signal timing schemes at intersections is manual estimation combined with radar vehicle trajectory prediction. This complex and multi-device approach often fails to match the complex and ever-changing traffic scenarios at intersections. The equipment costs are enormous and it is not applicable to most scenarios at all intersections. Furthermore, the effectiveness of traffic signal control largely depends on human experience and subjective judgment, resulting in low accuracy in identifying traffic signal timing schemes and reduced resource utilization. Summary of the Invention

[0003] The purpose of this invention is to address the shortcomings of the prior art by providing a method and computer device for processing traffic data at intersections. This method determines multiple target signal cycles based on historical lane traffic data from each approach direction, divides a preset time period into time slots, and accurately determines the target signal cycle corresponding to each time slot. This facilitates subsequent timing of traffic lights based on the target signal cycle corresponding to each time slot.

[0004] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0005] In a first aspect, embodiments of this application provide a method for processing vehicle passage data at an intersection, including:

[0006] Obtain historical lane passage data for each approach direction at a preset intersection within a preset time period;

[0007] Based on the historical lane passage data for each direction of entry, multiple target signal cycles of the traffic lights at the preset intersection are determined;

[0008] Based on the multiple target signal cycles, the preset unit time period is divided into multiple time periods, each corresponding to the same target signal cycle, for controlling the traffic lights using the same target signal cycle in each time period within the preset unit time period in a future time period.

[0009] In an optional implementation, the historical lane passage data for each approach direction includes: vehicle data passing through at least one lane in each approach direction; the vehicle data for each lane includes: the detection time of each vehicle passing through each lane, the phase to which each vehicle belongs, and the flow direction of each vehicle; wherein, the phase to which each vehicle belongs is: the signal phase of the traffic light at the preset intersection when each vehicle passes through the preset intersection.

[0010] The step of determining multiple target signal cycles of the traffic lights at the preset intersection based on historical lane passage data from each of the import directions includes:

[0011] The historical lane passage data for each entrance direction are grouped by flow direction to obtain vehicle data for each flow direction of each entrance direction;

[0012] Phase merging is performed on the vehicle data of each flow direction in each import direction to obtain vehicle data of each signal phase;

[0013] The earliest detection time is determined from the detection time in the vehicle data of each signal phase;

[0014] The start time of each signal phase is determined based on the earliest detection time.

[0015] The periods of the multiple target signals are determined based on the start time of each signal phase.

[0016] In an optional implementation, determining the periods of the plurality of target signals based on the start time of each signal phase includes:

[0017] Based on the start time of each signal phase, the signal period of each signal phase is determined;

[0018] Clustering is performed on the signal periods of each signal phase to obtain the multiple target signal periods.

[0019] In an optional implementation, determining the signal period of each signal phase based on its start time includes:

[0020] The individual signal phases are grouped to obtain multiple signal groups;

[0021] Based on the start time of each signal phase in each signal group, multiple signal periods for each signal group are determined;

[0022] The step of clustering the signal periods of each signal phase to obtain the plurality of target signal periods includes:

[0023] Clustering multiple signal periods of each signal group yields the target signal period of each signal group;

[0024] The target signal period is determined based on the target signal period of the multiple signal groups.

[0025] In an optional implementation, determining the multiple target signal periods based on the target signal periods of the multiple signal groups includes:

[0026] The missing signal phases within the target signal period of each signal group are filled in;

[0027] The target signal period is determined based on the completed target signal period of the multiple signal groups.

[0028] In an optional implementation, determining the multiple target signal periods based on the completed target signal periods of the multiple signal groups includes:

[0029] Determine whether the target signal period of each signal group is an integer multiple of the preset signal period;

[0030] If the target signal period of the first signal group among the plurality of signal groups is an integer multiple of the preset signal period, then the target signal period of the first signal group is determined to be one target signal period.

[0031] In an optional implementation, determining the multiple target signal periods based on the completed target signal periods of the multiple signal groups further includes:

[0032] If the target signal period of the second signal group of the plurality of signal groups is not an integer multiple of the preset signal period, the target signal periods of at least one adjacent second signal group are integrated.

[0033] If the integrated signal period is an integer multiple of the preset signal period, then the integrated signal period is determined to be a target signal period.

[0034] In an optional implementation, determining the multiple target signal periods based on the completed target signal periods of the multiple signal groups further includes:

[0035] If the integrated signal period is not an integer multiple of the preset signal period, determine whether the error of the integrated signal period is within the preset period error range.

[0036] If the error of the integrated signal period is within the preset period error range, then the integrated signal period is determined to be a target signal period.

[0037] In an optional implementation, determining the multiple target signal periods based on the completed target signal periods of the multiple signal groups further includes:

[0038] If the error within the integrated signal period is not within the preset period error range, the integrated signal period is adjusted according to the proportion of each signal phase within the integrated signal period to obtain a target signal period.

[0039] Secondly, embodiments of this application also provide a computer device, including: a processor, a storage medium, and a bus. The storage medium stores program instructions executable by the processor. When the computer device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the intersection vehicle data processing method as described in any of the first aspects.

[0040] Thirdly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the data processing method as described in any of the first aspects.

[0041] Fourthly, embodiments of this application provide a vehicle passage data processing device, comprising:

[0042] The acquisition module is used to acquire historical lane passage data for each approach direction at a preset intersection within a preset time period.

[0043] The determination module is used to determine multiple target signal cycles of the traffic lights at the preset intersection based on the historical lane passage data of each entrance direction;

[0044] The segmentation module is used to divide the preset unit time period into multiple time periods according to the multiple target signal cycles, each time period corresponding to the same target signal cycle, and to control the traffic lights using the same target signal cycle in each time period within the preset unit time period in a future time period.

[0045] The beneficial effects of this application are:

[0046] This application provides a method and computer device for processing traffic data at an intersection, including: acquiring historical lane traffic data for each approach direction at a preset intersection within a preset unit time period; determining multiple target signal cycles for traffic lights at the preset intersection based on the historical lane traffic data for each approach direction; and finally dividing the preset unit time period into multiple time periods based on the multiple target signal cycles, each time period corresponding to the same target signal cycle, for controlling the traffic lights using the same target signal cycle in each time period within the preset unit time period in a future time period. This method, by determining multiple target signal cycles for traffic lights at a preset intersection using historical lane traffic data for each approach direction within a preset unit time period and dividing the preset unit time period into time periods, better reflects actual traffic characteristics and accurately determines the target signal cycle corresponding to each time period within the preset unit time period. This facilitates subsequent timing of traffic lights based on the target signal cycle corresponding to each time period, eliminating the need for manual estimation of the signal cycle corresponding to each time period, thus achieving accurate control of traffic lights and providing a basis for optimizing traffic light control schemes at preset intersections. Attached Figure Description

[0047] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1 One of the flowcharts for a method of processing vehicle passage data at an intersection, provided as an embodiment of this application;

[0049] Figure 2 A second schematic flowchart illustrating a method for processing vehicle passage data at an intersection, provided as an embodiment of this application;

[0050] Figure 3 A third schematic flowchart illustrating a method for processing vehicle passage data at an intersection, provided as an embodiment of this application;

[0051] Figure 4 A fourth schematic flowchart illustrating a method for processing vehicle passage data at an intersection, provided as an embodiment of this application;

[0052] Figure 5 Fifth flowchart illustrating a method for processing vehicle passage data at an intersection, provided as an embodiment of this application;

[0053] Figure 6 A flowchart illustrating a method for processing vehicle passage data at an intersection, provided as an embodiment of this application, is shown in Figure 6.

[0054] Figure 7 The seventh flowchart illustrating a method for processing vehicle passage data at an intersection, provided as an embodiment of this application;

[0055] Figure 8 This is the eighth flowchart illustrating a method for processing vehicle passage data at an intersection, provided as an embodiment of this application.

[0056] Figure 9 This is a schematic diagram of a computer device provided in an embodiment of this application. Detailed Implementation

[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.

[0058] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0059] Furthermore, the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0060] It should be noted that, where there is no conflict, the features in the embodiments of this application can be combined with each other.

[0061] To achieve accurate control of traffic lights at a preset intersection, this application provides a method for processing traffic data at an intersection. First, historical lane passage data for each approach direction at the preset intersection within a preset time period is acquired. Based on this historical lane passage data, multiple target signal cycles for the traffic lights at the preset intersection are determined. Finally, based on these multiple target signal cycles, the preset time period is divided into multiple time segments, each corresponding to the same target signal cycle. These time segments are used to control the traffic lights using the same target signal cycle within each time segment of the preset time period in a future time period, thereby achieving accurate control of the traffic lights at the preset intersection.

[0062] The intersection vehicle passage data processing method provided in this application embodiment will be explained in detail below with reference to the accompanying drawings and specific examples. The intersection vehicle passage data processing method provided in this application embodiment can be implemented by a computer device pre-installed with a preset vehicle passage data detection algorithm or detection software, by running the algorithm or software. The computer device can be, for example, a server or a terminal, and the terminal can be a user computer. Figure 1 This is one of the flowcharts illustrating a method for processing vehicle passage data at an intersection, as provided in an embodiment of this application. Figure 1 As shown, the method includes:

[0063] S101. Obtain historical lane passage data for each approach direction at a preset intersection within a preset time period.

[0064] In this embodiment, the preset time unit can be set to 1 day, 2 days, 5 days, etc., without limitation. It is used to obtain historical lane passage data of each entrance direction at the preset intersection within the preset time unit. Each entrance direction is related to the preset intersection. For example, if there are four entrance directions at the preset intersection, namely east entrance, west entrance, south entrance and north entrance, and if there are two lanes in each of the four entrance directions, then the passage data of the two historical lanes in the four entrance directions are obtained respectively. The passage data indicates the vehicle data of the vehicle passing through the lane, which is obtained by the detector of the intersection.

[0065] S102. Based on the historical lane passage data of each approach direction, determine multiple target signal cycles of the traffic lights at the preset intersection.

[0066] Specifically, the target signal cycle is the time required for the traffic lights at the preset intersection to display one cycle. Since the traffic lights at the preset intersection will display multiple cycles within a preset unit time period, there are multiple target signal cycles. The determination of each target signal cycle is based on the historical lane passage data of each approach direction.

[0067] S103. Based on multiple target signal cycles, the preset unit time period is divided into multiple time periods to obtain multiple time periods of the preset unit time period. Each time period corresponds to the same target signal cycle, which is used to control the traffic lights using the same target signal cycle in each time period within the preset unit time period in the future time period.

[0068] Based on historical lane passage data from each approach direction, multiple target signal cycles for the traffic lights at the preset intersection are determined. Then, the preset unit time period is divided into multiple time segments based on the corresponding times of these target signal cycles. For example, if the preset unit time period is set to one day, and the target signal cycles from 6:00 to 7:00 correspond to 120 seconds, then one of the multiple time segments within the preset unit time period is from 6:00 to 7:00. If the target signal cycles from 7:00 to 10:00 correspond to 140 seconds, then another time segment within the preset unit time period is from 7:00 to 10:00. This process divides the preset unit time period into time segments, with each time segment corresponding to the same target signal cycle. When controlling the traffic lights at the preset intersection, control can be performed based on the target signal cycle corresponding to each time segment.

[0069] In summary, this application provides a method for processing traffic data at an intersection, including: acquiring historical lane traffic data for each approach direction at a preset intersection within a preset unit time period; determining multiple target signal cycles for traffic lights at the preset intersection based on the historical lane traffic data for each approach direction; and finally dividing the preset unit time period into multiple time periods based on the multiple target signal cycles, each time period corresponding to the same target signal cycle, for use in controlling traffic lights using the same target signal cycle in each time period within the preset unit time period in a future time period. This method, by determining multiple target signal cycles for traffic lights at a preset intersection using historical lane traffic data for each approach direction within a preset unit time period and dividing the preset unit time period into time periods, better reflects actual traffic characteristics and accurately determines the target signal cycle corresponding to each time period within the preset unit time period. This facilitates subsequent timing of traffic lights based on the target signal cycle corresponding to each time period, eliminating the need for manual estimation of the signal cycle corresponding to each time period, thus achieving accurate control of traffic lights and providing a basis for optimizing traffic light control schemes at preset intersections.

[0070] This application also provides another possible implementation of the intersection vehicle passage data processing method. The historical lane passage data for each approach direction includes: vehicle data passing through at least one lane in each approach direction; the vehicle data for each lane includes: the detection time of each vehicle passing through each lane, the phase to which each vehicle belongs, and the flow direction of each vehicle; wherein, the phase to which each vehicle belongs is: the signal phase of the traffic light at the preset intersection when each vehicle passes through the preset intersection. For example, the phase to which a vehicle belongs can be east-west straight, east-west left turn, north-south straight, north-south left turn, etc., determined by the lane the vehicle is in and its flow direction. Figure 2 This is a second schematic flowchart illustrating a method for processing vehicle passage data at an intersection, provided as an embodiment of this application. Figure 2 As shown, based on historical lane passage data from each approach direction, multiple target signal cycles for the traffic lights at the preset intersection are determined, including:

[0071] S201. Group the historical lane passage data for each approach direction by flow direction to obtain vehicle data for each flow direction of each approach direction.

[0072] In this embodiment, if there are four entrance directions at a preset intersection: east, west, south, and north, the flow direction of each vehicle can be: left turn from the east entrance, straight ahead from the east entrance, left turn from the south entrance, straight ahead from the south entrance, left turn from the west entrance, straight ahead from the west entrance, left turn from the north entrance, and straight ahead from the north entrance. Based on the flow direction of vehicles at each entrance direction, the flow direction is grouped to obtain vehicle data for each direction of flow. This vehicle data can be displayed in the form of data rows, where each vehicle's data row includes: the detection time for passing through each lane, the phase it belongs to, and the flow direction. This completes the flow direction grouping of historical lane vehicle passage data.

[0073] S202. Phase merging is performed on the vehicle data of each direction of flow in each import direction to obtain vehicle data of each signal phase.

[0074] If there are four entrance directions at the preset intersection, namely east entrance, west entrance, south entrance and north entrance, then the phase to which the vehicle belongs can be east-west straight, east-west left turn, north-south straight, north-south left turn. Based on the same phase, the vehicle data of each flow direction of each entrance direction are merged to obtain the vehicle data of each signal phase.

[0075] Specifically, during the merging process, the vehicle data is merged in ascending order of time based on the detection time in the vehicle data row to obtain vehicle data for each signal phase.

[0076] S203. Determine the earliest detection time from the detection time in the vehicle data of each signal phase.

[0077] S204. Determine the start time of each signal phase based on the earliest detection time.

[0078] Since the vehicle data for each signal phase is merged in ascending order of time, the earliest detection time is determined as the start time of each signal phase, and the vehicle data row corresponding to the earliest detection time is retained, while the remaining data rows in each signal phase are not retained.

[0079] S205. Determine the period of multiple target signals based on the start time of each signal phase.

[0080] The start time of each signal phase is calculated to further determine multiple target signal cycles of the traffic lights at the preset intersection.

[0081] The method provided in this application embodiment involves grouping historical lane passage data for each approach direction by flow direction to obtain vehicle data for each flow direction. Phase merging is then performed on the vehicle data for each flow direction to obtain vehicle data for each signal phase. The earliest detection time is determined from the detection time in the vehicle data for each signal phase. Based on the earliest detection time, the start time of each signal phase is determined. Finally, multiple target signal periods are determined based on the start times of each signal phase. By classifying and merging historical lane passage data for each approach direction, the historical lane passage data for each approach direction is classified, facilitating the subsequent determination of multiple target signal periods.

[0082] This application also provides another possible implementation of the intersection vehicle data processing method. Figure 3 This is the third flowchart illustrating a method for processing vehicle passage data at an intersection, as provided in an embodiment of this application. Figure 3 As shown, based on the start time of each signal phase, the periods of multiple target signals are determined, including:

[0083] S301. Determine the signal period of each signal phase based on the start time of each signal phase.

[0084] S302. Cluster the signal periods of each signal phase to obtain multiple target signal periods.

[0085] In this embodiment, since the traffic lights at the preset intersection are displayed sequentially according to the order of the signal phases within a preset unit time period, there are multiple signal cycles. Therefore, each signal phase has multiple start times within multiple signal cycles. That is, within one signal cycle, each signal phase has one start time, and within the next adjacent signal cycle, each signal phase has another start time. The difference time between the start time of a signal phase and the start time of the next adjacent identical phase is the signal cycle corresponding to that signal phase, thus obtaining the signal cycle corresponding to each signal phase.

[0086] Clustering the signal periods of adjacent signal phases yields a target signal period corresponding to each adjacent signal phase. Clustering the signal periods of multiple adjacent signal phases yields multiple target signal periods. Once each target signal period is determined, the phase order and phase time of each phase within each target signal period can also be determined.

[0087] In the method provided in this application embodiment, the signal period of each signal phase is determined according to the start time of each signal phase, and the signal periods of each signal phase are clustered to obtain multiple target signal periods, which facilitates the subsequent determination of the target signal period corresponding to each time period within a preset unit time period based on the multiple target signal periods.

[0088] This application also provides another possible implementation of the intersection vehicle data processing method. Figure 4 This is the fourth flowchart illustrating a method for processing vehicle passage data at an intersection, as provided in an embodiment of this application. Figure 4 As shown, the signal period of each signal phase is determined based on its start time, including:

[0089] S401. Group the various signal phases to obtain multiple signal groups.

[0090] In this embodiment, since the traffic lights at the preset intersection display the signal phases sequentially within a preset time period, resulting in multiple signal cycles, the signal phases are grouped to obtain the signal phases that the traffic lights display for one cycle within the preset time period. For example, the phases may include: east-west straight, east-west left turn, north-south straight, and north-south left turn. The traffic lights first display the east-west straight phase, then display the four phases sequentially. After displaying the north-south left turn phase, they continue to display the east-west straight phase of the next cycle, with each phase having a corresponding phase time. Therefore, by grouping the four phases of east-west straight, east-west left turn, north-south straight, and north-south left turn into one group, multiple signal groups are obtained.

[0091] S402. Determine multiple signal periods for each signal group based on the start time of each signal phase in each signal group.

[0092] Specifically, the signal period T1 for east-west straight travel is obtained by subtracting the start time of the next adjacent east-west straight travel from the start time of the previous east-west straight travel; the signal period T2 for east-west left turn is obtained by subtracting the start time of the next adjacent east-west left turn from the start time of the previous east-west left turn; the signal period T3 for north-south straight travel is obtained by subtracting the start time of the next adjacent north-south straight travel from the start time of the previous north-south left turn; and the signal period T4 for north-south left turn is obtained by subtracting the start time of the next adjacent north-south left turn from the start time of the previous north-south left turn. This yields multiple signal periods for a signal group, and thus, based on the start time of each signal phase in each signal group, multiple signal periods for each signal group are determined.

[0093] Based on the above clustering of the signal periods of each signal phase, multiple target signal periods are obtained, including:

[0094] S403. Cluster the multiple signal periods of each signal group to obtain the target signal period of each signal group.

[0095] S404. Determine multiple target signal periods based on the target signal periods of multiple signal groups.

[0096] Specifically, the four signal cycles T1, T2, T3, and T4 of a signal group are clustered to obtain the target signal cycle of the signal group. Then, multiple signal cycles of each signal group are clustered to obtain the target signal cycle of each signal group, and multiple target signal cycles of traffic lights at preset intersections are determined. The target signal cycle of each signal group includes the phase time and phase order of each signal phase.

[0097] In the method provided in this application embodiment, each signal phase is grouped to obtain multiple signal groups. Based on the start time of each signal phase in each signal group, multiple signal periods of each signal group are determined. The multiple signal periods of each signal group are clustered to obtain the target signal period of each signal group. Based on the target signal periods of multiple signal groups, multiple target signal periods are determined. This facilitates the subsequent determination of the target signal period corresponding to each time period within a preset unit time period based on the multiple target signal periods.

[0098] This application also provides another possible implementation of the intersection vehicle data processing method. Figure 5 This is the fifth flowchart illustrating a method for processing vehicle passage data at an intersection, as provided in an embodiment of this application. Figure 5As shown, based on the target signal periods of multiple signal groups, multiple target signal periods are determined, including:

[0099] S501. Complete the missing signal phases within the target signal period of each signal group.

[0100] S502. Determine multiple target signal periods based on the target signal periods of the multiple signal groups after completion.

[0101] In this embodiment, after the target signal period for each signal group is determined, the intersection detector may miss a certain signal phase within a target signal period because a lane in a certain approach direction may not have vehicles passing in a certain direction. In this case, clustering is performed based on the signal periods corresponding to each signal phase of other complete periods and the signal periods corresponding to other complete signal phases in the target signal group to obtain the theoretical phase time of the missing signal phase. Several phases within the signal period are then supplemented to obtain the supplemented target signal group. Based on the target signal periods of the supplemented multiple signal groups, multiple target signal periods for the traffic lights at the preset intersection are determined.

[0102] In the method provided in this application embodiment, missing signal phases within the target signal period of each signal group are filled in. Based on the filled target signal periods of the multiple signal groups, multiple target signal periods are determined. By filling in the missing signal phases, accurate multiple target signal periods can be obtained.

[0103] This application also provides another possible implementation of the intersection vehicle data processing method. Figure 6 This is a sixth flowchart illustrating a method for processing vehicle passage data at an intersection, provided as an embodiment of this application. Figure 6 As shown, based on the target signal period of the completed multiple signal groups, multiple target signal periods are determined, including:

[0104] S601. Determine whether the target signal period of each signal group is an integer multiple of the preset signal period.

[0105] S602. If the target signal period of the first signal group in a plurality of signal groups is an integer multiple of the preset signal period, then the target signal period of the first signal group is determined to be one target signal period.

[0106] In this embodiment, the preset signal period is a fixed signal cycle table, which records the time length corresponding to the signal period. The time length can be, for example, 100S, 120S, 150S, etc. It is determined whether the time of the target signal period for each signal group is an integer multiple of the preset signal period.

[0107] If the target signal period of the first signal group in a plurality of signal groups is Xi If the signal period is an integer multiple of the preset signal period i, then the signal period is divided into four phases according to the recommended phase table based on the time sequence and time length. If there are four phases in each signal period: "East-West Straight" X1, "East-West Left Turn" X2, "North-South Straight" X3, and "North-South Left Turn" X4, then the target signal period of the final first signal group is one target signal period, and the time of the target signal period is the sum of the times of the four phases: X i =X1+X2+X3+X4.

[0108] This application also provides another possible implementation of the intersection vehicle data processing method. Figure 7 This is the seventh flowchart illustrating a method for processing vehicle passage data at an intersection, provided as an embodiment of this application. Figure 7 As shown, determining multiple target signal periods based on the target signal periods of the completed multiple signal groups also includes:

[0109] S701. If the target signal period of the second signal group of multiple signal groups is not an integer multiple of the preset signal period, the target signal period of at least one adjacent second signal group is integrated.

[0110] S702. If the integrated signal period is an integer multiple of the preset signal period, then the integrated signal period is determined to be a target signal period.

[0111] Specifically, if the target signal period X of the second signal group is multiple signal groups... i If the period is not an integer multiple of the preset signal period i, then the target signal period X of the second signal group... i and the target signal period X adjacent to the second signal group i+1 X i-1 Integrate.

[0112] It then determines whether the period of the integrated signal is an integer multiple of the preset signal period. If the period of the integrated signal is an integer multiple of the preset signal period, i.e., X... i +X i+1 +X i-1 =n*i, then the integrated signal period is determined as a target signal period, and the signal period is divided into four phases X according to time sequence and length. i +X i+1 +X i-1 = n(X1+X2+X3+X4).

[0113] This application also provides another possible implementation of the intersection vehicle data processing method. Figure 8 This is the eighth flowchart illustrating a method for processing vehicle passage data at an intersection, as provided in an embodiment of this application. Figure 8As shown, determining multiple target signal periods based on the target signal periods of the completed multiple signal groups also includes:

[0114] S801. If the period of the integrated signal is not an integer multiple of the preset signal period, determine whether the error of the integrated signal period is within the preset period error range.

[0115] In this embodiment, if the integrated signal period cannot be integrated into an integer multiple of the preset signal period, based on the error existing in each of the four phases within the signal period, a time error of 1 to 2 seconds is allowed for each phase, and the signal period is allowed to have an error of ±8 seconds. It is then determined whether the time of the signal period is within the preset period error range of an integer multiple of the preset signal period i, i.e., within ±8 seconds.

[0116] S802. If the error of the integrated signal period is within the preset period error range, then the integrated signal period is determined to be a target signal period.

[0117] If the error of the integrated signal period is within the preset period error range of ±8 seconds, then the integrated signal period is determined as a target signal period. The signal period can then be divided into four phase categories according to time sequence and length, which are designated as X. i +X i+1 +X i-1 ±8=n(X1+X2+X3+X4).

[0118] Optionally, if the error within the integrated signal period is not within the preset period error range, the integrated signal period is adjusted according to the proportion of each signal phase within the integrated signal period to obtain a target signal period.

[0119] If the error of the integrated signal period is not within the preset period error range (±8 seconds), the integrated signal period is adjusted according to the proportion of each signal phase within the integrated signal period to obtain a target signal period. The specific adjustment formula is as follows:

[0120]

[0121] In the method provided in this application embodiment, if the integrated signal period is not an integer multiple of the preset signal period, it is determined whether the error of the integrated signal period is within the preset period error range; if the error of the integrated signal period is within the preset period error range, the integrated signal period is determined to be a target signal period, and the time corresponding to the four signal phases within the target signal period is obtained, thereby realizing the fine division of the signal period and obtaining multiple target signal periods.

[0122] The following will continue to explain the vehicle data processing device and computer equipment provided in any of the above embodiments of this application. The specific implementation process and the resulting technical effects are the same as those in the corresponding method embodiments. For the sake of brevity, the parts not mentioned in this embodiment can be referred to the corresponding content in the method embodiment.

[0123] This application provides a possible implementation of a vehicle passage data processing device. The vehicle passage data processing device includes:

[0124] The acquisition module is used to acquire historical lane passage data for each approach direction at a preset intersection within a preset time period.

[0125] The determination module is used to determine multiple target signal cycles of the traffic lights at the preset intersection based on historical lane passage data for each direction of entry;

[0126] The segmentation module is used to divide a preset unit time period into multiple time periods based on multiple target signal cycles, resulting in multiple time periods within the preset unit time period. Each time period corresponds to the same target signal cycle, and is used to control traffic lights using the same target signal cycle in each time period within the preset unit time period in the future time period.

[0127] Optionally, the determining module is also used to group the historical lane vehicle passage data for each approach direction by flow direction to obtain vehicle data for each direction of flow in each approach direction; to merge the vehicle data for each direction of flow in each approach direction by phase to obtain vehicle data for each signal phase; to determine the earliest detection time from the detection time in the vehicle data of each signal phase; to determine the start time of each signal phase based on the earliest detection time; and to determine multiple target signal cycles based on the start time of each signal phase.

[0128] Optionally, the determining module is also used to determine the signal period of each signal phase based on the start time of each signal phase; and to cluster the signal periods of each signal phase to obtain multiple target signal periods.

[0129] Optionally, the determining module is also used to group the various signal phases to obtain multiple signal groups; determine multiple signal periods for each signal group based on the start time of each signal phase in each signal group; cluster the multiple signal periods for each signal group to obtain the target signal period for each signal group; and determine multiple target signal periods based on the target signal periods of the multiple signal groups.

[0130] Optionally, the determining module is also used to complete the missing signal phases in the target signal period of the target signal group in each signal group; and to determine multiple target signal periods based on the completed target signal periods of the multiple signal groups.

[0131] Optionally, the determining module is further configured to determine whether the target signal period of each signal group is an integer multiple of the preset signal period; if the target signal period of the first signal group among multiple signal groups is an integer multiple of the preset signal period, then the target signal period of the first signal group is determined to be one target signal period.

[0132] Optionally, the determining module is further configured to integrate the target signal periods of at least one adjacent second signal group if the target signal period of the second signal group of the multiple signal groups is not an integer multiple of the preset signal period; and to determine the integrated signal period as a target signal period if the integrated signal period is an integer multiple of the preset signal period.

[0133] Optionally, the determining module is further configured to determine whether the error of the integrated signal period is within the preset period error range if the integrated signal period is not an integer multiple of the preset signal period; if the error of the integrated signal period is within the preset period error range, then determine that the integrated signal period is a target signal period.

[0134] Optionally, the determining module is also used to adjust the integrated signal period according to the proportion of each signal phase in the integrated signal period if the error in the integrated signal period is not within the preset period error range, so as to obtain a target signal period.

[0135] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0136] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).

[0137] Figure 9 This is a schematic diagram of a computer device provided in an embodiment of this application. This computer device can be used for vehicle passage data processing. Figure 9As shown, the computer device 100 includes: a processor 110, a storage medium 120, and a bus 130.

[0138] Storage medium 120 stores machine-readable instructions executable by processor 110. When the computer device is running, processor 110 communicates with storage medium 120 via bus 130, and processor 110 executes the machine-readable instructions to perform the steps of the above method embodiment. The specific implementation and technical effects are similar, and will not be described again here.

[0139] Optionally, this application also provides a storage medium 120, on which a computer program is stored. When the computer program is run by a processor, it executes the steps of the above-described method embodiments. The specific implementation and technical effects are similar, and will not be repeated here.

[0140] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0141] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0142] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0143] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0144] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for processing vehicle passage data at an intersection, characterized in that, include: Obtain historical lane passage data for each approach direction at a preset intersection within a preset time period; Based on the historical lane passage data for each direction of entry, multiple target signal cycles of the traffic lights at the preset intersection are determined; Based on the multiple target signal cycles, the preset unit time period is divided into multiple time periods to obtain multiple time periods of the preset unit time period. Each time period corresponds to the same target signal cycle, which is used to control the traffic lights using the same target signal cycle in each time period within the preset unit time period in a future time period. Historical lane passage data for each approach direction includes: vehicle data passing through at least one lane in each approach direction; vehicle data for each lane includes: detection time of each vehicle passing through each lane, the phase to which each vehicle belongs, and the flow direction of each vehicle; wherein, the phase to which each vehicle belongs is: the signal phase of the traffic light at the preset intersection when each vehicle passes through the preset intersection; the phase to which the vehicle belongs can be east-west straight, east-west left turn, north-south straight, or north-south left turn; The step of determining multiple target signal cycles of the traffic lights at the preset intersection based on historical lane passage data from each of the import directions includes: The historical lane passage data for each entrance direction are grouped by flow direction to obtain vehicle data for each flow direction of each entrance direction; Phase merging is performed on the vehicle data of each flow direction in each import direction to obtain vehicle data of each signal phase; The earliest detection time is determined from the detection time in the vehicle data of each signal phase; The start time of each signal phase is determined based on the earliest detection time. The periods of the multiple target signals are determined based on the start time of each signal phase.

2. The method according to claim 1, characterized in that, Determining the period of the plurality of target signals based on the start time of each signal phase includes: Based on the start time of each signal phase, the signal period of each signal phase is determined; Clustering is performed on the signal periods of each signal phase to obtain the multiple target signal periods.

3. The method according to claim 2, characterized in that, Determining the signal period of each signal phase based on its start time includes: The individual signal phases are grouped to obtain multiple signal groups; Based on the start time of each signal phase in each signal group, multiple signal periods for each signal group are determined; The step of clustering the signal periods of each signal phase to obtain the plurality of target signal periods includes: Clustering multiple signal periods of each signal group yields the target signal period of each signal group; The target signal period is determined based on the target signal period of the multiple signal groups.

4. The method according to claim 3, characterized in that, The step of determining the multiple target signal periods based on the target signal periods of the multiple signal groups includes: The missing signal phases within the target signal period of each signal group are filled in; The target signal period is determined based on the completed target signal period of the multiple signal groups.

5. The method according to claim 4, characterized in that, The step of determining the multiple target signal periods based on the completed target signal periods of the multiple signal groups includes: Determine whether the target signal period of each signal group is an integer multiple of the preset signal period; If the target signal period of the first signal group among the plurality of signal groups is an integer multiple of the preset signal period, then the target signal period of the first signal group is determined to be one target signal period.

6. The method according to claim 5, characterized in that, The step of determining the multiple target signal periods based on the completed target signal periods of the multiple signal groups further includes: If the target signal period of the second signal group of the plurality of signal groups is not an integer multiple of the preset signal period, the target signal periods of at least one adjacent second signal group are integrated. If the integrated signal period is an integer multiple of the preset signal period, then the integrated signal period is determined to be a target signal period.

7. The method according to claim 6, characterized in that, The step of determining the multiple target signal periods based on the completed target signal periods of the multiple signal groups further includes: If the integrated signal period is not an integer multiple of the preset signal period, determine whether the error of the integrated signal period is within the preset period error range. If the error of the integrated signal period is within the preset period error range, then the integrated signal period is determined to be a target signal period.

8. The method according to claim 7, characterized in that, The step of determining the multiple target signal periods based on the completed target signal periods of the multiple signal groups further includes: If the error within the integrated signal period is not within the preset period error range, the integrated signal period is adjusted according to the proportion of each signal phase within the integrated signal period to obtain a target signal period.

9. A computer device, characterized in that, include: The system includes a processor, a storage medium, and a bus. The storage medium stores program instructions executable by the processor. When the computer device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the intersection vehicle data processing method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Intersection signal control period division method

    CN109887293A

  • Traffic data completion method and system, a device and a medium

    CN110322693A

  • Traffic signal control method and device

    CN112037546A