Control Method, Device, Computer Equipment and Medium of Traffic Signal Light System

By using camera equipment in the traffic light system to collect traffic information and compare it with the database, the historical control instructions with the greatest similarity are solved, and the existing system's red lights are liked at traffic intersections, intelligent signal light control is realized, and traffic efficiency is improved.

CN116434573BActive Publication Date: 2025-07-11深圳开鸿数字产业发展有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310280935.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-13
Publication Date
2025-07-11
Estimated Expiration
2043-03-13

AI Technical Summary

Technical Problem

The existing intelligent signal light system still needs to wait for red lights when traffic flows are small or can pass directly through the road, which lacks intelligent control, resulting in inefficient traffic.

Method used

The video camera collects traffic flow information of the relevant sections of the intersection, generates the current traffic flow information, and compares it with the historical information in the road condition database to obtain similarity, and uses the historical control command with the greatest similarity to intelligently adjust the signal light.

Benefits of technology

It improves the intelligence of the traffic light system, reduces waiting time for vehicles and pedestrians, and improves the traffic efficiency of intersections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116434573B_ABST
    Figure CN116434573B_ABST
Patent Text Reader

Abstract

This application relates to the technical field of signal lamp control, and specifically discloses a control method, device, equipment and storage medium for a traffic signal lamp system. The method includes: generating current traffic flow information based on the traffic flow information collected by a camera device, comparing the current traffic flow information with historical traffic flow information, if the similarity is not less than a threshold, obtaining the control instruction corresponding to the historical traffic flow information with the largest similarity as the target control instruction, and controlling the signal lamp. This method collects the current traffic flow situation at the intersection through a camera device, compares the current traffic flow situation with the historical traffic flow situation in the database to obtain the similarity, determines the one with the largest similarity among the historical traffic flow information reaching the similarity threshold as the target control instruction, and then controls the signal lamp according to the control instruction, which can comprehensively understand the traffic conditions at the intersection, and the control process does not require human participation, improving the intelligence of the traffic signal lamp system control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of signal lamp control, and particularly to a control method, device, computer device and storage medium for a traffic signal lamp system. Background Art

[0002] The sharp increase in the number of cars has further led to an increase in traffic pressure, affecting people's travel. In order to relieve traffic pressure and maximize the traffic efficiency at intersections, an intelligent signal lamp system has been introduced, which has indeed relieved traffic pressure to a certain extent in sections or periods with large traffic flow. However, the existing intelligent signal lamp systems are not intelligent enough, requiring manual control of the duration of red and green signal lamps, or only being able to detect and analyze the traffic flow around the intersection, without considering the situation of the entire road section and the scenarios of sections with small traffic flow, resulting in the situation that one still needs to wait for a long time at a red light at intersections with small traffic flow or that can be directly passed through. Therefore, how to improve the intelligence of the control of traffic signal lamp systems has become an urgent problem to be solved. Summary of the Invention

[0003] This application provides a control method, device, computer device and storage medium for a traffic signal lamp system to improve the intelligence of the control of traffic signal lamp systems.

[0004] In a first aspect, this application provides a control method for a traffic signal lamp system, and the method includes:

[0005] When receiving traffic flow information of a relevant road section collected by a plurality of the camera devices, generating current traffic flow information of the intersection and obtaining the current cycle state of the signal lamp;

[0006] According to the current cycle state, determining to compare the current traffic flow information with historical traffic flow information in the road condition database to obtain the similarity between the current traffic flow information and the historical traffic flow information;

[0007] When the similarity is not less than a preset similarity threshold, obtaining the signal lamp control instruction corresponding to the historical traffic flow information with the largest similarity as the target control instruction of the signal lamp;

[0008] Controlling the signal lamp based on the target control instruction.

[0009] Further, the relevant road section includes an incoming single road section, a near-intersection road section and a crosswalk. When the terminal device receives traffic flow information of the relevant road section collected by a plurality of the camera devices and generates current traffic flow information of the intersection, it includes:

[0010] Based on the first imaging device, collect the number of vehicles in the one-way section of entry, and generate traffic flow information for the one-way section of entry, where the one-way section of entry is a one-way road section entering the intersection;

[0011] Based on the second imaging device, collect the number of vehicles in the near-intersection section and the number of pedestrians in the crosswalk, and generate traffic flow information for the near-intersection section and the crosswalk, where the near-intersection section is a road section on the one-way section of entry that is less than a preset distance threshold from the intersection;

[0012] Based on the traffic flow information of the one-way section of entry, the traffic flow information of the near-intersection section, and the traffic flow information of the crosswalk, generate the current traffic flow information of the intersection.

[0013] Further, the comparing the current traffic flow information with the historical traffic flow information in the road condition database according to the current cycle state to obtain the similarity between the current traffic flow information and the historical traffic flow information includes:

[0014] Compare the traffic flow information of the one-way section of entry, the near-intersection section, and the crosswalk in the current traffic flow information with the traffic flow information of the one-way section of entry, the near-intersection section, and the crosswalk in the historical traffic flow information respectively to obtain a first similarity, a second similarity, and a third similarity;

[0015] Based on the first similarity, the second similarity, and the third similarity, calculate the similarity between the current traffic flow information and the historical traffic flow information.

[0016] Further, after receiving the traffic flow information of the relevant road sections collected by multiple imaging devices, generating the current traffic flow information of the intersection, and obtaining the current cycle state of the signal light, it further includes:

[0017] When the current cycle state is within the signal light cycle, determine whether the current traffic flow information is a preset special traffic flow situation;

[0018] When the current traffic flow information is the special traffic flow situation, use the signal light control instruction corresponding to the special traffic flow situation as the target control instruction for the signal light.

[0019] Further, before determining whether the current traffic flow information is a preset special traffic flow situation when the current cycle state is within the signal light cycle, it further includes:

