Method for locking traffic flow based on import and export directions and traffic signal control device

By obtaining lock commands for the import and exit directions, determining the flow direction of the traffic flow and controlling the signal light status, the problem of low efficiency in the conversion instructions of the traffic control center is solved, and fast response and efficient traffic management are achieved.

CN115762196BActive Publication Date: 2025-09-02KYLAND SMARTRAN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211462128.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-21
Publication Date
2025-09-02
Estimated Expiration
2042-11-21

AI Technical Summary

Technical Problem

It is difficult for the traffic control center to quickly convert locked traffic flow control instructions into control instructions for signal execution logic, resulting in signal response not being timely, affecting traffic traffic efficiency.

Method used

By acquiring the inlet direction and exit direction in the lock command, the flow direction of the traffic flow is determined and the signal light state of the matching lane is controlled to lock the traffic flow, including the calculation of the difference value and the preset cycle number update of the difference value, quickly determine the flow direction and control the signal light state.

Benefits of technology

It has achieved rapid response to the locked traffic flow control instructions of the traffic command department, and improved traffic control and traffic efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115762196B_ABST
    Figure CN115762196B_ABST
Patent Text Reader

Abstract

This application discloses a method and traffic signal control device for locking traffic flow based on ingress and egress directions. The method includes: obtaining a locking command, the command including the traffic flow's ingress and egress directions, and a designated intersection where the traffic flow is located; determining the direction of the traffic flow based on the ingress and egress directions; determining a lane at the designated intersection that matches the traffic flow's direction, and controlling the traffic light status of the matching lane to lock the traffic flow. This method allows for rapid response to traffic flow locking commands issued by traffic control authorities, improving traffic control and traffic flow efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a method for locking traffic flow based on import and export directions and a traffic signal control device. Background Art

[0002] Traffic dispatch centers control roads within their respective areas through various traffic control centers and traffic lights within those areas. For example, a traffic dispatch center issues a protocol-compliant dispatch control command, which the traffic control center interprets, generates traffic control instructions, and issues to the roadside traffic lights for execution. Traffic lights, in turn, control traffic by adjusting the light status at intersections.

[0003] Currently, traffic control centers cannot efficiently convert dispatch control commands issued by the traffic dispatch center into instructions that conform to the execution logic of each signal. For example, after receiving a control command to lock traffic flow direction, the traffic control center has difficulty efficiently determining the phase to be locked, and thus has difficulty quickly generating phase control instructions to issue to the signal. As a result, the signal cannot quickly respond to dispatch control commands issued by the traffic dispatch center (operated by the traffic command department), which is not conducive to improving traffic efficiency.

[0004] Therefore, it is necessary to provide a technical solution for quickly converting the traffic flow direction locking control command from the traffic dispatch center into a control instruction that conforms to the signal execution logic on the traffic control center side. Summary of the Invention

[0005] In view of this, the present invention provides a method for locking traffic flow based on the import and export directions and a traffic signal control device, which can quickly respond to the traffic flow locking control instructions issued by the traffic command department, which is conducive to improving the efficiency of traffic control and traffic passage efficiency.

[0006] In a first aspect, the present application provides a method for locking traffic flow based on inlet and outlet directions, comprising:

[0007] Obtaining a locking command, wherein the locking command includes an inlet direction, an outlet direction, and a designated intersection where the traffic flow is located;

[0008] determining the direction of traffic flow according to the import direction and the export direction;

[0009] A lane that matches the direction of the traffic flow is determined from the lanes at the designated intersection, and the light state of the signal light of the matching lane is controlled to lock the traffic flow.

[0010] Furthermore, different numerical values ​​are used to represent different inlet directions and outlet directions;

[0011] Determining the direction of the traffic flow includes:

[0012] Determine the difference between the numerical value corresponding to the inlet direction and the numerical value corresponding to the outlet direction;

[0013] The direction of the traffic flow is determined according to the difference.

[0014] Furthermore, when the difference is less than zero, the difference is updated using the sum of a preset number of cycles and the difference.

[0015] Furthermore, determining the direction of the traffic flow according to the difference includes:

[0016] If the difference is equal to a preset limit value, determining that the direction of the traffic flow includes straight travel;

[0017] If the difference is greater than a preset threshold value, determining that the direction of the traffic flow includes a right turn;

[0018] If the difference is smaller than a preset limit value, it is determined that the direction of the traffic flow includes a left turn.

[0019] Furthermore, determining the direction of the traffic flow according to the difference includes:

[0020] If the difference is equal to zero, it is determined that the flow direction of the traffic flow includes a U-turn.

[0021] Furthermore, controlling the light state of the signal light of the matching lane includes:

[0022] determining a phase corresponding to the matched lane;

[0023] Determining a phase corresponding to the phase that allows the matched lane to pass;

[0024] The traffic light corresponding to the designated intersection is controlled in the phase-locked stage so that the light state of the traffic light of the matching lane is pass.

[0025] Furthermore, determining a lane that matches the direction of the traffic flow from among the lanes at the designated intersection includes:

[0026] Obtaining lane information of the designated intersection;

[0027] The direction of the exit lane is determined as the entrance direction of the traffic flow, and the entrance lane whose flow direction matches the flow direction of the traffic flow is determined as the matching lane.

[0028] Furthermore, the determining of a lane whose flow direction matches the flow direction of the traffic flow includes:

[0029] The lane whose flow direction matches the flow direction of the traffic flow most closely is determined as the matching lane, wherein:

[0030] When the direction of the traffic flow includes straight ahead, the matching degrees of lanes whose directions are straight ahead, mixed straight and left, mixed straight and right, and mixed straight and left and right with the direction of the traffic flow decrease in sequence;

[0031] When the direction of the traffic flow includes a left turn, the matching degrees of the lanes whose directions are left turn, mixed straight and left traffic, mixed left and right traffic, and mixed straight and left and right traffic with the direction of the traffic flow decrease in descending order;

[0032] When the direction of the traffic flow includes a right turn, the matching degrees of lanes whose directions are right turn, mixed straight and right traffic, mixed left and right traffic, and mixed straight and left and right traffic with the direction of the traffic flow decrease in sequence.

[0033] In a second aspect, the present application provides a traffic signal control device, comprising:

[0034] a flow direction determination unit, configured to obtain a locking command, the locking command including an inlet direction, an outlet direction, and a designated intersection where the traffic flow is located; and determine the flow direction of the traffic flow according to the inlet direction and the outlet direction;

[0035] A locking control unit is used to determine a lane that matches the direction of the traffic flow from the lanes at the designated intersection, and control the light state of the signal light of the matching lane to lock the traffic flow.

[0036] In a third aspect, the present application provides a computing device comprising: a processor, and a memory having program instructions stored thereon, wherein the program instructions, when executed by the processor, enable the processor to execute the method for locking traffic flow based on import and export directions as described in the first aspect.

[0037] These and other aspects of the present application will become more apparent from the following description of the embodiment(s). BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The following further illustrates the various technical features of the present application and the relationships between them with reference to the accompanying drawings. The accompanying drawings are exemplary, and some technical features are not shown in actual proportion. In addition, some drawings may omit technical features that are commonly used in the technical field to which the present application belongs and are not essential for understanding and implementing the present application, or additional technical features that are not essential for understanding and implementing the present application may be shown. In other words, the combination of the various technical features shown in the accompanying drawings is not intended to limit the present application. In addition, throughout the present application, the same figure numbers refer to the same content. The specific description of the drawings is as follows:

[0039] Figure 1 1 is a flow chart of a method for locking traffic flow based on import and export directions according to an embodiment of the present application;

