Method, device, electronic device and storage medium for dividing signal control time periods

Through automated historical data analysis and traffic flow data processing, the problem of relying on manual experience in signal control period division is solved, achieving higher accuracy and consistency.

CN120148268BActive Publication Date: 2025-08-05ZHEJIANG DAHUA SYST ENG
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510601271.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-12
Publication Date
2025-08-05
Estimated Expiration
2045-05-12

AI Technical Summary

Technical Problem

In the prior art, the division of signal control periods is too dependent on manual experience, resulting in a low accuracy rate.

Method used

By obtaining historical peak data at the target traffic intersection, determining the weekly plan, and combining historical traffic flow data to automatically divide the signal control period, including identification and grouping of peak intervals and peak labels, and using natural breakpoint algorithm to divide the period.

Benefits of technology

It improves the accuracy of signal control periods, reduces the dependence on manual experience, and ensures the accuracy and consistency of period division.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120148268B_ABST
    Figure CN120148268B_ABST
Patent Text Reader

Abstract

The present application relates to a method, device, electronic device, and storage medium for dividing signal control time periods, which are used to improve the accuracy of divided signal control time periods. The method comprises: obtaining historical peak data of a target traffic intersection, wherein the historical peak data includes peak intervals and peak labels corresponding to each historical day, wherein the peak labels are used to indicate whether the target traffic intersection has a morning peak and an evening peak; determining a weekly plan for the target traffic intersection based on the historical peak data, wherein the weekly plan includes groups of weeks obtained by dividing the weeks of the week and peak intervals corresponding to each group of weeks, and any group includes at least one week; and dividing the target traffic intersection into signal control time periods using the weekly plan of the target traffic intersection and the historical traffic flow data of the target traffic intersection, thereby obtaining a division result of the signal control time periods of the target traffic intersection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent transportation, and in particular to a method, device, electronic device and storage medium for dividing signal control time periods. Background Art

[0002] Currently, the vast majority of signalized intersections in my country utilize single-point control. To address daily traffic flow fluctuations, intersections often employ multi-period signal control. Multi-period signal control divides the day into multiple time periods, each with its own signal control scheme. Accurate signal control period division is a key factor in determining the effectiveness of intersection control.

[0003] In existing technology, most single-point control intersections use manual time division. Specifically, technicians use their own experience to subjectively determine the morning and evening peak and off-peak traffic flow at the intersection and then divide the time periods based on this. However, this method relies too much on manual experience, resulting in low accuracy in the divided signal control time periods. Summary of the Invention

[0004] The present invention provides a method for dividing a signal control period, which is used to improve the accuracy of the divided signal control period.

[0005] In a first aspect, the present application provides a method for dividing a signal control period, the method comprising:

[0006] Obtaining historical peak data for a target traffic intersection, wherein the historical peak data includes peak intervals and peak labels corresponding to each historical day, and the peak labels are used to indicate whether the target traffic intersection has a morning peak and an evening peak;

[0007] Determining a weekly plan for the target traffic intersection based on the historical peak data, wherein the weekly plan includes weekday groups obtained by dividing the weekdays and peak intervals corresponding to the weekday groups, and any group includes at least one weekday;

[0008] The target traffic intersection is divided into signal control time periods using the weekly plan of the target traffic intersection and the historical traffic flow data of the target traffic intersection, thereby obtaining a division result of the signal control time periods of the target traffic intersection.

[0009] In the embodiment of the present application, the target intersection's weekly plan is determined using the target intersection's historical peak traffic data. The target intersection's weekly plan and historical traffic flow data are then used to divide the target intersection into signal control time periods, resulting in a signal control time period division result for the target intersection. Thus, in the embodiment of the present application, the target intersection's signal control time period division is performed using the target intersection's historical peak traffic data and historical traffic flow data, eliminating the need for manual division and improving the accuracy of the divided signal control time periods.

[0010] In a possible implementation, before obtaining historical peak traffic data of the target traffic intersection, the method further includes:

[0011] determining a sum of critical flow rate ratios of a target traffic intersection based on historical traffic flow data of the target traffic intersection;

[0012] Smoothing the sum of the critical flow rate ratios of the target traffic intersection to obtain a smoothed sum of the critical flow rate ratios of the target traffic intersection;

[0013] The smoothed sum of the critical flow rate ratios is used to perform peak identification on the target traffic intersection to obtain historical peak data of the target traffic intersection.

[0014] In the embodiment of the present application, peaks are identified at the target traffic intersection by smoothing the sum of the key flow rate ratios of the target traffic intersection to obtain the smoothed sum of the key flow rate ratios of the target traffic intersection, thereby obtaining historical peak data of the target traffic intersection. This ensures the accuracy of the determined historical peak data.

[0015] In one possible implementation, the historical traffic flow data includes traffic flow data for multiple historical days, and the traffic flow data for any day includes traffic flow data for multiple periods within the any day, and the traffic flow data for any period includes arrival flows at target traffic intersections corresponding to multiple traffic flows included in multiple traffic phases;

[0016] Determining the sum of the critical flow rate ratios of the target traffic intersection based on historical traffic flow data of the target traffic intersection includes:

[0017] For traffic flow data of any day, determining a flow rate ratio corresponding to a first arrival flow according to a first arrival flow, wherein the first arrival flow is any arrival flow in the traffic flow data of the any day; and

[0018] Grouping the flow rate ratios in the arbitrary day according to the number of cycles to obtain the flow rate ratios corresponding to the cycles in the arbitrary day;

[0019] For any period of the any day, according to each flow rate ratio corresponding to the any period, obtain the sum of the key flow rate ratios corresponding to the any period;

[0020] Based on the sum of the key flow rate ratios corresponding to each period in the arbitrary day, a key flow rate ratio sum sequence of the arbitrary day is obtained;

[0021] The sum of the critical flow rate ratios of the target traffic intersection is obtained through a historical sequence of the sum of the critical flow rate ratios over multiple days.

[0022] In the embodiment of the present application, the sum of the key flow rate ratios corresponding to any period of a day is determined by using the flow rate ratios corresponding to each period of the day. Then, based on the sum of the key flow rate ratios corresponding to each period of the day, a sequence of the sum of the key flow rate ratios for any day is obtained. Furthermore, the sequence of the sum of the key flow rate ratios for multiple historical days is used to obtain the sum of the key flow rate ratios for the target traffic intersection. This ensures the accuracy of the determined sum of the key flow rate ratios for the target traffic intersection.

[0023] In a possible implementation manner, determining, based on the first arrival flow rate, a flow rate ratio corresponding to the first arrival flow rate includes:

[0024] The flow rate ratio corresponding to the first arrival flow is obtained by the following formula (1):

[0025] ... (1);

[0026] in, is the flow rate ratio corresponding to the first arrival flow at the target traffic intersection in the jth traffic phase and the mth traffic flow in the i-th cycle on the lth day, is the arrival flow at the target traffic intersection in the jth traffic phase and the mth traffic flow in the i-th cycle on the lth day, is the saturated flow rate of the target traffic intersection in the jth traffic phase and the mth traffic flow direction.

[0027] In a possible implementation, obtaining the sum of the key flow rate ratios corresponding to any one period according to the key flow rate ratios corresponding to any one period includes:

[0028] For any traffic phase in any cycle, determining the key flow rate ratio with the largest value among the key flow rate ratios corresponding to any traffic phase in the cycle as the key flow rate ratio corresponding to any traffic phase in the cycle;

[0029] The key flow rate ratios corresponding to each traffic phase in the arbitrary cycle are added together to obtain the sum of the key flow rate ratios corresponding to the arbitrary cycle.

[0030] In the embodiment of the present application, the maximum critical flow rate ratio among the critical flow rate ratios corresponding to any traffic phase in any cycle is determined as the critical flow rate ratio corresponding to any traffic phase in any cycle. The sum of the critical flow rate ratios corresponding to each traffic phase in any cycle is then added together to obtain the sum of the critical flow rate ratios corresponding to any cycle. This improves the accuracy of the sum of the critical flow rate ratios and further improves the accuracy of subsequent signal control period division.

[0031] In a possible implementation, smoothing the sum of the critical flow rate ratios of the target traffic intersection to obtain the smoothed sum of the critical flow rate ratios of the target traffic intersection includes:

[0032] Cutting a time series of a specified length to obtain multiple time windows, wherein the lengths of any two time windows in the multiple time windows are the same;

[0033] For any key flow rate ratio sum in the key flow rate ratio sum sequence for any day, determine the time window interval within which the any key flow rate ratio sum lies according to the period corresponding to the any key flow rate ratio sum; and

[0034] For any time window interval, determining the average of the sums of the key flow rate ratios in the time window interval as the sum of the smoothed key flow rate ratios of the period corresponding to the time window interval;

[0035] According to the sum of the smoothed critical flow rate ratios of each period in the arbitrary day, the sum of the smoothed critical flow rate ratios of the target traffic intersection in the arbitrary day is obtained.

[0036] In the example of the present application, the sum of each key flow rate ratio is assigned to a corresponding time window interval, and then the average of the sum of each key flow rate ratio in the time window interval is determined as the smoothed sum of the key flow rate ratios for the period corresponding to the time window interval. This ensures the accuracy of the smoothed sum of each key flow rate ratio.

[0037] In a possible implementation, the peak identification of the target traffic intersection using the smoothed sum of the critical flow rate ratios to obtain historical peak data of the target traffic intersection includes:

[0038] Obtaining a sequence of the sum of the key flow rate ratios of any day according to the sum of the smoothed key flow rate ratios of the day, wherein the key flow rate ratios in the sequence of the sum of the key flow rate ratios are sorted according to the size of the time window identifier;

[0039] Adding a target sum of key flow rate ratios in the key flow rate ratio sum sequence of any day, whose value is not less than the sum of the previous key flow rate ratio and not less than the sum of the next key flow rate ratio, to the first intermediate key flow rate ratio sum sequence;

[0040] For any sub-key flow rate ratio sum sequence in the first intermediate key flow rate ratio sum sequence, deleting the other key flow rate ratio sums in the first intermediate key flow rate ratio sum sequence except the key flow rate ratio sum located in the middle of the sub-key flow rate ratio sum sequence, to obtain a second intermediate key flow rate ratio sum sequence, wherein the any sub-key flow rate ratio sum sequence is composed of the sum of key flow rate ratios whose time window identifiers are consecutive in the first intermediate key flow rate ratio sum sequence;