[0020] Taking the signal light in the first preset direction as green, the traffic flow in the first preset direction as zero, and the traffic flow in the second preset direction as non-zero as the first special traffic condition, and taking accelerating the signal light countdown as the first control instruction, where the traffic flow includes the traffic volume or pedestrian volume on the incoming single section, the near intersection section, and the crosswalk in the preset direction;

[0021] Taking the signal light in the first preset direction as green, the traffic flow in the first preset direction as non-zero, and the traffic flow in the second preset direction as zero as the second special traffic condition, and taking extending the signal light countdown as the second control instruction;

[0022] Taking the traffic volume of vehicles in the first preset direction and the second preset direction as zero and the pedestrian volume as non-zero as the third special traffic condition, and taking the pedestrian signal light as green and the vehicle signal light as red as the third control instruction.

[0023] Further, after determining the similarity between the current traffic flow information and the historical traffic flow information in the road condition database according to the current cycle state and obtaining the similarity between the current traffic flow information and the historical traffic flow information, it further includes:

[0024] When the similarity is less than the similarity threshold, generating the target control instruction of the signal based on the preset weight coefficient and the current traffic flow information.

[0025] Further, obtaining the target control instruction of the signal based on the preset weight coefficient and the current traffic flow information includes:

[0026] Based on the preset weight coefficient and the current traffic flow information, respectively calculating the proportion of the pedestrian volume in the crosswalk, the traffic volume in each incoming single section, and the traffic volume in each near intersection section in the current traffic flow information to obtain the flow proportion information;

[0027] Based on the flow proportion information, respectively obtaining the traffic flow levels of the crosswalk, the incoming single section, and the near intersection section;

[0028] Based on the traffic flow levels, generating the target control instruction of the signal light.

[0029] Further, obtaining the traffic flow levels of the crosswalk, the incoming single section, and the near intersection section based on the flow proportion information includes:

[0030] Based on the proportion rankings of the pedestrian flow in the crosswalk, the traffic flow in each single incoming road section, and the traffic flow in each near-entry road section, the traffic flow level is divided into high flow, medium flow, and low flow.

[0031] Further, after obtaining the target control instruction of the signal based on the preset weight coefficient and the current traffic flow information when the similarity is less than the preset similarity threshold, it further includes:

[0032] Updating the road condition database based on the target control instruction and the current traffic flow information.

[0033] In a second aspect, the present application also provides a control device for a traffic signal system, and the device includes:

[0034] A traffic flow information acquisition module, configured to generate the current traffic flow information of the intersection and obtain the current cycle state of the signal lamp when receiving the traffic flow information of the relevant road sections collected by multiple said camera devices;

[0035] A similarity acquisition module, configured to determine the similarity between the current traffic flow information and the historical traffic flow information in the road condition database according to the current cycle state, and obtain the similarity between the current traffic flow information and the historical traffic flow information;

[0036] A target control instruction acquisition module, configured to obtain the target control instruction of the signal based on the preset weight coefficient and the current traffic flow information when the similarity is less than the preset similarity threshold;

[0037] A signal lamp control module, configured to control the signal lamp based on the target control instruction.

[0038] In a third aspect, the present application also provides a computer device, and the computer device includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and implement the control method of the traffic signal system as described above when executing the computer program.

[0039] In a fourth aspect, the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is enabled to implement the control method of the traffic signal system as described above.

[0040] The present application discloses a control method, apparatus, computer device, and storage medium for a traffic signal system. When receiving traffic flow information of a relevant road section collected by a plurality of the camera devices, the current traffic flow information of the intersection is generated, and the current cycle state of the signal lights is obtained; according to the current cycle state, it is determined that the current traffic flow information is compared with historical traffic flow information in the road condition database to obtain the similarity between the current traffic flow information and the historical traffic flow information; when the similarity is not less than a preset similarity threshold, the signal light control instruction corresponding to the historical traffic flow information with the largest similarity is obtained as the target control instruction for the signal lights; based on the target control instruction, the signal lights are controlled. This method collects the current traffic flow conditions of the relevant road section of the intersection through camera devices, compares the current traffic flow conditions with the historical traffic flow conditions in the database to obtain the similarity, determines the one with the largest similarity among the historical traffic flow information reaching the similarity threshold as the target control instruction, and then controls the signal lights according to the control instruction, which can comprehensively understand the traffic conditions of the intersection, and the control process does not require human participation, improving the intelligence of the control of the traffic signal system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0042] Figure 1 It is a schematic flowchart of the first embodiment of a control method for a traffic signal system provided by an embodiment of the present application;

[0043] Figure 2 It is a schematic diagram of an intelligent traffic intersection of a control method for a traffic signal system provided by an embodiment of the present application;

[0044] Figure 3 It is a schematic flowchart of a control method for a traffic signal system provided by an embodiment of the present application;

[0045] Figure 4 It is a schematic flowchart of the second embodiment of a control method for a traffic signal system provided by an embodiment of the present application;

[0046] Figure 5 It is a schematic flowchart of the third embodiment of a control method for a traffic signal system provided by an embodiment of the present application;

[0047] Figure 6It is a schematic flowchart of the fourth embodiment of a control method for a traffic signal system provided by an embodiment of the present application;

[0048] Figure 7 It is a schematic block diagram of a control device for a traffic signal system provided by an embodiment of the present application;

[0049] Figure 8 It is a schematic block diagram of the structure of a computer device provided by an embodiment of the present application. Detailed implementation manners

[0050] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0051] The flowchart shown in the accompanying drawings is only an example, and does not necessarily include all contents and operations / steps, nor does it necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, combined or partially merged, so the actual execution order may change according to the actual situation.

[0052] It should be understood that the terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of the present application and the appended claims, unless otherwise clearly specified in the context, the singular forms "a", "an" and "the" are intended to include the plural forms.

