A signal light control method, device, equipment and medium

By obtaining and sending the control information list and abnormal status label corresponding to the traffic light ID, the problem of inaccurate traffic light control is solved, reasonable and accurate traffic light control under abnormal conditions is achieved, and vehicle traffic efficiency is improved.

CN116386351BActive Publication Date: 2025-09-26ZHEJIANG MEIRI HUDONG NETWORK TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310180928.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2025-09-26
Estimated Expiration
2043-02-22

AI Technical Summary

Technical Problem

Existing technologies are unable to accurately determine the control scheme for traffic lights, resulting in low vehicle traffic efficiency.

Method used

By obtaining the control information list corresponding to the key signal light ID and the lane abnormal status label input by the user, abnormal signal light control information is generated and sent to the signal controller to adjust the signal light status.

Benefits of technology

This achieves reasonable and accurate control of traffic lights when lanes are in abnormal states, avoiding a decrease in vehicle traffic efficiency due to the inability to adjust traffic light control information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116386351B_ABST
    Figure CN116386351B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of signal light technology, and in particular to a signal light control method, device, equipment and medium, wherein the method comprises: obtaining a key signal light control information list corresponding to a key signal light ID within a single time period; obtaining a current annotation tag input by a user; obtaining abnormal signal light control information corresponding to the current annotation tag based on the current annotation tag; sending the abnormal signal light control information and the key signal light control information list to a signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light based on the abnormal signal light control information and the key signal light control information list; it can be seen that when a lane is in an abnormal state, reasonable and accurate control of the signal light is achieved by replacing the signal light control information corresponding to the current time period, thereby avoiding affecting the vehicle traffic efficiency due to the inability to adjust the signal light control information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal lamps, and in particular to a method, device, equipment and medium for controlling a signal lamp. Background Art

[0002] With the advancement of modernization, the number of vehicles of all types continues to increase, leading to severe traffic congestion in some cities. One of the best solutions to this problem is to rationalize the alternating time between red and green lights in traffic lights. Improving traffic lights is a low-investment, fast-acting, and environmentally friendly solution. With the country's emphasis on smart transportation, many cities have already implemented smart transportation. However, existing technologies are unable to accurately determine traffic signal control schemes, which has affected vehicle traffic efficiency. Therefore, how to accurately determine traffic signal control schemes is a technical problem that technicians in this field urgently need to solve. Summary of the Invention

[0003] In response to the above technical problems, the present invention provides a method for controlling a signal light, the method comprising:

[0004] Gets a list of key signal light control information corresponding to key signal light IDs within a single time period.

[0005] The current annotation label input by the user is obtained, where the current annotation label is any lane abnormal state label.

[0006] According to the current marked label, abnormal signal light control information corresponding to the current marked label is obtained.

[0007] The abnormal signal light control information and the key signal light control information list are sent to the signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light according to the abnormal signal light control information and the key signal light control information list.

[0008] The present invention also provides a control device for a signal light, comprising:

[0009] A key signal light control information list acquisition module is used to acquire a key signal light control information list corresponding to a key signal light ID within a single time period.

[0010] The label input module is used to obtain the current label input by the user; the current label is any lane abnormal state label.

[0011] The abnormal signal light control information acquisition module is used to obtain the abnormal signal light control information corresponding to the current marking label according to the current marking label.

[0012] A control information sending module is used to send the abnormal signal light control information and the key signal light control information list to the signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light according to the abnormal signal light control information and the key signal light control information list.

[0013] The present invention protects an electronic device, including 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 above-mentioned signal light control method is implemented.

[0014] The present invention protects a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned signal light control method is implemented.

[0015] The present invention has significant advantages and beneficial effects compared to the prior art. By utilizing the above technical solutions, the signal light control method, device, electronic device, and storage medium provided by the present invention can achieve considerable technological advancement and practicality, and have wide industrial application value. It has at least the following advantages:

[0016] The present invention provides a method, device, equipment and medium for controlling a signal light, wherein the method includes: obtaining a list of key signal light control information corresponding to a key signal light ID within a single time period; obtaining a current annotation label input by a user, wherein the current annotation label is an abnormal state label of any lane; obtaining abnormal signal light control information corresponding to the current annotation label based on the current annotation label; sending the abnormal signal light control information and the key signal light control information list to a signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light based on the abnormal signal light control information and the key signal light control information list; it can be seen that when the lane is in an abnormal state, the signal light control information corresponding to the current time period is replaced to achieve reasonable and accurate control of the signal light, thereby avoiding the inability to adjust the signal light control information when the lane is in an abnormal state, which affects the vehicle traffic efficiency.

[0017] In addition, the method includes: obtaining an initial signal light control information set, the initial signal light control information set includes: an initial signal light ID list, an initial signal light control information list corresponding to any initial signal light ID in the initial signal light ID list, wherein the initial signal light control information list includes: initial signal light control information of several initial time periods and an initial label vector corresponding to each initial signal light control information; obtaining a target label vector corresponding to the initial signal light ID in a target time period; obtaining target signal light control information based on the target label vector and all initial label vectors; sending the target signal light control information to the signal controller corresponding to the initial signal light ID, so that the signal controller controls the initial signal light according to the target signal light control information; it can be seen that the control signal light information suitable for the target time period is selected through the similarity between the target label list of the target time period and the initial label set, so as to achieve accurate and reasonable control of the signal light.

