CN114566042A - Signal lamp duration distribution method and device, electronic equipment and storage medium - Google Patents
Signal lamp duration distribution method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114566042A CN114566042A CN202210113013.4A CN202210113013A CN114566042A CN 114566042 A CN114566042 A CN 114566042A CN 202210113013 A CN202210113013 A CN 202210113013A CN 114566042 A CN114566042 A CN 114566042A
- Authority
- CN
- China
- Prior art keywords
- time length
- determining
- signal lamp
- traffic flow
- traffic
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000004044 response Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 10
- 230000003139 buffering effect Effects 0.000 claims description 7
- 238000011156 evaluation Methods 0.000 claims description 4
- 230000007246 mechanism Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 239000000835 fiber Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- 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/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0108—Measuring and analyzing of parameters relative to traffic conditions based on the source of data
-
- 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/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
- G08G1/0129—Traffic data processing for creating historical data or processing based on historical data
-
- 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/09—Arrangements for giving variable traffic instructions
- G08G1/095—Traffic lights
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Traffic Control Systems (AREA)
Abstract
The embodiment of the application discloses a signal lamp time length distribution method and device, electronic equipment and a storage medium. One embodiment of the method comprises: acquiring a traffic image of a target crossroad in a specific traffic direction, wherein the traffic image is acquired by a camera; estimating a first time length for finishing passing of queued vehicles in a specific traffic flow direction according to the traffic flow image; and determining the time length distribution of the signal lamp corresponding to the specific traffic flow direction according to the first time length. The embodiment provides a signal lamp time length distribution mechanism based on the vehicle passing time length, so that the time length distribution of the signal lamp is more flexible and reasonable.
Description
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a signal lamp duration distribution method and device, electronic equipment and a storage medium.
Background
At present, the time length of traffic signal lamps is distributed according to main roads or auxiliary roads of crossroads, fixed programs are embedded, for example, the time length of green lamps of the main roads in the south and north is 90 seconds, the time length of green lamps of the auxiliary roads in the east and west is 20 seconds, the time length distribution strategy cannot be dynamically and flexibly adjusted no matter the peak in the morning and evening or the holiday in a specific festival or the like, and certain traffic jam pressure is caused.
Disclosure of Invention
The embodiment of the application provides a signal lamp time length distribution method and device, electronic equipment and a storage medium.
In a first aspect, some embodiments of the present application provide a signal lamp duration allocation method, including: acquiring a traffic image of a target intersection in a specific traffic direction, wherein the traffic image is acquired by a camera; estimating a first time length for finishing passing of queued vehicles in a specific traffic flow direction according to the traffic flow image; and determining the time length distribution of the signal lamp corresponding to the specific traffic flow direction according to the first time length.
In some embodiments, estimating from the traffic flow image a first duration for completion of a pass by a queued vehicle in a particular traffic flow direction comprises: estimating the number of queued vehicles in a particular traffic direction from the traffic image; acquiring the average time length of a vehicle in a specific traffic flow direction passing through an intersection; the first duration is determined based on the number of queued vehicles and the average duration in the particular traffic direction.
In some embodiments, determining the first time period based on the number of queued vehicles and the average time period in the particular traffic direction comprises: determining the product of the number of queued vehicles in the specific traffic flow direction and the average duration as a second duration; and determining the sum of the second time length and the preset buffering time length as the first time length.
In some embodiments, determining the time length allocation of the traffic light corresponding to the specific traffic direction according to the first time length comprises: determining whether the first time length is greater than or equal to the preset shortest time length of green lights of the signal lights and is less than or equal to the preset longest time length of green lights of the signal lights; and determining the first time length as the time length of the green light of the signal lamp in response to determining that the first time length is greater than or equal to the shortest time length and less than or equal to the longest time length.
In some embodiments, the method further comprises: in response to determining that the first time length is smaller than the shortest time length, determining the shortest time length as the time length of the green light of the signal lamp; and in response to determining that the first duration is greater than the maximum duration, determining the maximum duration as the duration that the signal lamp is green.
In a second aspect, some embodiments of the present application provide a signal lamp duration allocation apparatus, including: an acquisition unit configured to acquire a traffic image of a target intersection in a specific traffic direction, the traffic image being acquired by a camera; an estimation unit configured to estimate a first time period for which a queued vehicle completes passing in a specific traffic flow direction, based on a traffic flow image; and the determining unit is configured to determine the time length distribution of the signal lamp corresponding to the specific traffic flow direction according to the first time length.
In some embodiments, the evaluation unit is further configured to: estimating the number of queued vehicles in a particular traffic direction from the traffic flow image; acquiring the average time length of a vehicle in a specific traffic flow direction passing through an intersection; the first duration is determined based on the number of queued vehicles and the average duration in the particular flow direction.
In some embodiments, the evaluation unit is further configured to: determining the product of the number of queued vehicles in the specific traffic flow direction and the average duration as a second duration; and determining the sum of the second time length and the preset buffering time length as the first time length.
In some embodiments, the determining unit is further configured to: determining whether the first time length is greater than or equal to the preset shortest time length of the green light of the signal light and less than or equal to the preset longest time length of the green light of the signal light; and determining the first time length as the time length of the green light of the signal lamp in response to determining that the first time length is greater than or equal to the shortest time length and less than or equal to the longest time length.
In some embodiments, the determining unit is further configured to: in response to determining that the first time length is less than the shortest time length, determining the shortest time length as the time length of the green light of the signal lamp; in response to determining that the first time period is greater than the maximum time period, determining the maximum time period as the time period that the signal lamp is green.
In a third aspect, some embodiments of the present application provide an apparatus comprising: one or more processors; a storage device, on which one or more programs are stored, which, when executed by the one or more processors, cause the one or more processors to implement the method as described above in the first aspect.
In a fourth aspect, some embodiments of the present application provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the method as described above in relation to the first aspect.
According to the signal lamp duration distribution method, the signal lamp duration distribution device, the electronic equipment and the storage medium, the traffic flow image of the target crossroad in the specific traffic flow direction, which is acquired by the camera, is acquired; estimating a first time length for finishing passing of queued vehicles in a specific traffic flow direction according to the traffic flow image; the time length distribution of the signal lamp corresponding to the specific traffic flow direction is determined according to the first time length, and a signal lamp time length distribution mechanism based on the vehicle passing time length is provided, so that the time length distribution of the signal lamp is more flexible and reasonable.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a diagram of some exemplary system architectures to which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a signal light time duration assignment method according to the present application;
FIG. 3 is a schematic structural diagram of an embodiment of a signal light time length distribution device according to the present application;
FIG. 4 is a schematic block diagram of a computer system suitable for use with a server implementing some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the signal time length allocation method or signal time length allocation device of the present application can be applied.
As shown in fig. 1, the system architecture 100 may include a camera 101, a network 102, and a server 103. Network 102 is the medium used to provide a communication link between camera 101 and server 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The server 103 may acquire the vehicle image captured by the camera 101 through the network 102. The server 103 may be a server providing various services, for example, a server determining the time length of a signal lamp, and the server 103 may obtain a traffic image of a target intersection in a specific traffic direction, which is acquired by the camera 101; estimating a first time length for finishing passing of queued vehicles in a specific traffic flow direction according to the traffic flow image; and determining the time length distribution of the signal lamp corresponding to the specific traffic flow direction according to the first time length.
It should be noted that the signal lamp time length allocation method provided in the embodiment of the present application may be executed by the server 103, and accordingly, the signal lamp time length allocation device may be disposed in the server 103. The server may be hardware or software. When the server is hardware, the server can be implemented as a distributed server cluster formed by a plurality of servers, or can be implemented as a single server, and the server can be arranged in a data machine room, or can be integrated in a signal lamp in the form of a processing unit. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of cameras, networks, and servers in fig. 1 are merely illustrative. There may be any number of cameras, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a signal light time length assignment method in accordance with the present application is shown. The signal lamp time length distribution method comprises the following steps:
In this embodiment, the signal lamp duration allocation method execution main body (for example, the server shown in fig. 1) may obtain, in real time, a traffic image of the target intersection in the specific traffic direction acquired by the camera, may also obtain, at every predetermined time, a traffic image of the target intersection in the specific traffic direction acquired by the camera, and may also obtain, at the predetermined time, a traffic image of the target intersection in the specific traffic direction acquired by the camera, for example, a traffic image of the target intersection in the specific traffic direction acquired by the camera is obtained once respectively at a peak in the morning and at a peak in the evening and at a peak in the non-morning and at a peak in the evening. Here, the target intersection is an intersection whose signal light time length assignment is to be determined, the traffic flow image may include a picture or a video, and the specific traffic flow direction may be an east-west direction, a north-south direction, a straight-going direction, or a turning direction, i.e., a traffic flow direction controlled by a single signal light.
And 202, estimating the first time length for finishing the passing of the queued vehicles in the specific traffic flow direction according to the traffic flow image.
In the present embodiment, the execution subject described above can estimate the first time length for a queued vehicle to complete a pass in a particular traffic flow direction from the traffic flow image in various ways, as an example, the vehicles at the end of the line in the specific traffic direction can be marked at the first moment when the signal lamp corresponding to the specific traffic direction turns green, determining whether the marked vehicle passes through the intersection before a second time when the signal lamp corresponding to the specific traffic flow direction turns red, if so, and taking the difference value between the third moment and the first moment when the vehicle passes through the intersection as a first time length, determining the running distance of the marked vehicle through the image of the first moment and the image of the second moment if the vehicle does not pass through the intersection, determining the running speed according to the running distance, the difference value between the second moment and the first moment, and finally estimating the first time length according to the distance between the marked vehicle and the intersection and the running speed of the marked vehicle.
In some optional implementations of the embodiment, estimating a first duration for which a queued vehicle completes passing in a particular traffic direction from the traffic image comprises: estimating the number of queued vehicles in a particular traffic direction from the traffic image; acquiring the average time length of a vehicle in a specific traffic flow direction passing through an intersection; the first duration is determined based on the number of queued vehicles and the average duration in the particular traffic direction.
In this implementation, the executing body may estimate the number of queued vehicles in a specific traffic flow direction from the traffic flow image by means of vehicle recognition, image semantic segmentation, or the like. The average time length of the vehicles passing through the intersection can be obtained according to actual tests, can also be determined empirically according to the length of the intersection, can also determine the number of the passing vehicles in the third time period during which the signal lamps are green according to the traffic flow images, and then determines the average time length according to the quotient of the third time period and the number of the passing vehicles in the third time period. In addition, the execution subject may determine a product of the number of queued vehicles in the specific traffic flow direction and the average time period as the first time period, and may make some increase or decrease according to actual conditions on the basis of the product.
In some optional implementations of the embodiment, determining the first duration according to the number of queued vehicles and the average duration in the specific traffic direction includes: determining the product of the number of queued vehicles in the specific traffic flow direction and the average duration as a second duration; and determining the sum of the second time length and the preset buffering time length as the first time length. In this implementation, the buffering duration may be set according to actual needs, for example, may be 1 to 3 seconds. The passage of the queued vehicles can be ensured to a greater extent by increasing the buffer length.
And step 203, determining the time length distribution of the signal lamp corresponding to the specific traffic flow direction according to the first time length.
In this embodiment, the executing entity may determine the time length allocation of the traffic light corresponding to the specific traffic direction according to the first time length estimated in step 202. The execution main body can directly determine the first time length as the time length of the green light of the signal lamp, and can also add some limiting factors to comprehensively determine the time length distribution of the signal lamp.
In some optional implementation manners of this embodiment, determining, according to the first time length, a time length allocation of a signal lamp corresponding to the specific traffic flow direction includes: determining whether the first time length is greater than or equal to the preset shortest time length of the green light of the signal light and less than or equal to the preset longest time length of the green light of the signal light; and determining the first time length as the time length of the green light of the signal lamp in response to determining that the first time length is greater than or equal to the shortest time length and less than or equal to the longest time length. The shortest time and the longest time can be set according to the actual road condition, the experience of a traffic control department or the vehicle queuing condition of another traffic direction at the intersection, and as an example, the shortest time can be the time from the starting of a vehicle to the passing of the vehicle through the intersection at the average speed, and the longest time can be the longest time which is set for the traffic direction when the green light time of another traffic direction at the intersection is the shortest time. The realization mode further optimizes the time length distribution of the signal lamp through the limitation of the shortest time length and the longest time length.
In some optional implementations of this embodiment, the method further comprises: in response to determining that the first time length is less than the shortest time length, determining the shortest time length as the time length of the green light of the signal lamp; in response to determining that the first time period is greater than the maximum time period, determining the maximum time period as the time period that the signal lamp is green.
The method provided by the embodiment of the application acquires the traffic flow image of the target crossroad in the specific traffic flow direction, wherein the traffic flow image is acquired by the camera; estimating a first time length for finishing passing of queued vehicles in a specific traffic flow direction according to the traffic flow image; the time length distribution of the signal lamp corresponding to the specific traffic flow direction is determined according to the first time length, and a signal lamp time length distribution mechanism based on the vehicle passing time length is provided, so that the time length distribution of the signal lamp is more flexible and reasonable.
With further reference to fig. 3, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of a signal lamp duration assignment apparatus, which corresponds to the method embodiment shown in fig. 2, and which can be applied to various electronic devices.
As shown in fig. 3, the signal lamp time length distribution device 300 of the present embodiment includes: an acquisition unit 301, an estimation unit 302, a determination unit 303. The acquisition unit is configured to acquire a traffic image of a target intersection in a specific traffic direction, wherein the traffic image is acquired by the camera; an estimation unit configured to estimate a first time period for which a queued vehicle completes passing in a specific traffic flow direction, based on a traffic flow image; and the determining unit is configured to determine the time length distribution of the signal lamp corresponding to the specific traffic flow direction according to the first time length.
In the present embodiment, the specific processing of the acquiring unit 301, the estimating unit 302 and the determining unit 303 of the signal light time length allocating device 300 can refer to step 201, step 202 and step 203 in the corresponding embodiment of fig. 2.
In some optional implementations of the present embodiment, the estimation unit is further configured to: estimating the number of queued vehicles in a particular traffic direction from the traffic flow image; acquiring the average time length of a vehicle in a specific traffic flow direction passing through an intersection; the first duration is determined based on the number of queued vehicles and the average duration in the particular traffic direction.
In some optional implementations of the present embodiment, the estimation unit is further configured to: determining the product of the number of queued vehicles in the specific traffic flow direction and the average duration as a second duration; and determining the sum of the second time length and the preset buffering time length as the first time length.
In some optional implementations of this embodiment, the determining unit is further configured to: determining whether the first time length is greater than or equal to the preset shortest time length of the green light of the signal light and less than or equal to the preset longest time length of the green light of the signal light; and determining the first time length as the time length of the green light of the signal lamp in response to determining that the first time length is greater than or equal to the shortest time length and less than or equal to the longest time length.
In some optional implementations of this embodiment, the determining unit is further configured to: in response to determining that the first time length is smaller than the shortest time length, determining the shortest time length as the time length of the green light of the signal lamp; in response to determining that the first time period is greater than the maximum time period, determining the maximum time period as the time period that the signal lamp is green.
According to the device provided by the embodiment of the application, the traffic flow images of the target crossroad in the specific traffic flow direction, which are acquired by the camera, are acquired; estimating a first time length for finishing passing of queued vehicles in a specific traffic flow direction according to the traffic flow image; the time length distribution of the signal lamp corresponding to the specific traffic flow direction is determined according to the first time length, and a signal lamp time length distribution mechanism based on the vehicle passing time length is provided, so that the time length distribution of the signal lamp is more flexible and reasonable.
Referring now to FIG. 4, a block diagram of a computer system 400 suitable for use in implementing a server according to embodiments of the present application is shown. The server shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 4, the computer system 400 includes a Central Processing Unit (CPU)401 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the system 400 are also stored. The CPU 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components may be connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. A driver 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 409, and/or installed from the removable medium 411. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 401. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable medium or any combination of the two. A computer readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, which may be described as: a processor includes an acquisition unit, an estimation unit, and a determination unit. The names of these units do not in some cases constitute a limitation on the units themselves, and for example, the acquisition unit may also be described as a "unit configured to acquire a traffic image of a target intersection in a specific traffic direction captured by a camera".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: acquiring a traffic image of a target intersection in a specific traffic direction, wherein the traffic image is acquired by a camera; estimating a first time length for finishing passing of queued vehicles in a specific traffic flow direction according to the traffic flow image; and determining the time length distribution of the signal lamp corresponding to the specific traffic flow direction according to the first time length.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
Claims (10)
1. A signal lamp time length distribution method comprises the following steps:
acquiring a traffic image of a target intersection in a specific traffic direction, wherein the traffic image is acquired by a camera;
estimating a first time length for finishing passing of queued vehicles in the specific traffic flow direction according to the traffic flow image;
and determining the time length distribution of the signal lamp corresponding to the specific traffic flow direction according to the first time length.
2. The method of claim 1, wherein said estimating from the traffic image a first time period for a queued vehicle to complete a pass in the particular traffic direction comprises:
estimating the number of queued vehicles in the specific traffic direction according to the traffic flow image;
Acquiring the average time length of the vehicles in the specific traffic flow direction passing through the intersection;
and determining the first time length according to the number of the queued vehicles in the specific traffic flow direction and the average time length.
3. The method of claim 2, wherein said determining the first duration based on the number of queued vehicles in the particular flow direction and the average duration comprises:
determining the product of the number of queued vehicles in the specific traffic flow direction and the average duration as a second duration;
and determining the sum of the second time length and a preset buffering time length as the first time length.
4. The method of claim 1, wherein the determining the time duration assignment of the traffic light corresponding to the particular traffic direction according to the first time duration comprises:
determining whether the first time length is greater than or equal to a preset shortest time length of the signal lamp green light and less than or equal to a preset longest time length of the signal lamp green light;
and in response to determining that the first time length is greater than or equal to the shortest time length and less than or equal to the longest time length, determining the first time length as the time length of the signal lamp for being green.
5. The method of claim 4, wherein the method further comprises:
in response to determining that the first time length is smaller than the shortest time length, determining the shortest time length as the time length of the signal lamp for turning green;
in response to determining that the first time length is greater than the maximum time length, determining the maximum time length as the time length that the signal lamp is green.
6. A signal lamp time length distribution device comprising:
an acquisition unit configured to acquire a traffic image of a target intersection in a specific traffic direction, the traffic image being acquired by a camera;
an estimation unit configured to estimate a first time period for completion of passage of a queued vehicle in the particular traffic flow direction from the traffic flow image;
the determining unit is configured to determine the time length distribution of the signal lamp corresponding to the specific traffic flow direction according to the first time length.
7. The apparatus of claim 6, wherein the evaluation unit is further configured to:
estimating the number of queued vehicles in the specific traffic direction according to the traffic flow image;
acquiring the average time length of the vehicles in the specific traffic flow direction passing through the intersection;
and determining the first time length according to the number of queued vehicles in the specific traffic flow direction and the average time length.
8. The apparatus of claim 7, wherein the evaluation unit is further configured to:
determining the product of the number of queued vehicles in the specific traffic direction and the average duration as a second duration;
and determining the sum of the second time length and a preset buffering time length as the first time length.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-5.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210113013.4A CN114566042A (en) | 2022-01-30 | 2022-01-30 | Signal lamp duration distribution method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210113013.4A CN114566042A (en) | 2022-01-30 | 2022-01-30 | Signal lamp duration distribution method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114566042A true CN114566042A (en) | 2022-05-31 |
Family
ID=81713460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210113013.4A Pending CN114566042A (en) | 2022-01-30 | 2022-01-30 | Signal lamp duration distribution method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114566042A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115410391A (en) * | 2022-09-08 | 2022-11-29 | 重庆长安汽车股份有限公司 | Traffic light control method and device based on navigation, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104376727A (en) * | 2014-11-12 | 2015-02-25 | 河南理工大学 | Arterial traffic four-intersection control sub-area bidirectional green wave coordination control method |
CN105679073A (en) * | 2016-04-20 | 2016-06-15 | 陈思思 | LED traffic signal lamp fault feedback method |
CN108629988A (en) * | 2018-05-15 | 2018-10-09 | 青岛永辉光电科技有限公司 | Traffic lights regulate and control method, apparatus and electronic equipment |
CN110718076A (en) * | 2019-11-01 | 2020-01-21 | 北京邮电大学 | Timing method and device of traffic signal lamp, electronic equipment and readable storage medium |
CN111613072A (en) * | 2020-05-08 | 2020-09-01 | 上海数道信息科技有限公司 | Intelligent signal lamp timing optimization method, device, equipment, system and medium |
CN112489456A (en) * | 2020-12-01 | 2021-03-12 | 山东交通学院 | Signal lamp regulation and control method and system based on urban trunk line vehicle queuing length |
-
2022
- 2022-01-30 CN CN202210113013.4A patent/CN114566042A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104376727A (en) * | 2014-11-12 | 2015-02-25 | 河南理工大学 | Arterial traffic four-intersection control sub-area bidirectional green wave coordination control method |
CN105679073A (en) * | 2016-04-20 | 2016-06-15 | 陈思思 | LED traffic signal lamp fault feedback method |
CN108629988A (en) * | 2018-05-15 | 2018-10-09 | 青岛永辉光电科技有限公司 | Traffic lights regulate and control method, apparatus and electronic equipment |
CN110718076A (en) * | 2019-11-01 | 2020-01-21 | 北京邮电大学 | Timing method and device of traffic signal lamp, electronic equipment and readable storage medium |
CN111613072A (en) * | 2020-05-08 | 2020-09-01 | 上海数道信息科技有限公司 | Intelligent signal lamp timing optimization method, device, equipment, system and medium |
CN112489456A (en) * | 2020-12-01 | 2021-03-12 | 山东交通学院 | Signal lamp regulation and control method and system based on urban trunk line vehicle queuing length |
Non-Patent Citations (1)
Title |
---|
郑思铭: "交通灯的一种新型智能控制系统", 《应用技术》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115410391A (en) * | 2022-09-08 | 2022-11-29 | 重庆长安汽车股份有限公司 | Traffic light control method and device based on navigation, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111626208B (en) | Method and device for detecting small objects | |
CN108520220B (en) | Model generation method and device | |
US10152277B2 (en) | Data transmission method and system | |
CN111461981B (en) | Error estimation method and device for point cloud stitching algorithm | |
CN109241373A (en) | Method and apparatus for acquiring data | |
CN110689804B (en) | Method and apparatus for outputting information | |
CN113255619B (en) | Lane line recognition and positioning method, electronic device, and computer-readable medium | |
CN115240157B (en) | Method, apparatus, device and computer readable medium for persistence of road scene data | |
CN110119725B (en) | Method and device for detecting signal lamp | |
CN109240314B (en) | Method and apparatus for collecting data | |
CN114566042A (en) | Signal lamp duration distribution method and device, electronic equipment and storage medium | |
CN110456798B (en) | Method and device for controlling the travel of a vehicle | |
CN113409393B (en) | Method and device for identifying traffic sign | |
CN111917661A (en) | Data transmission method and device, electronic equipment and computer readable storage medium | |
CN113721811A (en) | Popup window sending method, popup window sending device, electronic equipment and computer readable medium | |
CN110135517B (en) | Method and device for obtaining vehicle similarity | |
CN115512336B (en) | Vehicle positioning method and device based on street lamp light source and electronic equipment | |
CN110633598B (en) | Method and device for determining a driving area in an environment image | |
CN115589527B (en) | Automatic driving image transmission method, device, electronic equipment and computer medium | |
CN116279464A (en) | Vehicle self-adaptive cruise control method and device and related equipment | |
CN115326079B (en) | Vehicle lane level positioning method, device, equipment and computer readable medium | |
CN112132120B (en) | Method and device for video structuring | |
CN111488928B (en) | Method and device for acquiring samples | |
CN113688721B (en) | Method and device for fitting lane lines | |
CN116311152A (en) | Evaluation method and device for parking space detection effect and related equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220531 |