CN112950964A - Traffic light intelligent control method and device, electronic equipment and storage medium - Google Patents

Traffic light intelligent control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112950964A
CN112950964A CN202110282214.2A CN202110282214A CN112950964A CN 112950964 A CN112950964 A CN 112950964A CN 202110282214 A CN202110282214 A CN 202110282214A CN 112950964 A CN112950964 A CN 112950964A
Authority
CN
China
Prior art keywords
target intersection
traffic
traffic flow
time period
traffic light
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
Application number
CN202110282214.2A
Other languages
Chinese (zh)
Other versions
CN112950964B (en
Inventor
程宝妹
程光亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sensetime Technology Development Co Ltd
Original Assignee
Beijing Sensetime Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sensetime Technology Development Co Ltd filed Critical Beijing Sensetime Technology Development Co Ltd
Priority to CN202110282214.2A priority Critical patent/CN112950964B/en
Publication of CN112950964A publication Critical patent/CN112950964A/en
Application granted granted Critical
Publication of CN112950964B publication Critical patent/CN112950964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/08Controlling traffic signals according to detected number or speed of vehicles
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Traffic Control Systems (AREA)

Abstract

The disclosure relates to a traffic light intelligent control method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring mapping relation between time period information and traffic light transformation rules of a target intersection, wherein aiming at the target intersection, the traffic light transformation rules corresponding to at least two different time periods are different, the at least two different time periods comprise a first time period and a second time period, the first time period corresponds to a first traffic light transformation rule, the second time period corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches traffic lights of the target intersection based on preset fixed time length, and the second traffic light transformation rule switches the traffic lights of the target intersection based on a detection result of traffic flow of the target intersection; determining a traffic light transformation rule corresponding to the target intersection in the current time period according to the mapping relation; and switching and controlling the traffic lights of the target intersection according to the determined traffic light conversion rule.

Description

Traffic light intelligent control method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of intelligent traffic technologies, and in particular, to an intelligent traffic light control method and apparatus, an electronic device, and a storage medium.
Background
For orderly traffic, traffic lights are arranged at a plurality of intersections to control the traffic in different directions of the intersections in turn. The change time of the traffic light at each intersection is usually fixed, such as changing the color of the traffic light every several seconds. The mode of changing the color of the traffic light at fixed time is too single, and the traffic lights at different intersections need to wait for the same time for changing the color of the light, so that the traffic lights are not beneficial to high-efficiency traffic.
Disclosure of Invention
The present disclosure provides an intelligent control technical scheme for traffic lights.
According to an aspect of the present disclosure, there is provided a traffic light intelligent control method, including:
acquiring mapping relation between time period information and traffic light transformation rules of a target intersection, wherein aiming at the target intersection, the traffic light transformation rules corresponding to at least two different time periods are different, the at least two different time periods comprise a first time period and a second time period, the first time period corresponds to a first traffic light transformation rule, the second time period corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches traffic lights of the target intersection based on preset fixed time length, and the second traffic light transformation rule switches the traffic lights of the target intersection based on a detection result of traffic flow of the target intersection;
determining a traffic light transformation rule corresponding to the target intersection in the current time period according to the mapping relation;
and switching and controlling the traffic lights of the target intersection according to the determined traffic light conversion rule.
By acquiring a mapping relation between time period information and traffic light transformation rules of a target intersection, wherein for the target intersection, the traffic light transformation rules corresponding to at least two different time periods are different, the at least two different time periods comprise a first time period and a second time period, the first time period corresponds to a first traffic light transformation rule, the second time period corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches the traffic light of the target intersection based on a preset fixed time length, the second traffic light transformation rule switches the traffic light of the target intersection based on a detection result of traffic flow of the target intersection, the traffic light transformation rule corresponding to the target intersection in the current time period is determined according to the mapping relation, and the traffic light of the target intersection is switched and controlled according to the determined traffic light transformation rule, therefore, the traffic lights of the target intersection are switched based on the preset fixed time length in the first time period, the safety can be improved, potential safety hazards possibly caused by insufficient data analysis capability are reduced, and the traffic lights of the target intersection are switched based on the detection result of the traffic flow of the target intersection in the second time period, so that the traffic efficiency of the target intersection in the second time period can be improved, the intelligent control of the traffic lights of the target intersection can be realized, the flexibility of the traffic lights is improved, and the safety and the traffic efficiency of the target intersection in different time periods can be balanced.
In one possible implementation manner, the average traffic flow of the target intersection in the first time period is larger than the average traffic flow of the target intersection in the second time period.
In the implementation mode, the traffic lights of the target intersection are switched based on the preset fixed time length for the first time period with larger traffic flow, so that the safety is improved, the calculated amount is reduced, and the calculation resources are saved; and for a second time period with smaller traffic flow, switching the traffic light of the target intersection based on the detection result of the traffic flow of the target intersection, so that the passing efficiency of the second time period can be obviously improved.
In one possible implementation manner, before the obtaining the mapping relationship between the time period information and the traffic light change control rule of the target intersection, the method further includes:
counting historical traffic flows of the target intersection in different directions at different time periods to obtain statistical information corresponding to the target intersection;
establishing the mapping relation according to the statistical information; determining a time period in which the average traffic flow in different directions of the target intersection in the statistical information is greater than or equal to a set threshold as the first time period and corresponding to the first traffic light transformation rule; and determining the time interval in which the average traffic flow in different directions of the target intersection in the statistical information is smaller than the set threshold value as the second time interval and corresponding to the second traffic light transformation rule.
In the implementation mode, the time period with larger historical traffic flow is determined as the first time period, the time period with smaller historical traffic flow is determined as the second time period, intelligent control is not performed based on the detection result of the traffic flow in the first time period, and intelligent control is performed based on the detection result of the traffic flow in the second time period, so that the safety and the traffic efficiency are favorably balanced.
In one possible implementation, the first time period comprises a non-nighttime period and the second time period comprises a nighttime period.
In the implementation mode, the traffic lights of the target intersection are switched based on the preset fixed time length for the non-night time period with larger traffic flow, so that the safety is improved, the calculated amount is reduced, and the calculation resources are saved; and switching the traffic light of the target intersection based on the detection result of the traffic flow of the target intersection in the night time with smaller traffic flow, so that the traffic efficiency in the night time can be obviously improved. In the implementation mode, different traffic light transformation rules are matched aiming at non-night time periods and night time periods, and the safety and traffic efficiency of the whole day are favorably balanced.
In one possible implementation manner, the performing switching control on the traffic light of the target intersection according to the determined traffic light change rule includes:
under the condition that the determined traffic light conversion rule is the second traffic light conversion rule, acquiring a detection result of the traffic flow of the target intersection;
determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection, wherein the first time interval belongs to the second time interval;
and switching and controlling the traffic lights of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval.
In this implementation manner, the predicted value of the traffic flow of the target intersection in the first time interval after the current time is determined based on the detection result of the traffic flow of the target intersection, and the traffic lights of the target intersection are switched and controlled in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval, so that the traffic efficiency of each time interval in the second time interval can be obviously improved.
In a possible implementation manner, the performing switching control on the traffic light of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval includes:
aiming at least one adjacent intersection of the target intersection, determining a predicted value of the traffic flow of the adjacent intersection in the first time interval based on the detection result of the traffic flow of the adjacent intersection;
and switching and controlling the traffic lights of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval and the predicted value of the traffic flow of the adjacent intersection in the first time interval.
In this implementation, by combining the predicted values of the traffic flows of the intersections adjacent to the target intersection in the first time interval and performing switching control on the traffic lights of the target intersection in the first time interval, it is possible to perform coordinated control on the traffic lights of a plurality of adjacent intersections based on the traffic flows of the adjacent intersections in the second time interval, thereby contributing to improvement of the traffic efficiency of the intersections as a whole in the second time interval.
In a possible implementation manner, the determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection includes:
determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection and the detection result of the traffic flow of the road section connected with the target intersection.
In this implementation, by combining the detection result of the traffic flow of the link connected to the target intersection, the predicted value of the traffic flow of the target intersection in the first time interval after the current time can be determined more accurately, so that the passing efficiency of the target intersection in the first time interval can be further improved.
In one possible implementation form of the method,
the predicted value of the traffic flow of the target intersection in the first time interval comprises the following steps: the predicted value of the traffic flow of the first direction of the target intersection in the first time interval and the predicted value of the traffic flow of the second direction of the target intersection in the first time interval are obtained, wherein the first direction and the second direction are mutually crossed;
in the first time interval, the duration of the green light in the first direction is positively correlated with the predicted value of the traffic flow in the first direction and negatively correlated with the predicted value of the traffic flow in the second direction; the duration of the green light in the second direction is positively correlated with the predicted value of the traffic flow in the second direction and negatively correlated with the predicted value of the traffic flow in the first direction.
According to the implementation mode, the passing efficiency of the target intersection in different crossing directions can be integrally improved in different time intervals of the second time interval.
In a possible implementation manner, in the case that the predicted value of the traffic flow in the first direction in the first time interval is greater than 0, and the predicted value of the traffic flow in the second direction in the first time interval is equal to 0, in the first time interval, the first direction continuously displays a green light, and the second direction continuously displays a red light.
According to the implementation mode, the traffic efficiency in different directions with obvious traffic flow difference and crossing each other can be obviously improved in the second time period.
In a possible implementation manner, the obtaining a detection result of the traffic flow of the target intersection includes:
performing object detection based on the video stream of the target intersection;
in response to detecting any object, determining a direction of travel of the object;
determining a detection result of the traffic flow of at least one direction of the target intersection based on the detected traveling direction of each object.
In this implementation, by performing object detection based on the video stream of the target intersection, determining the travel direction of any one object in response to the detection of the object, and determining the detection result of the traffic flow in at least one direction of the target intersection based on the detected travel direction of each object, the detection result of the traffic flow in at least one direction of the target intersection can be accurately determined.
In one possible implementation, the determining the travel direction of the object in response to detecting any object includes:
in response to the detection of any object, tracking the object based on the video stream of the target intersection to obtain the advancing direction of the object;
alternatively, the first and second electrodes may be,
in response to detecting any object, a direction of travel of the object is determined based on an orientation and/or lane in which the object is located.
In this implementation, by tracking any object based on the video stream of the target intersection in response to detection of the object, the traveling direction of the object is obtained, so that the traveling direction of the object can be accurately determined, thereby facilitating accurate determination of the detection result of the traffic flow in each direction of the target intersection; by determining the traveling direction of any object based on the orientation and/or the lane where the object is located in response to the detection of the object, the traveling direction of the object can be determined quickly and accurately, thereby facilitating accurate determination of the detection result of the traffic flow in each direction of the target intersection.
According to an aspect of the present disclosure, there is provided a traffic light intelligent control device, including:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring mapping relation between time period information and traffic light transformation rules of a target intersection, aiming at the target intersection, the traffic light transformation rules corresponding to at least two different time periods are different, the at least two different time periods comprise a first time period and a second time period, the first time period corresponds to a first traffic light transformation rule, the second time period corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches traffic lights of the target intersection based on preset fixed time, and the second traffic light transformation rule switches the traffic lights of the target intersection based on a detection result of traffic flow of the target intersection;
the determining module is used for determining a traffic light transformation rule corresponding to the target intersection in the current time period according to the mapping relation;
and the control module is used for switching and controlling the traffic lights of the target intersection according to the determined traffic light conversion rule.
In one possible implementation manner, the average traffic flow of the target intersection in the first time period is larger than the average traffic flow of the target intersection in the second time period.
In one possible implementation manner, the method further includes:
the statistical module is used for carrying out statistics on historical traffic flow of the target intersection in different directions in different time periods to obtain statistical information corresponding to the target intersection;
the establishing module is used for establishing the mapping relation according to the statistical information; determining a time period in which the average traffic flow in different directions of the target intersection in the statistical information is greater than or equal to a set threshold as the first time period and corresponding to the first traffic light transformation rule; and determining the time interval in which the average traffic flow in different directions of the target intersection in the statistical information is smaller than the set threshold value as the second time interval and corresponding to the second traffic light transformation rule.
In one possible implementation, the first time period comprises a non-nighttime period and the second time period comprises a nighttime period.
In one possible implementation, the control module is configured to:
under the condition that the determined traffic light conversion rule is the second traffic light conversion rule, acquiring a detection result of the traffic flow of the target intersection;
determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection, wherein the first time interval belongs to the second time interval;
and switching and controlling the traffic lights of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval.
In one possible implementation, the control module is configured to:
aiming at least one adjacent intersection of the target intersection, determining a predicted value of the traffic flow of the adjacent intersection in the first time interval based on the detection result of the traffic flow of the adjacent intersection;
and switching and controlling the traffic lights of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval and the predicted value of the traffic flow of the adjacent intersection in the first time interval.
In one possible implementation, the control module is configured to:
determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection and the detection result of the traffic flow of the road section connected with the target intersection.
In one possible implementation form of the method,
the predicted value of the traffic flow of the target intersection in the first time interval comprises the following steps: the predicted value of the traffic flow of the first direction of the target intersection in the first time interval and the predicted value of the traffic flow of the second direction of the target intersection in the first time interval are obtained, wherein the first direction and the second direction are mutually crossed;
in the first time interval, the duration of the green light in the first direction is positively correlated with the predicted value of the traffic flow in the first direction and negatively correlated with the predicted value of the traffic flow in the second direction; the duration of the green light in the second direction is positively correlated with the predicted value of the traffic flow in the second direction and negatively correlated with the predicted value of the traffic flow in the first direction.
In a possible implementation manner, in the case that the predicted value of the traffic flow in the first direction in the first time interval is greater than 0, and the predicted value of the traffic flow in the second direction in the first time interval is equal to 0, in the first time interval, the first direction continuously displays a green light, and the second direction continuously displays a red light.
In one possible implementation, the control module is configured to:
performing object detection based on the video stream of the target intersection;
in response to detecting any object, determining a direction of travel of the object;
determining a detection result of the traffic flow of at least one direction of the target intersection based on the detected traveling direction of each object.
In one possible implementation, the control module is configured to:
in response to the detection of any object, tracking the object based on the video stream of the target intersection to obtain the advancing direction of the object;
alternatively, the first and second electrodes may be,
in response to detecting any object, a direction of travel of the object is determined based on an orientation and/or lane in which the object is located.
According to an aspect of the present disclosure, there is provided an electronic device including: one or more processors; a memory for storing executable instructions; wherein the one or more processors are configured to invoke the memory-stored executable instructions to perform the above-described method.
According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method.
In the embodiment of the disclosure, by obtaining a mapping relationship between time period information and traffic light transformation rules of a target intersection, wherein for the target intersection, traffic light transformation rules corresponding to at least two different time periods are different, the at least two different time periods include a first time period and a second time period, the first time period corresponds to a first traffic light transformation rule, the second time period corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches a traffic light of the target intersection based on a preset fixed time period, the second traffic light transformation rule switches a traffic light of the target intersection based on a detection result of a traffic flow of the target intersection, according to the mapping relationship, a traffic light transformation rule corresponding to the target intersection at a current time period is determined, and switching control is performed on the traffic light of the target intersection according to the determined traffic light transformation rule, therefore, the traffic lights of the target intersection are switched based on the preset fixed time length in the first time period, the safety can be improved, potential safety hazards possibly caused by insufficient data analysis capability are reduced, and the traffic lights of the target intersection are switched based on the detection result of the traffic flow of the target intersection in the second time period, so that the traffic efficiency of the target intersection in the second time period can be improved, the intelligent control of the traffic lights of the target intersection can be realized, the flexibility of the traffic lights is improved, and the safety and the traffic efficiency of the target intersection in different time periods can be balanced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flowchart of an intelligent control method for a traffic light according to an embodiment of the present disclosure.
Fig. 2 shows a block diagram of an intelligent traffic light control device provided in an embodiment of the present disclosure.
Fig. 3 illustrates a block diagram of an electronic device 800 provided by an embodiment of the disclosure.
Fig. 4 shows a block diagram of an electronic device 1900 provided by an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
In the embodiment of the disclosure, by obtaining a mapping relationship between time period information and traffic light transformation rules of a target intersection, wherein for the target intersection, traffic light transformation rules corresponding to at least two different time periods are different, the at least two different time periods include a first time period and a second time period, the first time period corresponds to a first traffic light transformation rule, the second time period corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches a traffic light of the target intersection based on a preset fixed time period, the second traffic light transformation rule switches a traffic light of the target intersection based on a detection result of a traffic flow of the target intersection, according to the mapping relationship, a traffic light transformation rule corresponding to the target intersection at a current time period is determined, and switching control is performed on the traffic light of the target intersection according to the determined traffic light transformation rule, therefore, the traffic lights of the target intersection are switched based on the preset fixed time length in the first time period, the safety can be improved, potential safety hazards possibly caused by insufficient data analysis capability are reduced, and the traffic lights of the target intersection are switched based on the detection result of the traffic flow of the target intersection in the second time period, so that the traffic efficiency of the target intersection in the second time period can be improved, the intelligent control of the traffic lights of the target intersection can be realized, the flexibility of the traffic lights is improved, and the safety and the traffic efficiency of the target intersection in different time periods can be balanced.
Fig. 1 shows a flowchart of an intelligent control method for a traffic light according to an embodiment of the present disclosure. In one possible implementation, the traffic light intelligent control method may be executed by a terminal device or a server or other processing device. The terminal device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, or a wearable device. In some possible implementations, the traffic light intelligent control method may be implemented by a processor calling computer readable instructions stored in a memory. As shown in fig. 1, the traffic light intelligent control method includes steps S11 to S13.
In step S11, a mapping relationship between time-zone information and a traffic light transformation rule of a target intersection is obtained, where, for the target intersection, traffic light transformation rules corresponding to at least two different time zones are different, where the at least two different time zones include a first time zone and a second time zone, the first time zone corresponds to a first traffic light transformation rule, the second time zone corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches a traffic light of the target intersection based on a preset fixed time period, and the second traffic light transformation rule switches a traffic light of the target intersection based on a detection result of a traffic flow of the target intersection.
In step S11, according to the mapping relationship, a traffic light transformation rule corresponding to the target intersection in the current time period is determined.
In step S13, the traffic light at the target intersection is controlled to be switched according to the determined traffic light change rule.
In the disclosed embodiment, the target intersection can represent any intersection that needs to be controlled by traffic lights. The target intersection may be an intersection (also referred to as a plane intersection), that is, the target intersection may be a place where two or more roads intersect on the same plane. In the disclosed embodiments, the traffic light may also be referred to as a traffic signal light. The traffic light may include at least one of an automotive signal light, a non-automotive signal light, a crosswalk signal light, and the like. The traffic light may be a red, yellow and green light, a traffic light, and the like, which is not limited herein. In the disclosed embodiment, the traffic light transformation rule represents a rule for transforming the state of a traffic light. The target intersection may include one or more traffic lights, and the traffic light change rule of the target intersection may include a rule for controlling a change of each traffic light of the target intersection. For example, the target intersection includes traffic light a, traffic light B, traffic light C, and traffic light D, and the traffic light change rule of the target intersection may include different traffic light change rules for controlling one or a combination of traffic light a, traffic light B, traffic light C, and traffic light D. That is, the traffic light change rule corresponding to any time interval at the target intersection can be used for controlling the state of at least one of the traffic light a, the traffic light B, the traffic light C and the traffic light D to change in the time interval. Wherein the traffic light change rule may include at least one of a duration of a green light, a duration of a yellow light, a duration of a red light, a display manner of the lights (e.g., normally on or flashing), a change order between lights of different colors, and the like.
In the embodiment of the present disclosure, a mapping relationship between the time period information and the traffic light transformation rule of the target intersection may be established in advance. Wherein the number of time periods is two or more. The duration (i.e., time span) of any one period may be less than 24 hours. The traffic light transformation rules corresponding to different time periods may be the same or different, and at least two time periods have different traffic light transformation rules, that is, the traffic light transformation rules corresponding to all the time periods are not the same traffic light transformation rule. For example, the time period may be divided into a first time period and a second time period, wherein the first time period corresponds to a first traffic light change rule and the second time period corresponds to a second traffic light change rule. As another example, the time period may be divided into a first time period, a second time period, and a third time period, wherein the first time period corresponds to a first traffic light change rule, the second time period corresponds to a second traffic light change rule, and the third time period corresponds to a third traffic light change rule. As another example, the time period may be divided into a first time period, a second time period, a third time period, and a fourth time period, wherein the first time period and the third time period correspond to a first traffic light transformation rule, and the second time period and the fourth time period correspond to a second traffic light transformation rule. By pre-establishing a mapping relation between the time period information and the traffic light transformation rule of the target intersection, flexible traffic light transformation rules are configured for the target intersection aiming at different time periods, so that the requirements of the target intersection on efficient passing at different time periods are better matched.
In the embodiment of the present disclosure, according to the current time, the current time period to which the current time belongs may be determined. Wherein the current time period represents a time period to which the current time belongs. After the current time period of the current time is determined, the traffic light conversion rule of the target intersection applicable to the current time period can be automatically switched to according to the mapping relation between the time period information and the traffic light conversion rule.
In the disclosed embodiments, the first period and the second period may each include one or more time periods. For example, the first period of time may be 6:30-22:00 and the second period of time may be 22:00-6: 30. As another example, the first time period may include 6:30-10:00 and 17:00-19:30, and the second time period may include 10:00-17:00 and 19:30-6: 30. In the case where the first period includes a plurality of periods, the plurality of periods belonging to the first period may correspond to the same traffic light change rule, i.e., the first traffic light change rule; in the case where the second period includes a plurality of time periods, the plurality of time periods belonging to the second period may correspond to the same traffic light change rule, i.e., the second traffic light change rule.
In the embodiment of the disclosure, the first traffic light conversion rule corresponding to the first time period switches the traffic light of the target intersection based on a preset fixed time period, instead of switching the traffic light of the target intersection based on a detection result of the traffic flow of the target intersection. That is, in the first traffic light change rule, the duration of the different-color lights of the traffic light of the target intersection is fixed, rather than being dynamically changed with the detection result of the traffic flow of the target intersection. By adopting a first traffic light transformation rule for switching the traffic light of the target intersection based on a preset fixed time length in the first time period, the calculation amount can be reduced in the first time period, the calculation resources are saved, and the safety is improved. In the embodiment of the present disclosure, the second traffic light conversion rule corresponding to the second time period switches the traffic light of the target intersection based on the detection result of the traffic flow of the target intersection, instead of switching the traffic light of the target intersection based on a preset fixed time period. That is, in the second traffic light change rule, the duration of the lights of different colors of the traffic light of the target intersection may be dynamically adjusted with the detection result of the traffic flow of the target intersection. And switching a second traffic light change rule of the traffic light of the target intersection by adopting a detection result based on the traffic flow of the target intersection in the second time period, thereby being beneficial to improving the traffic efficiency in the second time period.
In the disclosed embodiment, the traffic flow at the target intersection may represent the number of traffic entities passing through the target intersection in a unit time. Wherein the type of traffic entity may include at least one of an automobile, a non-automobile, a person, an animal, and the like. For example, the second traffic light change rule may be determined based on a detection result of the traffic flow at the target intersection within a first preset time range, and the traffic light at the target intersection may be switched and controlled by using the second traffic light change rule within the second time period.
In one possible implementation manner, the average traffic flow of the target intersection in the first time period is larger than the average traffic flow of the target intersection in the second time period. In this implementation, that the average traffic flow of the target intersection in the first time period is greater than the average traffic flow of the target intersection in the second time period may mean that the average traffic flow of the target intersection in the first time period is greater than the average traffic flow of the target intersection in the second time period within a second preset time range. For example, the second predetermined time range may be 7 days, 14 days, 1 month, 3 months, etc., and is not limited thereto. The second preset time range can be flexibly set by a person skilled in the art according to the requirements of an actual application scenario. The average traffic flow of the target intersection in the first time period may refer to the average traffic flow of the target intersection in multiple directions in the first time period, for example, may refer to the average traffic flow of the target intersection in each direction in the first time period; the average traffic flow of the target intersection in the second time period may refer to an average traffic flow of the target intersection in a plurality of directions in the second time period, for example, may refer to an average traffic flow of the target intersection in each direction in the second time period.
Because the duration of the lamps with different colors of the traffic lights is dynamically determined based on the detection result of the traffic flow of the target intersection, a large amount of calculation resources are generally consumed, and calculation time delay exists, therefore, for the first time period with a large traffic flow, under the condition that the traffic flows in different directions are large or the difference is not obvious, the improvement of the traffic efficiency brought by the switching control of the traffic lights based on the detection result of the traffic flow of the target intersection is limited, and even potential safety hazards may be introduced due to frequent change of the traffic light change rule or unstable operation system. Therefore, for the first period with larger traffic flow, the traffic lights of the target intersection are switched based on the preset fixed time length, thereby being beneficial to improving the safety, reducing the calculated amount and saving the calculation resources. In the second time period with smaller traffic flow, the traffic flows of the target intersection in different directions may be all lower or have obvious difference, so that the traffic lights of the target intersection are switched based on the detection result of the traffic flow of the target intersection in the second time period with smaller traffic flow, and the traffic efficiency in the second time period can be obviously improved. In the implementation mode, different traffic light transformation rules are matched in combination with the traffic flow in different time periods, so that the safety and the traffic efficiency are favorably balanced.
In another possible implementation manner, the total traffic flow of the target intersection in the first time period is greater than the total traffic flow of the target intersection in the second time period. In this implementation, the total traffic flow of the target intersection in the first time period is greater than the total traffic flow of the target intersection in the second time period, which may mean that the total traffic flow of the target intersection in the first time period is greater than the total traffic flow of the target intersection in the second time period within a second preset time range. The total traffic flow of the target intersection in the first time period may refer to the total traffic flow of the target intersection in the first time period in multiple directions, for example, may refer to the total traffic flow of the target intersection in the first time period in each direction; the total traffic flow of the target intersection in the second time period may refer to the total traffic flow of the target intersection in the second time period in multiple directions, for example, may refer to the total traffic flow of the target intersection in the second time period in each direction.
In another possible implementation manner, an average traffic flow of the target intersection in the first time period is greater than an average traffic flow of the target intersection in the second time period, and a total traffic flow of the target intersection in the first time period is greater than a total traffic flow of the target intersection in the second time period.
In one possible implementation manner, before the obtaining the mapping relationship between the time period information and the traffic light change control rule of the target intersection, the method further includes: counting historical traffic flows of the target intersection in different directions at different time periods to obtain statistical information corresponding to the target intersection; establishing the mapping relation according to the statistical information; determining a time period in which the average traffic flow in different directions of the target intersection in the statistical information is greater than or equal to a set threshold as the first time period and corresponding to the first traffic light transformation rule; and determining the time interval in which the average traffic flow in different directions of the target intersection in the statistical information is smaller than the set threshold value as the second time interval and corresponding to the second traffic light transformation rule. In this implementation manner, the historical traffic flows of the target intersection in different directions and at different time periods within a second preset time range may be counted to obtain statistical information corresponding to the target intersection. In this implementation, if the average traffic flow in different directions of the target intersection is greater than or equal to the set threshold value in any time period, it may indicate that the traffic flow in the time period is relatively large, and the time period may be determined as the first time period and corresponds to the first traffic light transformation rule; if the average traffic flow in different directions of the target intersection is smaller than the set threshold value in any time period, the traffic flow in the time period can be indicated to be smaller, and the time period can be determined as the second time period and corresponds to the second traffic light change rule. In contrast to the related art in which intelligent control is performed on the detection result based on the traffic flow in the time period with the large traffic flow, in this implementation, the time period with the large historical traffic flow is determined as the first time period, the time period with the small historical traffic flow is determined as the second time period, intelligent control is performed on the detection result based on the traffic flow in the first time period, and intelligent control is performed on the detection result based on the traffic flow in the second time period, so that the safety and the traffic efficiency are favorably balanced.
In another possible implementation manner, before the obtaining the mapping relationship between the time period information and the traffic light change control rule of the target intersection, the method further includes: counting historical traffic flows of the target intersection in different directions at different time periods to obtain statistical information corresponding to the target intersection; establishing the mapping relation according to the statistical information; determining a time period in which the average traffic flow in any direction of the target intersection in the statistical information is greater than or equal to a set threshold as the first time period and corresponding to the first traffic light transformation rule; and determining the time interval in which the average traffic flow of all directions of the target intersection in the statistical information is smaller than the set threshold value as the second time interval and corresponding to the second traffic light transformation rule.
In one possible implementation, the first time period comprises a non-nighttime period and the second time period comprises a nighttime period. For example, non-nighttime hours may be preset to be 6:30-22:00 and nighttime hours to be 22:00-6: 30. Because the duration of the lamps with different colors of the traffic lights is dynamically determined based on the detection result of the traffic flow of the target intersection, large calculation resources are generally consumed, and calculation time delay exists, so that for non-night periods with large traffic flow, under the condition that the traffic flows in different directions are large or the difference is not obvious, the improvement of traffic efficiency brought by switching control of the traffic lights based on the detection result of the traffic flow of the target intersection is limited, and even potential safety hazards can be introduced due to frequent change of traffic light change rules or unstable operation systems. Therefore, the traffic lights of the target intersection are switched based on the preset fixed time length for the non-night time period with larger traffic flow, thereby being beneficial to improving the safety, reducing the calculation amount and saving the calculation resources. And in the night time period with smaller traffic flow, the traffic flows of the target crossing in different directions may be all lower or have obvious difference, so that the traffic lights of the target crossing are switched based on the detection result of the traffic flow of the target crossing in the night time period with smaller traffic flow, and the traffic efficiency in the night time period can be obviously improved. In the implementation mode, different traffic light transformation rules are matched aiming at non-night time periods and night time periods, and the safety and traffic efficiency of the whole day are favorably balanced. In addition, in this implementation, by determining the non-night period as the first period and the night period as the second period, the amount of calculation required to determine the first period applicable to the first traffic light conversion rule and the second period applicable to the second traffic light conversion rule can be reduced by setting the periods in advance.
In another possible implementation, the first time period includes a preset commute time period, and the second time period includes a preset non-commute time period. For example, the preset commute periods are 7:00-9:00 and 17:00-19:00, and the preset non-commute periods are 9:00-17:00 and 19:00-7: 00.
In another possible implementation, the first time period includes a preset peak time period, and the second time period includes a preset off-peak time period. For example, the preset peak hours are 6:30-10:00 and 17:00-19:30, and the preset off-peak hours are 10:00-17:00 and 19:30-6: 30.
In one possible implementation manner, in the second traffic light change rule, the duration of the green light in any direction of the target intersection is positively correlated with the detection result of the traffic flow in the direction. For example, in the second time period, if the east-west traffic flow of the target intersection is large and the north-south traffic flow is small, the duration of the green light may be set to be large for the traffic light in the east-west direction and to be small for the traffic light in the north-south direction, that is, the green light passing time in the east-west direction may be set to be longer than the green light passing time in the north-south direction. In this implementation, by setting the duration of the green light in any direction of the target intersection to be positively correlated with the traffic flow in that direction in the second traffic light change rule, the traffic efficiency of the target intersection can be improved.
In one possible implementation manner, the performing switching control on the traffic light of the target intersection according to the determined traffic light change rule includes: under the condition that the determined traffic light conversion rule is the second traffic light conversion rule, acquiring a detection result of the traffic flow of the target intersection; determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection, wherein the first time interval belongs to the second time interval; and switching and controlling the traffic lights of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval. In this implementation, a left boundary of the first time interval is equal to or later than the current time, and a right boundary of the first time interval is earlier than or equal to a right boundary of the second time period. In this implementation manner, the predicted value of the traffic flow in any direction of the target intersection in the first time interval is positively correlated with the detection result of the traffic flow in the direction. That is, in the detection result of the traffic flow at the target intersection, the larger the traffic flow in any direction of the target intersection is, the larger the predicted value of the traffic flow in the direction in the first time interval is; in the detection result of the traffic flow of the target intersection, the smaller the traffic flow in any direction of the target intersection is, the smaller the predicted value of the traffic flow in the direction in the first time interval is. In this implementation, the duration of the green light in any direction of the target intersection in the first time interval is positively correlated with the predicted value of the traffic flow in the first time interval. In this implementation manner, the predicted value of the traffic flow of the target intersection in the first time interval after the current time is determined based on the detection result of the traffic flow of the target intersection, and the traffic lights of the target intersection are switched and controlled in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval, so that the traffic efficiency of each time interval in the second time interval can be obviously improved.
In this implementation manner, traffic flow detection may be performed on the target intersection based on the video stream of the target intersection within a first preset time range, so as to obtain a detection result of the traffic flow of the target intersection. The video stream of the target intersection can be collected through one or more cameras arranged at the target intersection. When the target intersection is provided with a plurality of cameras, the plurality of cameras can be erected respectively in different directions of the target intersection. The method comprises the steps of carrying out traffic flow detection on a target intersection based on a video stream of the target intersection within a first preset time range to obtain a detection result of the traffic flow of the target intersection, and thus obtaining the detection result of the traffic flow of the target intersection by using visual information of the target intersection.
In one example, the video stream of the target intersection within the first preset time range can represent the current traffic flow of the target intersection. In this example, the first preset time range may have a smaller time span, i.e., each time point in the first preset time range may be closer to the current time. For example, the first predetermined time range may be within 1 minute, within 3 minutes, within 10 minutes, within 30 minutes, within 1 hour, and so forth. The detection result of the traffic flow of the target intersection determined according to the example can reflect the current traffic flow of the target intersection, so that the predicted value of the traffic flow of the target intersection in the first time interval after the current time can be determined based on the current traffic flow of the target intersection.
In another example, the video stream of the target intersection within the first preset time range can represent the current traffic flow and the historical traffic flow of the target intersection. In this example, the first preset time range may have a larger time span, that is, a part of time points in the first preset time range may be farther from the current time. For example, the first predetermined time range may be within 7 days, within 14 days, within 1 month, and so on. The detection result of the traffic flow of the target intersection determined according to the example can reflect the current traffic flow and the historical traffic flow of the target intersection, so that the predicted value of the traffic flow of the target intersection in the first time interval after the current time can be determined based on the current traffic flow and the historical traffic flow of the target intersection.
In one example, the performing traffic flow detection on the target intersection based on the video stream of the target intersection within the first preset time range to obtain a detection result of the traffic flow of the target intersection includes: dividing the first preset time range into a plurality of time windows, wherein the duration of any one of the time windows is less than or equal to the duration of any one of the at least two different time periods; for any time window in the multiple time windows, carrying out traffic flow detection on the target intersection based on the video stream of the target intersection in the time window to obtain a detection result of the traffic flow of the target intersection in the time window; and determining the detection result of the traffic flow of the target intersection according to the detection result of the traffic flow of the target intersection in the time windows. For example, the duration of the time window may be 30 minutes or 10 minutes, and so on. In this example, after the first preset time range is divided into a plurality of time windows, video streams of the target intersection in each of the plurality of time windows can be obtained. According to the detection result of the traffic flow of the target intersection in the plurality of time windows, the detection result of the traffic flow of the target intersection in each time period can be determined, for example, any time period can comprise at least one time window. In this example, the first preset time range is divided into a plurality of time windows, for any one of the plurality of time windows, traffic flow detection is performed on the target intersection based on the video stream of the target intersection in the time window, so as to obtain a detection result of the traffic flow of the target intersection in the time window, and the detection result of the traffic flow of the target intersection is determined according to the detection result of the traffic flow of the target intersection in the plurality of time windows, so that the detection result of the traffic flow of the target intersection can be accurately determined. In one example, the detection result of the traffic flow of the target intersection in the time window comprises the detection result of the total traffic flow of each direction of the target intersection in the time window.
In an example, when the first time period and the second time period are preset time periods, traffic flow detection may be performed on the target intersection in the second time period based on a video stream of the target intersection in the first preset time range and belonging to the second time period, so as to obtain a detection result of the traffic flow of the target intersection in the second time period. For example, the first time period is a preset non-night time period (e.g., 6:30-22:00), the second time period is a preset night time period (e.g., 22:00-6:30), the first preset time range is within 10 days, and traffic flow detection can be performed on the target intersection in the second time period according to the video streams belonging to the preset night time period 22:00-6:30 in the video streams of the target intersection in 10 days, so as to obtain a detection result of the traffic flow of the target intersection in the second time period.
As an example of this implementation, the acquiring a detection result of the traffic flow of the target intersection includes: performing object detection based on the video stream of the target intersection; in response to detecting any object, determining a direction of travel of the object; determining a detection result of the traffic flow of at least one direction of the target intersection based on the detected traveling direction of each object. In this example, performing object detection based on the video stream of the target intersection may include performing at least one type of object detection based on the video stream of the target intersection. For example, the type of object may include at least one of an automobile, a non-automobile, a person, an animal, and the like. In this example, by performing object detection based on the video stream of the target intersection, determining the travel direction of any one object in response to the detection of the object, and determining the detection result of the traffic flow in at least one direction of the target intersection based on the detected travel direction of each object, the detection result of the traffic flow in at least one direction of the target intersection can be accurately determined. For example, the detection result of the traffic flow in each direction of the target intersection may be determined based on the detected traveling direction of each object.
In one example, the detection result of the traffic flow of each direction of the target intersection can be determined according to the detection result of the traffic flow of each direction of the target intersection in each time window within a first preset time range. For example, for any one of a plurality of time windows within the first preset time range, object detection may be performed based on video streams of the target intersection within the time window, in response to detecting any one object, a travel direction of the object may be determined, and a detection result of a traffic flow in at least one direction of the target intersection within the time window may be determined based on the detected travel directions of the respective objects. In this example, the detection of the traffic flow at the target intersection within the time window includes the detection of the traffic flow at the target intersection in one or more directions within the time window. For example, the detection result of the traffic flow of the target intersection in the time window includes the detection result of the traffic flow of each direction of the target intersection in the time window. In this example, performing object detection based on the video stream of the target intersection within the time window may include performing at least one type of object detection based on the video stream of the target intersection within the time window. By performing object detection based on the video stream of the target intersection in any time window of the plurality of time windows, determining the traveling direction of the object in response to the detection of any object, and determining the detection result of the traffic flow in at least one direction of the target intersection in the time window based on the detected traveling direction of each object, the detection result of the traffic flow in at least one direction of the target intersection in each time window is accurately determined based on the visual information of the target intersection.
In one example, said determining a direction of travel of any object in response to detecting said object comprises: in response to the detection of any object, tracking the object based on the video stream of the target intersection to obtain the advancing direction of the object; alternatively, in response to detecting any object, the direction of travel of the object is determined based on the orientation and/or lane in which the object is located.
In one example, in response to detecting any object, the object can be tracked based on the video stream of the target intersection, resulting in the direction of travel of the object. In this example, for any object detected, based on the video stream of the target intersection, the position of the object at different points in time can be determined, and thus the direction of travel of the object can be determined. For example, the direction of travel of the object may be from south to north, north to south, east to west, west to east, and so on. In this example, by tracking any object based on the video stream of the target intersection in response to detection of the object, the traveling direction of the object is obtained, whereby the traveling direction of the object can be accurately determined, thereby contributing to accurate determination of the detection result of the traffic flow in each direction of the target intersection.
In another example, a direction of travel of any object may be determined based on an orientation and/or lane in which the object is located in response to detecting the object. In this example, for any object on the road, the orientation of the object is generally the direction of travel of the object, for example, the heading of a motor vehicle is generally the direction of travel of the motor vehicle. Thus, for any object detected, the direction of travel of the object may be determined from the orientation of the object. In this example, for any detected object, in the case where the lane in which the object is located is a one-way lane, the traveling direction of the object may be determined according to the lane in which the object is located. In this example, by determining the traveling direction of any one of the objects based on the orientation and/or the lane in which the object is located in response to the detection of the object, the traveling direction of the object can be determined quickly and accurately, thereby facilitating accurate determination of the detection result of the traffic flow in each direction at the target intersection.
As an example of this implementation, the performing switching control on the traffic light of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval includes: aiming at least one adjacent intersection of the target intersection, determining a predicted value of the traffic flow of the adjacent intersection in the first time interval based on the detection result of the traffic flow of the adjacent intersection; and switching and controlling the traffic lights of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval and the predicted value of the traffic flow of the adjacent intersection in the first time interval. In this example, the adjacent intersections may include intersections having a distance to the target intersection that is less than or equal to a first preset distance, and/or the adjacent intersections may include intersections having a number of intersections spaced from the target intersection that is less than or equal to a preset number of intersections. In this example, by combining the predicted values of the traffic flows of the intersections adjacent to the target intersection in the first time interval, the traffic lights of the target intersection are subjected to switching control in the first time interval, so that the traffic lights of the adjacent intersections can be subjected to coordinated control based on the traffic flows of the adjacent intersections in the second time interval, thereby contributing to improvement of the traffic efficiency of the intersections as a whole in the second time interval.
Of course, in another example, the traffic flow of the intersection adjacent to the target intersection may not be considered, that is, the traffic lights of the target intersection may be switched and controlled in the first time interval based on the predicted value of the traffic flow of the target intersection in the first time interval only, and the traffic lights of the target intersection may not be switched and controlled in the first time interval based on the predicted value of the traffic flow of the intersection adjacent to the target intersection in the first time interval.
As an example of this implementation, the determining, based on the detection result of the traffic flow at the target intersection, a predicted value of the traffic flow at the target intersection in a first time interval after the current time includes: determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection and the detection result of the traffic flow of the road section connected with the target intersection. In this example, the road segments connected to the target intersection may represent road segments having a distance from the target intersection less than or equal to a second preset distance among the road segments having the possibility of transporting the traffic entity to the target intersection. Namely, the road segment connected with the target intersection can convey the traffic entity to the target intersection, and the distance between the road segment and the target intersection is less than or equal to a second preset distance. The term "traffic entity" as used herein refers to a traffic entity that can be transported to the target intersection by a certain road segment, and may mean that at least one of a motor vehicle, a non-motor vehicle, a person, an animal, etc. on the certain road segment can travel to the target intersection. In this example, by combining the detection results of the traffic flows of the links connected to the target intersection, the predicted value of the traffic flow of the target intersection in the first time interval after the current time can be determined more accurately, so that the passing efficiency of the target intersection in the first time interval can be further improved.
As an example of this implementation, the predicted value of the traffic flow of the target intersection in the first time interval includes: the predicted value of the traffic flow of the first direction of the target intersection in the first time interval and the predicted value of the traffic flow of the second direction of the target intersection in the first time interval are obtained, wherein the first direction and the second direction are mutually crossed; in the first time interval, the duration of the green light in the first direction is positively correlated with the predicted value of the traffic flow in the first direction and negatively correlated with the predicted value of the traffic flow in the second direction; the duration of the green light in the second direction is positively correlated with the predicted value of the traffic flow in the second direction and negatively correlated with the predicted value of the traffic flow in the first direction. For example, if the first direction is a north-south direction and the second direction is an east-west direction, and the predicted value of the traffic flow in the north-south direction is large and the predicted value of the traffic flow in the east-west direction is small in the first time interval, a green light with a long duration may be set for the traffic lights in the north-south direction and a green light with a short duration may be set for the traffic lights in the east-west direction. According to the example, the passing efficiency of the target intersection in different directions can be improved on the whole in the second time period.
In one example, in the case that the predicted value of the traffic flow in the first direction in the first time interval is greater than 0, and the predicted value of the traffic flow in the second direction in the first time interval is equal to 0, the green light is continuously displayed in the first direction and the red light is continuously displayed in the second direction in the first time interval. According to this implementation, when a certain direction is predicted not to pass through a certain time interval of the second time interval, the red light can be continuously displayed in the certain direction, so that the crossing direction of the direction can be allowed to continuously pass through, and the passing efficiency in different directions where the traffic flow difference is obvious and the crossing direction is crossed can be remarkably improved in the second time interval.
The traffic light intelligent control method provided by the embodiment of the disclosure can be applied to the technical fields of intelligent traffic and the like. The traffic light intelligent control method provided by the embodiment of the disclosure can be applied to equipment such as a traffic light controller, an intelligent traffic camera, vehicle and road cooperative road-side equipment and the like.
The traffic light intelligent control method provided by the embodiment of the disclosure is described below through a specific application scenario. For example, if the traffic flow and the pedestrian flow of the target intersection are both large in the daytime, a non-night time period (for example, 6:30-22:00) can be preset, and in the preset non-night time period, the traffic lights of the target intersection are controlled to switch the traffic lights according to preset fixed time duration, so that the traffic efficiency of the target intersection in different directions is balanced, and the safety is improved. When the traffic flow and the pedestrian flow of the target intersection are small at night, a night time period (for example, 22:00-6:30) can be preset, and in the preset night time period, the traffic lights of the target intersection are controlled to switch the traffic lights according to the detection result of the traffic flow of the target intersection, so that the traffic lights and/or pedestrians can pass through the target intersection quickly at night, and the passing efficiency is improved.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted. Those skilled in the art will appreciate that in the above methods of the specific embodiments, the specific order of execution of the steps should be determined by their function and possibly their inherent logic.
In addition, the present disclosure also provides an intelligent traffic light control device, an electronic device, a computer-readable storage medium, and a program, which can be used to implement any one of the intelligent traffic light control methods provided by the present disclosure, and corresponding technical solutions and technical effects can be referred to in corresponding descriptions of the method sections, and are not described again.
Fig. 2 shows a block diagram of an intelligent traffic light control device provided in an embodiment of the present disclosure. As shown in fig. 2, the traffic light intelligent control apparatus includes:
an obtaining module 21, configured to obtain a mapping relationship between time-interval information and a traffic light transformation rule of a target intersection, where, for the target intersection, traffic light transformation rules corresponding to at least two different time intervals are different, where the at least two different time intervals include a first time interval and a second time interval, the first time interval corresponds to a first traffic light transformation rule, the second time interval corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches a traffic light of the target intersection based on a preset fixed time duration, and the second traffic light transformation rule switches a traffic light of the target intersection based on a detection result of a traffic flow of the target intersection;
the determining module 22 is configured to determine a traffic light transformation rule corresponding to the target intersection at the current time period according to the mapping relationship;
and the control module 23 is configured to perform switching control on the traffic light of the target intersection according to the determined traffic light conversion rule.
In one possible implementation manner, the average traffic flow of the target intersection in the first time period is larger than the average traffic flow of the target intersection in the second time period.
In one possible implementation manner, the method further includes:
the statistical module is used for carrying out statistics on historical traffic flow of the target intersection in different directions in different time periods to obtain statistical information corresponding to the target intersection;
the establishing module is used for establishing the mapping relation according to the statistical information; determining a time period in which the average traffic flow in different directions of the target intersection in the statistical information is greater than or equal to a set threshold as the first time period and corresponding to the first traffic light transformation rule; and determining the time interval in which the average traffic flow in different directions of the target intersection in the statistical information is smaller than the set threshold value as the second time interval and corresponding to the second traffic light transformation rule.
In one possible implementation, the first time period comprises a non-nighttime period and the second time period comprises a nighttime period.
In one possible implementation, the control module 23 is configured to:
under the condition that the determined traffic light conversion rule is the second traffic light conversion rule, acquiring a detection result of the traffic flow of the target intersection;
determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection, wherein the first time interval belongs to the second time interval;
and switching and controlling the traffic lights of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval.
In one possible implementation, the control module 23 is configured to:
aiming at least one adjacent intersection of the target intersection, determining a predicted value of the traffic flow of the adjacent intersection in the first time interval based on the detection result of the traffic flow of the adjacent intersection;
and switching and controlling the traffic lights of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval and the predicted value of the traffic flow of the adjacent intersection in the first time interval.
In one possible implementation, the control module 23 is configured to:
determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection and the detection result of the traffic flow of the road section connected with the target intersection.
In one possible implementation form of the method,
the predicted value of the traffic flow of the target intersection in the first time interval comprises the following steps: the predicted value of the traffic flow of the first direction of the target intersection in the first time interval and the predicted value of the traffic flow of the second direction of the target intersection in the first time interval are obtained, wherein the first direction and the second direction are mutually crossed;
in the first time interval, the duration of the green light in the first direction is positively correlated with the predicted value of the traffic flow in the first direction and negatively correlated with the predicted value of the traffic flow in the second direction; the duration of the green light in the second direction is positively correlated with the predicted value of the traffic flow in the second direction and negatively correlated with the predicted value of the traffic flow in the first direction.
In a possible implementation manner, in the case that the predicted value of the traffic flow in the first direction in the first time interval is greater than 0, and the predicted value of the traffic flow in the second direction in the first time interval is equal to 0, in the first time interval, the first direction continuously displays a green light, and the second direction continuously displays a red light.
In one possible implementation, the control module 23 is configured to:
performing object detection based on the video stream of the target intersection;
in response to detecting any object, determining a direction of travel of the object;
determining a detection result of the traffic flow of at least one direction of the target intersection based on the detected traveling direction of each object.
In one possible implementation, the control module 23 is configured to:
in response to the detection of any object, tracking the object based on the video stream of the target intersection to obtain the advancing direction of the object;
alternatively, the first and second electrodes may be,
in response to detecting any object, a direction of travel of the object is determined based on an orientation and/or lane in which the object is located.
In the embodiment of the disclosure, by obtaining a mapping relationship between time period information and traffic light transformation rules of a target intersection, wherein for the target intersection, traffic light transformation rules corresponding to at least two different time periods are different, the at least two different time periods include a first time period and a second time period, the first time period corresponds to a first traffic light transformation rule, the second time period corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches a traffic light of the target intersection based on a preset fixed time period, the second traffic light transformation rule switches a traffic light of the target intersection based on a detection result of a traffic flow of the target intersection, according to the mapping relationship, a traffic light transformation rule corresponding to the target intersection at a current time period is determined, and switching control is performed on the traffic light of the target intersection according to the determined traffic light transformation rule, therefore, the traffic lights of the target intersection are switched based on the preset fixed time length in the first time period, the safety can be improved, potential safety hazards possibly caused by insufficient data analysis capability are reduced, and the traffic lights of the target intersection are switched based on the detection result of the traffic flow of the target intersection in the second time period, so that the traffic efficiency of the target intersection in the second time period can be improved, the intelligent control of the traffic lights of the target intersection can be realized, the flexibility of the traffic lights is improved, and the safety and the traffic efficiency of the target intersection in different time periods can be balanced.
In some embodiments, functions or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementations and technical effects thereof may refer to the description of the above method embodiments, which are not described herein again for brevity.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-described method. The computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile computer-readable storage medium.
The embodiment of the present disclosure also provides a computer program, which includes computer readable code, and when the computer readable code runs in an electronic device, a processor in the electronic device executes the computer program to implement the method described above.
The disclosed embodiments also provide a computer program product for storing computer readable instructions, which when executed cause a computer to execute the operations of the traffic light intelligent control method provided by any one of the above embodiments.
An embodiment of the present disclosure further provides an electronic device, including: one or more processors; a memory for storing executable instructions; wherein the one or more processors are configured to invoke the memory-stored executable instructions to perform the above-described method.
The electronic device may be provided as a terminal, server, or other form of device.
Fig. 3 illustrates a block diagram of an electronic device 800 provided by an embodiment of the disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like terminal.
Referring to fig. 3, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as a wireless network (Wi-Fi), a second generation mobile communication technology (2G), a third generation mobile communication technology (3G), a fourth generation mobile communication technology (4G)/long term evolution of universal mobile communication technology (LTE), a fifth generation mobile communication technology (5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
Fig. 4 shows a block diagram of an electronic device 1900 provided by an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server. Referring to fig. 4, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system, such as the Microsoft Server operating system (Windows Server), stored in the memory 1932TM) Apple Inc. of the present application based on the graphic user interface operating System (Mac OS X)TM) Multi-user, multi-process computer operating system (Unix)TM) Free and open native code Unix-like operating System (Linux)TM) Open native code Unix-like operating System (FreeBSD)TM) Or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: 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), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions 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). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
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 disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). 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 computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (14)