[0018] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, which can be implemented in accordance with the contents of the specification, and to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following specifically cites preferred embodiments and describes them in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a flow chart of a signal light control method provided in Embodiment 1 of the present invention. DETAILED DESCRIPTION

[0020] In order to further illustrate the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, the following is a detailed description of the specific implementation and effects of a signal light control method proposed in accordance with the present invention in conjunction with the accompanying drawings and preferred embodiments.

[0021] 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 are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way are interchangeable where appropriate 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 "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0022] Example 1

[0023] like Figure 1 As shown, this embodiment provides a method for controlling a signal light, the method comprising the following steps:

[0024] S100: Obtain an initial signal light control information set.

[0025] Specifically, the initial signal light control information set includes: an initial signal light ID list, and an initial signal light control information list corresponding to any initial signal light ID in the initial signal light ID list, wherein the initial signal light control information list includes: initial signal light control information of several initial time periods and an initial label vector corresponding to each initial signal light control information.

[0026] Specifically, the initial signal light ID is a unique identification of the initial signal light, wherein the initial signal light is a traffic light.

[0027] Specifically, the initial signal light control information includes: a number of initial signal light control data within the initial time period, for example, the initial signal light control data is the green-to-signal ratio of the initial signal light, the cycle of the initial signal light, etc. Those skilled in the art know how to set the signal light control data according to actual needs, and will not go into details here.

[0028] Furthermore, the initial time period is any time period within a single time period, and the value of a single time period is 1 day.

[0029] In a specific embodiment, the method further comprises the following steps of obtaining the initial label vector:

[0030] S101 , obtaining a first label vector corresponding to initial traffic light control information according to a preset traffic flow area set and a traffic flow list in an initial time period.

[0031] S103: Obtain a second label vector corresponding to the initial traffic light control information according to preset weather information.

[0032] S105 , obtaining a preset annotated label vector and using the preset annotated label vector as a third label vector corresponding to the initial signal light control information.

[0033] S107, constructing the initial label vector based on the first label vector, the second label vector, and the third label vector; this may be understood as taking the sum of the first label vector, the second label vector, and the third label vector as the initial label vector.

[0034] Specifically, step S101 also includes the following steps:

[0035] S1011, obtaining a preset traffic flow area set A = {A1, A2, ..., Ai ,……,A δ}, A i ={[A i1 , A i2 ),……,[A iα , A iα+1 )……, [A im-1 , A im )},[A iα , A iα+1 ) is the αth preset traffic flow area of ​​the ith lane corresponding to the initial signal light, where A iα is the lower limit of the αth traffic flow area, A iα+1 is the upper limit of the αth traffic flow area, i = 1, 2, ..., δ, δ is the number of lanes corresponding to the initial signal light, α = 1, 2, ..., m-1, m-1 is the number of preset traffic flow areas; it can be understood as: A i1 is the minimum traffic flow value of the i-th lane corresponding to the initial signal light and A i1 =0, A im is the maximum traffic flow value of the i-th lane corresponding to the initial traffic light.

[0036] S1013, obtaining a traffic flow list A within the initial time period 0 ={A 0 , A 0 2, ..., A 0 i ,……,A 0 δ}, A 0 i is the initial traffic flow of the i-th lane corresponding to the initial traffic light.

[0037] S1015, when A 0 i ∈[A iα , A iα+1 ), get A 0 i The corresponding initial saturation area [A' iα , A' iα+1 ) and A 0 i The priority of the corresponding initial saturation region is inserted into the first label vector as the first label, where A' iα is the lower limit of the saturation of the traffic flow in the αth initial saturation area, A' iα+1 is the upper limit of the saturation of the traffic flow in the αth initial saturation area.

[0038] Furthermore, A' iα =A iα / A im .

[0039] Furthermore, A' iα+1 =A iα+1 / A im .

[0040] Furthermore, the priority of the initial saturation region is the level corresponding to the initial saturation region.

[0041] Specifically, step S103 also includes the following steps:

[0042] S1031, obtaining preset weather information, wherein the preset weather information includes several preset weather conditions, and the preset weather conditions include one or more combinations of sunny, cloudy, light rain, moderate rain, heavy rain, light snow, moderate snow, heavy snow, and wind level.

[0043] S1033: Insert the preset weather status as a second label into the second label vector.

[0044] Specifically, in step S105, the preset label vector includes several preset label labels, each of which is a manually labeled lane abnormality label. The lane abnormality label is a label when a lane has a lane abnormality. The lane abnormality includes accidents, wrong-way driving, road repairs, temporary road occupation, etc., wherein each lane abnormality has several levels.

[0045] As described above, based on weather, traffic flow and manually marked labels, a label list for each control signal light information (i.e., signal light control plan) is determined, which is beneficial for signal light managers to select appropriate signal light control plans according to needs and reasonably control the signal lights in each time period.

[0046] S200: Obtain a target label vector corresponding to the initial traffic light ID within a target time period.

[0047] Specifically, the target time period is a future time period generated with the first current time point as the starting point and a first preset duration. Those skilled in the art know how to determine the preset duration according to actual needs, which will not be elaborated here.

[0048] Furthermore, the first current time point is any time node within a single time period, that is, it can be understood as: what time in a certain day is taken as the first current time point.

[0049] Furthermore, the first preset duration is the duration within a single time period, which can be understood as: the value of the first preset duration is 0 to 24 hours; preferably, the value of the first preset duration is 2 hours.