[0040] Figure 2 Schematic diagram of the traffic signal control device according to an embodiment of the present application;

[0041] Figure 3 This is a flow chart of determining the direction of traffic flow in the method for locking traffic flow based on the import and export directions in an embodiment of the present application;

[0042] Figure 4A Schematic diagram of each direction of an intersection in a method for locking traffic flow based on inlet and outlet directions according to an embodiment of the present application;

[0043] Figure 4B This is a schematic diagram of lanes at an intersection in the method for locking traffic flow based on the import and export directions in an embodiment of the present application;

[0044] Figure 5 This is a schematic diagram of an application of a traffic signal control device based on locking traffic flow in the direction of entry and exit according to an embodiment of the present application;

[0045] Figure 6 Schematic diagram of the composition of a computing device for locking traffic flow based on import and export directions according to an embodiment of the present application. DETAILED DESCRIPTION

[0046] Hereinafter, specific embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0047] Unless otherwise defined, all technical and scientific terms used in this application are the same as those commonly understood by those skilled in the art to which this application belongs. In the event of any inconsistency, the meaning described in the full text of this application or the meaning derived from the content recorded in the full text of this application shall prevail. In addition, the terms used in this description are only for the purpose of describing the embodiments of the present application and are not intended to limit this application.

[0048] In order to accurately describe the technical content of this application and to accurately understand this application, the following explanations or definitions are given for the terms used in this specification before describing the specific implementation methods.

[0049] Traffic Signal Control System is a system used for road traffic control, which consists of road traffic signal controller, road traffic lights, road traffic flow detection equipment, communication equipment, central control computer and related software.

[0050] When traffic signal systems at all levels operate normally, various software and hardware need to set a number of basic parameters, such as areas, sub-areas, signal-controlled intersections, detectors, lanes, phases, stages and timing plans.

[0051] Traffic signal systems at all levels include a traffic control center, which includes the aforementioned central control computer and related software, used to obtain the status of roadside traffic lights and other traffic facilities (such as traffic lights), or generate control instructions that traffic lights need to execute.

[0052] Traffic lights, typically consisting of the aforementioned traffic signal controllers and associated software, are installed at various signal-controlled intersections (hereinafter referred to as "intersections"), also known as roadsides. They receive traffic control commands from traffic control centers or, based on local preset plans, control the color or state of roadside traffic lights. Each traffic light and each traffic control center serves as a network communication node within a local area network (LAN), communicating and receiving data through their own communication equipment.

[0053] Traffic signal systems at all levels are typically used in conjunction with intelligent traffic integrated command platforms at all levels, serving as traffic control centers and traffic dispatch centers, respectively. Therefore, the service scope of each intelligent traffic integrated command platform is determined by all the traffic signals connected to its network.

[0054] Intelligent traffic integrated command platforms at all levels include a central dispatching platform as a traffic dispatching center, which is usually set up in traffic dispatching command departments at all levels, and usually includes a web terminal for receiving traffic dispatching instructions.

[0055] The phase signal is used to execute phase locking, specifically, to lock the phase recorded in the single phase according to the single phase recorded in the received locking phase instruction.

[0056] Stage: A designated period within a signal cycle during which the traffic signal state is controlled to lock the stage, allowing one or more traffic flows to obtain the right of way.

[0057] Inter Stage: The transition time from the end of the previous stage to the beginning of the next stage.

[0058] Phase: A sequence of traffic signals displayed to one or more traffic streams, typically consisting of a sequence of lights such as all red, all green, or a mixture of red and yellow in a pre-set order.

[0059] Minimum green time of a phase (Min): For traffic safety reasons, the shortest green time that a phase must maintain when the green light starts.

[0060] When a phase plate is used to control the light colors of six phases, a three-phase plate is typically required for an intersection with 18 phases. Each phase plate includes six control terminals, each of which controls the three possible light color output terminals for the corresponding phase, such as the red light R output terminal, the green light G output terminal, or the yellow light Y output terminal, so that the lights on that phase illuminate in the preset sequence.

[0061] The technical solution of this application is described in detail below with reference to the accompanying drawings.

[0062] like Figure 1 As shown, the method for locking traffic flow based on the import and export direction of the embodiment of the present application includes:

[0063] S10: Obtaining a locking command, wherein the locking command includes an inlet direction, an outlet direction, and a designated intersection where the traffic flow is located;

[0064] determining the direction of traffic flow according to the import direction and the export direction;

[0065] S20: Determine a lane that matches the direction of the traffic flow from among the lanes at the designated intersection, and control the light state of the traffic light of the matching lane to lock the traffic flow.

[0066] As described above, a locking command is obtained from the traffic control department through the dispatch center. The locking command includes the import direction, export direction, and designated intersection of the traffic flow. The direction of the traffic flow can be determined based on the import direction and export direction. Furthermore, a lane that matches the direction of the traffic flow is determined from the lanes at the designated intersection, and the light state of the signal light of the matching lane is controlled to lock the traffic flow.

[0067] In this way, by controlling the signal light set at the designated intersection through the traffic signal control device to control the light state of the signal light of the matching lane, it is possible to quickly respond to the traffic flow control instruction issued by the traffic command department, which is conducive to improving the efficiency of traffic control and traffic passage efficiency.

[0068] Typically, near intersections, each lane on a road is equipped with ground-level directional arrows to indicate the lane's direction. Typically, lane directions for motorway lanes include: straight ahead, left turn, right turn, mixed straight and left traffic, mixed straight and right traffic, mixed left and right traffic, mixed straight and left traffic, and U-turn. Lane directions for sidewalks include: straight ahead, left turn, right turn, mixed straight and left traffic, mixed straight and right traffic, mixed left and right traffic, mixed straight and left traffic, and U-turn.

[0069] Accordingly, the directions of the lanes arranged around the intersection can be up to 8, such as Figure 4AIt should be understood that when determining the direction of each lane at any intersection, a four-way intersection only uses "north, east, south, and west" regardless of its shape; for intersections with more than four forks, "north, east, south, and west" are determined first, and then other directions are determined. Figure 4A The eight directions shown are numbered in sequence starting from 0 in a clockwise direction, and the values ​​of the directions are listed in the direction value table in Table 1.

[0070] Table 1 Direction value table

[0071]

[0072]

[0073] In some embodiments, the acquired locking command issued by the traffic control department through the dispatch center is a traffic flow direction locking control command LockFlowDirection, which is defined as follows:

[0074] <lockflowdirection>

[0075] <crossid>Intersection number

[0076] <type> Traffic flow type< / type>

[0077] <entrance>Import direction < / Entrance

[0078] <exit> Exit direction< / exit>

[0079] <starttime> Start time< / starttime>

[0080] <duration> Lock duration< / duration>

[0081] < / entrance> < / crossid> < / lockflowdirection>

[0082] Among them, the intersection number CrossID is the index or unique identifier for the intersection. The intersection number is globally unique and its value is the area number + 5 digits; the area number is globally unique and its value is a 6-digit administrative division code + 3 digits. The values ​​of the traffic flow type Type and their corresponding meanings are as follows: 0: pedestrian, 1: motor vehicle, 2: non-motor vehicle. For the value of the entrance direction Entrance, refer to Table 1. When the traffic flow type is pedestrian, the entrance direction indicates the direction of the crosswalk. For the value, refer to Table 1. When the traffic flow type is pedestrian, the exit direction indicates the direction of the crosswalk. For the value, refer to Table 1. The unit of the start time StartTime is seconds (s). The unit of the lock time Duration is seconds (s). A value of 0 indicates continuous lock.