[0041] Deleting the sums of the key flow rate ratios that meet a specified condition in the second intermediate key flow rate ratio sum sequence to obtain a third intermediate key flow rate ratio sum sequence;

[0042] adding the sum of the key flow rate ratios whose values in the third intermediate key flow rate ratio sum sequence are greater than the first specified threshold to the fourth intermediate key flow rate ratio sum sequence;

[0043] dividing the fourth intermediate key flow rate ratio sum sequence into two fifth intermediate key flow rate ratio sum sequences according to the time window identifier;

[0044] Obtaining historical peak data of the target traffic intersection on any day by summing the key flow rate ratios with the largest values corresponding to the two fifth intermediate key flow rate ratio sum sequences;

[0045] The historical peak data of the target traffic intersection is obtained according to the historical peak data of each historical day.

[0046] In the embodiment of the present application, the sum of the key flow rate ratios is screened to obtain the historical peak data of the target traffic intersection on any given day, and the historical peak data of the target traffic intersection is obtained based on the historical peak data of each historical day. This ensures the accuracy of the historical peak data.

[0047] In a possible implementation, obtaining the historical peak data of the target traffic intersection on any day by summing the key flow rate ratios with the largest values corresponding to the two fifth intermediate key flow rate ratio sum sequences includes:

[0048] For any maximum value of the sum of key flow rate ratios, taking the maximum value of the sum of key flow rate ratios as the center point, traverse the left and right sides of the sequence of the sum of key flow rate ratios of any day respectively;

[0049] For any sum of the traversed key flow rate ratios, if it is determined that the sum of the traversed key flow rate ratios meets the preset conditions based on the time window identifier of the traversed key flow rate ratios and the time window identifier of the sum of any key flow rates with the largest value, then the peak interval is obtained based on the time window identifier of the traversed key flow rate ratios and the time window identifier of the sum of any key flow rates with the largest value.

[0050] In a possible implementation manner, whether the sum of the traversed key flow rate ratios meets a preset condition is determined in the following manner:

[0051] Determining a first time point corresponding to the time window identifier according to the time window identifier of the traversed sum of the key flow rate ratios;

[0052] Determining a second time point corresponding to the time window identifier according to the time window identifier of the sum of any one of the critical flow rates having the largest value;

[0053] If the first time point and the second time point satisfy the intermediate specified condition, it is determined that the sum of the traversed key flow rate ratios satisfies the preset condition.

[0054] In a possible implementation, the intermediate specified conditions include the following three:

[0055] a. The time difference between the first time point and the second time point is greater than the specified duration;

[0056] b. a ratio of a first average time point corresponding to the first time point to a second average time point corresponding to the first time point is less than a second specified threshold; wherein the first average time point is obtained based on the first time point, a time point that is prior to and adjacent to the first time point in the fifth sequence of sums of intermediate key flow rate ratios, and a time point that is subsequent to and adjacent to the first time point in the fifth sequence of sums of intermediate key flow rate ratios; and the second average time point is obtained based on the first time point and two consecutive time points that are subsequent to the first time point in the fifth sequence of sums of intermediate key flow rate ratios;

[0057] c. The ratio of the third average time point corresponding to the second time point to the fourth average time point corresponding to the second time point is less than a third specified threshold; wherein, the third average time point is obtained based on the second time point, the time point before the second time point and adjacent to the second time point in the fifth intermediate key flow rate ratio sum sequence, and the time point after the second time point and adjacent to the second time point; the fourth average time point is obtained based on the second time point and two consecutive time points after the second time point in the fifth intermediate key flow rate ratio sum sequence.

[0058] In a possible implementation, determining the weekly plan for the target traffic intersection based on the historical peak data includes:

[0059] Get the week number corresponding to each historical day;

[0060] Using the week numbers, grouping the peak labels in the historical peak data to obtain peak label sets corresponding to the week numbers;

[0061] For any week, based on the peak label set corresponding to the week, obtain the target peak label of the week;

[0062] Grouping the weeks according to their respective target peak labels to obtain week groupings;

[0063] For any week group, based on the peak intervals corresponding to the weeks in the week group, determine the target peak interval corresponding to the week group;

[0064] The weekly plan of the target traffic intersection is obtained by the target peak intervals corresponding to the weekday groups.

[0065] In the embodiment of the present application, the peak labels in the historical peak data are grouped by using the week number to obtain the peak label set corresponding to each week number, so as to obtain the target peak label for each week number. Then, the target peak label for each week number is used to group each week number to obtain each week number group. In the peak interval corresponding to each week number in the week number group, the target peak interval corresponding to the week number group is determined to obtain the weekly plan for the target traffic intersection; thus, the week number and the historical peak data are combined to ensure the accuracy of the determined weekly plan for the target traffic intersection.

[0066] In a possible implementation, the peak labels include morning and evening peaks, no morning and evening peaks, morning peaks but no evening peaks, and no morning peaks but evening peaks.

[0067] The obtaining of a target peak label for any week based on the peak label set corresponding to the arbitrary week includes:

[0068] If there is a peak tag with the largest number among the peak tags in the peak tag set, then the peak tag with the largest number is determined as the target peak tag for the week; or

[0069] If there are two peak labels with the largest number among the peak labels in the peak label set, then the target peak label is obtained according to the two peak labels with the largest number; or

[0070] If there are three peak tags with the largest number among the peak tags in the peak tag set, the target peak tag is determined to be the morning and evening peaks.

[0071] In the embodiment of the present application, corresponding methods of determining target peak labels exist based on different situations, thereby ensuring the accuracy of the determined target peak labels.

[0072] In a possible implementation, obtaining the target peak label according to the two peak labels with the largest number includes:

[0073] If the two peak labels with the largest number are respectively no morning and evening peaks and having a morning peak but no evening peak, then determining the target peak label as having a morning peak but no evening peak; or

[0074] If the two peak labels with the largest number are respectively no morning and evening peaks and no morning peak but evening peaks, then the target peak label is determined to be no morning peak but evening peak; or

[0075] If the two peak labels with the largest number are respectively the no morning and evening peaks and the with morning and evening peaks, then determining the target peak label to be the with morning and evening peaks; or,

[0076] If the two peak labels with the largest number are respectively the one with morning peak but no evening peak and the one with morning and evening peak, then the target peak label is determined to be the one with morning and evening peak; or

[0077] If the two peak labels with the largest number are respectively the no morning peak but evening peak and the morning and evening peak, then the target peak label is determined to be the morning and evening peak; or,

[0078] If the two peak labels with the largest number are respectively the presence of a morning peak but no evening peak and the presence of no morning peak but an evening peak, then the target peak label is determined to be the presence of a morning and evening peak.

[0079] In the embodiment of the present application, when the two peak labels with the largest number correspond to different peak labels, there are different target peak labels, which ensures the accuracy of the determined target peak label.

[0080] In a possible implementation, determining the target peak interval corresponding to the week grouping based on the peak intervals corresponding to the weeks in the week grouping includes:

[0081] Filtering the historical peak data to find peak intervals whose week number is the same as any week number in the week number group and whose peak label is the same as the target peak label corresponding to the week number group, wherein any peak interval includes a peak start time point and a peak end time point;

[0082] Determine the peak start time point with the largest number in each peak interval as the target peak start time point, and determine the peak end time point with the largest number in each peak interval as the target peak end time point;

[0083] According to the target peak start time point and the target peak end time point, the target peak interval corresponding to the week grouping is obtained.

[0084] In the embodiment of the present application, the target peak interval of the week group is determined by using the historical peak data, thereby ensuring the accuracy of the target peak interval corresponding to the determined week group.

[0085] In a possible implementation, the historical traffic flow data includes traffic flow data for multiple historical days, and the traffic flow data for any day includes traffic flow data for multiple periods within the any day;

[0086] Using the weekly plan of the target traffic intersection and the historical traffic flow data of the target traffic intersection, dividing the target traffic intersection into signal control time periods, and obtaining a division result of the signal control time periods of the target traffic intersection, including:

[0087] For any week group in the weekly plan, a pre-set time axis of a specified duration is segmented using the target peak interval in the any week group to obtain multiple time intervals, wherein the multiple time intervals include peak time intervals and non-peak time intervals, and the peak time interval is the same as the target peak interval corresponding to the week group;

[0088] If the total number of the multiple time intervals is not greater than the preset target total number, filtering out target historical traffic flow data having the same week number as any week number in any one of the week number groups from the historical traffic flow data;

[0089] The target historical traffic data, the target peak interval of any weekly grouping, and the target total number are input into the natural break point algorithm for traversal and solution to obtain the division result of the signal control period of the target traffic intersection.

[0090] In this embodiment, the target historical traffic data, the target peak interval for any weekly grouping, and the target total number of traffic are input into the natural break algorithm for traversal and solution, thereby obtaining the signal control period division result for the target traffic intersection. This ensures that the final divided peak period fully corresponds to the peak period of traffic flow, thereby improving the accuracy of the signal control period division result.

[0091] In a second aspect, the present application provides a device for dividing a signal control period, the device comprising:

[0092] A historical data acquisition module is used to obtain historical peak data of the target traffic intersection, wherein the historical peak data includes peak intervals and peak labels corresponding to each historical day, and the peak labels are used to indicate whether the target traffic intersection has a morning peak and an evening peak;

[0093] a weekly plan determination module, configured to determine a weekly plan for the target traffic intersection based on the historical peak data, wherein the weekly plan includes weekday groups obtained by dividing the weekdays and peak intervals corresponding to the weekday groups, and any group includes at least one weekday;

[0094] The time period division module is used to divide the signal control time period of the target traffic intersection by using the weekly plan of the target traffic intersection and the historical traffic flow data of the target traffic intersection, and obtain the division result of the signal control time period of the target traffic intersection.

[0095] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the method for dividing the signal control time period are implemented.

[0096] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-mentioned method for dividing the signal control time period of the present application.

[0097] For each aspect from the second to the fourth aspect and the technical effects that may be achieved by each aspect, please refer to the above description of the technical effects that can be achieved by various possible solutions in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0099] Figure 1 An application scenario of a method for dividing a signal control period provided in an embodiment of the present application;

[0100] Figure 2 This is a flow chart of a method for dividing a signal control period provided in an embodiment of the present application;

[0101] Figure 3 A schematic diagram of a process for determining historical peak data provided in an embodiment of the present application;

