Signal lamp control method and device, electronic equipment and storage medium

文档序号:170670 发布日期:2021-10-29 浏览:23次 中文

阅读说明:本技术 信号灯控制方法、装置、电子设备及存储介质 (Signal lamp control method and device, electronic equipment and storage medium ) 是由 李珍惜 毛飞虎 李海峰 周俊杰 郝家余 池发玉 于 2021-07-22 设计创作,主要内容包括:本申请涉及信号灯控制技术领域,特别涉及一种信号灯控制方法、装置、电子设备及存储介质,其中,方法包括:采集每条行车道上车流采集区域的实际车流量;根据实际车流量识别当前路口的最佳信号灯控制方式;按照最佳信号灯控制方式控制当前路口的至少一个信号灯的开关动作。由此,解决了相关技术中对于郊区道路以及深夜(或凌晨)时段的城市道路的交通,由于车辆到达交叉路口时间的随机性,导致空等红灯时间较长的问题,提高通行效率的同时,在一定程度上也使得信号灯的控制方式更加灵活和高效。(The present application relates to the technical field of signal lamp control, and in particular, to a signal lamp control method, apparatus, electronic device, and storage medium, wherein the method includes: collecting the actual traffic flow of a traffic flow collection area on each traffic lane; identifying the optimal signal lamp control mode of the current intersection according to the actual traffic flow; and controlling the on-off action of at least one signal lamp at the current intersection according to the optimal signal lamp control mode. Therefore, the problem that the traffic of suburban roads and urban roads in late night (or early morning) periods in the related art is long in idle red light time due to the randomness of the time of the vehicles reaching the intersection is solved, the traffic efficiency is improved, and meanwhile the control mode of the signal lamp is more flexible and efficient to a certain extent.)

1. A signal lamp control method is characterized by comprising the following steps:

collecting the actual traffic flow of a traffic flow collection area on each traffic lane;

identifying the optimal signal lamp control mode of the current intersection according to the actual traffic flow; and

and controlling the on-off action of at least one signal lamp of the current intersection according to the optimal signal lamp control mode.

2. The method of claim 1, wherein the traffic flow collection area is an area of a preset length on a left-turn lane and a straight lane corresponding to each intersection on a traffic lane.

3. The method of claim 1, wherein said identifying the best signal light control mode for the current intersection based on said actual traffic flow comprises:

if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode;

if the actual traffic flow of any lane is greater than zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode;

if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is greater than zero, the optimal signal lamp control mode is a phase switching control mode;

if the actual traffic flow of any lane is greater than zero and the actual traffic flow of the other lane is greater than zero, the optimal signal lamp control mode is the phase switching control mode when the current time of any lane is finished, otherwise, the optimal signal lamp control mode is the phase switching control mode when the current time is preset and the traffic is not finished.

4. The method of claim 1, further comprising, prior to collecting the actual traffic flow of the traffic collection area on each of the traffic lanes:

detecting whether the current intersection meets signal lamp control conditions;

and if the signal lamp control conditions are met, controlling each signal lamp to enter a signal lamp control mode, otherwise, controlling the switching action of at least one signal lamp of the current intersection according to a preset signal lamp control mode.

5. The method according to claim 4, wherein the signal lamp control condition comprises that the detection time is in a preset time interval, or the actual traffic flow is less than a preset flow and the duration is greater than a preset time.

6. A signal lamp control apparatus, comprising:

the acquisition module is used for acquiring the actual traffic flow of the traffic flow acquisition area on each traffic lane;

the identification module is used for identifying the optimal signal lamp control mode of the current intersection according to the actual traffic flow; and

and the control module is used for controlling the on-off action of at least one signal lamp at the current intersection according to the optimal signal lamp control mode.

7. The apparatus of claim 6, wherein the traffic flow collection area is an area of a preset length on a left-turn lane and a straight lane corresponding to each intersection on a traffic lane.

8. The apparatus according to claim 6, wherein the identification module is specifically configured to:

if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode;

if the actual traffic flow of any lane is greater than zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode;

if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is greater than zero, the optimal signal lamp control mode is a phase switching control mode;