[0083] The above-mentioned traffic flow direction locking control instruction is used to instruct the intersection numbered CrossID to release pedestrians, motor vehicles, or non-motor vehicles from the start time StartTime and within the locking duration Duration. For example, if the light state of the lane where the pedestrian, motor vehicle, or non-motor vehicle is locked is green, the pedestrian, motor vehicle, or non-motor vehicle is released to move toward the exit. In some embodiments, in the above step S10, different numerical values ​​are used to represent different entry and exit directions, that is, the entry and exit directions are respectively represented by numerical values ​​in the locking command;

[0084] Determining the direction of the traffic flow includes:

[0085] Determine the difference between the numerical value corresponding to the inlet direction and the numerical value corresponding to the outlet direction;

[0086] The direction of the traffic flow is determined according to the difference.

[0087] In the above, the numerical values ​​of the entry and exit directions are obtained from the lock command, the difference between the numerical values ​​corresponding to the entry and exit directions is determined, and the traffic direction is determined based on the difference. In this way, determining the traffic direction by calculating the difference is simple, has a clear physical meaning, and produces a unique result, allowing for rapid, accurate, and reliable determination of the traffic direction.

[0088] Referring to the value range of the numerical value of the import direction and the value range of the numerical value corresponding to the export direction described in Table 1, it can be determined that the direction of the traffic flow is determined according to the difference, which is divided into three situations, namely, the difference is equal to zero, greater than zero, and less than zero.

[0089] In some embodiments, if the difference is equal to zero, determining the direction of the traffic flow includes a U-turn.

[0090] In some embodiments, as Figure 3 、 Figure 4A As shown, if the difference is zero, determining that the direction of the traffic flow includes a U-turn specifically includes:

[0091] If the obtained value of the exit direction is 0 (north), and the obtained value of the import direction is 0 (north), it can be determined that the difference between the values ​​of the exit direction and the import direction is equal to 0, and further it can be determined that the direction of the traffic flow is a U-turn from north (import direction) to north (exit direction);

[0092] If the value of the exit direction obtained is 2 (east), and the value of the import direction obtained is 2 (east), then it can be determined that the difference between the values ​​of the exit direction and the import direction is equal to 0, and it can be determined that the direction of the traffic flow is a U-turn from east (import direction) to east (exit direction);

[0093] If the value of the exit direction is 4 (south), and the value of the entrance direction is 4 (south), then it can be determined that the difference between the exit and entrance values ​​is equal to 0, and thus it can be determined that the traffic flow is turning from south (entrance direction) to south (exit direction);

[0094] If the value of the exit direction obtained is 6 (west) and the value of the import direction obtained is 6 (west), it can be determined that the difference between the value of the exit direction and the value of the import direction is equal to 0, and it can be determined that the direction of the traffic flow is a U-turn from west (import direction) to west (exit direction).

[0095] The above enumerates four situations in which the values ​​of the import direction are 0, 2, 4, and 6 and the values ​​of the export direction are 0, 2, 4, or 6 respectively, so the difference is equal to 0 and it can be determined as a U-turn.

[0096] The values ​​in the import direction are 1, 3, 5, and 7, and the values ​​in the export direction are 1, 3, 5, or 7, respectively, so the difference is equal to 0, and thus the four situations can be determined as U-turns. Please refer to the above description and will not be repeated here.

[0097] In this way, if the difference is zero, the direction of the traffic flow is determined to include a U-turn, which can achieve the complete determination of all possible situations in which the direction of the traffic flow is a U-turn, thereby improving the accuracy and reliability of the determined direction of the traffic flow.

[0098] In some embodiments, when the difference is less than zero, the difference is updated using a sum of a preset number of cycles and the difference.

[0099] In the above, a difference value less than zero is updated by a preset number of cycles, so that the updated difference value is greater than zero. In this way, updating the difference value by a preset number of cycles is simple in calculation, has a clear physical meaning, and produces a unique result, and can quickly, accurately, and reliably update a difference value less than zero.

[0100] In some embodiments, when the difference value obtained by directly performing the difference calculation or by updating the number of cycles is greater than zero, determining the direction of the traffic flow based on the difference value includes:

[0101] If the difference is equal to a preset limit value, determining that the direction of the traffic flow includes straight travel;

[0102] If the difference is greater than a preset threshold value, determining that the direction of the traffic flow includes a right turn;

[0103] If the difference is smaller than a preset limit value, it is determined that the direction of the traffic flow includes a left turn.

[0104] By comparing the difference value (greater than zero) obtained by direct subtraction or after updating using the number of cycles with a preset threshold value, which is a positive integer, the traffic flow direction can be roughly divided into three cases: when the difference value is equal to the preset threshold value, when the difference value is greater than the preset threshold value, and when the difference value is less than the preset threshold value of zero. This method can exhaustively explore all possible cases, thereby improving the accuracy of the determined traffic flow direction.

[0105] In some embodiments, if the difference value obtained by directly performing the difference calculation is equal to a preset threshold value, such as 4, then it can be determined that the direction of the traffic flow is straight ahead, specifically including:

[0106] If the value of the exit direction is 4 (south) and the value of the entrance direction is 0 (north), then it can be determined that the difference between the exit and entrance values ​​is 4, and the direction of traffic flow is determined to be straight from north (entrance direction) to south (exit direction);

[0107] If the value of the exit direction is 5 (southwest), and the value of the entrance direction is 1 (northeast), then it can be determined that the difference between the exit and entrance values ​​is 4, and the direction of traffic flow is determined to be straight from northeast (entrance direction) to southwest (exit direction);

[0108] If the value of the exit direction obtained is 6 (west) and the value of the import direction obtained is 2 (east), it can be determined that the difference between the values ​​of the exit direction and the import direction is equal to 4, and the direction of the traffic flow is determined to be straight from east (import direction) to west (exit direction).

[0109] If the obtained value of the exit direction is 7 (northwest) and the obtained value of the import direction is 3 (southeast), it can be determined that the difference between the values ​​of the exit direction and the import direction is equal to 4, and the direction of the traffic flow is determined to be straight from southeast (import direction) to northwest (exit direction).

[0110] In the above, if the difference value obtained by directly performing the difference calculation is equal to the preset limit value, then the direction of the traffic flow is determined to include straight-ahead travel. In this way, the first possible situation of the direction of the traffic flow being straight-ahead travel can be determined without omission, thereby improving the accuracy and reliability of the determined direction of the traffic flow.

[0111] In some embodiments, if the difference value obtained by directly performing the difference calculation is less than zero, and after the difference value is updated using the sum of a preset number of cycles and the difference value, the updated difference value is equal to a preset threshold value, such as 4, then it can be determined that the direction of the traffic flow is straight ahead, specifically including:

[0112] If the obtained value of the import direction is equal to 4 (south), and the obtained value of the exit direction is 0 (north), it can be determined that the difference between the value of the exit direction and the value of the import direction is equal to -4. Then, the difference is further updated using the sum of the preset number of cycles and the difference. The updated difference is equal to 4, and it can be determined that the direction of the traffic flow is straight from south (import direction) to north (exit direction);

[0113] If the obtained value of the import direction is 5 (southwest), and the obtained value of the exit direction is 1 (northeast), it can be determined that the difference between the value of the exit direction and the value of the import direction is equal to -4. Then, the difference is further updated using the sum of the preset number of cycles and the difference. The updated difference is equal to 4, and it can be determined that the direction of the traffic flow is straight from southwest (import direction) to northeast (exit direction);

[0114] If the obtained value of the import direction is 6 (west) and the obtained value of the exit direction is 2 (east), it can be determined that the difference between the value of the exit direction and the value of the import direction is equal to -4, and then the difference is further updated using the preset number of cycles and the sum of the difference. The updated difference is equal to 4, and then it can be determined that the direction of the traffic flow is straight from west (import direction) to east (exit direction).