[0053] It should also be understood that the term " / and / " used in the specification of the present application and the appended claims refers to any combination and all possible combinations of one or more of the related listed items, and includes these combinations.

[0054] An embodiment of the present application provides a control method, device, computer device and storage medium for a traffic signal system. Among them, the control method of the traffic signal system can be applied to a server, and the current traffic flow situation of relevant road sections at an intersection is collected through a camera device to determine a target control instruction, improving the intelligence of the control of the traffic signal system. Among them, the server can be an independent server or a server cluster.

[0055] Next, some embodiments of the present application will be described in detail in conjunction with the accompanying drawings. Without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0056] Please refer to Figure 1 ,Figure 1 It is a schematic flowchart of a control method for a traffic signal system provided by an embodiment of the present application. The control method of the traffic signal system can be applied to a server and is used to collect the current traffic flow conditions of relevant road sections at an intersection through a camera device, and determine a target control instruction, improving the intelligence of the control of the traffic signal system.

[0057] As Figure 1 shown, the control method of the traffic signal system specifically includes steps S101 to S104.

[0058] S101. When receiving traffic flow information of relevant road sections collected by multiple said camera devices, generate the current traffic flow information of the intersection and obtain the current cycle state of the signal lights.

[0059] When the terminal device receives traffic flow information of relevant road sections collected by multiple said camera devices, generating the current traffic flow information of the intersection includes: based on the first camera device, collecting the number of vehicles in the incoming single road section and generating the traffic flow information of the incoming single road section, where the incoming single road section is a one-way road section entering the intersection; based on the second camera device, collecting the number of vehicles in the near-intersection road section and the number of pedestrians in the crosswalk, and generating the traffic flow information of the near-intersection road section and the crosswalk, where the near-intersection road section is a road on the incoming single road section that is less than a preset distance threshold from the intersection; generating the current traffic flow information of the intersection based on the traffic flow information of the incoming single road section, the traffic flow information of the near-intersection road section, and the traffic flow information of the crosswalk.

[0060] In one embodiment, a one-way road section between two intersections is used as a single road section, and a four-way intersection has 4 incoming single road sections and 4 outgoing single road sections. The near-intersection road section is a road on the single road section that is less than or equal to the preset distance threshold L from the intersection.

[0061] In one embodiment, the traffic signal system includes a terminal device, multiple camera devices, and multiple traffic signal lights. The terminal device, camera devices, and traffic signal lights are all equipped with a preset operating system. Based on the operating system, the terminal device, camera devices, and traffic signal lights are connected through a distributed soft bus.

[0062] In one embodiment, as Figure 2 shown, one camera is installed at each of the 4 corners of the intersection as the first camera device to collect the number of vehicles in the corresponding incoming single road section. A camera is installed at a distance of L meters from the intersection on the incoming single road section as the second camera device to collect the number of vehicles in the near-intersection road section and the number of pedestrians in the crosswalk.

[0063] In one embodiment, the number of vehicles collected by the first camera device in the single-lane section, the number of vehicles collected by the second camera device in the approach section, and the number of pedestrians in the crosswalk are summarized as the current traffic flow information of the intersection.

[0064] In one embodiment, a signal cycle is the total time occupied by one round of red, yellow, and green lights, which is defaulted to T seconds. Since the traffic signal system will intelligently and real-time control the signals, a cycle is not always T seconds.

[0065] In one embodiment, as Figure 3 shown, obtain the current cycle state of the signal light, and determine whether the current moment is within one cycle of the signal light. If it is not within the cycle, that is, a complete cycle of the signal light has ended, then reallocate the signal light cycle.

[0066] S102. According to the current cycle state, determine to compare the current traffic flow information with the historical traffic flow information in the road condition database to obtain the similarity between the current traffic flow information and the historical traffic flow information.

[0067] According to the current cycle state, determining to compare the current traffic flow information with the historical traffic flow information in the road condition database to obtain the similarity between the current traffic flow information and the historical traffic flow information includes: respectively comparing the traffic flow information of the single-lane section, the approach section, and the crosswalk in the current traffic flow information with the traffic flow information of the single-lane section, the approach section, and the crosswalk in the historical traffic flow information to obtain a first similarity, a second similarity, and a third similarity; based on the first similarity, the second similarity, and the third similarity, calculate the similarity between the current traffic flow information and the historical traffic flow information.

[0068] After determining to compare the current traffic flow information with the historical traffic flow information in the road condition database to obtain the similarity between the current traffic flow information and the historical traffic flow information according to the current cycle state, it further includes: when the similarity is less than the similarity threshold, generate a target control instruction for the signal based on a preset weight coefficient and the current traffic flow information.

[0069] In one embodiment, for a certain intersection, after a signal light cycle ends, the super terminal starts to analyze the information obtained through the camera, including the number of vehicles on each direction section, the number of vehicles on the approach section, the number of pedestrians on the crosswalk, etc. First, it retrieves whether there is a traffic condition in the traffic condition database that is similar to the current one. If it is retrieved, the signal lights for the next cycle are directly set according to the previous signal light allocation. If not, it calculates and records the signal light allocation weight of the current traffic condition, and then sets the signal lights for the next cycle.

[0070] In a specific embodiment, for the horizontal and vertical directions, that is, the first preset direction and the second preset direction, each direction includes the number of vehicles entering the single-section, the number of vehicles on the approach section, and the number of pedestrians on the crosswalk. Therefore, there are a total of 6 parts of data. The similarity of the two traffic conditions can be measured by these 6 parts of data. For example, when the absolute value of the difference in each part of the data is less than a certain threshold, it is considered similar, and the control instruction of the historical signal lights can be used as the current target control instruction.

[0071] S103. When the similarity is not less than the preset similarity threshold, obtain the signal light control instruction corresponding to the historical traffic flow information with the greatest similarity as the target control instruction for the signal lights.

