WO2018232896A1 - Intelligent traffic light control method and device - Google Patents

Intelligent traffic light control method and device Download PDF

Info

Publication number
WO2018232896A1
WO2018232896A1 PCT/CN2017/096969 CN2017096969W WO2018232896A1 WO 2018232896 A1 WO2018232896 A1 WO 2018232896A1 CN 2017096969 W CN2017096969 W CN 2017096969W WO 2018232896 A1 WO2018232896 A1 WO 2018232896A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
time period
intersection
traffic light
light
Prior art date
Application number
PCT/CN2017/096969
Other languages
French (fr)
Chinese (zh)
Inventor
杜光东
Original Assignee
深圳市盛路物联通讯技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市盛路物联通讯技术有限公司 filed Critical 深圳市盛路物联通讯技术有限公司
Publication of WO2018232896A1 publication Critical patent/WO2018232896A1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/08Controlling traffic signals according to detected number or speed of vehicles
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/081Plural intersections under common control

Definitions

  • the present invention relates to the field of security control technologies, and in particular, to a traffic light intelligent control method and apparatus.
  • the existing traffic lights are on and off at a fixed time, that is, the green letter ratio is fixed.
  • the setting of the traffic lights is to ensure that the vehicles at each intersection can be in an orderly manner, the traffic is safe.
  • there is currently no vehicle in the north-south direction and many vehicles in the east-west direction are waiting in line.
  • the green light in the north-south direction has not expired, the corresponding red light in the east-west direction needs to be kept on for a while.
  • the vehicles leading to the east-west direction are unable to travel, and the roads in the north-south direction are idle. As a result, it is a waste of resources.
  • the present invention provides a traffic light intelligent control method and apparatus.
  • the present invention provides a traffic light intelligent control method, the method comprising:
  • the light-off time of the traffic lights in each of the at least one intersection in a fixed time period is respectively sent to the corresponding terminal, so that the terminal controls the traffic light on and off state and the on-off time of the corresponding at least one intersection.
  • the traffic light intelligent control method provided by the embodiment of the invention periodically calculates the traffic flow information of each crossroad in a fixed time period, and according to the traffic flow information of each crossroad in a fixed time period. Periodically control the lighting time of each traffic light in a fixed period of time. Further control of the green light and red light of the traffic light can make full use of the traffic passage. Avoid waste of resources and reduce traffic congestion.
  • the first intersection includes a left-turning traffic light
  • calculating the first intersection left according to the left turn traffic flow information in the fixed time period of the first intersection The time of turning off the traffic lights, including:
  • the first crossroad includes a right turn traffic light
  • the time of turning off the right traffic light including:
  • the beneficial technical effect of adopting the above further solution is that the way of counting the left turn or the right turn to the traffic flow can be obtained by counting the average value of the traffic flow information in the historical time period as the future left turn or right turn traffic flow.
  • Reference data. And this data is an average.
  • the present invention provides a traffic light intelligent control device, the device comprising:
  • a receiving unit configured to receive, in real time, traffic flow information sent by a terminal corresponding to at least one intersection
  • a statistical unit configured to periodically count traffic flow information in a fixed time period of each of the at least one intersection
  • the processing unit is configured to calculate, according to the traffic flow information in each of the at least one intersection of the at least one intersection, the traffic light of each of the at least one intersection in a fixed period of time time;
  • a sending unit configured to send, to each terminal, a traffic light of each of the at least one intersection in a fixed period of time to be sent to the corresponding terminal, so that the terminal controls the traffic light of the corresponding at least one intersection to be off. And light up time.
  • the traffic light intelligent control device provided by the embodiment of the invention periodically counts the traffic flow information of each crossroad in a fixed time period, and the processing unit is based on each crossroad in a fixed time period.
  • the traffic flow information calculates the on and off time of the traffic lights for each fixed period of time. Further control of the green light and red light of the traffic light can make full use of the traffic passage. Avoid waste of resources and reduce traffic congestion.
  • the device further includes: a receiving unit, configured to receive indication information that is uploaded by the vehicle that is about to turn left during a fixed period of time;
  • the statistical unit is specifically configured to: count the number of vehicles that are about to turn left according to the indication information;
  • the processing unit is specifically configured to: calculate a ratio between the number of vehicles that are about to turn left and the total traffic volume of the first intersection, and compare the ratio between the number of vehicles that are about to turn left and the total traffic of the first intersection as the left The green letter ratio of the traffic light to the fixed time period;
  • a receiving unit configured to receive indication information uploaded by the vehicle that is about to turn right during a fixed time period
  • the statistical unit is specifically configured to: count the number of vehicles that are about to turn right according to the indication information;
  • the processing unit is specifically configured to: calculate a ratio between the number of vehicles that are about to turn right and the total traffic volume of the first intersection, and compare the ratio between the number of vehicles that are about to turn right and the total traffic of the first intersection as the right The green letter ratio of the traffic light to the fixed time period;
  • An advantageous technical effect of adopting the above further solution is that if the statistical unit counts the left turn or the right turn to the traffic flow, the average value of the traffic flow information in the historical time period can be counted as the future left turn or right turn. Reference data for traffic flow. And this data is an average. In order to be able to more accurately adjust the left turn or right turn to the traffic light on and off time, it can also be based on the user's real-time uploading instructions that need to turn left or turn right. Then accurately count the number of vehicles that are about to turn left or right, and use the processing unit to calculate the time when the corresponding green light is off.
  • FIG. 1 is a system architecture diagram of a traffic light intelligent control system according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a traffic light intelligent control method according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another traffic light intelligent control method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of a method for calculating a light-off time of a traffic light at a first intersection according to traffic flow information of a first intersection during a fixed time period;
  • Figure 5 shows the first calculation when the first intersection includes four traffic passages of east, west, south and north. Schematic diagram of the method for the light-off time of a traffic light at a crossroad;
  • FIG. 6 is a diagram showing the light-off time of the traffic light at the first intersection according to the traffic information of the left turn to the traffic flow in the fixed time period when the first crossroad includes the left turn traffic light. Schematic diagram of the method flow;
  • FIG. 7 is a flow chart showing another method for calculating the light-off time of the traffic light of the first crossroad when the first crossroad includes the left turn traffic light;
  • FIG. 8 is a diagram showing the light-off time of the traffic light at the first crossroad according to the right turn traffic flow information of the first crossroad in a fixed time period when the first crossroad includes the right turn traffic light. Schematic diagram of the method flow;
  • FIG. 9 is a flow chart showing another method for calculating the light-off time of the traffic light at the first intersection when the first intersection includes a right turn-to-light traffic light;
  • FIG. 10 is a schematic structural diagram of another traffic light intelligent control device according to an embodiment of the present invention.
  • FIG. 1 is a system architecture diagram of a traffic light intelligent control system according to an embodiment of the present invention.
  • the system includes at least one image collector 10, at least one terminal 20, an IoT gateway 30, a server 40, and at least one traffic light 50.
  • at least one image collector 10 is installed with different intersections for collecting traffic flow information of at least one intersection.
  • the traffic information is transmitted to the terminal 20.
  • the number of terminals 20 may be the same as the number of intersections. That is, each intersection includes a terminal 20 for processing image information collected by at least one image collector included in the intersection.
  • the terminal 20 transmits the processed image information to the server 40 through the Internet of Things gateway 30.
  • the traffic flow information of each intersection is periodically counted by the server 40. And according to the corresponding statistical data, calculate the on and off time of the traffic light 50 of each intersection. The light-off time of the traffic light 50 of each intersection is then sent to the terminal 20 corresponding to each intersection, respectively. So that the terminal of the intersection controls the lighting time of the corresponding traffic light.
  • an embodiment of the present invention further provides a traffic light intelligent control method.
  • 2 is a schematic flowchart of a traffic light intelligent control method according to an embodiment of the present invention. The method includes:
  • Step 210 Receive traffic flow information sent by the terminal corresponding to the at least one intersection in real time.
  • the image collector in the at least one intersection collects the traffic information of the corresponding intersection in real time, and transmits the information to the terminal in the form of an image.
  • the terminal preprocesses the image information and sends it to the server.
  • Step 220 Periodically count traffic flow information in a fixed time period of each of the at least one intersection.
  • the terminal sends traffic information to the server in real time
  • there may be data updates in real-time data For example, the traffic volume of the previous second is 100, and the next one second adds 5 cars to the traffic. That is, the traffic volume has changed to 105.
  • the server is not able to control the lighting time of the traffic lights in real time, then the traffic flow information in a fixed time period can be counted, and then the traffic light on and off time is controlled according to the traffic flow information in a fixed time period.
  • Step 230 Calculate, according to the traffic flow information in each of the crossroads of each of the at least one intersection, the time of the traffic light of each of the at least one intersection in a fixed period of time.
  • Step 240 Send the blinking time of each traffic light of each of the at least one intersection to the corresponding terminal in a fixed time period.
  • the corresponding terminal may be within a fixed time period according to the intersection sent by the server.
  • the lighting time of the traffic light controls the lighting time of the traffic light and the status of the lighting.
  • the traffic light intelligent control method provided by the embodiment of the invention periodically calculates the traffic flow information of each crossroad in a fixed time period, and according to the traffic flow information of each crossroad in a fixed time period. Periodically control the lighting time of each traffic light in a fixed period of time. Further control of the green light and red light of the traffic light can make full use of the traffic passage. Avoid waste of resources and reduce traffic congestion.
  • FIG. 3 is a schematic flowchart diagram of another traffic light intelligent control method according to an embodiment of the present invention.
  • the description is mainly made by taking a crossroad as an example, that is to say, the present embodiment is mainly directed to controlling the traffic light on and off time and the on-off state of only one crossroad.
  • the method includes: Steps 310 to 320 are the same as steps 210 to 220 of the foregoing embodiment. The description will not be repeated here.
  • Step 330 Calculate the time of the traffic light of the first crossroad in the fixed time period according to the traffic flow information in the fixed time period of the first crossroad.
  • the first crossroad includes a first traffic light that controls the passage of the east-west vehicle and a second traffic light that controls the traffic of the north-south direction.
  • the lighting time of the traffic light at the intersection includes the following steps:
  • step 410 the traffic volume in the east-west direction and the traffic flow in the north-south direction and the total traffic volume at the first intersection are respectively counted in a fixed time period.
  • the server first analyzes the traffic flow information in the east-west direction and the traffic flow information in the north-south direction according to the traffic flow information sent by the terminal. Then, the traffic flow in the east-west direction and the traffic flow in the north-south direction in a fixed time period are separately counted. At the same time, the total traffic volume at the first crossroads is counted. Of course, the sum of the traffic at the first crossroads has actually been implemented in step 320. Here, however, the result of the extraction in step 420 is called.
  • Step 420 Calculate a first ratio between the traffic flow in the east-west direction and the total traffic flow at the first intersection in a fixed time period, and use the first ratio as the green signal ratio of the first traffic light in a fixed time period.
  • the sum of the traffic flow at a crossroad is fixed for a fixed period of time.
  • the traffic flow in the east-west direction and the traffic flow in the north-south direction are also fixed. Then, if there is too much traffic in a certain direction, you can control the green light in this direction to be slightly longer according to a certain ratio. On the contrary, if the traffic volume in the other direction is slightly less, the time for the green light in this direction can be controlled to be slightly shorter according to a certain ratio.
  • the specific implementation is based on proportional calculation. That is, the first ratio between the traffic flow in the east-west direction and the total traffic flow at the first intersection in a fixed time period is calculated, and the first ratio is used as the green signal ratio of the first traffic light in a fixed time period.
  • the server may directly send indication information to the terminal to indicate that the terminal controls the green light in the east-west direction.
  • the green light that controls the north-south direction is bright.
  • Step 430 Calculate a light-off time of the first traffic light in a fixed time period according to a green signal ratio of the first traffic light in a fixed time period.
  • the fixed time period here can be understood as the period in which the traffic light is on and off.
  • the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  • the time of the first traffic light in the fixed time period is calculated, that is, the first traffic light is calculated by multiplying the green signal ratio by a fixed time period.
  • the green light in the time is basically a fixed value, for example, the fixed time period is 1 minute, and the yellow light is set to 5 seconds. Then, the remaining time in the fixed time period is the time when the red light in the first traffic light is on.
  • step 440 calculating a second ratio between the traffic flow in the north-south direction and the total traffic volume at the first crossroad in the fixed time period, and using the second ratio as the green letter of the second traffic light in the fixed time period ratio.
  • the server may directly send indication information to the terminal to indicate that the terminal controls the green light in the north-south direction.
  • the green light that controls the east-west direction is bright.
  • step 420 first calculating a second ratio between the traffic flow in the north-south direction and the total traffic volume at the first intersection in a fixed time period, and then using the ratio as a fixed time period, The green letter ratio of the two traffic lights.
  • Step 450 Calculate a lighting time of the second traffic light in a fixed time period according to a green signal ratio of the second traffic light in a fixed time period.
  • the fixed time period is the period during which the traffic light is on.
  • the time of the second traffic light in the fixed time period is calculated, that is, the second traffic light is calculated by multiplying the green signal ratio by a fixed time period.
  • the green light in the time is basically a fixed value, for example, the fixed time period is 1 minute, and the yellow light is set to 5 seconds. Then, the remaining time in the fixed time period is the time when the red light in the second traffic light is on.
  • Step 340 Send the light-off time of the first traffic light of the first intersection in the fixed time period and the light-off time of the light-off time of the second traffic light in the fixed time period to the corresponding terminal respectively.
  • the lighting time of the first traffic light of the first intersection at a fixed time period and the lighting time of the second traffic light during a fixed time period are sent to the corresponding terminal.
  • the corresponding terminal can control the on/off time and the off state of the traffic light according to the time when the traffic light of the first traffic light and the second traffic light of the intersection sent by the server are in a fixed period of time.
  • the traffic light intelligent control method provided by the embodiment of the invention separately calculates the traffic flow of the traffic channel in the east-west direction, the north-south direction, and the total traffic flow of the first crossroad intersection.
  • the first ratio between the traffic flow of the traffic channel in the east-west direction and the total traffic volume of the first crossroad is calculated, and the second ratio between the traffic flow of the traffic channel in the north-south direction and the total traffic volume of the first crossroad is calculated.
  • the first ratio is used as the green letter ratio of the traffic light corresponding to the traffic channel in the east-west direction, and the time of the first traffic light in the fixed time period is further calculated.
  • the second ratio is used as the green letter ratio of the traffic light corresponding to the traffic channel in the north-south direction, and the lighting time of the second traffic light in the fixed time period is further calculated.
  • the lighting time of traffic lights in different directions can be periodically adjusted to ensure that traffic jams are avoided as much as possible under the premise of full utilization of traffic channels.
  • the method of controlling the traffic light on and off and the off state of the first intersection the main steps of the method are the same as the previous one.
  • the method steps in the embodiment are the same or similar, and the only difference is that in step 330, the traffic light of the first crossroad in the fixed time period is calculated according to the traffic flow information in the fixed time period of the first crossroad intersection. When the time is off, the specific calculation process is different.
  • step 330 when the first intersection includes four traffic passages of east, west, south and north, the specific execution process of step 330. Specifically, as shown in Figure 5.
  • the process can include:
  • step 510 the traffic flow in the east, west, south, and north directions in the fixed time period and the total traffic flow at the first intersection are respectively counted.
  • the server first analyzes the traffic flow information in the east, west, south, and north directions according to the traffic flow information sent by the terminal. Then, the traffic flow in the east, west, south, and north directions in a fixed time period is separately counted. At the same time, the total traffic volume at the first crossroads is counted.
  • the above implementation For example, the sum of the traffic at the first crossroads has actually been implemented in step 420. Here, however, the result of the extraction in step 420 is called.
  • Step 520 respectively calculating the ratio of the traffic flow in the east, west, south, and north directions in the fixed time period to the sum of the traffic flows at the first crossroad.
  • the sum of the traffic flow at a crossroad is fixed for a fixed period of time.
  • the traffic flow in the east and west directions is fixed.
  • the traffic flow in the south and north directions is also fixed.
  • the traffic volume in the other direction is slightly less, the time for the green light in this direction can be controlled to be slightly shorter according to a certain ratio.
  • the specific implementation is based on proportional calculation. That is, the ratio between the traffic flow in the east, west, south, and north directions and the sum of the traffic at the first crossroad in the fixed time period is calculated separately.
  • Step 530 respectively, the ratio between the traffic flow in the east, west, south, and north directions in the fixed time period and the total traffic flow at the first intersection is used as the traffic light of the corresponding direction within a fixed time period. Green letter ratio.
  • the server may directly send the indication information to the terminal to indicate that the terminal controls the green light of the direction to be off. At the same time, the green light in the opposite direction is controlled.
  • Step 540 Calculate the time of the traffic light of the corresponding direction in a fixed time period according to the green signal ratio of the traffic light of the corresponding direction in a fixed time period.
  • the fixed time period here can be understood as the period in which the traffic light is on and off.
  • the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  • the time of the four directions of east, west, south and north in the fixed time period is calculated accordingly, that is, The green signal ratio corresponding to each of the four directions of east, west, south, and north is multiplied by a fixed time period, and the green light in the traffic light corresponding to the direction is calculated.
  • the time when the yellow light is on is basically a fixed value, for example, the fixed time period is 1 minute, and the yellow light is set to 5 seconds. Then, the remaining time in the fixed time period is the time when the red light in the first traffic light is on.
  • the traffic light intelligent control method provided by the embodiment of the invention separately calculates the traffic flow of the traffic passage in the four directions of east, west, south and north, and the sum of the traffic flow of the first crossroad intersection. And calculate the ratio between the traffic flow of the traffic channel in the east, west, south and north and the total traffic flow at the first crossroad.
  • the ratio calculated in each direction is used as the green signal ratio of the traffic light corresponding to the traffic lane in the direction, and the lighting time of the traffic light in the direction is determined in a fixed period of time. In this way, the lighting time of traffic lights in different directions can be periodically adjusted to ensure that traffic jams are avoided as much as possible under the premise of full utilization of traffic channels.
  • the first intersection further includes a left turn traffic light and/or a right turn traffic light
  • another method of controlling the traffic light on and off and the light on and off state of the first intersection is required.
  • the main steps of the method are the same as or similar to the method steps in the previous embodiment, and the only difference is that in step 330, according to the traffic flow information in the fixed time period of the first crossroad, the calculation is performed. The specific calculation process is different when the traffic light of a crossroad is in the fixed time period.
  • the first cross intersection is calculated according to the left turn traffic flow information of the first intersection in a fixed period of time.
  • the flow of the traffic light is shown in Figure 6.
  • the method includes:
  • Step 610 Extract left traffic traffic information within at least two preset time periods.
  • the image collected from the image collector cannot be judged. Then, how to calculate the time when the traffic light is turned off when the vehicle turns to the left during a fixed period of time.
  • the traffic flow to the left in the statistical historical time period (ie, within the preset time period) is mainly used, and then, according to the traffic flow in the historical time period, the vehicle is turned to the left during the fixed time period.
  • the traffic lights are on and off.
  • the intersection is like the number of left traffic.
  • step 620 the total traffic volume of the first intersection in a fixed time period is counted.
  • step 420 the process of counting the sum of the traffic at the first intersection in a fixed time period has actually been completed in step 420. And here is just an extraction.
  • Step 630 Calculate a first average value of the left turn traffic flow information in at least two preset time periods.
  • the daily traffic volume during the historical time period may not be exactly the same, but it will not change too much. In general, it should be based on a certain value and float above and below this value.
  • at least two preset time periods can be calculated, that is, a first average value of the left-turn traffic flow information in the historical time period.
  • the preset time period and the fixed time period are the same time period of different periods, and the preset time period is a time period within the previously occurring period. That is, for example, the time period from 8:00 am to 8:01 am every day in a month.
  • the cycle is one day. 30 cycles per month (assuming 30 days a month).
  • the preset time period can be understood as the time period from 8:00 to 8:01 every day in the previous month.
  • the fixed time period is today's 8:00 to 8:01 this time period.
  • a ratio between the first average and the sum of the traffic at the first intersection is calculated. And the ratio between the first average and the sum of the traffic at the first intersection is taken as the green letter ratio of the left turn to the traffic light for a fixed period of time.
  • the sum of the traffic flow at a crossroad is fixed for a fixed period of time. Then, like If there is too much traffic in one direction, you can control the green light in this direction to be slightly longer according to a certain ratio. On the contrary, if the traffic volume in the other direction is slightly less, the time for the green light in this direction can be controlled to be slightly shorter according to a certain ratio.
  • the specific implementation is based on proportional calculation. That is, the average value of the traffic flow turning to the left in the preset time period is taken as the ratio of the traffic flow to the left in the fixed time period, and the sum of the traffic flow at the first crossroad in the fixed time period, as the left turn traffic The green letter ratio of the lamp during a fixed period of time.
  • Step 650 Calculate the time of the left turn to the traffic light for a fixed period of time according to the green letter ratio of the left turn to the traffic light for a fixed period of time.
  • the fixed time period here can also be understood as the period in which the traffic light is on and off.
  • the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  • the green signal ratio of the left turn to the traffic light in a fixed time period the light-off time in the left direction in the fixed time period is calculated correspondingly, that is, the green signal ratio corresponding to the left direction is multiplied by the fixed time period, and the calculation is performed.
  • the time when the green light in the traffic light corresponds to it.
  • the time when the yellow light is on is basically a fixed value, for example, the fixed time period is 1 minute, and the yellow light is set to 5 seconds. Then, the remaining time in the fixed time period is the time when the red light in the first traffic light is on.
  • the above method of calculating the left turn traffic flow is to adopt a first average value of the left turn traffic flow during the statistical historical time period as a way of turning the left traffic flow rate into the fixed time period. And calculating the green letter ratio of the left turn to the traffic light in a fixed period of time by the ratio between the first average and the sum of the traffic at the first intersection in the fixed time period.
  • the method includes:
  • Step 710 Receive indication information uploaded by a vehicle that is about to turn left during a fixed period of time.
  • the indication information is first sent to the server.
  • the indication information is used to indicate that the vehicle needs to turn left.
  • Step 720 counting the number of vehicles that are about to turn left according to the indication information.
  • the server After receiving the indication information sent by the vehicle that is about to turn left, the server can count the number of vehicles that are about to turn left.
  • Step 730 calculating a ratio between the number of vehicles that are about to turn left and the sum of the traffic at the first intersection, and taking the ratio between the number of vehicles that are about to turn left and the sum of the traffic at the first intersection as a left turn traffic The green letter ratio of the lamp during a fixed period of time.
  • the ratio between the number of vehicles to be left-turned and the total traffic volume of the first intersection is statistically calculated as a left turn to the traffic light for a fixed period of time.
  • step 740 according to the green letter ratio of the left turn to the traffic light for a fixed period of time, the time of turning off the left turn to the traffic light for a fixed period of time is calculated.
  • the right turn is calculated according to the right turn traffic flow information of the first intersection in a fixed period of time.
  • the flow of the traffic light is shown in Figure 8.
  • the method includes:
  • Step 810 extracting right turn traffic flow information within at least two preset time periods.
  • step 820 the total traffic volume of the first crossroad in a fixed time period is counted.
  • Step 830 Calculate a second average value of right turn traffic flow information in at least two preset time periods.
  • a ratio between the second average and the sum of the traffic at the first intersection is calculated. And the ratio between the second average and the sum of the traffic at the first intersection is taken as the green letter ratio of the right turn to the traffic light for a fixed period of time.
  • Step 850 calculates the light-off time of the right turn to the traffic light for a fixed period of time according to the green letter ratio of the right turn to the traffic light for a fixed period of time.
  • the above calculation process is similar to the method step of calculating the turn-off time of the left turn traffic light in a fixed period of time, and will not be described again here.
  • the above method of calculating the right turn traffic is to adopt a second average value of the right turn to the traffic flow during the statistical history period as a way of turning right to the traffic flow value within a fixed time period. And calculating the green letter ratio of the right turn to the traffic light for a fixed period of time by the ratio between the second average and the sum of the traffic at the first intersection in the fixed time period.
  • the method includes:
  • Step 910 Receive indication information uploaded by a vehicle that is about to turn right within a fixed period of time.
  • the indication information is first sent to the server.
  • the indication information is used to indicate that the vehicle needs to turn right.
  • Step 920 counting the number of vehicles that are about to turn right according to the indication information.
  • the server After receiving the indication information sent by the vehicle that is about to turn right, the server can count the number of vehicles that are about to turn right.
  • Step 930 Calculate the ratio between the number of vehicles that are about to turn right and the sum of the traffic at the first intersection, and use the ratio between the number of vehicles that are about to turn right and the sum of traffic at the first intersection as the right turn traffic.
  • the ratio between the number of vehicles that are about to turn right and the total traffic volume of the first intersection is counted as a right turn to the traffic light for a fixed period of time.
  • step 940 according to the green letter ratio of the right turn to the traffic light for a fixed period of time, the time of turning off the right turn to the traffic light for a fixed period of time is calculated.
  • An intelligent control method for a traffic light may be different according to a direction of a traffic light. Calculate the lighting time of the traffic lights in different ways. The overall idea is to count the traffic flow information in different directions within a fixed time period, and the total traffic flow at the first crossroad. According to the ratio between the two, the green signal ratio of the traffic light in the corresponding direction is calculated, and the lighting time and the off state of the traffic light are further calculated.
  • the step A setting the first The traffic lights at a crossroad turn off the logic.
  • Step B Send the traffic light on and off to the terminal.
  • step B can be performed simultaneously with the step of "sending the off time of the traffic lights of each of the crossroads in at least one of the intersections to the corresponding terminal in a fixed period of time", that is, the time when the traffic light is turned off. And the traffic light is on and off and sent to the terminal. This ensures that different traffic lights are always working together. It is not in a state of disorder. So as not to cause the green light in different directions to be on or off at the same time. Or the unconventional phenomenon that the red light in different directions is on or off at the same time.
  • the traffic light including only one case is included in the first intersection, for example, a traffic light including only two directions of east, west, and north. Or, only include left turn and/or turn right to traffic lights and so on.
  • this is merely for the convenience of the reader and does not represent the actual situation of the actual solution of the present invention.
  • the above-mentioned east-west direction and north-south direction scheme can be combined with the scheme including left turn and/or right turn traffic light to form a complete scheme; or, the scheme including four directions of east, west, north and south can also be used. Combine with the left turn and / turn right to the traffic light to form a complete solution.
  • the calculation is the same as the above embodiment. It is only if the above situation is included, the green letter ratio of the traffic light in each direction may be reduced.
  • FIG. 10 is a schematic structural diagram of an intelligent control device for a traffic light according to an embodiment of the present invention.
  • the description is mainly made by taking a crossroad as an example. That is to say, this embodiment is mainly directed to controlling the traffic light on and off time and the on-off state of only one intersection.
  • the device includes: a receiving unit 1001, a statistic unit 1002, a processing unit 1003, and a sending unit 1004.
  • the receiving unit 1001 is configured to receive traffic flow information sent by the first intersection in real time.
  • the statistics unit 1002 is configured to periodically count traffic flow information in a fixed time period of the first intersection.
  • the processing unit 1003 is configured to calculate, according to the traffic flow information in the fixed time period of the first crossroad, the on/off time of the traffic light of the first crossroad during the fixed time period.
  • the sending unit 1004 is configured to: when the traffic light of the first crossroad is in a fixed period of time They are sent to the corresponding terminals separately.
  • the first crossroad includes a first traffic light that controls the passage of the east-west vehicle and a second traffic light that controls the traffic of the north-south direction.
  • the statistic unit 1002 is specifically configured to separately calculate the traffic flow in the east-west direction and the traffic flow in the north-south direction in the fixed time period, and the total traffic flow at the first crossroad.
  • the processing unit 1003 is specifically configured to calculate a first ratio between the traffic flow in the east-west direction and the total traffic volume of the first intersection in a fixed time period, and use the first ratio as the first traffic light in the fixed time period. Green letter ratio; and according to the green signal ratio of the first traffic light in a fixed period of time, calculating the time of the first traffic light in a fixed period of time;
  • the time of the second traffic light in the fixed time period is calculated.
  • the sending unit 1004 is specifically configured to: respectively, the on and off time of the first traffic light of the first crossroad in the fixed time period, and the light-off time of the second traffic light in the fixed time period Sending to the corresponding terminal, where the first crossroad intersection is any one of the at least one intersection, the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  • the unit 1002 is specifically configured to: separately calculate the traffic flow in the east, west, south, and north directions in a fixed time period, and the total traffic flow at the first crossroad.
  • the processing unit 1003 is specifically configured to: separately calculate a ratio between the traffic flow in the east, west, south, and north directions in a fixed time period, and the total traffic flow at the first crossroad;
  • the time of the traffic light of the corresponding direction is determined in a fixed time period.
  • the sending unit 1004 is specifically configured to: send, to the corresponding terminal, the lighting time of the traffic lights in the east, west, south, and north directions of the first intersection in a fixed time period to the corresponding terminal, where the first crossroad For any one of the at least one intersection, the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  • the device will also include an extraction unit 1005.
  • the first intersection includes a left turn to the traffic light.
  • the extracting unit 1005 is configured to extract left turn traffic flow information within at least two preset time periods.
  • the statistic unit 1002 is specifically configured to: count the total traffic volume of the first intersection in a fixed time period.
  • the processing unit 1003 is specifically configured to: calculate a first average value of the left turn traffic flow information in at least two preset time periods; calculate a ratio between the first average value and the sum of the first crossroad traffic flow; The ratio between the average value and the sum of the traffic at the first intersection is used as the green-to-signal ratio of the left turn to the traffic light for a fixed period of time; according to the green-to-signal ratio of the left turn to the traffic light for a fixed period of time, the left is calculated. Turning to the traffic light for a fixed period of time.
  • the sending unit 1004 is specifically configured to send the left turn to the traffic light for a fixed time period to be sent to the terminal.
  • the extracting unit 1005 is configured to extract right turn traffic flow information within at least two preset time periods.
  • the statistic unit 1002 is specifically configured to: count the total traffic volume of the first intersection in a fixed time period.
  • the processing unit 1003 is specifically configured to: calculate a second average value of the right turn traffic flow information in at least two preset time periods. Calculate the ratio between the second average and the sum of the traffic at the first intersection. And the ratio between the second average and the sum of the traffic at the first intersection is taken as the green letter ratio of the right turn to the traffic light for a fixed period of time.
  • the sending unit 1004 is specifically configured to: send the left turn to the traffic light in a fixed time period to the terminal; wherein, the preset time period and the fixed time period are the same time period of different periods, and the preset time period is The first intersection is a crossroad of any one of the at least one intersection, and the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  • the receiving unit 1001 is specifically configured to receive the indication information uploaded by the vehicle that is about to turn left within a fixed period of time.
  • the statistic unit 1002 is specifically configured to: count the number of vehicles that are about to turn left according to the indication information.
  • the processing unit 1003 is specifically configured to: calculate a ratio between the number of vehicles that are about to turn left and the total traffic of the first intersection, and compare the ratio between the number of vehicles that are about to turn left and the total traffic of the first intersection. Turn left to the green light ratio of the traffic light for a fixed period of time. According to the green letter ratio of the left turn to the traffic light for a fixed period of time, the time of turning off the traffic light to the traffic light for a fixed period of time is calculated.
  • the sending unit 1004 is specifically configured to send the left turn to the traffic light for a fixed time period to be sent to the terminal.
  • the receiving unit 1001 is configured to receive indication information that is uploaded by the vehicle that is about to turn right within a fixed period of time.
  • the statistic unit 1002 is specifically configured to: count the number of vehicles that are about to turn right according to the indication information.
  • the processing unit 1003 is specifically configured to: calculate a ratio between the number of vehicles that are about to turn right and the total traffic volume of the first intersection, and compare the ratio between the number of vehicles that are about to turn right and the total traffic of the first intersection. Turn right to the green light ratio of the traffic light for a fixed period of time. According to the green letter ratio of the right turn to the traffic light for a fixed period of time, calculate the time of the right turn to the traffic light for a fixed period of time.
  • the sending unit 1004 is specific For transmitting the right turn to the traffic light for a fixed time period to be sent to the terminal.
  • the traffic light intelligent control device has different processing modes according to the direction of the traffic light, and can calculate the light-off time of the traffic light in different manners.
  • the overall idea is to count the traffic flow information in different directions within a fixed time period, and the total traffic flow at the first crossroad. According to the ratio between the two, the green signal ratio of the traffic light in the corresponding direction is calculated, and the lighting time and the off state of the traffic light are further calculated.
  • a logic setting unit (shown as 1006 in FIG. 10) may be further included.
  • a logic setting unit is configured to set a traffic light on and off logic of the first intersection
  • the sending unit 1004 is further configured to send the traffic light on and off logic to the terminal, wherein the traffic light on/off logic is used to determine that one of the first crossroads or two green lights of the parallel reverse traveling lanes are in a bright state The red light of the other direction channel is on.
  • the logic light setting unit sets the lighting logic of the traffic light, thereby ensuring that different traffic lights are always working together. It is not in a state of disorder. So as not to cause the green light in different directions to be on or off at the same time. Or the unconventional phenomenon that the red light in different directions is on or off at the same time.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