if the actual traffic flow of any lane is greater than zero and the actual traffic flow of the other lane is greater than zero, the optimal signal lamp control mode is the phase switching control mode when the current time of any lane is finished, otherwise, the optimal signal lamp control mode is the phase switching control mode when the current time is preset and the traffic is not finished.

9. An electronic device, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the signal light control method according to any one of claims 1 to 5.

10. A computer-readable storage medium on which a computer program is stored, characterized in that the program is executed by a processor for implementing the signal lamp control method according to any one of claims 1 to 5.

Technical Field

The present disclosure relates to signal lamp control technologies, and in particular, to a signal lamp control method, an apparatus, an electronic device, and a storage medium.

Background

The continuous increase of the motor vehicle holding quantity leads to the increasingly serious intersection jam phenomenon.

In the related art, a fixed timing scheme is adopted for signal lamp timing, and timing periods of different phases cannot be changed along with the change of traffic flow.

However, for the traffic of suburban roads and urban roads in late night (or early morning) time, due to the randomness of the time of the vehicles reaching the intersection, the idle red light time is long, and a solution is needed.

Content of application

The application provides a signal lamp control method, a signal lamp control device, electronic equipment and a storage medium, which are used for solving the problem that traffic of suburban roads and urban roads in late night (or early morning) periods in the related art has longer idle red light time due to randomness of time for vehicles to reach intersections, and the traffic efficiency is improved while the control mode of the signal lamp is more flexible and efficient to a certain extent.

An embodiment of a first aspect of the present application provides a signal lamp control method, including the following steps:

collecting the actual traffic flow of a traffic flow collection area on each traffic lane;

identifying the optimal signal lamp control mode of the current intersection according to the actual traffic flow; and

and controlling the on-off action of at least one signal lamp of the current intersection according to the optimal signal lamp control mode.

Optionally, the traffic flow collection area is an area with a preset length on a left-turn lane and a straight lane of each intersection on the corresponding traffic lane.

Optionally, the identifying the optimal signal lamp control mode of the current intersection according to the actual traffic flow includes:

if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode;

if the actual traffic flow of any lane is greater than zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode;

if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is greater than zero, the optimal signal lamp control mode is a phase switching control mode;

if the actual traffic flow of any lane is greater than zero and the actual traffic flow of the other lane is greater than zero, the optimal signal lamp control mode is the phase switching control mode when the current time of any lane is finished, otherwise, the optimal signal lamp control mode is the phase switching control mode when the current time is preset and the traffic is not finished.

Optionally, before acquiring the actual traffic flow of the traffic flow acquisition area on each traffic lane, the method further includes:

detecting whether the current intersection meets signal lamp control conditions;

and if the signal lamp control conditions are met, controlling each signal lamp to enter a signal lamp control mode, otherwise, controlling the switching action of at least one signal lamp of the current intersection according to a preset signal lamp control mode.

Optionally, the signal lamp control condition includes that the detection time is within a preset time interval, or the actual traffic flow is smaller than a preset flow and the duration is longer than a preset time. An embodiment of a second aspect of the present application provides a signal lamp control device, including:

the acquisition module is used for acquiring the actual traffic flow of the traffic flow acquisition area on each traffic lane;

the identification module is used for identifying the optimal signal lamp control mode of the current intersection according to the actual traffic flow; and

and the control module is used for controlling the on-off action of at least one signal lamp at the current intersection according to the optimal signal lamp control mode.

Optionally, the traffic flow collection area is an area with a preset length on a left-turn lane and a straight lane of each intersection on the corresponding traffic lane.

Optionally, the identification module is specifically configured to:

if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode;

if the actual traffic flow of any lane is greater than zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode;

if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is greater than zero, the optimal signal lamp control mode is a phase switching control mode;

if the actual traffic flow of any lane is greater than zero and the actual traffic flow of the other lane is greater than zero, the optimal signal lamp control mode is the phase switching control mode when the current time of any lane is finished, otherwise, the optimal signal lamp control mode is the phase switching control mode when the current time is preset and the traffic is not finished.

Optionally, before the actual traffic flow of the traffic flow collection area on each traffic lane is collected, the collection module is further configured to:

detecting whether the current intersection meets signal lamp control conditions;