[0072] In one embodiment, when the similarity between the current traffic flow information and the historical traffic flow information in the traffic condition database reaches the similarity threshold, determine the historical traffic flow information with the greatest similarity to the current traffic flow information, and use the control instruction corresponding to this historical traffic flow information as the target control instruction.

[0073] S104. Control the signal lights based on the target control instruction.

[0074] In one embodiment, according to the target control instruction, the terminal device controls the signal lights to light up and count down.

[0075] Please refer to Figure 4 , Figure 4 is a schematic flowchart of a control method for a traffic signal light system provided by an embodiment of the present application. This control method for the traffic signal light system can be applied to a server and is used to collect the current traffic flow conditions of relevant sections of an intersection through a camera device, determine the target control instruction, and improve the intelligence of the control of the traffic signal light system.

[0076] As Figure 4 shown, after the step S102 of this control method for the traffic signal light system, it specifically further includes steps S201 to S202.

[0077] S201. Compare the traffic flow information of the single-lane approach, near-intersection section, and crosswalk in the current traffic flow information with the traffic flow information of the single-lane approach, near-intersection section, and crosswalk in the historical traffic flow information respectively to obtain the first similarity, the second similarity, and the third similarity;

[0078] S202. Calculate the similarity between the current traffic flow information and the historical traffic flow information based on the first similarity, the second similarity, and the third similarity.

[0079] In one embodiment, in the horizontal and vertical directions, namely the first preset direction and the second preset direction, each direction includes the number of vehicles in the single-lane approach, the number of vehicles in the near-intersection section, and the number of pedestrians in the crosswalk. Therefore, there are a total of 6 parts of data. The similarity between the two traffic situations can be measured by these 6 parts of data. Compare the current number of vehicles in the single-lane approach with the historical number of vehicles in the single-lane approach to obtain the first similarity. Compare the current number of vehicles in the near-intersection section with the historical number of vehicles in the near-intersection section to obtain the second similarity. Compare the current number of pedestrians in the crosswalk with the historical number of pedestrians in the crosswalk to obtain the third similarity.

[0080] In one embodiment, the first similarity, the second similarity, and the third similarity can be determined by the difference between the data of each part. For example, when the absolute value of the difference between the data of each part is less than a certain threshold, it is considered similar.

[0081] In one embodiment, combine the first similarity, the second similarity, and the third similarity to obtain the similarity between the current traffic flow information and the historical traffic flow information. After the similarity reaches the preset similarity threshold, obtain the traffic signal control instruction corresponding to the historical traffic flow information with the greatest similarity to the current traffic flow information as the current target control instruction.

[0082] Please refer to Figure 5 , Figure 5 FIG. is a schematic flowchart of a control method for a traffic signal system provided by an embodiment of the present application. The control method of the traffic signal system can be applied to a server and is used to collect the current traffic flow situation of relevant sections of an intersection through a camera device, determine the target control instruction, and improve the intelligence of the control of the traffic signal system.

[0083] As Figure 5 shown, after the step S101 of the control method of the traffic signal system, it specifically includes steps S301 to S302.

[0084] S301. When the current cycle state is within the signal cycle, determine whether the current traffic flow information is a preset special traffic situation;

[0085] S302. When the current traffic flow information is the special traffic flow situation, use the signal light control instruction corresponding to the special traffic flow situation as the target control instruction for the signal lights.

[0086] Before determining whether the current traffic flow information is a preset special traffic flow situation when the current cycle state is within the signal light cycle, it further includes: taking the signal light of the first preset direction being green, the traffic flow in the first preset direction being zero, and the traffic flow in the second preset direction not being zero as the first special traffic flow situation, and taking accelerating the signal light countdown as the first control instruction, where the traffic flow includes the vehicle flow or pedestrian flow on the single-section road, near-intersection section, and crosswalk in the preset direction; taking the signal light of the first preset direction being green, the traffic flow in the first preset direction not being zero, and the traffic flow in the second preset direction being zero as the second special traffic flow situation, and taking extending the signal light countdown as the second control instruction; taking the vehicle flows in the first preset direction and the second preset direction being zero and the pedestrian flow not being zero as the third special traffic flow situation, and taking setting the pedestrian signal light to green and the vehicle signal light to red as the third control instruction.

[0087] In one embodiment, there are no pedestrians and vehicles on the road in the green light direction, while there are new pedestrians or vehicles on the road in the red light direction, that is, the first special traffic flow situation. At this time, "skipping seconds" is executed, that is, the signal light accelerates the countdown, accelerating from subtracting one second per second to subtracting m (m>1) seconds per second, so as to reduce the waiting time of vehicles and pedestrians in the red light direction. After the signal light countdown ends, the next cycle is reset.

[0088] In one embodiment, there are still many pedestrians and vehicles to pass on the road in the green light direction, while there are no pedestrians or vehicles on the road in the red light direction, that is, the second special traffic flow situation. At this time, the signal light extends the countdown by n (n>0) seconds, so that the vehicles and pedestrians in the green light direction can continue to pass.

[0089] In one embodiment, there are no vehicles on both roads in the horizontal and vertical directions of the current intersection, but there are pedestrians to pass in both the horizontal and vertical directions, that is, the third special traffic flow situation. At this time, all pedestrian signal lights are set to green and vehicle signal lights are set to red for a time equal to the time required for pedestrians to cross the road at a normal walking speed plus a buffer time n (n>=0) seconds. This reduces the waiting time of pedestrians. After the signal light countdown ends, the next cycle is reset.

[0090] Please refer to Figure 6 , Figure 6The present invention provides a schematic flow chart of a control method for a traffic light system provided by an embodiment of the present invention. The control method for the traffic light system can be applied to a server to collect the current traffic flow conditions of the relevant road sections of the intersection through a camera device, determine the target control instructions, and improve the intelligence of the control of the traffic light system.