An intelligent traffic light control method and device. The method comprises: receiving in real time traffic flow information sent by terminals corresponding to at least one intersection (210); periodically calculating vehicle flow information at each intersection among the at least one intersection within a fixed time period (220); respectively calculating, according to the vehicle flow information at each intersection among the at least one intersection within the fixed time period, the lighted time and unlighted time of the traffic light at each intersection among the at least one intersection within the fixed time period (230); and respectively sending the lighted time and unlighted time of the traffic light at each intersection among the at least one intersection within the fixed time period to the corresponding terminal (240). By means of this method, the lighted time and unlighted time of the traffic light within each fixed time period can be periodically controlled, and traffic roads can be fully utilized, avoiding resource waste and reducing traffic congestion.

Description

一种交通灯智能控制方法及装置Traffic light intelligent control method and device 技术领域Technical field
本发明涉及安全控制技术领域,尤其涉及一种交通灯智能控制方法及装置。The present invention relates to the field of security control technologies, and in particular, to a traffic light intelligent control method and apparatus.
背景技术Background technique
现有的交通灯亮灭时间都是固定的,也即是绿信比固定。虽然这样设定交通灯的亮灭是为了保证各交通路口的车辆能够有序同行,保证交通行驶安全。但是,在很多十字交叉路口中,例如南北方向当前没有车辆同行,而东西方向的车辆已经很多在排队等候。仅仅是因为南北方向的绿灯灭的时间没到,对应的,东西方向红灯还需要持续亮一段时间。导致了东西方向的车辆无法同行,而南北方向的道路处于空闲状态。如此一来,就造成了资源的浪费。The existing traffic lights are on and off at a fixed time, that is, the green letter ratio is fixed. Although the setting of the traffic lights is to ensure that the vehicles at each intersection can be in an orderly manner, the traffic is safe. However, in many crossroads, for example, there is currently no vehicle in the north-south direction, and many vehicles in the east-west direction are waiting in line. Just because the green light in the north-south direction has not expired, the corresponding red light in the east-west direction needs to be kept on for a while. The vehicles leading to the east-west direction are unable to travel, and the roads in the north-south direction are idle. As a result, it is a waste of resources.
而且,如果在上下班高峰时段,甚至还会由于红灯等待的时间过长,加剧某些路段拥堵的情况发生。那么,如何智能控制交通灯的亮灭时间,降低资源浪费,以及避免交通拥挤的发生,成为了亟待解决的技术问题。Moreover, if during the peak hours of commuting, even the waiting time for the red light is too long, the congestion of some road sections will be aggravated. Then, how to intelligently control the lighting time of the traffic lights, reduce the waste of resources, and avoid the occurrence of traffic congestion has become a technical problem to be solved urgently.
发明内容Summary of the invention
为解决上述技术问题,本发明提供了一种交通灯智能控制方法及装置。In order to solve the above technical problems, the present invention provides a traffic light intelligent control method and apparatus.
第一方面,本发明提供了一种交通灯智能控制方法,该方法包括:In a first aspect, the present invention provides a traffic light intelligent control method, the method comprising:
实时接收至少一个十字交叉路口对应的终端发送的车流量信息;Receiving traffic flow information sent by the terminal corresponding to at least one intersection in real time;
周期性统计至少一个十字交叉路口中每一个十字交叉路口固定时间段内的车流量信息;Periodically counting traffic flow information for a fixed period of time at each of the at least one intersection;
分别根据至少一个十字交叉路口中每一个十字交叉路口固定时间段内的车流量信息,计算至少一个十字交叉路口中每一个十字交叉路口在固定时间段内的交通灯的亮灭时间;Calculating, according to the traffic flow information in each of the crossroads of each of the crossroads, the traffic light of each of the at least one intersection in a fixed period of time;
将至少一个十字交叉路口中每一个十字交叉路口在固定时间段内的交通灯的亮灭时间分别发送至对应终端,以便终端控制对应的至少一个十字交叉路口的交通灯亮灭状态及亮灭时间。The light-off time of the traffic lights in each of the at least one intersection in a fixed time period is respectively sent to the corresponding terminal, so that the terminal controls the traffic light on and off state and the on-off time of the corresponding at least one intersection.
本发明实施例提供的一种交通灯智能控制方法,分别周期性的统计固定时间段内每一个十字交叉路口的车流量信息,并根据在固定时间段内,每一个十字交叉路口的车流量信息周期性的控制每一个固定时间段内交通灯的亮灭时间。进一步的控制交通灯的绿灯和红灯的亮灭时间,使得交通通道能够得到充分利用。避免资源浪费,减少交通拥挤状况的发生。The traffic light intelligent control method provided by the embodiment of the invention periodically calculates the traffic flow information of each crossroad in a fixed time period, and according to the traffic flow information of each crossroad in a fixed time period. Periodically control the lighting time of each traffic light in a fixed period of time. Further control of the green light and red light of the traffic light can make full use of the traffic passage. Avoid waste of resources and reduce traffic congestion.
进一步,当所述第一十字交叉路口包括左拐向的交通灯时,根据所述第一十字交叉路口在固定时间段内的左拐向车流量信息,计算所述第一十字交叉路口左 拐向的交通灯的亮灭时间,具体包括:Further, when the first intersection includes a left-turning traffic light, calculating the first intersection left according to the left turn traffic flow information in the fixed time period of the first intersection The time of turning off the traffic lights, including:
接收在固定时间段内,即将左拐的车辆上传的指示信息;Receiving indication information uploaded by a vehicle that is about to turn left during a fixed period of time;
根据指示信息统计即将左拐的车辆数;Count the number of vehicles that are about to turn left according to the indication information;
计算即将左拐的车辆数与第一十字交叉路口车流量总和之间的比值,并将即将左拐的车辆数与第一十字交叉路口车流量总和之间的比值作为左拐向交通灯在固定时间段内的绿信比;Calculate the ratio between the number of vehicles that are about to turn left and the sum of traffic at the first intersection, and compare the ratio between the number of vehicles that are about to turn left and the sum of the traffic at the first intersection as the left turn to the traffic light. Green letter ratio in the time period;
根据左拐向交通灯在固定时间段内的绿信比,计算左拐向交通灯在固定时间段内的亮灭时间;According to the green letter ratio of the left turn to the traffic light for a fixed period of time, calculate the time of turning off the left turn to the traffic light for a fixed period of time;
和/或,当所述第一十字交叉路口包括右拐向灯交通灯时,根据所述第一十字交叉路口在固定时间段内的右拐向车流量信息,计算所述第一十字交叉路口右拐向的交通灯的亮灭时间,具体包括:And/or, when the first crossroad includes a right turn traffic light, calculating the first crossroad according to the right turn traffic flow information of the first crossroad for a fixed period of time The time of turning off the right traffic light, including:
接收在固定时间段内,即将右拐的车辆上传的指示信息;Receiving indication information uploaded by a vehicle that is about to turn right during a fixed period of time;
根据指示信息统计即将右拐的车辆数;Count the number of vehicles that are about to turn right according to the indication information;
计算即将右拐的车辆数与第一十字交叉路口车流量总和之间的比值,并将即将右拐的车辆数与第一十字交叉路口车流量总和之间的比值作为右拐向交通灯在固定时间段内的绿信比;Calculate the ratio between the number of vehicles that are about to turn right and the sum of the traffic at the first intersection, and compare the ratio between the number of vehicles that are about to turn right and the sum of traffic at the first intersection as a right turn to the traffic light. Green letter ratio in the time period;
根据右拐向交通灯在固定时间段内的绿信比,计算右拐向交通灯在固定时间段内的亮灭时间。According to the green letter ratio of the right turn to the traffic light for a fixed period of time, calculate the time of the right turn to the traffic light for a fixed period of time.
采用上述进一步的方案的有益技术效果在于,统计左拐向或右拐向车流量的方式可以通过统计历史时间段内的车流量信息的平均值,作为未来左拐向或者右拐向车流量的参考数据。而这个数据是一个平均值。为了能够更精确的计算左拐向或者右拐向交通灯的亮灭时间,还可以根据用户实时上传的需要左拐或者右拐的指示信息。然后精确统计即将左拐或者右拐的车辆数目,计算相应的绿灯亮灭的时间。The beneficial technical effect of adopting the above further solution is that the way of counting the left turn or the right turn to the traffic flow can be obtained by counting the average value of the traffic flow information in the historical time period as the future left turn or right turn traffic flow. Reference data. And this data is an average. In order to be able to more accurately calculate the turn-off time of the left turn or the right turn to the traffic light, it is also possible to display the indication information of the left turn or the right turn that the user needs to upload in real time. Then accurately count the number of vehicles that are about to turn left or right, and calculate the time when the corresponding green light is off.
第二方面,本发明提供了一种交通灯智能控制装置,该装置包括:In a second aspect, the present invention provides a traffic light intelligent control device, the device comprising:
接收单元,用于实时接收至少一个十字交叉路口对应的终端发送的车流量信息;a receiving unit, configured to receive, in real time, traffic flow information sent by a terminal corresponding to at least one intersection;
统计单元,用于周期性统计至少一个十字交叉路口中每一个十字交叉路口固定时间段内的车流量信息;a statistical unit, configured to periodically count traffic flow information in a fixed time period of each of the at least one intersection;
处理单元,用于分别根据至少一个十字交叉路口中每一个十字交叉路口固定时间段内的车流量信息,计算至少一个十字交叉路口中每一个十字交叉路口在固定时间段内的交通灯的亮灭时间;The processing unit is configured to calculate, according to the traffic flow information in each of the at least one intersection of the at least one intersection, the traffic light of each of the at least one intersection in a fixed period of time time;
发送单元,用于将至少一个十字交叉路口中每一个十字交叉路口在固定时间段内的交通灯的亮灭时间分别发送至对应终端,以便终端控制对应的至少一个十字交叉路口的交通灯亮灭状态及亮灭时间。 a sending unit, configured to send, to each terminal, a traffic light of each of the at least one intersection in a fixed period of time to be sent to the corresponding terminal, so that the terminal controls the traffic light of the corresponding at least one intersection to be off. And light up time.
本发明实施例提供的一种交通灯智能控制装置,统计单元分别周期性的统计固定时间段内每一个十字交叉路口的车流量信息,处理单元则根据在固定时间段内,每一个十字交叉路口的车流量信息计算每一个固定时间段内交通灯的亮灭时间。进一步的控制交通灯的绿灯和红灯的亮灭时间,使得交通通道能够得到充分利用。避免资源浪费,减少交通拥挤状况的发生。The traffic light intelligent control device provided by the embodiment of the invention periodically counts the traffic flow information of each crossroad in a fixed time period, and the processing unit is based on each crossroad in a fixed time period. The traffic flow information calculates the on and off time of the traffic lights for each fixed period of time. Further control of the green light and red light of the traffic light can make full use of the traffic passage. Avoid waste of resources and reduce traffic congestion.
进一步的,装置还包括:接收单元,用于接收在固定时间段内,即将左拐的车辆上传的指示信息;Further, the device further includes: a receiving unit, configured to receive indication information that is uploaded by the vehicle that is about to turn left during a fixed period of time;
统计单元具体用于:根据指示信息统计即将左拐的车辆数;The statistical unit is specifically configured to: count the number of vehicles that are about to turn left according to the indication information;
处理单元具体用于:计算即将左拐的车辆数与第一十字交叉路口车流量总和之间的比值,并将即将左拐的车辆数与第一十字交叉路口车流量总和之间的比值作为左拐向交通灯在固定时间段内的绿信比;The processing unit is specifically configured to: calculate a ratio between the number of vehicles that are about to turn left and the total traffic volume of the first intersection, and compare the ratio between the number of vehicles that are about to turn left and the total traffic of the first intersection as the left The green letter ratio of the traffic light to the fixed time period;
根据左拐向交通灯在固定时间段内的绿信比,计算左拐向交通灯在固定时间段内的亮灭时间;According to the green letter ratio of the left turn to the traffic light for a fixed period of time, calculate the time of turning off the left turn to the traffic light for a fixed period of time;
和/或,接收单元,用于接收在固定时间段内,即将右拐的车辆上传的指示信息;And/or a receiving unit, configured to receive indication information uploaded by the vehicle that is about to turn right during a fixed time period;
统计单元具体用于:根据指示信息统计即将右拐的车辆数;The statistical unit is specifically configured to: count the number of vehicles that are about to turn right according to the indication information;
处理单元具体用于:计算即将右拐的车辆数与第一十字交叉路口车流量总和之间的比值,并将即将右拐的车辆数与第一十字交叉路口车流量总和之间的比值作为右拐向交通灯在固定时间段内的绿信比;The processing unit is specifically configured to: calculate a ratio between the number of vehicles that are about to turn right and the total traffic volume of the first intersection, and compare the ratio between the number of vehicles that are about to turn right and the total traffic of the first intersection as the right The green letter ratio of the traffic light to the fixed time period;
根据右拐向交通灯在固定时间段内的绿信比,计算右拐向交通灯在固定时间段内的亮灭时间。According to the green letter ratio of the right turn to the traffic light for a fixed period of time, calculate the time of the right turn to the traffic light for a fixed period of time.
采用上述进一步的方案的有益技术效果在于,若统计单元统计左拐向或右拐向车流量的方式可以通过统计历史时间段内的车流量信息的平均值,作为未来左拐向或者右拐向车流量的参考数据。而这个数据是一个平均值。为了能够更精确的调整左拐向或者右拐向交通灯的亮灭时间,还可以根据用户实时上传的需要左拐或者右拐的指示信息。然后精确统计即将左拐或者右拐的车辆数目,在利用处理单元计算相应的绿灯亮灭的时间。An advantageous technical effect of adopting the above further solution is that if the statistical unit counts the left turn or the right turn to the traffic flow, the average value of the traffic flow information in the historical time period can be counted as the future left turn or right turn. Reference data for traffic flow. And this data is an average. In order to be able to more accurately adjust the left turn or right turn to the traffic light on and off time, it can also be based on the user's real-time uploading instructions that need to turn left or turn right. Then accurately count the number of vehicles that are about to turn left or right, and use the processing unit to calculate the time when the corresponding green light is off.
附图说明DRAWINGS
图1为本发明实施例提供的一种交通灯智能控制系统的系统架构图;1 is a system architecture diagram of a traffic light intelligent control system according to an embodiment of the present invention;
图2为本发明实施例提供的一种交通灯智能控制方法流程示意图;2 is a schematic flowchart of a traffic light intelligent control method according to an embodiment of the present invention;
图3为本发明实施例提供的另一种交通灯智能控制方法流程示意图;3 is a schematic flowchart of another traffic light intelligent control method according to an embodiment of the present invention;
图4为根据第一十字交叉路口在固定时间段内的车流量信息,计算第一十字交叉路口的交通灯的亮灭时间的方法流程示意图;4 is a schematic flow chart of a method for calculating a light-off time of a traffic light at a first intersection according to traffic flow information of a first intersection during a fixed time period;
图5为当第一十字交叉路口包括东、西、南和北四条交通通道时,计算第一 十字交叉路口的交通灯的亮灭时间的方法流程示意图;Figure 5 shows the first calculation when the first intersection includes four traffic passages of east, west, south and north. Schematic diagram of the method for the light-off time of a traffic light at a crossroad;
图6为当第一十字交叉路口包括左拐向灯交通灯时,根据第一十字交叉路口在固定时间段内的左拐向车流量信息,计算第一十字交叉路口的交通灯的亮灭时间的方法流程示意图;FIG. 6 is a diagram showing the light-off time of the traffic light at the first intersection according to the traffic information of the left turn to the traffic flow in the fixed time period when the first crossroad includes the left turn traffic light. Schematic diagram of the method flow;
图7为当第一十字交叉路口包括左拐向灯交通灯时,另一种计算第一十字交叉路口的交通灯的亮灭时间的方法流程示意图;7 is a flow chart showing another method for calculating the light-off time of the traffic light of the first crossroad when the first crossroad includes the left turn traffic light;
图8为当第一十字交叉路口包括右拐向灯交通灯时,根据第一十字交叉路口在固定时间段内的右拐向车流量信息,计算第一十字交叉路口的交通灯的亮灭时间的方法流程示意图;FIG. 8 is a diagram showing the light-off time of the traffic light at the first crossroad according to the right turn traffic flow information of the first crossroad in a fixed time period when the first crossroad includes the right turn traffic light. Schematic diagram of the method flow;
图9为当第一十字交叉路口包括右拐向灯交通灯时,另一种计算第一十字交叉路口的交通灯的亮灭时间的方法流程示意图;FIG. 9 is a flow chart showing another method for calculating the light-off time of the traffic light at the first intersection when the first intersection includes a right turn-to-light traffic light;
图10为本发明实施例提供的另一种交通灯智能控制装置结构示意图。FIG. 10 is a schematic structural diagram of another traffic light intelligent control device according to an embodiment of the present invention.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透切理解本发明。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, for purposes of illustration and description However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, circuits, and methods are omitted so as not to obscure the description of the invention.
首先本发明实施例提供了一种交通灯智能控制系统。具体如图1所示,图1为本发明实施例提供的一种交通灯智能控制系统的系统架构图。该系统包括:至少一个图像采集器10,至少一个终端20,物联网网关30,服务器40,以及至少一个交通灯50。具体的,至少一个图像采集器10分别安装与不同十字交叉路口,用于采集至少一个十字交叉路口的车流量信息。并将车流量信息传输至终端20中。其中,终端20的个数可以与十字交叉路口的数量相同。也即是,每个十字交叉路口包含个一个终端20,用于处理该十字交叉路口所包含的至少一个图像采集器采集10采集的图像信息。终端20通过物联网网关30将经过处理的图像信息发送至服务器40。由服务器40分别对每个十字交叉路口的车流量信息进行周期性的统计。并根据相应的统计数据,计算每个十字交叉路口的交通灯50的亮灭时间。然后将每个十字交叉路口的交通灯50的亮灭时间分别发送至每个十字交叉路口对应的终端20中。以便该十字交叉路口的终端控制对应的交通灯的亮灭时间。First, an embodiment of the present invention provides a traffic light intelligent control system. Specifically, as shown in FIG. 1 , FIG. 1 is a system architecture diagram of a traffic light intelligent control system according to an embodiment of the present invention. The system includes at least one image collector 10, at least one terminal 20, an IoT gateway 30, a server 40, and at least one traffic light 50. Specifically, at least one image collector 10 is installed with different intersections for collecting traffic flow information of at least one intersection. The traffic information is transmitted to the terminal 20. The number of terminals 20 may be the same as the number of intersections. That is, each intersection includes a terminal 20 for processing image information collected by at least one image collector included in the intersection. The terminal 20 transmits the processed image information to the server 40 through the Internet of Things gateway 30. The traffic flow information of each intersection is periodically counted by the server 40. And according to the corresponding statistical data, calculate the on and off time of the traffic light 50 of each intersection. The light-off time of the traffic light 50 of each intersection is then sent to the terminal 20 corresponding to each intersection, respectively. So that the terminal of the intersection controls the lighting time of the corresponding traffic light.
为详细概述本发明实施方案,本发明实施例还提供了一种交通灯智能控制方法。具体如图2所示,图2为本发明实施例提供的一种交通灯智能控制方法流程示意图。该方法包括:In order to provide a detailed overview of the embodiments of the present invention, an embodiment of the present invention further provides a traffic light intelligent control method. 2 is a schematic flowchart of a traffic light intelligent control method according to an embodiment of the present invention. The method includes:
步骤210,实时接收至少一个十字交叉路口对应的终端发送的车流量信息。 Step 210: Receive traffic flow information sent by the terminal corresponding to the at least one intersection in real time.
具体的,如上实施例所言,至少一个十字交叉路口中的图像采集器实时采集对应路口的车流量信息,并且以图像的形式传输至终端中。终端对图像信息进行预处理后,发送至服务器中。Specifically, as shown in the foregoing embodiment, the image collector in the at least one intersection collects the traffic information of the corresponding intersection in real time, and transmits the information to the terminal in the form of an image. The terminal preprocesses the image information and sends it to the server.
步骤220,周期性统计至少一个十字交叉路口中每一个十字交叉路口固定时间段内的车流量信息。Step 220: Periodically count traffic flow information in a fixed time period of each of the at least one intersection.
虽然终端实时将车流量信息发送至服务器中,但是实时的数据都有可能存在数据更新。比如,前一秒车流量为100,后一秒则车流中则增加了5辆车。也即是车流量变为了105。如此一来,服务器并不能够实时控制红绿灯的亮灭时间,那么可以统计固定时间段内的车流量信息,然后根据固定时间段内的车流量信息,控制交通灯的亮灭时间。Although the terminal sends traffic information to the server in real time, there may be data updates in real-time data. For example, the traffic volume of the previous second is 100, and the next one second adds 5 cars to the traffic. That is, the traffic volume has changed to 105. In this way, the server is not able to control the lighting time of the traffic lights in real time, then the traffic flow information in a fixed time period can be counted, and then the traffic light on and off time is controlled according to the traffic flow information in a fixed time period.
步骤230,分别根据至少一个十字交叉路口中每一个十字交叉路口固定时间段内的车流量信息,计算至少一个十字交叉路口中每一个十字交叉路口在固定时间段内的交通灯的亮灭时间。Step 230: Calculate, according to the traffic flow information in each of the crossroads of each of the at least one intersection, the time of the traffic light of each of the at least one intersection in a fixed period of time.
步骤240,将至少一个十字交叉路口中每一个十字交叉路口在固定时间段内的交通灯的亮灭时间分别发送至对应终端。Step 240: Send the blinking time of each traffic light of each of the at least one intersection to the corresponding terminal in a fixed time period.
具体的,将至少一个十字交叉路口中每一个十字交叉路口在固定时间段内的交通灯的亮灭时间分别发送至对应终端后,对应终端可以根据服务器发送的该十字交叉路口在固定时间段内交通灯的亮灭时间控制交通灯的亮灭时间及亮灭状态。Specifically, after the traffic light of each of the at least one intersection is sent to the corresponding terminal in a fixed period of time, the corresponding terminal may be within a fixed time period according to the intersection sent by the server. The lighting time of the traffic light controls the lighting time of the traffic light and the status of the lighting.
本发明实施例提供的一种交通灯智能控制方法,分别周期性的统计固定时间段内每一个十字交叉路口的车流量信息,并根据在固定时间段内,每一个十字交叉路口的车流量信息周期性的控制每一个固定时间段内交通灯的亮灭时间。进一步的控制交通灯的绿灯和红灯的亮灭时间,使得交通通道能够得到充分利用。避免资源浪费,减少交通拥挤状况的发生。The traffic light intelligent control method provided by the embodiment of the invention periodically calculates the traffic flow information of each crossroad in a fixed time period, and according to the traffic flow information of each crossroad in a fixed time period. Periodically control the lighting time of each traffic light in a fixed period of time. Further control of the green light and red light of the traffic light can make full use of the traffic passage. Avoid waste of resources and reduce traffic congestion.
为了进一步丰富本发明的技术方案。本发明实施例还提供了另一种交通灯智能控制方法。具体如图3所示。图3为本发明实施例提供的另一种交通灯智能控制方法流程示意图。在该方法中,主要以一个十字交叉路口为例进行说明,也即是说,本实施例主要针对的是仅控制一个十字交叉路口的交通灯亮灭时间和亮灭状态。具体的,该方法包括:步骤310~步骤320同上实施例步骤210~步骤220。这里不再重复叙述。In order to further enrich the technical solution of the present invention. Another embodiment of the present invention provides a traffic light intelligent control method. Specifically shown in Figure 3. FIG. 3 is a schematic flowchart diagram of another traffic light intelligent control method according to an embodiment of the present invention. In this method, the description is mainly made by taking a crossroad as an example, that is to say, the present embodiment is mainly directed to controlling the traffic light on and off time and the on-off state of only one crossroad. Specifically, the method includes: Steps 310 to 320 are the same as steps 210 to 220 of the foregoing embodiment. The description will not be repeated here.
步骤330,根据第一十字交叉路口固定时间段内的车流量信息,计算第一十字交叉路口在固定时间段内的交通灯的亮灭时间。Step 330: Calculate the time of the traffic light of the first crossroad in the fixed time period according to the traffic flow information in the fixed time period of the first crossroad.
具体的,在本实施例中,假设第一十字交叉路口包括控制东西方向车辆通行的第一交通灯和控制南北方向车辆通行的第二交通灯。Specifically, in the present embodiment, it is assumed that the first crossroad includes a first traffic light that controls the passage of the east-west vehicle and a second traffic light that controls the traffic of the north-south direction.
那么,根据第一十字交叉路口在固定时间段内的车流量信息,计算第一十字 交叉路口的交通灯的亮灭时间,具体如图4所示,包括如下步骤:Then, according to the traffic flow information of the first intersection in a fixed period of time, calculate the first cross The lighting time of the traffic light at the intersection, as shown in Figure 4, includes the following steps:
步骤410,分别统计固定时间段内东西方向的车流量和南北方向通行的车流量,以及第一十字交叉路口车流量总和。In step 410, the traffic volume in the east-west direction and the traffic flow in the north-south direction and the total traffic volume at the first intersection are respectively counted in a fixed time period.
具体的,服务器首先根据终端发送的车流量信息,分析出东西方向的车流量信息和南北方向的车流量信息。然后,在分别统计固定时间段内东西方向通行的车流量和南北方向通行的车流量。同时,统计出第一十字交叉路口车流量总和。当然,统计第一十字交叉路口车流量总和其实已经在步骤320中执行过了。而这里不过就是提取步骤420中所统计的结果进行调用。Specifically, the server first analyzes the traffic flow information in the east-west direction and the traffic flow information in the north-south direction according to the traffic flow information sent by the terminal. Then, the traffic flow in the east-west direction and the traffic flow in the north-south direction in a fixed time period are separately counted. At the same time, the total traffic volume at the first crossroads is counted. Of course, the sum of the traffic at the first crossroads has actually been implemented in step 320. Here, however, the result of the extraction in step 420 is called.
步骤420,计算固定时间段内东西方向的车流量和第一十字交叉路口车流量总和之间的第一比值,并将第一比值作为在固定时间段内,第一交通灯的绿信比。Step 420: Calculate a first ratio between the traffic flow in the east-west direction and the total traffic flow at the first intersection in a fixed time period, and use the first ratio as the green signal ratio of the first traffic light in a fixed time period.
具体的,一个十字交叉路口在固定时间段内车流量总和是固定的。东西方向的车流量和南北方向的车流量同样是固定的。那么,如果某一个方向的车流量过多时,可以按照一定得比例,将这个方向绿灯亮时间控制的稍长一些。相反,如果另一个方向的车流量稍少时,则可以按照一定的比例,将这个方向绿灯亮的时间控制的稍短一些。而具体的实现方案就是按照比例计算。即是,计算固定时间段内东西方向的车流量和第一十字交叉路口车流量总和之间的第一比值,并将第一比值作为在固定时间段内,第一交通灯的绿信比。Specifically, the sum of the traffic flow at a crossroad is fixed for a fixed period of time. The traffic flow in the east-west direction and the traffic flow in the north-south direction are also fixed. Then, if there is too much traffic in a certain direction, you can control the green light in this direction to be slightly longer according to a certain ratio. On the contrary, if the traffic volume in the other direction is slightly less, the time for the green light in this direction can be controlled to be slightly shorter according to a certain ratio. The specific implementation is based on proportional calculation. That is, the first ratio between the traffic flow in the east-west direction and the total traffic flow at the first intersection in a fixed time period is calculated, and the first ratio is used as the green signal ratio of the first traffic light in a fixed time period.
优选的,如果东西方向在固定时间段内没有车流量时,服务器可以直接向终端发送指示信息,用于指示终端控制东西方向的绿灯灭。同时,控制南北方向的绿灯亮。Preferably, if there is no traffic flow in the east-west direction for a fixed period of time, the server may directly send indication information to the terminal to indicate that the terminal controls the green light in the east-west direction. At the same time, the green light that controls the north-south direction is bright.
步骤430,根据第一交通灯在固定时间段内的绿信比,计算第一交通灯在固定时间段内的亮灭时间。Step 430: Calculate a light-off time of the first traffic light in a fixed time period according to a green signal ratio of the first traffic light in a fixed time period.
具体的,这里的固定时间段可以理解为交通灯亮灭的周期。一般而言,固定时间段为预设的时间段值,该预设的时间段值小于或者等于1分钟。而根据第一交通灯在固定时间段内的绿信比,计算第一交通灯在固定时间段内的亮灭时间,也即是利用绿信比乘以固定时间段,计算出第一交通灯中的绿灯亮的时间。而黄灯亮的时间基本为一个固定值,例如固定时间段是1分钟,黄灯亮的时间设定为5s。那么,固定时间段中剩下的时间则为第一交通灯中红灯亮的时间。Specifically, the fixed time period here can be understood as the period in which the traffic light is on and off. Generally, the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute. According to the green letter ratio of the first traffic light in a fixed time period, the time of the first traffic light in the fixed time period is calculated, that is, the first traffic light is calculated by multiplying the green signal ratio by a fixed time period. The green light in the time. The time when the yellow light is on is basically a fixed value, for example, the fixed time period is 1 minute, and the yellow light is set to 5 seconds. Then, the remaining time in the fixed time period is the time when the red light in the first traffic light is on.
以及,步骤440,计算固定时间段内南北方向的车流量和第一十字交叉路口车流量总和之间的第二比值,并将第二比值作为在固定时间段内,第二交通灯的绿信比。And, in step 440, calculating a second ratio between the traffic flow in the north-south direction and the total traffic volume at the first crossroad in the fixed time period, and using the second ratio as the green letter of the second traffic light in the fixed time period ratio.
进一步优选的,如果南北方向在固定时间段内没有车流量时,服务器可以直接向终端发送指示信息,用于指示终端控制南北方向的绿灯灭。同时,控制东西方向的绿灯亮。Further preferably, if there is no traffic flow in the north-south direction for a fixed period of time, the server may directly send indication information to the terminal to indicate that the terminal controls the green light in the north-south direction. At the same time, the green light that controls the east-west direction is bright.
与步骤420相类似的,首先计算固定时间段内南北方向的车流量和第一十字交叉路口车流量总和之间的第二比值,然后将这个比值作为在固定时间段内,第 二交通灯的绿信比。Similar to step 420, first calculating a second ratio between the traffic flow in the north-south direction and the total traffic volume at the first intersection in a fixed time period, and then using the ratio as a fixed time period, The green letter ratio of the two traffic lights.
步骤450,根据第二交通灯在固定时间段内的绿信比,计算第二交通灯在固定时间段内的亮灭时间。Step 450: Calculate a lighting time of the second traffic light in a fixed time period according to a green signal ratio of the second traffic light in a fixed time period.
与步骤430类似的,固定时间段为交通灯亮灭的周期。而根据第二交通灯在固定时间段内的绿信比,计算第二交通灯在固定时间段内的亮灭时间,也即是利用绿信比乘以固定时间段,计算出第二交通灯中的绿灯亮的时间。而黄灯亮的时间基本为一个固定值,例如固定时间段是1分钟,黄灯亮的时间设定为5s。那么,固定时间段中剩下的时间则为第二交通灯中红灯亮的时间。Similar to step 430, the fixed time period is the period during which the traffic light is on. According to the green signal ratio of the second traffic light in a fixed time period, the time of the second traffic light in the fixed time period is calculated, that is, the second traffic light is calculated by multiplying the green signal ratio by a fixed time period. The green light in the time. The time when the yellow light is on is basically a fixed value, for example, the fixed time period is 1 minute, and the yellow light is set to 5 seconds. Then, the remaining time in the fixed time period is the time when the red light in the second traffic light is on.
步骤340,分别将第一十字交叉路口第一交通灯在固定时间段内的亮灭时间,以及第二交通灯在固定时间段内的亮灭时间的亮灭时间发送至对应终端。Step 340: Send the light-off time of the first traffic light of the first intersection in the fixed time period and the light-off time of the light-off time of the second traffic light in the fixed time period to the corresponding terminal respectively.
具体的,将第一十字交叉路口第一交通灯在固定时间段内的亮灭时间的亮灭时间,以及第二交通灯在固定时间段内的亮灭时间的亮灭时间发送至对应终端后,对应终端可以根据服务器发送的该十字交叉路口第一交通灯和第二交通灯在固定时间段内交通灯的亮灭时间控制交通灯的亮灭时间及亮灭状态。Specifically, the lighting time of the first traffic light of the first intersection at a fixed time period and the lighting time of the second traffic light during a fixed time period are sent to the corresponding terminal. The corresponding terminal can control the on/off time and the off state of the traffic light according to the time when the traffic light of the first traffic light and the second traffic light of the intersection sent by the server are in a fixed period of time.
本发明实施例提供的一种交通灯智能控制方法,通过分别统计东西方向、南北方向的交通通道车流量,以及第一十字交叉路口的车流量总和。分别计算东西方向交通通道车流量与第一十字交叉路口的车流量总和之间的第一比值,以及南北方向交通通道车流量与第一十字交叉路口的车流量总和之间的第二比值。并将第一比值作为东西方向交通通道对应的交通灯的绿信比,进一步的计算第一交通灯在固定时间段内的亮灭时间。将第二比值作为南北方向交通通道对应的交通灯的绿信比,进一步计算第二交通灯在固定时间段内的亮灭时间。通过该终方式,可以周期性的调整不同方向交通灯的亮灭时间,保证交通通道在充分利用的前提下,尽量避免了交通堵塞情况的发生。The traffic light intelligent control method provided by the embodiment of the invention separately calculates the traffic flow of the traffic channel in the east-west direction, the north-south direction, and the total traffic flow of the first crossroad intersection. The first ratio between the traffic flow of the traffic channel in the east-west direction and the total traffic volume of the first crossroad is calculated, and the second ratio between the traffic flow of the traffic channel in the north-south direction and the total traffic volume of the first crossroad is calculated. The first ratio is used as the green letter ratio of the traffic light corresponding to the traffic channel in the east-west direction, and the time of the first traffic light in the fixed time period is further calculated. The second ratio is used as the green letter ratio of the traffic light corresponding to the traffic channel in the north-south direction, and the lighting time of the second traffic light in the fixed time period is further calculated. Through this final mode, the lighting time of traffic lights in different directions can be periodically adjusted to ensure that traffic jams are avoided as much as possible under the premise of full utilization of traffic channels.
进一步的,如果第一十字交叉路口包括东、西、南和北四条交通通道时,控制第一十字交叉路口的交通灯亮灭时间和亮灭状态的方法,该方法的主要步骤,均与上一实施例中的方法步骤相同或者相似,唯一不同的是步骤在步骤330中,根据第一十字交叉路口固定时间段内的车流量信息,计算第一十字交叉路口在固定时间段内的交通灯的亮灭时间时,具体的计算过程不同。Further, if the first intersection includes four traffic passages of east, west, south, and north, the method of controlling the traffic light on and off and the off state of the first intersection, the main steps of the method are the same as the previous one. The method steps in the embodiment are the same or similar, and the only difference is that in step 330, the traffic light of the first crossroad in the fixed time period is calculated according to the traffic flow information in the fixed time period of the first crossroad intersection. When the time is off, the specific calculation process is different.
因此,其他步骤这里不再赘述,仅详细介绍下:当第一十字交叉路口包括东、西、南和北四条交通通道时,步骤330的具体执行过程。具体如图5所示。Therefore, the other steps are not described here, only the details: when the first intersection includes four traffic passages of east, west, south and north, the specific execution process of step 330. Specifically, as shown in Figure 5.
该过程可以包括:The process can include:
步骤510,分别统计固定时间段内东、西、南、北四个方向的车流量,以及第一十字交叉路口车流量总和。In step 510, the traffic flow in the east, west, south, and north directions in the fixed time period and the total traffic flow at the first intersection are respectively counted.
具体的,服务器首先根据终端发送的车流量信息,分析出东、西、南和北4个方向的车流量信息。然后,在分别统计固定时间段内东、西、南和北4个方向通行的车流量。同时,统计出第一十字交叉路口车流量总和。当然,如上一实施 例,统计第一十字交叉路口车流量总和其实已经在步骤420中执行过了。而这里不过就是提取步骤420中所统计的结果进行调用。Specifically, the server first analyzes the traffic flow information in the east, west, south, and north directions according to the traffic flow information sent by the terminal. Then, the traffic flow in the east, west, south, and north directions in a fixed time period is separately counted. At the same time, the total traffic volume at the first crossroads is counted. Of course, the above implementation For example, the sum of the traffic at the first crossroads has actually been implemented in step 420. Here, however, the result of the extraction in step 420 is called.
步骤520,分别计算在固定时间段内东、西、南、北四个方向的车流量,与第一十字交叉路口车流量总和之间的比值。 Step 520, respectively calculating the ratio of the traffic flow in the east, west, south, and north directions in the fixed time period to the sum of the traffic flows at the first crossroad.
具体的,一个十字交叉路口在固定时间段内车流量总和是固定的。东、西方向的车流量是固定的。类似的,南、北方向的车流量同样是固定的。那么,如果某一个方向的车流量过多时,可以按照一定得比例,将这个方向绿灯亮时间控制的稍长一些。相反,如果另一个方向的车流量稍少时,则可以按照一定的比例,将这个方向绿灯亮的时间控制的稍短一些。而具体的实现方案就是按照比例计算。即是,分别计算固定时间段内东、西、南和北4个方向的车流量和第一十字交叉路口车流量总和之间的比值。Specifically, the sum of the traffic flow at a crossroad is fixed for a fixed period of time. The traffic flow in the east and west directions is fixed. Similarly, the traffic flow in the south and north directions is also fixed. Then, if there is too much traffic in a certain direction, you can control the green light in this direction to be slightly longer according to a certain ratio. On the contrary, if the traffic volume in the other direction is slightly less, the time for the green light in this direction can be controlled to be slightly shorter according to a certain ratio. The specific implementation is based on proportional calculation. That is, the ratio between the traffic flow in the east, west, south, and north directions and the sum of the traffic at the first crossroad in the fixed time period is calculated separately.
步骤530,分别将在固定时间段内东、西、南、北四个方向的车流量,与第一十字交叉路口车流量总和之间的比值,作为对应方向的交通灯在固定时间段内的绿信比。Step 530: respectively, the ratio between the traffic flow in the east, west, south, and north directions in the fixed time period and the total traffic flow at the first intersection is used as the traffic light of the corresponding direction within a fixed time period. Green letter ratio.
优选的,如果东、西、南和北4个方向中任一个方向在固定时间段内没有车流量时,服务器可以直接向终端发送指示信息,用于指示终端控制该方向的绿灯灭。同时,控制与之相反方向的绿灯亮。Preferably, if any one of the four directions of the east, the west, the south, and the north has no traffic flow for a fixed period of time, the server may directly send the indication information to the terminal to indicate that the terminal controls the green light of the direction to be off. At the same time, the green light in the opposite direction is controlled.
步骤540,分别根据对应方向的交通灯在固定时间段内绿信比,计算对应方向的交通灯在固定时间段内的亮灭时间。Step 540: Calculate the time of the traffic light of the corresponding direction in a fixed time period according to the green signal ratio of the traffic light of the corresponding direction in a fixed time period.
具体的,这里的固定时间段可以理解为交通灯亮灭的周期。一般而言,固定时间段为预设的时间段值,该预设的时间段值小于或者等于1分钟。而分别根据东、西、南和北4个方向的交通灯在固定时间段内的绿信比,相应计算东、西、南和北4个方向在固定时间段内的亮灭时间,也即是利用东、西、南和北4个方向中每个方向分别对应的绿信比乘以固定时间段,计算与之方向相对应的交通灯中的绿灯亮的时间。而黄灯亮的时间基本为一个固定值,例如固定时间段是1分钟,黄灯亮的时间设定为5s。那么,固定时间段中剩下的时间则为第一交通灯中红灯亮的时间。Specifically, the fixed time period here can be understood as the period in which the traffic light is on and off. Generally, the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute. According to the green letter ratio of the traffic lights in the four directions of east, west, south and north, respectively, the time of the four directions of east, west, south and north in the fixed time period is calculated accordingly, that is, The green signal ratio corresponding to each of the four directions of east, west, south, and north is multiplied by a fixed time period, and the green light in the traffic light corresponding to the direction is calculated. The time when the yellow light is on is basically a fixed value, for example, the fixed time period is 1 minute, and the yellow light is set to 5 seconds. Then, the remaining time in the fixed time period is the time when the red light in the first traffic light is on.
另外,读者应理解的是,这里的东西方向的车辆在并行反向车道行驶,南北方向的车辆在并行反向的车道行驶。In addition, the reader should understand that the east-west direction vehicles are driving in parallel reverse lanes, and the north-south vehicles are driving in parallel reverse lanes.
本发明实施例提供的一种交通灯智能控制方法,通过分别统计东、西、南、北4个方向的交通通道车流量,以及第一十字交叉路口的车流量总和。并分别计算东、西、南、北4个方向交通通道车流量与第一十字交叉路口的车流量总和之间的比值。并将每个方向计算出的比值分别作为该方向交通通道对应的交通灯的绿信比,进一步的计算出该方向交通灯在固定时间段内的亮灭时间。通过该种方式,可以周期性的调整不同方向交通灯的亮灭时间,保证交通通道在充分利用的前提下,尽量避免了交通堵塞情况的发生。 The traffic light intelligent control method provided by the embodiment of the invention separately calculates the traffic flow of the traffic passage in the four directions of east, west, south and north, and the sum of the traffic flow of the first crossroad intersection. And calculate the ratio between the traffic flow of the traffic channel in the east, west, south and north and the total traffic flow at the first crossroad. The ratio calculated in each direction is used as the green signal ratio of the traffic light corresponding to the traffic lane in the direction, and the lighting time of the traffic light in the direction is determined in a fixed period of time. In this way, the lighting time of traffic lights in different directions can be periodically adjusted to ensure that traffic jams are avoided as much as possible under the premise of full utilization of traffic channels.
进一步的,如果第一十字交叉路口还包括左拐交通灯和/或右拐交通灯时,则需要执行另一种控制第一十字交叉路口的交通灯亮灭时间和亮灭状态的方法。类似的,该方法的主要步骤,均与上一实施例中的方法步骤相同或者相似,唯一不同的是步骤在步骤330中,根据第一十字交叉路口固定时间段内的车流量信息,计算第一十字交叉路口在固定时间段内的交通灯的亮灭时间时,具体的计算过程不同。Further, if the first intersection further includes a left turn traffic light and/or a right turn traffic light, another method of controlling the traffic light on and off and the light on and off state of the first intersection is required. Similarly, the main steps of the method are the same as or similar to the method steps in the previous embodiment, and the only difference is that in step 330, according to the traffic flow information in the fixed time period of the first crossroad, the calculation is performed. The specific calculation process is different when the traffic light of a crossroad is in the fixed time period.
因此,其他步骤这里不再赘述,仅详细介绍下:Therefore, the other steps are not repeated here, only the details are as follows:
在第一种情况中,当第一十字交叉路口包括左拐向灯交通灯时,根据第一十字交叉路口在固定时间段内的左拐向车流量信息,计算第一十字交叉路口左拐向的交通灯的亮灭时间的方法流程如图6所示。In the first case, when the first intersection includes a left turn traffic light, the first cross intersection is calculated according to the left turn traffic flow information of the first intersection in a fixed period of time. The flow of the traffic light is shown in Figure 6.
该方法包括:The method includes:
步骤610,提取至少两次预设时间段内左拐向车流量信息。Step 610: Extract left traffic traffic information within at least two preset time periods.
具体的,由于车辆是否需要左拐或者右拐,从图像采集器采集的图像无法判断。那么,如何计算在固定时间段内,车辆向左拐时的交通灯亮灭时间呢。Specifically, since the vehicle needs to turn left or right, the image collected from the image collector cannot be judged. Then, how to calculate the time when the traffic light is turned off when the vehicle turns to the left during a fixed period of time.
在本实施例中,主要是采用统计历史时间段内(即预设时间段内)向左拐的车流量,然后根据历史时间段内的车流量,估算固定时间段内,车辆向左拐时的交通灯亮灭时间。In this embodiment, the traffic flow to the left in the statistical historical time period (ie, within the preset time period) is mainly used, and then, according to the traffic flow in the historical time period, the vehicle is turned to the left during the fixed time period. The traffic lights are on and off.
具体的,例如提取一个月内每天8点至8点01分时候,该十字交叉路口像左拐车流量数。Specifically, for example, when extracting from 8:00 to 8:01 every day in a month, the intersection is like the number of left traffic.
步骤620,统计在固定时间段内第一十字交叉路口车流量总和。In step 620, the total traffic volume of the first intersection in a fixed time period is counted.
具体的,统计固定时间段内第一十字交叉路口车流量总和的过程实际已经在步骤420中完成。而这里仅仅是提取即可。Specifically, the process of counting the sum of the traffic at the first intersection in a fixed time period has actually been completed in step 420. And here is just an extraction.
步骤630,计算至少两次预设时间段内左拐向车流量信息的第一平均值。Step 630: Calculate a first average value of the left turn traffic flow information in at least two preset time periods.
很显然,历史时间段内的每天的车流量可能都不是完全相同,但也不会发生太大的改动。一般而言,应该是以一定的数值为基准,在该数值上下浮动。那么,可以计算至少两次预设时间段,也即是历史时间段内向左拐车流量信息的第一平均值。作为固定时间段内车辆向左拐的数量参考。这里的预设时间段与固定时间段为不同周期的同一时间段,且预设时间段为在先发生的周期内的时间段。也即是例如上文中所说的,一个月中每天上午8点至8点01分这样的时间段。周期为一天。一个月为30个周期(假设一个月30天)。预设时间段可以理解为今天之前的一个月中每天的8点至8点01分这个时间段。而固定时间段则为今天的8点至8点01分这个时间段。Obviously, the daily traffic volume during the historical time period may not be exactly the same, but it will not change too much. In general, it should be based on a certain value and float above and below this value. Then, at least two preset time periods can be calculated, that is, a first average value of the left-turn traffic flow information in the historical time period. As a reference to the number of vehicles turning left during a fixed period of time. Here, the preset time period and the fixed time period are the same time period of different periods, and the preset time period is a time period within the previously occurring period. That is, for example, the time period from 8:00 am to 8:01 am every day in a month. The cycle is one day. 30 cycles per month (assuming 30 days a month). The preset time period can be understood as the time period from 8:00 to 8:01 every day in the previous month. The fixed time period is today's 8:00 to 8:01 this time period.
步骤640,计算第一平均值和第一十字交叉路口车流量总和之间的比值。并将第一平均值和第一十字交叉路口车流量总和之间的比值作为左拐向交通灯在固定时间段内的绿信比。At step 640, a ratio between the first average and the sum of the traffic at the first intersection is calculated. And the ratio between the first average and the sum of the traffic at the first intersection is taken as the green letter ratio of the left turn to the traffic light for a fixed period of time.
具体的,一个十字交叉路口在固定时间段内车流量总和是固定的。那么,如 果某一个方向的车流量过多时,可以按照一定得比例,将这个方向绿灯亮时间控制的稍长一些。相反,如果另一个方向的车流量稍少时,则可以按照一定的比例,将这个方向绿灯亮的时间控制的稍短一些。而具体的实现方案就是按照比例计算。即是,将预设时间段内向左拐的车流量平均值作为固定时间段内向左拐的车流量,与固定时间段内第一十字交叉路口车流量总和之间的比值,作为左拐向交通灯在固定时间段内的绿信比。Specifically, the sum of the traffic flow at a crossroad is fixed for a fixed period of time. Then, like If there is too much traffic in one direction, you can control the green light in this direction to be slightly longer according to a certain ratio. On the contrary, if the traffic volume in the other direction is slightly less, the time for the green light in this direction can be controlled to be slightly shorter according to a certain ratio. The specific implementation is based on proportional calculation. That is, the average value of the traffic flow turning to the left in the preset time period is taken as the ratio of the traffic flow to the left in the fixed time period, and the sum of the traffic flow at the first crossroad in the fixed time period, as the left turn traffic The green letter ratio of the lamp during a fixed period of time.
步骤650,根据左拐向交通灯在固定时间段内的绿信比,计算左拐向交通灯在固定时间段内的亮灭时间。Step 650: Calculate the time of the left turn to the traffic light for a fixed period of time according to the green letter ratio of the left turn to the traffic light for a fixed period of time.
具体的,这里的固定时间段还可以理解为交通灯亮灭的周期。一般而言,固定时间段为预设的时间段值,该预设的时间段值小于或者等于1分钟。而分别根据左拐向交通灯在固定时间段内的绿信比,相应计算左方向在固定时间段内的亮灭时间,也即是利用左方向对应的绿信比乘以固定时间段,计算与之相对应的交通灯中的绿灯亮的时间。而黄灯亮的时间基本为一个固定值,例如固定时间段是1分钟,黄灯亮的时间设定为5s。那么,固定时间段中剩下的时间则为第一交通灯中红灯亮的时间。Specifically, the fixed time period here can also be understood as the period in which the traffic light is on and off. Generally, the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute. According to the green signal ratio of the left turn to the traffic light in a fixed time period, the light-off time in the left direction in the fixed time period is calculated correspondingly, that is, the green signal ratio corresponding to the left direction is multiplied by the fixed time period, and the calculation is performed. The time when the green light in the traffic light corresponds to it. The time when the yellow light is on is basically a fixed value, for example, the fixed time period is 1 minute, and the yellow light is set to 5 seconds. Then, the remaining time in the fixed time period is the time when the red light in the first traffic light is on.
上述计算左拐向车流量的方式是采用一种统计历史时间段内左拐向车流量的第一平均值作为固定时间段内左拐向车流量值的方式。并通过第一平均值和固定时间段内第一十字交叉路口车流量总和之间的比值计算左拐向交通灯在固定时间段内的绿信比。The above method of calculating the left turn traffic flow is to adopt a first average value of the left turn traffic flow during the statistical historical time period as a way of turning the left traffic flow rate into the fixed time period. And calculating the green letter ratio of the left turn to the traffic light in a fixed period of time by the ratio between the first average and the sum of the traffic at the first intersection in the fixed time period.
优选的,为了能够统计左拐向车流量更加的精确。也为了能够更加精确的计算左拐向交通灯在固定时间段内的亮灭时间。在本实施例中还可以采用另一种实施方式。具体如图7所示,该方法包括:Preferably, in order to be able to count the left turn to the traffic flow more accurately. In order to be able to more accurately calculate the turn-off time of the left turn to the traffic light for a fixed period of time. Another embodiment can also be employed in this embodiment. Specifically, as shown in FIG. 7, the method includes:
步骤710,接收在固定时间段内,即将左拐的车辆上传的指示信息。Step 710: Receive indication information uploaded by a vehicle that is about to turn left during a fixed period of time.
具体的,当车辆到达第一十字交叉路口时,如果车辆即将左拐。那么,首先向服务器发送指示信息。其中,该指示信息用于指示该车辆需要左拐。Specifically, when the vehicle reaches the first crossroad, if the vehicle is about to turn left. Then, the indication information is first sent to the server. Wherein, the indication information is used to indicate that the vehicle needs to turn left.
步骤720,根据指示信息统计即将左拐的车辆数。 Step 720, counting the number of vehicles that are about to turn left according to the indication information.
服务器在接收到即将左拐的车辆发送的指示信息后,可以统计即将左拐的车辆的个数。After receiving the indication information sent by the vehicle that is about to turn left, the server can count the number of vehicles that are about to turn left.
步骤730,计算即将左拐的车辆数与第一十字交叉路口车流量总和之间的比值,并将即将左拐的车辆数与第一十字交叉路口车流量总和之间的比值作为左拐向交通灯在固定时间段内的绿信比。 Step 730, calculating a ratio between the number of vehicles that are about to turn left and the sum of the traffic at the first intersection, and taking the ratio between the number of vehicles that are about to turn left and the sum of the traffic at the first intersection as a left turn traffic The green letter ratio of the lamp during a fixed period of time.
与上述实施例类似的,在本实施例中,主要是将服务器统计出的即将左拐的车辆数与第一十字交叉路口车流量总和之间的比值,作为左拐向交通灯在固定时间段内的绿信比。Similar to the above embodiment, in this embodiment, the ratio between the number of vehicles to be left-turned and the total traffic volume of the first intersection is statistically calculated as a left turn to the traffic light for a fixed period of time. The green letter ratio inside.
步骤740,根据左拐向交通灯在固定时间段内的绿信比,计算左拐向交通灯在固定时间段内的亮灭时间。 In step 740, according to the green letter ratio of the left turn to the traffic light for a fixed period of time, the time of turning off the left turn to the traffic light for a fixed period of time is calculated.
在另一种情况中,当第一十字交叉路口包括右拐向灯交通灯时,根据第一十字交叉路口在固定时间段内的右拐向车流量信息,计算第一十字交叉路口右拐向的交通灯的亮灭时间的方法流程如图8所示。In another case, when the first intersection includes a right turn traffic light, the right turn is calculated according to the right turn traffic flow information of the first intersection in a fixed period of time. The flow of the traffic light is shown in Figure 8.
该方法包括:The method includes:
步骤810,提取至少两次预设时间段内右拐向车流量信息。 Step 810, extracting right turn traffic flow information within at least two preset time periods.
步骤820,统计在固定时间段内第一十字交叉路口车流量总和。In step 820, the total traffic volume of the first crossroad in a fixed time period is counted.
步骤830,计算至少两次预设时间段内右拐向车流量信息的第二平均值。Step 830: Calculate a second average value of right turn traffic flow information in at least two preset time periods.
步骤840,计算第二平均值和第一十字交叉路口车流量总和之间的比值。并将第二平均值和第一十字交叉路口车流量总和之间的比值作为右拐向交通灯在固定时间段内的绿信比。At step 840, a ratio between the second average and the sum of the traffic at the first intersection is calculated. And the ratio between the second average and the sum of the traffic at the first intersection is taken as the green letter ratio of the right turn to the traffic light for a fixed period of time.
步骤850根据右拐向交通灯在固定时间段内的绿信比,计算右拐向交通灯在固定时间段内的亮灭时间。Step 850 calculates the light-off time of the right turn to the traffic light for a fixed period of time according to the green letter ratio of the right turn to the traffic light for a fixed period of time.
上述计算过程同计算左拐向交通灯在固定时间段内的亮灭时间的方法步骤类似,这里不再赘述。The above calculation process is similar to the method step of calculating the turn-off time of the left turn traffic light in a fixed period of time, and will not be described again here.
同样的,上述计算右拐向车流量的方式是采用一种统计历史时间段内右拐向车流量的第二平均值作为固定时间段内右拐向车流量值的方式。并通过第二平均值和固定时间段内第一十字交叉路口车流量总和之间的比值计算右拐向交通灯在固定时间段内的绿信比。Similarly, the above method of calculating the right turn traffic is to adopt a second average value of the right turn to the traffic flow during the statistical history period as a way of turning right to the traffic flow value within a fixed time period. And calculating the green letter ratio of the right turn to the traffic light for a fixed period of time by the ratio between the second average and the sum of the traffic at the first intersection in the fixed time period.
优选的,为了能够统计右拐向车流量更加的精确。也为了能够更加精确的计算右拐向交通灯在固定时间段内的亮灭时间。在本实施例中还可以采用另一种实施方式。具体如图9所示,该方法包括:Preferably, in order to be able to count the right turn to the traffic flow more accurately. In order to be able to more accurately calculate the turn-off time of the right turn to the traffic light for a fixed period of time. Another embodiment can also be employed in this embodiment. Specifically, as shown in FIG. 9, the method includes:
步骤910,接收在固定时间段内,即将右拐的车辆上传的指示信息。Step 910: Receive indication information uploaded by a vehicle that is about to turn right within a fixed period of time.
具体的,当车辆到达第一十字交叉路口时,如果车辆即将右拐。那么,首先向服务器发送指示信息。其中,该指示信息用于指示该车辆需要右拐。Specifically, when the vehicle reaches the first crossroad, if the vehicle is about to turn right. Then, the indication information is first sent to the server. Wherein, the indication information is used to indicate that the vehicle needs to turn right.
步骤920,根据指示信息统计即将右拐的车辆数。 Step 920, counting the number of vehicles that are about to turn right according to the indication information.
服务器在接收到即将右拐的车辆发送的指示信息后,可以统计即将右拐的车辆的个数。After receiving the indication information sent by the vehicle that is about to turn right, the server can count the number of vehicles that are about to turn right.
步骤930,计算即将右拐的车辆数与第一十字交叉路口车流量总和之间的比值,并将即将右拐的车辆数与第一十字交叉路口车流量总和之间的比值作为右拐向交通灯在固定时间段内的绿信比。Step 930: Calculate the ratio between the number of vehicles that are about to turn right and the sum of the traffic at the first intersection, and use the ratio between the number of vehicles that are about to turn right and the sum of traffic at the first intersection as the right turn traffic. The green letter ratio of the lamp during a fixed period of time.
与上述实施例类似的,在本实施例中,主要是将服务器统计出的即将右拐的车辆数与第一十字交叉路口车流量总和之间的比值,作为右拐向交通灯在固定时间段内的绿信比。Similar to the above embodiment, in this embodiment, the ratio between the number of vehicles that are about to turn right and the total traffic volume of the first intersection is counted as a right turn to the traffic light for a fixed period of time. The green letter ratio inside.
步骤940,根据右拐向交通灯在固定时间段内的绿信比,计算右拐向交通灯在固定时间段内的亮灭时间。In step 940, according to the green letter ratio of the right turn to the traffic light for a fixed period of time, the time of turning off the right turn to the traffic light for a fixed period of time is calculated.
本发明实施例的一种交通灯智能控制方法,根据交通灯的方向设置不同,可 以采取不同的方式计算交通灯的亮灭时间。整体思想都是统计固定时间段内不同方向的车流量信息,以及第一十字交叉路口车流量总和。根据二者之间的比值计算对应方向的交通灯的绿信比,进一步的计算交通灯的亮灭时间和亮灭状态。通过上述方式,可以保证不同交通通道均能够得到充分利用。而且,可以尽量减少交通拥挤。An intelligent control method for a traffic light according to an embodiment of the present invention may be different according to a direction of a traffic light. Calculate the lighting time of the traffic lights in different ways. The overall idea is to count the traffic flow information in different directions within a fixed time period, and the total traffic flow at the first crossroad. According to the ratio between the two, the green signal ratio of the traffic light in the corresponding direction is calculated, and the lighting time and the off state of the traffic light are further calculated. Through the above methods, it can be ensured that different traffic passages can be fully utilized. Moreover, traffic congestion can be minimized.
但是,在上述任一实施例中,将至少一个十字交叉路口中每一个十字交叉路口在固定时间段内的交通灯的亮灭时间分别发送至对应终端之前,均还包括步骤A:设定第一十字交叉路口的交通灯亮灭逻辑。However, in any of the above embodiments, before each of the crossroads of the at least one intersection is sent to the corresponding terminal in a fixed period of time, the step A: setting the first The traffic lights at a crossroad turn off the logic.
步骤B:将交通灯亮灭逻辑发送至终端。Step B: Send the traffic light on and off to the terminal.
其中,交通灯亮灭逻辑用于确定第一十字交叉路口中其中一个方向或者两个并行反向行驶的通道的绿灯为亮的状态时,控制其他方向通道的红灯为亮的状态。当然,步骤B可以和“将至少一个十字交叉路口中每一个十字交叉路口在固定时间段内的交通灯的亮灭时间分别发送至对应终端”这个步骤同时执行,也即是将交通灯亮灭时间和交通灯亮灭逻辑同时发送至终端。由此来保证不同交通灯始终处于协同工作。而并非处于换乱状态。以免造成不同方向的绿灯同时亮或灭。或者不同方向的红灯同时亮或灭等的非常规现象的发生。Wherein, when the traffic light on/off logic is used to determine that one of the first crossroads or the green light of the two parallel reverse traveling lanes is in a bright state, the red light of the other direction channels is controlled to be in a bright state. Of course, step B can be performed simultaneously with the step of "sending the off time of the traffic lights of each of the crossroads in at least one of the intersections to the corresponding terminal in a fixed period of time", that is, the time when the traffic light is turned off. And the traffic light is on and off and sent to the terminal. This ensures that different traffic lights are always working together. It is not in a state of disorder. So as not to cause the green light in different directions to be on or off at the same time. Or the unconventional phenomenon that the red light in different directions is on or off at the same time.
另外,还需说明的是,虽然上述任意实施中,仅是说明了当第一十字交叉路口仅包括一种情况的交通灯,例如仅包括东西、南北两个方向的交通灯。或者,仅包括左拐向和/或右拐向交通灯等等。但是这仅仅是为了更加方便读者理解,而不代表本发明实际方案的实际情况。在实际应用中,上述东西方向和南北方向的方案,可以与包括左拐向和/右拐向交通灯的方案进行组合,构成一个完整方案;或者,包括东西南北四个方向的方案同样也可与左拐向和/右拐向交通灯的方案进行组合,构成一个完整方案。而在进行组合后,就必须将上述实施例中所列举的所有情况进行一个综合考虑。不过计算方式同上述实施例相同。只是如果包含上述所有情况时,每个方向的交通灯的绿信比可能会减小而已。In addition, it should be noted that, in any of the above embodiments, only the traffic light including only one case is included in the first intersection, for example, a traffic light including only two directions of east, west, and north. Or, only include left turn and/or turn right to traffic lights and so on. However, this is merely for the convenience of the reader and does not represent the actual situation of the actual solution of the present invention. In practical applications, the above-mentioned east-west direction and north-south direction scheme can be combined with the scheme including left turn and/or right turn traffic light to form a complete scheme; or, the scheme including four directions of east, west, north and south can also be used. Combine with the left turn and / turn right to the traffic light to form a complete solution. After the combination, it is necessary to comprehensively consider all the cases listed in the above embodiments. However, the calculation is the same as the above embodiment. It is only if the above situation is included, the green letter ratio of the traffic light in each direction may be reduced.
相应的,本发明实施例还提供了一种交通灯智能控制装置。具体如图10所示。图10为本发明实施例提供的一种交通灯智能控制装置结构示意图。在本实施例中,主要以一个十字交叉路口为例进行说明,也即是说,本实施例主要针对的是仅控制一个十字交叉路口的交通灯亮灭时间和亮灭状态。具体的,该装置包括:接收单元1001,统计单元1002、处理单元1003以及发送单元1004。Correspondingly, the embodiment of the invention further provides a traffic light intelligent control device. Specifically, as shown in Figure 10. FIG. 10 is a schematic structural diagram of an intelligent control device for a traffic light according to an embodiment of the present invention. In this embodiment, the description is mainly made by taking a crossroad as an example. That is to say, this embodiment is mainly directed to controlling the traffic light on and off time and the on-off state of only one intersection. Specifically, the device includes: a receiving unit 1001, a statistic unit 1002, a processing unit 1003, and a sending unit 1004.
接收单元1001,用于实时接收第一十字交叉路口发送的车流量信息。The receiving unit 1001 is configured to receive traffic flow information sent by the first intersection in real time.
统计单元1002,用于周期性统计第一十字交叉路口固定时间段内的车流量信息。The statistics unit 1002 is configured to periodically count traffic flow information in a fixed time period of the first intersection.
处理单元1003,用于根据第一十字交叉路口固定时间段内的车流量信息,计算第一十字交叉路口在固定时间段内的交通灯的亮灭时间。The processing unit 1003 is configured to calculate, according to the traffic flow information in the fixed time period of the first crossroad, the on/off time of the traffic light of the first crossroad during the fixed time period.
发送单元1004用于将第一十字交叉路口在固定时间段内的交通灯的亮灭时 间分别发送至对应终端。The sending unit 1004 is configured to: when the traffic light of the first crossroad is in a fixed period of time They are sent to the corresponding terminals separately.
具体的,在一种情况中,假设第一十字交叉路口包括控制东西方向车辆通行的第一交通灯和控制南北方向车辆通行的第二交通灯。Specifically, in one case, it is assumed that the first crossroad includes a first traffic light that controls the passage of the east-west vehicle and a second traffic light that controls the traffic of the north-south direction.
那么,统计单元1002具体用于,分别统计固定时间段内东西方向的车流量和南北方向通行的车流量,以及第一十字交叉路口车流量总和。Then, the statistic unit 1002 is specifically configured to separately calculate the traffic flow in the east-west direction and the traffic flow in the north-south direction in the fixed time period, and the total traffic flow at the first crossroad.
处理单元1003具体用于,计算固定时间段内东西方向的车流量和第一十字交叉路口车流量总和之间的第一比值,并将第一比值作为在固定时间段内,第一交通灯的绿信比;并根据第一交通灯在固定时间段内的绿信比,计算第一交通灯在固定时间段内的亮灭时间;The processing unit 1003 is specifically configured to calculate a first ratio between the traffic flow in the east-west direction and the total traffic volume of the first intersection in a fixed time period, and use the first ratio as the first traffic light in the fixed time period. Green letter ratio; and according to the green signal ratio of the first traffic light in a fixed period of time, calculating the time of the first traffic light in a fixed period of time;
以及,计算固定时间段内南北方向的车流量和第一十字交叉路口车流量总和之间的第二比值,并将第二比值作为在固定时间段内,第二交通灯的绿信比;And calculating a second ratio between the traffic flow in the north-south direction and the sum of the traffic at the first crossroad in the fixed time period, and using the second ratio as the green signal ratio of the second traffic light in the fixed time period;
并根据第二交通灯在固定时间段内的绿信比,计算第二交通灯在固定时间段内的亮灭时间。And according to the green signal ratio of the second traffic light in a fixed time period, the time of the second traffic light in the fixed time period is calculated.
发送单元1004具体用于,分别将第一十字交叉路口第一交通灯在固定时间段内的亮灭时间的亮灭时间,以及第二交通灯在固定时间段内的亮灭时间的亮灭时间发送至对应终端,其中,第一十字交叉路口为至少一个十字交叉路口中的任一个十字交叉路口,固定时间段为预设的时间段值,该预设的时间段值小于或者等于1分钟。The sending unit 1004 is specifically configured to: respectively, the on and off time of the first traffic light of the first crossroad in the fixed time period, and the light-off time of the second traffic light in the fixed time period Sending to the corresponding terminal, where the first crossroad intersection is any one of the at least one intersection, the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
在另一种情况中,如果第一十字交叉路口包括东、西、南和北四条交通通道时,也即是第一十字交叉路口至少包括东、西、南和北四个交通灯时,统计单元1002具体用于:分别统计固定时间段内东、西、南、北四个方向的车流量,以及第一十字交叉路口车流量总和。In another case, if the first intersection includes four traffic passages of east, west, south and north, that is, when the first intersection includes at least four traffic lights of east, west, south and north, statistics The unit 1002 is specifically configured to: separately calculate the traffic flow in the east, west, south, and north directions in a fixed time period, and the total traffic flow at the first crossroad.
处理单元1003具体用于:分别计算在固定时间段内东、西、南、北四个方向的车流量,与第一十字交叉路口车流量总和之间的比值;The processing unit 1003 is specifically configured to: separately calculate a ratio between the traffic flow in the east, west, south, and north directions in a fixed time period, and the total traffic flow at the first crossroad;
且分别将在固定时间段内东、西、南、北四个方向的车流量,与第一十字交叉路口车流量总和之间的比值,作为对应方向的交通灯在固定时间段内的绿信比;And the ratio between the traffic flow in the east, west, south and north directions in the fixed time period and the total traffic flow at the first crossroad, respectively, as the green signal of the traffic light in the corresponding direction within a fixed time period. ratio;
并分别根据对应方向的交通灯在固定时间段内绿信比,计算对应方向的交通灯在固定时间段内的亮灭时间。And according to the green light ratio of the traffic light of the corresponding direction in a fixed time period, the time of the traffic light of the corresponding direction is determined in a fixed time period.
发送单元1004具体用于:分别将第一十字交叉路口东、西、南和北方向的交通灯在固定时间段内的亮灭时间的亮灭时间发送至对应终端,其中,第一十字交叉路口为至少一个十字交叉路口中的任一个十字交叉路口,固定时间段为预设的时间段值,该预设的时间段值小于或者等于1分钟。The sending unit 1004 is specifically configured to: send, to the corresponding terminal, the lighting time of the traffic lights in the east, west, south, and north directions of the first intersection in a fixed time period to the corresponding terminal, where the first crossroad For any one of the at least one intersection, the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
在另一种情况中,如果第一十字交叉路口还包括左拐交通灯和/或右拐交通灯时,该装置将还可以包括提取单元1005。In another case, if the first intersection also includes a left turn traffic light and/or a right turn traffic light, the device will also include an extraction unit 1005.
具体的,例如第一十字交叉路口包括的是左拐向交通灯。Specifically, for example, the first intersection includes a left turn to the traffic light.
那么,提取单元1005,用于提取至少两次预设时间段内左拐向车流量信息。 Then, the extracting unit 1005 is configured to extract left turn traffic flow information within at least two preset time periods.
统计单元1002具体用于:统计在固定时间段内第一十字交叉路口车流量总和。The statistic unit 1002 is specifically configured to: count the total traffic volume of the first intersection in a fixed time period.
处理单元1003具体用于:计算至少两次预设时间段内左拐向车流量信息的第一平均值;计算第一平均值和第一十字交叉路口车流量总和之间的比值;并将第一平均值和第一十字交叉路口车流量总和之间的比值作为左拐向交通灯在固定时间段内的绿信比;根据左拐向交通灯在固定时间段内的绿信比,计算左拐向交通灯在固定时间段内的亮灭时间。The processing unit 1003 is specifically configured to: calculate a first average value of the left turn traffic flow information in at least two preset time periods; calculate a ratio between the first average value and the sum of the first crossroad traffic flow; The ratio between the average value and the sum of the traffic at the first intersection is used as the green-to-signal ratio of the left turn to the traffic light for a fixed period of time; according to the green-to-signal ratio of the left turn to the traffic light for a fixed period of time, the left is calculated. Turning to the traffic light for a fixed period of time.
发送单元1004具体用于,将左拐向交通灯在固定时间段内的亮灭时间发送至终端。The sending unit 1004 is specifically configured to send the left turn to the traffic light for a fixed time period to be sent to the terminal.
和/或,如果第一十字交叉路口还包括右拐交通灯时,那么,提取单元1005,用于,提取至少两次预设时间段内右拐向车流量信息。统计单元1002具体用于:统计在固定时间段内第一十字交叉路口车流量总和。处理单元1003具体用于:计算至少两次预设时间段内右拐向车流量信息的第二平均值。计算第二平均值和第一十字交叉路口车流量总和之间的比值。并将第二平均值和第一十字交叉路口车流量总和之间的比值作为右拐向交通灯在固定时间段内的绿信比。根据右拐向交通灯在固定时间段内的绿信比,计算右拐向交通灯在固定时间段内的亮灭时间。发送单元1004具体用于,将左拐向交通灯在固定时间段内的亮灭时间发送至终端;其中,预设时间段与固定时间段为不同周期的同一时间段,且预设时间段为在先发生的周期内的时间段,第一十字交叉路口为至少一个十字交叉路口中的任一个十字交叉路口,固定时间段为预设的时间段值,该预设的时间段值小于或者等于1分钟。And/or, if the first intersection further includes a right turn traffic light, then the extracting unit 1005 is configured to extract right turn traffic flow information within at least two preset time periods. The statistic unit 1002 is specifically configured to: count the total traffic volume of the first intersection in a fixed time period. The processing unit 1003 is specifically configured to: calculate a second average value of the right turn traffic flow information in at least two preset time periods. Calculate the ratio between the second average and the sum of the traffic at the first intersection. And the ratio between the second average and the sum of the traffic at the first intersection is taken as the green letter ratio of the right turn to the traffic light for a fixed period of time. According to the green letter ratio of the right turn to the traffic light for a fixed period of time, calculate the time of the right turn to the traffic light for a fixed period of time. The sending unit 1004 is specifically configured to: send the left turn to the traffic light in a fixed time period to the terminal; wherein, the preset time period and the fixed time period are the same time period of different periods, and the preset time period is The first intersection is a crossroad of any one of the at least one intersection, and the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
优选的,为了能够统计左拐向车流量更加的精确。也为了能够更加精确的计算左拐向交通灯在固定时间段内的亮灭时间。Preferably, in order to be able to count the left turn to the traffic flow more accurately. In order to be able to more accurately calculate the turn-off time of the left turn to the traffic light for a fixed period of time.
那么,接收单元1001具体用于,接收在固定时间段内,即将左拐的车辆上传的指示信息。统计单元1002具体用于:根据指示信息统计即将左拐的车辆数。处理单元1003具体用于:计算即将左拐的车辆数与第一十字交叉路口车流量总和之间的比值,并将即将左拐的车辆数与第一十字交叉路口车流量总和之间的比值作为左拐向交通灯在固定时间段内的绿信比。根据左拐向交通灯在固定时间段内的绿信比,计算左拐向交通灯在固定时间段内的亮灭时间。发送单元1004具体用于,将左拐向交通灯在固定时间段内的亮灭时间发送至终端。Then, the receiving unit 1001 is specifically configured to receive the indication information uploaded by the vehicle that is about to turn left within a fixed period of time. The statistic unit 1002 is specifically configured to: count the number of vehicles that are about to turn left according to the indication information. The processing unit 1003 is specifically configured to: calculate a ratio between the number of vehicles that are about to turn left and the total traffic of the first intersection, and compare the ratio between the number of vehicles that are about to turn left and the total traffic of the first intersection. Turn left to the green light ratio of the traffic light for a fixed period of time. According to the green letter ratio of the left turn to the traffic light for a fixed period of time, the time of turning off the traffic light to the traffic light for a fixed period of time is calculated. The sending unit 1004 is specifically configured to send the left turn to the traffic light for a fixed time period to be sent to the terminal.
和/或,接收单元1001,用于接收在固定时间段内,即将右拐的车辆上传的指示信息。统计单元1002具体用于:根据指示信息统计即将右拐的车辆数。处理单元1003具体用于:计算即将右拐的车辆数与第一十字交叉路口车流量总和之间的比值,并将即将右拐的车辆数与第一十字交叉路口车流量总和之间的比值作为右拐向交通灯在固定时间段内的绿信比。根据右拐向交通灯在固定时间段内的绿信比,计算右拐向交通灯在固定时间段内的亮灭时间。发送单元1004具体 用于,将右拐向交通灯在固定时间段内的亮灭时间发送至终端。And/or, the receiving unit 1001 is configured to receive indication information that is uploaded by the vehicle that is about to turn right within a fixed period of time. The statistic unit 1002 is specifically configured to: count the number of vehicles that are about to turn right according to the indication information. The processing unit 1003 is specifically configured to: calculate a ratio between the number of vehicles that are about to turn right and the total traffic volume of the first intersection, and compare the ratio between the number of vehicles that are about to turn right and the total traffic of the first intersection. Turn right to the green light ratio of the traffic light for a fixed period of time. According to the green letter ratio of the right turn to the traffic light for a fixed period of time, calculate the time of the right turn to the traffic light for a fixed period of time. The sending unit 1004 is specific For transmitting the right turn to the traffic light for a fixed time period to be sent to the terminal.
本发明实施例中一种交通灯智能控制装置所涉及的元器件执行的功能均已在图2至图9的交通灯智能控制方法中做了详细介绍,具体实现的功能可参见上文中与图2至图9所对应的方法实施例,这里将不再赘述。The functions performed by the components involved in the traffic light intelligent control device in the embodiments of the present invention have been described in detail in the traffic light intelligent control method of FIG. 2 to FIG. 9 , and the functions of the specific implementation can be seen in the above figures and figures. 2 to FIG. 9 corresponding to the method embodiment, which will not be repeated here.
本发明实施例提供的一种交通灯智能控制装置,处理单元根据交通灯的方向设置不同,可以采取不同的方式计算交通灯的亮灭时间。整体思想都是统计固定时间段内不同方向的车流量信息,以及第一十字交叉路口车流量总和。根据二者之间的比值计算对应方向的交通灯的绿信比,进一步的计算交通灯的亮灭时间和亮灭状态。通过上述方式,可以保证不同交通通道均能够得到充分利用。而且,可以尽量减少交通拥挤。The traffic light intelligent control device provided by the embodiment of the invention has different processing modes according to the direction of the traffic light, and can calculate the light-off time of the traffic light in different manners. The overall idea is to count the traffic flow information in different directions within a fixed time period, and the total traffic flow at the first crossroad. According to the ratio between the two, the green signal ratio of the traffic light in the corresponding direction is calculated, and the lighting time and the off state of the traffic light are further calculated. Through the above methods, it can be ensured that different traffic passages can be fully utilized. Moreover, traffic congestion can be minimized.
进一步优选的,在上述任一种交通灯智能控制装置所对应的实施例中,均还可以包括逻辑设定单元(图10中显示为1006)。Further preferably, in any of the embodiments corresponding to any of the above traffic light intelligent control devices, a logic setting unit (shown as 1006 in FIG. 10) may be further included.
具体的,逻辑设定单元,用于设定第一十字交叉路口的交通灯亮灭逻辑;Specifically, a logic setting unit is configured to set a traffic light on and off logic of the first intersection;
发送单元1004还用,将交通灯亮灭逻辑发送至终端,其中交通灯亮灭逻辑用于确定第一十字交叉路口中其中一个方向或者两个并行反向行驶的通道的绿灯为亮的状态时,控制其他方向通道的红灯为亮的状态。The sending unit 1004 is further configured to send the traffic light on and off logic to the terminal, wherein the traffic light on/off logic is used to determine that one of the first crossroads or two green lights of the parallel reverse traveling lanes are in a bright state The red light of the other direction channel is on.
通过逻辑设定单元设置交通灯的亮灭逻辑,由此来保证不同交通灯始终处于协同工作。而并非处于换乱状态。以免造成不同方向的绿灯同时亮或灭。或者不同方向的红灯同时亮或灭等的非常规现象的发生。The logic light setting unit sets the lighting logic of the traffic light, thereby ensuring that different traffic lights are always working together. It is not in a state of disorder. So as not to cause the green light in different directions to be on or off at the same time. Or the unconventional phenomenon that the red light in different directions is on or off at the same time.
读者应理解,在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。The reader should understand that in the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means that the embodiment or example is incorporated. The specific features, structures, materials, or characteristics described are included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms is not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, various embodiments or examples described in the specification and features of various embodiments or examples may be combined and combined without departing from the scope of the invention.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。 Although the embodiments of the present invention have been shown and described, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the invention. The embodiments are subject to variations, modifications, substitutions and variations.