[0102] Figure 4 A schematic diagram of a process for determining the sum of critical flow rate ratios of a target traffic intersection provided in an embodiment of the present application;

[0103] Figure 5 A schematic diagram of a process for determining the sum of smoothed critical flow rate ratios at a target traffic intersection according to an embodiment of the present application;

[0104] Figure 6 A schematic diagram of a process for determining historical peak data of a target traffic intersection provided in an embodiment of the present application;

[0105] Figure 7 A schematic diagram of a flow chart for determining a weekly plan for a target traffic intersection provided in an embodiment of the present application;

[0106] Figure 8 A schematic diagram of a flow chart for dividing signal control time periods at a target traffic intersection provided in an embodiment of the present application;

[0107] Figure 9 A schematic diagram of time period division provided in an embodiment of the present application;

[0108] Figure 10 A schematic diagram of a device for dividing a signal control period provided in an embodiment of the present application;

[0109] Figure 11 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0110] In order to make the purpose, technical solutions and advantages of this application more clear, the application will be further described in detail below with reference to the accompanying drawings. The specific operation methods in the method embodiments can also be applied to the device embodiments or system embodiments.

[0111] In the description of this application, "multiple" is understood to mean "at least two." "And / or" describes the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. A and B are connected, which can mean: A and B are directly connected, and A and B are connected through C. In addition, in the description of this application, words such as "first" and "second" are used only for the purpose of distinguishing descriptions and should not be understood as indicating or implying relative importance or order.

[0112] In existing technology, most single-point control intersections use manual time division. Specifically, technicians use their own experience to subjectively determine the morning and evening peak and off-peak traffic flow at the intersection and then divide the time periods based on this. However, this method relies too much on manual experience, resulting in low accuracy in the divided signal control time periods.

[0113] To address this issue, an embodiment of the present application provides a method for dividing signal control time periods. This method uses the historical peak traffic data of a target intersection to determine a weekly plan for the target intersection. The weekly plan and the historical traffic flow data for the target intersection are then used to divide the signal control time periods for the target intersection, resulting in a signal control time period division result for the target intersection. Thus, in the embodiment of the present application, the target intersection is divided into time periods based on the historical peak traffic data and historical traffic flow data, eliminating the need for manual division and improving the accuracy of the divided signal control time periods.

[0114] like Figure 1 As shown, an application scenario of a method for dividing a signal control period includes a terminal device 110 and a server 120.

[0115] In a possible application scenario, the server 120 obtains historical peak data of the target traffic intersection, wherein the historical peak data includes peak intervals and peak labels corresponding to each historical day, wherein the peak labels are used to indicate whether the target traffic intersection has a morning peak and an evening peak; then the server 120 determines a weekly plan for the target traffic intersection based on the historical peak data, wherein the weekly plan includes groups of weeks obtained by dividing the weeks of the week and peak intervals corresponding to the groups of weeks, and any group includes at least one week; finally, the server 120 uses the weekly plan of the target traffic intersection and the historical traffic flow data of the target traffic intersection to divide the target traffic intersection into signal control periods, obtains the division result of the signal control period of the target traffic intersection, and sends the division result of the signal control period to the terminal device 110 for display.

[0116] in, Figure 1 The server 120 and the terminal device 110 can exchange information via a communication network, wherein the communication mode adopted by the communication network can be divided into a wireless communication mode or a wired communication mode.

[0117] Exemplarily, the server 120 may access a network via a cellular mobile communication technology to communicate with the terminal device 110 , wherein the cellular mobile communication technology includes, for example, the fifth generation mobile communication (5th Generation Mobile Networks, 5G) technology.

[0118] Optionally, the server 120 may access the network and communicate with the terminal device 110 via short-range wireless communication, wherein the short-range wireless communication method includes, for example, Wireless Fidelity (Wi-Fi) technology.

[0119] The description of this application only details a single terminal device 110 and a single server 120. However, those skilled in the art should understand that the illustrated terminal device 110 and server 120 are intended to illustrate the operations of the terminal device 110 and server 120 involved in the technical solution of this application. This does not imply any limitation on the number, type, or location of the terminal devices 110 and servers 120. It should be noted that adding additional modules to the illustrated environment or removing individual modules from it does not change the underlying concepts of the exemplary embodiments of this application.

[0120] It should be noted that the method for dividing the signal control period proposed in this application is not only applicable to Figure 1 The application scenario shown is also applicable to any device that divides time periods with signal control.

[0121] The following describes the method of dividing the signal control period in an exemplary embodiment of the present application in combination with the application scenarios described above and with reference to the accompanying drawings. It should be noted that the above application scenarios are only shown to facilitate understanding of the methods and principles of the present application, and the implementation methods of the present application are not limited in this respect.

[0122] See also Figure 2 FIG. 1 is a flow chart of a method for dividing a signal control period provided in an embodiment of the present application. The specific implementation process of the method is as follows:

[0123] Step 201: Acquire historical peak data of a target traffic intersection, wherein the historical peak data includes peak intervals and peak labels corresponding to each historical day, and the peak labels are used to indicate whether the target traffic intersection has a morning peak and an evening peak.

[0124] Below, we first introduce the method for determining historical peak data in the embodiment of this application. Figure 3 The figure shows a flow chart of determining historical peak data, which may include the following steps:

[0125] Step 301: determining a sum of critical flow rate ratios of a target traffic intersection based on historical traffic flow data of the target traffic intersection;

[0126] The historical traffic flow data in the embodiment of the present application includes traffic flow data for multiple historical days, and the traffic flow data for any day includes traffic flow data for multiple cycles within the any day, and the traffic flow data for any cycle includes the arrival flow at the target traffic intersection corresponding to multiple traffic flows included in multiple traffic phases.

[0127] The traffic phases in the embodiments of the present application include four phases: east-west straight, east-west left turn, north-south straight, and north-south left turn. The east-west straight phase includes two traffic flow directions: east straight and west straight. The east-west left turn phase includes two traffic flow directions: east left turn and west left turn. The north-south straight phase includes two traffic flow directions: south straight and north straight. The north-south left turn phase includes two traffic flow directions: south left turn and north left turn.

[0128] Next, the method for determining the sum of the closing rate ratios of the target traffic intersection in step 301 is described in detail. Figure 4 FIG. 1 is a flow chart showing a process for determining the sum of the critical flow rate ratios of a target traffic intersection, which may specifically include the following steps:

[0129] Step 401: For the traffic flow data of any day, determine the flow rate ratio corresponding to the first arrival flow based on the first arrival flow, wherein the first arrival flow is any arrival flow in the traffic flow data of the any day; the flow rate ratio corresponding to the first arrival flow can be obtained by formula (2):

[0130] ... (2);

[0131] in, is the flow rate ratio corresponding to the first arrival flow at the target traffic intersection in the jth traffic phase and the mth traffic flow in the i-th cycle on the lth day, is the arrival flow at the target traffic intersection in the jth traffic phase and the mth traffic flow in the i-th cycle on the lth day, is the saturated flow rate of the target traffic intersection in the jth traffic phase and the mth traffic flow direction.

[0132] Step 402: Grouping the key flow rate ratios in the arbitrary day according to the number of cycles to obtain the flow rate ratios corresponding to the cycles in the arbitrary day;

[0133] In the embodiment of the present application, flow rate ratios with the same number of cycles are divided into the same group.

[0134] Step 403: for any period of the any day, obtain the sum of the key flow rate ratios corresponding to the any period according to the flow rate ratios corresponding to the any period;

[0135] In one possible implementation, step 403 may be specifically implemented as follows: for any traffic phase in any cycle, the flow rate ratio with the largest value among the flow rate ratios corresponding to any traffic phase in the cycle is determined as the critical flow rate ratio corresponding to the traffic phase in the cycle; and the critical flow rate ratios corresponding to the traffic phases in the cycle are added together to obtain the sum of the critical flow rate ratios corresponding to the cycle. The sum of the critical flow rate ratios corresponding to the cycle can be obtained using formula (3):

[0136] ... (3);

[0137] in, is the sum of the critical flow rate ratios corresponding to the i-th cycle in the target traffic intersection on the l-th day, are the flow rate ratios corresponding to the traffic phase j in the i-th cycle of the target traffic intersection on the l-th day, d is the traffic flow direction, and n is the total number of traffic phases.

[0138] Step 404: obtaining a sequence of the sum of the key flow rate ratios of the arbitrary day based on the sum of the key flow rate ratios corresponding to each period in the arbitrary day;

[0139] In the embodiment of the present application, the sum of the key flow rate ratios corresponding to each period in any day is sorted from small to large according to the period, and a sequence of the sum of the key flow rate ratios of the any day is obtained.

[0140] Step 405: Obtain the sum of the critical flow rate ratios of the target traffic intersection through the historical sequence of the sum of the critical flow rate ratios of multiple days.

[0141] In the embodiment of the present application, a sequence of sums of key flow rate ratios over multiple historical days is determined as the sum of the key flow rate ratios of the target traffic intersection.

[0142] Step 302: Smoothing the sum of the critical flow rate ratios of the target traffic intersection to obtain the smoothed sum of the critical flow rate ratios of the target traffic intersection;

[0143] Next, the sum of the key flow rate ratios after smoothing at the target traffic intersection determined in step 302 will be described. Figure 5FIG. 1 is a flow chart showing a process of determining the sum of the smoothed critical flow rate ratios at the target traffic intersection, which may specifically include the following steps:

[0144] Step 501: cutting a time series of a specified length to obtain multiple time windows, wherein the lengths of any two time windows in the multiple time windows are the same;

[0145] The time series of the specified length in the embodiment of the present application is 24 hours. In step 501 of the embodiment of the present application, the time series of the specified length is cut every 15 minutes, so 96 time windows are obtained, such as [00:00, 00:15, 00:30, ..., 23:45].

[0146] Step 502: for any key flow rate ratio sum in the key flow rate ratio sum sequence for any day, determine the time window interval within which the key flow rate ratio sum lies according to the period corresponding to the key flow rate ratio sum;

[0147] In the embodiments of the present application, each sum of the key flow rate ratios has a corresponding period identifier. Therefore, the period interval corresponding to the sum of the key flow rate ratios can be determined based on the period identifier, and the time window interval within which the period interval is located is determined to be the time window interval within which any one of the sums of the key flow rate ratios is located. That is, the period interval is included in the time window interval within which any one of the sums of the key flow rate ratios is located. The period in the embodiments of the present application includes the period start time and the period end time.