[0091] like Figure 6 As shown, the control method of the traffic light system obtains the target control instruction of the signal based on the preset weight coefficient and the current traffic flow information, which specifically includes steps S401 to S403.

[0092] S401, based on the preset weight coefficient and the current traffic flow information, respectively calculating the proportion of the pedestrian flow in the crosswalk, the vehicle flow in each of the single entry sections, and the vehicle flow in each of the near-exit sections in the current traffic flow information to obtain flow proportion information;

[0093] S402, based on the traffic flow ratio information, respectively obtaining the traffic flow levels of the crosswalk, the single entry road section, and the near-exit road section;

[0094] S403: Generate a target control instruction for the traffic light based on the traffic flow level.

[0095] Based on the traffic flow proportion information, the traffic flow levels of the crosswalk, the single entrance section and the exit section are obtained respectively, including: dividing the traffic flow level into high flow, medium flow and low flow according to the proportion ranking of the pedestrian flow in the crosswalk, the vehicle flow in each single entrance section and the vehicle flow in each exit section.

[0096] When the similarity is less than a preset similarity threshold, after obtaining the target control instruction of the signal based on a preset weight coefficient and the current traffic flow information, the method further includes: updating the road condition database based on the target control instruction and the current traffic flow information.

[0097] In one embodiment, the calculation of the weight of the signal light allocation in the next cycle needs to consider the number of vehicles entering the single road section and the near-entry section in both the horizontal and vertical directions, as well as the number of pedestrians in the crosswalk. The more the number of these three factors, the longer the green light time allocated. At the same time, different weights can be assigned to them through the three weight coefficients. For example, the number of vehicles in the near-entry section can be assigned a larger weight, so that more green light time can be obtained, so that vehicles in the near-entry section can pass faster.

[0098] In one embodiment, pedestrians, vehicles entering a single road section, and vehicles approaching an intersection are represented by people, cars, and near-cars. A car is a standard traffic unit, and finally the duration of the signal light is allocated according to the ratio of traffic units in the horizontal and vertical directions. The weight allocation is considered as follows: (1) car: near-car = 1:1.5, that is, one near-car is 1.5 traffic units. Obviously, the more near-cars there are in one direction, the more traffic units will be obtained. (2) The weight allocation of cars and people is more complicated. For example, the time it takes for a car to pass through an intersection is 10 seconds, and the time it takes for a person to pass through an intersection is 15 seconds; while the time it takes for five cars to pass through an intersection will increase to 15 seconds, and the time it takes for five people to pass through an intersection is still only 15 seconds, because people can walk side by side, while cars can only pass in series. Assuming that x (x>1) people can pass side by side at a time, then a feasible weight arrangement is: car: (person / x) = 1:1.5, that is, every x people is counted as 1.5 traffic units.

[0099] In one embodiment, the ratio of the calculated traffic units of vehicles entering the single section, vehicles entering the section near the exit, and pedestrians on the crosswalk to the total traffic units is used as the flow proportion of each part. The flow proportion ranking is obtained according to the traffic unit ranking of each part. For example, if the traffic units of vehicles entering the single section, vehicles entering the section near the exit, and pedestrians on the crosswalk are calculated to be 2, 3, and 1.5 respectively, it means that there are many vehicles in the current section near the exit, which is a high flow, and more green light time can be obtained for the traffic lights in the direction corresponding to the section near the exit.

[0100] See also Figure 7 , Figure 7 The embodiment of the present application provides a schematic block diagram of a control device for a traffic light system, wherein the control device for the traffic light system is used to execute the control method for the traffic light system described above, wherein the control device for the traffic light system can be configured on a server.

[0101] like Figure 7 As shown, the control device 500 of the traffic signal light system includes:

[0102] The traffic flow information acquisition module 501 is used for the traffic flow information acquisition module, which is used to generate the current traffic flow information of the intersection and obtain the current cycle state of the traffic light when receiving the traffic flow information of the relevant road section collected by the plurality of camera devices;

[0103] A similarity obtaining module 502 is used to determine, according to the current cycle state, the current traffic flow information and the historical traffic flow information in the road condition database for comparison, and obtain the similarity between the current traffic flow information and the historical traffic flow information;

[0104] A target control instruction obtaining module 503, configured to obtain a target control instruction for the signal based on a preset weight coefficient and the current traffic flow information when the similarity is less than a preset similarity threshold;

[0105] A signal lamp control module 504, configured to control the signal lamp based on the target control instruction.

[0106] In one embodiment, the traffic flow information obtaining module 501 includes:

[0107] A first camera device acquisition unit, configured to collect the number of vehicles in the one-way road section entering the intersection based on the first camera device, and generate traffic flow information for the one-way road section entering the intersection, where the one-way road section entering the intersection is a one-way road section entering the intersection;

[0108] A second camera device acquisition unit, configured to collect the number of vehicles in the near-intersection road section and the number of pedestrians in the crosswalk based on the second camera device, and generate traffic flow information for the near-intersection road section and the crosswalk, where the near-intersection road section is a road on the one-way road section entering the intersection that is less than a preset distance threshold from the intersection;

[0109] A current traffic flow information generation unit, configured to generate the current traffic flow information for the intersection based on the traffic flow information for the one-way road section entering the intersection, the traffic flow information for the near-intersection road section, and the traffic flow information for the crosswalk.

[0110] In one embodiment, the similarity obtaining module 502 includes:

[0111] An information comparison unit, configured to compare the traffic flow information for the one-way road section entering the intersection, the near-intersection road section, and the crosswalk in the current traffic flow information with the traffic flow information for the one-way road section entering the intersection, the near-intersection road section, and the crosswalk in the historical traffic flow information respectively, to obtain a first similarity, a second similarity, and a third similarity;

[0112] A similarity generation unit, configured to calculate the similarity between the current traffic flow information and the historical traffic flow information based on the first similarity, the second similarity, and the third similarity.