[0050] In a specific embodiment, step S200 further includes the following steps:

[0051] S201 : Obtain a first intermediate label vector corresponding to an initial traffic light ID according to a target traffic flow list and a preset traffic flow area set within a target time period.

[0052] S203: Obtain a second intermediate label vector corresponding to the initial traffic light ID according to target weather information within the target time period.

[0053] S205 , obtaining a target annotated label vector and using the target annotated label vector as a third intermediate label vector corresponding to the initial traffic light ID.

[0054] S207: Construct the target label vector based on the first intermediate label vector, the second intermediate label vector, and the third intermediate label vector. This may be understood as taking the sum of the first intermediate label vector, the second intermediate label vector, and the third intermediate label vector as the target label vector.

[0055] Specifically, step S201 also includes the following steps:

[0056] S2011, obtain the target traffic flow list B in the target time period = {B1, B2, ..., B j ,……,B n}, B j ={B j1 , B j2 ,……,B ji ,……,B jδ}, B ji is the target traffic flow of the i-th lane corresponding to the j-th sub-time period within the target time period, j=1, 2, ..., n, where n is the number of sub-time periods within the target time period.

[0057] S2013, when B ji ∈[A iα , A iα+1 ), get B ji The corresponding initial saturation area [A' iα , A' iα+1 ) and B ji The corresponding initial saturation area [A' iα , A' iα+1 ) is inserted into the first intermediate label vector as the first intermediate label.

[0058] Furthermore, in step S2011, B is obtained by the following steps: ji :

[0059] S1, obtain B in the historical time period j Corresponding sub-vehicle flow list Cj ={C j1 , C j2 ,……,C ji ,……,C jδ}, C ji ={C 1 ji , C 2 ji ,……,C r ji ,……,C s ji}, C r ji is the historical traffic flow of the i-th lane corresponding to the j-th sub-time period at the r-th historical time point, r = 1, 2, ..., s, where s is the number of historical time points.

[0060] S2, according to C ji , get B ji , where B ji Meet the following conditions:

[0061] B ji =(∑ s r=1 C r ji ) / s.

[0062] Furthermore, the historical time period is a past time period that takes the second current time point as a starting point and is generated with a second preset duration.

[0063] Furthermore, the second current time point is a single time period corresponding to the first current time point as the second current time point.

[0064] Furthermore, the second preset duration is a single time period as the duration, that is, the value of the second preset duration is equal to a single time period.

[0065] Specifically, step S203 also includes the following steps:

[0066] S2031, obtaining intermediate weather information within a target time period, wherein the intermediate weather information includes intermediate weather states corresponding to all sub-time periods, and the intermediate weather state is any preset weather state in the preset weather information.

[0067] S2033: Insert a second intermediate label into the second intermediate label vector according to the intermediate weather conditions corresponding to all sub-time periods.

[0068] Preferably, in step S205 , the number of target annotation labels in the target annotation label vector is 1, and the target annotation label is any preset annotation label in the preset annotation label vector.

[0069] As described above, the labels corresponding to the traffic volume and the weather information within the target time period are determined through historical traffic volume and future weather information. Based on the labels input by the traffic light operator, the traffic light control information (i.e., the traffic light control plan) suitable for the target time period is screened out from all the initial traffic light control information, which is conducive to accurately and reasonably controlling the traffic lights within the target time period and minimizing the impact on vehicle traffic efficiency.

[0070] S300: Acquire target traffic light control information according to the target label vector and all initial label vectors.

[0071] Specifically, step S300 also includes the following steps:

[0072] S301, obtain the target label vector D=(D1, D2, ..., D x ,……,D p ), D x is the xth target label, x = 1, 2, ..., p, and p is the number of target labels.

[0073] S303, obtain all initial label vectors D 0 ={D 0 1, D 0 2, ..., D 0 g ,……,D 0 z}, D 0 g =(D 0 g1 , D 0 g2 ,……,D 0 gy ,……,D 0 gq(g) ), D 0 gy is the yth initial label in the gth initial label vector, g = 1, 2, ..., z, z is the number of initial label vectors, y = 1, 2, ..., q(g), q(g) is the number of initial labels in the gth initial label vector.

[0074] S305, according to D and D 0 , get the first similarity list F corresponding to D = {F1, F2, ..., F g ,……,F z}, F g For D and D 0 gThe first similarity between them; those skilled in the art know that any similarity algorithm between vectors in the prior art falls within the scope of protection of the present invention and will not be described in detail here; for example, F g Meet the following conditions: F g =η(g) / q(g), where η(g) is the difference between the target label in D and D 0 g The number of matches for any of the initial labels.

[0075] S307, traverse F and when F g When F is the largest first similarity, g The corresponding initial control signal light information is used as the target control signal light information.

[0076] As described above, by measuring the similarity between the target tag list of the target time period and the initial tag set, the control signal light information suitable for the target time period is selected, thereby achieving accurate and reasonable control of the target signal light.

[0077] S400, sending the target signal light control information to the signal controller corresponding to the initial signal light ID, so that the signal controller controls the initial signal light according to the target signal light control information; those skilled in the art know that any signal controller falls within the protection scope of the present invention and will not be described in detail here.

[0078] Specifically, step S400 also includes the following steps:

[0079] S401, obtaining the target signal light control data vector G corresponding to the target signal light control information = (G1, G2, ..., G t ,……,G h ), G t is the t-th target signal light control data in the target signal light control information, t=1, 2, ..., h, and h is the number of target signal light control data.