[0115] If the obtained value of the import direction is 7 (northwest) and the obtained value of the exit direction is 3 (southeast), it can be determined that the difference between the value of the exit direction and the value of the import direction is equal to -4, and then the difference is further updated using the sum of the preset number of cycles and the difference. The updated difference is equal to 4, and then it can be determined that the direction of the traffic flow is straight from northwest (import direction) to southeast (exit direction).

[0116] In the above, if the difference is less than zero (the opposite of the preset limit value), and after the difference is updated using the sum of the preset number of cycles and the difference, the updated difference is equal to the preset limit value, then it can be determined that the direction of the traffic flow is straight ahead. In this way, the second possible situation that the direction of the traffic flow is straight ahead can be determined without omission, thereby improving the accuracy and reliability of the determined direction of the traffic flow.

[0117] In this way, when the difference (obtained by direct difference calculation or after updating using the number of cycles) is equal to the preset limit value, it is possible to determine without omission all possible situations in which the direction of traffic flow is straight, thereby improving the accuracy and reliability of the determined direction of traffic flow.

[0118] In some embodiments, if the difference value obtained by directly performing the difference calculation is greater than a preset threshold value, such as 4, it can be determined that the direction of the traffic flow is a right turn, specifically including:

[0119] If the value of the exit direction is 5 (southwest), and the value of the entrance direction is 0 (north), then it can be determined that the difference between the exit and entrance values ​​is equal to 5, and therefore greater than 4, so it can be determined that the direction of traffic flow is turning right from north (entrance direction) to southwest (exit direction);

[0120] If the value of the exit direction is 6 (west) and the value of the entrance direction is 0 (north), then the difference between the exit and entrance values ​​is 6, which is greater than 4. Therefore, the traffic flow is turning right from north (entrance direction) to west (exit direction).

[0121] If the value of the exit direction obtained is 7 (northwest) and the value of the import direction obtained is 0 (north), it can be determined that the difference between the values ​​of the exit direction and the import direction is equal to 7, and therefore greater than 4, then it can be determined that the direction of traffic flow is turning right from north (import direction) to northwest (exit direction).

[0122] The above enumerates three situations in which the value of the import direction is 0 and the value of the export direction is 5, 6 or 7 respectively, so the difference is greater than 4 and it can be determined as a right turn.

[0123] In the two cases where the value in the import direction is 1 and the value in the export direction is 6 or 7 respectively, and the difference is greater than 4, it can be determined as a right turn. Please refer to the above description and do not repeat it again.

[0124] In a case where the value in the import direction is 2 and the value in the export direction is 7 and the difference is greater than 4, it can be determined as a right turn. Please refer to the above description and do not repeat it here.

[0125] In the above, if the difference value obtained by directly performing the difference calculation is greater than the preset threshold value, the direction of the traffic flow is determined to include a right turn. In this way, the first possible scenario of the right turn can be determined without omission, thereby improving the accuracy and reliability of the determined traffic flow direction.

[0126] In some embodiments, if the difference value obtained by directly performing the difference calculation is less than zero, and after the difference value is updated using the sum of a preset number of cycles and the difference value, the updated difference value is greater than a preset threshold value, such as 4, then it can be determined that the direction of the traffic flow is a right turn, specifically including:

[0127] If the obtained value of the entry direction is 3 (southeast), and the obtained value of the exit direction is 0 (north), it can be determined that the difference between the values ​​of the entry direction and the exit direction is equal to -3. Then, the difference is further updated using the sum of the preset number of cycles and the difference. The updated difference is 5, which is greater than 4. It can be determined that the direction of the traffic flow is turning right from southeast to north.

[0128] If the obtained value of the entry direction is 2 (east), and the obtained value of the exit direction is 0 (north), it can be determined that the difference between the values ​​of the entry direction and the exit direction is equal to -2. Then, the difference is further updated using the sum of the preset number of cycles and the difference. The updated difference is 6, which is greater than 4. It can be determined that the direction of the traffic flow is turning right from east to north.

[0129] If the obtained value of the import direction is 1 (northeast) and the obtained value of the exit direction is 0 (north), it can be determined that the difference between the value of the import direction and the value of the exit direction is equal to -1, and the difference is further updated using the sum of the preset number of cycles and the difference. The updated difference is 5, so it is greater than 4, and it can be determined that the direction of the traffic flow is turning right from northeast to north.

[0130] The above enumerates three situations in which the value of the exit direction is 0 and the value of the entry direction is 1, 2 or 3 respectively, and the updated difference is greater than 4, which can be determined as a right turn.

[0131] For the three situations where the value in the exit direction is 1 and the value in the entry direction is 2, 3 or 4 respectively, and the updated difference is greater than 4 and thus it can be determined as a right turn, please refer to the above description and will not be repeated here.

[0132] For the three situations where the value of the exit direction is 2 and the value of the exit direction is 3, 4 or 5 and the updated difference is greater than 4 and it can be determined as a right turn, please refer to the above description and will not be repeated here.

[0133] For the three situations where the value of the exit direction is 3 and the value of the exit direction is 4, 5 or 6 and the updated difference is greater than 4 and it can be determined as a right turn, please refer to the above description and will not be repeated here.

[0134] For the three situations where the value of the exit direction is 4 and the value of the exit direction is 5, 6 or 7 and the updated difference is greater than 4 and it can be determined as a right turn, please refer to the above description and will not be repeated here.

[0135] In the two cases where the value of the exit direction is 5 and the value of the exit direction is 6 or 7 and the updated difference is greater than 4 and it can be determined as a right turn, please refer to the above description and will not be repeated.

[0136] In a case where the value of the exit direction is 6 and the value of the exit direction is 7 and the updated difference is greater than 4 and it can be determined as a right turn, please refer to the above description and will not be repeated.

[0137] In the above, if the difference is less than zero, and after the difference is updated using the sum of the preset number of cycles and the difference, the updated difference is greater than the preset limit value, then it can be determined that the direction of the traffic flow is a right turn. In this way, the second possible situation that the direction of the traffic flow is a right turn can be determined without omission, thereby improving the accuracy and reliability of the determined direction of the traffic flow.

[0138] In this way, when the difference (obtained by direct difference calculation or after updating using the number of cycles) is greater than the preset limit value, it is possible to determine without omission all possible situations in which the direction of traffic flow is a right turn, thereby improving the accuracy and reliability of the determined direction of traffic flow.

[0139] In some embodiments, if the difference value obtained by directly performing the difference calculation is less than a preset threshold value, such as 4, then it can be determined that the direction of the traffic flow is a left turn, specifically including:

[0140] If the value of the exit direction is 3 (southeast), and the value of the entrance direction is 0 (north), then it can be determined that the difference between the exit and entrance values ​​is equal to 3, and therefore less than 4, so it can be determined that the direction of traffic flow is from north to southeast and turns left;

[0141] If the value of the exit direction is 2 (east), and the value of the entrance direction is 0 (north), then it can be determined that the difference between the exit and entrance values ​​is equal to 2, and therefore less than 4, so it can be determined that the direction of the traffic flow is turning left from north to east;

[0142] If the value of the exit direction obtained is 1 (northeast) and the value of the import direction obtained is 0 (north), it can be determined that the difference between the values ​​of the exit direction and the import direction is equal to 1, and therefore less than 4, then it can be determined that the direction of the traffic flow is turning left from north to northeast.

[0143] The above enumerates three situations in which the value of the import direction is 0 and the value of the export direction is 1, 2 or 3 respectively, so the difference is less than 4 and it can be determined as a left turn.