[0113] In one embodiment, the control device 500 of the traffic signal lamp system further includes a target control instruction generation module, and the target control instruction generation module includes:

[0114] A special traffic flow situation judgment unit, configured to judge whether the current traffic flow information is a preset special traffic flow situation when the current cycle state is within the signal lamp cycle;

[0115] A target control instruction determination unit, configured to use the signal light control instruction corresponding to the special traffic flow condition as the target control instruction of the signal light when the current traffic flow information is the special traffic flow condition.

[0116] In one embodiment, the target control instruction determination module further includes:

[0117] A first special condition determination unit, configured to use that the signal light in the first preset direction is green, the traffic flow in the first preset direction is zero and the traffic flow in the second preset direction is not zero as the first special traffic flow condition, and use accelerating the signal light countdown as the first control instruction, where the traffic flow includes the traffic volume or pedestrian volume on the single-lane road section, the near-intersection road section, and the crosswalk in the preset direction;

[0118] A second special condition determination unit, configured to use that the signal light in the first preset direction is green, the traffic flow in the first preset direction is not zero and the traffic flow in the second preset direction is zero as the second special traffic flow condition, and use extending the signal light countdown as the second control instruction;

[0119] A third special condition determination unit, configured to use that the traffic volume of the first preset direction and the second preset direction is zero and the pedestrian volume is not zero as the third special traffic flow condition, and use setting the pedestrian signal light to green and the vehicle signal light to red as the third control instruction.

[0120] In one embodiment, the control device 500 of the traffic signal light system further includes a target control instruction generation module, and the target control instruction generation module includes:

[0121] A target control instruction generation unit, configured to generate the target control instruction of the signal based on a preset weight coefficient and the current traffic flow information when the similarity is less than the similarity threshold.

[0122] In one embodiment, the target control instruction generation unit further includes:

[0123] A flow proportion information acquisition subunit, configured to calculate the proportion of the pedestrian flow in the crosswalk, the traffic volume in each single-lane road section, and the traffic volume in each near-intersection road section in the current traffic flow information respectively based on the preset weight coefficient and the current traffic flow information, and obtain the flow proportion information;

[0124] A traffic flow level acquisition subunit, configured to obtain the traffic flow levels of the crosswalk, the single-lane road section, and the near-intersection road section respectively based on the flow proportion information;

[0125] A target control instruction generation subunit, configured to generate a target control instruction for the signal lamp based on the traffic flow level.

[0126] In one embodiment, the traffic flow level acquisition subunit includes:

[0127] A traffic flow level division subunit, configured to divide the traffic flow level into high flow, medium flow, and low flow according to the proportion ranking of the pedestrian flow in the crosswalk, the vehicle flow in each incoming single road section, and the vehicle flow in each near intersection road section.

[0128] In one embodiment, the target control instruction generation module further includes:

[0129] A database update unit, configured to update the road condition database based on the target control instruction and the current traffic flow information.

[0130] It should be noted that those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described device and each module can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.

[0131] The above device can be implemented in the form of a computer program, and this computer program can run on a computer device as shown in Figure 8 shown.

[0132] Please refer to Figure 8 , Figure 8 which is a schematic block diagram of the structure of a computer device provided by an embodiment of the present application. This computer device can be a server.

[0133] Refer to Figure 8 , this computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the memory can include a non-volatile storage medium and an internal memory.

[0134] The non-volatile storage medium can store an operating system and a computer program. This computer program includes program instructions, and when the program instructions are executed, the processor can be made to execute any control method of the traffic signal lamp system.

[0135] The processor is used to provide computing and control capabilities to support the operation of the entire computer device.

[0136] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When this computer program is executed by the processor, the processor can be made to execute any control method of the traffic signal lamp system.

[0137] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that Figure 8 the structure shown in Figure 8 is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0138] It should be understood that the processor may be a Central Processing Unit (CPU), and the processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0139] Wherein, in one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:

[0140] When receiving the traffic flow information of the relevant road sections collected by multiple said camera devices, generate the current traffic flow information of the intersection, and obtain the current cycle state of the signal lamp;

[0141] According to the current cycle state, determine that the current traffic flow information is compared with the historical traffic flow information in the road condition database to obtain the similarity between the current traffic flow information and the historical traffic flow information;

[0142] When the similarity is not less than a preset similarity threshold, obtain the signal lamp control instruction corresponding to the historical traffic flow information with the largest similarity as the target control instruction of the signal lamp;

[0143] Based on the target control instruction, control the signal lamp.

[0144] In one embodiment, when the processor realizes that the terminal device receives the traffic flow information of the relevant road sections collected by multiple said camera devices, it generates the current traffic flow information of the intersection for realizing:

[0145] Based on the first imaging device, collect the number of vehicles in the one-way road section for entry, and generate traffic flow information for the one-way road section for entry, where the one-way road section for entry is a one-way road section entering the intersection;

[0146] Based on the second imaging device, collect the number of vehicles in the near-intersection road section and the number of pedestrians in the crosswalk, and generate traffic flow information for the near-intersection road section and the crosswalk, where the near-intersection road section is a road on the one-way road section for entry that is less than a preset distance threshold from the intersection;

[0147] Based on the traffic flow information of the one-way road section for entry, the traffic flow information of the near-intersection road section, and the traffic flow information of the crosswalk, generate the current traffic flow information of the intersection.

[0148] In one embodiment, when the processor realizes determining, according to the current cycle state, the similarity between the current traffic flow information and the historical traffic flow information in the road condition database, it is used to realize:

[0149] Compare the traffic flow information of the one-way road section for entry, the near-intersection road section, and the crosswalk in the current traffic flow information with the traffic flow information of the one-way road section for entry, the near-intersection road section, and the crosswalk in the historical traffic flow information respectively, to obtain a first similarity, a second similarity, and a third similarity;

[0150] Based on the first similarity, the second similarity, and the third similarity, calculate the similarity between the current traffic flow information and the historical traffic flow information.