Claims (10)

  1. 一种交通灯智能控制方法,其特征在于,所述方法包括:A traffic light intelligent control method, characterized in that the method comprises:
    实时接收至少一个十字交叉路口对应的终端发送的车流量信息;Receiving traffic flow information sent by the terminal corresponding to at least one intersection in real time;
    周期性统计所述至少一个十字交叉路口中每一个十字交叉路口固定时间段内的车流量信息;Periodically counting traffic flow information during a fixed period of each of the at least one intersection;
    分别根据所述至少一个十字交叉路口中每一个十字交叉路口固定时间段内的车流量信息,计算所述至少一个十字交叉路口中每一个十字交叉路口在所述固定时间段内的交通灯的亮灭时间;Calculating, according to the traffic flow information in each of the at least one intersection of the at least one intersection, a traffic light of each of the at least one intersection in the fixed time period Off time
    将所述至少一个十字交叉路口中每一个十字交叉路口在所述固定时间段内的交通灯的亮灭时间分别发送至对应终端,以便所述终端控制对应的所述至少一个十字交叉路口的交通灯亮灭状态及亮灭时间。Transmitting, for each of the at least one intersection, a light-off time of the traffic light in the fixed time period to the corresponding terminal, so that the terminal controls the traffic of the corresponding at least one intersection The light is on and off and on.
  2. 根据权利要求1所述的方法,其特征在于,当第一十字交叉路口包括控制东西方向车辆通行的第一交通灯和控制南北方向车辆通行的第二交通灯时,根据所述第一十字交叉路口在固定时间段内的车流量信息,计算所述第一十字交叉路口的交通灯的亮灭时间,具体包括:The method according to claim 1, wherein when the first crossroad includes a first traffic light that controls the passage of the east-west vehicle and a second traffic light that controls the traffic of the north-south direction, according to the first cross The traffic flow information of the intersection in a fixed time period is calculated, and the time of the traffic light of the first intersection is calculated, which specifically includes:
    分别统计固定时间段内东西方向通行的车流量和南北方向通行的车流量,以及所述第一十字交叉路口车流量总和;Calculate the traffic flow in the east-west direction and the traffic flow in the north-south direction during the fixed time period, and the total traffic volume of the first crossroads;
    计算所述固定时间段内东西方向的车流量和所述第一十字交叉路口车流量总和之间的第一比值,并将所述第一比值作为在所述固定时间段内所述第一交通灯的绿信比;Calculating a first ratio between a traffic flow in the east-west direction and a total traffic flow of the first crossroad in the fixed time period, and using the first ratio as the first traffic in the fixed time period Green letter ratio of the lamp;
    并根据所述第一交通灯在所述固定时间段内的绿信比,计算所述第一交通灯在所述固定时间段内的亮灭时间;And calculating, according to the green signal ratio of the first traffic light in the fixed time period, a lighting time of the first traffic light in the fixed time period;
    以及,计算所述固定时间段内南北方向的车流量和所述第一十字交叉路口车流量总和之间的第二比值,并将所述第二比值作为在所述固定时间段内第二交通灯的绿信比;And calculating a second ratio between the traffic flow in the north-south direction and the sum of the traffic at the first intersection in the fixed time period, and using the second ratio as the second traffic in the fixed time period Green letter ratio of the lamp;
    并根据所述第二交通灯在所述固定时间段内的绿信比,计算所述第二交通灯在所述固定时间段内的亮灭时间,其中,所述第一十字交叉路口为至少一个十字交叉路口中的任一个十字交叉路口所述固定时间段为预设的时间段值,所述预设的时间段值小于或者等于1分钟。And calculating, according to the green signal ratio of the second traffic light in the fixed time period, a lighting time of the second traffic light in the fixed time period, wherein the first intersection is at least The fixed time period of any one of the intersections is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  3. 根据权利要求1所述的方法,其特征在于,当所述第一十字交叉路口包括控制东、西、南、北四个方向车辆通行的交通灯,且东西方向的车辆在并行反向车道行驶,南北方向的车辆在并行反向的车道行驶时,根据所述第一十字交叉路口在固定时间段内的车流量信息,计算所述第一十字交叉路口的交通灯的亮灭时间,具体包括:The method according to claim 1, wherein when the first crossroad includes a traffic light that controls traffic in four directions of east, west, south, and north, and the east-west direction vehicle travels in a parallel reverse lane The vehicle in the north-south direction calculates the light-off time of the traffic light of the first intersection according to the traffic flow information of the first intersection in a fixed time period, specifically including :
    分别统计固定时间段内所述东、西、南、北四个方向的车流量,以及所述第一十字交叉路口车流量总和; Calculating the traffic flow in the four directions of the east, west, south, and north in a fixed time period, and the total traffic volume of the first intersection;
    分别计算在所述固定时间段内东、西、南、北四个方向的车流量,与所述第一十字交叉路口车流量总和之间的比值;Calculating a ratio between the traffic flow in the east, west, south, and north directions in the fixed time period, and the sum of the traffic flows at the first crossroad;
    且分别将在所述固定时间段内东、西、南、北四个方向的车流量,与所述第一十字交叉路口车流量总和之间的比值,作为对应方向的交通灯在所述固定时间段内的绿信比;And respectively, the ratio between the traffic flow in the east, west, south, and north directions in the fixed time period and the total traffic flow of the first crossroad is used as the corresponding direction of the traffic light in the fixed Green letter ratio in the time period;
    并分别根据所述对应方向的交通灯在所述固定时间段内的绿信比,计算所述对应方向的交通灯在所述固定时间段内的亮灭时间,其中,所述第一十字交叉路口为至少一个十字交叉路口中的任一个十字交叉路口,所述固定时间段为预设的时间段值,所述预设的时间段值小于或者等于1分钟。And calculating, according to the green signal ratio of the traffic light of the corresponding direction in the fixed time period, the lighting time of the corresponding direction of the traffic light in the fixed time period, wherein the first cross The intersection is any one of the at least one intersection, the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  4. 根据权利要求1所述的方法,其特征在于,当所述第一十字交叉路口包括左拐向的灯交通灯时,根据所述第一十字交叉路口在固定时间段内的左拐向车流量信息,计算所述第一十字交叉路口左拐向的交通灯的亮灭时间,具体包括:The method according to claim 1, wherein when the first intersection includes a left-turning light traffic light, the left turn traffic flow according to the first intersection in a fixed period of time The information is calculated, and the time of turning off the traffic light turned to the left of the first intersection is calculated, which specifically includes:
    提取至少两次预设时间段内左拐向车流量信息;Extracting left turn traffic flow information within at least two preset time periods;
    统计在所述固定时间段内所述第一十字交叉路口车流量总和;Counting the total traffic volume of the first crossroad during the fixed time period;
    计算所述至少两次预设时间段内左拐向车流量信息的第一平均值;Calculating a first average value of the left turn traffic flow information in the at least two preset time periods;
    计算所述第一平均值和所述第一十字交叉路口车流量总和之间的比值;并将所述第一平均值和所述第一十字交叉路口车流量总和之间的比值作为所述左拐向交通灯在所述固定时间段内的绿信比;Calculating a ratio between the first average value and the sum of the first intersection traffic volumes; and using a ratio between the first average value and the sum of the first intersection traffic volumes as the left a green letter ratio to the traffic light during the fixed period of time;
    根据所述左拐向交通灯在所述固定时间段内的绿信比,计算所述左拐向交通灯在所述固定时间段内的亮灭时间;Calculating a light-off time of the left turn traffic light in the fixed time period according to the green signal ratio of the left turn to the traffic light in the fixed time period;
    和/或,当所述第一十字交叉路口包括右拐向灯交通灯时,根据所述第一十字交叉路口在固定时间段内的右拐向车流量信息,计算所述第一十字交叉路口右拐向的交通灯的亮灭时间,具体包括:And/or, when the first crossroad includes a right turn traffic light, calculating the first crossroad according to the right turn traffic flow information of the first crossroad for a fixed period of time The time of turning off the right traffic light, including:
    提取至少两次预设时间段内右拐向车流量信息;Extracting right turn traffic flow information within at least two preset time periods;
    统计在所述固定时间段内所述第一十字交叉路口车流量总和;Counting the total traffic volume of the first crossroad during the fixed time period;
    计算所述至少两次预设时间段内右拐向车流量信息的第二平均值;Calculating a second average value of the right turn traffic flow information in the at least two preset time periods;
    计算所述第二平均值和所述第一十字交叉路口车流量总和之间的比值;Calculating a ratio between the second average value and the sum of the traffic at the first intersection;
    并将所述第二平均值和所述第一十字交叉路口车流量总和之间的比值作为所述右拐向交通灯在所述固定时间段内的绿信比;And comparing a ratio between the second average value and the sum of the traffic at the first intersection as a green signal ratio of the right turn traffic light in the fixed time period;
    根据所述右拐向交通灯在所述固定时间段内的绿信比,计算所述右拐向交通灯在所述固定时间段内的亮灭时间,其中,所述预设时间段与所述固定时间段为不同周期的同一时间段,且所述预设时间段为在先发生的周期内的时间段,所述第一十字交叉路口为至少一个十字交叉路口中的任一个十字交叉路口,所述固定时间段为预设的时间段值,所述预设的时间段值小于或者等于1分钟。Calculating, according to the green signal ratio of the right turn to the traffic light in the fixed time period, the light-off time of the right turn traffic light in the fixed time period, wherein the preset time period and the The fixed time period is the same time period of different periods, and the preset time period is a time period within a pre-occurring period, and the first crossroad intersection is any one of at least one crossroad intersection The fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  5. 根据权利要求2-4任一项所述的方法,其特征在于,将所述至少一个十字交叉路口中每一个十字交叉路口在所述固定时间段内的交通灯的亮灭时间分 别发送至对应终端之前,所述方法还包括:The method according to any one of claims 2 to 4, characterized in that the light-off time of the traffic light in each of the at least one crossroads in the fixed time period is divided Before sending to the corresponding terminal, the method further includes:
    设定所述第一十字交叉路口的交通灯亮灭逻辑;Setting a traffic light on and off at the first intersection;
    并将所述交通灯亮灭逻辑发送至所述终端,其中,所述交通灯亮灭逻辑用于确定所述第一十字交叉路口中其中一个方向或者两个并行反向行驶的通道的绿灯为亮的状态时,控制其他方向通道的红灯为亮的状态。And sending the traffic light on and off logic to the terminal, wherein the traffic light on/off logic is used to determine that one of the first crossroads or two green lights of the parallel reverse travel lanes are bright In the state, the red light of the other direction channel is controlled to be in a bright state.
  6. 一种交通灯智能控制装置,其特征在于,所述装置包括:A traffic light intelligent control device, characterized in that the device comprises:
    接收单元,用于实时接收至少一个十字交叉路口对应的终端发送的车流量信息;a receiving unit, configured to receive, in real time, traffic flow information sent by a terminal corresponding to at least one intersection;
    统计单元,用于周期性统计所述至少一个十字交叉路口中每一个十字交叉路口固定时间段内的车流量信息;a statistical unit, configured to periodically count traffic flow information in a fixed time period of each of the at least one intersection;
    处理单元,用于分别根据所述至少一个十字交叉路口中每一个十字交叉路口固定时间段内的车流量信息,计算所述至少一个十字交叉路口中每一个十字交叉路口在所述固定时间段内的交通灯的亮灭时间;a processing unit, configured to calculate, according to the traffic flow information in each of the at least one intersection, a cross-section of each of the at least one intersection, within the fixed time period The time of the traffic light is on;
    发送单元,用于将所述至少一个十字交叉路口中每一个十字交叉路口在所述固定时间段内的交通灯的亮灭时间分别发送至对应终端,以便所述终端控制对应的至少一个十字交叉路口的交通灯亮灭状态及亮灭时间。a sending unit, configured to send, to each of the at least one intersection, a lighting time of the traffic light in the fixed time period to the corresponding terminal, so that the terminal controls the corresponding at least one cross The traffic light at the intersection is on and off.
  7. 根据权利要求6所述的装置,其特征在于,当第一十字交叉路口包括控制东西方向车辆通行的第一交通灯和控制南北方向车辆通行的第二交通灯时,所述统计单元具体用于:The apparatus according to claim 6, wherein the statistical unit is specifically used when the first crossroad includes a first traffic light that controls the traffic of the east-west direction vehicle and a second traffic light that controls the traffic of the north-south direction vehicle. :
    分别统计固定时间段内东西方向通行的车流量和南北方向通行的车流量,以及所述第一十字交叉路口车流量总和;Calculate the traffic flow in the east-west direction and the traffic flow in the north-south direction during the fixed time period, and the total traffic volume of the first crossroads;
    所述处理单元具体用于:计算所述固定时间段内东西方向的车流量和所述第一十字交叉路口车流量总和之间的第一比值,并将所述第一比值作为在所述固定时间段内,所述第一交通灯的绿信比;The processing unit is specifically configured to: calculate a first ratio between a traffic flow in the east-west direction and a total traffic flow of the first crossroad in the fixed time period, and use the first ratio as the fixed value The green signal ratio of the first traffic light during the time period;
    并根据所述第一交通灯在所述固定时间段内的绿信比,计算所述第一交通灯在所述固定时间段内的亮灭时间;And calculating, according to the green signal ratio of the first traffic light in the fixed time period, a lighting time of the first traffic light in the fixed time period;
    以及,计算所述固定时间段内南北方向的车流量和所述第一十字交叉路口车流量总和之间的第二比值,并将所述第二比值作为在所述固定时间段内,第二交通灯的绿信比;And calculating a second ratio between the traffic volume in the north-south direction and the sum of the traffic at the first intersection in the fixed time period, and using the second ratio as the fixed time period, second Green light ratio of traffic lights;
    并根据所述第二交通灯在所述固定时间段内的绿信比,计算所述第二交通灯在所述固定时间段内的亮灭时间;其中,所述第一十字交叉路口为至少一个十字交叉路口中的任一个十字交叉路口,所述固定时间段为预设的时间段值,所述预设的时间段值小于或者等于1分钟。And calculating, according to the green signal ratio of the second traffic light in the fixed time period, a lighting time of the second traffic light in the fixed time period; wherein the first intersection is at least Any one of the intersections, the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  8. 根据权利要求6所述的装置,其特征在于,所述统计单元具体用于:The device according to claim 6, wherein the statistical unit is specifically configured to:
    分别统计固定时间段内所述东、西、南、北四个方向的车流量,以及所述第一十字交叉路口车流量总和; Calculating the traffic flow in the four directions of the east, west, south, and north in a fixed time period, and the total traffic volume of the first intersection;
    所述处理单元具体用于:分别计算在所述固定时间段内东、西、南、北四个方向的车流量,与所述第一十字交叉路口车流量总和之间的比值;The processing unit is specifically configured to: respectively calculate a ratio between a traffic flow in four directions of the east, west, south, and north in the fixed time period, and a total traffic flow of the first crossroad;
    且分别将在所述固定时间段内东、西、南、北四个方向的车流量,与所述第一十字交叉路口车流量总和之间的比值,作为对应方向的交通灯在所述固定时间段内的绿信比;And respectively, the ratio between the traffic flow in the east, west, south, and north directions in the fixed time period and the total traffic flow of the first crossroad is used as the corresponding direction of the traffic light in the fixed Green letter ratio in the time period;
    并分别根据所述对应方向的交通灯在所述固定时间段内的绿信比,计算所述对应方向的交通灯在所述固定时间段内的亮灭时间;其中,所述第一十字交叉路口为至少一个十字交叉路口中的任一个十字交叉路口,所述固定时间段为预设的时间段值,该预设的时间段值小于或者等于1分钟。And calculating, according to the green signal ratio of the traffic light of the corresponding direction in the fixed time period, a lighting time of the corresponding direction of the traffic light in the fixed time period; wherein the first cross The intersection is any one of the at least one intersection, and the fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  9. 根据权利要求6所述的装置,其特征在于,所述装置还包括:The device according to claim 6, wherein the device further comprises:
    提取单元,用于提取至少两次预设时间段内左拐向车流量信息;An extracting unit, configured to extract left turn traffic flow information within at least two preset time periods;
    所述统计单元具体用于:统计在所述固定时间段内所述第一十字交叉路口车流量总和;The statistic unit is specifically configured to: calculate a total traffic volume of the first crossroad in the fixed time period;
    所述处理单元具体用于:计算所述至少两次预设时间段内左拐向车流量信息的第一平均值;计算所述第一平均值和所述第一十字交叉路口车流量总和之间的比值;并将所述第一平均值和所述第一十字交叉路口车流量总和之间的比值作为所述左拐向交通灯在所述固定时间段内的绿信比;根据所述左拐向交通灯在所述固定时间段内的绿信比,计算所述左拐向交通灯在所述固定时间段内的亮灭时间;The processing unit is specifically configured to: calculate a first average value of the left turn traffic flow information in the at least two preset time periods; calculate a sum of the first average value and the first crossroad traffic flow a ratio between the first average and the sum of the traffic at the first intersection as a green signal ratio of the left turn traffic light during the fixed time period; Turning left to the green signal ratio of the traffic light in the fixed period of time, calculating the light-off time of the left turn traffic light in the fixed time period;
    和/或,所述提取单元用于,提取至少两次预设时间段内右拐向车流量信息;And/or, the extracting unit is configured to extract right turn traffic flow information within at least two preset time periods;
    所述统计单元具体用于:统计在所述固定时间段内所述第一十字交叉路口车流量总和;The statistic unit is specifically configured to: calculate a total traffic volume of the first crossroad in the fixed time period;
    所述处理单元具体用于:计算所述至少两次预设时间段内右拐向车流量信息的第二平均值;计算所述第二平均值和所述第一十字交叉路口车流量总和之间的比值;并将所述第二平均值和所述第一十字交叉路口车流量总和之间的比值作为所述右拐向交通灯在所述固定时间段内的绿信比;根据所述右拐向交通灯在所述固定时间段内的绿信比,计算所述右拐向交通灯在所述固定时间段内的亮灭时间;其中,所述预设时间段与所述固定时间段为不同周期的同一时间段,且所述预设时间段为在先发生的周期内的时间段,所述第一十字交叉路口为至少一个十字交叉路口中的任一个十字交叉路口,所述固定时间段为预设的时间段值,所述预设的时间段值小于或者等于1分钟。The processing unit is specifically configured to: calculate a second average value of the right turn traffic flow information in the at least two preset time periods; calculate a total of the second average value and the first crossroad traffic flow a ratio between the second average and the sum of the traffic at the first intersection as a green signal ratio of the right turn to the traffic light during the fixed time period; Turning right to the green signal ratio of the traffic light in the fixed period of time, calculating a lighting time of the right turn to the traffic light in the fixed time period; wherein the preset time period and the fixed time The segment is a same time period of a different period, and the preset time period is a time period within a pre-occurring period, and the first crossroad intersection is any one of at least one crossroad intersection, The fixed time period is a preset time period value, and the preset time period value is less than or equal to 1 minute.
  10. 根据权利要求7-9任一项所述的装置,其特征在于,所述装置还包括:逻辑设定单元,用于设定所述第一十字交叉路口的交通灯亮灭逻辑;The device according to any one of claims 7-9, wherein the device further comprises: a logic setting unit, configured to set a traffic light on and off logic of the first intersection;
    所述发送单元还用,将所述交通灯亮灭逻辑发送至所述终端,其中所述交通灯亮灭逻辑用于确定所述第一十字交叉路口中其中一个方向或者两个并行反向行驶的通道的绿灯为亮的状态时,控制其他方向通道的红灯为亮的状态。 The sending unit is further configured to send the traffic light on and off logic to the terminal, wherein the traffic light on/off logic is used to determine one of the first crossroads or two parallel reverse travel channels When the green light is on, the red light of the other direction channel is controlled to be in a bright state.