and if the signal lamp control conditions are met, controlling each signal lamp to enter a signal lamp control mode, otherwise, controlling the switching action of at least one signal lamp of the current intersection according to a preset signal lamp control mode.

Optionally, the signal lamp control condition includes that the detection time is within a preset time interval, or the actual traffic flow is smaller than a preset flow and the duration is longer than a preset time.

An embodiment of a third aspect of the present application provides an electronic device, including: the signal lamp control system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the signal lamp control method according to the embodiment.

A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, the program being executed by a processor for implementing the signal lamp control method according to the above embodiment.

Therefore, the actual traffic flow of the traffic flow collection area on each traffic lane can be collected, the optimal signal lamp control mode of the current intersection is identified according to the actual traffic flow, and the switching action of at least one signal lamp of the current intersection is controlled according to the optimal signal lamp control mode. Therefore, the problem that the traffic of suburban roads and urban roads in late night (or early morning) periods in the related art is long in idle red light time due to the randomness of the time of the vehicles reaching the intersection is solved, the traffic efficiency is improved, and meanwhile the control mode of the signal lamp is more flexible and efficient to a certain extent.

Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.

Drawings

The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:

FIG. 1 is a schematic diagram of a scene where a vehicle waits for a red light in a north-south direction when there is no vehicle in the east-west direction;

FIG. 2 is a schematic diagram of a red light waiting scenario for a vehicle in a north-south direction when the vehicle in the east-west direction is farther from the intersection;

fig. 3 is a flowchart of a signal lamp control method according to an embodiment of the present application;

FIG. 4 is an exemplary diagram of a signal lamp control model according to one embodiment of the present application;

FIG. 5 is a flow chart of signal lamp control according to one embodiment of the present application;

FIG. 6 is a flow chart of a signal light control method according to one embodiment of the present application;

FIG. 7 is a block diagram of a signal lamp control device according to an embodiment of the present application;

fig. 8 is a block diagram of an electronic device according to an embodiment of the application.

Detailed Description

Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.

A signal lamp control method, a device, an electronic apparatus, and a storage medium according to embodiments of the present application are described below with reference to the drawings.

Before describing the signal lamp control method according to the embodiment of the present application, the disadvantages of the signal lamp control method in the related art will be briefly described.

As shown in fig. 1, the up and down directions are north and south directions, and the left and right directions are east and west directions. The south-north direction is red light, the east-west direction is green light, and the vehicle A, B, C, D stops at the intersection to wait for passing. In this case, vehicles on the north-south lanes still need to wait for a period of time to pass through, and since no vehicle runs in the east-west direction, the waiting reduces the passing efficiency of the intersection to a certain extent.

As shown in fig. 2, fig. 2 is a scene in which a vehicle waiting for a red light is in the north-south direction when the vehicle is far from the intersection in the east-west direction, and the vehicle M, N is driving in the east-west direction but far from the intersection. If M, N does not have enough time to travel through the intersection during the current green light, the wait time for vehicles in the north-south direction is essentially the same as the wait time in FIG. 1.

In view of the above problems, the present application provides a signal lamp control method, in which an actual traffic flow of a traffic flow collection area on each traffic lane can be collected, an optimal signal lamp control mode of a current intersection is identified according to the actual traffic flow, and a switching operation of at least one signal lamp of the current intersection is controlled according to the optimal signal lamp control mode. Therefore, the problem that the traffic of suburban roads and urban roads in late night (or early morning) periods in the related art is long in idle red light time due to the randomness of the time of the vehicles reaching the intersection is solved, the traffic efficiency is improved, and meanwhile the control mode of the signal lamp is more flexible and efficient to a certain extent.

Specifically, fig. 3 is a schematic flowchart of a signal lamp control method according to an embodiment of the present disclosure.

As shown in fig. 3, the signal lamp control method includes the steps of:

in step S301, the actual traffic flow of the traffic flow collection area on each traffic lane is collected.

Optionally, in some embodiments, the traffic flow collection area is an area of a preset length on a left-turn lane and a straight lane of each intersection on the corresponding traffic lane.