[0151] In one embodiment, after the processor realizes generating the current traffic flow information of the intersection and obtaining the current cycle state of the signal lamp when receiving the traffic flow information of the relevant road sections collected by multiple imaging devices, it is further used to realize:

[0152] When the current cycle state is within the signal lamp cycle, determine whether the current traffic flow information is a preset special traffic flow situation;

[0153] When the current traffic flow information is the special traffic flow situation, use the signal lamp control instruction corresponding to the special traffic flow situation as the target control instruction of the signal lamp.

[0154] In one embodiment, before the processor realizes determining whether the current traffic flow information is a preset special traffic flow situation when the current cycle state is within the signal lamp cycle, it is further used to realize:

[0155] Taking the signal light in the first preset direction being green, the traffic flow in the first preset direction being zero, and the traffic flow in the second preset direction not being zero as the first special traffic flow situation, and taking accelerating the signal light countdown as the first control instruction, where the traffic flow includes the traffic volume or pedestrian volume of the incoming single section, the near intersection section, and the crosswalk in the preset direction;

[0156] Taking the signal light in the first preset direction being green, the traffic flow in the first preset direction not being zero, and the traffic flow in the second preset direction being zero as the second special traffic flow situation, and taking extending the signal light countdown as the second control instruction;

[0157] Taking the traffic volume of vehicles in the first preset direction and the second preset direction being zero and the pedestrian volume not being zero as the third special traffic flow situation, and taking the pedestrian signal light as green and the vehicle signal light as red as the third control instruction.

[0158] In one embodiment, after the processor realizes comparing the current traffic flow information with the historical traffic flow information in the road condition database according to the current cycle state and obtaining the similarity between the current traffic flow information and the historical traffic flow information, it is further used to realize:

[0159] When the similarity is less than the similarity threshold, generating a target control instruction for the signal based on a preset weight coefficient and the current traffic flow information.

[0160] In one embodiment, when the processor realizes obtaining the target control instruction for the signal based on a preset weight coefficient and the current traffic flow information, it is used to realize:

[0161] Based on the preset weight coefficient and the current traffic flow information, respectively calculating the proportion of the pedestrian flow in the crosswalk, the traffic volume of vehicles in each incoming single section, and the traffic volume of vehicles in each near intersection section in the current traffic flow information to obtain traffic volume proportion information;

[0162] Based on the traffic volume proportion information, respectively obtaining the traffic flow levels of the crosswalk, the incoming single section, and the near intersection section;

[0163] Based on the traffic flow levels, generating a target control instruction for the signal light.

[0164] In one embodiment, when the processor realizes respectively obtaining the traffic flow levels of the crosswalk, the incoming single section, and the near intersection section based on the traffic volume proportion information, it is used to realize:

[0165] According to the proportion rankings of the pedestrian flow in the crosswalk, the traffic flow in each single incoming road section, and the traffic flow in each near - entrance road section, the traffic flow level is divided into high flow, medium flow, and low flow.

[0166] In one embodiment, when the similarity is less than a preset similarity threshold and the processor obtains the target control instruction of the signal based on the preset weight coefficient and the current traffic flow information, the processor is further configured to:

[0167] Update the road condition database based on the target control instruction and the current traffic flow information.

[0168] An embodiment of the present application also provides a computer - readable storage medium. The computer - readable storage medium stores a computer program, and the computer program includes program instructions. The processor executes the program instructions to implement any one of the control methods of the traffic signal system provided by the embodiments of the present application.

[0169] Wherein, the computer - readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, such as the hard disk or memory of the computer device. The computer - readable storage medium may also be an external storage device of the computer device, such as a plug - in hard disk, a SmartMedia Card (SMC), a Secure Digital (SD) card, a Flash Card, etc., equipped on the computer device.

[0170] As described above, the above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A control method for a traffic signal system, characterized in that, The traffic signal system includes a terminal device, multiple camera devices, and multiple signal lights. The terminal device, the multiple camera devices, and the multiple signal lights are all equipped with a preset operating system. Based on the operating system, the terminal device, the multiple camera devices, and the multiple signal lights are connected through a distributed soft bus. The terminal device stores a road condition database, which is used to record the historical traffic flow information of the intersection and the signal light control instructions corresponding to the historical traffic flow information. The multiple camera devices include a first camera device for collecting the number of vehicles entering a single section and a second camera device for collecting the number of vehicles in the approach section and the number of pedestrians in the crosswalk; the control method includes: When receiving the traffic flow information of the relevant sections collected by the multiple camera devices, generating the current traffic flow information of the intersection and obtaining the current cycle state of the signal lights; According to the current cycle state, comparing the current traffic flow information with the historical traffic flow information in the road condition database to obtain the similarity between the current traffic flow information and the historical traffic flow information; When the similarity is not less than a preset similarity threshold, obtaining the signal light control instruction corresponding to the historical traffic flow information with the largest similarity as the target control instruction of the signal lights; Controlling the signal lights based on the target control instruction; Wherein, after generating the current traffic flow information of the intersection and obtaining the current cycle state of the signal lights when receiving the traffic flow information of the relevant sections collected by the multiple camera devices, it further includes: When the current cycle state is within the signal light cycle, determining whether the current traffic flow information is a preset special traffic situation; When the current traffic flow information is the special traffic situation, taking the signal light control instruction corresponding to the special traffic situation as the target control instruction of the signal lights; Wherein, before determining whether the current traffic flow information is a preset special traffic situation when the current cycle state is within the signal light cycle, it further includes: Taking the signal light of the first preset direction being green, the traffic flow in the first preset direction being zero, and the traffic flow in the second preset direction not being zero as the first special traffic situation, and taking accelerating the signal light countdown as the first control instruction, wherein the traffic flow includes the traffic volume or pedestrian volume on the single section, approach section, and crosswalk in the preset direction; Taking the signal light of the first preset direction being green, the traffic flow in the first preset direction not being zero, and the traffic flow in the second preset direction being zero as the second special traffic situation, and taking extending the signal light countdown as the second control instruction; Taking the traffic volume in the first preset direction and the second preset direction being zero and the pedestrian volume not being zero as the third special traffic situation, and taking the pedestrian signal light as green and the vehicle signal light as red as the third control instruction.