PCT/CN2017/096969 2017-06-23 2017-08-11 Intelligent traffic light control method and device WO2018232896A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710488747.X 2017-06-23
CN201710488747.XA CN107170256A (en) 2017-06-23 2017-06-23 A kind of traffic lights intelligent control method and device

Publications (1)

Publication Number Publication Date
WO2018232896A1 true WO2018232896A1 (en) 2018-12-27

Family

ID=59820089

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096969 WO2018232896A1 (en) 2017-06-23 2017-08-11 Intelligent traffic light control method and device

Country Status (2)

Country Link
CN (1) CN107170256A (en)
WO (1) WO2018232896A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109887277A (en) * 2019-02-01 2019-06-14 北京易华录信息技术股份有限公司 A kind of traffic data integrated conduct method, apparatus and system
CN110473412A (en) * 2019-09-12 2019-11-19 杭州京安交通工程设施有限公司 A kind of controlling system of traffic light

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108091146A (en) * 2017-12-12 2018-05-29 常州大学 A kind of traffic lights based on artificial intelligence it is non-wait whens manage system
CN108171999B (en) * 2018-02-11 2021-02-02 成都信息工程大学 Traffic light duration dynamic control method and system based on moving average traffic flow
WO2020019177A1 (en) * 2018-07-25 2020-01-30 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for controlling traffic lights
CN110837904A (en) * 2018-08-17 2020-02-25 北京亿阳信通科技有限公司 Traffic planning control system and method
AU2018274987A1 (en) 2018-10-16 2020-04-30 Beijing Didi Infinity Technology And Development Co., Ltd. Adaptive traffic control using vehicle trajectory data
CN111369784A (en) * 2018-12-25 2020-07-03 北京嘀嘀无限科技发展有限公司 Method and device for controlling traffic flow of lane
CN110503839A (en) * 2019-10-21 2019-11-26 江苏广宇科技产业发展有限公司 Method and system based on single device coordinated control Multiple Intersections traffic signals
CN111882889B (en) * 2020-07-20 2021-08-06 王群力 Intelligent traffic signal control system and method
CN112216125B (en) * 2020-09-24 2022-04-29 武汉飞创智慧科技有限公司 Signal lamp-based area control method, system, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2668631A1 (en) * 1990-10-29 1992-04-30 Silec Liaisons Elec Method for control of the signal lights of a crossroads
US5530441A (en) * 1990-04-27 1996-06-25 Hitachi, Ltd. Traffic flow measuring method and apparatus
CN2538031Y (en) * 2002-03-28 2003-02-26 宝鸡市公安局 Traffic signal identifying controller
CA2531259A1 (en) * 2006-01-03 2007-07-03 Spiros Sh Hippolyte Traffic interval signal device
JP2014026604A (en) * 2012-07-30 2014-02-06 Masatake Akashi Traffic signal apparatus for obtaining 100% effectiveness of green light
CN105654743A (en) * 2016-03-07 2016-06-08 江苏大学 Crossroad traffic control system and control method thereof
CN106875702A (en) * 2017-04-11 2017-06-20 冀嘉澍 A kind of crossroad access lamp control method based on Internet of Things

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201716860U (en) * 2010-05-13 2011-01-19 付少华 Traffic signal light control system
CN105869415B (en) * 2015-11-30 2018-08-10 乐卡汽车智能科技(北京)有限公司 Bus or train route cooperates with the control method of traffic lights and bus or train route collaboration traffic lights
CN105427634A (en) * 2015-12-31 2016-03-23 上海博泰悦臻网络技术服务有限公司 Traffic light control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5530441A (en) * 1990-04-27 1996-06-25 Hitachi, Ltd. Traffic flow measuring method and apparatus
FR2668631A1 (en) * 1990-10-29 1992-04-30 Silec Liaisons Elec Method for control of the signal lights of a crossroads
CN2538031Y (en) * 2002-03-28 2003-02-26 宝鸡市公安局 Traffic signal identifying controller
CA2531259A1 (en) * 2006-01-03 2007-07-03 Spiros Sh Hippolyte Traffic interval signal device
JP2014026604A (en) * 2012-07-30 2014-02-06 Masatake Akashi Traffic signal apparatus for obtaining 100% effectiveness of green light
CN105654743A (en) * 2016-03-07 2016-06-08 江苏大学 Crossroad traffic control system and control method thereof
CN106875702A (en) * 2017-04-11 2017-06-20 冀嘉澍 A kind of crossroad access lamp control method based on Internet of Things

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109887277A (en) * 2019-02-01 2019-06-14 北京易华录信息技术股份有限公司 A kind of traffic data integrated conduct method, apparatus and system
CN110473412A (en) * 2019-09-12 2019-11-19 杭州京安交通工程设施有限公司 A kind of controlling system of traffic light