[0080] S403, obtaining the current signal light control data vector G corresponding to the current signal light control information in the initial signal controller 0 =(G 0 1, G 0 2, ..., G 0 t ,……,G 0 h ), G 0 t It is the tth current signal light control data in the current signal light control information.

[0081] S405, according to G and G 0 , get the second similarity F corresponding to G 0 .

[0082] Furthermore, F 0 Meet the following conditions:

[0083]

[0084] S407, when F 0 ≥F', the signal controller controls the initial signal light according to the current signal light control information, wherein F' is a preset similarity threshold.

[0085] S409, when F 0 <F', the signal controller controls the initial signal light according to the target signal light control information.

[0086] As described above, by comparing the target traffic light control information corresponding to the target time period with the current traffic light control information in the traffic light, the traffic light control information suitable for controlling the current time period is selected, thereby achieving accurate and reasonable control of the traffic light.

[0087] The first embodiment of the present invention provides a method for controlling a traffic light, the method comprising: obtaining an initial traffic light control information set, the initial traffic light control information set comprising: an initial traffic light ID list, an initial traffic light control information list corresponding to any initial traffic light ID in the initial traffic light ID list, wherein the initial traffic light control information list comprises: initial traffic light control information for several initial time periods and an initial label vector corresponding to each initial traffic light control information; obtaining a target label vector corresponding to the initial traffic light ID within a target time period; obtaining target traffic light control information based on the target label vector and all initial label vectors; sending the target traffic light control information to a signal controller corresponding to the initial traffic light ID, so that the signal controller controls the initial traffic light according to the target traffic light control information; it can be seen that, through the similarity between the target label list of the target time period and the initial label set, the control traffic light information suitable for the target time period is selected to achieve accurate and reasonable control of the traffic light.

[0088] Example 2

[0089] This second embodiment provides a method for controlling a signal light, the method comprising the following steps:

[0090] S10, obtaining a key signal light control information list corresponding to the key signal light ID within a single time period.

[0091] Specifically, the key signal light control information list includes key signal light control information corresponding to several key time periods.

[0092] Furthermore, the key signal light control information is stored in a key signal controller, wherein the key signal light control information can be pre-set signal light control information, or signal light control information generated based on the method for obtaining target signal light control information in Example 1; those skilled in the art are aware of the method for obtaining target signal light control information and will not elaborate on it here.

[0093] Specifically, the key signal light ID is any initial signal light ID in the initial signal light ID list.

[0094] S20, obtaining a current annotation label input by a user; the current annotation label is any lane abnormal state label.

[0095] S30: Acquire abnormal signal light control information corresponding to the current marked label according to the current marked label.

[0096] Specifically, step S30 also includes the following steps:

[0097] S310 , obtaining an initial signal light control information list corresponding to a key signal light ID, wherein the initial signal light control information list includes: initial signal light control information of several initial time periods and an initial label vector corresponding to each initial signal light control information.

[0098] S330: When the current marked label is consistent with any initial label in the initial label vector, the initial traffic light control information corresponding to the initial label vector is used as abnormal traffic light control information.

[0099] S40, sending the abnormal signal light control information and the key signal light control information list to the signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light according to the abnormal signal light control information and the key signal light control information list.

[0100] Specifically, step S40 also includes the following steps:

[0101] S410: Obtain an abnormal state time period corresponding to the abnormal signal light control information.

[0102] Specifically, the abnormal state time period is a time period during which the lane abnormal state corresponding to the current marked label occurs.

[0103] S430, when the critical time period corresponding to the critical signal light control information includes the abnormal state time period, sending a first control instruction to the signal controller so that the critical signal light control information is replaced by the abnormal signal light control information according to the first control instruction.

[0104] S450: When the critical time period corresponding to the critical signal light control information does not include the abnormal state time period, send a second control instruction to the signal controller, so that the critical signal light control information is retained in the signal controller according to the second control instruction.

[0105] In another specific embodiment, step S40 further includes the following steps:

[0106] S410, obtaining the abnormal state time period corresponding to the abnormal signal light control information and the abnormal time slice list H={H1, H2, ..., H β ,……,H ε}, H β is the signal light control information of the βth abnormal time slice within the abnormal time period, β=1, 2, ..., ε, ε is the number of abnormal time slices within the abnormal time period.

[0107] Furthermore, the abnormal time slice has a value range of 5-10 minutes; preferably, the abnormal time slice has a value of 10 minutes.

[0108] S430: When the critical time period corresponding to the critical signal light control information includes the abnormal state time period, obtain the critical time slice list H corresponding to the critical time period. 0 ={H 0 1, H 0 2, ..., H 0 γ ,……,H 0 μ}, H 0 γ is the signal light control information of the γth key time slice in the key time period, γ=1, 2, ..., μ, where μ is the number of key time slices in the key time period.

[0109] Furthermore, the value of the critical time slice is consistent with the value of the abnormal time slice.

[0110] S450, when H β The corresponding abnormal time slice and H 0 γ When the corresponding key time slices are consistent, a third control instruction is sent to the signal controller so that H 0 γ Replace with H β .

[0111] S470, when H β The corresponding abnormal time slice and H 0 γWhen the corresponding key time slices are inconsistent, a fourth control instruction is sent to the signal controller so that H 0 γ Retained in the signal controller.