[0144] For the three situations where the value in the import direction is 1 and the value in the export direction is 2, 3 or 4 respectively and the difference is less than 4 and it can be determined as a left turn, please refer to the above description and will not be repeated here.

[0145] For the three situations where the value of the import direction is 2 and the value of the import direction is 3, 4 or 5 and the difference is less than 4 and it can be determined as a left turn, please refer to the above description and will not be repeated.

[0146] For the three situations where the value in the import direction is 3 and the value in the import direction is 4, 5 or 6 and the difference is less than 4 and it can be determined as a left turn, please refer to the above description and will not be repeated.

[0147] For the three situations where the value in the import direction is 4 and the value in the import direction is 5, 6 or 7 and the difference is less than 4 and it can be determined as a left turn, please refer to the above description and will not be repeated.

[0148] In the two cases where the value in the import direction is 5 and the value in the import direction is 6 or 7 and the difference is less than 4 and it can be determined as a left turn, please refer to the above description and will not be repeated.

[0149] In the case where the value in the import direction is 6 and the value in the import direction is 7 and the difference is less than 4, it can be determined as a left turn. Please refer to the above description and do not repeat it here.

[0150] In the above, if the difference value obtained by directly performing the difference calculation is less than the preset threshold value, the direction of the traffic flow is determined to include a left turn. In this way, the first possible scenario of the traffic flow direction being a left turn can be determined without omission, thereby improving the accuracy and reliability of the determined traffic flow direction.

[0151] In some embodiments, if the difference value obtained by directly performing the difference calculation is less than zero, and after the difference value is updated using the sum of a preset number of cycles and the difference value, the updated difference value is less than a preset threshold value, such as 4, then it can be determined that the direction of the traffic flow is a left turn, specifically including:

[0152] If the obtained value of the entry direction is 5 (southwest) and the obtained value of the exit direction is 0 (north), it can be determined that the difference between the values ​​of the entry direction and the exit direction is equal to -5. Then, the difference is further updated using the sum of the preset number of cycles and the difference. The updated difference is 3, which is less than 4. It can be determined that the direction of the traffic flow is turning left from southwest to north.

[0153] If the obtained value of the entry direction is 6 (west) and the obtained value of the exit direction is 0 (north), it can be determined that the difference between the values ​​of the entry direction and the exit direction is equal to -6. Then, the difference is further updated using the sum of the preset number of cycles and the difference. The updated difference is 2, which is smaller than 4. Therefore, it can be determined that the direction of the traffic flow is turning left from west to north.

[0154] If the obtained value of the import direction is 7 (northwest) and the obtained value of the exit direction is 0 (north), it can be determined that the difference between the value of the import direction and the value of the exit direction is equal to -7, and then the difference is further updated using the preset number of cycles and the sum of the difference. The updated difference is 1, so it is less than 4, and it can be determined that the direction of the traffic flow is turning left from northwest to north.

[0155] The above enumerates three situations in which the value of the exit direction is 0 and the value of the entry direction is 5, 6 or 7 respectively, and the updated difference is less than 4, which can be determined as a left turn.

[0156] In the two cases where the value in the exit direction is 1 and the value in the entry direction is 6 or 7 respectively, and the updated difference is less than 4 and thus it can be determined as a left turn, please refer to the above description and will not be repeated here.

[0157] In a case where the value in the exit direction is 2 and the value in the entry direction is 7 and the updated difference is less than 4, it can be determined as a left turn. Please refer to the above description and do not repeat it here.

[0158] In the above, if the difference is less than zero, and after the difference is updated using the sum of the preset number of cycles and the difference, the updated difference is less than the preset limit value, then it can be determined that the direction of the traffic flow is a left turn. In this way, the second possible situation that the direction of the traffic flow is a left turn can be determined without omission, thereby improving the accuracy and reliability of the determined direction of the traffic flow.

[0159] In this way, when the difference (obtained by direct difference calculation or after updating using the number of cycles) is less than the preset limit value, it is possible to determine all possible situations in which the direction of traffic flow is a left turn without omission, thereby improving the accuracy and reliability of the determined direction of traffic flow.

[0160] In some embodiments, as Figure 3 As shown, the steps for determining the direction of traffic flow can be expressed as:

[0161] 1.1 If (out - in) < 0, then out = out + 8.

[0162] 1.2 If (out - in) = 4, it is going straight.

[0163] 1.3 If (out-in)>4, then turn right.

[0164] 1.4 If (out-in) < 4, then turn left.

[0165] Among them, "out" is the value in the export direction, "in" is the value in the import direction, "8" is the preset number of cycles, and "4" is the preset limit value.

[0166] In this way, for all possible cases of numerical values ​​of the import direction and the export direction in the locking command, a simple and efficient method for determining the direction of traffic flow is provided, which is simple in calculation and has clear physical meaning.

[0167] In some embodiments, all levels of traffic signal systems, intelligent traffic integrated command platforms, and various types of traffic signals uniformly adopt the following lane parameter LaneParam, which is defined as follows:

[0168] <laneparam>

[0169] <crossid> Intersection number< / crossid>

[0170] <laneno> Lane number< / laneno>

[0171] <direction> Lane direction< / direction>

[0172] <attribute> Lane attributes< / attribute>

[0173] <movement> Lane flow< / movement>

[0174] <feature> Lane Features< / feature>

[0175] < / laneparam>

[0176] In the above, the intersection number CrossID is the index or unique identifier for the intersection. The lane number LaneNo is usually numbered sequentially starting from 1 and has a value of 2 digits, such as 06 or 18. Typically, the lane numbers of each lane in the lane information of any intersection are different, so they can be used to uniquely identify each lane. Lane direction Direction is the direction of the lane relative to the intersection. The values ​​are shown in Table 1. The values ​​of lane attributes Attribute are shown in Table 2. If the value is 1, it indicates an entrance lane; if the value is 2, it indicates an exit lane; if the value is 9, it indicates other. The values ​​of lane flow direction Movement are shown in Table 3. Typically, near intersections, each lane on the road is usually equipped with a ground guide arrow to indicate the flow direction of the lane. The values ​​of lane features Feature are shown in Table 4. If the value is 1, it indicates a motor vehicle lane; if the value is 2, it indicates a non-motor vehicle lane; if the value is 3, it indicates a mixed motor vehicle and non-motor vehicle lane; and if the value is 9, it indicates other.

[0177] Table 2. Lane attribute table

[0178] Serial number value illustrate 1 1 import 2 2 exit 3 9 other

[0179] Table 3. Numerical table of lane flow direction

[0180] Serial number value Lane flow 1 11 straight 2 12 Turn left 3 13 Turn right 4 21 Straight left mixed row 5 22 Straight right mixed row 6 23 Mixed left and right 7 24 Mixed rows of straight and left 8 31 U-turn 9 99 other

[0181] Table 4. Lane feature value table

[0182]

[0183]

[0184] It should be understood that Tables 1 to 4 above are generated by quantifying the various attributes of intersections and lanes in order to more efficiently store traffic information such as intersections and lanes in the database, improve the efficiency of data access, and more efficiently encapsulate and transmit them within control instructions.

[0185] In some embodiments, as Figure 4B The lane information corresponding to the intersection shown is listed in Table 5. In this north-south intersection, the densely packed area indicates lanes with exit attributes, such as the northbound exit lane and the southbound exit lane. The northbound entrance lanes are numbered 05 to 08, and the southbound entrance lanes are numbered 01 to 04.

[0186] Table 5. Lane information for intersection number *007

[0187]

