A signal lamp control method, device, equipment and medium
By installing detection modules at roundabouts and dynamically adjusting the display status and duration of traffic lights, the problem of traffic congestion at roundabouts has been solved, traffic efficiency has been improved, and costs have been reduced.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NANJING HURYS INTELLIGENT TECH CO LTD
- Filing Date
- 2023-06-29
- Publication Date
- 2026-04-28
AI Technical Summary
Existing technologies cannot effectively alleviate traffic congestion in roundabout traffic signal control, especially during peak hours when vehicles take too long to pass through, leading to severe traffic congestion.
By setting up detection modules at the entrances and exits of the roundabout, as well as between the entrances and exits, millimeter-wave radar and wide-area millimeter-wave radar are used to detect traffic flow and congestion, and the display status and alternation duration of the traffic lights are dynamically adjusted to adapt to real-time traffic needs.
It has achieved real-time relief of traffic congestion on the roundabout, improved traffic efficiency, and reduced construction costs.
Smart Images

Figure CN116704795B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of transportation, and more particularly to a traffic light control method, device, electronic equipment, and medium. Background Technology
[0002] Roundabouts are a type of channelization measure, commonly used at roundabout intersections, and can significantly improve intersection conflict issues. Combining roundabout sections with traffic light control can improve traffic flow within the intersection's capacity. However, during peak traffic periods with significantly increased traffic volume, vehicles take a long time to pass through roundabouts, hindering their ability to quickly navigate traffic junctions, thus causing traffic congestion.
[0003] Currently, there are few solutions available for controlling traffic lights at roundabouts, and most solutions that combine radar detection for signal control are no different from those used for traffic lights on ordinary roads, which cannot effectively alleviate traffic congestion on roundabouts. Summary of the Invention
[0004] This application provides a traffic light control method, device, electronic equipment, and medium to alleviate traffic congestion in a target area in real time.
[0005] According to one aspect of this application, a traffic light control method is provided, the method comprising:
[0006] By setting up detection modules at the entrance, exit, and road segment between the entrance and exit of the target area, moving objects in the target area are detected, and entrance detection information, exit detection information, and road segment detection information are obtained.
[0007] Based on the import detection information, determine the display status of the traffic lights at the import point; if the traffic lights are in an alternating display status, determine the alternating display duration of the traffic lights based on the export detection information and / or the road segment detection information; wherein, the alternating display status is a state in which lights indicating permission to pass and lights indicating prohibition to pass are displayed alternately.
[0008] According to another aspect of this application, a traffic light control device is provided, the device comprising:
[0009] The detection information determination module is used to detect moving objects in the target area by setting up detection modules at the entrance, exit, and target road segment between the entrance and exit of the target area, respectively, and to obtain entrance detection information, exit detection information, and road segment detection information.
[0010] The display status determination module is used to determine the display status of the signal lights at the entrance based on the entrance detection information.
[0011] The display duration determination module is used to determine the alternating display duration of the traffic lights based on the exit detection information and / or the road segment detection information if the display state of the traffic lights is an alternating display state; wherein, the alternating display state is a state in which lights indicating permission to pass and lights indicating prohibition to pass are displayed alternately.
[0012] According to another aspect of this application, an electronic device is provided, the device comprising:
[0013] At least one processor; and
[0014] A memory that is communicatively connected to at least one processor; wherein,
[0015] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor can perform the traffic light control method of any embodiment of this application.
[0016] According to another aspect of this application, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to execute and implement the traffic light control method of any embodiment of this application.
[0017] The technical solution of this application embodiment detects moving objects in the target area by setting detection modules at the entrance, exit, and target road segment between the entrance and exit. This yields entrance detection information, exit detection information, and road segment detection information, providing a detailed picture of the moving objects in the target area and ensuring the rationality and accuracy of the traffic light display status. Based on the entrance detection information, the display status of the traffic lights at the entrance is determined to match the traffic flow entering the target area. If the traffic light display status is alternating, the alternating display duration is determined based on the exit detection information and / or road segment detection information. This technical solution can alleviate traffic congestion in the target area in real time at a low cost.
[0018] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart of a traffic light control method according to Embodiment 1 of this application;
[0021] Figure 2 This is a schematic diagram of radar installation on a straight road according to Embodiment 1 of this application;
[0022] Figure 3 This is a schematic diagram of radar installation on a ring road according to Embodiment 1 of this application;
[0023] Figure 4 This is a flowchart of a traffic light control method according to Embodiment 2 of this application;
[0024] Figure 5 This is a schematic diagram of a traffic light control method according to Embodiment 2 of this application;
[0025] Figure 6 This is a schematic diagram of a traffic light control device according to Embodiment 3 of this application;
[0026] Figure 7 This is a schematic diagram of the structure of an electronic device that implements the traffic light control method provided in Embodiment 4 of this application. Detailed Implementation
[0027] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0028] It should be noted that the terms "first," "second," "third," "fourth," "actual," "preset," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0029] Example 1
[0030] Figure 1 This is a flowchart illustrating a traffic light control method according to Embodiment 1 of this application. This embodiment is applicable to situations involving traffic light control. Typically, it is applicable to controlling traffic lights at roundabouts. The method can be executed by a traffic light control device, which can be implemented in hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the method includes:
[0031] S110. Detection modules set at the entrance, exit, and road segment between the entrance and exit of the target area are used to detect moving objects in the target area to obtain entrance detection information, exit detection information, and road segment detection information.
[0032] The target area refers to the road requiring traffic light control, which can be a straight road or a roundabout; this embodiment does not limit the scope. The moving objects within the target area are the vehicles on the road requiring traffic light control. It is understood that before controlling the traffic lights in the target area, it is necessary to understand the specific situation of the moving objects within the target area to determine the appropriate display state of the traffic lights, ensuring that the display state matches the real-time traffic conditions.
[0033] In this embodiment, detection modules can be installed at the entrance, exit, and road segment between the entrance and exit of the target area to detect moving objects in the target area and obtain entrance detection information, exit detection information, and road segment detection information. This allows for the determination of the specific situation of moving objects in the target area, ensuring the rationality and accuracy of the traffic light display status in the target area.
[0034] Optionally, the detection module is a millimeter-wave radar, and the detection module at the target road section between the inlet and outlet is a wide-area millimeter-wave radar.
[0035] Millimeter-wave radar is a radar technology that uses millimeter-wave frequencies for detection and ranging. It utilizes high-frequency electromagnetic waves (typically in the 30GHz-300GHz range), providing higher resolution and accuracy, and is suitable for short-range detection and measurement. Wide-area millimeter-wave radar is an advanced millimeter-wave radar technology with a larger detection range and wider coverage area. In the embodiments of this application, various traffic millimeter-wave radars can be used, and the data can be integrated to solve congestion problems in the target area.
[0036] For example, Figure 2 A schematic diagram of radar installation on a straight road is shown. As illustrated, millimeter-wave radars are installed at the entrance and exit of the straight road to acquire entrance and exit detection information. A wide-area millimeter-wave radar is installed between the entrance and exit to acquire road segment detection information for target road segments, which are represented by the shaded area in the diagram. It can be understood that multiple target road segments can be divided along the straight road based on its length, and a wide-area millimeter-wave radar can be installed at each target road segment.
[0037] Figure 3 A schematic diagram of radar installation at a roundabout is shown. As illustrated, millimeter-wave radars are installed at the roundabout's entrance and exit to acquire entrance and exit detection information. A wide-area millimeter-wave radar is installed between the entrance and exit to acquire road segment detection information for the target road segment, which is defined by the four areas between the entrance and exit shown in the diagram. Compared to methods specifically designed for roundabout traffic congestion optimization, this embodiment only requires multiple traffic millimeter-wave radars and traffic lights to alleviate roundabout traffic congestion. The construction is simple, quick, and cost-effective.
[0038] S120. Based on the import inspection information, determine the display status of the signal lights at the import point.
[0039] In this embodiment, the entry detection information can be obtained from the detection module set at the entrance of the target area, and the display status of the traffic lights at the entrance can be determined based on the entry detection information, so as to determine the display status of the traffic lights that meet the traffic flow entering the target area.
[0040] The display status includes flashing and alternating display statuses. Alternating display status refers to the alternating display of lights indicating permission and prohibition, such as alternating red, green, and yellow lights. Flashing display status indicates orderly passage, such as a flashing yellow light. It is understandable that setting the traffic lights at the entrance to a flashing display status can improve traffic efficiency, while setting them to an alternating display status can control traffic flow entering the target area.
[0041] S130. If the traffic light is in an alternating display state, the alternating display duration of the traffic light shall be determined based on the exit detection information and / or road segment detection information.
[0042] In this embodiment, if the traffic light is in an alternating display state, it indicates that the traffic flow entering the target area has reached the peak traffic flow capacity of the target area. At this time, exit detection information and road segment detection information can be obtained from the detection modules located at the exit and the target road segment between the entrance and exit. Based on the exit detection information and / or road segment detection information, the alternating display duration of the traffic light can be determined. Through the exit detection information and / or road segment detection information, the congestion situation in the target area can be determined, and then the alternating display duration of the traffic light can be determined to alleviate the congestion situation in the target area in real time.
[0043] The technical solution of this application embodiment detects moving objects in the target area by setting detection modules at the entrance, exit, and target road segment between the entrance and exit. This yields entrance detection information, exit detection information, and road segment detection information, providing a detailed picture of the moving objects in the target area and ensuring the rationality and accuracy of the traffic light display status. Based on the entrance detection information, the display status of the traffic lights at the entrance is determined to match the traffic flow entering the target area. If the traffic light display status is alternating, the alternating display duration is determined based on the exit detection information and / or road segment detection information. This technical solution can alleviate traffic congestion in the target area in real time at a low cost.
[0044] Example 2
[0045] Figure 4 This is a flowchart of a traffic light control method provided in Embodiment 2 of this application. This embodiment is an optimization based on the above embodiment; solutions not described in detail in this embodiment are found in the above embodiment. Figure 4 As shown, the method in this embodiment of the application specifically includes the following steps:
[0046] S210. Detection modules set at the entrance, exit, and road segment between the entrance and exit of the target area are used to detect moving objects in the target area to obtain entrance detection information, exit detection information, and road segment detection information.
[0047] S220. Based on the import inspection information, determine the display status of the signal lights at the import point.
[0048] In this embodiment, the entry detection information can be obtained from the detection module set at the entrance of the target area, and the display status of the traffic lights at the entrance can be determined based on the entry detection information, so as to determine the display status of the traffic lights that meet the traffic flow entering the target area.
[0049] The import inspection information includes the flow of moving objects at the import point, i.e., the traffic flow entering the target area. The display status includes a flashing display or an alternating display.
[0050] Specifically, based on import inspection information, the display status of the traffic lights at the import point is determined, including:
[0051] If the flow of moving objects at the entrance exceeds a preset threshold, the traffic light at the entrance will be set to an alternating display state.
[0052] Otherwise, confirm that the indicator light at the entrance is in a flashing state.
[0053] Understandably, when the flow of moving objects at the entrance exceeds a preset threshold, the peak traffic flow that the target area can handle has been reached. Therefore, it is necessary to set the traffic light display at the entrance to an alternating display state to control the flow of moving objects entering the target area. Conversely, when the flow of moving objects at the entrance does not exceed the preset threshold, the traffic light display at the entrance can be set to a flashing display state to improve traffic efficiency.
[0054] The preset thresholds include a first preset threshold and a second preset threshold, with the first preset threshold being greater than the second preset threshold. In practice, the flow of moving objects at the entrance can be categorized into two types: an upward trend and a downward trend. Therefore, this application embodiment introduces two preset thresholds to explain the method for determining the display status of the traffic lights under these two conditions.
[0055] Specifically, if the flow of mobile objects at the entrance is determined to be increasing based on the entrance monitoring information, and if the flow of mobile objects at the entrance exceeds a preset threshold, then the display status of the traffic lights at the entrance will be determined to be an alternating display status, including:
[0056] If the flow of moving objects at the entrance is detected to be greater than the first preset threshold, the traffic light at the entrance is determined to be in an alternating display state.
[0057] Otherwise, confirm that the signal light at the entrance is in a flashing state;
[0058] If the flow of moving objects at the entrance is determined to be decreasing based on the import monitoring information, but exceeds a preset threshold, then the traffic light display at the entrance will be set to an alternating display state, including:
[0059] If the flow of moving objects at the entrance is less than the second preset threshold, the signal light at the entrance is set to flashing.
[0060] Otherwise, confirm that the signal light at the entrance is in an alternating display state.
[0061] In this embodiment, when the flow of moving objects at the entrance is increasing, if the flow does not exceed a first preset threshold, the traffic light at the entrance is set to a flashing display state to improve traffic efficiency; if the flow exceeds the first preset threshold, the traffic light is set to an alternating display state to control the flow of moving objects entering the target area. When the flow of moving objects at the entrance is decreasing, if the flow does not decrease to a second preset threshold, the traffic light is set to an alternating display state; if the flow decreases to below the second preset threshold, the traffic light is set to a flashing display state. This reduces the impact of fluctuating flow of moving objects on traffic light changes.
[0062] For example, Figure 5 A schematic diagram of a traffic light control method is shown in the figure, with peak value N. t This is the first preset threshold, and the peak value N. t The second preset threshold is defined as 85% of the traffic flow. When the flow of moving objects at the entrance shows an upward trend but does not exceed the first preset threshold (i.e., the traffic flow is in segment OA), the traffic light at the entrance is set to a flashing display to improve traffic efficiency. When the flow of moving objects at the entrance shows an upward trend but does not exceed the first preset threshold, and when the flow of moving objects at the entrance shows a downward trend but does not drop to the second preset threshold (i.e., the traffic flow is in segment AB), the traffic light at the entrance is set to an alternating display to control the flow of moving objects entering the target area. When the flow of moving objects at the entrance shows a downward trend and drops below the second preset threshold (i.e., the traffic flow is in the stage after point B), the traffic light at the entrance is set to a flashing display. This reduces the impact of fluctuating flow of moving objects on traffic light changes.
[0063] S230. If the traffic light is in an alternating display state, the alternating display duration of the traffic light shall be determined based on the exit detection information and / or road segment detection information.
[0064] The exit detection information includes the speed and number of moving objects in the exit area, as well as the time required for the moving objects to leave the exit area. The road segment detection information includes the speed and number of moving objects in the target road segment, as well as the area of the target road segment.
[0065] Specifically, based on exit detection information and / or road segment detection information, the alternating display duration of the traffic lights is determined, including:
[0066] The first congestion index of the target road segment is determined based on the speed and number of moving objects in the target road segment and the area of the target road segment; and / or
[0067] The second congestion index at the exit is determined based on the moving speed and number of objects in the exit area, as well as the time required for the objects to leave the exit area; wherein, the first congestion index and the second congestion index are positively correlated with the degree of congestion.
[0068] The duration of the alternating display of traffic lights is determined based on the first congestion index and / or the second congestion index.
[0069] In this embodiment, a first congestion index for the target road segment and a second congestion index for the exit can be determined separately. The alternation duration of the traffic lights is then determined based on the first and / or second congestion indices. The first and second congestion indices are positively correlated with the degree of congestion; that is, the more severe the congestion, the higher the first and second congestion indices, and vice versa. Therefore, the degree of congestion of the target road segment can be determined based on road segment detection information, namely the speed and number of moving objects in the target road segment and the area of the target road segment, thus determining the first congestion index of the target road segment. Similarly, the degree of congestion at the exit can be determined based on exit detection information, namely the speed and number of moving objects in the exit area and the time required for moving objects to leave the exit area, thus determining the second congestion index at the exit. Both the first and second congestion indices characterize the degree of congestion in the target area; therefore, the alternation duration of the traffic lights can be determined based on the first and / or second congestion indices.
[0070] Specifically, based on the speed and number of moving objects in the target road segment and the area of the target road segment, the first congestion index of the target road segment is determined, including:
[0071] The space occupancy rate of the target road segment is determined based on the number of moving objects in the target road segment and the area of the target road segment.
[0072] The first congestion index of the target road segment is determined based on the space occupancy rate and the movement speed of moving objects in the target road segment; the first congestion index is positively correlated with the space occupancy rate and negatively correlated with the movement speed of moving objects in the target road segment.
[0073] When congestion occurs on a target road segment, the more severe the congestion, the slower the movement of objects within that segment, sometimes even stopping altogether. In this case, the moving objects occupy the area of the target road segment. Conversely, the space occupancy rate of the target road segment can be determined based on the number of moving objects and the area of the segment. The degree of congestion on the target road segment is then determined by combining the space occupancy rate with the speed of moving objects within it, thus establishing the first congestion index. It's understood that the first congestion index is positively correlated with space occupancy and negatively correlated with the speed of moving objects within the target road segment; that is, the higher the space occupancy rate, the slower the movement of objects, and the higher the first congestion index, and vice versa.
[0074] Specifically, a second congestion index is determined at the exit based on the speed and number of moving objects in the exit area, as well as the time required for these objects to leave the exit area. This index includes:
[0075] If the number of moving objects in the exit area is greater than the first preset number threshold, then the second congestion index at the exit is determined to be negatively correlated with the moving speed of the moving objects in the exit area and positively correlated with the time required for the moving objects to leave the exit area.
[0076] Otherwise, the second congestion index at the exit is determined to be negatively correlated with the speed of movement of objects in the exit area, and positively correlated with the number of objects in the exit area and the time required for objects to leave the exit area.
[0077] The first preset threshold number characterizes the peak number of moving objects that the exit area can handle. When the number of moving objects in the exit area exceeds the first preset threshold number, the exit area is in a state of extreme congestion. In this case, the degree of congestion does not change with the number of moving objects; that is, the number of moving objects in the exit area does not accurately reflect the degree of congestion. Instead, the degree of congestion is reflected by the moving speed of the moving objects and the time required for them to leave the exit area, thus determining the second congestion index at the exit. Specifically, the second congestion index at the exit is negatively correlated with the moving speed of the moving objects in the exit area and positively correlated with the time required for them to leave the exit area. That is, the slower the moving speed of the moving objects in the exit area and the longer the time required for them to leave the exit area, the larger the second congestion index, and vice versa.
[0078] When the number of moving objects in the exit area is less than the first preset threshold, the number of moving objects in the exit area has not exceeded the peak capacity of the exit area. Although the exit area is still congested, the degree of congestion has eased. At this time, the degree of congestion changes with the number of moving objects, meaning that the number of moving objects in the exit area can accurately reflect the degree of congestion. Based on this, the degree of congestion is further reflected by the moving speed of moving objects in the exit area, the number of moving objects in the exit area, and the time required for moving objects to leave the exit area, thereby determining the second congestion index at the exit. Specifically, the second congestion index at the exit is negatively correlated with the moving speed of moving objects in the exit area, and positively correlated with the number of moving objects in the exit area and the time required for moving objects to leave the exit area. That is, the slower the moving speed of moving objects in the exit area, the more moving objects in the exit area, and the longer the time required for moving objects to leave the exit area, the larger the second congestion index, and vice versa.
[0079] Optionally, the exit detection information also includes the location of moving objects; based on the moving speed, location, and number of moving objects in the exit area, as well as the time required for the moving objects to leave the exit area, a second congestion index is determined at the exit, including:
[0080] If the number of moving objects in the exit area is less than the second preset number threshold, and there is at least one moving object located at the boundary of the exit area, then the second congestion index at the exit is determined to be the preset minimum index.
[0081] The second preset quantity threshold is used to characterize the critical value at which the exit area enters a congested state. It can be understood that the second preset quantity threshold is less than the first preset quantity threshold. When the number of moving objects in the exit area is less than the second preset quantity threshold, the exit area is not congested. In this case, assuming the number of moving objects in the exit area is close to the second preset quantity threshold, meaning the exit area is preparing to enter a congested state, if at least one moving object is located at the boundary leaving the exit area, it indicates that at least one moving object is about to leave the exit area. That is, the exit area will remain in a state of preparing to enter congestion, but will not actually enter a congested state. In this case, the second congestion index at the exit can be determined as the preset minimum index.
[0082] Specifically, the alternation duration of the traffic lights is determined based on a first congestion index and / or a second congestion index, including:
[0083] If the first congestion index exceeds the first index threshold and / or the second congestion index exceeds the second index threshold, then the duration of the red light is determined to be positively correlated with the first congestion index and / or the second congestion index; or,
[0084] If the first congestion index exceeds the first index threshold and / or the second congestion index exceeds the second index threshold, then the red light on the traffic light will remain on until the first congestion index is less than the first index threshold and / or the second congestion index is less than the second index threshold.
[0085] In this embodiment, after determining the first congestion index and the second congestion index, the alternating display duration of the traffic lights can be determined based on the first congestion index and / or the second congestion index. As mentioned above, both the first and second congestion indices can characterize the congestion level of the target area. Therefore, the alternating display duration of the traffic lights can be determined based on the first and / or the second congestion index. Specifically, if the first congestion index exceeds the first index threshold and / or the second congestion index exceeds the second index threshold, it indicates that the target road segment and / or exit area is congested. In this case, it is necessary to change the red light display duration of the traffic lights to prevent new moving objects from entering the target area. At this time, the red light display duration of the traffic lights is positively correlated with the first and / or the second congestion index, that is, the larger the first and / or the second congestion index, the longer the red light display duration. Alternatively, the red light of the traffic lights can be continuously displayed until the target area can accommodate new moving objects, that is, until the first congestion index is less than the first index threshold and / or the second congestion index is less than the second index threshold. This can alleviate traffic congestion in the target area in real time.
[0086] S240. If the exit area of the target area is determined to be congested based on the exit detection information, the alternation duration of the next traffic light for the moving object leaving the exit direction shall be determined based on the exit detection information.
[0087] When exit congestion is identified in the target area based on exit detection information, simply controlling the display duration of traffic lights at the entrance is insufficient. If the downstream intersection of the exit point lacks sufficient capacity, vehicles cannot leave the target area in a timely manner, and congestion remains unresolved. Therefore, it is also necessary to control the alternating display duration of the next traffic light following the exit direction determined by exit detection information. This ensures that vehicles can quickly leave the target area, thereby alleviating congestion.
[0088] Specifically, the alternation duration of the next traffic light for a moving object leaving the exit direction is determined based on exit detection information, including:
[0089] The duration of the green light on the next traffic light indicating a moving object's departure direction is positively correlated with the congestion level of the exit area; or,
[0090] The green light of the next traffic light indicating the direction of exit for the moving object will remain on until the congestion level in the exit area meets the preset requirements.
[0091] Understandably, the more severe the congestion in the exit area, the more moving objects need to leave the target area. In this case, the green light duration of the next traffic light in the direction of exit can be extended, that is, the green light duration of the next traffic light in the direction of exit can be positively correlated with the congestion level of the exit area. Alternatively, the green light of the next traffic light in the direction of exit can be continuously displayed, allowing moving objects in the exit area of the target area to exit without obstruction until the congestion level of the exit area meets the preset requirements.
[0092] S250: Control the display of the next traffic light according to the alternation display duration of the next traffic light.
[0093] After determining the alternation duration of the next traffic light for a moving object leaving the exit direction based on the exit detection information, the display of the next traffic light can be controlled according to the alternation duration of the next traffic light. This allows for timely changes to the alternation duration of the next traffic light, thereby ensuring the efficiency of moving objects leaving the target area and alleviating traffic congestion in the target area.
[0094] This application provides a traffic light control method. Detection modules, respectively installed at the entrance, exit, and road segment between the entrance and exit of a target area, detect moving objects in the target area, obtaining entrance detection information, exit detection information, and road segment detection information. This allows for a detailed understanding of the moving objects in the target area, ensuring the rationality and accuracy of the traffic light display status. Based on the entrance detection information, the display status of the traffic light at the entrance is determined to match the traffic flow entering the target area. If the traffic light display status is alternating, the alternating display duration is determined based on the exit detection information and / or road segment detection information. If the exit area is congested based on the exit detection information, the alternating display duration of the next traffic light for moving objects leaving the exit direction is determined based on the exit detection information. The next traffic light is then controlled to display based on its alternating display duration. This technical solution can alleviate traffic congestion in the target area in real time, while ensuring the efficiency of moving objects leaving the target area from the exit area, further alleviating traffic congestion.
[0095] Example 3
[0096] Figure 6 This is a schematic diagram of a traffic light control device provided in Embodiment 3 of this application. This device can execute the traffic light control method provided in any embodiment of this application, and possesses the corresponding functional modules and beneficial effects for executing the method. For example... Figure 6 As shown, the device includes:
[0097] The detection information determination module 310 is used to detect moving objects in the target area by using detection modules set at the entrance, exit and the target road segment between the entrance and exit of the target area, respectively, and to obtain entrance detection information, exit detection information and road segment detection information.
[0098] The display status determination module 320 is used to determine the display status of the signal light at the entrance based on the entrance detection information.
[0099] The display duration determination module 330 is used to determine the alternating display duration of the traffic lights based on the exit detection information and / or the road segment detection information if the display state of the traffic lights is an alternating display state; wherein, the alternating display state is a state in which lights indicating permission to pass and lights indicating prohibition to pass are displayed alternately.
[0100] In this embodiment of the application, the import detection information includes the flow of moving objects at the import point; the display status includes a flashing display status or an alternating display status; the flashing display status indicates orderly passage.
[0101] The display status determination module 320 includes:
[0102] The first display state determination unit is used to determine that the display state of the traffic lights at the entrance is an alternating display state if the flow of moving objects at the entrance exceeds a preset threshold.
[0103] The second display status determination unit is used to determine, otherwise, that the display status of the signal light at the entrance is a flashing display status.
[0104] Optionally, the preset threshold includes a first preset threshold and a second preset threshold, wherein the first preset threshold is greater than the second preset threshold; when the inlet monitoring information determines that the flow of mobile objects at the inlet is trending upward, the first display status determination unit is specifically used for:
[0105] If the flow of moving objects at the entrance is detected to be greater than the first preset threshold, the traffic light at the entrance is determined to be in an alternating display state.
[0106] Otherwise, confirm that the signal light at the entrance is in a flashing state;
[0107] When the import monitoring information determines that the flow of mobile objects at the import point is decreasing, the first display status determination unit is specifically used for:
[0108] If the flow of moving objects at the entrance is less than the second preset threshold, the signal light at the entrance is set to flashing.
[0109] Otherwise, confirm that the signal light at the entrance is in an alternating display state.
[0110] Optionally, the exit detection information includes the moving speed and number of moving objects in the exit area, as well as the time required for the moving objects to leave the exit area; the road segment detection information includes the moving speed and number of moving objects in the target road segment, as well as the area of the target road segment; the display duration determination module 330 includes:
[0111] The first congestion index determination unit is used to determine the first congestion index of the target road segment based on the moving speed and number of moving objects in the target road segment and the area of the target road segment; and / or
[0112] The second congestion index determination unit is used to determine the second congestion index at the exit based on the moving speed and number of moving objects in the exit area and the time required for the moving objects to leave the exit area.
[0113] Among them, the first congestion index and the second congestion index are positively correlated with the degree of congestion;
[0114] The display duration determination unit is used to determine the alternation display duration of the traffic lights based on the first congestion index and / or the second congestion index.
[0115] Optionally, the first congestion index determination unit includes:
[0116] The space occupancy determination subunit is used to determine the space occupancy of the target road segment based on the number of moving objects in the target road segment and the area range of the target road segment.
[0117] The first congestion index determination subunit is used to determine the first congestion index of the target road segment based on the space occupancy rate and the moving speed of the moving object in the target road segment; wherein, the first congestion index is positively correlated with the space occupancy rate and negatively correlated with the moving speed of the moving object in the target road segment.
[0118] Optionally, the second congestion index determination unit is specifically used for:
[0119] If the number of moving objects in the exit area is greater than the first preset number threshold, then the second congestion index at the exit is determined to be negatively correlated with the moving speed of the moving objects in the exit area and positively correlated with the time required for the moving objects to leave the exit area.
[0120] Otherwise, the second congestion index at the exit is determined to be negatively correlated with the speed of movement of objects in the exit area, and positively correlated with the number of objects in the exit area and the time required for objects to leave the exit area.
[0121] Optionally, the exit detection information may also include the location of the moving object;
[0122] A second congestion index is determined at the exit based on the speed, location, and number of moving objects in the exit area, as well as the time required for these objects to leave the exit area. This index includes:
[0123] If the number of moving objects in the exit area is less than the second preset number threshold, and there is at least one moving object located at the boundary of the exit area, then the second congestion index at the exit is determined to be the preset minimum index.
[0124] Optionally, the display duration determination unit is specifically used for:
[0125] If the first congestion index exceeds the first index threshold and / or the second congestion index exceeds the second index threshold, then the duration of the red light is determined to be positively correlated with the first congestion index and / or the second congestion index; or,
[0126] If the first congestion index exceeds the first index threshold and / or the second congestion index exceeds the second index threshold, then the red light on the traffic light will remain on until the first congestion index is less than the first index threshold and / or the second congestion index is less than the second index threshold.
[0127] Optionally, the device further includes:
[0128] The next traffic light display duration determination module is used to determine the alternation display duration of the next traffic light for the moving object leaving the exit direction based on the exit detection information if the exit area of the target area is determined to be congested based on the exit detection information.
[0129] The next traffic light display duration control module is used to control the display of the next traffic light according to the alternation display duration of the next traffic light.
[0130] Optionally, the next traffic light display duration determination module is specifically used for:
[0131] The duration of the green light on the next traffic light indicating a moving object's departure direction is positively correlated with the congestion level of the exit area; or,
[0132] The green light of the next traffic light indicating the direction of exit for the moving object will remain on until the congestion level in the exit area meets the preset requirements.
[0133] Optionally, the detection module is a millimeter-wave radar; the detection module at the target road segment between the exit and the inlet is a wide-area millimeter-wave radar.
[0134] The traffic light control device provided in this application embodiment can execute a traffic light control method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of executing the method.
[0135] Example 4
[0136] Figure 7 A schematic diagram of an electronic device 10, which can be used to implement embodiments of this application, is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein.
[0137] like Figure 7 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0138] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0139] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as traffic light control methods.
[0140] In some embodiments, the traffic light control method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the traffic light control method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the traffic light control method by any other suitable means (e.g., by means of firmware).
[0141] Various embodiments of the methods and techniques described above herein can be implemented in digital electronic circuit methods, integrated circuit methods, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), methods-on-a-chip (SOCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable method including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage method, at least one input device, and at least one output device, and transmitting data and instructions to the storage method, the at least one input device, and the at least one output device.
[0142] Computer programs used to implement the methods of this application may be written in any combination of one or more programming languages. These computer programs may be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable traffic light control device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0143] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution method, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor methods, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0144] To provide interaction with a user, the methods and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0145] The methods and techniques described herein can be implemented in computing methods that include backend components (e.g., as a data server), or computing methods that include middleware components (e.g., an application server), or computing methods that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the methods and techniques described herein), or any combination of such backend, middleware, or frontend components. The components of the methods can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0146] Computational methods can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0147] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired information of the technical solution of this application can be achieved, and this is not limited herein.
[0148] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A traffic light control method, characterized in that, The method includes: By setting up detection modules at the entrance, exit, and road segment between the entrance and exit of the target area, moving objects in the target area are detected, and entrance detection information, exit detection information, and road segment detection information are obtained. Based on the import inspection information, determine the display status of the signal lights at the import point; If the traffic light is in an alternating display state, the alternating display duration is determined based on the exit detection information and / or the road segment detection information; wherein, the alternating display state is a state in which the lights indicating permission to pass and the lights indicating prohibition to pass are displayed alternately. The exit detection information includes the moving speed and number of moving objects in the exit area, as well as the time required for the moving objects to leave the exit area; the road segment detection information includes the moving speed and number of moving objects in the target road segment, as well as the area of the target road segment; determining the alternating display duration of the traffic lights based on the exit detection information and / or the road segment detection information includes: The first congestion index of the target road segment is determined based on the speed and number of moving objects in the target road segment and the area of the target road segment; and / or The second congestion index at the exit is determined based on the speed and number of moving objects in the exit area, as well as the time required for these objects to leave the exit area. This includes: If the number of moving objects in the exit area is greater than the first preset number threshold, then the second congestion index at the exit is determined to be negatively correlated with the moving speed of the moving objects in the exit area and positively correlated with the time required for the moving objects to leave the exit area. The first preset number threshold is used to characterize the peak number of moving objects that the exit area can handle. Otherwise, the second congestion index at the exit is determined to be negatively correlated with the moving speed of objects in the exit area, and positively correlated with the number of objects in the exit area and the time required for objects to leave the exit area; among them, the first congestion index and the second congestion index are positively correlated with the degree of congestion. The duration of the alternating display of traffic lights is determined based on the first congestion index and / or the second congestion index.
2. The method according to claim 1, characterized in that, The import detection information includes the flow of moving objects at the import point; the display status includes a flashing display status or an alternating display status; wherein, the flashing display status indicates orderly passage. Based on the import inspection information, determine the display status of the traffic lights at the import point, including: If the flow of moving objects at the entrance exceeds a preset threshold, the traffic light at the entrance will be set to an alternating display state. Otherwise, confirm that the indicator light at the entrance is in a flashing state.
3. The method according to claim 2, characterized in that, The preset threshold includes a first preset threshold and a second preset threshold, wherein the first preset threshold is greater than the second preset threshold; If the flow of moving objects at the entrance is determined to be increasing based on the aforementioned entrance monitoring information, and if the flow of moving objects at the entrance exceeds a preset threshold, then the display state of the traffic lights at the entrance is determined to be an alternating display state, including: If the flow of moving objects at the entrance is detected to be greater than the first preset threshold, the traffic light at the entrance is determined to be in an alternating display state. Otherwise, confirm that the signal light at the entrance is in a flashing state; If, based on the import monitoring information, the flow of moving objects at the import point is determined to be decreasing, and if the flow of moving objects at the import point exceeds a preset threshold, then the display state of the traffic lights at the import point is determined to be an alternating display state, including: If the flow of moving objects at the entrance is less than the second preset threshold, the signal light at the entrance is set to flashing. Otherwise, confirm that the signal light at the entrance is in an alternating display state.
4. The method according to claim 1, characterized in that, Based on the speed and number of moving objects in the target road segment and the area of the target road segment, the first congestion index of the target road segment is determined, including: The space occupancy rate of the target road segment is determined based on the number of moving objects in the target road segment and the area of the target road segment. Based on the space occupancy rate and the moving speed of objects in the target road segment, a first congestion index for the target road segment is determined; wherein, the first congestion index is positively correlated with the space occupancy rate and negatively correlated with the moving speed of objects in the target road segment.
5. The method according to claim 1, characterized in that, The exit detection information also includes the location of the moving object; A second congestion index is determined at the exit based on the speed, location, and number of moving objects in the exit area, as well as the time required for these objects to leave the exit area. This index includes: If the number of moving objects in the exit area is less than the second preset number threshold, and at least one moving object is located at the boundary of the exit area, then the second congestion index at the exit is determined to be the preset minimum index.
6. The method according to claim 1, characterized in that, The duration of the traffic light alternation display is determined based on the first congestion index and / or the second congestion index, including: If the first congestion index exceeds the first index threshold and / or the second congestion index exceeds the second index threshold, then the duration of the red light is determined to be positively correlated with the first congestion index and / or the second congestion index; or, If the first congestion index exceeds the first index threshold and / or the second congestion index exceeds the second index threshold, the red light on the traffic light will remain on until the first congestion index is less than the first index threshold and / or the second congestion index is less than the second index threshold.
7. The method according to claim 1, characterized in that, The method further includes: If the exit area of the target area is determined to be congested based on the exit detection information, then the alternation duration of the next traffic light for the moving object leaving the exit direction is determined based on the exit detection information. The timing of the next traffic light's display is controlled by the duration of its alternation.
8. The method according to claim 7, characterized in that, The alternation duration of the next traffic light for the moving object leaving the exit direction is determined based on the exit detection information, including: The duration of the green light on the next traffic light indicating a moving object's departure direction is positively correlated with the congestion level of the exit area; or, The green light of the next traffic light indicating the direction of exit for the moving object will remain on until the congestion level in the exit area meets the preset requirements.
9. The method according to claim 1, characterized in that, The detection module is a millimeter-wave radar; the detection module at the target road section between the inlet and outlet is a wide-area millimeter-wave radar.
10. A traffic light control device, characterized in that, The device includes: The detection information determination module is used to detect moving objects in the target area by setting up detection modules at the entrance, exit, and target road segment between the entrance and exit of the target area, respectively, and to obtain entrance detection information, exit detection information, and road segment detection information. The display status determination module is used to determine the display status of the signal lights at the entrance based on the entrance detection information. The display duration determination module is used to determine the alternating display duration of the traffic lights based on the exit detection information and / or the road segment detection information if the display state of the traffic lights is an alternating display state; wherein, the alternating display state is a state in which lights indicating permission to pass and lights indicating prohibition to pass are displayed alternately. The exit detection information includes the moving speed and number of moving objects in the exit area, as well as the time required for the moving objects to leave the exit area; the road segment detection information includes the moving speed and number of moving objects in the target road segment, as well as the area of the target road segment; the display duration determination module includes: The first congestion index determination unit is used to determine the first congestion index of the target road segment based on the moving speed and number of moving objects in the target road segment and the area of the target road segment; and / or The second congestion index determination unit is used to determine the second congestion index at the exit based on the moving speed and number of moving objects in the exit area and the time required for the moving objects to leave the exit area; wherein, the first congestion index and the second congestion index are positively correlated with the degree of congestion. The display duration determination unit is used to determine the alternation display duration of the traffic lights based on the first congestion index and / or the second congestion index. The second congestion index determination unit is specifically used to determine that if the number of moving objects in the exit area is greater than the first preset quantity threshold, the second congestion index at the exit is negatively correlated with the moving speed of the moving objects in the exit area and positively correlated with the time required for the moving objects to leave the exit area, where the first preset quantity threshold is used to characterize the peak value of moving objects that the exit area can handle; otherwise, it determines that the second congestion index at the exit is negatively correlated with the moving speed of the moving objects in the exit area and positively correlated with the number of moving objects in the exit area and the time required for the moving objects to leave the exit area.
11. An electronic device, characterized in that, The device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the traffic light control method according to any one of claims 1-9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the traffic light control method according to any one of claims 1-9.
Citation Information
Patent Citations
Traffic congestion judging method
CN108847025A
Roundabout indirect optimization control method based on upstream intersection control
CN108961783A
Traffic signal control method and device, computer equipment and storage medium
CN110910658A
Inductive control method
CN116092307A