[0112] S490: When the critical time period corresponding to the critical signal light control information does not include the abnormal state time period, send a second control instruction to the signal controller, so that the critical signal light control information is retained in the signal controller according to the second control instruction.

[0113] As described above, when the lane is in an abnormal state, the signal light control information corresponding to the time slice in the current time period is replaced to achieve reasonable and accurate control of the signal light, thereby avoiding the inability to adjust the signal light control information when the lane is in an abnormal state, which affects the vehicle traffic efficiency.

[0114] The second embodiment of the present invention provides a method for controlling a traffic light, the method comprising: obtaining a list of key traffic light control information corresponding to a key traffic light ID within a single time period; obtaining a current annotation tag input by a user, wherein the current annotation tag is a tag of any lane abnormal state; obtaining abnormal traffic light control information corresponding to the current annotation tag based on the current annotation tag; sending the abnormal traffic light control information and the list of key traffic light control information to a signal controller corresponding to the key traffic light ID, so that the signal controller controls the key traffic light based on the abnormal traffic light control information and the list of key traffic light control information; it can be seen that when the lane is in an abnormal state, reasonable and accurate control of the traffic light is achieved by replacing the traffic light control information corresponding to the current time period, thereby avoiding affecting the vehicle traffic efficiency due to the inability to adjust the control information of the traffic light when the lane is in an abnormal state.

[0115] Example 3

[0116] The third embodiment provides a control device for a signal light, the device comprising:

[0117] The control information set acquisition module 100 is used to acquire an initial signal light control information set.

[0118] Specifically, the initial signal light control information set includes: an initial signal light ID list, and an initial signal light control information list corresponding to any initial signal light ID in the initial signal light ID list, wherein the initial signal light control information list includes: initial signal light control information of several initial time periods and an initial label vector corresponding to each initial signal light control information.

[0119] Specifically, the initial signal light ID is a unique identification of the initial signal light, wherein the initial signal light is a traffic light.

[0120] Specifically, the initial signal light control information includes: a number of initial signal light control data within the initial time period, for example, the initial signal light control data is the green-to-signal ratio of the initial signal light, the cycle of the initial signal light, etc. Those skilled in the art know how to set the signal light control data according to actual needs, and will not go into details here.

[0121] Furthermore, the initial time period is any time period within a single time period, and the value of a single time period is 1 day.

[0122] In a specific embodiment, the control information set acquisition module 100 includes:

[0123] The first label vector acquisition module 101 is used to acquire a first label vector corresponding to the initial traffic light control information according to a preset traffic flow area set and a traffic flow list in an initial time period.

[0124] The second label vector acquisition module 103 is used to acquire the second label vector corresponding to the initial traffic light control information according to preset weather information.

[0125] The third label vector acquisition module 105 is configured to acquire a preset annotated label vector and use the preset annotated label vector as the third label vector corresponding to the initial signal light control information.

[0126] The initial label vector construction module 107 is used to construct the initial label vector based on the first label vector, the second label vector and the third label vector; it can be understood that: the sum of the first label vector, the second label vector and the third label vector is used as the initial label vector.

[0127] Specifically, the first label vector acquisition module 101 further includes:

[0128] The vehicle flow area set acquisition module 1011 is used to acquire a preset vehicle flow area set A = {A1, A2, ..., A i ,……,A δ}, A i ={[A i1 , A i2 ),……,[A iα , A iα+1 )……, [A im-1 , A im )},[Aiα , A iα+1 ) is the αth preset traffic flow area of ​​the ith lane corresponding to the initial signal light, where A iα is the lower limit of the αth traffic flow area, A iα+1 is the upper limit of the αth traffic flow area, i = 1, 2, ..., δ, δ is the number of lanes corresponding to the initial signal light, α = 1, 2, ..., m-1, m-1 is the number of preset traffic flow areas; it can be understood as: A i1 is the minimum traffic flow value of the i-th lane corresponding to the initial signal light and A i1 =0, A im is the maximum traffic flow value of the i-th lane corresponding to the initial traffic light.

[0129] Traffic flow list acquisition module 1013, which is used to acquire the traffic flow list A within the initial time period 0 ={A 0 , A 0 2, ..., A 0 i ,……,A 0 δ}, A 0 i is the initial traffic flow of the i-th lane corresponding to the initial traffic light.

[0130] The first label vector generating module 1015 is used to generate a first label vector when A 0 i ∈[A iα , A iα+1 ), get A 0 i The corresponding initial saturation area [A' iα , A' iα+1 ) and A 0 i The priority of the corresponding initial saturation region is inserted into the first label vector as the first label, where A' iα is the lower limit of the saturation of the traffic flow in the αth initial saturation area, A' iα+1 is the upper limit of the saturation of the traffic flow in the αth initial saturation area.

[0131] Furthermore, A' iα =A iα / A im .

[0132] Furthermore, A' iα+1 =A iα+1 / A im .

[0133] Furthermore, the priority of the initial saturation region is the level corresponding to the initial saturation region.

[0134] Specifically, the second label vector acquisition module 103 includes:

[0135] The preset weather information acquisition module 1031 is used to obtain preset weather information, wherein the preset weather information includes several preset weather conditions, and the preset weather conditions include one or more combinations of sunny, cloudy, light rain, moderate rain, heavy rain, light snow, moderate snow, heavy snow, and wind level.