[0188] Accordingly, in some embodiments, referring to the aforementioned Table 3, if the direction of the traffic flow is determined to be straight, the value of the direction of the traffic flow is determined to be 11; if the direction of the traffic flow is determined to be a left turn, the value of the direction of the traffic flow is determined to be 12; if the direction of the traffic flow is determined to be a right turn, the value of the direction of the traffic flow is determined to be 13.

[0189] In some embodiments, in step S20 above, determining a lane that matches the direction of the traffic flow from the lanes at the designated intersection includes:

[0190] Obtain lane information for the designated intersection, where the lane information includes the direction of each lane (as shown in the direction value table in Table 1) and the flow direction of each lane (as shown in Table 3);

[0191] The direction of the exit lane is determined as the entrance direction of the traffic flow, and the entrance lane whose flow direction matches the flow direction of the traffic flow is determined as the matching lane.

[0192] In the above, lane information for the designated intersection is obtained, including the direction of each lane and the flow direction of each lane. The direction of the exit lane is determined to be the entrance direction of the traffic flow, and the entrance lane whose flow direction matches the direction of the traffic flow is defined as the matching lane. Furthermore, the traffic flow can be locked by setting the traffic light in the matching lane to the "pass" state. This allows for the rapid and accurate determination of the necessary information for logical matching with the traffic light, enabling a rapid response to traffic flow control commands issued by traffic control authorities, thereby improving traffic control efficiency and traffic flow efficiency.

[0193] In some embodiments, determining a lane whose flow direction matches the flow direction of the traffic flow includes:

[0194] The lane whose flow direction matches the flow direction of the traffic flow most closely is determined as the matching lane, wherein:

[0195] When the direction of the traffic flow includes straight ahead, the matching degrees of lanes whose directions are straight ahead, mixed straight and left, mixed straight and right, and mixed straight and left and right with the direction of the traffic flow decrease in sequence;

[0196] When the direction of the traffic flow includes a left turn, the matching degrees of the lanes whose directions are left turn, mixed straight and left traffic, mixed left and right traffic, and mixed straight and left and right traffic with the direction of the traffic flow decrease in descending order;

[0197] When the direction of the traffic flow includes a right turn, the matching degrees of lanes whose directions are right turn, mixed straight and right traffic, mixed left and right traffic, and mixed straight and left and right traffic with the direction of the traffic flow decrease in sequence.

[0198] In some embodiments, referring to the lane flow direction value table in Table 3, when the flow direction of the traffic flow includes straight ahead and the value is 11, first search for the lane (that is, the straight lane) whose lane flow direction value is 11 (that is, straight ahead) in the lane information of the designated intersection; when there is no straight lane, search for the lanes whose lane flow direction values ​​are 21 (that is, mixed straight and left), 22 (that is, mixed straight and right), and 24 (that is, mixed straight and left) in turn until a matching lane is determined.

[0199] In some embodiments, referring to the lane flow direction value table in Table 3, when the flow direction of the traffic flow includes a right turn and the value is 13, first search the lane information of the designated intersection for a lane whose flow direction value is 13 (i.e., right turn) (i.e., right-turn lane); when there is no right-turn lane, search in turn for lanes whose flow direction values ​​are 22 (i.e., mixed straight and right traffic), 23 (i.e., mixed left and right traffic), and 24 (i.e., mixed straight and left and right traffic) until a matching lane is determined.

[0200] In some embodiments, referring to the lane flow direction value table in Table 3, when the flow direction of the traffic flow includes a left turn and the value is 12, first search the lane information of the designated intersection for a lane whose flow direction value is 12 (i.e., left turn) (i.e., left-turn lane); when there is no left-turn lane, search in turn for lanes whose flow direction values ​​are 21 (i.e., mixed straight and left traffic), 23 (i.e., mixed left and right traffic), and 24 (i.e., mixed straight and left and right traffic) until a matching lane is determined.

[0201] In the above example, lanes with a straight ahead, left turn, or right turn direction are first matched. If no lanes with a corresponding straight ahead, left turn, or right turn direction exist at the intersection, other lanes with straight left, straight right, mixed left and right, or mixed straight left and right directions are then matched. This allows for better utilization of the traffic signal's execution logic and allows for quick response to traffic control commands issued by traffic control authorities, improving both traffic control efficiency and traffic flow efficiency.

[0202] In some embodiments, referring to the lane flow direction value table in Table 3, determining a lane whose flow direction matches the flow direction of the traffic flow further includes:

[0203] When the flow direction of the traffic flow includes a U-turn and has a value of 31, a lane whose flow direction value is 31 (ie, a U-turn) is searched in the lane information of the designated intersection as a matching lane.

[0204] In some embodiments, when there is no U-turn lane at the designated intersection, other lanes are no longer searched, the search is terminated, and an error message is given with a specified content prompt, such as the specified content prompt "There is no U-turn lane at the designated intersection."

[0205] The above can quickly, accurately and reasonably match the matching lanes, and can quickly respond to the traffic flow control instructions issued by the traffic command department, which is conducive to improving the efficiency of traffic control and traffic flow efficiency.

[0206] In some embodiments, all levels of traffic signal systems, intelligent traffic integrated command platforms, and various types of traffic signals uniformly adopt the following stage parameter StageParam, which is defined as follows:

[0207] <stageparam>

[0208] <crossid> Intersection number< / crossid>

[0209] <stageno> Phase No.< / stageno>

[0210] <stagename> name< / stagename>

[0211] <attribute> Stage characteristics< / attribute>

[0212] <green> Green light time< / green>

[0213] <redyellow> Red and yellow time< / redyellow>

[0214] <yellow> Yellow light time< / yellow>

[0215] <allred> All Red Time< / allred>

[0216] <phasenolist>

[0217] <!-- Release phase sequence number list -->

[0218] <phaseno> Phase number< / phaseno>

[0219]

[0220] < / phasenolist>

[0221] < / stageparam>

[0222] Among them, the intersection number CrossID is the index or unique identifier for the intersection stored locally by the signal. The stage number StageNo is usually sorted in sequence starting from 1, and the value is a 2-digit number, such as 1 or 12. The stage name StageName can be flexibly defined, and it is based on clarity and understanding. There are two values ​​for the stage characteristic Attribute. If the value is 0, it means general; if the value is 1, it means induction. The unit of the green light time Green is seconds (s). The unit of the red and yellow time RedYellow is seconds (s). The unit of the yellow light time Yellow is seconds (s). The unit of the all-red time AllRed is seconds (s). The release phase number list PhaseNoList usually contains at least one phase number <phaseno>.

[0223] In some embodiments, all levels of traffic signal systems, intelligent traffic integrated command platforms, and various types of traffic signals uniformly adopt the following phase parameter PhaseParam, which is defined as follows:

[0224] <phaseparam>

[0225] <crossid> Intersection number< / crossid>

[0226] <phaseno> Phase number< / phaseno>

[0227] <phasename> Phase Name< / phasename>

[0228] <attribute> Phase characteristics< / attribute>

[0229] <lanenolist>

[0230] <!--Phase release lane sequence number list-->

[0231] <laneno> Lane number< / laneno>

[0232]

[0233] < / lanenolist>

[0234] <peddirlist>

[0235] <!--Phase release sidewalk direction-->

[0236] <direction>< / direction>

[0237] <direction>< / direction>

[0238]

[0239] < / peddirlist>

[0240] < / phaseparam>