[0148] The period corresponding to the sum of any key flow rate ratio is determined as follows:

[0149] Multiplying the period identifier corresponding to the sum of any one of the key flow rate ratios by a preset time interval and adding the resultant to the preset period initial time to obtain the period end time corresponding to the sum of any one of the key flow rate ratios; and subtracting the period end time from the time interval to obtain the period start time; and determining the time interval corresponding to the period start time and the period end time as the period corresponding to the sum of any one of the key flow rate ratios.

[0150] Step 503: For any time window interval, determine the average of the sums of the key flow rate ratios in the time window interval as the sum of the smoothed key flow rate ratios of the period corresponding to the time window interval;

[0151] Step 504: Obtain the smoothed sum of the critical flow rate ratios of the target traffic intersection on the arbitrary day according to the smoothed sum of the critical flow rate ratios of each period on the arbitrary day.

[0152] In the embodiment of the present application, a sequence consisting of the sum of the smoothed critical flow rate ratios of each period in any day is determined as the sum of the smoothed critical flow rate ratios of the target traffic intersection in the any day.

[0153] Step 303: using the smoothed sum of the critical flow rate ratios, perform peak identification on the target traffic intersection to obtain historical peak data of the target traffic intersection.

[0154] Next, the specific method for determining the historical peak number of the target traffic intersection in step 303 is introduced. Figure 6 FIG. 1 is a flow chart showing a process for determining historical peak data of a target traffic intersection, which may specifically include the following steps:

[0155] Step 601: Obtaining a sequence of the sum of the key flow rate ratios of any day based on the sum of the smoothed key flow rate ratios of the day, wherein the key flow rate ratios in the sequence are sorted according to the size of the time window identifier;

[0156] The length of the sum sequence of the key flow rate ratios of any day in the embodiment of the present application is 96, that is, the sum sequence of the key flow rate ratios of any day is .

[0157] Step 602: Add the target key flow rate ratio sum in the key flow rate ratio sum sequence of any day, whose value is not less than the sum of the previous key flow rate ratio and not less than the sum of the next key flow rate ratio, to the first intermediate key flow rate ratio sum sequence;

[0158] Step 603: For any sub-key flow rate ratio sum sequence in the first intermediate key flow rate ratio sum sequence, delete the other key flow rate ratio sums in the first intermediate key flow rate ratio sum sequence except the key flow rate ratio sum located in the middle of the sub-key flow rate ratio sum sequence, to obtain a second intermediate key flow rate ratio sum sequence, wherein the any sub-key flow rate ratio sum sequence is composed of the sum of key flow rate ratios whose time window identifiers are consecutive in the first intermediate key flow rate ratio sum sequence;

[0159] The sub-key flow rate ratio sum sequence in the embodiment of the present application may be composed of the sum of key flow rate ratios with consecutive time window subscripts, for example, The sum of the key flow rate ratios at the middle position in any sub-key flow rate ratio sum sequence can be determined by formula (4):

[0160] ……(4);

[0161] Wherein, s is the mark of the middle position, is the time window subscript of the last key flow rate ratio sum in the sub-key flow rate ratio sum sequence, The time window subscript of the first key flow rate ratio sum in the sub-key flow rate ratio sum sequence.

[0162] Step 604: deleting the key flow rate ratio sums that meet a specified condition in the second intermediate key flow rate ratio sum sequence to obtain a third intermediate key flow rate ratio sum sequence;

[0163] The specified conditions in the embodiments of the present application are:

[0164] (1) For any key flow rate ratio sum in the second intermediate key flow rate ratio sum sequence, if there are sub-key flow rate ratio sum sequences with a specified length on both sides of the second intermediate key flow rate ratio sum sequence, and adjacent to the any key flow rate ratio sum; then determine the key flow rate ratio sum with the smallest value in the two sub-key flow rate ratio sum sequences adjacent to the key flow rate ratio sum; subtract the sum of any key flow rate ratio from the sum of the target key flow rate ratios to obtain a difference; if the difference is not greater than a preset value, then determine that the sum of any key flow rate ratio meets the specified condition; if the difference is greater than the preset value, then determine that the sum of any key flow rate ratio does not meet the specified condition. The difference can be obtained by formula (5):

[0165] ……(5);

[0166] in, is the difference, A is the sum of any one of the key flow rate ratios, is the sum of the critical flow rate ratios with the smallest value in the sub-critical flow rate sum sequence located on the left side of any one of the critical flow rate ratio sums in the second intermediate critical flow rate ratio sum sequence, It is the critical flow rate ratio sum with the smallest value in the sub-critical flow rate sum sequence located on the right side of any one critical flow rate ratio sum in the second intermediate critical flow rate ratio sum sequence.

[0167] (2) If the sum of any one of the key flow rate ratios does not have a sub-key flow rate ratio sum sequence with a specified length on the left and right sides of the second intermediate key flow rate ratio sum sequence and is adjacent to the sum of any one of the key flow rate ratios, it is determined that the sum of any one of the key flow rate ratios does not meet the specified condition.

[0168] It should be noted that the preset value in the embodiment of the present application is 0.15, but the embodiment of the present application does not limit the specific value of the preset value. The preset value in the embodiment of the present application can be set according to specific actual conditions. The specified length in the embodiment of the present application is 10, and the length of the sum of sub-key flow rate ratios in the sum sequence of sub-key flow rate ratios in the embodiment of the present application is 1. The embodiment of the present application does not limit the specific value of the specified length. The specific value of the specified length in the embodiment of the present application can be set according to specific actual conditions.

[0169] Step 605: adding the sum of the key flow rate ratios whose values are greater than the first specified threshold in the third intermediate key flow rate ratio sum sequence to the fourth intermediate key flow rate ratio sum sequence;

[0170] It should be noted that the first specified threshold in the embodiment of the present application may be 0.7, but the embodiment of the present application does not limit the specific value of the first specified threshold. The specified threshold in the embodiment of the present application may be set according to specific actual conditions.

[0171] Step 606: Divide the fourth intermediate key flow rate ratio sum sequence into two fifth intermediate key flow rate ratio sum sequences according to the time window identifier;

[0172] In an embodiment of the present application, the sum of each key flow rate ratio whose time window identifier is not greater than a specified value is added to the same fifth intermediate key flow rate ratio sum sequence, and the sum of each key flow rate ratio whose time window identifier is greater than a specified value is added to another fifth intermediate key flow rate ratio sum sequence.

[0173] The specified value in the embodiment of the present application is 48, but the embodiment of the present application does not limit the specified value. The specified value in the embodiment of the present application can be set according to the specific actual situation.

[0174] Step 607: Obtain historical peak data of the target traffic intersection on any day by summing the maximum critical flow rate ratios corresponding to the two fifth intermediate critical flow rate ratio sum sequences;

[0175] In a possible embodiment, step 607 can be specifically implemented as follows: for any sum of critical flow rate ratios with the largest value, with the sum of critical flow rate ratios with the largest value as the center point, traverse the left and right sides of the sequence of the sum of critical flow rate ratios of any day respectively; for any traversed sum of critical flow rate ratios, if it is determined that the traversed sum of critical flow rate ratios meets a preset condition based on the time window identifier of the traversed sum of critical flow rate ratios and the time window identifier with the sum of critical flow rates with the largest value, then obtain the peak interval based on the time window identifier of the traversed sum of critical flow rate ratios and the time window identifier with the sum of critical flow rates with the largest value.

[0176] The following describes a method for determining whether the sum of the traversed key flow rate ratios meets a preset condition based on the time window identifier of the sum of the traversed key flow rate ratios and the time window identifier of the sum of any key flow rate with the largest value:

[0177] In a possible implementation manner, whether the sum of the traversed key flow rate ratios meets a preset condition is determined in the following manner:

[0178] Based on the time window identifier of the sum of the traversed key flow rate ratios, a first time point corresponding to the time window identifier is determined; and based on the time window identifier of any time window with the largest value of the sum of the key flow rate ratios, a second time point corresponding to the time window identifier is determined; if the first time point and the second time point meet the intermediate specified condition, then it is determined that the sum of the traversed key flow rate ratios meets the preset condition. Wherein, the intermediate specified condition is:

[0179] (1) The time difference between the first time point and the second time point is greater than a specified duration. This can be expressed by formula (6):

[0180] ... (6);

[0181] in, is the later time point of the first time point and the second time point. is the earlier time point between the first time point and the second time point, and A is the specified duration.

[0182] It should be noted that the specified duration in the embodiment of the present application is 30 minutes. However, the embodiment of the present application does not limit the specific value of the specified duration. The specific value of the specified duration in the embodiment of the present application can be set according to the specific actual situation.

[0183] (2) The ratio of the first average time point corresponding to the first time point to the second average time point corresponding to the first time point is less than a second specified threshold; wherein the first average time point is obtained based on the first time point, a time point that is before the first time point and adjacent to the first time point in the fifth intermediate key flow rate ratio sum sequence, and a time point that is after the first time point and adjacent to the first time point in the fifth intermediate key flow rate ratio sum sequence; and the second average time point is obtained based on the first time point and two consecutive time points that are after the first time point in the fifth intermediate key flow rate ratio sum sequence. Wherein, it can be expressed by formula (7):

[0184] ……(7);

[0185] in, is a time point that is before the first time point and adjacent to the first time point in the fifth intermediate key flow rate ratio sum sequence, is a time point in the fifth intermediate key flow rate ratio sum sequence that is located after the first time point and adjacent to the first time point, is the sum of the fifth intermediate key flow rate ratios in the sequence Afterwards, and with the At adjacent time points, B is the second specified threshold.

[0186] It should be noted that the second specified threshold in the embodiment of the present application is 0.9, but the second specified threshold in the embodiment of the present application can be set according to actual conditions, and the embodiment of the present application does not limit the second specified threshold here.

[0187] (3) The ratio of the third average time point corresponding to the second time point to the fourth average time point corresponding to the second time point is less than a third specified threshold; wherein the third average time point is obtained based on the second time point, a time point that is before the second time point and adjacent to the second time point in the sum sequence of the fifth intermediate key flow rate ratios, and a time point that is after the second time point and adjacent to the second time point; and the fourth average time point is obtained based on the second time point and two consecutive time points that are after the second time point in the sum sequence of the fifth intermediate key flow rate ratios. Wherein, it can be expressed by formula (8):

[0188] ……(8);