1. An intelligent control method for a traffic light, comprising:
acquiring mapping relation between time period information and traffic light transformation rules of a target intersection, wherein aiming at the target intersection, the traffic light transformation rules corresponding to at least two different time periods are different, the at least two different time periods comprise a first time period and a second time period, the first time period corresponds to a first traffic light transformation rule, the second time period corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches traffic lights of the target intersection based on preset fixed time length, and the second traffic light transformation rule switches the traffic lights of the target intersection based on a detection result of traffic flow of the target intersection;
determining a traffic light transformation rule corresponding to the target intersection in the current time period according to the mapping relation;
and switching and controlling the traffic lights of the target intersection according to the determined traffic light conversion rule.
2. The method of claim 1, wherein the average traffic flow at the target intersection during the first time period is greater than the average traffic flow at the target intersection during the second time period.
3. The method according to claim 1 or 2, characterized in that before the obtaining the mapping relationship between the time period information and the traffic light change control rule of the target intersection, the method further comprises:
counting historical traffic flows of the target intersection in different directions at different time periods to obtain statistical information corresponding to the target intersection;
establishing the mapping relation according to the statistical information; determining a time period in which the average traffic flow in different directions of the target intersection in the statistical information is greater than or equal to a set threshold as the first time period and corresponding to the first traffic light transformation rule; and determining the time interval in which the average traffic flow in different directions of the target intersection in the statistical information is smaller than the set threshold value as the second time interval and corresponding to the second traffic light transformation rule.
4. The method of claim 1 or 2, wherein the first period of time comprises a non-nighttime period and the second period of time comprises a nighttime period.
5. The method according to any one of claims 1 to 4, wherein the switching control of the traffic light of the target intersection according to the determined traffic light change rule comprises:
under the condition that the determined traffic light conversion rule is the second traffic light conversion rule, acquiring a detection result of the traffic flow of the target intersection;
determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection, wherein the first time interval belongs to the second time interval;
and switching and controlling the traffic lights of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval.
6. The method according to claim 5, wherein the performing switching control on the traffic light of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval comprises:
aiming at least one adjacent intersection of the target intersection, determining a predicted value of the traffic flow of the adjacent intersection in the first time interval based on the detection result of the traffic flow of the adjacent intersection;
and switching and controlling the traffic lights of the target intersection in the first time interval according to the predicted value of the traffic flow of the target intersection in the first time interval and the predicted value of the traffic flow of the adjacent intersection in the first time interval.
7. The method according to claim 5 or 6, wherein the determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection comprises:
determining a predicted value of the traffic flow of the target intersection in a first time interval after the current time based on the detection result of the traffic flow of the target intersection and the detection result of the traffic flow of the road section connected with the target intersection.
8. The method according to any one of claims 5 to 7,
the predicted value of the traffic flow of the target intersection in the first time interval comprises the following steps: the predicted value of the traffic flow of the first direction of the target intersection in the first time interval and the predicted value of the traffic flow of the second direction of the target intersection in the first time interval are obtained, wherein the first direction and the second direction are mutually crossed;
in the first time interval, the duration of the green light in the first direction is positively correlated with the predicted value of the traffic flow in the first direction and negatively correlated with the predicted value of the traffic flow in the second direction; the duration of the green light in the second direction is positively correlated with the predicted value of the traffic flow in the second direction and negatively correlated with the predicted value of the traffic flow in the first direction.
9. The method according to claim 8, wherein in the case that the predicted value of the traffic flow in the first direction in the first time interval is greater than 0 and the predicted value of the traffic flow in the second direction in the first time interval is equal to 0, the green light is continuously displayed in the first direction and the red light is continuously displayed in the second direction in the first time interval.
10. The method according to any one of claims 5 to 9, wherein the obtaining of the detection result of the traffic flow of the target intersection comprises:
performing object detection based on the video stream of the target intersection;
in response to detecting any object, determining a direction of travel of the object;
determining a detection result of the traffic flow of at least one direction of the target intersection based on the detected traveling direction of each object.
11. The method of claim 10, wherein determining a direction of travel of the object in response to detecting any object comprises:
in response to the detection of any object, tracking the object based on the video stream of the target intersection to obtain the advancing direction of the object;
alternatively, the first and second electrodes may be,
in response to detecting any object, a direction of travel of the object is determined based on an orientation and/or lane in which the object is located.
12. An intelligent traffic light control device, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring mapping relation between time period information and traffic light transformation rules of a target intersection, aiming at the target intersection, the traffic light transformation rules corresponding to at least two different time periods are different, the at least two different time periods comprise a first time period and a second time period, the first time period corresponds to a first traffic light transformation rule, the second time period corresponds to a second traffic light transformation rule, the first traffic light transformation rule switches traffic lights of the target intersection based on preset fixed time, and the second traffic light transformation rule switches the traffic lights of the target intersection based on a detection result of traffic flow of the target intersection;
the determining module is used for determining a traffic light transformation rule corresponding to the target intersection in the current time period according to the mapping relation;
and the control module is used for switching and controlling the traffic lights of the target intersection according to the determined traffic light conversion rule.
13. An electronic device, comprising:
one or more processors;
a memory for storing executable instructions;
wherein the one or more processors are configured to invoke the memory-stored executable instructions to perform the method of any of claims 1-11.
14. A computer readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1 to 11.
CN202110282214.2A 2021-03-16 2021-03-16 Intelligent control method and device for traffic light, electronic equipment and storage medium Active CN112950964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110282214.2A CN112950964B (en) 2021-03-16 2021-03-16 Intelligent control method and device for traffic light, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110282214.2A CN112950964B (en) 2021-03-16 2021-03-16 Intelligent control method and device for traffic light, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112950964A true CN112950964A (en) 2021-06-11
CN112950964B CN112950964B (en) 2023-06-30