[0241] In the above, the intersection number CrossID is the index or unique identifier for the intersection stored locally by the signal. The phase number PhaseNo is numbered sequentially starting from 1 and has a value of 2 digits, such as 18 or 36. Usually, in the phase information of any intersection, the phase numbers of each phase are different, so they can be used to uniquely identify each phase. The phase name PhaseName can be defined flexibly to be clear and easy to understand. The phase feature Feature usually takes 3 values, such as a value of 1, indicating a critical phase; a value of 0, indicating a non-critical phase; a value of 9, indicating other. The phase release lane number list LaneNoList usually contains at least one lane number <laneno>, such as the lane number in the lane parameter above. The direction list PedDirList of the phase released sidewalk usually contains at least one released sidewalk direction <direction>, the value is shown in the above Table 1. If there is a segmented release in the same direction, a digit can be added after the direction to describe the release segment.

[0242] In some embodiments, as Figure 2 As shown, in the above step S20, controlling the light state of the signal light of the matching lane includes:

[0243] determining a phase corresponding to the matched lane;

[0244] Determining a phase corresponding to the phase that allows the matched lane to pass;

[0245] The traffic light corresponding to the designated intersection is controlled in the phase-locked stage so that the light state of the traffic light of the matching lane is pass.

[0246] The above process first determines the phase corresponding to the matching lane, then determines the stage corresponding to the phase that allows the matching lane to pass. The traffic light at the designated intersection is then controlled to lock the phase to the stage, so that the traffic light in the matching lane is in the pass state. In this way, from lane to phase to stage, the necessary information for logical matching with the traffic light can be quickly and accurately determined, allowing for rapid response to traffic control commands issued by traffic control authorities to lock traffic flow, which helps improve traffic control efficiency and traffic flow efficiency.

[0247] In this way, the stage signal can lock the phase by locking the stage, with short execution delay and high execution efficiency, which is conducive to improving traffic control efficiency.

[0248] In some embodiments, determining the phase corresponding to the matched lane includes:

[0249] Determining at least one phase corresponding to the matching lane. This is because, as described above, a designated intersection generally has at least one phase that can release the matching lane. That is, each phase can release a lane that is oriented in the direction of the traffic flow entrance and whose flow direction matches the flow direction of the traffic flow.

[0250] Accordingly, determining the phase corresponding to the phase in which the matched lane can be passed includes:

[0251] As described above, each phase corresponds to a list of release phase numbers, that is, each phase includes at least one phase number, that is, at least one phase; from the multiple phases pre-stored by the signal, at least one phase that includes the phase and the lane direction is determined;

[0252] According to a preset strategy, one of the phases is selected as the phase that allows the matched lane to pass. This can be accomplished by referring to existing technologies and will not be described in detail. For example, in one embodiment, Phase A defined at the intersection is east-bound straight travel, and Phase B defined is east-bound left turn travel; Phase 1 defined at the intersection only includes Phase A, meaning only east-bound straight travel is permitted; Phase 2 defined at the intersection includes both Phase A and Phase B, meaning both east-bound straight travel and east-bound left turn travel are permitted.

[0253] In this case, the previously determined traffic flow direction is straight ahead, and the traffic inbound direction is east. Therefore, the matching lane corresponds to phase A, which indicates east-straight travel. During phase matching, phase 1 can be prioritized and locked to allow east-straight travel. Alternatively, phase 2 can be matched and locked to also allow east-straight travel. In this case, locking the phase means that the traffic light corresponding to the matching lane is green.

[0254] In some embodiments, it further includes:

[0255] The traffic flow type is extracted from the locking command to determine the road user specified by the traffic flow, such as pedestrians, motor vehicles or non-motor vehicles, and then a lane whose characteristics match the type of the traffic flow is determined as a matching lane.

[0256] In this way, the traffic signal set up at the designated intersection can quickly respond to the traffic flow control instruction issued by the traffic control department and select the matching lane that matches the traffic flow type.

[0257] In some embodiments, it further includes:

[0258] Extracting the start time and duration of the locked traffic flow from the locking command;

[0259] Accordingly, controlling the light state of the signal light of the matching lane to lock the traffic flow includes:

[0260] At the start time, the light state of the signal light of the matching lane starts to be controlled to be green, and is continuously locked until the locking duration is reached.

[0261] In this way, the traffic lights installed at designated intersections can quickly respond to traffic flow control instructions issued by traffic control departments and execute the designated locking duration, thereby improving the efficiency of traffic control as a whole.

[0262] like Figure 2 As shown, the traffic signal control device 200 according to an embodiment of the present invention includes:

[0263] The flow direction determining unit 210 is configured to obtain a locking command, wherein the locking command includes an inlet direction, an outlet direction, and a designated intersection where the traffic flow is located; and determine the flow direction of the traffic flow according to the inlet direction and the outlet direction.

[0264] The locking control unit 220 is configured to determine a lane that matches the direction of the traffic flow from among the lanes at the designated intersection, and control the light state of the signal light of the matching lane to lock the traffic flow.

[0265] For the above steps specifically performed by the flow direction determination unit 210 and the locking control unit 220 , reference may be made to the aforementioned step S10 or S20 , respectively, and will not be repeated herein.

[0266] like Figure 5 As shown, the control system for locking traffic flow according to an embodiment of the present invention includes:

[0267] The central dispatching platform 300 is used to send a locking command to the traffic signal control device 200;

[0268] The traffic signal control device 200 is configured to obtain the lock command, the lock command including the inlet direction and outlet direction of the traffic flow, and the designated intersection where the traffic flow is located; determine the direction of the traffic flow based on the inlet and outlet directions; determine a lane matching the direction of the traffic flow from lanes at the designated intersection, determine a phase corresponding to the matching lane; and determine a phase corresponding to the phase at which the lane can be opened to traffic;

[0269] The phase signal machine 100 corresponds to the designated intersection and is used to lock the phase in the phase so that the light state of the signal light of the matching lane is pass.

[0270] In some embodiments, as Figure 5 As shown, the central dispatching platform 300 sends a locking command 1 for intersection 1 and a locking command 2 for intersection 2 respectively; the traffic signal control device 200 obtains the locking command 1 and the locking command 2 respectively; determines the lane 1 that matches the flow direction of the traffic flow 1 included in the locking command 1, determines the stage 1 that allows the lane 1 to pass, determines the lane 2 that matches the flow direction of the traffic flow 2 included in the locking command 2, and determines the stage 2 that allows the lane 2 to pass; matches the stage signal 100 corresponding to the intersection 1, and matches the stage signal 100 corresponding to the intersection 2; sends the stage locking instruction 1 and the stage locking instruction 2 to the stage signal 100, wherein the stage locking instruction 1 records the stage 1, so that the stage signal 100 at the intersection 1 makes the light state of the signal light of the matched lane 1 pass; wherein the stage locking instruction 2 records the stage 2, so that the stage signal 100 at the intersection 2 makes the light state of the signal light of the matched lane 2 pass.

[0271] In some embodiments, the traffic signal control device 200 receives a lock command from a central dispatch platform 300 connected via a local area network (e.g., a traffic network or a dedicated video network). Based on the IP address of the signal machine corresponding to the designated intersection, the traffic signal control device 200 encapsulates the lock phase instruction in a UDP datagram and sends it via UDP communication in a point-to-point unicast manner. The signal machine then extracts the lock phase instruction corresponding to the lock command from the received UDP datagram and executes it.

[0272] In this way, the control system for locking traffic flow can control the traffic lights of various stages set up within the service area in parallel, realize the locking traffic flow direction control for multiple intersections in the service area, and quickly respond to the locking traffic flow direction control instructions issued by the traffic command department, which is conducive to improving the efficiency of traffic control and traffic efficiency.

