CN109102706A - A kind of methods, devices and systems controlling traffic lights - Google Patents
A kind of methods, devices and systems controlling traffic lights Download PDFInfo
- Publication number
- CN109102706A CN109102706A CN201710470571.5A CN201710470571A CN109102706A CN 109102706 A CN109102706 A CN 109102706A CN 201710470571 A CN201710470571 A CN 201710470571A CN 109102706 A CN109102706 A CN 109102706A
- Authority
- CN
- China
- Prior art keywords
- crossing
- detection
- detection crossing
- duration
- security
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/07—Controlling traffic signals
- G08G1/08—Controlling traffic signals according to detected number or speed of vehicles
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/017—Detecting movement of traffic to be counted or controlled identifying vehicles
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of methods, devices and systems for controlling traffic lights, belong to Internet technical field.The described method includes: the image capturing device for obtaining each detection crossing takes the license plate number in image;When detect the license plate number in the image that the image capturing device at the first detection crossing takes be security fleet leading vehicle license plate number, and first detection crossing when being any detection crossing in addition to the last one crossing on security travel route, obtain first driving direction of the security travel route at the second detection crossing, wherein, the second detection crossing is the latter crossing at the first detection crossing on security travel route;The traffic lights at the second detection of control crossing is in prevailing state in the first driving direction.It, can be to avoid a large amount of manpower of consuming using the present invention.
Description
Technical field
The present invention relates to Internet technical field, in particular to a kind of methods, devices and systems for controlling traffic lights.
Background technique
In daily life, it needs to execute security task on certain period, certain route in many cases, wherein peace
When guarantor's task is to ensure that certain fleet every crossing by being provided with traffic lights in projected route, which is prevailing state, with
Just the fleet can be directly by, for example, for so that the fleet of escort criminal passes through certain route, staff can be executed
Security task.
Currently, execute security task method be usually: in certain fleet through the equal configuration work in each crossing on route
Personnel, when the leading vehicle of fleet will pass through certain crossing, the staff at the crossing can manually direct traffic, and make this
The driving direction of fleet is in prevailing state, and the direction except driving direction is forbidden state, when the tail of the queue vehicle of the fleet passes through
After crossing the crossing, the staff at the crossing can stop directing traffic, and the lamp that resumes traffic directs traffic.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Based on the mode of above-mentioned execution security task, the crossing on route that often fleet is passed through is relatively more, such situation
Under, need to put into a large amount of manpower, thus, cause to expend a large amount of manpower.
Summary of the invention
In order to solve the problems, such as to expend a large amount of manpowers in the prior art, the embodiment of the invention provides a kind of control traffic lights
Methods, devices and systems.The technical solution is as follows:
In a first aspect, providing the method for control traffic lights, which comprises
Obtain the license plate number in the image that each image capturing device for detecting crossing takes, wherein detection crossing is
The previous crossing of the starting point at crossing or the security travel route on the security travel route of security fleet;
When detect the license plate number in the image that the image capturing device at the first detection crossing takes be security fleet
Leading vehicle license plate number, and it is described first detection crossing be in addition to the last one crossing on the security travel route
Any detection crossing when, obtain the security travel route second detection crossing at the first driving direction, wherein it is described
Second detection crossing is the latter crossing at first detection crossing on the security travel route;
The traffic lights for controlling second detection crossing is in prevailing state in first driving direction.
Optionally, the method also includes:
During the traffic light control to second detection crossing, when the figure for detecting second detection crossing
When the license plate number in image taken as filming apparatus is the license plate number of the tail of the queue vehicle of the security fleet, cancellation pair
The control of the traffic lights at second detection crossing.
In this way, can be when the traffic lights that tail of the queue vehicle is behind the second detection crossing, and cancellation detects crossing to second in time
Control.
Optionally, the method also includes:
During the traffic light control to second detection crossing, when the figure for detecting first detection crossing
When the license plate number in image taken as filming apparatus is the license plate number of the tail of the queue vehicle of the security fleet, according to obtaining
The travel speed of the tail of the queue vehicle taken, the first detection crossing to the distance between the second detection crossing value, calculate the team
Trailer, to the first traveling duration between the second detection crossing, travels duration according to described first at the first detection crossing
The second traveling duration of setting simultaneously starts timing, and the second traveling duration is equal or longer than the first traveling duration;
When timing duration is equal to the second traveling duration, cancel the control of the traffic lights to second detection crossing
System.
In this way, the image capturing device at the second detection crossing fails the feelings for being correctly detecting the license plate number of tail of the queue vehicle
Under condition, also it can cancel in time the control of the traffic lights to the second detection crossing in tail of the queue vehicle behind the second detection crossing.
Optionally, the traffic lights at the control second detection crossing is in first driving direction in current shape
State, comprising:
Detecting that the license plate number in the image that the image capturing device at first detection crossing takes is described
While the license plate number of leading vehicle, that is, the traffic lights at second detection crossing is controlled in first driving direction
In prevailing state;Alternatively,
According to the distance between the travel speed of the leading vehicle of acquisition, the first detection crossing to the second detection crossing
Value calculates the leading vehicle at the first detection crossing to the third between the second detection crossing and travels duration, according to institute
It states third traveling duration setting fourth line to sail duration and start timing, the fourth line sails duration equal or shorter than described the third line
Sail duration;
When timing duration, which is equal to the fourth line, sails duration, the traffic lights at second detection crossing is controlled described the
Prevailing state is in one driving direction.
In this way, can prevent when the distance value at the first detection crossing and the second detection crossing is larger, to the second detection road
The control duration of the traffic lights of mouth is too long, interferes normal traffic order.
Optionally, the method also includes:
If second detection crossing is not provided with image capturing device, and second detection crossing is not the peace
Protect the last one crossing on travel route, then according to the travel speed of the leading vehicle of acquisition, the first detection crossing to the
The distance between two detection crossings value calculates the leading vehicle at the first detection crossing between the second detection crossing
Fifth line sails duration, or detects crossing according to the travel speed of the leading vehicle of acquisition, the first detection crossing to third
The distance between value, calculate the leading vehicle the first detection crossing to the 6th between third detection crossing when driving
Long, third detection crossing is the latter crossing at second detection crossing on the security travel route, according to described
Fifth line sails the 7th traveling duration of duration setting and starts timing, and the 7th traveling duration is sailed equal or shorter than the fifth line
Duration, or according to the 8th traveling duration of the 6th traveling duration setting and start timing, the 8th traveling duration is equal to
Or the shorter than described 6th traveling duration;
When timing duration is equal to the 7th traveling duration or the 8th traveling duration, obtains the security travel route and exist
The second driving direction at third detection crossing;
The traffic lights for controlling third detection crossing is in prevailing state in second driving direction.
Optionally, the method also includes:
If third detection crossing is not provided with image capturing device, the figure at first detection crossing is detected
When the license plate number in image taken as filming apparatus is the license plate number of the tail of the queue vehicle of the security fleet, according to obtaining
The travel speed of the tail of the queue vehicle taken, the first detection crossing to the distance between third detection crossing value, calculate the team
Trailer, to the 9th traveling duration between third detection crossing, travels duration according to the described 9th at the first detection crossing
Tenth traveling duration is set and starts timing, the tenth traveling duration is equal or longer than the 9th traveling duration;
During the traffic light control to third detection crossing, when timing duration is equal to the described 8th when driving
When long, cancel the control of the traffic lights to third detection crossing.
Second aspect, provides a kind of device for controlling traffic lights, and described device includes:
Receiving module, the leading vehicle for receiving security fleet reach the notice at the first detection crossing;
Module is obtained, for judging whether first detection crossing is security travel route except the security fleet
Any detection crossing except the last one crossing, and obtain first of the security travel route at the second detection crossing
Driving direction, wherein second detection crossing is the latter road at first detection crossing on the security travel route
Mouthful;
Sending module, the traffic lights for sending control second detection crossing are in first driving direction
The notice of prevailing state.
Optionally, the receiving module, is used for:
The tail of the queue vehicle for receiving security fleet reaches the notice at the second detection crossing;
The sending module, is used for:
Send the notice for cancelling the control of the traffic lights to second detection crossing.
Optionally, described device further include:
First computing module, for pacifying during the traffic light control to second detection crossing when receiving
When protecting the leading vehicle of fleet and reaching the notice at the first detection crossing, according to the travel speed of the tail of the queue vehicle of acquisition, the
One detection crossing to the distance between the second detection crossing value, calculates the tail of the queue vehicle at the first detection crossing to second
The first traveling duration between crossing is detected, according to the second traveling duration of the first traveling duration setting and starts timing, institute
The second traveling duration is stated equal or longer than the first traveling duration;
The sending module, is used for:
When timing duration is equal to the second traveling duration, sends and cancel to the traffic lights at second detection crossing
The notice of control.
Optionally, the sending module, is used for:
While receiving the leading vehicle of security fleet and reach the notice at the first detection crossing, that is, send control described the
The traffic lights at two detection crossings is in the notice of prevailing state in first driving direction;Alternatively,
Described device further include:
Second computing module, for the travel speed according to the leading vehicle of acquisition, the first detection crossing to second
The distance between crossing value is detected, calculates the leading vehicle at the first detection crossing to the between the second detection crossing
Three traveling durations, sail duration according to third traveling duration setting fourth line and start timing, the fourth line sails duration etc.
In or shorter than the third travels duration;
The sending module, is used for:
When timing duration, which is equal to the fourth line, sails duration, the traffic lights at control second detection crossing is sent in institute
State the notice that prevailing state is in the first driving direction.
Optionally, described device further include:
Third computing module, if being not provided with image capturing device, and described second for second detection crossing
Detecting crossing is not the last one crossing on the security travel route, then according to the traveling of the leading vehicle of acquisition speed
Degree, the first detection crossing to the distance between the second detection crossing value, calculate the leading vehicle at first detection crossing
Duration is sailed to the fifth line between the second detection crossing, or the travel speed according to the leading vehicle of acquisition, the first inspection
Crossing to the distance between third detection crossing value is surveyed, the leading vehicle is calculated and is detected at the first detection crossing to third
The 6th traveling duration between crossing, third detection crossing are second detection crossings on the security travel route
The latter crossing sails the 7th traveling duration of duration setting according to the fifth line and starts timing, described 7th traveling duration etc.
In or the shorter than described fifth line sail duration, or according to the 8th traveling duration of the 6th traveling duration setting and start timing,
The 8th traveling duration is equal or shorter than the 6th traveling duration;
The acquisition module, is also used to: when timing duration is equal to the 7th traveling duration or the 8th traveling duration, obtaining
Take second driving direction of the security travel route at third detection crossing;
The sending module, is also used to: sending the traffic lights for controlling third detection crossing in the second traveling side
It is in the notice of prevailing state upwards.
Optionally, the third computing module, is also used to:
If third detection crossing is not provided with image capturing device, the tail of the queue vehicle of the security fleet is received
When reaching the notice at the first detection crossing, according to the travel speed of the tail of the queue vehicle of acquisition, the first detection crossing to the
The distance between three detection crossings value calculates the tail of the queue vehicle at the first detection crossing between third detection crossing
9th traveling duration according to the tenth traveling duration of the 9th traveling duration setting and starts timing, the tenth traveling duration
Equal or longer than the 9th traveling duration;
The sending module, is also used to: during the traffic light control to third detection crossing, when timing
When length is equal to the tenth traveling duration, the notice for cancelling the control for the traffic lights that crossing is detected to the third is sent.
The third aspect provides the system of control traffic lights, and the system comprises boards to know server, security server and letter
Control server, in which:
The license plate number in image that the image capturing device that the board knowledge server obtains each detection crossing takes,
In, detection crossing is the previous of the starting point at the crossing or the security travel route on the security travel route of security fleet
Crossing;
The board knows the license plate number in the image that server judges that the image capturing device at the first detection crossing takes
It whether is that the license plate number of leading vehicle of the security fleet sends institute to security server and when the judgment result is yes
The leading vehicle for stating security fleet reaches the notice at the first detection crossing;
The security server judge it is described first detection crossing whether be except on the security travel route the last one
Any detection crossing except crossing, and when the judgment result is yes, the security travel route, which is obtained, second detects crossing
First driving direction at place, wherein second detection crossing is first detection crossing on the security travel route
The latter crossing;
Security server sends the traffic lights at control second detection crossing described first to the letter control server
The notice of prevailing state is in driving direction;
The traffic lights that the letter control server controls second detection crossing is in logical in first driving direction
Row state.
Optionally, the board is known in the image that server judges that the image capturing device at second detection crossing takes
License plate number whether be the security fleet tail of the queue vehicle license plate number, and when the judgment result is yes, to the peace
Protect the notice that server sends the second detection of tail of the queue vehicle arrival crossing of the security fleet;
The security server is during the traffic light control to second detection crossing, when receiving the peace
When protecting the notice at the second detection of tail of the queue vehicle arrival crossing of fleet, sends to cancel to letter control server and be examined to described second
Survey the notice of the control of the traffic lights at crossing;
The letter control server cancels the control of the traffic lights to second detection crossing.
Optionally, if second detection crossing is not provided with image capturing device, and second detection crossing is not
It is the last one crossing on the security travel route, then the security server is according to the traveling of the leading vehicle of acquisition
Speed, the first detection crossing to the distance between the second detection crossing value, calculate the leading vehicle on first detection road
Mouthful duration is sailed to the fifth line between the second detection crossing, or according to the travel speed of the leading vehicle of acquisition, first
Crossing to the distance between third detection crossing value is detected, the leading vehicle is calculated and is examined at the first detection crossing to third
The 6th traveling duration between crossing is surveyed, third detection crossing is second detection crossing on the security travel route
The latter crossing, the 7th traveling duration of duration setting is sailed according to the fifth line and starts timing, the 7th traveling duration
Duration is sailed equal or shorter than the fifth line, or according to the 8th traveling duration of the 6th traveling duration setting and starts to count
When, the 8th traveling duration is equal or shorter than the 6th traveling duration;When timing duration is equal to the 7th traveling duration
Or when the 8th traveling duration, second driving direction of the security travel route at third detection crossing is obtained;
The security server sends the traffic lights for controlling third detection crossing described to the letter control server
The notice of prevailing state is in second driving direction;
The traffic lights that the letter control server controls third detection crossing is in logical in second driving direction
Row state.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, in the image that the image capturing device at the available each detection crossing of server takes
License plate number, wherein detection crossing can be the crossing on the security travel route of security fleet or of security travel route
The previous crossing of initial point, when server detects the license plate in image that the image capturing device at the first detection crossing takes
Number is the license plate number of the leading vehicle of security fleet, and the first detection crossing is except the last one road on security travel route
Mouthful except any detection crossing when, available security travel route second detection crossing at the first driving direction,
In, the second detection crossing is that the latter crossing at the first detection crossing on security travel route can control the second detection in turn
The traffic lights at crossing is in prevailing state in the first driving direction.In this way, can to judge automatically security fleet current for server
The crossing at place can control the traveling of the traffic lights in security fleet at the crossing before security fleet is by certain crossing in turn
Prevailing state is on direction, without putting into a large amount of manpower to execute security task, it is thus possible to avoid expending a large amount of people
Power.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of method flow diagram for controlling traffic lights provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram for controlling traffic lights provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram removed controls provided in an embodiment of the present invention;
Fig. 4 is a kind of apparatus structure schematic diagram for controlling traffic lights provided in an embodiment of the present invention;
Fig. 5 is a kind of apparatus structure schematic diagram for controlling traffic lights provided in an embodiment of the present invention;
Fig. 6 is a kind of apparatus structure schematic diagram for controlling traffic lights provided in an embodiment of the present invention;
Fig. 7 is a kind of apparatus structure schematic diagram for controlling traffic lights provided in an embodiment of the present invention;
Fig. 8 is a kind of server architecture schematic diagram provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
The embodiment of the invention provides a kind of method for controlling traffic lights, the executing subject of this method is server.Wherein,
The server can be the server with control traffic lights function, which can be a server, be also possible to one
A server group being made of letter control server, board knowledge server, security server.Processing can be set in the server
Device, memory and transceiver, processor can be used for controlling the relevant treatment of traffic lights, and memory can be used for storing following places
The data for needing and generating during reason, transceiver can be used for sending and receiving data.
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as
Under:
Step 101, the license plate number in the image that each image capturing device for detecting crossing takes is obtained, wherein inspection
Survey the previous crossing that crossing is the starting point at the crossing or security travel route on the security travel route of security fleet.
Wherein, security travel route can be security fleet traveling, and need to be implemented the route of security task, the first detection
Crossing can be the crossing for being provided with image capturing device.
In an implementation, security travel route, security fleet the license plate number of leading vehicle can be server in security
Know in the driving process of fleet, is also possible to pre-stored.Subsequent statement carries out scheme for pre-stored
It is described in detail.Specifically, staff can be in advance by the row of security fleet after determining the security travel route of security fleet
Information is sailed to be configured.Specifically, staff can be stored in advance each crossing on security travel route crossing mark and
The crossing at the previous crossing of the starting point for the security travel route that security fleet can pass through identifies (wherein, the embodiment of the present invention
The detection crossing can be the section position for being provided with traffic lights, wherein be also provided with image in each detection crossing
Image capturing device is provided in filming apparatus, or part detection crossing, part is not provided with image taking in detection crossing
Device, detection crossing can be T shape crossing, Y shape crossing, cross crossing, X-shaped crossing etc.), driving direction, traveling lane, friendship
Lead to the corresponding relationship and the license plate number of leading vehicle, the license plate number of tail of the queue vehicle, travel speed of beacon light knowledge and phase etc.
Deng, wherein the previous crossing of the starting point for the security travel route that security fleet can pass through, which can be, is provided with bayonet or electricity
The crossing of sub- police.
The bayonet or electronic police at each crossing can constantly be shot to by the vehicle at the crossing, in turn, can be with
The image of shooting is sent to server, after server receives image, image recognition processing can be carried out, determined in image
The license plate number of vehicle.Alternatively, after the bayonet or electronic police at each crossing take image image recognition can be carried out to it
Processing, the license plate number for the vehicle that will identify that are sent to server.During security task execution, whenever server determines
(wherein, image capturing device can be crossing opposite side in security fleet driving direction to the image capturing device at each detection crossing out
Image capturing device) after license plate number in the image that takes, server can get the image taking dress at each crossing
The license plate number that (bayonet or electronic police) takes is set, in turn, can detecte the image capturing device shooting at each detection crossing
To license plate number whether be pre-stored security fleet leading vehicle license plate number.That is, in security task
In implementation procedure, it can continue to obtain the license plate number that the image capturing device at each detection crossing takes, it is each whenever getting
When the license plate number that the image capturing device at detection crossing takes, server can be detected the image taking dress at each detection crossing
Set the license plate number that takes whether be pre-stored security fleet leading vehicle license plate number.
In addition, the feelings of server, the server group that security server forms are known by letter control server, board for server
Condition, security server can be pre-configured with above-mentioned driving information, and in turn, the crossing mark that can will test crossing is sent to board knowledge
Server.In this way, after board knows the license plate number that server identifies that the image capturing device at each detection crossing takes, it can
To send it to security server, security server receives the license plate number that the image capturing device at each detection crossing takes
After code, it can detecte whether the license plate number that each image capturing device for detecting crossing takes is pre-stored security fleet
Leading vehicle license plate number.Alternatively, security server can also send the license plate number of the leading vehicle of security fleet
Server is known to board.In this way, whenever board knowledge server identifies the license plate number that the image capturing device at each detection crossing takes
After code, it can directly detect whether the license plate number that each image capturing device for detecting crossing takes is pre-stored security
The license plate number of the leading vehicle of fleet.
Step 102, when detecting that the license plate number in the image that the image capturing device at the first detection crossing takes is
The license plate number of the leading vehicle of pre-stored security fleet, and the first detection crossing be except on security travel route last
When any detection crossing except a crossing, first driving direction of the security travel route at the second detection crossing is obtained,
In, the second detection crossing is the latter crossing at the first detection crossing on security travel route.
Wherein, the second detection crossing can be the crossing for being provided with traffic lights, and figure can be set in the second detection crossing
As filming apparatus, image capturing device can also be not provided with.
In an implementation, when server detects the license plate number that the image capturing device at the first detection crossing takes for peace
When protecting the license plate number of the leading vehicle of fleet (when detecting the leading vehicle driving of security fleet to the first detection crossing,
Wherein, the license plate number of leading vehicle can be pre-stored, is also possible to leading vehicle and is sent to clothes in the process of moving
Business device), can further detect whether the first detection crossing is appointing in addition to the last one crossing on security travel route
One detection crossing, if the first detection crossing is any detection crossing in addition to the last one crossing on security travel route,
Then driving direction (can be described as first driving direction) of the available security travel route of server at the second detection crossing, i.e.,
Driving direction when the available security fleet of server is by the second detection crossing, wherein the second detection crossing can be peace
Protect next crossing at the first detection crossing on travel route.For example, according to traveling sequence, crossing on security travel route according to
Secondary crossing 1 (being the starting point of security travel route), crossing 2, crossing 3, crossing 4, crossing 5, the previous crossing at crossing 1 is
Crossing 0, when the first detection crossing is crossing 0, the second detection crossing is crossing 1.
Server, which is known, for board detects whether the license plate number that each image capturing device for detecting crossing takes is preparatory
The case where license plate number of the leading vehicle of the security fleet of storage, when board knows the image that server detects the first detection crossing
When the license plate number that filming apparatus takes is the license plate number of security fleet, the security vehicle can be sent to security server
The leading vehicle of team reaches the notice at the first detection crossing, and the leading vehicle that security server receives security fleet reaches first
After the notice for detecting crossing, can detect whether the first detection crossing is except on security travel route in the way of above-mentioned tell about
Any detection crossing except the last one crossing, if the first detection crossing is except the last one crossing on security travel route
Except any detection crossing, then the available security travel route of security server second detection crossing at traveling side
To.
Step 103, the traffic lights at the second detection of control crossing is in prevailing state in the first driving direction.
In an implementation, after server gets the first driving direction, it can control the traffic lights at the second detection crossing
It (such as can be by the corresponding traffic lights in lane where security fleet in the first driving direction in prevailing state in one driving direction
On be locked in green light phase), and control second detection crossing traffic lights on the direction except the first driving direction in prohibit
Only state (for example traffic lights can be locked in red light phase on the direction except the first driving direction), as shown in Fig. 2, its
In, the direction except the first driving direction can be different from the first driving direction, and with the conflicting side of the first driving direction
To for example, the first driving direction is direction (or North and South direction) from south to north, then server can control traffic lights in the South and the North
To be in prevailing state, traffic lights east-west direction (from east to west, from west to east), from west northwards direction, from east orientation south to
In forbidden state.In this way, security fleet travel to second detection crossing when, it is ensured that second detection crossing first traveling
Prevailing state is on direction, the direction except the first driving direction is in forbidden state, and fleet smoothly passes through so as to security
Second detection crossing.
Specifically, server can send current notice to the traffic light controller at the second detection crossing, wherein current logical
The first driving direction can be carried in knowing can control traffic lights first after traffic light controller receives current notice
It is in prevailing state in driving direction, forbidden state is on the direction except the first driving direction.
The case where server, the server group that security server forms are known by letter control server, board for server, peace
It protects after server gets the first driving direction, the traffic lights at the second detection of control crossing can be sent to letter control server the
The notice of prevailing state is in one driving direction can forward it to the second detection after letter control server receives notice
The traffic light controller at crossing can be by control traffic lights in the first traveling side after traffic light controller receives current notice
It is in prevailing state upwards, forbidden state is on the direction except the first driving direction.
Optionally, the trigger condition that the traffic lights at crossing is detected based on control second is different, and the processing mode of step 103 can
With varied, following present several feasible processing modes:
Mode one, before detecting that the license plate number in the image that the image capturing device at the first detection crossing takes is
While the license plate number of guide-car, that is, the traffic lights for controlling the second detection crossing is in current shape in the first driving direction
State.
In an implementation, when server detects the license plate in image that the image capturing device at the first detection crossing takes
Number be the license plate number of leading vehicle when, i.e. the traffic lights at controllable second detection crossing is in the first driving direction
Prevailing state.
Mode two can also be in leading one timing of vehicle driving after detecting leading vehicle driving to the first detection crossing
After length, then the traffic lights at the second detection crossing is controlled, correspondingly, the treatment process of step 103 can be such that according to before acquisition
The travel speed of guide-car, the first detection crossing to second detection the distance between crossing value calculate leading vehicle described the
One detection crossing to the third between the second detection crossing travels duration, travels duration setting fourth line according to third and sails duration simultaneously
Start timing, fourth line sails duration and travels duration equal or shorter than third;When timing duration, which is equal to the fourth line, sails duration,
The traffic lights at the second detection of control crossing is in prevailing state in first driving direction.
In an implementation, server determines that the license plate number that the image capturing device at the first detection crossing takes is leading
After the license plate number of vehicle, the travel speed of available leading vehicle, the first detection crossing are between the second detection crossing
(wherein, travel speed, distance value can be that server is pre-stored, and travel speed is also possible to according to practical row to distance value
Obtained in real time during sailing by speed measuring device), in turn, can according to the first of acquisition detection crossing to second detection crossing it
Between distance value and travel speed (general security fleet remain a constant speed on security travel route traveling), guide-car before calculating
It, in turn, can will at the first detection crossing to the traveling duration (can be described as third traveling duration) between the second detection crossing
Third traveling duration is subtracted each other with pre-stored second preset duration threshold value, is obtained fourth line and is sailed duration and start timing, wherein
Second preset duration threshold value may be greater than or the lesser numerical value equal to 0, when timing duration, which is equal to fourth line, sails duration, clothes
Business device can control the traffic lights at the second detection crossing in the first driving direction in prevailing state, the first driving direction it
Forbidden state is on outer direction.For example, third traveling duration is 50 seconds, the second preset duration threshold value is 20 seconds, then services
Device can calculate third traveling duration and the difference of the second preset duration threshold value obtains fourth line and sails duration (as 30 seconds) and open
Beginning timing, when timing duration reaches 30 seconds, server can control the traffic lights at the second detection crossing in the first driving direction
It is upper to be in prevailing state, forbidden state is on the direction except the first driving direction.
Optionally, server can also cancel the control of the traffic lights to the second detection crossing, accordingly at the appropriate time
, treatment process can be such that during the traffic light control to the second detection crossing, when detecting the second detection crossing
The image that takes of image capturing device in license plate number when being the license plate number of tail of the queue vehicle of security fleet, cancel pair
The control of the traffic lights at the second detection crossing.
In an implementation, after server is to the traffic light control at the second detection crossing, it can detecte the tail of the queue vehicle of security fleet
The second detection crossing whether is passed through, wherein be provided with image capturing device in the second detection crossing, and be provided with traffic
Lamp, when tail of the queue vehicle has passed through the second detection crossing, server can cancel the control of the traffic lights to the second detection crossing.
Specifically, server it is lasting obtain it is each detection crossing image capturing device take license plate number during, whenever
When getting the license plate number that each image capturing device for detecting crossing takes, the image taking at each detection crossing can detecte
The license plate number that device takes whether be pre-stored security fleet tail of the queue vehicle license plate number, when detecting second
The license plate number that the image capturing device at detection crossing takes is the license plate number of the tail of the queue vehicle of pre-stored security fleet
When code, the control of the traffic lights to the second detection crossing can be cancelled, at this point, the working mechanism that traffic lights is back to normal, such as Fig. 3
It is shown.In addition, server can also be pre- in the license plate number for detecting that the image capturing device at the second detection crossing takes
The license plate number of the tail of the queue vehicle of the security fleet first stored, and after preset duration, cancel the friendship to the second detection crossing
The control of logical lamp.
Optionally, for guarantee second detection crossing image capturing device fail the feelings for correctly taking tail of the queue vehicle
Under condition, the control of the traffic lights to the second detection crossing can be cancelled in time, server can also be handled as follows: to the
During the traffic light control at two detection crossings, when the image for detecting that the image capturing device at the first detection crossing takes
In license plate number when being the license plate number of tail of the queue vehicle of security fleet, according to the traveling of the tail of the queue vehicle of acquisition speed
Degree, the first detection crossing to second detection the distance between crossing value calculate tail of the queue vehicle at the first detection crossing to the
The first traveling duration between two detection crossings according to first the second traveling duration of traveling duration setting and starts timing, and second
Duration is travelled equal or longer than the first traveling duration;When timing duration is equal to the second traveling duration, cancel to the second detection road
The control of the traffic lights of mouth.
In an implementation, during the traffic light control to the second detection crossing, when server determines tail of the queue vehicle
(for example, when detecting the vehicle in the image that the image capturing device at the first detection crossing takes when reaching the first detection crossing
When trade mark code is the license plate number of tail of the queue vehicle), it can also be according to the travel speed of the tail of the queue vehicle of acquisition, the first detection crossing
To the distance between the second detection crossing value, tail of the queue vehicle is calculated at the first detection crossing to first between the second detection crossing
Duration is travelled, in turn, the first traveling duration can be added (wherein, the first preset duration threshold value with the first preset duration threshold value
Can be it is pre-stored be greater than or equal to 0 lesser numerical value), obtain the second traveling duration, and it is (main to start timing
If being counted since the first detection crossing to the practical duration that the second detection crossing travels to tail of the queue vehicle).To
During the traffic light control at two detection crossings, when detecting that timing duration is equal to the second traveling duration, it can cancel pair
The control of the traffic lights at the second detection crossing.That is, server has been cancelled when timing duration is equal to the second traveling duration
If the control for the traffic lights for detecting crossing to second, this processing can be carried out no longer, when timing duration is equal to second when driving
When long, when the traffic lights at the second detection crossing is also in state of a control, the control of the traffic lights to the second detection crossing can be cancelled
System.
In addition, in the present solution, server can use above two mode, traffic of the cancellation to the second detection crossing simultaneously
The control of lamp.
Optionally, in the case where upper detection crossing is not provided with image capturing device, server can also be according to row
Duration is sailed, at the time of determining the traffic lights at control current detection crossing, correspondingly, concrete processing procedure can be such that if the
Two detection crossings are not provided with image capturing device, and the second detection crossing is not the last one crossing on security travel route,
Then according to the travel speed of the leading vehicle of acquisition, the first detection crossing to the distance between the second detection crossing value, before calculating
Guide-car sails duration at the first detection crossing to the fifth line between the second detection crossing, or according to the leading vehicle of acquisition
Travel speed, the first detection crossing to the distance between third detection crossing value, calculate leading vehicle first and detect crossing extremely
Third detects the 6th traveling duration between crossing, and third detection crossing is the latter of the second detection crossing on security travel route
A crossing sails the 7th traveling duration of duration setting according to fifth line and starts timing, and the 7th traveling duration is equal or shorter than the 5th
Duration is travelled, or according to the 8th traveling duration of the 6th traveling duration setting and starts timing, the 8th traveling duration is equal to or short
Duration is travelled in the 6th;When timing duration is equal to the 7th traveling duration or the 8th traveling duration, security travel route is obtained the
The second driving direction at three detection crossings;The traffic lights for controlling third detection crossing is in current shape in the second driving direction
State.
Wherein, third detection crossing can be the crossing for being provided with traffic lights, and figure has can be set in crossing in third detection
As filming apparatus, image capturing device can also be not provided with.
In an implementation, when detecting that license plate number that the image capturing device at the first detection crossing takes is to be stored in advance
Security fleet leading vehicle license plate number, and the first detection crossing be except on security travel route the last one crossing it
When outer any detection crossing, it can also judge whether the second detection crossing is provided with image capturing device and the second detection road
It mouthful is the last one crossing on security travel route, if the second detection crossing is not provided with image capturing device, and the
Two detection crossings are not the last one crossings on security travel route, then server can be according to the traveling of the leading vehicle of acquisition
Speed, the first detection crossing to the distance between the second detection crossing value, calculate leading vehicle at the first detection crossing to second
Fifth line between detection crossing sails duration, in turn, fifth line can be sailed to duration and third preset duration threshold value subtracts each other (its
In, third preset duration threshold value can be it is pre-stored be greater than or equal to 0 lesser numerical value), obtain the 7th traveling duration
And start timing.In timing course, server can detecte the size relation of the 7th traveling duration and timing duration, work as detection
When being equal to the 7th traveling duration to timing duration, the available security travel route of server detects second at crossing in third
Driving direction, wherein third detection crossing is next crossing at the second detection crossing on security travel route.That is, working as
According to timing duration, when detecting that leading vehicle will be travelled to the second detection crossing, the available security of server travels road
Second driving direction of the line at third detection crossing.After getting the second driving direction, server can control third detection
The traffic lights at crossing is in prevailing state in the second driving direction, and forbidden shape is on the direction except the second driving direction
State, wherein the direction except the second driving direction can be different from the second driving direction, and mutually conflict with the second driving direction
Direction.
Alternatively, if the second detection crossing is not provided with image capturing device, and the second detection crossing is not security traveling
The last one crossing on route, then server can also reach the traveling duration that third detects crossing by calculating leading vehicle,
Control the traffic lights at third detection crossing.Specifically, the travel speed of the available leading vehicle of server, the first detection crossing
It, in turn, can travel speed according to the leading vehicle of acquisition, the first detection crossing to third detection the distance between crossing value
To the distance between third detection crossing value, leading vehicle is calculated at the first detection crossing to the 6th between third detection crossing
Duration is travelled, in turn, the 6th traveling duration and the 4th preset duration threshold value can be subtracted each other into (wherein, the 4th preset duration threshold value
Can be it is pre-stored be greater than or equal to 0 lesser numerical value), obtain the 8th traveling and duration and start timing.In timing
Cheng Zhong, server can detecte the 8th traveling duration and timing duration size relation, when detect timing duration be equal to the 8th
When travelling duration, second driving direction of the available security travel route of server at third detection crossing.Get
After two driving directions, the traffic lights that server can control third detection crossing is in prevailing state in the second driving direction,
Forbidden state is on the direction except the second driving direction.
That is, server can determine the preceding guide-car of security fleet according to the image capturing device at each detection crossing
The detection crossing being currently located, can also be each to detect the distance between crossing value with travel speed according to the pre-stored data, determines
Traveling duration of the leading vehicle between each detection crossing according to calculated traveling duration, and is determined leading in turn
Position where vehicle, at the time of estimating leading each detection crossing of vehicle arrival, thus, trigger the server is to each detection crossing
Traffic lights is controlled.In this way, at the time of server uses two methods to determine that leading vehicle reaches certain detection crossing simultaneously, from
And the phenomenon that security task can not be executed in the case where image capturing device being not provided with to avoid certain detection crossing appearance.
Optionally, in the case where the second detection crossing and third detection crossing are not provided with image capturing device, clothes
It is engaged in the control of traffic lights that device can be cancelled according to timing duration to third detection crossing, correspondingly, concrete processing procedure can be with
It is as follows: if third detection crossing is not provided with image capturing device, to detect the image capturing device at the first detection crossing
When the license plate number in image taken is the license plate number of the tail of the queue vehicle of security fleet, according to the tail of the queue vehicle of acquisition
Travel speed, the first detection crossing to the distance between third detection crossing value, calculate tail of the queue vehicle first and detect crossing extremely
Third detects the 9th traveling duration between crossing, according to the tenth traveling duration of the 9th traveling duration setting and starts timing, the
Ten traveling durations are equal or longer than the 9th traveling duration;During the traffic light control to third detection crossing, work as timing
When duration is equal to the tenth traveling duration, cancel the control of the traffic lights to third detection crossing.
In an implementation, it if the second detection crossing and third detection crossing are not provided with image capturing device, detects
The license plate number in image taken to the image capturing device at the first detection crossing is the vehicle of the tail of the queue vehicle of security fleet
When trade mark code, at the time of can determining that tail of the queue vehicle reaches third detection crossing.Specifically, when detect that tail of the queue vehicle reaches the
When one detection crossing, server can detect road according to the travel speed of the tail of the queue vehicle of acquisition, the first detection crossing to third
The distance between mouth value calculates tail of the queue vehicle at the first detection crossing to the 9th between third detection crossing and travels duration, into
And the 9th timing duration can be added with the 5th preset duration threshold value (wherein, the 5th preset duration threshold value may be greater than or
Lesser numerical value equal to 0), the tenth traveling duration is obtained, and start timing.In timing course, server can detecte meter
The size of the traveling duration of Shi Shichang and the tenth, during the traffic light control to third detection crossing, when timing duration etc.
When the tenth traveling duration, server can cancel the control of the traffic lights to third detection crossing.
In the embodiment of the present invention, in the image that the image capturing device at the available each detection crossing of server takes
License plate number, wherein detection crossing can be the crossing on the security travel route of security fleet or of security travel route
The previous crossing of initial point, when server detects the license plate in image that the image capturing device at the first detection crossing takes
Number is the license plate number for protecting the leading vehicle of fleet, and the first detection crossing is except the last one crossing on security travel route
Except any detection crossing when, available security travel route second detection crossing at the first driving direction, wherein
Second detection crossing is that the latter crossing at the first detection crossing on security travel route can control the second detection road in turn
The traffic lights of mouth is in prevailing state in the first driving direction.In this way, server can judge automatically current institute of security fleet
Crossing in turn can be in security fleet by control the traffic lights at the crossing in the traveling side of security fleet before certain crossing
It is in prevailing state upwards, without putting into a large amount of manpower to execute security task, it is thus possible to avoid expending a large amount of people
Power.
Based on the same technical idea, the embodiment of the invention also provides a kind of devices for controlling traffic lights, such as Fig. 4 institute
Show, which includes:
Receiving module 410, the leading vehicle for receiving security fleet reach the notice at the first detection crossing;
Module 420 is obtained, for judging whether first detection crossing is except the security of the security fleet travels road
Any detection crossing on line except the last one crossing, and the security travel route is obtained at the second detection crossing
First driving direction, wherein second detection crossing is the latter of first detection crossing on the security travel route
A crossing;
Sending module 430, for sending the traffic lights for controlling second detection crossing in first driving direction
Notice in prevailing state.
Optionally, the receiving module 410, is used for:
The tail of the queue vehicle for receiving security fleet reaches the notice at the second detection crossing;
The sending module 430, is used for:
Send the notice for cancelling the control of the traffic lights to second detection crossing.
Optionally, as shown in figure 5, described device further include:
First computing module 440, for during the traffic light control to second detection crossing, when receiving
When the leading vehicle of security fleet reaches the notice at the first detection crossing, according to the travel speed of the tail of the queue vehicle of acquisition,
First detection crossing to second detection the distance between crossing value calculates the tail of the queue vehicle at the first detection crossing to the
The first traveling duration between two detection crossings, according to the second traveling duration of the first traveling duration setting and starts timing,
The second traveling duration is equal or longer than the first traveling duration;
The sending module 430, is used for:
When timing duration is equal to the second traveling duration, sends and cancel to the traffic lights at second detection crossing
The notice of control.
Optionally, the sending module 430, is used for:
While receiving the leading vehicle of security fleet and reach the notice at the first detection crossing, that is, send control described the
The traffic lights at two detection crossings is in the notice of prevailing state in first driving direction;Alternatively,
As shown in fig. 6, described device further include:
Second computing module 450, for according to the travel speed of the leading vehicle of acquisition, the first detection crossing to the
The distance between two detection crossings value calculates the leading vehicle at the first detection crossing between the second detection crossing
Third travels duration, sails duration according to third traveling duration setting fourth line and starts timing, the fourth line sails duration
Duration is travelled equal or shorter than the third;
The sending module 430, is used for:
When timing duration, which is equal to the fourth line, sails duration, the traffic lights at control second detection crossing is sent in institute
State the notice that prevailing state is in the first driving direction.
Optionally, as shown in fig. 7, described device further include:
Third computing module 460, if being not provided with image capturing device for second detection crossing, and described the
Two detection crossings are not the last one crossings on the security travel route, then according to the traveling of the leading vehicle of acquisition speed
Degree, the first detection crossing to the distance between the second detection crossing value, calculate the leading vehicle at first detection crossing
Duration is sailed to the fifth line between the second detection crossing, or the travel speed according to the leading vehicle of acquisition, the first inspection
Crossing to the distance between third detection crossing value is surveyed, the leading vehicle is calculated and is detected at the first detection crossing to third
The 6th traveling duration between crossing, third detection crossing are second detection crossings on the security travel route
The latter crossing sails the 7th traveling duration of duration setting according to the fifth line and starts timing, described 7th traveling duration etc.
In or the shorter than described fifth line sail duration, or according to the 8th traveling duration of the 6th traveling duration setting and start timing,
The 8th traveling duration is equal or shorter than the 6th traveling duration;
The acquisition module 420, is also used to: when timing duration is equal to the 7th traveling duration or the 8th traveling duration
When, obtain second driving direction of the security travel route at third detection crossing;
The sending module 430, is also used to: sending the traffic lights for controlling third detection crossing in second traveling
The notice of prevailing state is on direction.
Optionally, the third computing module 460, is also used to:
If third detection crossing is not provided with image capturing device, the tail of the queue vehicle of the security fleet is received
When reaching the notice at the first detection crossing, according to the travel speed of the tail of the queue vehicle of acquisition, the first detection crossing to the
The distance between three detection crossings value calculates the tail of the queue vehicle at the first detection crossing between third detection crossing
9th traveling duration according to the tenth traveling duration of the 9th traveling duration setting and starts timing, the tenth traveling duration
Equal or longer than the 9th traveling duration;
The sending module 430, is also used to: during the traffic light control to third detection crossing, working as meter
When Shi Shichang is equal to the tenth traveling duration, the notice for cancelling the control of the traffic lights to third detection crossing is sent.
In the embodiment of the present invention, in the image that the image capturing device at the available each detection crossing of server takes
License plate number, wherein detection crossing can be the crossing on the security travel route of security fleet or of security travel route
The previous crossing of initial point, when server detects the license plate in image that the image capturing device at the first detection crossing takes
Number is the license plate number of the leading vehicle of security fleet, and the first detection crossing is except the last one road on security travel route
Mouthful except any detection crossing when, available security travel route second detection crossing at the first driving direction,
In, the second detection crossing is that the latter crossing at the first detection crossing on security travel route can control the second detection in turn
The traffic lights at crossing is in prevailing state in the first driving direction.In this way, can to judge automatically security fleet current for server
The crossing at place can control the traveling of the traffic lights in security fleet at the crossing before security fleet is by certain crossing in turn
Prevailing state is on direction, without putting into a large amount of manpower to execute security task, it is thus possible to avoid expending a large amount of people
Power.
It should be understood that it is provided by the above embodiment control traffic lights device when controlling traffic lights, only with above-mentioned
The division progress of each functional module can according to need and for example, in practical application by above-mentioned function distribution by different
Functional module is completed, i.e., the internal structure of server is divided into different functional modules, with complete it is described above whole or
Person's partial function.In addition, the embodiment of the method for the device and control traffic lights of control traffic lights provided by the above embodiment belongs to
Same design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
Fig. 8 is the structural schematic diagram of server provided in an embodiment of the present invention.The server 1900 can be because of configuration or performance
It is different and generate bigger difference, it may include one or more central processing units (central processing
Units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage applications
The storage medium 1930 (such as one or more mass memory units) of program 1942 or data 1944.Wherein, memory
1932 and storage medium 1930 can be of short duration storage or persistent storage.The program for being stored in storage medium 1930 may include one
A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into
One step, central processing unit 1922 can be set to communicate with storage medium 1930, execute storage medium on server 1900
Series of instructions operation in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets
Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or
More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
Server 1900 may include have memory and one perhaps more than one program one of them or one
A procedure above is stored in memory, and is configured to execute one or one by one or more than one processor
A procedure above includes the instruction for performing the following operation:
Obtain the license plate number in the image that each image capturing device for detecting crossing takes, wherein detection crossing is
The previous crossing of the starting point at crossing or the security travel route on the security travel route of security fleet;
When detect the license plate number in the image that the image capturing device at the first detection crossing takes be the security
The license plate number of the leading vehicle of fleet, and first detection crossing is except the last one crossing on the security travel route
Except any detection crossing when, obtain the security travel route second detection crossing at the first driving direction, wherein
Second detection crossing is the latter crossing at first detection crossing on the security travel route;
The traffic lights for controlling second detection crossing is in prevailing state in first driving direction.
Optionally, the method also includes:
During the traffic light control to second detection crossing, when the figure for detecting second detection crossing
When the license plate number in image taken as filming apparatus is the license plate number of the tail of the queue vehicle of the security fleet, cancellation pair
The control of the traffic lights at second detection crossing.
Optionally, the method also includes:
During the traffic light control to second detection crossing, when the figure for detecting first detection crossing
When the license plate number in image taken as filming apparatus is the license plate number of the tail of the queue vehicle of the security fleet, according to obtaining
The travel speed of the tail of the queue vehicle taken, the first detection crossing to the distance between the second detection crossing value, calculate the team
Trailer, to the first traveling duration between the second detection crossing, travels duration according to described first at the first detection crossing
The second traveling duration of setting simultaneously starts timing, and the second traveling duration is equal or longer than the first traveling duration;
When timing duration is equal to the second traveling duration, cancel the control of the traffic lights to second detection crossing
System.
Optionally, the traffic lights at the control second detection crossing is in first driving direction in current shape
State, comprising:
Detecting that the license plate number in the image that the image capturing device at first detection crossing takes is described
While the license plate number of leading vehicle, that is, the traffic lights at second detection crossing is controlled in first driving direction
In prevailing state;Alternatively,
According to the distance between the travel speed of the leading vehicle of acquisition, the first detection crossing to the second detection crossing
Value calculates the leading vehicle at the first detection crossing to the third between the second detection crossing and travels duration, according to institute
It states third traveling duration setting fourth line to sail duration and start timing, the fourth line sails duration equal or shorter than described the third line
Sail duration;
When timing duration, which is equal to the fourth line, sails duration, the traffic lights at second detection crossing is controlled described the
Prevailing state is in one driving direction.
Optionally, the method also includes:
If second detection crossing is not provided with image capturing device, and second detection crossing is not the peace
The last one crossing on travel route is protected, then according to the travel speed of the leading vehicle of acquisition, the first detection crossing to the
The distance between two detection crossings value calculates the leading vehicle at the first detection crossing between the second detection crossing
Fifth line sails duration, or detects crossing according to the travel speed of the leading vehicle of acquisition, the first detection crossing to third
The distance between value, calculate the leading vehicle the first detection crossing to the 6th between third detection crossing when driving
Long, third detection crossing is the latter crossing at second detection crossing on the security travel route, according to described
Fifth line sails the 7th traveling duration of duration setting and starts timing, and the 7th traveling duration is sailed equal or shorter than the fifth line
Duration, or according to the 8th traveling duration of the 6th traveling duration setting and start timing, the 8th traveling duration is equal to
Or the shorter than described 6th traveling duration;
When timing duration is equal to the 7th traveling duration or the 8th traveling duration, obtains the security travel route and exist
The second driving direction at third detection crossing;
The traffic lights for controlling third detection crossing is in prevailing state in second driving direction.
Optionally, the method also includes:
If third detection crossing is not provided with image capturing device, the figure at first detection crossing is detected
When the license plate number in image taken as filming apparatus is the license plate number of the tail of the queue vehicle of the security fleet, according to obtaining
The travel speed of the tail of the queue vehicle taken, the first detection crossing to the distance between third detection crossing value, calculate the team
Trailer, to the 9th traveling duration between third detection crossing, travels duration according to the described 9th at the first detection crossing
Tenth traveling duration is set and starts timing, the tenth traveling duration is equal or longer than the 9th traveling duration;
During the traffic light control to third detection crossing, when timing duration is equal to the described tenth when driving
When long, cancel the control of the traffic lights to third detection crossing.
In the embodiment of the present invention, in the image that the image capturing device at the available each detection crossing of server takes
License plate number, wherein detection crossing can be the crossing on the security travel route of security fleet or of security travel route
The previous crossing of initial point, when server detects the license plate in image that the image capturing device at the first detection crossing takes
Number is the license plate number of the leading vehicle of security fleet, and the first detection crossing is except the last one road on security travel route
Mouthful except any detection crossing when, available security travel route second detection crossing at the first driving direction,
In, the second detection crossing is that next crossing at the first detection crossing on security travel route can control the second detection road in turn
The traffic lights of mouth is in prevailing state in the first driving direction.In this way, server can judge automatically current institute of security fleet
Crossing in turn can be in security fleet by control the traffic lights at the crossing in the traveling side of security fleet before certain crossing
It is in prevailing state upwards, without putting into a large amount of manpower to execute security task, it is thus possible to avoid expending a large amount of people
Power.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (15)
1. a kind of method for controlling traffic lights, which is characterized in that the described method includes:
Obtain the license plate number in the image that each image capturing device for detecting crossing takes, wherein detection crossing is security
The previous crossing of the starting point at crossing or the security travel route on the security travel route of fleet;
When detect the license plate number in the image that the image capturing device at the first detection crossing takes be the security fleet
Leading vehicle license plate number, and it is described first detection crossing be in addition to the last one crossing on the security travel route
Any detection crossing when, obtain the security travel route second detection crossing at the first driving direction, wherein it is described
Second detection crossing is the latter crossing at first detection crossing on the security travel route;
The traffic lights for controlling second detection crossing is in prevailing state in first driving direction.
2. the method according to claim 1, wherein the method also includes:
During the traffic light control to second detection crossing, when the image for detecting second detection crossing is clapped
When the license plate number taken the photograph in the image that device takes is the license plate number of tail of the queue vehicle of the security fleet, cancel to described
The control of the traffic lights at the second detection crossing.
3. the method according to claim 1, wherein the method also includes:
During the traffic light control to second detection crossing, when the image for detecting first detection crossing is clapped
When the license plate number taken the photograph in the image that device takes is the license plate number of tail of the queue vehicle of the security fleet, according to acquisition
The travel speed of the tail of the queue vehicle, the first detection crossing to the distance between the second detection crossing value, calculate the tail of the queue vehicle
It is described first detection crossing to second detection crossing between first traveling duration, according to it is described first traveling duration setting
Second traveling duration simultaneously starts timing, and the second traveling duration is equal or longer than the first traveling duration;
When timing duration is equal to the second traveling duration, cancel the control of the traffic lights to second detection crossing.
4. the method according to claim 1, wherein the traffic lights at the control second detection crossing is in institute
It states in the first driving direction in prevailing state, comprising:
Detecting that the license plate number in the image that the image capturing device at first detection crossing takes is described leading
While the license plate number of vehicle, that is, the traffic lights for controlling second detection crossing is in logical in first driving direction
Row state;Alternatively,
It is worth according to the distance between the travel speed of the leading vehicle of acquisition, the first detection crossing to the second detection crossing,
It calculates the leading vehicle and travels duration at the first detection crossing to the third between the second detection crossing, according to described the
Three traveling duration setting fourth lines sail duration and start timing, and the fourth line sails duration when driving equal or shorter than the third
It is long;
When timing duration, which is equal to the fourth line, sails duration, the traffic lights at second detection crossing is controlled in the first row
It sails on direction in prevailing state.
5. the method according to claim 1, wherein the method also includes:
If second detection crossing is not provided with image capturing device, and second detection crossing is not the security row
The last one crossing on route is sailed, then according to the travel speed of the leading vehicle of acquisition, the first detection crossing to the second inspection
The distance between crossing value is surveyed, calculates the leading vehicle at the first detection crossing to the 5th between the second detection crossing
Travel duration, or according to the travel speed of the leading vehicle of acquisition, the first detection crossing between third detection crossing
Distance value, calculate the leading vehicle at the first detection crossing to the 6th traveling duration between third detection crossing,
Third detection crossing is the latter crossing at second detection crossing on the security travel route, according to the described 5th
The 7th traveling duration of traveling duration setting simultaneously starts timing, when the 7th traveling duration is sailed equal or shorter than the fifth line
It is long, or according to the 8th traveling duration of the 6th traveling duration setting and start timing, the 8th traveling duration be equal to or
The shorter than described 6th traveling duration;
When timing duration is equal to the 7th traveling duration or the 8th traveling duration, the security travel route is obtained described
Third detects the second driving direction at crossing;
The traffic lights for controlling third detection crossing is in prevailing state in second driving direction.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
If third detection crossing is not provided with image capturing device, detect that the image at first detection crossing is clapped
When the license plate number taken the photograph in the image that device takes is the license plate number of tail of the queue vehicle of the security fleet, according to acquisition
The travel speed of the tail of the queue vehicle, the first detection crossing to the distance between third detection crossing value, calculate the tail of the queue vehicle
It is described first detection crossing to third detection crossing between the 9th traveling duration, according to it is described 9th traveling duration setting
Tenth traveling duration simultaneously starts timing, and the tenth traveling duration is equal or longer than the 9th traveling duration;
During the traffic light control to third detection crossing, when timing duration is equal to the tenth traveling duration
When, cancel the control of the traffic lights to third detection crossing.
7. a kind of device for controlling traffic lights, which is characterized in that described device includes:
Receiving module, the leading vehicle for receiving security fleet reach the notice at the first detection crossing;
Obtain module, for judge first detection crossing whether be on the security travel route except the security fleet it is last
Any detection crossing except one crossing, and obtain first traveling of the security travel route at the second detection crossing
Direction, wherein second detection crossing is the latter crossing at first detection crossing on the security travel route;
Sending module, for sending the traffic lights for controlling second detection crossing in first driving direction in passage
The notice of state.
8. device according to claim 7, which is characterized in that the receiving module is used for:
The tail of the queue vehicle for receiving the security fleet reaches the notice at second detection crossing;
The sending module, is used for:
Send the notice for cancelling the control of the traffic lights to second detection crossing.
9. device according to claim 7, which is characterized in that described device further include:
First computing module, for during the traffic light control to second detection crossing, when receiving the peace
When protecting the leading vehicle of fleet and reaching the notice at the first detection crossing, according to the travel speed of the tail of the queue vehicle of acquisition, the
One detection crossing to the distance between the second detection crossing value, calculates the tail of the queue vehicle at the first detection crossing to second
The first traveling duration between crossing is detected, according to the second traveling duration of the first traveling duration setting and starts timing, institute
The second traveling duration is stated equal or longer than the first traveling duration;
The sending module, is used for:
When timing duration is equal to the second traveling duration, the control for cancelling the traffic lights to second detection crossing is sent
Notice.
10. device according to claim 7, which is characterized in that the sending module is used for:
While receiving the notice at the first detection of leading vehicle arrival crossing of security fleet, that is, send control second inspection
The traffic lights for surveying crossing is in the notice of prevailing state in first driving direction;Alternatively,
Described device further include:
Second computing module, for the travel speed according to the leading vehicle of acquisition, the first detection crossing to the second detection
The distance between crossing value calculates the leading vehicle at the first detection crossing to the third line between the second detection crossing
Sail duration, duration setting fourth line travelled according to the third and sails duration and starts timing, the fourth line sail duration be equal to or
The shorter than described third travels duration;
The sending module, is used for:
When timing duration, which is equal to the fourth line, sails duration, the traffic lights at control second detection crossing is sent described the
The notice of prevailing state is in one driving direction.
11. device according to claim 7, which is characterized in that described device further include:
Third computing module, if being not provided with image capturing device, and second detection for second detection crossing
Crossing is not the last one crossing on the security travel route, then according to the travel speed of the leading vehicle of acquisition,
One detection crossing to the distance between the second detection crossing value, calculates the leading vehicle at the first detection crossing to second
Fifth line between detection crossing sails duration, or the travel speed according to the leading vehicle of acquisition, the first detection crossing
To third detection the distance between crossing value, calculate the leading vehicle the first detection crossing to third detection crossing it
Between the 6th traveling duration, third detection crossing is the latter at second detection crossing on the security travel route
Crossing sails the 7th traveling duration of duration setting according to the fifth line and starts timing, and the 7th traveling duration is equal to or short
Duration is sailed in the fifth line, or according to the 8th traveling duration of the 6th traveling duration setting and starts timing, described the
Eight traveling durations are equal or shorter than the 6th traveling duration;
The acquisition module, is also used to: when timing duration is equal to the 7th traveling duration or the 8th traveling duration, obtaining institute
State second driving direction of the security travel route at third detection crossing;
The sending module, is also used to: sending the traffic lights for controlling third detection crossing in second driving direction
Notice in prevailing state.
12. device according to claim 11, which is characterized in that the third computing module is also used to:
If third detection crossing is not provided with image capturing device, the tail of the queue vehicle for receiving the security fleet is arrived
Up to first detection crossing notice when, according to the travel speed of the tail of the queue vehicle of acquisition, first detection crossing to third examine
The distance between crossing value is surveyed, calculates the tail of the queue vehicle at the first detection crossing to the 9th between third detection crossing
Duration is travelled, according to the tenth traveling duration of the 9th traveling duration setting and starts timing, the tenth traveling duration is equal to
Or it is longer than the 9th traveling duration;
The sending module, is also used to: during the traffic light control to third detection crossing, when timing duration etc.
When the tenth traveling duration, the notice for cancelling the control of the traffic lights to third detection crossing is sent.
13. a kind of system for controlling traffic lights, which is characterized in that the system comprises boards to know server, security server and letter
Control server, in which:
The license plate number in image that the image capturing device that the board knowledge server obtains each detection crossing takes, wherein
Detection crossing is the previous road of the starting point at the crossing or the security travel route on the security travel route of security fleet
Mouthful;
Whether the board knows the license plate number in the image that server judges that the image capturing device at the first detection crossing takes
For the license plate number of the leading vehicle of the security fleet, and when the judgment result is yes, the peace is sent to security server
The leading vehicle for protecting fleet reaches the notice at the first detection crossing;
The security server judges whether first detection crossing is except the last one crossing on the security travel route
Except any detection crossing obtain the security travel route at the second detection crossing and when the judgment result is yes
First driving direction, wherein second detection crossing is the latter of first detection crossing on the security travel route
A crossing;
The security server sends the traffic lights at control second detection crossing described first to the letter control server
The notice of prevailing state is in driving direction;
The traffic lights that the letter control server controls second detection crossing is in current shape in first driving direction
State.
14. system according to claim 13, which is characterized in that the board knows server and judges second detection crossing
The image that takes of image capturing device in license plate number whether be the security fleet tail of the queue vehicle license plate number,
And when the judgment result is yes, the second detection crossing is reached to the tail of the queue vehicle that the security server sends the security fleet
Notice;
The security server is during the traffic light control to second detection crossing, when receiving the security vehicle
When the tail of the queue vehicle of team reaches the notice at the second detection crossing, sends and cancel to second detection road to letter control server
The notice of the control of the traffic lights of mouth;
The letter control server cancels the control of the traffic lights to second detection crossing.
15. system according to claim 13, which is characterized in that if second detection crossing is not provided with image bat
Device is taken the photograph, and second detection crossing is not the last one crossing on the security travel route, then the security server
According to the travel speed of the leading vehicle of acquisition, the first detection crossing to the distance between the second detection crossing value, calculate
The leading vehicle sails duration at the first detection crossing to the fifth line between the second detection crossing, or according to acquisition
The travel speed of the leading vehicle, the first detection crossing to the distance between third detection crossing value, calculate the preceding guide-car
At the first detection crossing to the 6th traveling duration between third detection crossing, third detection crossing is the peace
The 7th traveling duration of duration setting is sailed according to the fifth line in the latter crossing for protecting second detection crossing on travel route
And starting timing, the 7th traveling duration sails duration equal or shorter than the fifth line, or when driving according to the described 6th
Long the 8th traveling duration of setting simultaneously starts timing, and the 8th traveling duration is equal or shorter than the 6th traveling duration;Work as meter
When Shi Shichang is equal to the 7th traveling duration or the 8th traveling duration, obtains the security travel route and detected in the third
The second driving direction at crossing;
The security server sends the traffic lights for controlling third detection crossing described second to the letter control server
The notice of prevailing state is in driving direction;
The traffic lights that the letter control server controls third detection crossing is in current shape in second driving direction
State.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710470571.5A CN109102706B (en) | 2017-06-20 | 2017-06-20 | Method, device and system for controlling traffic light |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710470571.5A CN109102706B (en) | 2017-06-20 | 2017-06-20 | Method, device and system for controlling traffic light |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109102706A true CN109102706A (en) | 2018-12-28 |
CN109102706B CN109102706B (en) | 2021-01-12 |
Family
ID=64795730
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710470571.5A Active CN109102706B (en) | 2017-06-20 | 2017-06-20 | Method, device and system for controlling traffic light |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109102706B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113793518A (en) * | 2021-09-13 | 2021-12-14 | 浙江大华技术股份有限公司 | Vehicle passing processing method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103531031A (en) * | 2013-02-06 | 2014-01-22 | 支录奎 | Research of realizing green wave band passing control based on traffic main line soft enclosing area video detection identification |
CN104064041A (en) * | 2014-06-12 | 2014-09-24 | 东南大学 | Traffic signal lamp adjusting system and method based on public transport motorcade priority |
CN104183143A (en) * | 2014-08-22 | 2014-12-03 | 东南大学 | Method for avoiding bus conflict at one-road one-line bus network signal intersection through vehicular access coordination |
WO2015157580A1 (en) * | 2014-04-09 | 2015-10-15 | Haws Corporation | Traffic control system and method of use |
CN105788307A (en) * | 2016-04-07 | 2016-07-20 | 山东鼎讯智能交通股份有限公司 | Traffic signal control method for convenient emergency vehicle passing |
DE102015218942A1 (en) * | 2015-09-30 | 2017-03-30 | Siemens Aktiengesellschaft | A method for controlling an indication of a remaining time |
-
2017
- 2017-06-20 CN CN201710470571.5A patent/CN109102706B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103531031A (en) * | 2013-02-06 | 2014-01-22 | 支录奎 | Research of realizing green wave band passing control based on traffic main line soft enclosing area video detection identification |
WO2015157580A1 (en) * | 2014-04-09 | 2015-10-15 | Haws Corporation | Traffic control system and method of use |
CN104064041A (en) * | 2014-06-12 | 2014-09-24 | 东南大学 | Traffic signal lamp adjusting system and method based on public transport motorcade priority |
CN104183143A (en) * | 2014-08-22 | 2014-12-03 | 东南大学 | Method for avoiding bus conflict at one-road one-line bus network signal intersection through vehicular access coordination |
DE102015218942A1 (en) * | 2015-09-30 | 2017-03-30 | Siemens Aktiengesellschaft | A method for controlling an indication of a remaining time |
CN105788307A (en) * | 2016-04-07 | 2016-07-20 | 山东鼎讯智能交通股份有限公司 | Traffic signal control method for convenient emergency vehicle passing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113793518A (en) * | 2021-09-13 | 2021-12-14 | 浙江大华技术股份有限公司 | Vehicle passing processing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109102706B (en) | 2021-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110858295B (en) | Traffic police gesture recognition method and device, vehicle control unit and storage medium | |
CN105759839B (en) | Unmanned plane visual tracking method, device and unmanned plane | |
WO2018210184A1 (en) | Fleet control method, device, and internet of vehicles system | |
KR101925094B1 (en) | Driving license test system for unmanned air vehicle | |
CN108883725A (en) | A kind of driving vehicle warning system and method | |
WO2019223655A1 (en) | Detection of non-motor vehicle carrying passenger | |
CN109389836A (en) | Control method, device, system and the controller of traffic lights | |
CN107291100A (en) | A kind of monitoring method based on unmanned plane | |
CN107527012A (en) | Make a dash across the red light monitoring method, device and monitoring processing equipment | |
JP2020093890A (en) | Crane work monitoring system, crane work monitoring method, dangerous state determination device, and program | |
CN110335473A (en) | Block the personal identification method and system of license plate vehicle | |
CN110444019A (en) | Vehicle abnormality parking origin cause of formation detection method and system based on vehicle-mounted parking warning sign | |
CN109466444A (en) | Hazardous vehicles detect method for early warning and system | |
CN108801286A (en) | The method and apparatus for determining driving trace | |
CN113759986A (en) | Unmanned aerial vehicle monitoring and tracking method, device, equipment and storage medium | |
CN109987228A (en) | A kind of disaster area personnel search and rescue and goods and materials put-on method based on unmanned plane | |
CN106530414A (en) | Person, certificate and ticket unified secondary detection system | |
CN106205154A (en) | A kind of pedestrian stream amount control method | |
CN110059578A (en) | A kind of method and device of vehicle tracking | |
CN109102706A (en) | A kind of methods, devices and systems controlling traffic lights | |
CN107705582A (en) | A kind of rule-breaking vehicle detection method and system | |
CN109979202A (en) | A kind of vehicle safety inspection method and device | |
CN116022079A (en) | Intelligent help seeking method, help seeking device and vehicle | |
CN105448096B (en) | It is positioned at the electronic recognition platform violating the regulations of traffic intersection | |
CN116823604A (en) | Airport no-fly zone black fly processing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |