A control method, device, equipment and medium for a signal lamp
By obtaining the current time point and traffic set of traffic lights, determining the target time period list and establishing a mapping relationship, the problem of unreasonable allocation of signal light time periods is solved, and the precise control of green signal ratio is achieved, reducing traffic congestion and improving traffic efficiency.
Patent Information
- Application Number
- CN202310186758.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2043-02-22
AI Technical Summary
The alternate time allocation of traffic lights for existing traffic lights cannot be rationally adjusted according to changes in traffic flow in different time periods, resulting in traffic congestion and inefficient vehicle traffic.
By obtaining the current time point and traffic set of the target signal light, determining the target time period list, and controlling the allocation of the green signal ratio based on the time period and phase information, establishing a linear or nonlinear mapping relationship to accurately adjust the time period of the signal light.
It improves the accuracy of the signal light time period and the allocation accuracy of the green signal ratio, reduces traffic congestion, and improves vehicle traffic efficiency.
Smart Images

Figure CN116504082B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal lights, and particularly to a control method, device, equipment and medium for signal lights. Background Art
[0002] With the progress of modernization, the number of various types of vehicles has been continuously increasing, resulting in serious traffic congestion in some cities. Rationalizing the alternating time of traffic lights is one of the best solutions to solve this current situation. The improvement of traffic lights is a solution with less investment, quick results, and environmental protection. With the country's emphasis on intelligent transportation, many cities have built intelligent transportation. However, in the existing technology, the alternating time of traffic lights is still allocated by manually controlling the central control system, and it is impossible to determine more reasonable alternating time of traffic lights, such as the morning and evening peak periods of traffic lights, according to different time periods corresponding to traffic lights, resulting in traffic jams on some roads and affecting the vehicle passing efficiency. Therefore, how to effectively determine the accuracy of the time period required for signal lights is a technical problem that needs to be solved urgently by those skilled in the art at present. Summary of the Invention
[0003] In view of the above technical problems, the present invention protects a control method for signal lights, and the method includes:
[0004] Obtain a target time period list of a target signal light.
[0005] Determine a target time cycle list corresponding to the target time period list according to the target time period list.
[0006] Control the allocation of the green signal ratio corresponding to the target signal light according to the target time cycle list and the phase information of the target signal light.
[0007] The present invention also protects a control device for signal lights, and the device includes:
[0008] A target time period acquisition module, which is used to obtain a target time period list of a target signal light.
[0009] A target time cycle list acquisition module, which is used to determine a target time cycle list corresponding to the target time period list according to the target time period list.
[0010] A signal light control module, which is used to control the allocation of the green signal ratio corresponding to the target signal light according to the target time cycle list and the phase information of the target signal light.
[0011] The present invention protects an electronic device, which includes 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 control method of the above-mentioned signal lamp is realized.
[0012] The present invention protects a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the control method of the above-mentioned signal lamp is realized.
[0013] Compared with the prior art, the present invention has obvious advantages and beneficial effects. By means of the above technical solutions, a control method, device, electronic device and storage medium of a signal lamp provided by the present invention can achieve quite remarkable technological progress and practicality, and has wide utilization value in the industry. It has at least the following advantages:
[0014] For a control method, device, equipment and medium of a signal lamp according to the present invention, the method includes: obtaining a target time period list of a target signal lamp; determining a target time cycle list corresponding to the target time period list according to the target time period list; and controlling the allocation of the green ratio corresponding to the target signal lamp according to the target time cycle list and the phase information of the target signal lamp. It can be seen that based on the mapping relationship between the time cycle and the traffic flow, the corresponding time cycle in each target time period can be accurately determined, which is further conducive to more accurate allocation of the green ratio of the signal lamp according to the time cycle.
[0015] In addition, the present invention also obtains the current time point of the target signal lamp; obtains a target traffic flow set corresponding to the target signal lamp within a preset time window according to the current time point of the target signal lamp; obtains a target time period list of the target signal lamp according to the target traffic flow set; determines a target time cycle list corresponding to the target time period list according to the target time period list; and controls the allocation of the green ratio corresponding to the target signal lamp according to the target time cycle list and the phase information of the target signal lamp. It can be seen that the required time period of the signal lamp can be determined by the traffic flow corresponding to different time slices and time slices at each time point in the time window, so as to improve the accuracy of determining the required time period of the signal lamp, and further facilitate more accurate allocation of the green ratio of the signal lamp.
[0016] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable, the following preferred embodiments are specifically given and described in detail in conjunction with the drawings. Description of the Drawings
[0017] Figure 1Flowchart of a method for controlling a signal lamp provided in Embodiment 1 of the present invention. Detailed implementation manners
[0018] To further elaborate on the technical means and effects adopted by the present invention to achieve the intended invention purpose, the following, in conjunction with the drawings and preferred embodiments, details the specific implementation manners and effects of a method for controlling a signal lamp proposed according to the present invention.
[0019] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or server comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0020] Embodiment 1
[0021] As Figure 1 shown, Embodiment 1 of the present invention provides a method for controlling a signal lamp, and the method includes the following steps:
[0022] S100. Obtain a list of target time periods of the target signal lamp.
[0023] Specifically, the following steps are further included in step S100:
[0024] S101. Obtain the current time point of the target signal lamp.
[0025] Specifically, the target signal lamp is a traffic signal lamp corresponding to a target intersection determined by the user.
[0026] S103. According to the current time point of the target signal lamp, obtain a target traffic flow set corresponding to the target signal lamp within a preset time window.
[0027] In a specific embodiment, the preset time window is a time period constructed with the current time point as the end point of the time period and a set time point as the start point of the time period; wherein, those skilled in the art set the initial time point according to time requirements, which will not be elaborated here; it can be seen that when the time points in the time window are continuously superimposed, the traffic flow data can be increased, so as to improve the accuracy of determining the required time period in the signal lamp, and further facilitate the more accurate allocation of the green signal ratio of the signal lamp.
[0028] In another specific embodiment, the preset time window is a time period constructed with the current time point as the starting point of the time period and a set time span as the length of the time period. Among them, the value range of the set time span is 30 to 60 days. Preferably, the value of the set time span is 30 days. It can be seen that when the time window slides continuously, it can make the proportion of newly added traffic flow data in all traffic flow data within the time window more reasonable, determine the required time period change situation in the traffic signal, and further facilitate the more accurate allocation of the green signal ratio of the traffic signal.
[0029] Specifically, the preset time window includes one or more preset time points. Among them, the value range of each preset time point is 1 - 2 days.
[0030] Preferably, the value of each preset time point is 1 day.
[0031] Specifically, the target traffic flow set includes the preset traffic flow lists corresponding to all preset time points.
[0032] Specifically, in step S103, it further includes the following steps: the preset traffic flow list corresponding to any preset time point:
[0033] S1031. Obtain the target lane ID list C = {C1, C2, ……, C t , ……, C k} of the target traffic signal. C t is the t-th target lane ID of the target traffic signal, t = 1 …… k, and k is the number of target lanes of the target traffic signal.
[0034] Furthermore, the number of exit lanes corresponding to the target lane ID is t - 1.
[0035] Furthermore, the target lane ID is the unique identity identifier corresponding to any lane entering the target intersection.
[0036] Furthermore, the value range of the preset time slice is 5 - 10 min. Preferably, the value of the preset time slice is 10 min.
[0037] S1033. According to C, obtain the first initial traffic flow set H′ = {H′1, H′2, ……, H′ γ , ……, H′ ξ} corresponding to C. H′ γ = {H′ γ1 , H′ γ2 , ……, H′ γi , ……, H′ γm}, H′ γiis the traffic flow within the i-th preset time slice in the γ-th lane driving dimension corresponding to C; γ = 1, 2, ……, ξ; i = 1, 2, ……, m, and m is the number of preset time slices within the preset time point.
[0038] Preferably, the lane driving dimension includes: the driving dimension where the vehicle can turn left, the driving dimension where the vehicle can go straight, the driving dimension where the vehicle can make a U-turn, and the driving dimension where the vehicle can turn right.
[0039] S1035. Obtain the preset traffic flow list A = {A1, A2, ……, A i , ……, A m} according to H′, where A i is the preset traffic flow within the i-th preset time slice.
[0040] Furthermore, A i meets the following conditions:
[0041] A i = ∑ ξ γ=1 H′ γi .
[0042] As described above, it can take into account the traffic flow in all lanes, improve the authenticity of reflecting the traffic flow corresponding to the signal light, and thus is conducive to more accurate allocation of the green signal ratio of the signal light.
[0043] S105. Obtain the target time period list of the target signal light according to the target traffic flow set.
[0044] Specifically, the target time period list includes several target time periods, where the target time period is characterized as the time period used for the green signal ratio allocation of the target signal light. For example, the morning rush hour period, the evening rush hour period, the off-peak period, etc.
[0045] Specifically, the following steps are also included in step S105:
[0046] S1051. When the number of preset time points within the preset time window is not greater than the set time point number threshold, obtain the first traffic flow list of the target signal light.
[0047] Specifically, the first traffic flow list is a single preset traffic flow list.
[0048] Specifically, the set time point number threshold is the same as the value of a single preset time point, which will not be elaborated here.
[0049] S1053. Obtain the target time period list according to the first traffic flow list.
[0050] Specifically, the following steps are further included in step S1053 to obtain the target time period:
[0051] S10531. According to the first traffic flow list, obtain the first time priority list B' = {B'1, B'2,..., B' x ,..., B' p} of the target signal light, where B' x is the time priority corresponding to the x-th first time interval, x = 1, 2,..., p, p is the number of first time intervals, and M0x consecutive preset time slices are included in the first time interval.
[0052] Preferably, B' x meets the following conditions:
[0053] B' x = A' x × M0x, where A' x is the maximum first traffic flow within the preset time slice in the x-th first time interval.
[0054] Preferably, ∑p x=1 M x = m and M0x ≥ M0, where M0 is the set time slice number threshold and M0 ≥ 3. Those skilled in the art know to set the preset time period threshold according to actual needs, which will not be elaborated here.
[0055] The above can reflect the traffic flow change within a certain time period of a day through the traffic flow and time slices, so as to improve the accuracy of determining the time period required for the signal light, and thus is beneficial to more accurate allocation of the green signal ratio of the signal light.
[0056] S10533. According to B', obtain the second time priority set B = {B1, B2,..., B z}, where B z is the z-th second time priority list, z is the number of second time priority lists and z ≥ 2.
[0057] S10535. According to B z , obtain the key traffic flow S z corresponding to B z , where S z meets the following conditions:
[0058] S z = ∑ p x=1 (A z x × M z x ), where A z xis the maximum first traffic flow within the preset time slice in the x-th second time interval corresponding to the z-th second time priority list, M z x is the number of preset time slices within the x-th second time interval corresponding to the z-th second time priority list.
[0059] Further, before step S10535, the following steps are also included: S10534. When z = 1, based on B′, obtain S1, which can be understood as: obtain S1 by using the obtaining method of S z The obtaining method of S1 is obtained in this way and will not be elaborated here.
[0060] S10537. When |S z -S z-1 | ≤ ΔS0, take any second time interval corresponding to B z as the target time period of the target signal light.
[0061] S10539. When |S z -S z-1 | > ΔS0, obtain the third time priority set B z corresponding to B zj ={B z+1 , B z+2 , ……, B z+j}, until |S z+j -S z+j-1 | ≤ ΔS0 so that any second time interval corresponding to B z+j is taken as the target time period of the target signal light, where B z+j is the j-th third time priority list corresponding to B z , and j is the number of the third time priority lists corresponding to B z and j ≥ 1.
[0062] The above can reflect the traffic flow change within a certain time period of a day through the traffic flow and time slices, and adjust the time period length according to the traffic flow and time slices, which further improves the accuracy of determining the time period required for the signal light, and thus is beneficial to more accurate allocation of the green signal ratio of the signal light.
[0063] S1055. When the number of preset time points within the preset time window is greater than the set time point number threshold, obtain the second traffic flow set of the target signal light.
[0064] Specifically, the second traffic flow set includes several second traffic flow lists, where each second traffic flow list is a single preset traffic flow list.
[0065] S1057. Obtain the target time period list according to the second traffic flow set.
[0066] Specifically, the following steps are further included in step S1057 to obtain the target time period:
[0067] S10571. Obtain the second traffic flow set D = {D1, D2,..., D r , ……, D g}, where D r = {D r1 , D r2 , ……, D ri , ……, D rm}, and D ri is the second traffic flow corresponding to the i-th preset time slice at the r-th preset time point, r = 1, 2, ……, g, and g is the number of preset time points.
[0068] S10573. According to D, obtain the intermediate traffic flow list U = {U1, U2,..., U i , ……, U m}, where U i is the intermediate traffic flow corresponding to the i-th preset time slice.
[0069] Specifically, U i meets the following conditions:
[0070] U i = (∑ g r=1 D ri ) / g.
[0071] S10575. According to U, obtain the target time period.
[0072] Specifically, step S10575 can refer to step S1053 and will not be elaborated here.
[0073] As described above, through the span of the time window, the traffic flow lists within different time windows are determined, and then the time period required for the signal lamp is determined based on the traffic flow and time slices, so as to improve the accuracy of determining the time period required for the signal lamp, and further facilitate the more accurate allocation of the green signal ratio of the signal lamp.
[0074] S200. According to the target time period list, determine the target time cycle list corresponding to the target time period list.
[0075] Specifically, the following steps are included in step S200:
[0076] S201. Obtain a preset time period and a target vehicle flow set corresponding to a target traffic light, wherein the preset time period is characterized by the length of the green light time of all preset phases corresponding to the target traffic light. Those skilled in the art know how to set the preset time period according to actual needs, which will not be described in detail here.
[0077] S202: Obtain a first target time period mapping table according to the preset time period and the target vehicle flow set.
[0078] Specifically, step S202 includes the following steps:
[0079] S2021. Obtain an upper time limit value corresponding to the preset time period value and a lower time limit value corresponding to the preset time period value.
[0080] S2022. According to the target vehicle flow set, obtain the maximum vehicle flow corresponding to the current time point and the minimum vehicle flow corresponding to the current time point. Those skilled in the art are aware of the prior art for obtaining the minimum and maximum values of vehicle flow, which will not be described in detail here.
[0081] S2023. Constructing the first target time period mapping table according to the upper time limit, the lower time limit, the maximum vehicle flow and the minimum vehicle flow. It can be understood that the first target time period mapping table is a mapping table that satisfies a first mapping relationship between any vehicle flow and any time point in a preset time period according to the upper time limit, the lower time limit, the maximum vehicle flow and the minimum vehicle flow, wherein the first mapping relationship is a linear mapping relationship.
[0082] S203: Acquire the target time period list according to the first target time period mapping table and the target time period list.
[0083] Specifically, step S203 also includes the following steps:
[0084] S2031, obtain the target time period list G = {G1, G2, ..., G x , ..., G p}, G x is the xth target time period.
[0085] S2032, according to G x , get G x The corresponding specified traffic flow L x , where L x Meet the following conditions:
[0086] L x =(∑ M0x y=1 Lxy / M0x), L xy is G x The traffic flow of the y-th preset time slice, y = 1... M0x.
[0087] S2033. According to L x , obtain G x corresponding target time period T x , where T x meets the following conditions:
[0088] T x =(L x -L′1)T′2 / (L′2-L′1)+(L′2-L x )T′1 / (L′2-L′1), where T′1 is
[0089] the lower limit value of the time, L′1 is the minimum traffic flow, T′2 is the upper limit value of the time, and L′2 is the maximum traffic flow.
[0090] Furthermore, the target time period is the green light time length of all phases corresponding to the target signal lamp within any target time period.
[0091] As described above, by establishing a linear mapping relationship between the time period and the traffic flow, the corresponding time period within each target time period can be determined, which is conducive to more accurate allocation of the green signal ratio of the signal lamp according to the time period.
[0092] S300. According to the target time period list and the phase information of the target signal lamp, control the allocation of the green signal ratio corresponding to the target signal lamp. Among them, those skilled in the art know any method for determining the green signal ratio of the signal lamp according to the target time period list and the phase information of the target signal lamp, which will not be elaborated here.
[0093] Embodiment 1 provides a method for controlling a signal lamp. The method includes: obtaining the current time point of the target signal lamp; according to the current time point of the target signal lamp, obtaining the target traffic flow set corresponding to the target signal lamp within a preset time window; according to the target traffic flow set, obtaining the target time period list of the target signal lamp; according to the target time period list, determining the target time period list corresponding to the target time period list; according to the target time period list and the phase information of the target signal lamp, controlling the allocation of the green signal ratio corresponding to the target signal lamp. It can be seen that the time period required for the signal lamp can be determined by the traffic flow corresponding to different time slices and time slices at each time point in the time window, so as to improve the accuracy of determining the time period required for the signal lamp, and further facilitate more accurate allocation of the green signal ratio of the signal lamp.
[0094] In addition, by obtaining the target time period list of the target signal lamp; determining the target time period list corresponding to the target time period list according to the target time period list; and controlling the allocation of the green signal ratio corresponding to the target signal lamp according to the target time period list and the phase information of the target signal lamp, it can be seen that the corresponding time period within each target time period can be accurately determined based on the mapping relationship between the time period and the traffic flow, which is beneficial to more accurately allocate the green signal ratio of the time period signal lamp.
[0095] Embodiment 2
[0096] Embodiment 2 of the present invention provides a method for controlling a signal lamp, and the method includes the following steps:
[0097] S100. Obtain the target time period list of the target signal lamp. The S100 step of Embodiment 2 is the same as the S100 step of Embodiment 1 and will not be elaborated here.
[0098] S200. Determine the target time period list corresponding to the target time period list according to the target time period list.
[0099] Specifically, the S200 step further includes the following steps:
[0100] S201. Obtain the preset time period corresponding to the target signal lamp and the target traffic flow set. The S201 step of Embodiment 2 is the same as the S201 step of Embodiment 1 and will not be elaborated here.
[0101] S202. Obtain the second target time period mapping table according to the preset time period and the target traffic flow set.
[0102] Specifically, the S202 step further includes the following steps:
[0103] S2021. Obtain the time upper limit value corresponding to the preset time period value and the time lower limit value corresponding to the preset time period value. For example, the time upper limit value is 40s and the time lower limit value is 180s.
[0104] S2022. Obtain the maximum traffic flow corresponding to the current time point and the minimum traffic flow corresponding to the current time point according to the target traffic flow set. Those skilled in the art know how to obtain the minimum and maximum values of the traffic flow in the prior art and will not be elaborated here.
[0105] S2023. Construct the second target time period mapping table according to the time upper limit value, the time lower limit value, the maximum traffic flow, and the minimum traffic flow. It can be understood that the second target time period mapping table is a mapping table that satisfies a second mapping relationship between any traffic flow and any time point in a preset time period according to the time upper limit value, the time lower limit value, the maximum traffic flow, and the minimum traffic flow, where the second mapping relationship is a non-linear mapping relationship.
[0106] S203. Obtain the target time period list according to the second target time period mapping table and the target time period list.
[0107] Specifically, the following steps are further included in step S203:
[0108] S2031. Obtain the target time period list G = {G1, G2,..., G x ,..., G p}, where G x is the x-th target time period.
[0109] S2032. According to G x , obtain the specified traffic flow L x corresponding to G x , where L x meets the following conditions:
[0110] L x = (∑ M0x y=1 L xy / M0x), where Lxy is the traffic flow of the y-th preset time slice corresponding to G x , and y = 1... M0x.
[0111] S2033. According to L x , obtain the target time period T x corresponding to G x , where T x meets the following conditions:
[0112] T x = (T′2 - T′1) × α × (L x 2 / L′2) β / (α × (L x 2 / L′2) β + (1 - L x 2 / L′2) β ), where T′1 is the time lower limit value, T′2 is the time upper limit value, L′2 is the maximum traffic flow, and L x 2 is the traffic flow corresponding to G xFor the corresponding maximum traffic flow, α is the first adjustment parameter and α ∈ (0, +∞], and β is the second adjustment parameter and β ∈ (1, +∞].
[0113] Compared with the first embodiment, in this second embodiment, by establishing a non-linear mapping relationship between the time period and the traffic flow, it is possible to determine the corresponding time period for each target time period based on the change in the traffic flow, which is beneficial to more accurately allocate the green signal ratio of the time-period signal lights.
[0114] S300. Control the allocation of the green signal ratio corresponding to the target signal light according to the target time period list and the phase information of the target signal light. The S300 step of the second embodiment is the same as the S300 step of the first embodiment and will not be elaborated here.
[0115] Embodiment Three
[0116] This third embodiment provides a method for controlling a signal light. The method includes the following steps:
[0117] S100. Obtain the target time period list of the target signal light. The S100 step of the third embodiment is the same as the S100 step of the first embodiment and will not be elaborated here.
[0118] S200. Determine the target time period list corresponding to the target time period list according to the target time period list.
[0119] Specifically, the S200 step further includes the following steps:
[0120] S201. Obtain the first target time period corresponding to the target signal light and the second target time period corresponding to the target signal light according to the target time period list.
[0121] Specifically, the first target time period includes a first sub-time period and a second sub-time period. The first sub-time period is the morning rush hour period, and the second sub-time period is the evening rush hour period. Those skilled in the art know any method for obtaining the morning and evening rush hour periods and will not be elaborated here.
[0122] Furthermore, the second target time period is any target time period other than the first target time period in the target time period list.
[0123] S202. Obtain the first target traffic flow corresponding to the first target time period and the second target traffic flow corresponding to the second target time period according to the first target time period and the second target time period.
[0124] Specifically, the first target traffic flow is the average value of the traffic flows corresponding to all preset time slices in the first target time period.
[0125] Specifically, the second target traffic flow is the average value of the traffic flows corresponding to all preset time slices in the second target time period.
[0126] S203. Determine a target time period list according to the first target traffic flow and the second target traffic flow.
[0127] Specifically, the following steps are further included in step S203
[0128] S2031. Obtain a preset time period and a target traffic flow set. Among them, step S2031 of Embodiment 3 is the same as step S201 of Embodiment 1, and will not be elaborated here.
[0129] S2032. Obtain a target traffic flow difference according to the first target traffic flow and the second target traffic flow.
[0130] S2033. When the target traffic flow difference is not less than a preset traffic flow difference threshold, obtain a first target time period mapping table according to the preset time period and the target traffic flow set. Among them, step S2033 of Embodiment 3 is the same as step S202 of Embodiment 1, and will not be elaborated here.
[0131] S2034. Obtain the target time period list according to the first target time period mapping table and the target time period list. Among them, step S2034 of Embodiment 3 is the same as step S203 of Embodiment 1, and will not be elaborated here.
[0132] S2035. When the target traffic flow difference is less than the preset traffic flow difference threshold, obtain a second target time period mapping table according to the preset time period and the target traffic flow set. Among them, step S2035 of Embodiment 3 is the same as step S202 of Embodiment 2, and will not be elaborated here.
[0133] S2036. Obtain the target time period list according to the second target time period mapping table and the target time period list. Among them, step S2036 of Embodiment 3 is the same as step S203 of Embodiment 2, and will not be elaborated here.
[0134] Compared with Embodiment 1 or Embodiment 2, it is possible to determine a method that is more in line with the obtained time period through the gap between traffic flows in different time periods, and further accurately determine the time period corresponding to each target time period, so as to ensure that the green signal ratio allocation of the time period signal lamp is more accurate.
[0135] S300. Control the allocation of the green signal ratio corresponding to the target signal light according to the target time period list and the phase information of the target signal light. The S300 step in Embodiment 3 is the same as the S300 step in Embodiment 1 and will not be elaborated here.
[0136] Embodiment 4 of the present invention provides a control device for a signal light, and the device includes:
[0137] A target time period acquisition module 100, which is configured to acquire a target time period list of a target signal light.
[0138] Specifically, the target time period acquisition module 100 further includes:
[0139] A time point acquisition module 101, which is configured to acquire the current time point of the target signal light.
[0140] Specifically, the target signal light is a traffic signal light corresponding to a target intersection determined by a user.
[0141] A target traffic flow acquisition module 103, which is configured to acquire a target traffic flow set corresponding to the target signal light within a preset time window according to the current time point of the target signal light.
[0142] In a specific embodiment, the preset time window is a time period constructed with the current time point as the end point of the time period and a set time point as the start point of the time period; wherein, those skilled in the art set the initial time point according to time requirements and will not be elaborated here; it can be seen that when the time points in the time window are continuously stacked, the traffic flow data can be increased, so as to improve the accuracy of determining the required time period in the signal light, and further facilitate the more accurate allocation of the green signal ratio of the signal light.
[0143] In another specific embodiment, the preset time window is a time period constructed with the current time point as the start point of the time period and a set time span as the length of the time period. The value range of the set time span is 30 to 60 days. Preferably, the value of the set time span is 30 days; it can be seen that when the time window slides continuously, the proportion of newly added traffic flow data in all traffic flow data within the time window can be made more reasonable, and the change situation of the required time period in the signal light can be determined, and further facilitate the more accurate allocation of the green signal ratio of the signal light.
[0144] Specifically, the preset time window includes one or more preset time points, and the value range of each preset time point is 1 - 2 days.
[0145] Preferably, the value of each preset time point is 1 day.
[0146] Specifically, the target traffic flow set includes a list of preset traffic flows corresponding to all preset time points.
[0147] Specifically, the target traffic flow acquisition module 103 further includes:
[0148] A target lane ID acquisition module 1031, which is configured to acquire a list of target lane IDs C = {C1, C2,..., C t ,..., C k}, where C t is the t-th target lane ID of the target traffic signal, t = 1... k, and k is the number of target lanes of the target traffic signal.
[0149] Furthermore, the number of exit lanes corresponding to the target lane ID is t - 1.
[0150] Furthermore, the target lane ID is the unique identity corresponding to any lane entering the target intersection.
[0151] Furthermore, the value range of the preset time slice is 5 - 10 min. Preferably, the value of the preset time slice is 10 min.
[0152] A first initial traffic flow acquisition module 1033, which is configured to acquire, according to C, a first initial traffic flow set H' = {H'1, H'2,..., H' γ ,..., H' ξ}, where H' γ = {H' γ1 , H' γ2 ,..., H' γi ,..., H' γm}, and H' γi is the traffic flow within the i-th preset time slice in the γ-th lane driving dimension corresponding to C; γ = 1, 2,..., ξ; i = 1, 2,..., m, and m is the number of preset time slices within the preset time point.
[0153] Preferably, the lane driving dimensions include: the driving dimension in which the vehicle can turn left, the driving dimension in which the vehicle can go straight, the driving dimension in which the vehicle can make a U-turn, and the driving dimension in which the vehicle can turn right.
[0154] A preset traffic flow acquisition module 1035, which is configured to acquire, according to H', the preset traffic flow list A = {A1, A2,..., A i ,..., A m}, where A i is the preset traffic flow within the i-th preset time slice.
[0155] Further, A i meets the following conditions:
[0156] A i = ∑ ξ γ=1 H′ γi .
[0157] The target time period acquisition module 105 is configured to acquire a list of target time periods of a target signal lamp according to the set of target traffic flows.
[0158] Specifically, the list of target time periods includes a plurality of target time periods, where the target time period is a time period for green signal ratio allocation of the target signal lamp. For example, the morning peak time period, the evening peak time period, the flat peak time period, etc.
[0159] Specifically, the target time period acquisition module 105 further includes:
[0160] The first traffic flow acquisition module 1051 is configured to acquire a list of first traffic flows of the target signal lamp when the number of preset time points within the preset time window is not greater than the set time point number threshold.
[0161] Specifically, the list of first traffic flows is a single list of preset traffic flows.
[0162] Specifically, the set time point number threshold is the same as the value of a single preset time point, which will not be elaborated here.
[0163] The first execution module 1053 is configured to acquire the list of target time periods according to the list of first traffic flows.
[0164] Specifically, the first execution module 1053 further includes:
[0165] The first time priority acquisition module 10531 is configured to acquire a list of first time priorities of the target signal lamp B′ = {B′1, B′2, ……, B′ x , ……, B″ p}, B″ x is the time priority corresponding to the x-th first time interval, x = 1, 2, ……, p, p is the number of first time intervals, where the first time interval includes M0x consecutive preset time slices.
[0166] Preferably, B″ x meets the following conditions:
[0167] B′ x =A′ x ×M0x, where A′ x is the maximum first traffic flow within a preset time slice in the x-th first time interval.
[0168] Preferably, ∑ p x=1 M x =m and M0x ≥ M0, where M0 is the set threshold of the number of time slices and S0 ≥ 3. Those skilled in the art know how to set the preset time period threshold according to actual needs, which will not be elaborated here.
[0169] The second time priority acquisition module 10533, which is used to obtain the second time priority set B = {B1, B2,..., B z} according to B′, where B z is the z-th second time priority list, z is the number of second time priority lists and z ≥ 2.
[0170] The key traffic flow acquisition module 10535, which is used to obtain the key traffic flow S z corresponding to B z , where S z meets the following conditions:
[0171] S z =∑ p x=1 (A z x ×M z x ), where A z x is the maximum first traffic flow within a preset time slice in the x-th second time interval corresponding to the z-th second time priority list, and M z x is the number of preset time slices within the x-th second time interval corresponding to the z-th second time priority list.
[0172]
[0173] z Before the key traffic flow acquisition module 10535, there is also included: a third execution module 10534, which is used to obtain S1 based on B′ when z = 1. It can be understood that S1 is obtained in the same way as S z using B″, which will not be elaborated here. The first determination module 10537, which is used to when |S z-S z-1 When |≤ΔS0, set B z Any second time interval corresponding to it as the target time period of the target signal light.
[0174] The second determination module 10539, the second determination module 10539 is used to when |S z -S z-1 |>ΔS0, obtain B z The corresponding third time priority set B zj ={B z+1 , B z+2 , ……, B z+j}, until |S z+j -S z+j-1 |≤ΔS0 so that any second time interval corresponding to B z+j is used as the target time period of the target signal light, where B z+j is the jth third time priority list corresponding to B z , j is the number of the third time priority lists corresponding to B z j≥1.
[0175] The second traffic flow acquisition module 1055, the second traffic flow acquisition module 1055 is used to when the number of preset time points within the preset time window is greater than the set time point number threshold, obtain the second traffic flow set of the target signal light.
[0176] Specifically, the second traffic flow set includes several second traffic flow lists, where each second traffic flow list is a single preset traffic flow list.
[0177] The second execution module 1057, the second execution module 1057 is used to obtain the target time period list according to the second traffic flow set.
[0178] Specifically, the second execution module 1057 also includes:
[0179] The first acquisition module 10571, the first acquisition module 10571 is used for the second traffic flow set D={D1, D2, ……, D r , ……, D g}, D r ={D r1 , D r2 , ……, D ri , ……, D rm}, D ri is the second traffic flow corresponding to the ith preset time slice in the rth preset time point, r = 1, 2, ……, g, g is the number of preset time points.
[0180] Intermediate traffic flow acquisition module 10573, the intermediate traffic flow acquisition module 10573 is used to obtain, according to D, the corresponding intermediate traffic flow list U = {U1, U2,..., U i ,..., U m}, where U i is the intermediate traffic flow corresponding to the i-th preset time slice.
[0181] Specifically, U i meets the following conditions:
[0182] U i =(∑ g r=1 D ri ) / g.
[0183] Second acquisition module 10575, the second acquisition module 10575 is used to obtain the target time period according to U.
[0184] Specifically, the execution process of the second acquisition module 10575 can refer to the execution process of the first execution module 1053, which will not be elaborated here.
[0185] Target time period list acquisition module 200, the target time period list acquisition module 200 is used to determine the target time period list corresponding to the target time period list according to the target time period list.
[0186] Specifically, the target time period list acquisition module 200 includes the following steps:
[0187] First data acquisition module 201, the first data acquisition module 201 is used to obtain the preset time period corresponding to the target signal lamp and the target traffic flow set, where the preset time period represents the green light time length of all phases preset for the target signal lamp, and those skilled in the art know how to set the preset time period according to actual needs, which will not be elaborated here.
[0188] Preferably, the value of the preset time period is 40 - 180s.
[0189] First mapping table acquisition module 202, the first mapping table acquisition module 202 is used to obtain the first target time period mapping table according to the preset time period and the target traffic flow set.
[0190] Specifically, the first mapping table acquisition module 202 includes:
[0191] Time limit value acquisition module 2021, the time limit value acquisition module 2021 is used to acquire the time upper limit value corresponding to the preset time period value and the time lower limit value corresponding to the preset time period value. For example, the time upper limit value is 40s and the time lower limit value is 180s.
[0192] Traffic flow limit value acquisition module 2022, the traffic flow limit value acquisition module 2022 is used to acquire the maximum traffic flow corresponding to the current time point and the minimum traffic flow corresponding to the current time point according to the target traffic flow set. Among them, those skilled in the art know the prior art for acquiring the minimum and maximum values of traffic flow, which will not be elaborated here.
[0193] First construction module 2023, the first construction module 2023 is used to construct the first target time period mapping table according to the time upper limit value, the time lower limit value, the maximum traffic flow and the minimum traffic flow. It can be understood that: the first target time period mapping table is a mapping table that satisfies the first mapping relationship between any traffic flow and any time point in the preset time period according to the time upper limit value, the time lower limit value, the maximum traffic flow and the minimum traffic flow, where the first mapping relationship is a linear mapping relationship.
[0194] First time execution module 203, the first time execution module 203 is used to acquire the target time period list according to the first target time period mapping table and the target time period list.
[0195] Specifically, the first time execution module 203 further includes:
[0196] Time period acquisition module 2031, the time period acquisition module 2031 is used to acquire the target time period list G = {G1, G2,..., G x ,..., G p}}, G x is the xth target time period.
[0197] Designated traffic flow acquisition module 2032, the designated traffic flow acquisition module 2032 is used to acquire the designated traffic flow L x corresponding to G x according to G x , where L x meets the following conditions:
[0198] L x =(∑ M0x y=1 L xy / M0x), L xy is the traffic flow of the yth preset time slice corresponding to G x , y = 1...M0x.
[0199] First cycle acquisition module 2033, where the first cycle acquisition module 2033 is configured to obtain G according to L x , and obtain the corresponding target time period T of G x , where T x , where T x meets the following conditions:
[0200] T x =(L x -L″1)T″2 / (L″2-L′1)+(L′2-L x )T″1 / (L′2-L′1), where T′1 is
[0201] the lower limit value of the time, L″1 is the minimum traffic flow, T′2 is the upper limit value of the time, and L″2 is the maximum traffic flow.
[0202] Furthermore, the target time period is the green light time length of all phases corresponding to the target signal lamp within any target time period.
[0203] Signal lamp control module 300, where the signal lamp control module 300 is configured to control the allocation of the green signal ratio corresponding to the target signal lamp according to the target time period list and the phase information of the target signal lamp. Those skilled in the art know any method for determining the green signal ratio of the signal lamp according to the target time period list and the phase information of the target signal lamp, which will not be elaborated here.
[0204] Embodiment Five
[0205] This Embodiment Five provides a control device for a signal lamp. The device includes:
[0206] Target time period acquisition module 100, where the target time period acquisition module 100 is configured to obtain the target time period list of the target signal lamp. The structure of the target time period acquisition module 100 in Embodiment Five is the same as that of the target time period acquisition module 100 in Embodiment Four, which will not be elaborated here.
[0207] Target time period list acquisition module 200, where the target time period list acquisition module 200 is configured to determine the target time period list corresponding to the target time period list according to the target time period list.
[0208] Specifically, the target time period list acquisition module 200 further includes:
[0209] The first data acquisition module 201. The second data acquisition module 201 is used to acquire the preset time period corresponding to the target traffic signal and the target traffic flow set. Among them, the structure of the first data acquisition module 201 in Embodiment 5 is the same as that of the first data acquisition module 201 in Embodiment 4, and will not be elaborated here.
[0210] The second mapping table acquisition module 202. The second mapping table acquisition module 202 is used to acquire the second target time period mapping table according to the preset time period and the target traffic flow set.
[0211] Specifically, the second mapping table acquisition module 202 further includes:
[0212] The time limit acquisition module 2021. The time limit acquisition module 2021 is used to acquire the time upper limit value corresponding to the preset time period value and the time lower limit value corresponding to the preset time period value. For example, the time upper limit value is 40s and the time lower limit value is 180s.
[0213] The traffic flow limit acquisition module 2022. The traffic flow limit acquisition module 2022 is used to acquire the maximum traffic flow corresponding to the current time point and the minimum traffic flow corresponding to the current time point according to the target traffic flow set. Among them, those skilled in the art know the prior art for acquiring the minimum and maximum traffic flows, and will not be elaborated here.
[0214] The second construction module 2023. The second construction module 2023 is used to construct the second target time period mapping table according to the time upper limit value, the time lower limit value, the maximum traffic flow and the minimum traffic flow. It can be understood that: the second target time period mapping table is a mapping table that satisfies the second mapping relationship between any traffic flow and any time point in the preset time period according to the time upper limit value, the time lower limit value, the maximum traffic flow and the minimum traffic flow, where the second mapping relationship is a non - linear mapping relationship.
[0215] The second time execution module 203. The second time execution module 203 is used to acquire the target time period list according to the second target time period mapping table and the target time period list.
[0216] Specifically, the second time execution module 203 further includes:
[0217] The time period acquisition module 2031. The time period acquisition module 2031 is used to acquire the target time period list G = {G1, G2, ……, G x , ……, G p}, G x is the x - th target time period.
[0218] The designated traffic flow acquisition module 2032 is configured to obtain, according to G x , the G x corresponding designated traffic flow L x , where L x meets the following conditions:
[0219] L x =(∑ M0x y=1 L xy / M0x), and L xy is the traffic flow of the y-th preset time slice corresponding to G x , where y = 1...M0x.
[0220] The second period acquisition module 2033 is configured to obtain, according to L x , the G x corresponding target time period T x , where T x meets the following conditions:
[0221] T x =(T″2 - T″1)×α×(L x 2 / L″2) β / (α×(L x 2 / L′2) β +(1 - L x 2 / L′2) β )+T′1, where T
[0222] ′1 is the lower time limit value, T′2 is the upper time limit value, L′2 is the maximum traffic flow, and L x 2 is the maximum traffic flow corresponding to G x , α is the first adjustment parameter and α ∈ (0, +∞], and β is the second adjustment parameter and β ∈ (1, +∞].
[0223] The signal lamp control module 300 is configured to control the allocation of the green signal ratio corresponding to the target signal lamp according to the target time period list and the phase information of the target signal lamp. Among them, the structure of the signal lamp control module 300 in Embodiment 5 is the same as that of the signal lamp control module 300 in Embodiment 4, and will not be elaborated here.
[0224] Embodiment 6
[0225] This Embodiment 6 provides a control device for a signal lamp, and the device includes:
[0226] Target time period acquisition module 100, the target time period acquisition module 100 is used to acquire the target time period list of the target signal lamp. Among them, the structure of the target time period acquisition module 100 in Embodiment VI is the same as that of the target time period acquisition module 100 in Embodiment IV, and will not be elaborated here.
[0227] Target time cycle list acquisition module 200, the target time cycle list acquisition module 200 is used to determine the target time cycle list corresponding to the target time period list according to the target time period list.
[0228] Specifically, the target time cycle list acquisition module 200 further includes:
[0229] Third data acquisition module 201, the third data acquisition module 201 is used to acquire the first target time period corresponding to the target signal lamp and the second target time period corresponding to the target signal lamp according to the target time period list.
[0230] Specifically, the first target time period includes a first sub-time period and a second sub-time period. Among them, the first sub-time period is the morning peak time period, and the second sub-time period is the evening peak time period. Those skilled in the art know any method for acquiring the morning and evening peak time periods, and will not be elaborated here.
[0231] Further, the second target time period is any target time period other than the first target time period in the target time period list.
[0232] Fourth data acquisition module 202, the fourth data acquisition module 202 is used to acquire the first target traffic volume corresponding to the first target time period and the second target traffic volume corresponding to the second target time period according to the first target time period and the second target time period.
[0233] Specifically, the first target traffic volume is the average value of the traffic volumes corresponding to all preset time slices in the first target time period.
[0234] Specifically, the second target traffic volume is the average value of the traffic volumes corresponding to all preset time slices in the second target time period.
[0235] Fifth data acquisition module 203, the fifth data acquisition module 203 is used to determine the target time cycle list according to the first target traffic volume and the second target traffic volume.
[0236] Specifically, the fifth data acquisition module 203 further includes:
[0237] Sixth data acquisition module 2031, the sixth data acquisition module 2031 is used to acquire a preset time period and a target traffic volume set. Among them, the sixth data acquisition module 2031 in Embodiment Six is consistent with the S201 step in Embodiment Four, and will not be elaborated here.
[0238] Target traffic volume difference acquisition module 2032, the target traffic volume difference acquisition module 2032 is used to acquire a target traffic volume difference according to the first target traffic volume and the second target traffic volume.
[0239] Third mapping table acquisition module 2033, the third mapping table acquisition module 2033 is used to, when the target traffic volume difference is not less than a preset traffic volume difference threshold, acquire a first target time period mapping table according to the preset time period and the target traffic volume set. Among them, the structure of the third mapping table acquisition module 2033 in Embodiment Six is consistent with the structure of the second mapping table acquisition module 202 in Embodiment Four, and will not be elaborated here.
[0240] Third time execution module 2034, the third time execution module 2034 is used to acquire the target time period list according to the first target time period mapping table and the target time period list. Among them, the structure of the third time execution module 2034 in Embodiment Six is consistent with the structure of the third time execution module 203 in Embodiment Four, and will not be elaborated here.
[0241] Fourth mapping table acquisition module 2035, the fourth mapping table acquisition module 2035 is used to, when the target traffic volume difference is less than a preset traffic volume difference threshold, acquire a second target time period mapping table according to the preset time period and the target traffic volume set. Among them, the structure of the fourth mapping table acquisition module 2035 in Embodiment Six is consistent with the structure of the second mapping table acquisition module 202 in Embodiment Five, and will not be elaborated here.
[0242] Fourth time execution module 2036, the fourth time execution module 2036 is used to acquire the target time period list according to the second target time period mapping table and the target time period list. Among them, the structure of the fourth time execution module 2036 in Embodiment Six is consistent with the structure of the second time execution module 203 in Embodiment Five, and will not be elaborated here.
[0243] Signal light control module 300, the signal light control module 300 is used to control the allocation of the green signal ratio corresponding to the target signal light according to the target time period list and the phase information of the target signal light. Among them, the structure of the signal light control module 300 in Embodiment Six is consistent with the structure of the signal light control module 300 in Embodiment Four, and will not be elaborated here.
[0244] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
[0245] Obtain a list of target time periods of a target traffic signal;
[0246] Determine a list of target time cycles corresponding to the list of target time periods according to the list of target time periods;
[0247] Control the allocation of the green time ratio corresponding to the target traffic signal according to the list of target time cycles and the phase information of the target traffic signal.
[0248] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0249] Obtain a list of target time periods of a target traffic signal;
[0250] Determine a list of target time cycles corresponding to the list of target time periods according to the list of target time periods;
[0251] Control the allocation of the green time ratio corresponding to the target traffic signal according to the list of target time cycles and the phase information of the target traffic signal.
[0252] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0253] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the determination of the above-mentioned functional units and modules is taken as an example. In actual applications, the above functions can be allocated to different functional units and modules as needed, that is, the internal structure of the device can be determined as different functional units or modules to complete all or part of the functions described above.
[0254] The above is only a preferred embodiment of the present invention, and it does not impose any form of limitation on the present invention. Although the present invention has been disclosed above with the preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art can make some changes or modifications within the scope of the technical solution of the present invention to obtain equivalent embodiments with equivalent changes. However, as long as it does not depart from the content of the technical solution of the present invention, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention still belong to the scope of the technical solution of the present invention.
Claims
1. A control method for a signal lamp, characterized in that, The method includes the following steps: Obtain a list of target time periods of the target signal light; the target time periods are the morning peak time period, the evening peak time period, and the off-peak time period; According to the list of target time periods, determine a list of target time cycles corresponding to the list of target time periods; the method includes the following steps: According to the list of target time periods, obtain a first target time period corresponding to the target signal light and a second target time period corresponding to the target signal light; the first target time period includes the morning peak time period and the evening peak time period; the second target time period is the off-peak time period; According to the first target time period and the second target time period, obtain a first target traffic flow corresponding to the first target time period and a second target traffic flow corresponding to the second target time period; the first target traffic flow is the average value of the traffic flows corresponding to all preset time slices in the first target time period; The second target traffic flow is the average value of the traffic flows corresponding to all preset time slices in the second target time period; Obtain a preset time cycle corresponding to the target signal light and a set of target traffic flows; According to the first target traffic flow and the second target traffic flow, obtain a target traffic flow difference; When the target traffic flow difference is not less than a preset traffic flow difference threshold, according to the preset time cycle and the set of target traffic flows, obtain a first target time cycle mapping table; the first target time cycle mapping table is a mapping table that enables a linear mapping relationship to be satisfied between any traffic flow and any time point in the preset time cycle; According to the first target time cycle mapping table and the list of target time periods, obtain the list of target time cycles; When the target traffic flow difference is less than the preset traffic flow difference threshold, according to the preset time cycle and the set of target traffic flows, obtain a second target time cycle mapping table; The second target time cycle mapping table is a mapping table that enables a non-linear mapping relationship to be satisfied between any traffic flow and any time point in the preset time cycle; According to the second target time cycle mapping table and the list of target time periods, obtain the list of target time cycles; According to the list of target time cycles and the phase information of the target signal light, control the allocation of the green signal ratio corresponding to the target signal light.
2. A control device for a signal lamp, characterized in that, The device includes: A target time period acquisition module, which is used to acquire a list of target time periods of the target signal light; the target time periods are the morning peak time period, the evening peak time period, and the off-peak time period; A target time cycle list acquisition module, which is used to determine a list of target time cycles corresponding to the list of target time periods according to the list of target time periods; A signal light control module, which is used to control the allocation of the green signal ratio corresponding to the target signal light according to the list of target time cycles and the phase information of the target signal light; The target time cycle list acquisition module further includes: The third data acquisition module, which is used to obtain the first target time period corresponding to the target traffic signal and the second target time period corresponding to the target traffic signal according to the target time period list; the first target time period includes the morning peak time period and the evening peak time period; the second target time period is the flat peak time period; The fourth data acquisition module, which is used to obtain the first target traffic volume corresponding to the first target time period and the second target traffic volume corresponding to the second target time period according to the first target time period and the second target time period; the first target traffic volume is the average value of the traffic volumes corresponding to all preset time slices in the first target time period; the second target traffic volume is the average value of the traffic volumes corresponding to all preset time slices in the second target time period; The sixth data acquisition module, which is used to obtain the preset time period corresponding to the target traffic signal and the target traffic volume set; The target traffic volume difference acquisition module, which is used to obtain the target traffic volume difference according to the first target traffic volume and the second target traffic volume; The third mapping table acquisition module, which is used to obtain the first target time period mapping table according to the preset time period and the target traffic volume set when the target traffic volume difference is not less than the preset traffic volume difference threshold; the first target time period mapping table is a mapping table that satisfies a linear mapping relationship between any traffic volume and any time point in the preset time period; The third time execution module, which is used to obtain the target time period list according to the first target time period mapping table and the target time period list; The fourth mapping table acquisition module, which is used to obtain the second target time period mapping table according to the preset time period and the target traffic volume set when the target traffic volume difference is less than the preset traffic volume difference threshold; the second target time period mapping table is a mapping table that satisfies a non-linear mapping relationship between any traffic volume and any time point in the preset time period; The fourth time execution module, which is used to obtain the target time period list according to the second target time period mapping table and the target time period list.
3. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the traffic signal control method as described in claim 1.
4. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the traffic signal control method as described in claim 1.
Citation Information
Patent Citations
Traffic signal control method and device, storage medium and electronic device
CN114822037A
Single-point timing signal control period division method based on electronic police data
CN115083173A