[0273] like Figure 6 As shown, the computing device 600 of the embodiment of the present application includes: a processor 610, a memory 620, and may also include a communication interface 630. It should be understood that the Figure 5 The communication interface 630 in the computing device 600 shown in FIG. 1 can be used to communicate with other devices. The processor 610 can be connected to a memory 620. The memory 620 can be used to store the program code and data. Therefore, the memory 620 can be a storage unit within the processor 610, an external storage unit independent of the processor 610, or a component including a storage unit within the processor 610 and an external storage unit independent of the processor 610.

[0274] Optionally, computing device 600 may further include a bus. Memory 620 and communication interface 630 may be connected to processor 610 via the bus. The bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. Buses may be categorized as address buses, data buses, and control buses.

[0275] It should be understood that in the embodiment of the present application, the processor 610 can adopt a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. Alternatively, the processor 610 adopts one or more integrated circuits to execute relevant programs to implement the technical solutions provided in the embodiment of the present application.

[0276] The memory 620 may include a read-only memory and a random access memory, and provides instructions and data to the processor 610. A portion of the processor 610 may also include a non-volatile random access memory. For example, the processor 610 may also store information about the device type.

[0277] When the computing device 600 is running, the processor 610 executes the computer-executable instructions in the memory 620 to perform the aforementioned operation steps of the method for locking traffic flow based on the ingress and egress directions.

[0278] It should be understood that the computing device 600 according to the embodiment of the present application can correspond to the corresponding subject in executing the method according to each embodiment of the present application, and the above-mentioned and other operations and / or functions of each module in the computing device 600 are respectively for implementing the corresponding processes of each method of the present embodiment. For the sake of brevity, they will not be repeated here.

[0279] The functions of the above devices can be implemented by executing a program (software) by a processor. In addition, they can also be implemented by hardware such as LSI (Large Scale Integration) and ASIC (Application Specific Integrated Circuit), or they can be implemented by a combination of software and hardware.

[0280] The words "first, second, third, etc." or module A, module B, module C and similar terms used throughout this application are only used to distinguish similar objects and do not represent a specific ordering of the objects. It is understood that the specific order or sequence can be interchanged where permitted.

[0281] Throughout this application, the numbers used to represent steps, such as S10, S20, etc., do not necessarily mean that the steps must be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.

[0282] The term "comprising" used throughout this application should not be construed as limiting the contents listed thereafter; it does not exclude other structural elements or steps. Therefore, it should be interpreted as specifying the presence of the technical features, integers, steps, or components mentioned, but does not exclude the presence or addition of one or more other technical features, integers, steps, or components, or groups thereof.

[0283] It can be understood that those skilled in the art can combine the features mentioned in one or more embodiments mentioned throughout the present application with the features of other embodiments in any appropriate manner to implement the present application.

[0284] Note that the foregoing are only preferred embodiments of the present application and the technical principles employed. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the technical concept of the present application, all of which fall within the scope of protection of the present application.< / direction> < / laneno> < / phaseno>

Claims

1. A method for locking traffic flow based on import and export directions, characterized in that: include: Obtaining a locking command, wherein the locking command includes an inlet direction, an outlet direction, and a designated intersection where the traffic flow is located; Determining the direction of traffic flow according to the inlet direction and the outlet direction includes: determining a difference between a numerical value corresponding to the inlet direction and a numerical value corresponding to the outlet direction; determining the direction of traffic flow according to the difference; wherein, when the difference is less than zero, updating the difference by a sum of 8 and the difference; if the difference is equal to 4, determining that the direction of traffic flow includes going straight; if the difference is greater than 4, determining that the direction of traffic flow includes turning right; if the difference is less than 4, determining that the direction of traffic flow includes turning left; and if the difference is equal to zero, determining that the direction of traffic flow includes turning U-turn; Determining a lane that matches the direction of the traffic flow from among the lanes at the designated intersection, and controlling the light state of the traffic light of the matching lane to lock the traffic flow; The values ​​for determining the import or export direction of traffic flow include: For intersections with four directions, regardless of their shape, only the four directions of north, east, south, and west are considered. For intersections with more than four directions, the four directions of north, east, south, and west are determined first, and then the remaining directions are determined to be northeast, southeast, southwest, or northwest. Starting from the north, the numbers are numbered in clockwise direction according to the following set correspondence: north, northeast, east, southeast, south, southwest, west and northwest correspond to 0, 1, 2, 3, 4, 5, 6, 7 respectively.

2. The method for locking traffic flow based on import and export directions according to claim 1, characterized in that: The controlling the light state of the signal light of the matched lane includes: determining a phase corresponding to the matched lane; Determining a phase corresponding to the phase that allows the matched lane to pass; The traffic light corresponding to the designated intersection is controlled in the phase-locked stage so that the light state of the traffic light of the matching lane is pass.

3. The method for locking traffic flow based on import and export directions according to claim 1, characterized in that: Determining a lane that matches the direction of the traffic flow from among the lanes at the designated intersection includes: Obtaining lane information of the designated intersection; The direction of the exit lane is determined as the entrance direction of the traffic flow, and the entrance lane whose flow direction matches the flow direction of the traffic flow is determined as the matching lane.

4. The method for locking traffic flow based on import and export directions according to claim 1, characterized in that: The determining of a lane whose flow direction matches the flow direction of the traffic flow includes: The lane whose flow direction matches the flow direction of the traffic flow most closely is determined as the matching lane, wherein: When the direction of the traffic flow includes straight ahead, the matching degrees of lanes whose directions are straight ahead, mixed straight and left, mixed straight and right, and mixed straight and left and right with the direction of the traffic flow decrease in sequence; When the direction of the traffic flow includes a left turn, the matching degrees of the lanes whose directions are left turn, mixed straight and left traffic, mixed left and right traffic, and mixed straight and left and right traffic with the direction of the traffic flow decrease in descending order; When the direction of the traffic flow includes a right turn, the matching degrees of lanes whose directions are right turn, mixed straight and right traffic, mixed left and right traffic, and mixed straight and left and right traffic with the direction of the traffic flow decrease in sequence.

5. A traffic signal control device, characterized in that: include: a flow direction determination unit, configured to obtain a locking command, wherein the locking command includes an inlet direction, an outlet direction, and a designated intersection where the traffic flow is located; Determining the direction of the traffic flow according to the entrance direction and the exit direction specifically includes: determining a difference between a numerical value corresponding to the entrance direction and a numerical value corresponding to the exit direction; determining the direction of the traffic flow according to the difference; wherein, when the difference is less than zero, updating the difference by a sum of 8 and the difference; if the difference is equal to 4, determining that the direction of the traffic flow includes going straight; if the difference is greater than 4, determining that the direction of the traffic flow includes turning right; if the difference is less than 4, determining that the direction of the traffic flow includes turning left; and if the difference is equal to zero, determining that the direction of the traffic flow includes turning U-turn; a locking control unit, configured to determine a lane matching the direction of the traffic flow from among the lanes at the designated intersection, and control the light state of the signal light of the matching lane to lock the traffic flow; The values ​​for determining the import and export directions of traffic flow include: For intersections with four directions, regardless of their shape, only the four directions of north, east, south, and west are considered. For intersections with more than four directions, the four directions of north, east, south, and west are determined first, and then the remaining directions are determined to be northeast, southeast, southwest, or northwest. Starting from the north, the numbers are numbered in clockwise direction according to the following set correspondence: north, northeast, east, southeast, south, southwest, west and northwest correspond to 0, 1, 2, 3, 4, 5, 6, 7 respectively.

6. A computing device, characterized in that include: A processor and a memory having program instructions stored thereon, wherein when the program instructions are executed by the processor, the processor executes the method for locking traffic flow based on the inlet and outlet directions according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Traffic signal phase position configuration system

    CN102651170A

  • System and method for synchronously displaying traffic signal lamp state of front intersection

    CN103985267A