[0136] The second label vector generating module 1033 is configured to insert the second label into the second label vector according to the preset weather state.

[0137] Specifically, the preset labeled label vector in the third label vector acquisition module 105 includes several preset labeled labels, each of which is a manually labeled lane abnormality state label. The lane abnormality state label is a label when a lane has a lane abnormality state. The lane abnormality conditions include accidents, wrong-way driving, road repairs, temporary road occupation, etc., wherein each lane abnormality condition has several levels.

[0138] The target label vector acquisition module 200 is used to acquire the target label vector corresponding to the initial traffic light ID within the target time period.

[0139] Specifically, the target time period is a future time period generated with the first current time point as the starting point and a first preset duration. Those skilled in the art know how to determine the preset duration according to actual needs, which will not be elaborated here.

[0140] Furthermore, the first current time point is any time node within a single time period, that is, it can be understood as: what time in a certain day is taken as the first current time point.

[0141] Furthermore, the first preset duration is the duration within a single time period, which can be understood as: the value of the first preset duration is 0 to 24 hours; preferably, the value of the first preset duration is 2 hours.

[0142] In a specific embodiment, the target label vector acquisition module 200 further includes:

[0143] The first intermediate label vector acquisition module 201 is used to acquire a first intermediate label vector corresponding to the initial traffic light ID according to a target traffic flow list and a preset traffic flow area set within a target time period.

[0144] The second intermediate label vector acquisition module 203 acquires the second intermediate label vector corresponding to the initial traffic light ID according to the target weather information within the target time period.

[0145] The third intermediate label vector acquisition module 205 is used to acquire a target labeled label vector and use the target labeled label vector as the third intermediate label vector corresponding to the initial traffic light ID.

[0146] The target label vector construction module 207 is used to construct the target label vector based on the first intermediate label vector, the second intermediate label vector, and the third intermediate label vector. This can be understood as taking the sum of the first intermediate label vector, the second intermediate label vector, and the third intermediate label vector as the target label vector.

[0147] Specifically, the first intermediate label vector acquisition module 201 further includes:

[0148] The target traffic flow list acquisition module 2011 is used to acquire the target traffic flow list B in the target time period = {B1, B2, ..., B j ,……,B n}, B j ={B j1 , B j2 ,……,B ji ,……,B jδ}, B ji is the target traffic flow of the i-th lane corresponding to the j-th sub-time period within the target time period, j=1, 2, ..., n, where n is the number of sub-time periods within the target time period.

[0149] The first intermediate label vector generating module 2013 is used to generate the first intermediate label vector when B ji ∈[A iα , A iα+1 ), get B ji The corresponding initial saturation area [A' iα , A' iα+1 ) and B ji The corresponding initial saturation area [A' iα , A' iα+1 ) is inserted into the first intermediate label vector as the first intermediate label.

[0150] Furthermore, the target traffic flow list acquisition module 2011 further includes:

[0151] Sub-vehicle flow list acquisition module 1, sub-vehicle flow list acquisition module 1 is used to obtain B in the historical time period j Corresponding sub-vehicle flow list C j ={C j1 , C j2 ,……,C ji ,……,C jδ}, C ji ={C 1 ji , C 2 ji ,……,C r ji ,……,C s ji}, C r ji is the historical traffic flow of the i-th lane corresponding to the j-th sub-time period at the r-th historical time point, r = 1, 2, ..., s, where s is the number of historical time points.

[0152] Traffic flow acquisition module 2, traffic flow acquisition module 2 is used to obtain the traffic flow according to C ji , get B ji , where B ji Meet the following conditions:

[0153] B ji =(∑ s r=1 C r ji ) / s.

[0154] Furthermore, the historical time period is a past time period that takes the second current time point as a starting point and is generated with a second preset duration.

[0155] Furthermore, the second current time point is a single time period corresponding to the first current time point as the second current time point.

[0156] Furthermore, the second preset duration is a single time period as the duration, that is, the value of the second preset duration is equal to a single time period.

[0157] Specifically, the second intermediate label vector acquisition module 203 further includes:

[0158] The intermediate weather information acquisition module 2031 is used to obtain the intermediate weather information within the target time period, wherein the intermediate weather information includes the intermediate weather status corresponding to all sub-time periods, and the intermediate weather status is any preset weather status in the preset weather information.

[0159] The second intermediate label vector generating module 2033 is configured to insert a second intermediate label into the second intermediate label vector according to the intermediate weather conditions corresponding to all sub-time periods.

[0160] Preferably, the number of target labeling labels in the target labeling label vector in the third intermediate label vector acquisition module 205 is 1, and the target labeling label is any preset labeling label in the preset labeling label vector.

[0161] The target signal light control information acquisition module 300 is used to acquire the target signal light control information according to the target label vector and all the initial label vectors.

[0162] Specifically, the target signal light control information acquisition module 300 further includes:

[0163] The first execution module 301 is used to obtain the target label vector D=(D1, D2, ..., D x ,……,D p ), D x is the xth target label, x = 1, 2, ..., p, and p is the number of target labels.

[0164] The second execution module 303 is used to obtain all initial label vectors D 0 ={D 0 1, D 0 2, ..., D 0 g ,……,D 0 z}, D 0 g =(D 0 g1 , D 0 g2 ,……,D 0 gy ,……,D 0 gq(g) ), D 0 gy is the yth initial label in the gth initial label vector, g = 1, 2, ..., z, z is the number of initial label vectors, y = 1, 2, ..., q(g), q(g) is the number of initial labels in the gth initial label vector.