It should be understood that, in order to facilitate statistics of the traffic flow at the intersection, the embodiments of the present application may respectively set areas for collecting traffic flows in the directions of four entering intersections, such as the grid portion in fig. 4. The north-south direction includes two grid areas, Z1And Z3The east-west direction includes two grid areas, Z2And Z4The grid area represents left-turn and straight-going lanes, and the blank area on the right side of the grid area is a right-turn lane, and the length of the blank area can be L. It should be noted that the length of the traffic flow collection area may be taken as a proper value according to the actual situation of the intersection, and is not specifically limited herein.

Furthermore, the embodiment of the application can acquire the actual traffic flow of the traffic flow acquisition area on each traffic lane in real time through the traffic probe (the right-turn lane can turn right all the time by default, so that the traffic flow in the right-turn lane is not counted), and send the acquired actual traffic flow of the traffic flow acquisition area on each traffic lane to the server.

Optionally, in some embodiments, before collecting the actual traffic flow of the traffic flow collection area on each traffic lane, further comprising: detecting whether the current intersection meets the signal lamp control condition; and if the signal lamp control conditions are met, controlling each signal lamp to enter a signal lamp control mode, otherwise, controlling the switching action of at least one signal lamp at the current intersection according to a preset signal lamp control mode.

In some embodiments, the signal lamp control condition includes that the detection time is in a preset time interval, or the actual traffic flow is smaller than the preset flow and the duration is longer than the preset time.

It can be understood that, in order to avoid the situation of congestion occurring when the traffic flow is large, the embodiment of the present application can be provided with signal lamp control conditions, such as a preset time interval, and preset flow, preset time, when the detection time is in the preset time interval, or the actual traffic flow is less than the preset flow and the duration is greater than the preset time, the signal lamp control conditions are satisfied, the embodiment of the present application can control each signal lamp to enter a signal lamp control mode, otherwise, the on-off action of at least one signal lamp at the current intersection is controlled according to the preset signal lamp control mode, and the actual traffic flow in the traffic flow collection area on each traffic lane is collected. Therefore, when the traffic flow is small, the time of the vehicle waiting for the red light can be shortened; when the traffic flow is larger, the traffic light has the function of a common traffic light.

In step S302, the best signal lamp control mode at the current intersection is identified according to the actual traffic flow.

Optionally, in some embodiments, identifying the best signal lamp control mode of the current intersection according to the actual traffic flow includes: if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode; if the actual traffic flow of any lane is greater than zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode; if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is greater than zero, the optimal signal lamp control mode is a phase switching control mode; if the actual traffic flow of any lane is larger than zero and the actual traffic flow of the other lane is larger than zero, the optimal signal lamp control mode is the phase switching control mode when the traffic of any lane is finished at the current moment, otherwise, the optimal signal lamp control mode is the phase switching control mode when the traffic is not finished and the time length is preset from the current moment.

For example, assume that the north-south directional signal lamps are set to green lamps and the east-west directional signal lamps are set to red lamps.

If no vehicle enters the grid area in the north-south direction and no vehicle enters the grid area in the east-west direction, the display state of the signal lamp at the current intersection is kept unchanged (namely the best signal lamp control mode is the current control mode);

if vehicles enter the grid area in the north-south direction and no vehicles enter the grid area in the east-west direction, the display state of the signal lamp at the current intersection is kept unchanged (namely the best signal lamp control mode is the current control mode);

if no vehicle enters the grid area in the north-south direction and no vehicle enters the grid area in the east-west direction, the optimal signal lamp control mode is a phase switching control mode;

if vehicles enter the grid areas in the south and north directions and vehicles enter the grid areas in the east and west directions, the optimal signal lamp control mode is the phase switching control mode when the passing is finished at the current moment in the south and north directions, otherwise, the optimal signal lamp control mode is the phase switching control mode when the passing is not finished and the time length is preset from the current moment.

In step S303, the switching operation of at least one signal lamp at the current intersection is controlled according to the optimal signal lamp control method.

Therefore, as shown in fig. 5, in the embodiment of the application, traffic flow entering the intersection in the grid area in four directions is collected in real time through the traffic probe, then the collected data is sent to the server, and the server generates a signal machine control instruction according to traffic flow information, so that control over the signal lamp is finally realized. Therefore, when the traffic flow is small, the time of the vehicle waiting for the red light can be shortened; when the traffic flow is larger, the traffic light has the function of a common traffic light.