Family

ID=76230156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110282214.2A Active CN112950964B (en) 2021-03-16 2021-03-16 Intelligent control method and device for traffic light, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112950964B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803353A (en) * 2015-11-26 2017-06-06 罗伯特·博世有限公司 Method and onboard system for determining the transformation rule of traffic lights
CN106888243A (en) * 2016-06-02 2017-06-23 阿里巴巴集团控股有限公司 The determination method and device of information-pushing method, signal lamp switching law
CN109035816A (en) * 2018-09-25 2018-12-18 济南大学 A kind of intelligent tide flow lamp based on data prediction
US20190051152A1 (en) * 2017-08-11 2019-02-14 Gridsmart Technologies, Inc. System and method for controlling vehicular traffic
CN110689738A (en) * 2019-09-24 2020-01-14 北京地平线机器人技术研发有限公司 Traffic signal lamp control method and device, storage medium and electronic equipment
CN110782667A (en) * 2019-10-30 2020-02-11 北京百度网讯科技有限公司 Signal lamp time-sharing timing method and device, electronic equipment and storage medium
CN110969866A (en) * 2019-11-13 2020-04-07 北京百度网讯科技有限公司 Signal lamp timing method and device, electronic equipment and storage medium
CN111402604A (en) * 2019-01-03 2020-07-10 千寻位置网络有限公司 Method and system for adjusting switching rules of traffic signal lamps based on positions
CN112185134A (en) * 2020-09-07 2021-01-05 山东华宇工学院 Intelligent traffic signal lamp switching system and method
CN112330962A (en) * 2020-11-04 2021-02-05 杭州海康威视数字技术股份有限公司 Traffic signal lamp control method and device, electronic equipment and computer storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803353A (en) * 2015-11-26 2017-06-06 罗伯特·博世有限公司 Method and onboard system for determining the transformation rule of traffic lights
CN106888243A (en) * 2016-06-02 2017-06-23 阿里巴巴集团控股有限公司 The determination method and device of information-pushing method, signal lamp switching law
US20190051152A1 (en) * 2017-08-11 2019-02-14 Gridsmart Technologies, Inc. System and method for controlling vehicular traffic
CN109035816A (en) * 2018-09-25 2018-12-18 济南大学 A kind of intelligent tide flow lamp based on data prediction
CN111402604A (en) * 2019-01-03 2020-07-10 千寻位置网络有限公司 Method and system for adjusting switching rules of traffic signal lamps based on positions
CN110689738A (en) * 2019-09-24 2020-01-14 北京地平线机器人技术研发有限公司 Traffic signal lamp control method and device, storage medium and electronic equipment
CN110782667A (en) * 2019-10-30 2020-02-11 北京百度网讯科技有限公司 Signal lamp time-sharing timing method and device, electronic equipment and storage medium
CN110969866A (en) * 2019-11-13 2020-04-07 北京百度网讯科技有限公司 Signal lamp timing method and device, electronic equipment and storage medium
CN112185134A (en) * 2020-09-07 2021-01-05 山东华宇工学院 Intelligent traffic signal lamp switching system and method
CN112330962A (en) * 2020-11-04 2021-02-05 杭州海康威视数字技术股份有限公司 Traffic signal lamp control method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN112950964B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN108549880B (en) Collision control method and device, electronic equipment and storage medium
US20210192239A1 (en) Method for recognizing indication information of an indicator light, electronic apparatus and storage medium
CN107539209B (en) Method and device for controlling vehicle light
CN109029479B (en) Navigation reminding method and device, electronic equipment and computer readable storage medium
CN111104920B (en) Video processing method and device, electronic equipment and storage medium
CN113242510B (en) Exit guiding method and device for parking lot, electronic equipment and storage medium
CN113077647B (en) Parking lot navigation method and device, electronic equipment and storage medium
CN110543173B (en) Vehicle positioning system and method, and vehicle control method and device
CN113442929A (en) Vehicle control method, device, equipment and computer readable storage medium
CN108615140B (en) Travel reminding method and device and storage medium
EP3287747B1 (en) Method and apparatus for controlling a balance car
CN113762169A (en) People flow statistical method and device, electronic equipment and storage medium
CN111523482A (en) Lane congestion detection method and apparatus, electronic device, and storage medium
CN112927378A (en) Payment management method and device for parking lot, electronic equipment and storage medium
CN111785044B (en) Traffic light control method and device
CN112950964B (en) Intelligent control method and device for traffic light, electronic equipment and storage medium
CN110363695B (en) Robot-based crowd queue control method and device
CN112857381A (en) Path recommendation method and device and readable medium
CN109961646B (en) Road condition information error correction method and device
CN107458299B (en) Vehicle lamp control method and device and computer readable storage medium
CN111008606B (en) Image prediction method and device, electronic equipment and storage medium
CN116834767A (en) Motion trail generation method, device, equipment and storage medium
CN113460092A (en) Method, device, equipment, storage medium and product for controlling vehicle
CN113821744A (en) Visitor guiding method and device, electronic equipment and storage medium
CN116046014B (en) Track planning method, track planning device, electronic equipment and readable storage medium

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