[0165] The first similarity list acquisition module 305 is used to obtain the first similarity list according to D and D 0 , get the first similarity list F corresponding to D = {F1, F2, ..., F g ,……,Fz}, F g For D and D 0 g The first similarity between them; those skilled in the art know that any similarity algorithm between vectors in the prior art falls within the scope of protection of the present invention and will not be described in detail here; for example, F g Meet the following conditions: F g =η(g) / q(g), where η(g) is the difference between the target label in D and D 0 g The number of matches for any of the initial labels.

[0166] The third execution module 307 is used to traverse F and when F g When F is the largest first similarity, g The corresponding initial control signal light information is used as the target control signal light information.

[0167] The signal light control module 400 is used to send the target signal light control information to the signal controller corresponding to the initial signal light ID, so that the signal controller controls the initial signal light according to the target signal light control information; those skilled in the art know that any signal controller falls within the scope of protection of the present invention and will not be described in detail here.

[0168] Specifically, the signal light control module 400 further includes:

[0169] The first data vector acquisition module 401 is used to acquire the target signal light control data vector G=(G1, G2, . . . , G t ,……,G h ), G t is the t-th target signal light control data in the target signal light control information, t=1, 2, ..., h, and h is the number of target signal light control data.

[0170] The second data vector acquisition module 403 is used to obtain the current signal light control data vector G corresponding to the current signal light control information in the initial signal controller. 0 =(G 0 1, G 0 2, ..., G 0 t ,……,G 0 h ), G 0 t It is the tth current signal light control data in the current signal light control information.

[0171] The second similarity acquisition module 405 is used to obtain the second similarity according to G and G 0 , get the second similarity F corresponding to G 0 .

[0172] Furthermore, F 0 Meet the following conditions:

[0173]

[0174] The first signal light execution module 407 is used when F 0 ≥F', the signal controller controls the initial signal light according to the current signal light control information, wherein F' is a preset similarity threshold.

[0175] The second signal light execution module 409 is used when F 0 <F', the signal controller controls the initial signal light according to the target signal light control information.

[0176] Example 4

[0177] This fourth embodiment provides a control device for a signal light, the device comprising:

[0178] The key signal light control information list acquisition module 10 is used to acquire the key signal light control information list corresponding to the key signal light ID within a single time period.

[0179] Specifically, the key signal light control information list includes key signal light control information corresponding to several key time periods.

[0180] Furthermore, the key signal light control information is stored in a key signal controller, wherein the key signal light control information can be pre-set signal light control information, or signal light control information generated based on the method for obtaining target signal light control information in Example 1; those skilled in the art are aware of the method for obtaining target signal light control information and will not elaborate on it here.

[0181] Specifically, the key signal light ID is any initial signal light ID in the initial signal light ID list.

[0182] The label input module 20 is used to obtain the current label input by the user; the current label is any lane abnormal state label.

[0183] The abnormal signal light control information acquisition module 30 is used to acquire the abnormal signal light control information corresponding to the current marking label according to the current marking label.

[0184] Specifically, the abnormal signal light control information acquisition module 30 further includes:

[0185] The first signal light control information execution module 310, the first acquisition module 310 is used to obtain an initial signal light control information list corresponding to the key signal light ID, wherein the initial signal light control information list includes: initial signal light control information of several initial time periods and an initial label vector corresponding to each initial signal light control information.

[0186] The second signal light control information execution module 330 is configured to use the initial signal light control information corresponding to the initial label vector as abnormal signal light control information when the current label is consistent with any initial label in the initial label vector.

[0187] The control information sending module 40 is used to send the abnormal signal light control information and the key signal light control information list to the signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light according to the abnormal signal light control information and the key signal light control information list.

[0188] Specifically, the control information sending module 40 includes:

[0189] The abnormal state time period acquisition module 410 is used to acquire the abnormal state time period corresponding to the abnormal signal light control information.

[0190] Specifically, the abnormal state time period is a time period during which the lane abnormal state corresponding to the current marked label occurs.

[0191] The first control instruction sending module 430 is used to send a first control instruction to the signal controller when the key time period corresponding to the key signal light control information contains the abnormal state time period, so that according to the first control instruction, the key signal light control information is replaced by the abnormal signal light control information.

[0192] The second control instruction sending module 450 is used to send a second control instruction to the signal controller when the critical time period corresponding to the critical signal light control information does not include the abnormal state time period, so that the critical signal light control information is retained in the signal controller according to the second control instruction.

[0193] In another specific embodiment, the control information sending module 40 further includes:

[0194] The abnormal time information acquisition module 410 is used to obtain the abnormal state time period corresponding to the abnormal signal light control information and the abnormal time slice list H={H1, H2, ..., H β ,……,H ε}, H β is the signal light control information of the βth abnormal time slice within the abnormal time period, β=1, 2, ..., ε, ε is the number of abnormal time slices within the abnormal time period.

[0195] Furthermore, the abnormal time slice has a value range of 5-10 minutes; preferably, the abnormal time slice has a value of 10 minutes.

[0196] The key time information acquisition module 430 is used to obtain the key time slice list H corresponding to the key time period when the key time period corresponding to the key signal light control information includes the abnormal state time period. 0 ={H 0 1, H 0 2, ..., H 0 γ ,……,H 0 μ}, H 0 γ is the signal light control information of the γth key time slice in the key time period, γ=1, 2, ..., μ, where μ is the number of key time slices in the key time period.