In order to enable those skilled in the art to further understand the signal lamp control method according to the embodiment of the present application, the following detailed description is provided with reference to specific embodiments.

As shown in fig. 6, the signal lamp control method includes the steps of:

s601, initializing the system, setting the south and north direction signal lamps as green lamps, and setting the east and west direction signal lamps as red lamps.

And S602, judging whether a vehicle enters the grid area in the north-south direction or not, if so, executing the step S603, otherwise, executing the step S609.

S603, judging whether a vehicle enters the east-west direction grid area or not, if not, executing the step S604, otherwise, executing the step S605.

S604, keeping the display state of the signal lamps at the current intersection unchanged, releasing vehicles passing in the south-north direction, and skipping to execute the step S602.

S605 records the time T1 at which the system is operating at this time, and this time is used as a time node for calculating the traffic light phase switching condition.

And S606, judging whether the passing of the vehicles in the grid area in the north-south direction is finished, if not, performing S607, otherwise, performing S610.

S607, the time T2 at which the system is operating at this time is recorded, and this time is used as a time node as well as a condition for calculating the signal lamp phase switching.

S608, determine whether the time interval between T1 and T2 is greater than the green light timing period Tg, if yes, execute step S610, otherwise, execute step S606.

And S609, judging whether a vehicle enters the east-west direction grid area or not, if not, executing the step S604, otherwise, executing the step S610.

S610, phase switching is conducted, the south and north direction signal lamps are set to be red lamps, the east and west direction signal lamps are set to be green lamps, and vehicles running in the east and west directions are released.

And S611, judging whether vehicles enter the grid area in the north-south direction or not, if not, executing the step S612, otherwise, executing the step S613.

And S612, continuously keeping the signal lamp state of the current intersection, and skipping to execute the step S611.

It should be noted that this step is intended to prevent the traffic state in the east-west direction from being affected if no vehicle enters the grid region in the north-south direction when the green light is in the east-west direction.

S613, records the time T3 when the system is operating at this time.

And S614, judging whether the passing of the vehicle in the grid area in the east-west direction is finished, if not, executing the step S615, otherwise, executing the step S617.

S615, the time T4 when the system is running at this time is recorded.

S616, judging whether the time interval between T3 and T4 is greater than the green light timing period Tg, if so, executing step S617, otherwise, executing step S614.

S617, switching the position, setting the north-south direction signal lamp as green light, setting the east-west direction signal lamp as red light, releasing the vehicle running in the north-south direction, and jumping to execute the step S603.

It should be noted that the grid area is a traffic flow collection area.

Therefore, on the premise that the south and north directions are green lights, the east and west directions are red lights, and no vehicle exists in the traffic flow collection areas in the two directions, after a period of time, if a vehicle enters the traffic flow collection area in the east and west directions, the red light in the direction can be switched to the green light at once, the time of the empty red light of the vehicle in the east and west directions is shortened, and the passing efficiency of the vehicle is improved (corresponding to the step S602 → S609 → S610). In the case where the south-north direction is red, the east-west direction is green, and the vehicle has already passed in the east-west direction, if there is a vehicle entering the traffic flow collection area in the south-north direction, the red light in the south-north direction can be immediately switched to the green light to improve the passing efficiency of the vehicle (corresponding to step S610 → S611 → S613 → S614 → S617).

When vehicles are arranged in the traffic flow collection areas in the north-south direction and the east-west direction, the signal lamp has the function of a common traffic light, namely, the traffic flows in different directions are alternately released according to a certain period.

The green light duration in the north-south direction: step S605 → S606 → S607 → S608 → S606;

and signal lamp phase conversion process: step S608 → S610;

east-west green light duration: step S613 → S614 → S615 → S616 → S614;

and signal lamp phase conversion process: step S616 → S617.