[0189] in, is a time point that is before the second time point and adjacent to the second time point in the fifth intermediate key flow rate ratio sum sequence, is obtained at a time point that is after the second time point and adjacent to the second time point, is the sum of the fifth intermediate key flow rate ratios in the sequence Before, and with the At adjacent time points, B is the third specified threshold.

[0190] It should be noted that the third specified threshold in the embodiment of the present application is 0.9, but the embodiment of the present application does not limit the specific value of the third specified threshold. The specific value of the third specified threshold in the embodiment of the present application is set.

[0191] In the embodiment of the present application, if two peak intervals are determined, the earlier peak interval of the two peak intervals is determined as the morning peak interval, and the later peak interval is determined as the evening peak interval.

[0192] Step 608: Obtain the historical peak data of the target traffic intersection based on the historical peak data of each day. In this embodiment of the application, the time point corresponding to the time window identifier can be obtained by formula (9):

[0193] ……(9);

[0194] in, is the time point corresponding to the time window identifier i, and t is the preset time interval. In the embodiment of the present application, t is 15 minutes. However, the embodiment of the present application does not limit the specific value of t and can be set according to the specific actual situation.

[0195] Step 202: Determine a weekly plan for the target traffic intersection based on the historical peak traffic data, wherein the weekly plan includes weekday groups obtained by dividing the weekdays and peak traffic intervals corresponding to the weekday groups, and any group includes at least one weekday.

[0196] Next, the method of determining the weekly plan of the target traffic intersection in the embodiment of the present application is introduced. Figure 7 FIG. 1 is a flow chart of determining a weekly plan for a target traffic intersection, which may include the following steps:

[0197] Step 701: Obtain the week number corresponding to each historical day;

[0198] In the embodiment of the present application, Monday is the day of the week 1, Tuesday is the day of the week 2, Wednesday is the day of the week 3, Thursday is the day of the week 4, Friday is the day of the week 5, Saturday is the day of the week 6, and Sunday is the day of the week 7.

[0199] Step 702: using the week number, grouping the peak labels in the historical peak data to obtain a peak label set corresponding to each week number;

[0200] In the embodiment of the present application, peak labels with the same week number are divided into the same group. That is, the peak labels in the same peak label set correspond to the same week number, while the peak labels in different peak label sets correspond to different week numbers. For example, LABEL_WEEK={1: , 2: , 3: , 4: , 5: , 6: , 7: }; wherein, peak label set 1 is the peak label set corresponding to Monday, and so on.

[0201] Step 703: for any week, based on the peak label set corresponding to the any week, obtain a target peak label for the week;

[0202] In a possible implementation, step 703 may be specifically implemented as follows:

[0203] (1) If there is a peak tag with the largest number among the peak tags in the peak tag set, the peak tag with the largest number is determined as the target peak tag for the week.

[0204] (2) If there are two peak labels with the largest number among the peak labels in the peak label set, the target peak label is obtained according to the two peak labels with the largest number.

[0205] In one possible implementation, the target peak label can be obtained in the following ways:

[0206] Case 1: If the two peak labels with the largest number are respectively no morning and evening peaks and having a morning peak but no evening peak, then the target peak label is determined to be having a morning peak but no evening peak.

[0207] Case 2: If the two peak labels with the largest number are respectively no morning and evening peaks and no morning peak but evening peak, then the target peak label is determined to be no morning peak but evening peak.

[0208] Case 3: If the two peak labels with the largest number are respectively the no morning and evening peaks and the with morning and evening peaks, then the target peak label is determined to be the with morning and evening peaks.

[0209] Case 4: If the two peak labels with the largest number are respectively "having a morning peak but no evening peak" and "having morning and evening peaks", then the target peak label is determined to be "having morning and evening peaks".

[0210] Case 5: If the two peak labels with the largest number are respectively "no morning peak but evening peak" and "with morning and evening peaks", then the target peak label is determined to be "with morning and evening peaks".

[0211] Case 6: If the two peak labels with the largest number are respectively the presence of a morning peak but no evening peak and the absence of a morning peak but an evening peak, then the target peak label is determined to be the presence of a morning and evening peak.

[0212] (3) If there are three peak tags with the largest number among the peak tags in the peak tag set, the target peak tag is determined to be the morning and evening peaks.

[0213] Step 704: grouping the weeks according to their respective target peak labels to obtain week groups;

[0214] In this embodiment, days of the week with the same target peak label are grouped together. For example, Monday and Tuesday share the same target peak label, and Wednesday through Sunday share the same target peak label. The corresponding groups are {[1, 2], [3, 4, 5, 6, 7]}.

[0215] Step 705: for any week group, based on the peak intervals corresponding to the weeks in the week group, determine the target peak interval corresponding to the week group;

[0216] In a possible implementation, step 705 may be specifically implemented as follows: filtering out from the historical peak data peak intervals whose week numbers are the same as any week number in the week number grouping, and whose peak labels are the same as the target peak labels corresponding to the week number grouping, wherein any peak interval includes a peak start time point and a peak end time point; determining the peak start time point with the largest number in the peak intervals as the target peak start time point, and determining the peak end time point with the largest number in the peak intervals as the target peak end time point; and obtaining the target peak interval corresponding to the week number grouping based on the target peak start time point and the target peak end time point.

[0217] For example, if the weekly plan is [[1,2,3,4,5],[6,7]], and the peak labels are [with morning and evening peaks, with morning peak but no evening peak], then the interval sets belonging to the morning peak and evening peak from Monday to Friday are filtered out from the historical peak data, and the set belonging to the morning peak from Saturday to Sunday is filtered out.

[0218] It should be noted that: in the embodiment of the present application, if there are multiple peak start time points or peak end time points with the largest number, the earliest time point among the peak start time points is selected as the peak start time point, and the latest time point among the end time points is selected as the peak end time point. For example, the morning peak start and end time distribution sets of daily plan one [1,2,3,4,5] are [6:30, 6:30, 7:00, 7:00] and [9:30, 9:30, 10:00, 10:00] respectively, then the morning peak interval of daily plan one [1,2,3,4,5] is determined to be 6:30-10:00.

[0219] Step 706: Obtain a weekly plan for the target traffic intersection by using the target peak intervals corresponding to the weekday groups.

[0220] In the embodiment of the present application, the target peak intervals corresponding to the respective weekday groups are determined as the weekly plan for the target traffic intersection.

[0221] Step 203: using the weekly plan of the target traffic intersection and the historical traffic flow data of the target traffic intersection, dividing the signal control period of the target traffic intersection to obtain the division result of the signal control period of the target traffic intersection.

[0222] The historical traffic flow data in the embodiment of the present application includes traffic flow data of multiple days in history, and the traffic flow data of any day includes traffic flow data of multiple periods within the said day. In the embodiment of the present application, the traffic flow data of any day is moved averaged with a 15-minute time window, and finally the intersection traffic flow data of s days is organized into a fixed length format for each day. , s is the total number of days.

[0223] Next, the specific method of dividing the signal control period in step 203 in the embodiment of the present application is described. Figure 8 FIG. 1 is a flow chart showing the process of dividing the signal control period at the target traffic intersection, which may specifically include the following steps:

[0224] Step 801: For any week group in the weekly plan, a pre-set time axis of a specified duration is segmented using the target peak interval in the week group to obtain multiple time intervals, wherein the multiple time intervals include peak time intervals and non-peak time intervals, and the peak time interval is the same as the target peak interval corresponding to the week group;

[0225] In the embodiment of the present application, the time axis of the specified duration is a 24-hour time axis. For example, the morning peak interval of 7:00-9:00 and the evening peak interval of 17:00-19:00, which are grouped by day of the week, divide the 24-hour time axis into five time intervals: 0:00-7:00, 7:00-9:00, 9:00-17:00, 17:00-19:00, and 19:00-23:59.

[0226] Step 802: If the total number of the multiple time periods is not greater than the preset target total number, target historical traffic flow data having the same week number as any week number in any one of the week number groups is filtered out from the historical traffic flow data;

[0227] For example, if the weekdays are grouped as [6,7], then all traffic flow data on Saturdays and Sundays will be filtered out from the historical traffic flow data.

[0228] It should be noted that the specific value of the target total quantity in the embodiment of the present application can be set according to the specific actual situation, and the embodiment of the present application does not limit the specific value of the target total quantity.

[0229] Step 803: Input the target historical traffic data, the target peak interval of any weekly grouping, and the target total number into the natural break point algorithm for traversal and solution to obtain the division result of the signal control period of the target traffic intersection.

[0230] In this embodiment of the application, when performing a natural breakpoint algorithm, the optimization objective is to minimize the sum of the squared flow deviations across all time periods after the natural breakpoint algorithm is applied. Since the number of breakpoints required to be added to the off-peak period is fixed (i.e., the target number minus the total number of time periods minus 1), only the distribution of breakpoints across the different off-peak periods needs to be traversed. The final time period partitioning result is the breakpoint method that minimizes the sum of the squared flow deviations.

[0231] For example, Figure 9 As shown in the figure, the morning and evening peak periods of the daily plan divide the 24-hour time axis into five periods (1) to (5). If the total number of target divisions of the daily plan is 7, then two discontinuities need to be added to the non-peak periods (1), (3), and (5). The natural discontinuity algorithm needs to traverse a total of 6 situations, and finally take the discontinuity method with the smallest sum of the squares of the flow deviations as the final period division result.

[0232] The natural discontinuity point algorithm used in the embodiment of the present application for traversal and solution belongs to the prior art, and the embodiment of the present application will not be described in detail here.

[0233] Based on the same inventive concept, the present application also provides a device for dividing a signal control period, see Figure 10 , the apparatus 1000 comprises:

[0234] A historical data acquisition module 1001 is used to acquire historical peak data of a target traffic intersection, wherein the historical peak data includes peak intervals and peak labels corresponding to each historical day, and the peak labels are used to indicate whether the target traffic intersection has a morning peak and an evening peak;

[0235] A weekly plan determination module 1002 is configured to determine a weekly plan for the target traffic intersection based on the historical peak data, wherein the weekly plan includes weekday groups obtained by dividing the weekdays and peak intervals corresponding to the weekday groups, and any group includes at least one weekday;

[0236] The time period division module 1003 is used to divide the signal control time period of the target traffic intersection by using the weekly plan of the target traffic intersection and the historical traffic flow data of the target traffic intersection, and obtain the division result of the signal control time period of the target traffic intersection.

[0237] In a possible implementation, the device further includes:

[0238] The traffic data acquisition module 1004 is configured to determine the sum of the critical flow rate ratios of the target traffic intersection based on the historical traffic flow data of the target traffic intersection before acquiring the historical peak data of the target traffic intersection;

[0239] a smoothing module 1005 for smoothing the sum of the critical flow rate ratios of the target traffic intersection to obtain a smoothed sum of the critical flow rate ratios of the target traffic intersection;

[0240] The peak identification module 1006 is configured to perform peak identification on the target traffic intersection using the smoothed sum of the critical flow rate ratios to obtain historical peak data of the target traffic intersection.

[0241] In one possible implementation, the historical traffic flow data includes traffic flow data for multiple historical days, and the traffic flow data for any day includes traffic flow data for multiple periods within the any day, and the traffic flow data for any period includes arrival flows at target traffic intersections corresponding to multiple traffic flows included in multiple traffic phases;

[0242] The flow data acquisition module 1004 is specifically used to:

[0243] For traffic flow data of any day, determining a flow rate ratio corresponding to a first arrival flow according to a first arrival flow, wherein the first arrival flow is any arrival flow in the traffic flow data of the any day; and

[0244] Grouping the flow rate ratios in the arbitrary day according to the number of cycles to obtain the flow rate ratios corresponding to the cycles in the arbitrary day;

[0245] For any period of the any day, according to each flow rate ratio corresponding to the any period, obtain the sum of the key flow rate ratios corresponding to the any period;

[0246] Based on the sum of the key flow rate ratios corresponding to each period in the arbitrary day, a key flow rate ratio sum sequence of the arbitrary day is obtained;

[0247] The sum of the critical flow rate ratios of the target traffic intersection is obtained through a historical sequence of the sum of the critical flow rate ratios over multiple days.

[0248] In a possible implementation, the traffic data acquisition module 1004 is further configured to:

[0249] The flow rate ratio corresponding to the first arrival flow is obtained by the following formula (10):

[0250] ... (10);

[0251] in, is the flow rate ratio corresponding to the first arrival flow at the target traffic intersection in the jth traffic phase and the mth traffic flow in the i-th cycle on the lth day, is the arrival flow at the target traffic intersection in the jth traffic phase and the mth traffic flow in the i-th cycle on the lth day, is the saturated flow rate of the target traffic intersection in the jth traffic phase and the mth traffic flow direction.

[0252] In a possible implementation, the traffic data acquisition module 1004 is further configured to:

[0253] For any traffic phase in any cycle, determining the flow rate ratio with the largest value among the flow rate ratios corresponding to any traffic phase in the cycle as the key flow rate ratio corresponding to any traffic phase in the cycle;

[0254] The key flow rate ratios corresponding to each traffic phase in the arbitrary cycle are added together to obtain the sum of the key flow rate ratios corresponding to the arbitrary cycle.

[0255] In a possible implementation, the smoothing module 1005 is specifically configured to:

[0256] Cutting a time series of a specified length to obtain multiple time windows, wherein the lengths of any two time windows in the multiple time windows are the same;

[0257] For any key flow rate ratio sum in the key flow rate ratio sum sequence for any day, determine the time window interval within which the any key flow rate ratio sum lies according to the period corresponding to the any key flow rate ratio sum; and

[0258] For any time window interval, determining the average of the sums of the key flow rate ratios in the time window interval as the sum of the smoothed key flow rate ratios of the period corresponding to the time window interval;

[0259] According to the sum of the smoothed critical flow rate ratios of each period in the arbitrary day, the sum of the smoothed critical flow rate ratios of the target traffic intersection in the arbitrary day is obtained.

[0260] In a possible implementation, the peak identification module 1006 is specifically configured to:

[0261] Obtaining a sequence of the sum of the key flow rate ratios of any day according to the sum of the smoothed key flow rate ratios of the day, wherein the key flow rate ratios in the sequence of the sum of the key flow rate ratios are sorted according to the size of the time window identifier;

[0262] Adding a target sum of key flow rate ratios in the key flow rate ratio sum sequence of any day, whose value is not less than the sum of the previous key flow rate ratio and not less than the sum of the next key flow rate ratio, to the first intermediate key flow rate ratio sum sequence;

[0263] For any sub-key flow rate ratio sum sequence in the first intermediate key flow rate ratio sum sequence, deleting the other key flow rate ratio sums in the first intermediate key flow rate ratio sum sequence except the key flow rate ratio sum located in the middle of the sub-key flow rate ratio sum sequence, to obtain a second intermediate key flow rate ratio sum sequence, wherein the any sub-key flow rate ratio sum sequence is composed of the sum of key flow rate ratios whose time window identifiers are consecutive in the first intermediate key flow rate ratio sum sequence;

[0264] Deleting the sums of the key flow rate ratios that meet a specified condition in the second intermediate key flow rate ratio sum sequence to obtain a third intermediate key flow rate ratio sum sequence;

[0265] adding the sum of the key flow rate ratios whose values in the third intermediate key flow rate ratio sum sequence are greater than a specified threshold to the fourth intermediate key flow rate ratio sum sequence;

[0266] dividing the fourth intermediate key flow rate ratio sum sequence into two fifth intermediate key flow rate ratio sum sequences according to the time window identifier;

[0267] Obtaining historical peak data of the target traffic intersection on any day by summing the key flow rate ratios with the largest values corresponding to the two fifth intermediate key flow rate ratio sum sequences;

[0268] The historical peak data of the target traffic intersection is obtained according to the historical peak data of each historical day.

[0269] In a possible implementation, the peak identification module 1006 is further configured to:

[0270] For any maximum value of the sum of key flow rate ratios, taking the maximum value of the sum of key flow rate ratios as the center point, traverse the left and right sides of the sequence of the sum of key flow rate ratios of any day respectively;

[0271] For any sum of the traversed key flow rate ratios, if it is determined that the sum of the traversed key flow rate ratios meets the preset conditions based on the time window identifier of the traversed key flow rate ratios and the time window identifier of the sum of any key flow rates with the largest value, then the peak interval is obtained based on the time window identifier of the traversed key flow rate ratios and the time window identifier of the sum of any key flow rates with the largest value.

[0272] In a possible implementation, the device further includes:

[0273] The judgment module 1007 is configured to determine whether the sum of the traversed key flow rate ratios meets a preset condition by:

[0274] Determining a first time point corresponding to the time window identifier according to the time window identifier of the traversed sum of the key flow rate ratios;

[0275] Determining a second time point corresponding to the time window identifier according to the time window identifier of the sum of any one of the critical flow rates having the largest value;

[0276] If the first time point and the second time point satisfy the intermediate specified condition, it is determined that the sum of the traversed key flow rate ratios satisfies the preset condition.

[0277] In a possible implementation, the intermediate specified conditions include the following three:

[0278] a. The time difference between the first time point and the second time point is greater than the specified duration;

[0279] b. a ratio of a first average time point corresponding to the first time point to a second average time point corresponding to the first time point is less than a second specified threshold; wherein the first average time point is obtained based on the first time point, a time point that is prior to and adjacent to the first time point in the fifth sequence of sums of intermediate key flow rate ratios, and a time point that is subsequent to and adjacent to the first time point in the fifth sequence of sums of intermediate key flow rate ratios; and the second average time point is obtained based on the first time point and two consecutive time points that are subsequent to the first time point in the fifth sequence of sums of intermediate key flow rate ratios;

[0280] c. The ratio of the third average time point corresponding to the second time point to the fourth average time point corresponding to the second time point is less than a third specified threshold; wherein, the third average time point is obtained based on the second time point, the time point before the second time point and adjacent to the second time point in the fifth intermediate key flow rate ratio sum sequence, and the time point after the second time point and adjacent to the second time point; the fourth average time point is obtained based on the second time point and two consecutive time points after the second time point in the fifth intermediate key flow rate ratio sum sequence.

[0281] In a possible implementation, the weekly plan determination module 1002 is specifically configured to:

[0282] Get the week number corresponding to each historical day;

[0283] Using the week numbers, grouping the peak labels in the historical peak data to obtain peak label sets corresponding to the week numbers;

[0284] For any week, based on the peak label set corresponding to the week, obtain the target peak label of the week;

[0285] Grouping the weeks according to their respective target peak labels to obtain week groupings;

[0286] For any week group, based on the peak intervals corresponding to the weeks in the week group, determine the target peak interval corresponding to the week group;

[0287] The weekly plan of the target traffic intersection is obtained by the target peak intervals corresponding to the weekday groups.

[0288] In a possible implementation, the peak labels include morning and evening peaks, no morning and evening peaks, morning peaks but no evening peaks, and no morning peaks but evening peaks.

[0289] The weekly plan determination module 1002 is further configured to:

[0290] If there is a peak tag with the largest number among the peak tags in the peak tag set, then the peak tag with the largest number is determined as the target peak tag for the week; or

[0291] If there are two peak labels with the largest number among the peak labels in the peak label set, then the target peak label is obtained according to the two peak labels with the largest number; or

[0292] If there are three peak tags with the largest number among the peak tags in the peak tag set, the target peak tag is determined to be the morning and evening peaks.

[0293] In a possible implementation, the weekly plan determination module 1002 is further configured to:

[0294] If the two peak labels with the largest number are respectively no morning and evening peaks and having a morning peak but no evening peak, then determining the target peak label as having a morning peak but no evening peak; or

[0295] If the two peak labels with the largest number are respectively no morning and evening peaks and no morning peak but evening peak, then the target peak label is determined to be no morning peak but evening peak; or

[0296] If the two peak labels with the largest number are respectively the no morning and evening peaks and the with morning and evening peaks, then determining the target peak label to be the with morning and evening peaks; or,

[0297] If the two peak labels with the largest number are respectively the one with morning peak but no evening peak and the one with morning and evening peak, then the target peak label is determined to be the one with morning and evening peak; or

[0298] If the two peak labels with the largest number are respectively the no morning peak but evening peak and the morning and evening peak, then the target peak label is determined to be the morning and evening peak; or,

[0299] If the two peak labels with the largest number are respectively the presence of a morning peak but no evening peak and the presence of an evening peak but no morning peak, then the target peak label is determined to be the presence of a morning and evening peak.

[0300] In a possible implementation, the weekly plan determination module 1002 is further configured to:

[0301] Filtering the historical peak data to find peak intervals whose week number is the same as any week number in the week number group and whose peak label is the same as the target peak label corresponding to the week number group, wherein any peak interval includes a peak start time point and a peak end time point;