[0197] Furthermore, the value of the critical time slice is consistent with the value of the abnormal time slice.

[0198] The third control instruction sending module 450 is used to send the third control instruction when H β The corresponding abnormal time slice and H 0 γ When the corresponding key time slices are consistent, a third control instruction is sent to the signal controller so that H 0 γ Replace with H β .

[0199] The fourth control instruction sending module 470 is used to send the fourth control instruction when H β The corresponding abnormal time slice and H 0 γWhen the corresponding key time slices are inconsistent, a fourth control instruction is sent to the signal controller so that H 0 γ Retained in the signal controller.

[0200] The fifth control instruction sending module 490 is used to send a second control instruction to the signal controller when the critical time period corresponding to the critical signal light control information does not include the abnormal state time period, so that the critical signal light control information is retained in the signal controller according to the second control instruction.

[0201] In one embodiment, a computer device is provided, including 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 following steps are performed:

[0202] Get the key signal light control information list corresponding to the key signal light ID within a single time period;

[0203] Obtaining a current annotation label input by a user, where the current annotation label is any lane abnormal state label;

[0204] According to the current marked label, obtain the abnormal signal light control information corresponding to the current marked label;

[0205] The abnormal signal light control information and the key signal light control information list are sent to the signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light according to the abnormal signal light control information and the key signal light control information list.

[0206] 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:

[0207] Get the key signal light control information list corresponding to the key signal light ID within a single time period;

[0208] Obtaining a current annotation label input by a user, where the current annotation label is any lane abnormal state label;

[0209] According to the current marked label, obtain the abnormal signal light control information corresponding to the current marked label;

[0210] The abnormal signal light control information and the key signal light control information list are sent to the signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light according to the abnormal signal light control information and the key signal light control information list.

[0211] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the 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-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. 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 various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), 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).

[0212] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the determination of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be determined into different functional units or modules to complete all or part of the functions described above.

[0213] The above description is merely a preferred embodiment of the present invention and does not constitute any form of limitation to the present invention. Although the present invention has been disclosed as a preferred embodiment, it is not intended to limit the present invention. Any technician familiar with the present profession can make slight changes or modifications to equivalent embodiments using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.

Claims

1. A method for controlling a signal light, characterized in that: The method comprises the following steps: Get the key signal light control information list corresponding to the key signal light ID within a single time period; Obtaining a current annotation label input by a user, where the current annotation label is any lane abnormal state label; According to the current marked label, obtain the abnormal signal light control information corresponding to the current marked label; Sending the abnormal signal light control information and the key signal light control information list to the signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light according to the abnormal signal light control information and the key signal light control information list; The method includes sending the abnormal signal light control information and the key signal light control information list to a signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light according to the abnormal signal light control information and the key signal light control information list. Obtaining an abnormal state time period corresponding to the abnormal signal light control information, wherein the abnormal state time period is a time period during which the lane abnormal state corresponding to the current marked label occurs; When the critical time period corresponding to the critical signal light control information includes the abnormal state time period, sending a first control instruction to the signal controller so that the critical signal light control information is replaced with the abnormal signal light control information according to the first control instruction; When the critical time period corresponding to the critical signal light control information does not include the abnormal state time period, a second control instruction is sent to the signal controller, so that the critical signal light control information is retained in the signal controller according to the second control instruction.

2. The signal light control method according to claim 1, characterized in that: The key signal light control information list includes key signal light control information corresponding to a plurality of key time periods.

3. The signal light control method according to claim 1, characterized in that: The key signal light control information is stored in a key signal controller.

4. A control device for a signal light, characterized in that: The device comprises: A key signal light control information list acquisition module, the key signal light control information list acquisition module is used to obtain a key signal light control information list corresponding to a key signal light ID within a single time period; A label input module, the label input module is used to obtain a current label input by a user; the current label is any lane abnormal state label; An abnormal signal light control information acquisition module is used to acquire abnormal signal light control information corresponding to the current marking label according to the current marking label; A control information sending module, which is used to send the abnormal signal light control information and the key signal light control information list to the signal controller corresponding to the key signal light ID, so that the signal controller controls the key signal light according to the abnormal signal light control information and the key signal light control information list; the control information sending module includes: An abnormal state time period acquisition module, the abnormal state time period acquisition module is used to obtain the abnormal state time period corresponding to the abnormal signal light control information, the abnormal state time period is the time period when the lane abnormal state corresponding to the current marked label occurs; a first control instruction sending module, configured to send a first control instruction to the signal controller when the key time period corresponding to the key signal light control information includes the abnormal state time period, so that the key signal light control information is replaced with the abnormal signal light control information according to the first control instruction; A second control instruction sending module is used to send a second control instruction to the signal controller when the critical time period corresponding to the critical signal light control information does not include the abnormal state time period, so that the critical signal light control information is retained in the signal controller according to the second control instruction.

5. The control device for a signal light according to claim 4, characterized in that: The key signal light control information list includes key signal light control information corresponding to a plurality of key time periods.

6. The control device for a signal light according to claim 4, characterized in that: The key signal light control information is stored in a key signal controller.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the signal light control method according to any one of claims 1 to 3 is implemented.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the signal light control method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Crossing traffic jam judging and control method and system based on sensing detectors

    CN103473935A