Disclosure of Invention
The embodiment of the invention aims to provide a control method, a control device and a control system of a traffic signal lamp, so that the change of the traffic signal lamp is more intelligent, the waiting time of vehicles is correspondingly reduced, and the pressure of urban traffic is relieved.
In order to solve the above technical problem, an embodiment of the present invention provides a method for controlling a traffic signal lamp, including: receiving driving data uploaded by networked vehicles; analyzing the driving data to calculate the time point when the networked vehicles reach the preset intersection; acquiring traffic flow information of the preset intersection according to the number of the networked vehicles reaching the preset intersection at the time point; and controlling traffic lights at the preset intersection according to the acquired traffic flow information.
An embodiment of the present invention further provides a control apparatus for a traffic signal lamp, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the traffic signal lamp control method.
An embodiment of the present invention further provides a control system of a traffic signal lamp, including: the system comprises networked vehicles, a traffic signal control system and a vehicle networking control system; the networked vehicles are used for uploading driving data to the Internet of vehicles control system; the vehicle networking control system is used for analyzing the driving data to calculate the time point when the networked vehicles reach the preset intersection, acquiring the traffic flow information of the preset intersection according to the number of the networked vehicles reaching the preset intersection at the time point and sending the traffic flow information to the traffic signal control system; the traffic signal control system is used for controlling traffic signal lamps of the preset intersections according to the traffic flow information.
Compared with the prior art, the method and the device have the advantages that the time point of the networked vehicles reaching the preset intersection is calculated through the running data uploaded through the network, then the traffic flow information of the preset intersection is obtained according to the number of the networked vehicles reaching the preset intersection at the time point, the traffic lights of the preset intersection are controlled according to the obtained traffic flow information, the traffic lights are controlled according to the traffic flow, the traffic lights are enabled to change more intelligently, the waiting time of the vehicles is correspondingly reduced, and the pressure of urban traffic is relieved.
In addition, before controlling the traffic signal lamp of the predetermined intersection according to the acquired traffic flow information, the method further comprises the following steps: receiving image data uploaded by a camera at a preset intersection; and controlling the traffic lights of the preset intersection according to the acquired traffic flow information, in particular to controlling the traffic lights of the preset intersection according to the image data and the traffic flow information. The traffic signal lamp is controlled by the information of pedestrians and non-motor vehicles at the preset intersection and the traffic flow information acquired by the camera, so that the safety of traffic signal lamp conversion can be further ensured, and traffic accidents are prevented.
In addition, before controlling the traffic signal lamp of the predetermined intersection according to the acquired traffic flow information, the method further comprises the following steps: judging whether the networked vehicle is a vehicle of a preset type or not; if the networked vehicles are vehicles of a preset type, calculating the time point when the vehicles of the preset type reach the preset intersection, and controlling a traffic signal lamp of the preset intersection to indicate a traffic signal at the time point when the vehicles of the preset type reach the preset intersection; and if the networked vehicles are not the vehicles of the preset type, acquiring the traffic flow information of the preset intersection according to the number of the networked vehicles reaching the preset intersection at the time point. By judging whether the networked vehicles are the preset type vehicles or not, when the networked vehicles are judged to be the preset type vehicles, the preset type vehicles can directly pass through the preset intersection, so that the preset type vehicles such as ambulances, police cars and the like can directly pass through the preset intersection, the waiting time of the preset type vehicles such as the ambulances, the police cars and the like at the preset intersection is reduced, and other accidents caused by overlong waiting time of the preset type vehicles such as the ambulances, the police cars and the like at the preset intersection are prevented.
In addition, after the traffic flow information of the preset intersection is obtained, the method further comprises the following steps: and if the traffic flow information is larger than the preset traffic flow of the preset intersection, warning is sent to the networked vehicles. When the congestion occurs at the preset intersection, the user of the networked vehicle is reminded to advance slowly or detour, and the more serious congestion is prevented.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a control method of a traffic signal lamp. The core of the embodiment lies in that the time point of the networked vehicles reaching the preset intersection is calculated through the running data uploaded through the network, then the traffic flow information of the preset intersection is obtained according to the number of the networked vehicles reaching the preset intersection at the time point, the traffic signal lamp of the preset intersection is controlled according to the obtained traffic flow information, the traffic signal lamp is controlled according to the traffic flow, the change of the traffic signal lamp is more intelligent, the waiting time of the vehicles is correspondingly reduced, and the pressure of urban traffic is relieved. The following describes implementation details of the traffic signal lamp control method according to the present embodiment in detail, and the following description is only provided for easy understanding and is not necessary to implement the present embodiment.
A specific flow of the method for controlling a traffic signal lamp in this embodiment is shown in fig. 1, and includes:
step 101, receiving driving data uploaded by networked vehicles.
Specifically, a server in the vehicle network control system receives driving data uploaded by networked vehicles through the vehicle network, where the driving data may be preset by a user before the networked vehicles drive, or may be obtained by reading a driving recorder or other means during driving, and is not limited herein. The driving data can be data of a destination of the networked vehicle, a speed of the networked vehicle, a location of the networked vehicle and the like; it should be noted that, the server in the vehicle network control system in this embodiment is an example, and may also be other processing devices in other systems in practical application, and details are not described herein.
And 102, calculating the time point of the networked vehicles reaching the preset intersection according to the driving data.
Specifically, when a server in the vehicle network control system receives data of a destination of a networked vehicle, the speed of the networked vehicle, the location of the networked vehicle and the like, the location of the networked vehicle can be known according to the location of the networked vehicle, then the route of the networked vehicle can be known according to the destination of the networked vehicle, then the time length of the networked vehicle reaching the preset intersection is calculated according to the speed of the networked vehicle, the time point of the networked vehicle reaching the preset intersection is obtained, and the time point of the networked vehicle reaching the preset intersection can be accurately obtained by calculating the driving data.
In addition, after receiving data of the destination of the networked vehicle, the speed of the networked vehicle, the location of the networked vehicle and the like, the server in the vehicle network control system can calculate the time length of the networked vehicle reaching the preset intersection according to the destination of the networked vehicle, the speed of the networked vehicle, the location of the networked vehicle and the driving habit of the networked vehicle, so as to obtain the time point of the networked vehicle reaching the preset intersection. The driving habit of the networked vehicles is obtained by analyzing the driving track uploaded by the networked vehicles after the networked vehicles finish driving each time through a server in the vehicle networking control system, and the driving habit can reflect information such as routes frequently driven by the networked vehicles, so that the calculated time point when the networked vehicles reach the preset intersection is more accurate, and the condition that the networked vehicles reach the preset intersection and generate errors due to multiple routes is prevented as far as possible, and the result that the time point calculation is inaccurate is obtained.
It should be noted that the two methods for calculating the time point when the networked vehicle reaches the predetermined intersection in the embodiment are only examples, and should not be limited thereto, and any method for calculating the time point when the vehicle reaches the predetermined intersection through the driving data should be within the protection scope of the embodiment of the present invention, and is not repeated herein.
And 103, acquiring traffic flow information when the time point reaches a preset intersection.
Specifically, after the server in the vehicle network control system calculates the time point when the networked vehicles reach the preset intersection, the server acquires the number of other networked vehicles reaching the preset intersection at the same time point, wherein the number of other networked vehicles is the traffic flow information when the time point reaches the preset intersection. The time point of the other networked vehicles reaching the preset intersection can be not completely the same as the time point of the networked vehicles reaching the preset intersection, the errors can be regarded as reaching at the same time within the preset time, and the preset time can be 30 seconds or any other reasonable value. In addition, if the acquired traffic flow information is larger than the preset traffic flow of the preset intersection, a warning is sent to the networked vehicles, and if the traffic flow information is larger than the preset traffic flow of the preset intersection, the situation that the congestion occurs at the preset intersection is shown, at the moment, the warning is sent out, so that the users of the networked vehicles can be reminded to advance at a slow speed or bypass, and the more serious congestion is prevented.
And 104, controlling traffic lights of the preset intersection according to the traffic flow information.
Specifically, the control of the traffic lights at the predetermined intersection according to the acquired traffic flow information may be: when the traffic flow information is larger than a preset value, a signal for indicating passing is properly prolonged, and if the traffic flow information is smaller than or equal to the preset value, a signal for forbidding passing is properly prolonged; the following steps can be also included: when the vehicle flow in the east-west direction is larger than the vehicle flow in the north-south direction, the signal for indicating the passing in the east-west direction is properly prolonged. In addition, after the image data uploaded by the camera of the preset intersection is acquired, the traffic light of the preset intersection can be controlled according to the acquired traffic flow information and the image data, the information of pedestrians and non-motor vehicles at the preset intersection can be acquired through the image data, the traffic light can be controlled through more accurate preset intersection information, and the traffic safety is further ensured.
In addition, the control method of the traffic signal lamp can be applied to a server in the vehicle networking control system; the traffic signal lamp for controlling the preset intersection according to the traffic flow information can send the traffic flow information to the traffic signal control system through a server in the internet of vehicles control system, so that the traffic signal control system can control the traffic signal lamp for the preset intersection according to the traffic flow information.
It should be noted that the method for controlling a traffic light in this embodiment is for illustration, and should not be limited thereto, and any method for controlling a traffic light through a traffic flow should be within the protection scope of the embodiment of the present invention, and no further description is given here
Compared with the prior art, the embodiment of the invention provides a control method of traffic lights, which comprises the steps of calculating the time point of the networked vehicles reaching the preset intersection through the running data uploaded by the network, then obtaining the traffic flow information of the preset intersection according to the number of the networked vehicles reaching the preset intersection at the time point, controlling the traffic lights of the preset intersection according to the obtained traffic flow information, enabling the change of the traffic lights to be more intelligent by controlling the traffic lights according to the traffic flow, correspondingly reducing the waiting time of the vehicles, and relieving the pressure of urban traffic
A second embodiment of the present invention relates to a control method of a traffic signal lamp. The embodiment is a further improvement on the basis of the first embodiment, and the specific improvement is as follows: in a second embodiment, before controlling a traffic light at a predetermined intersection according to the acquired traffic flow information, the method further includes: judging whether the networked vehicle is a vehicle of a preset type or not; if the networked vehicles are vehicles of a preset type, calculating the time point when the vehicles of the preset type reach the preset intersection, and controlling a traffic signal lamp of the preset intersection to indicate a traffic signal at the time point when the vehicles of the preset type reach the preset intersection; if the networked vehicles are not the vehicles of the preset type, the traffic flow information of the preset intersection is acquired according to the number of the networked vehicles reaching the preset intersection at the time point, so that the preset type vehicles such as ambulances, fire trucks and the like can directly pass through the preset intersection, the waiting time of the preset type vehicles such as ambulances, police cars and the like at the preset intersection is reduced, and other accidents caused by the overlong waiting time of the preset type vehicles such as ambulances, police cars and the like at the preset intersection are prevented.
A specific flow of the traffic signal lamp control method according to the present embodiment is shown in fig. 2, and specifically includes:
step 201, receiving driving data uploaded by the networked vehicles.
Step 202, calculating the time point when the networked vehicles reach the preset intersection according to the driving data.
And step 203, acquiring the traffic flow information when the time point reaches a preset intersection.
And step 204, judging whether the networked vehicle is a vehicle of a preset type, if so, entering step 206, and if not, entering step 205.
Specifically, whether the networked vehicle for uploading data is a preset type of vehicle is judged, and the preset vehicle can be an ambulance, a fire truck and other special vehicles.
And step 205, controlling traffic lights of the preset intersection according to the traffic flow information.
And step 206, controlling a traffic light of the preset intersection to indicate a traffic signal.
Specifically, when the networked vehicles passing through the preset intersection are judged to be the vehicles of the preset type, the traffic signal lamps indicate the passing signals to directly enable the vehicles of the preset type to pass through, so that the vehicles of the preset type, such as ambulances, fire trucks and other preset type vehicles, can directly pass through the preset intersection, the waiting time of the preset type vehicles of the ambulances, police cars and the like at the preset intersection is reduced, and other accidents caused by the fact that the waiting time of the preset type vehicles of the ambulances, the police cars and the like at the preset intersection is too long are prevented.
Compared with the prior art, the embodiment of the invention provides the control method of the traffic signal lamp, by judging whether the networked vehicle is the preset type vehicle or not, when the networked vehicle is judged to be the preset type vehicle, the preset type vehicle can directly pass through the preset intersection, so that special vehicles such as ambulances, police cars and the like can directly pass through the preset intersection, the waiting time of the preset type vehicles such as ambulances, police cars and the like at the preset intersection is reduced, and other accidents caused by overlong waiting time of the preset type vehicles such as ambulances, police cars and the like at the preset intersection are prevented.
A third embodiment of the present invention relates to a traffic signal lamp control device, which is schematically shown in fig. 3 and includes at least one processor 301; and a memory 302 communicatively coupled to the at least one processor 301; the memory 302 stores instructions executable by the at least one processor 301, and the instructions are executed by the at least one processor 301, so that the at least one processor 301 can execute the method for controlling the traffic signal lamp in the above method embodiment.
Where the memory 302 and the processor 301 are coupled in a bus, the bus may comprise any number of interconnected buses and bridges, the buses coupling one or more of the various circuits of the processor 301 and the memory 302. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 301 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the processor 301.
The processor 301 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 302 may be used to store data used by processor 301 in performing operations.
A fourth embodiment of the present invention relates to a control system for a traffic signal, as shown in fig. 4, including: networked vehicles 401, an internet of vehicles control system 402, and a traffic signal control system 403.
In this embodiment, networked vehicle 401 is used to upload driving data to the networked vehicle control system 402; the internet of vehicles control system 402 is used for analyzing the driving data to calculate the time point when the networked vehicles reach the predetermined intersection, and acquiring the traffic flow information of the predetermined intersection according to the number of the networked vehicles reaching the predetermined intersection at the time point and sending the traffic flow information to the traffic signal control system 403; the traffic signal control system 403 is used for controlling traffic lights at predetermined intersections according to the traffic flow information.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.