According to the signal lamp control method provided by the embodiment of the application, the actual traffic flow of the traffic flow collection area on each traffic lane can be collected, the optimal signal lamp control mode of the current intersection is identified according to the actual traffic flow, and the switching action of at least one signal lamp of the current intersection is controlled according to the optimal signal lamp control mode. Therefore, the problem that the traffic of suburban roads and urban roads in late night (or early morning) periods in the related art is long in idle red light time due to the randomness of the time of the vehicles reaching the intersection is solved, the traffic efficiency is improved, and meanwhile the control mode of the signal lamp is more flexible and efficient to a certain extent.

Next, a signal lamp control device according to an embodiment of the present application will be described with reference to the drawings.

Fig. 7 is a block diagram of a signal lamp control device according to an embodiment of the present application.

As shown in fig. 7, the signal lamp control device 10 includes: an acquisition module 100, an identification module 200 and a control module 300.

The acquisition module 100 is configured to acquire an actual traffic flow of a traffic flow acquisition area on each traffic lane;

the identification module 200 is used for identifying the optimal signal lamp control mode of the current intersection according to the actual traffic flow; and

the control module 300 is used for controlling the on-off action of at least one signal lamp at the current intersection according to the optimal signal lamp control mode.

Optionally, the traffic flow collection area is an area with a preset length corresponding to a left-turn lane and a straight lane at each intersection on the traffic lane.

Optionally, the identification module 200 is specifically configured to:

if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode;

if the actual traffic flow of any lane is greater than zero and the actual traffic flow of the other lane is zero, the optimal signal lamp control mode is to maintain the current control mode;

if the actual traffic flow of any lane is zero and the actual traffic flow of the other lane is greater than zero, the optimal signal lamp control mode is a phase switching control mode;

if the actual traffic flow of any lane is larger than zero and the actual traffic flow of the other lane is larger than zero, the optimal signal lamp control mode is the phase switching control mode when the traffic of any lane is finished at the current moment, otherwise, the optimal signal lamp control mode is the phase switching control mode when the traffic is not finished and the time length is preset from the current moment.

Optionally, before the actual traffic flow of the traffic flow collection area on each traffic lane is collected, the collection module is further configured to:

detecting whether the current intersection meets the signal lamp control condition;

and if the signal lamp control conditions are met, controlling each signal lamp to enter a signal lamp control mode, otherwise, controlling the switching action of at least one signal lamp at the current intersection according to a preset signal lamp control mode.

Optionally, the signal lamp control condition includes that the detection time is in a preset time interval, or the actual traffic flow is smaller than the preset flow and the duration is longer than the preset time.

It should be noted that the foregoing explanation of the embodiment of the signal lamp control method is also applicable to the signal lamp control device of the embodiment, and is not repeated here.

According to the signal lamp control device provided by the embodiment of the application, the actual traffic flow of the traffic flow collection area on each traffic lane can be collected, the optimal signal lamp control mode of the current intersection is identified according to the actual traffic flow, and the switching action of at least one signal lamp of the current intersection is controlled according to the optimal signal lamp control mode. Therefore, the problem that the traffic of suburban roads and urban roads in late night (or early morning) periods in the related art is long in idle red light time due to the randomness of the time of the vehicles reaching the intersection is solved, the traffic efficiency is improved, and meanwhile the control mode of the signal lamp is more flexible and efficient to a certain extent.

Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may include:

a memory 801, a processor 802, and a computer program stored on the memory 801 and executable on the processor 802.

The processor 802 executes a program to implement the beacon control method provided in the above-described embodiments.

Further, the electronic device further includes:

a communication interface 803 for communicating between the memory 801 and the processor 802.

A memory 801 for storing computer programs operable on the processor 802.

The memory 801 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.

If the memory 801, the processor 802 and the communication interface 803 are implemented independently, the communication interface 803, the memory 801 and the processor 802 may be connected to each other via a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.

Optionally, in a specific implementation, if the memory 801, the processor 802, and the communication interface 803 are integrated on one chip, the memory 801, the processor 802, and the communication interface 803 may complete communication with each other through an internal interface.

The processor 802 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.

The present embodiment also provides a computer-readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the signal light control method as above.

In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "N" means at least two, e.g., two, three, etc., unless specifically limited otherwise.

Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of implementing the embodiments of the present application.

It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种预防交叉路口堵塞的信号控制方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!