Also Published As

Publication number Publication date
CN107170256A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
WO2018232896A1 (en) Intelligent traffic light control method and device
CN108806283B (en) Control method of traffic signal lamp and Internet of vehicles platform
CN110111592B (en) Method for dynamically matching optimal signal timing scheme based on traffic signal controller
CN109410607B (en) Cross intersection signal machine control method based on video
CN104933876B (en) A kind of control method of adaptive smart city intelligent traffic signal
CN106384519B (en) Traffic light control method and device
CN111932916B (en) Control method and control system for dynamic emergency lane of urban road
CN103700251A (en) Variable speed limiting and ramp control coordination and optimization control method on expressway
CN106683448B (en) Road signal lamp control system based on CPS and method thereof
CN112017449B (en) Traffic light intelligent control system and method based on Internet of things and letter fusion cloud platform
CN108417055A (en) A kind of trunk roads synergistic signal machine control method based on radar detector
CN110322707A (en) Traffic light control system and method
CN109035808A (en) A kind of traffic lights switching method and system based on deep learning
WO2023035666A1 (en) Urban road network traffic light control method based on expected reward estimation
CN107578629B (en) Intelligent signal lamp control method based on urban main and secondary road intersection
CN202549064U (en) Signal lamp control system based on real-time road condition
CN105741572B (en) Maximum vehicle flowrate period traffic lights control method based on Internet of Things
CN108010344B (en) Crossroad green light time adjusting method and system
CN108806253A (en) A kind of intersection adds the control method in short track
CN104332060A (en) Method for controlling traffic signal lamp during traffic jam
CN108922210B (en) Intelligent signal lamp optimizing device and signal lamp control method
CN111161549A (en) Intelligent traffic intersection passing system
CN114898565B (en) Self-adaptive control method of buried traffic signal lamp
CN114550471B (en) Signal lamp control method and system for intelligent traffic
CN110766958B (en) Intelligent control system for traffic signal lamp

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17914455

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.05.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17914455

Country of ref document: EP

Kind code of ref document: A1