2. The control method of the traffic signal system according to claim 1, wherein The relevant road sections include the single-lane approach section, the near-intersection section, and the crosswalk. When the terminal device receives the traffic flow information of the relevant road sections collected by multiple camera devices, it generates the current traffic flow information of the intersection, including: Based on the first camera device, collect the number of vehicles in the single-lane approach section, and generate the traffic flow information of the single-lane approach section, where the single-lane approach section is a one-way road section leading into the intersection; Based on the second camera device, collect the number of vehicles in the near-intersection section and the number of pedestrians in the crosswalk, and generate the traffic flow information of the near-intersection section and the crosswalk, where the near-intersection section is a road section on the single-lane approach section that is less than a preset distance threshold away from the intersection; Based on the traffic flow information of the single-lane approach section, the traffic flow information of the near-intersection section, and the traffic flow information of the crosswalk, generate the current traffic flow information of the intersection.

3. The control method of the traffic signal system according to claim 1, characterized in that, After comparing the current traffic flow information with the historical traffic flow information in the road condition database according to the current cycle state to obtain the similarity between the current traffic flow information and the historical traffic flow information, it includes: Compare the traffic flow information of the single-lane approach section, the near-intersection section, and the crosswalk in the current traffic flow information with the traffic flow information of the single-lane approach section, the near-intersection section, and the crosswalk in the historical traffic flow information respectively to obtain the first similarity, the second similarity, and the third similarity; Based on the first similarity, the second similarity, and the third similarity, calculate the similarity between the current traffic flow information and the historical traffic flow information.

4. The control method of the traffic signal system according to claim 1, characterized in that, After comparing the current traffic flow information with the historical traffic flow information in the road condition database according to the current cycle state to obtain the similarity between the current traffic flow information and the historical traffic flow information, it further includes: When the similarity is less than the similarity threshold, generate the target control instruction for the signal based on the preset weight coefficient and the current traffic flow information.

5. The control method of the traffic signal system according to claim 4, characterized in that, Obtaining the target control instruction for the signal based on the preset weight coefficient and the current traffic flow information includes: Based on the preset weight coefficient and the current traffic flow information, calculate the proportion of the pedestrian flow in the crosswalk, the vehicle flow in each single-lane approach section, and the vehicle flow in each near-intersection section in the current traffic flow information respectively to obtain the flow proportion information; Based on the flow proportion information, obtain the traffic flow levels of the crosswalk, the single-lane approach section, and the near-intersection section respectively; Based on the traffic flow levels, generate the target control instruction for the signal light.

6. The control method of the traffic signal system according to claim 5, characterized in that, Obtaining the traffic flow levels of the crosswalk, the single-lane approach section, and the near-intersection section respectively based on the flow proportion information includes: According to the proportion ranking of the pedestrian flow in the crosswalk, the vehicle flow in each single-lane approach section, and the vehicle flow in each near-intersection section, divide the traffic flow level into high flow, medium flow, and low flow.

7. The control method of the traffic signal system according to claim 4, wherein, After obtaining the target control instruction of the signal based on the preset weight coefficient and the current traffic flow information when the similarity is less than the preset similarity threshold, the method further includes: Updating the road condition database based on the target control instruction and the current traffic flow information.

8. A control device for a traffic signal system, characterized in that, Including: A traffic flow information acquisition module, configured to generate the current traffic flow information of an intersection and obtain the current cycle state of the signal light when receiving the traffic flow information of a relevant road section collected by a plurality of camera devices; A similarity acquisition module, configured to compare the current traffic flow information with the historical traffic flow information in the road condition database according to the current cycle state, and obtain the similarity between the current traffic flow information and the historical traffic flow information; A target control instruction acquisition module, configured to obtain the target control instruction of the signal based on the preset weight coefficient and the current traffic flow information when the similarity is less than the preset similarity threshold; A signal light control module, configured to control the signal light based on the target control instruction; The control device of the traffic signal light system further includes a target control instruction generation module, and the target control instruction generation module includes: A special traffic condition judgment unit, configured to judge whether the current traffic flow information is a preset special traffic condition when the current cycle state is within the signal light cycle; A target control instruction determination unit, configured to use the signal light control instruction corresponding to the special traffic condition as the target control instruction of the signal light when the current traffic flow information is the special traffic condition; The target control instruction determination module further includes: A first special condition determination unit, configured to use the signal light of a first preset direction being green, the traffic flow of the first preset direction being zero, and the traffic flow of a second preset direction not being zero as a first special traffic condition, and use accelerating the signal light countdown as a first control instruction, where the traffic flow includes the traffic volume or pedestrian volume of the incoming single road section, the near intersection section, and the crosswalk in the preset direction; A second special condition determination unit, configured to use the signal light of the first preset direction being green, the traffic flow of the first preset direction not being zero, and the traffic flow of the second preset direction being zero as a second special traffic condition, and use extending the signal light countdown as a second control instruction; A third special condition determination unit, configured to use the traffic volume of the first preset direction and the second preset direction being zero and the pedestrian volume not being zero as a third special traffic condition, and use setting the pedestrian signal light to green and the vehicle signal light to red as a third control instruction.

9. A computer device, characterized in that, The computer device includes a memory and a processor; The memory is used for storing a computer program; The processor is configured to execute the computer program and implement the control method of the traffic signal light system according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to implement the control method of the traffic signal system according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Traffic signal lamp with functions of intelligent control and traffic flow data storage

    CN114973661A