[0302] Determine the peak start time point with the largest number in each peak interval as the target peak start time point, and determine the peak end time point with the largest number in each peak interval as the target peak end time point;

[0303] According to the target peak start time point and the target peak end time point, the target peak interval corresponding to the week grouping is obtained.

[0304] In a possible implementation, the historical traffic flow data includes traffic flow data for multiple historical days, and the traffic flow data for any day includes traffic flow data for multiple periods within the any day;

[0305] The time period division module 1003 is specifically used to:

[0306] For any week group in the weekly plan, a pre-set time axis of a specified duration is segmented using the target peak interval in the any week group to obtain multiple time intervals, wherein the multiple time intervals include peak time intervals and non-peak time intervals, and the peak time interval is the same as the target peak interval corresponding to the week group;

[0307] If the total number of the multiple time intervals is not greater than the preset target total number, filtering out target historical traffic flow data having the same week number as any week number in any one of the week number groups from the historical traffic flow data;

[0308] The target historical traffic data, the target peak interval of any weekly grouping, and the target total number are input into the natural break point algorithm for traversal and solution to obtain the division result of the signal control period of the target traffic intersection.

[0309] Based on the same inventive concept, an electronic device is also provided in the embodiment of the present application. The electronic device can realize the function of the aforementioned signal control period division device, refer to Figure 11 , the electronic device includes:

[0310] At least one processor 1101, and a memory 1102 connected to the at least one processor 1101. The specific connection medium between the processor 1101 and the memory 1102 is not limited in the embodiment of the present application. Figure 11In the example, the processor 1101 and the memory 1102 are connected via the bus 1100. Figure 11 The bus 1100 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 11 The diagram is represented by only one thick line, but this does not mean that there is only one bus or one type of bus. Alternatively, the processor 1101 may also be referred to as a controller, without limitation to the name.

[0311] In the embodiment of the present application, the memory 1102 stores instructions that can be executed by at least one processor 1101. The at least one processor 1101 can execute the signal control period division method discussed above by executing the instructions stored in the memory 1102. The processor 1101 can implement Figure 10 The functions of each module in the device shown.

[0312] Among them, the processor 1101 is the control center of the device, which can use various interfaces and lines to connect the various parts of the entire control device, and monitor the device as a whole by running or executing instructions stored in the memory 1102 and calling data stored in the memory 1102, the various functions of the device and processing data.

[0313] In one possible design, processor 1101 may include one or more processing units. Processor 1101 may integrate an application processor and a modem processor. The application processor primarily processes the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 1101. In some embodiments, processor 1101 and memory 1102 may be implemented on the same chip. In some embodiments, they may also be implemented on separate chips.

[0314] The processor 1101 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method for dividing the signal control period disclosed in the embodiments of the present application can be directly embodied as a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor.

[0315] Memory 1102 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. Memory 1102 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. Memory 1102 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1102 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0316] By designing and programming the processor 1101, the code corresponding to the signal control period division method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 2 The steps of the signal control period division method in the embodiment shown are as follows: How to design and program the processor 1101 is a technique well known to those skilled in the art and will not be described in detail here.

[0317] An embodiment of the present application also provides a computer-readable storage medium that stores computer-executable instructions required to execute the above-mentioned processor, which includes a program required to execute the above-mentioned processor.

[0318] In some possible implementations, various aspects of the signal control time period division method provided in the present application can also be implemented in the form of a program product, which includes program code. When the above-mentioned program product is run on an electronic device, the above-mentioned program code is used to enable the above-mentioned electronic device to execute the steps of the signal control time period division processing method according to various exemplary embodiments of the present application described above in this specification.

[0319] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, apparatuses, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0320] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0321] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0322] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0323] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.

[0324] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A method for dividing a signal control period, characterized in that: The method comprises: Determining a sum of critical flow rate ratios of a target traffic intersection based on historical traffic flow data of the target traffic intersection; smoothing the sum of the critical flow rate ratios to obtain a smoothed sum of the critical flow rate ratios; and obtaining a key flow rate ratio sum sequence based on the smoothed sum of the critical flow rate ratios, wherein each key flow rate ratio in the key flow rate ratio sum sequence is sorted according to a size of a time window identifier; Adding a target sum of key flow rate ratios in the key flow rate ratio sum sequence, whose value is not less than the sum of the previous key flow rate ratio and not less than the sum of the next key flow rate ratio, to the first intermediate key flow rate ratio sum sequence; For any sub-key flow rate ratio sum sequence in the first intermediate key flow rate ratio sum sequence, deleting the other key flow rate ratio sums in the first intermediate key flow rate ratio sum sequence except the key flow rate ratio sum located in the middle of the sub-key flow rate ratio sum sequence, to obtain a second intermediate key flow rate ratio sum sequence, wherein the any sub-key flow rate ratio sum sequence is composed of the sums of key flow rate ratios whose time window identifiers are consecutive in the first intermediate key flow rate ratio sum sequence; The key flow rate ratio sums that meet the specified conditions in the second intermediate key flow rate ratio sum sequence are deleted to obtain a third intermediate key flow rate ratio sum sequence; wherein, whether the second intermediate key flow rate ratio sum sequence meets the specified conditions is determined in the following manner: a. for any key flow rate ratio sum in the second intermediate key flow rate ratio sum sequence, if any key flow rate ratio sum has a sub-key flow rate ratio sum sequence with a specified length on both sides of the second intermediate key flow rate ratio sum sequence and is adjacent to the any key flow rate ratio sum; then in the two sub-key flow rate ratio sum sequences adjacent to the key flow rate ratio sum, Determine the minimum critical flow rate ratio sum; subtract the sum of any critical flow rate ratios from the sum of the target critical flow rate ratios to obtain a difference; if the difference is not greater than a preset value, determine that the sum of any critical flow rate ratios satisfies the specified condition; if the difference is greater than the preset value, determine that the sum of any critical flow rate ratios does not satisfy the specified condition; b. if the sum of any critical flow rate ratio does not have a sub-critical flow rate ratio sum sequence of a specified length on either side of the second intermediate critical flow rate ratio sum sequence and is adjacent to the sum of any critical flow rate ratio, determine that the sum of any critical flow rate ratio does not satisfy the specified condition; The sum of the key flow rate ratios whose values in the third intermediate key flow rate ratio sum sequence are greater than the first specified threshold value is added to the fourth intermediate key flow rate ratio sum sequence; the fourth intermediate key flow rate ratio sum sequence is divided into two fifth intermediate key flow rate ratio sum sequences according to the time window identifier; the historical peak data of the target traffic intersection on any day is obtained by summing the key flow rate ratios with the largest values corresponding to the two fifth intermediate key flow rate ratio sum sequences; and the historical peak data of the target traffic intersection is obtained based on the historical peak data of each historical day. Obtaining historical peak data for a target traffic intersection, wherein the historical peak data includes peak intervals and peak labels corresponding to each historical day, and the peak labels are used to indicate whether the target traffic intersection has a morning peak and an evening peak; Determining a weekly plan for the target traffic intersection based on the historical peak data, wherein the weekly plan includes weekday groups obtained by dividing the weekdays and peak intervals corresponding to the weekday groups, and any group includes at least one weekday; The target traffic intersection is divided into signal control time periods using the weekly plan of the target traffic intersection and the historical traffic flow data of the target traffic intersection, thereby obtaining a division result of the signal control time periods of the target traffic intersection.

2. The method according to claim 1, characterized in that The historical traffic flow data includes traffic flow data of multiple historical days, and the traffic flow data of any one day includes traffic flow data of multiple periods within the any one day, and the traffic flow data of any one period includes the arrival flow of target traffic intersections corresponding to multiple traffic flows included in multiple traffic phases; Determining the sum of the critical flow rate ratios of the target traffic intersection based on historical traffic flow data of the target traffic intersection includes: For the traffic flow data of any day, determining a flow rate ratio corresponding to the first arrival flow according to a first arrival flow, wherein the first arrival flow is any arrival flow in the traffic flow data of the any day; and Grouping the flow rate ratios in the arbitrary day according to the number of cycles to obtain the flow rate ratios corresponding to the cycles in the arbitrary day; For any period of the any day, according to each flow rate ratio corresponding to the any period, obtain the sum of the key flow rate ratios corresponding to the any period; Based on the sum of the key flow rate ratios corresponding to each period in the arbitrary day, a key flow rate ratio sum sequence of the arbitrary day is obtained; The sum of the critical flow rate ratios of the target traffic intersection is obtained through a historical sequence of the sum of the critical flow rate ratios over multiple days.

3. The method according to claim 2, characterized in that The determining, according to the first arrival flow rate, a flow rate ratio corresponding to the first arrival flow rate includes: The flow rate ratio corresponding to the first arrival flow rate is obtained by the following formula: ; in, is the flow rate ratio corresponding to the first arrival flow at the target traffic intersection in the jth traffic phase and the mth traffic flow in the i-th cycle on the lth day, is the arrival flow at the target traffic intersection in the jth traffic phase and the mth traffic flow in the i-th cycle on the lth day, is the saturated flow rate of the target traffic intersection in the jth traffic phase and the mth traffic flow direction.

4. The method according to claim 2, characterized in that Obtaining the sum of the key flow rate ratios corresponding to any one period according to the flow rate ratios corresponding to any one period includes: For any traffic phase in any cycle, determining the flow rate ratio with the largest value among the flow rate ratios corresponding to any traffic phase in the cycle as the key flow rate ratio corresponding to any traffic phase in the cycle; The key flow rate ratios corresponding to each traffic phase in the arbitrary cycle are added together to obtain the sum of the key flow rate ratios corresponding to the arbitrary cycle.

5. The method according to claim 1, wherein The step of smoothing the sum of the critical flow rate ratios of the target traffic intersection to obtain the smoothed sum of the critical flow rate ratios of the target traffic intersection includes: Cutting a time series of a specified length to obtain multiple time windows, wherein the lengths of any two time windows in the multiple time windows are the same; For any key flow rate ratio sum in the key flow rate ratio sum sequence of any day, determine the time window interval within which the any key flow rate ratio sum lies according to the period corresponding to the any key flow rate ratio sum; and For any time window interval, determining the average of the sums of the key flow rate ratios in the time window interval as the sum of the smoothed key flow rate ratios of the period corresponding to the time window interval; According to the sum of the smoothed critical flow rate ratios of each period in the arbitrary day, the sum of the smoothed critical flow rate ratios of the target traffic intersection in the arbitrary day is obtained.

6. The method according to claim 1, characterized in that The historical peak data of the target traffic intersection on any day is obtained by summing the key flow rate ratios with the largest values corresponding to the two fifth intermediate key flow rate ratio sum sequences, including: For any maximum value of the sum of key flow rate ratios, taking the maximum value of the sum of key flow rate ratios as the center point, traverse the left and right sides of the sequence of the sum of key flow rate ratios of any day respectively; For any traversed sum of key flow rate ratios, if it is determined that the traversed sum of key flow rate ratios meets the preset condition based on the time window identifier of the traversed sum of key flow rate ratios and the time window identifier of any key flow rate sum with the largest value, then a peak interval is obtained based on the time window identifier of the traversed sum of key flow rate ratios and the time window identifier of any key flow rate sum with the largest value, wherein whether the traversed sum of key flow rate ratios meets the preset condition is determined in the following manner: according to the time window identifier of the traversed sum of key flow rate ratios, a first time point corresponding to the time window identifier is determined; according to the time window identifier of any key flow rate sum with the largest value, a second time point corresponding to the time window identifier is determined; if the first time point and the second time point meet the intermediate specified condition, then it is determined that the traversed sum of key flow rate ratios meets the preset condition, and the intermediate specified condition includes the following three types: a. The time difference between the first time point and the second time point is greater than the specified duration; b. a ratio of a first average time point corresponding to the first time point to a second average time point corresponding to the first time point is less than a second specified threshold; wherein the first average time point is obtained based on the first time point, a time point that is prior to and adjacent to the first time point in the fifth sequence of sums of intermediate key flow rate ratios, and a time point that is subsequent to and adjacent to the first time point in the fifth sequence of sums of intermediate key flow rate ratios; and the second average time point is obtained based on the first time point and two consecutive time points that are subsequent to the first time point in the fifth sequence of sums of intermediate key flow rate ratios; c. The ratio of the third average time point corresponding to the second time point to the fourth average time point corresponding to the second time point is less than a third specified threshold; wherein, the third average time point is obtained based on the second time point, the time point before the second time point and adjacent to the second time point in the fifth intermediate key flow rate ratio sum sequence, and the time point after the second time point and adjacent to the second time point; the fourth average time point is obtained based on the second time point and two consecutive time points after the second time point in the fifth intermediate key flow rate ratio sum sequence.

7. The method according to claim 1, characterized in that Determining the weekly plan for the target traffic intersection based on the historical peak data includes: Get the week number corresponding to each historical day; Using the week numbers, grouping the peak labels in the historical peak data to obtain peak label sets corresponding to the week numbers; For any week, based on the peak label set corresponding to the week, obtain the target peak label of the week; Grouping the weeks according to their respective target peak labels to obtain week groupings; For any week group, based on the peak intervals corresponding to the weeks in the week group, determine the target peak interval corresponding to the week group; The weekly plan of the target traffic intersection is obtained by the target peak intervals corresponding to the weekday groups.

8. The method according to claim 7, characterized in that The peak labels include morning and evening peaks, no morning and evening peaks, morning peaks but no evening peaks, and no morning peaks but evening peaks; The obtaining of a target peak label for any week based on the peak label set corresponding to the arbitrary week includes: If there is a peak tag with the largest number among the peak tags in the peak tag set, then the peak tag with the largest number is determined as the target peak tag for the week; or If there are two peak labels with the largest number among the peak labels in the peak label set, then the target peak label is obtained according to the two peak labels with the largest number; or If there are three peak tags with the largest number among the peak tags in the peak tag set, the target peak tag is determined to be the morning and evening peaks.

9. The method according to claim 8, characterized in that Obtaining the target peak label according to the two peak labels with the largest number includes: If the two peak labels with the largest number are respectively no morning and evening peaks and having a morning peak but no evening peak, then determining the target peak label as having a morning peak but no evening peak; or If the two peak labels with the largest number are respectively no morning and evening peaks and no morning peak but evening peaks, then the target peak label is determined to be no morning peak but evening peak; or If the two peak labels with the largest number are respectively the no morning and evening peaks and the with morning and evening peaks, then determining the target peak label to be the with morning and evening peaks; or, If the two peak labels with the largest number are respectively the one with morning peak but no evening peak and the one with morning and evening peak, then the target peak label is determined to be the one with morning and evening peak; or If the two peak labels with the largest number are respectively the no morning peak but evening peak and the morning and evening peak, then the target peak label is determined to be the morning and evening peak; or, If the two peak labels with the largest number are respectively the presence of a morning peak but no evening peak and the presence of no morning peak but an evening peak, then the target peak label is determined to be the presence of a morning and evening peak.

10. The method according to claim 7, characterized in that The determining, based on the peak intervals corresponding to the respective weeks in the week grouping, the target peak interval corresponding to the week grouping includes: Filtering the historical peak data to find peak intervals whose week number is the same as any week number in the week number group and whose peak label is the same as the target peak label corresponding to the week number group, wherein any peak interval includes a peak start time point and a peak end time point; Determine the peak start time point with the largest number in each peak interval as the target peak start time point, and determine the peak end time point with the largest number in each peak interval as the target peak end time point; According to the target peak start time point and the target peak end time point, the target peak interval corresponding to the week grouping is obtained.

11. The method according to claim 7, characterized in that The historical traffic flow data includes traffic flow data of multiple historical days, and the traffic flow data of any one day includes traffic flow data of multiple periods within the any one day; Using the weekly plan of the target traffic intersection and the historical traffic flow data of the target traffic intersection, dividing the target traffic intersection into signal control time periods, and obtaining a division result of the signal control time periods of the target traffic intersection, including: For any week group in the weekly plan, a pre-set time axis of a specified duration is segmented using the target peak interval in the any week group to obtain multiple time intervals, wherein the multiple time intervals include peak time intervals and non-peak time intervals, and the peak time interval is the same as the target peak interval corresponding to the week group; If the total number of the multiple time intervals is not greater than the preset target total number, filtering out target historical traffic flow data having the same week number as any week number in any one of the week number groups from the historical traffic flow data; The target historical traffic data, the target peak interval of any weekly grouping, and the target total number are input into the natural break point algorithm for traversal and solution to obtain the division result of the signal control period of the target traffic intersection.

12. A device for dividing a signal control period, characterized in that: The device comprises: a traffic data acquisition module, configured to determine a sum of critical flow rate ratios of a target traffic intersection based on historical traffic flow data of the target traffic intersection; smooth the sum of the critical flow rate ratios to obtain a smoothed sum of the critical flow rate ratios; and obtain a sequence of key flow rate ratio sums based on the smoothed sum of the critical flow rate ratios, wherein each key flow rate ratio in the sequence of key flow rate ratio sums is sorted according to the size of a time window identifier; a peak identification module configured to add a target key flow rate ratio sum whose value in the key flow rate ratio sum sequence is not less than the sum of the previous key flow rate ratio and not less than the sum of the next key flow rate ratio to the first intermediate key flow rate ratio sum sequence; For any sub-key flow rate ratio sum sequence in the first intermediate key flow rate ratio sum sequence, deleting the other key flow rate ratio sums in the first intermediate key flow rate ratio sum sequence except the key flow rate ratio sum located in the middle of the sub-key flow rate ratio sum sequence, to obtain a second intermediate key flow rate ratio sum sequence, wherein the any sub-key flow rate ratio sum sequence is composed of the sums of key flow rate ratios whose time window identifiers are consecutive in the first intermediate key flow rate ratio sum sequence; The key flow rate ratio sums that meet the specified conditions in the second intermediate key flow rate ratio sum sequence are deleted to obtain a third intermediate key flow rate ratio sum sequence; wherein, whether the second intermediate key flow rate ratio sum sequence meets the specified conditions is determined in the following manner: a. for any key flow rate ratio sum in the second intermediate key flow rate ratio sum sequence, if any key flow rate ratio sum has a sub-key flow rate ratio sum sequence with a specified length on both sides of the second intermediate key flow rate ratio sum sequence and is adjacent to the any key flow rate ratio sum; then in the two sub-key flow rate ratio sum sequences adjacent to the key flow rate ratio sum, Determine the minimum critical flow rate ratio sum; subtract the sum of any critical flow rate ratios from the sum of the target critical flow rate ratios to obtain a difference; if the difference is not greater than a preset value, determine that the sum of any critical flow rate ratios satisfies the specified condition; if the difference is greater than the preset value, determine that the sum of any critical flow rate ratios does not satisfy the specified condition; b. if the sum of any critical flow rate ratio does not have a sub-critical flow rate ratio sum sequence of a specified length on either side of the second intermediate critical flow rate ratio sum sequence and is adjacent to the sum of any critical flow rate ratio, determine that the sum of any critical flow rate ratio does not satisfy the specified condition; The sum of the key flow rate ratios whose values in the third intermediate key flow rate ratio sum sequence are greater than the first specified threshold value is added to the fourth intermediate key flow rate ratio sum sequence; the fourth intermediate key flow rate ratio sum sequence is divided into two fifth intermediate key flow rate ratio sum sequences according to the time window identifier; the historical peak data of the target traffic intersection on any day is obtained by summing the key flow rate ratios with the largest values corresponding to the two fifth intermediate key flow rate ratio sum sequences; and the historical peak data of the target traffic intersection is obtained based on the historical peak data of each historical day. A historical data acquisition module is used to obtain historical peak data of the target traffic intersection, wherein the historical peak data includes peak intervals and peak labels corresponding to each historical day, and the peak labels are used to indicate whether the target traffic intersection has a morning peak and an evening peak; a weekly plan determination module, configured to determine a weekly plan for the target traffic intersection based on the historical peak data, wherein the weekly plan includes weekday groups obtained by dividing the weekdays and peak intervals corresponding to the weekday groups, and any group includes at least one weekday; The time period division module is used to divide the signal control time period of the target traffic intersection by using the weekly plan of the target traffic intersection and the historical traffic flow data of the target traffic intersection, and obtain the division result of the signal control time period of the target traffic intersection.

13. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the method according to any one of claims 1 to 11 when executing the computer program stored in the memory.

14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Phase sequence selection and scheme generation type traffic signal phase configuration method and system

    CN108564795A

  • Signal control method and device, computer equipment and storage medium

    CN117877286A

  • Road control strategy determination method and device, storage medium and electronic device

    CN118280131A