WO2021142979A1 - Traffic signal controller configuration method and apparatus - Google Patents

Traffic signal controller configuration method and apparatus Download PDF

Info

Publication number
WO2021142979A1
WO2021142979A1 PCT/CN2020/088320 CN2020088320W WO2021142979A1 WO 2021142979 A1 WO2021142979 A1 WO 2021142979A1 CN 2020088320 W CN2020088320 W CN 2020088320W WO 2021142979 A1 WO2021142979 A1 WO 2021142979A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
phase
signal
light
signal light
Prior art date
Application number
PCT/CN2020/088320
Other languages
French (fr)
Chinese (zh)
Inventor
李春明
Original Assignee
爱易成技术(天津)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 爱易成技术(天津)有限公司 filed Critical 爱易成技术(天津)有限公司
Publication of WO2021142979A1 publication Critical patent/WO2021142979A1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading

Definitions

  • This application relates to the technical field of signals, and in particular to a method and device for configuring traffic signals.
  • the traffic signal configuration tool is a set of software sold in conjunction with the signal hardware product. It is used to replace the manual control panel in the signal hardware product and is a method of operation through a PC (Personal Computer).
  • the traffic signal configuration tool is closely integrated with the development of the signal hardware system, and is upgraded synchronously with the hardware system. Therefore, it can also replace the central system to configure and maintain some special functions of the signal hardware product.
  • the current traffic signal configuration tool mainly realizes the setting by filling in the parameters in the form. Due to the large number of parameters, the setting process is too cumbersome and complicated, and it cannot directly reflect the effect of the set signal.
  • the purpose of this application is to provide a traffic signal configuration method and device to alleviate the cumbersome and complicated technical problems of the existing traffic signal configuration tool setting process, simplify the traffic signal configuration process, and, It can directly reflect the effect of the signal after setting.
  • an embodiment of the present application provides a method for configuring a traffic signal, the method comprising: when a configuration operation is monitored, displaying a graphical configuration interface corresponding to the traffic signal on the display interface of the terminal, wherein the graphic The customized configuration interface includes a first configuration area that configures the relationship between the signal terminal and the intersection signal light.
  • the first configuration area displays the electronic map of the current intersection lane; it receives the add instruction acting on the first configuration area and displays it in the graphical configuration interface
  • the second configuration area add the signal light identification of each lane corresponding to the signal light in the second configuration area based on the electronic map according to the adding instruction, and associate the corresponding signal terminal identification, intersection information and driving direction information for each signal light identification; when monitoring When the instruction is added, the lamp hour configuration interface is displayed in the second configuration area; among them, in the lamp hour configuration interface, each signal lamp identifier and the phase control associated with each signal lamp identifier are arranged in sequence, and the phase control is the corresponding signal lamp.
  • Graphical control of the phase receives the setting operation acting on the phase control, and configures the phase of the signal light corresponding to each lane through the phase control based on the setting operation.
  • the above-mentioned signal light identifier corresponds to a unique signal terminal identifier;
  • the phase control is a green light phase control, including a main control, and sub-controls corresponding to each signal light identifier;
  • the main control and each sub-control It includes at least two green light phase areas, each green light phase area corresponds to a preset phase duration, and the end of the green light phase area is also provided with an isolated phase area including a yellow light isolation area and a red light isolation area; in the second configuration area
  • the above method further includes: in the lamp hour configuration interface, generating a lamp hour configuration matrix containing phase controls based on the channelization requirements of each lane displayed on the electronic map; wherein, each column of the lamp hour configuration matrix
  • the displayed content includes in turn: the signal terminal identifier corresponding to each signal light identifier, intersection information, signal light indication direction information and phase control.
  • Each sub-control is arranged in sequence at the position corresponding to each signal light identifier in the light time
  • the step of configuring the phase corresponding to the signal light through the phase control based on the setting operation includes: based on the setting operation, setting each signal light in sequence according to the channelization requirements of each lane in the light time configuration matrix. Identifies the selected state of the corresponding sub-control; among them, when the sub-control is selected, the signal lamp corresponding to the semaphore indicator displays a green light; the green light phase of the semaphore is configured synchronously through the selected state of each sub-control.
  • the above-mentioned main control and each sub-control is a progress bar control based on the phase duration, the length of the progress bar control corresponds to the phase duration, and the progress bar control is equipped with a phase modification unit;
  • the step of configuring the phase of the semaphore in the selected state also includes: adjusting the position of the phase modification unit on the progress bar control according to the setting operation, and changing the length of the progress bar control corresponding to the phase duration, so as to configure the indicator of each semaphore in the lamp time configuration matrix.
  • the corresponding green light phase duration is adjusted synchronously.
  • the above method further includes: when a phase addition operation is monitored, adding a green light phase area and a corresponding isolated phase area in the progress bar control; and, when the phase deletion operation is monitored, in the progress bar. Delete the green phase area and the corresponding isolation phase area from the bar control.
  • the signal light identifier of each lane corresponding to the signal light is added in the second configuration area based on the electronic map, and each signal light identifier is associated with a corresponding signal terminal identifier, intersection information, and driving.
  • the steps of the direction information include: in the second configuration area, displaying the terminal configuration graphical interface including the added control; on the terminal configuration graphical interface, receiving the adding instruction acting on the adding control to add the signal light identifier according to the adding instruction, and each The signal terminal identifier, intersection information and signal light indication direction information associated with each signal light identifier.
  • the above method further includes: performing conflict detection on the selected state of each sub-control according to a preset conflict rule based on the light-time configuration matrix; wherein, the preset conflict rule is based on each lane Canalization requires the generation of combinations of sub-controls that are prohibited from being selected at the same time within the same time period; when it is detected that the sub-controls included in the combination are selected at the same time, the current configuration is determined to be a conflict configuration, and a prompt signal is generated.
  • the above method further includes: receiving a configuration completion instruction, and saving the configuration information of the traffic signal corresponding to the current intersection, so that when the configuration operation of the traffic signal corresponding to the current intersection is monitored again, the The second configuration area directly calls and displays configuration information.
  • the above method further includes: receiving a demonstration operation instruction, and demonstrating the phase duration of the signal light corresponding to each lane configured in the light time configuration area according to the time axis, so as to facilitate the demonstration of the traffic according to the demonstration process.
  • the actual semaphore connected to the semaphore is verified.
  • an embodiment of the present application also provides a configuration device for a traffic signal.
  • the device includes: a first display module configured to display a graphic corresponding to the traffic signal on the display interface of the terminal when the configuration operation is monitored.
  • the graphical configuration interface includes a first configuration area for configuring the relationship between the signal terminal and the intersection signal light.
  • the first configuration area displays the electronic map of the current intersection lane;
  • the second display module is configured to receive An instruction to add a configuration area, display the second configuration area in the graphical configuration interface; add a module, configured to add the signal light identifier of each lane corresponding to the signal light in the second configuration area based on the electronic map according to the adding instruction, and for each lane
  • the signal light identifier is associated with the corresponding signal terminal identifier, intersection information and driving direction information;
  • the third display module is configured to display the light time configuration interface in the second configuration area when the addition completion instruction is monitored; wherein, the light time configuration interface
  • Each signal light identifier and the phase control associated with each signal light identifier are arranged in sequence.
  • the phase control is a graphic control that represents the phase corresponding to the signal light;
  • the configuration module is configured to receive the setting operation acting on the phase control, and pass the phase based on the setting operation The control configures the phase of the signal light corresponding to each lane.
  • an embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor.
  • the processor executes the computer program, The steps of the configuration method of the traffic signal machine described in the first aspect are realized.
  • an embodiment of the present application also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and the computer program executes the traffic signal machine described in the first aspect when the computer program is run by a processor. The steps of the configuration method.
  • This application provides a configuration method and device for a traffic signal.
  • the graphical configuration interface corresponding to the traffic signal can be displayed on the terminal, and the first configuration that acts on the graphical configuration interface is received.
  • the second configuration area is displayed in the graphical configuration interface, and then the signal light identifier of each lane corresponding to the signal light is added in the second configuration area based on the electronic map, and each signal light identifier is associated with the corresponding signal terminal Identification, intersection information, and driving direction information.
  • the lamp time configuration interface containing the phase control is displayed in the second configuration area to facilitate receiving the setting operation acting on the phase control.
  • the phase control is used to The phase of the signal light corresponding to each lane is configured.
  • the entire configuration process is based on the graphical configuration interface, which effectively alleviates the cumbersome and complex technical problems of the existing traffic signal configuration tools.
  • the use of a graphical setting scheme also simplifies the configuration process of the traffic signal, so as to further intuitively reflect the light-time effect of the signal after the setting.
  • FIG. 1 is a flowchart of a method for configuring a traffic signal provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of a graphical configuration interface provided by an embodiment of the application
  • Figure 3 is a lamp hour configuration interface provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of a selected state of a sub-control provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of a configuration device of a traffic signal provided by an embodiment of the application.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • the embodiment of the present application provides a traffic signal configuration method and Device to alleviate the cumbersome and complicated technical problems of the existing traffic signal configuration tools in the setting process, and the graphical setting scheme is adopted to simplify the setting process of the traffic signal, and it can directly reflect the setting of the traffic signal. Effect.
  • the embodiment of the present application provides a method for configuring a traffic signal, which can be applied to a terminal that can present an electronic map.
  • a configuration interface of the traffic signal is displayed on the display interface of the terminal, wherein the above-mentioned terminal includes APP (Application, mobile phone software) mobile phones, PC terminals and other backgrounds with management systems, etc., and can present electronic maps and display the configuration interface of the traffic signal on the display interface of the terminal, that is, the configuration interface of the traffic signal is displayed in a graphical way.
  • the configuration of the traffic signal machine is realized on the terminal.
  • Fig. 1 is a flowchart of a method for configuring a traffic signal provided by an embodiment of the application. As shown in Fig. 1, the method includes the following steps:
  • Step S102 when the configuration operation is monitored, display a graphical configuration interface corresponding to the traffic signal on the display interface of the terminal, where the graphical configuration interface includes a first configuration area for configuring the relationship between the signal terminal and the intersection signal light, The first configuration area displays the electronic map of the current intersection lane;
  • the specific implementation is that the above-mentioned terminal is usually installed with an application program APP configured to configure the traffic signal, so as to display the above-mentioned graphical configuration interface when the configuration operation is monitored.
  • an application program APP configured to configure the traffic signal, so as to display the above-mentioned graphical configuration interface when the configuration operation is monitored.
  • the above configuration operation is usually an operation input by a staff member on a graphical configuration interface.
  • the above configuration operation may also be a touch operation.
  • Step S104 receiving an adding instruction acting on the first configuration area, and displaying the second configuration area in the graphical configuration interface;
  • Step S106 Add the signal light identifier of each lane corresponding to the signal light in the second configuration area based on the electronic map according to the adding instruction, and associate the corresponding signal terminal identifier, intersection information and driving direction information for each signal light identifier;
  • the electronic map displayed in the first configuration area is usually a simplified electronic map containing a certain intersection, specifically, including channelization information in various directions of the intersection, To display the type of intersection, such as T-junctions, crossroads, or intersections, etc., as well as the lane lines of each lane, so that when you receive an add instruction, you can add signal lights according to each lane displayed on the electronic map Identification, and associate the corresponding signal terminal identification, intersection information and driving direction information.
  • a highway In actual use, a highway generally includes at least one lane. For a single lane, for an incoming direction, generally only one signal light is needed to achieve road traffic control. For multiple lanes, for one incoming direction, Often multiple signal lights are needed, and each lane has a corresponding signal light. Therefore, when configuring a traffic signal, it is necessary to add a signal light mark according to the corresponding signal light of each lane.
  • a terminal configuration graphic interface including added controls can be displayed; on the terminal configuration graphic interface, an adding instruction acting on adding controls is received, so as to add a signal light identifier according to the adding instruction, and each Signal terminal identification, intersection information and signal light indication direction information associated with signal light identification.
  • Step S108 when the addition completion instruction is monitored, the lamp time configuration interface is displayed in the second configuration area; wherein, in the lamp time configuration interface, each signal lamp identifier and the phase control associated with each signal lamp identifier are arranged in sequence, and the phase control It is a graphic control that indicates the phase corresponding to the signal lamp;
  • Step S110 receiving a setting operation acting on the phase control, and configuring the phase of the signal light corresponding to each lane through the phase control based on the setting operation.
  • the phase corresponding to the signal light usually refers to the time length corresponding to the signal light and the switching timing of each color signal light. Therefore, in the embodiment of the present application, the configuration process of the traffic signal is actually a "time-sequence" control process. Take an intersection as an example, in order to enable the traffic lights corresponding to the four directions of an intersection to be alternately released in each direction with a certain plan, it is necessary to configure the phase of each traffic light in each direction.
  • the light-time configuration interface may be displayed in the graphical configuration interface. In this interface, each signal light identifier and the phase control associated with each signal light identifier are arranged in sequence, In order to facilitate the operation of the staff.
  • this application provides a method for configuring a traffic signal.
  • the graphical configuration interface corresponding to the traffic signal can be displayed on the terminal, and the first configuration that acts on the graphical configuration interface is received.
  • the second configuration area is displayed in the graphical configuration interface, and then the signal light identifier of each lane corresponding to the signal light is added in the second configuration area based on the electronic map, and each signal light identifier is associated with the corresponding signal terminal Identification, intersection information, and driving direction information.
  • the lamp time configuration interface containing the phase control is displayed in the second configuration area to facilitate receiving the setting operation acting on the phase control.
  • the phase control is used to The phase of the signal light corresponding to each lane is configured.
  • the entire configuration process is based on the graphical configuration interface, which effectively alleviates the cumbersome and complex technical problems of the existing traffic signal configuration tools.
  • the use of a graphical setting scheme also simplifies the configuration process of the traffic signal, so as to further intuitively reflect the light-time effect of the signal after the setting.
  • a signal light identifier corresponds to a unique signal terminal identifier to establish a connection between the traffic signal and the signal light.
  • the above-mentioned phase control is a green light phase control, including a main control and a sub-control corresponding to each signal light identifier. Controls; the main control and each sub-control include at least two green light phase areas, each green light phase area corresponds to a preset phase duration, and the end of the green light phase area is also provided with isolation including a yellow light isolation area and a red light isolation area Phase area.
  • the method provided in the embodiment of the present application further includes: in the lamp hour configuration interface, generating a lamp containing phase controls based on the channelization requirements of each lane displayed on the electronic map.
  • Time configuration matrix among them, the content displayed in each column of the lamp time configuration matrix includes in turn: the signal terminal identification corresponding to each signal light identifier, intersection information, signal light indication direction information and phase control, and each sub-control is configured in the light time matrix
  • the corresponding position of each signal indicator in the semaphore is arranged in sequence.
  • the above-mentioned channelization requirements usually refer to the traffic markings or signs set on the road when diverting or guiding the road traffic flow. Therefore, through the channelization requirements, you can know the direction of each lane and the direction indicated by the signal lights. Information, such as going straight, turning left or right, etc.
  • Figure 2 shows a schematic diagram of a graphical configuration interface
  • a second configuration interface in which, in actual use, in order to facilitate the staff to check the traffic signal at the current intersection
  • the electronic map of the current intersection will be displayed at the same time to facilitate the correspondence between the intersection and the signal.
  • Fig. 2 an intersection is taken as an example for illustration, and two signal lights are set in each direction. Therefore, the electronic map shows intersections in the four directions of A, B, C, and D, each
  • the arrow in the direction indicates the information indicating the direction of the signal light, and can also indicate the number of signal lights in the direction. Therefore, in the embodiment of the present application, the arrow is usually also used to indicate the signal light identifier of the corresponding signal light of the lane.
  • a column of numbers in the terminal represents the signal terminal identification of the traffic signal, that is, the 1, 2, 3, and 4 terminals of the traffic signal.
  • the "1" terminal It expresses the signal lights that control the straight direction of the intersection with the number "A” and the straight direction of the intersection with the number "C”.
  • terminals 2, 3, and 4 also control the signal lights in the corresponding direction respectively. In this way, the relationship between each terminal of the traffic signal machine and the signal light of the intersection can be displayed on the electronic map.
  • the signal light indicating the direction information is expressed in English letters, instead of the traditional way of expressing according to the "southeast east, northwest", this is because the traditional way is used to indicate when the direction of the road is not correct. It is prone to ambiguity, so it is more accurate to use English letters to represent intersections without ambiguity.
  • the direction information indicated by the signal light can also be represented by numbers or other characters, which is specifically subject to actual usage conditions, which are not limited in the embodiments of the present application.
  • a lamp hour configuration interface is also shown, as shown in Figure 3.
  • a schematic diagram of a lamp hour configuration matrix is shown.
  • I, II, III, and IV are the signal terminal identifiers corresponding to terminals 1, 2, 3, and 4 in Figure 2 respectively.
  • A, B, C, and D represent intersection information in four directions. Arrows The signal light indicating direction information of each direction of the intersection and the signal light identifier in that direction are shown.
  • FIG. 3 also shows the matrix-like sub-controls and the main control set in the first row of the matrix when the light is configured.
  • the steps of configuring the phase of the signal light corresponding to each lane in the above step S110 include:
  • the selected state of the sub-control corresponding to each signal light identifier is set in the light time configuration matrix according to the channelization requirements of each lane; wherein, when the sub-control is selected, the signal light corresponding to the signal light indicator displays a green light; Synchronously configure the green phase of the signal light through the selected state of each sub-control.
  • the lamp hour configuration interface when generating a lamp hour configuration matrix containing phase controls, it is generated based on the configuration relationship between each terminal of the traffic signal and the signal lamp at the intersection in the second configuration interface shown in FIG. 2 ,
  • the direction information of each intersection will be automatically displayed, and it also corresponds to the signal lights displayed in the electronic map one-to-one. All staff who set up traffic signals do not need to understand the terminal configuration of the signal. You need to select the signal lights that need to be configured on the electronic map, and you can configure the traffic signal lamp time scheme in a graphical way, which reduces the professional requirements for the staff.
  • Figure 4 also shows a schematic diagram of the selected state of a seed control. Specifically, as shown in Figure 4, the " ⁇ " in the matrix indicates that the child control is in the selected state, and, Figure 4 shows a schematic diagram of the selected state of the sub-controls in a period.
  • the sub-controls correspond to the green light phase area
  • the signal lights corresponding to the two sub-controls are displayed at the same time Green light
  • other unselected sub-controls will display red light within the time period corresponding to the current phase
  • each green light phase area corresponds to a certain period of time. Therefore, the selected state of a period of sub-controls is actually a dynamic identification of the The process of the light-hour scheme at the intersection.
  • the state in which the sub-controls in Figure 4 are selected in turn indicates that the straight traffic lights in the direction of intersection A and C are green, and the other directions are red; when intersection A When passing the green light for the direction and direction of C, the left turn signal light for the direction of intersection A and C is green, and the other directions are red; when the green light for the left turn of the direction of intersection A and C, after passing, the direction of intersection B
  • the straight signal lights in the direction and D direction are green, and the other directions are red lights; when the straight green lights in the direction of B and D at the intersection are passed, the left turn signal lights in the direction of B and D are green, and the other directions are red.
  • After passing the green light for the left turn in the direction of B and D at the intersection return to the situation where the straight traffic light of the direction A and C at the intersection is green.
  • the above-mentioned method of displaying and setting the signal terminal identification, intersection information, signal light indication direction information and phase control of the traffic signal through electronic maps and graphics makes the configuration process of the entire traffic signal simple, intuitive and clear.
  • the configuration information of the traffic signal is shown.
  • each green light phase The duration of the phase corresponding to the zone, usually the default duration, such as 30 seconds, etc., after setting the selected state of the sub-control corresponding to each semaphore identifier, you can also switch the color of the light in the entire cycle through the main control or the sub-control The position and length in the sequence are configured.
  • the above-mentioned main control and each sub-control are usually progress bar controls based on the phase duration.
  • the length of the progress bar control corresponds to the phase duration, and the progress bar control is equipped with a phase modification unit. Therefore, the above is determined by the selected state of each sub-control.
  • the steps to configure the phase of the semaphore also include the following process:
  • the phase information corresponding to each direction signal lamp is expressed in the form of a lamp hour configuration matrix. Therefore, when the phase of one direction is adjusted, the phase of the other direction is adjusted synchronously, for example, In Figure 3 or Figure 4, if you want to adjust the green phase of the straight-going signal light in the direction of intersection A, you can adjust it through the main control, and change it by clicking or touching the phase modification unit of the main control corresponding to the column and dragging it.
  • the green light phase corresponds to the duration, and since the green phase of the straight signal light in the direction of intersection C is in the same column as that of intersection A, at this time the green light phase of the straight signal light in the direction of intersection C will also be adjusted synchronously, correspondingly, corresponding to the same column , The duration of the red light phase in other directions is also adjusted synchronously to maintain the synchronous adjustment in each direction and avoid the confusion of signal lights.
  • the synchronization configuration method does not require staff to recalculate the duration of other directions, which is effectively simplified The configuration process of the signal machine.
  • phase modification or adjustment can also be carried out through the corresponding sub-control, and when the sub-control is used, the other phases in the same column corresponding to the sub-control are also adjusted synchronously, which can be set according to the real-time usage.
  • the application embodiment does not limit this.
  • the traffic signal machine can always control the signal light to execute the corresponding light-hour scheme according to this cycle.
  • the light hour or phase corresponding to the signal light When the duration is required, multiple cycles can also be set.
  • the green light phase corresponding to the intersection with high traffic volume can be set to the maximum phase, and the normal phase can be restored to the normal phase during the off-peak period.
  • it can be shown in Figure 3 or Figure 4. Increase the phase in the lamp time configuration matrix.
  • the embodiment of the present application also includes the following process: when the phase addition operation is monitored, the green light phase area and the corresponding isolated phase area are added to the progress bar control; and when the phase deletion operation is detected, the progress bar control Delete the green phase area and the corresponding isolation phase area.
  • phase addition control in the lamp hour configuration matrix, a phase addition control is usually provided.
  • the above phase addition operation is usually an operation that acts on the phase addition control, such as click, touch, or long press.
  • the isolation phase area including the yellow light isolation area and the red light isolation area is also increased synchronously.
  • the isolation phase area is equivalent to an excessive data, which can isolate the two conflicting phases and avoid two directions. The traffic flow produced short-term conflicts and traffic accidents occurred.
  • the above main control or sub-control is a progress bar control based on the phase duration, it can be regarded as a time axis indicating the duration of the green light, and the red light interval or the red light duration is not displayed on the time axis because the green lights in each direction
  • the total time length of the interval and the isolation zone is the cycle length of the light duration, which is equal to the green light duration of each phase + the yellow light duration + the full red duration.
  • the embodiment of the present application also includes the step of performing conflict detection on the configured scheme, which specifically includes the following process: based on the lamp hour configuration matrix, each sub Conflict detection is performed on the selected state of the control; among them, the preset conflict rules are generated based on the channelization requirements of each lane, including the combination of sub-controls that are forbidden to be selected at the same time within the same time period; when the sub-controls included in the combination are detected When it is selected at the same time, it is determined that the current configuration is a conflict configuration, and a prompt signal is generated.
  • the combination of the sub-controls that are forbidden to be selected at the same time in the above preset conflict rule usually refers to the combination of at least two sub-controls that are forbidden to be selected at the same time in the same column of the lamp time configuration matrix.
  • the signal lights in each direction alternately display green lights in order to release vehicles in each direction in turn, and if in the first column, the sub-controls corresponding to the A direction and the C direction go straight and the B direction and D direction go straight If the corresponding sub-controls are incorrectly selected at the same time, it will cause the two crossing directions to go straight at the same time, causing the traffic flow in the two directions to conflict and traffic accidents.
  • the configuration information of the traffic signal corresponding to the current intersection can be saved, so that when the configuration operation of the traffic signal corresponding to the current intersection is monitored again, the configuration operation of the traffic signal corresponding to the current intersection is monitored again.
  • the second configuration area directly calls and displays the configuration information. Specifically, as shown in Fig. 3, in the lamp hour configuration interface, a "finish" control may also be included. When the staff finishes the configuration, the configuration information can be saved by clicking the "finish" control.
  • the saved configuration information can also be previewed and demonstrated.
  • the "View Demo” control is also included, and the staff can click the "View Demo” control.
  • the terminal will demonstrate the phase duration of the signal light corresponding to each lane in the light configuration area according to the time axis, so as to facilitate the connection of the traffic signal machine according to the demonstration process The actual signal lights are verified to improve the configuration effect of traffic signals.
  • the embodiment of the present application also provides a configuration device for a traffic signal, which is set on a terminal that can present an electronic map, and the display interface of the terminal displays the configuration interface of the traffic signal.
  • Fig. 5 shows a schematic diagram of a configuration device of a traffic signal. As shown in Fig. 5, the device includes:
  • the first display module 50 is configured to display a graphical configuration interface corresponding to the traffic signal on the display interface of the terminal when the configuration operation is monitored, wherein the graphical configuration interface includes the first configuration interface for configuring the relationship between the signal terminal and the intersection signal light A configuration area, the first configuration area displays an electronic map of the current intersection lane;
  • the second display module 52 is configured to receive an adding instruction acting on the first configuration area, and display the second configuration area in the graphical configuration interface;
  • the adding module 54 is configured to add the signal light identifier of each lane corresponding to the signal light in the second configuration area based on the electronic map according to the adding instruction, and associate the corresponding signal terminal identifier, intersection information and driving direction information for each signal light identifier;
  • the third display module 56 is configured to display the light time configuration interface in the second configuration area when the addition completion instruction is monitored; wherein, in the light time configuration interface, each signal light identifier and the phase control associated with each signal light identifier Arranged in order, the phase control is a graphic control that represents the phase corresponding to the signal lamp;
  • the configuration module 58 is configured to receive the setting operation acting on the phase control, and configure the phase of the signal lamp corresponding to each lane through the phase control based on the setting operation.
  • An embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor executes the computer program to implement the traffic signal device provided by the foregoing embodiment. The steps of the configuration method.
  • the embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the embodiment of the present application also provides a schematic structural diagram of an electronic device. As shown in FIG. 6, it is a schematic structural diagram of the electronic device.
  • the electronic device includes a processor 61 and a memory 60.
  • the computer-executable instructions executed by the processor 61, and the processor 61 executes the computer-executable instructions to implement the above-mentioned method for configuring the traffic signal.
  • the electronic device further includes a bus 62 and a communication interface 63, where the processor 61, the communication interface 63 and the memory 60 are connected through the bus 62.
  • the memory 60 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the Internet, a wide area network, a local network, or a metropolitan area network may be used.
  • the bus 62 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnection standard) bus, or an EISA (Extended Industry Standard Architecture) bus or the like.
  • the bus 62 can be divided into an address bus, a data bus, or a control bus. For ease of presentation, only one bidirectional arrow is used to indicate in FIG. 6, but it does not mean that there is only one bus or one type of bus.
  • the processor 61 may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method can be completed by an integrated logic circuit of hardware in the processor 61 or instructions in the form of software.
  • the aforementioned processor 61 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (Digital Signal Processor, DSP for short). ), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices or discrete hardware components.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers.
  • the storage medium is located in the memory, and the processor 61 reads the information in the memory, and completes the steps of the traffic signal configuration method of the foregoing embodiment in combination with its hardware.
  • the computer program product provided by the embodiment of the present application includes a computer-readable storage medium storing program code.
  • the instructions included in the program code can be used to execute the method described in the previous method embodiment. For specific implementation, please refer to the method embodiment , I won’t repeat it here.
  • the terms “installed”, “connected” and “connected” should be understood in a broad sense. For example, they may be fixed or detachable connections. , Or integrally connected; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal communication between the two components.
  • installed should be understood in a broad sense. For example, they may be fixed or detachable connections. , Or integrally connected; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal communication between the two components.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer readable storage medium executable by a processor.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Traffic Control Systems (AREA)

Abstract

A traffic signal controller configuration method and apparatus, relating to the technical field of signal controllers. The method comprises: displaying, when a configuration operation is detected, a graphical configuration interface corresponding to a traffic signal controller on a display interface of a terminal; receiving an adding instruction acting on a first configuration area, and displaying a second configuration area; adding a signal light identifier of a signal light corresponding to each lane to the second configuration area, and associating each signal light identifier with corresponding signal controller terminal identifier, intersection information and travel direction information; displaying, when an addition completion instruction is detected, a light time configuration interface in the second configuration area; and receiving a setting operation, and configuring the phase of the signal light corresponding to each lane by means of a phase control on the basis of the setting operation. According to the traffic signal controller configuration method and apparatus, the configuration process of the traffic signal controller is simplified, and the light time effect of the signal controller after setting is visually reflected.

Description

交通信号机的配置方法及装置Configuration method and device of traffic signal machine
相关申请的交叉引用Cross-references to related applications
本申请要求于2020年01月17日提交中国专利局的申请号为CN202010050035.1、名称为“交通信号机的配置方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the Chinese Patent Office on January 17, 2020, with the application number CN202010050035.1, titled "Traffic signal configuration method and device", the entire content of which is incorporated herein by reference Applying.
技术领域Technical field
本申请涉及信号机技术领域,尤其是涉及交通信号机的配置方法及装置。This application relates to the technical field of signals, and in particular to a method and device for configuring traffic signals.
背景技术Background technique
交通信号机配置工具是与信号机硬件产品配套发售的一套软件,用于替代信号机硬件产品中手动控制面板,并通过PC(Personal Computer,个人计算机)操作的一种方法。此外,交通信号机配置工具与信号机硬件***的开发紧密结合在一起,与硬件***同步升级,因此,还可以替代中心***对信号机硬件产品的一些特殊功能进行配置以及维护。The traffic signal configuration tool is a set of software sold in conjunction with the signal hardware product. It is used to replace the manual control panel in the signal hardware product and is a method of operation through a PC (Personal Computer). In addition, the traffic signal configuration tool is closely integrated with the development of the signal hardware system, and is upgraded synchronously with the hardware system. Therefore, it can also replace the central system to configure and maintain some special functions of the signal hardware product.
目前,现有的交通信号机配置工具大部分都是运行在PC端,其操作页面主要通过表格的形式,实现相位设置、环设置、相序设置、绿信比设置以及时段调度方案设置等,由于上述设置需要参数较多,且,需用户预先计算好,如果出现某个参数计算错误,则将导致设置失败。At present, most of the existing traffic signal configuration tools are running on the PC side, and their operation pages are mainly in the form of tables to achieve phase setting, ring setting, phase sequence setting, green signal ratio setting, and time scheduling plan setting, etc. Because the above setting requires many parameters and needs to be calculated by the user in advance, if a parameter calculation error occurs, the setting will fail.
因此,现在的交通信号机配置工具主要通过在表格中填写参数实现设置,由于参数众多,导致设置过程过于繁琐和复杂,且,不能直观反映设置后的信号机的效果。Therefore, the current traffic signal configuration tool mainly realizes the setting by filling in the parameters in the form. Due to the large number of parameters, the setting process is too cumbersome and complicated, and it cannot directly reflect the effect of the set signal.
发明内容Summary of the invention
有鉴于此,本申请的目的在于提供交通信号机的配置方法及装置,以缓解现有的交通信号机配置工具的设置过程繁琐和复杂的技术问题,简化了交通信号机的设置过程,且,能直观反映设置后的信号机的效果。In view of this, the purpose of this application is to provide a traffic signal configuration method and device to alleviate the cumbersome and complicated technical problems of the existing traffic signal configuration tool setting process, simplify the traffic signal configuration process, and, It can directly reflect the effect of the signal after setting.
第一方面,本申请实施例提供了一种交通信号机的配置方法,该方法包括:当监测到配置操作时,在终端的显示界面上显示交通信号机对应的图形化配置界面,其中,图形化配置界面中包括配置信号机端子与路口信号灯关系的第一配置区,第一配置区显示有当前路口车道的电子地图;接收作用于第一配置区的添加指令,在图形化配置界面中显示第二配置区;根据添加指令在第二配置区中基于电子地图添加每个车道对应信号灯的信号灯标 识,并为每个信号灯标识关联相应的信号机端子标识、路口信息和行驶方向信息;当监测到添加完成指令时,在第二配置区显示灯时配置界面;其中,在灯时配置界面中,每个信号灯标识和与每个信号灯标识关联的相位控件依次排列,相位控件为表示信号灯对应的相位的图形控件;接收作用于相位控件的设置操作,基于设置操作通过相位控件对每个车道对应的信号灯的相位进行配置。In the first aspect, an embodiment of the present application provides a method for configuring a traffic signal, the method comprising: when a configuration operation is monitored, displaying a graphical configuration interface corresponding to the traffic signal on the display interface of the terminal, wherein the graphic The customized configuration interface includes a first configuration area that configures the relationship between the signal terminal and the intersection signal light. The first configuration area displays the electronic map of the current intersection lane; it receives the add instruction acting on the first configuration area and displays it in the graphical configuration interface The second configuration area; add the signal light identification of each lane corresponding to the signal light in the second configuration area based on the electronic map according to the adding instruction, and associate the corresponding signal terminal identification, intersection information and driving direction information for each signal light identification; when monitoring When the instruction is added, the lamp hour configuration interface is displayed in the second configuration area; among them, in the lamp hour configuration interface, each signal lamp identifier and the phase control associated with each signal lamp identifier are arranged in sequence, and the phase control is the corresponding signal lamp. Graphical control of the phase; receives the setting operation acting on the phase control, and configures the phase of the signal light corresponding to each lane through the phase control based on the setting operation.
在一种可能的实施方式中,上述一个信号灯标识对应唯一一个信号机端子标识;相位控件为绿灯相位控件,包括主控件,以及,与每个信号灯标识对应的子控件;主控件和每个子控件包括至少两个绿灯相位区,每个绿灯相位区对应预设的相位时长,且,绿灯相位区的末端还设置有包括黄灯隔离区和红灯隔离区的隔离相位区;在第二配置区显示灯时配置界面之后,上述方法还包括:在灯时配置界面中,基于电子地图显示的每个车道的渠化要求生成包含相位控件的灯时配置矩阵;其中,灯时配置矩阵的每列显示的内容依次包括:每个信号灯标识对应的信号机端子标识、路口信息、信号灯指示方向信息和相位控件,每个子控件在灯时配置矩阵中每个信号灯标识对应的位置处依次排列。In a possible implementation manner, the above-mentioned signal light identifier corresponds to a unique signal terminal identifier; the phase control is a green light phase control, including a main control, and sub-controls corresponding to each signal light identifier; the main control and each sub-control It includes at least two green light phase areas, each green light phase area corresponds to a preset phase duration, and the end of the green light phase area is also provided with an isolated phase area including a yellow light isolation area and a red light isolation area; in the second configuration area After the lamp hour configuration interface is displayed, the above method further includes: in the lamp hour configuration interface, generating a lamp hour configuration matrix containing phase controls based on the channelization requirements of each lane displayed on the electronic map; wherein, each column of the lamp hour configuration matrix The displayed content includes in turn: the signal terminal identifier corresponding to each signal light identifier, intersection information, signal light indication direction information and phase control. Each sub-control is arranged in sequence at the position corresponding to each signal light identifier in the light time configuration matrix.
在一种可能的实施方式中,上述基于设置操作通过相位控件对信号灯对应的相位进行配置的步骤包括:基于设置操作,在灯时配置矩阵中按照每个车道的渠化要求依次设置每个信号灯标识对应的子控件的选中状态;其中,当子控件被选中时,信号灯标识对应的信号灯显示绿灯;通过每个子控件的选中状态来同步配置信号灯的绿灯相位。In a possible implementation manner, the step of configuring the phase corresponding to the signal light through the phase control based on the setting operation includes: based on the setting operation, setting each signal light in sequence according to the channelization requirements of each lane in the light time configuration matrix. Identifies the selected state of the corresponding sub-control; among them, when the sub-control is selected, the signal lamp corresponding to the semaphore indicator displays a green light; the green light phase of the semaphore is configured synchronously through the selected state of each sub-control.
在一种可能的实施方式中,上述主控件和每个子控件为基于相位时长的进度条控件,进度条控件的长度与相位时长对应,且进度条控件配置有相位修改单元;通过每个子控件的选中状态来配置信号灯的相位的步骤还包括:根据设置操作调整相位修改单元在进度条控件上的位置,改变相位时长对应的进度条控件的长度,以对灯时配置矩阵中,每个信号灯标识对应的绿灯相位时长进行同步调整。In a possible implementation manner, the above-mentioned main control and each sub-control is a progress bar control based on the phase duration, the length of the progress bar control corresponds to the phase duration, and the progress bar control is equipped with a phase modification unit; The step of configuring the phase of the semaphore in the selected state also includes: adjusting the position of the phase modification unit on the progress bar control according to the setting operation, and changing the length of the progress bar control corresponding to the phase duration, so as to configure the indicator of each semaphore in the lamp time configuration matrix. The corresponding green light phase duration is adjusted synchronously.
在一种可能的实施方式中,上述方法还包括:当监测到相位添加操作时,在进度条控件中添加绿灯相位区和对应的隔离相位区;以及,当监测到相位删除操作时,在进度条控件中删除绿灯相位区,以及对应的隔离相位区。In a possible implementation manner, the above method further includes: when a phase addition operation is monitored, adding a green light phase area and a corresponding isolated phase area in the progress bar control; and, when the phase deletion operation is monitored, in the progress bar. Delete the green phase area and the corresponding isolation phase area from the bar control.
在一种可能的实施方式中,上述根据添加指令在第二配置区中基于电子地图添加每个车道对应信号灯的信号灯标识,并为每个信号灯标识关联相应的信号机端子标识、路口信息和行驶方向信息的步骤包括:在第二配置区中,显示包括有添加控件的端子配置图形界面;在端子配置图形界面上,接收作用于添加控件的添加指令,以根据添加指令添加信号 灯标识,以及每个信号灯标识关联的信号机端子标识、路口信息和信号灯指示方向信息。In a possible implementation manner, according to the adding instruction, the signal light identifier of each lane corresponding to the signal light is added in the second configuration area based on the electronic map, and each signal light identifier is associated with a corresponding signal terminal identifier, intersection information, and driving. The steps of the direction information include: in the second configuration area, displaying the terminal configuration graphical interface including the added control; on the terminal configuration graphical interface, receiving the adding instruction acting on the adding control to add the signal light identifier according to the adding instruction, and each The signal terminal identifier, intersection information and signal light indication direction information associated with each signal light identifier.
在一种可能的实施方式中,上述方法还包括:基于灯时配置矩阵,按照预先设置的冲突规则对每个子控件的选中状态进行冲突检测;其中,预先设置的冲突规则为基于每个车道的渠化要求生成的,包括同一时间段内禁止同时选中的子控件的组合;当检测出组合中包括的子控件同时为选中状态时,确定当前配置为冲突配置,并生成提示信号。In a possible implementation manner, the above method further includes: performing conflict detection on the selected state of each sub-control according to a preset conflict rule based on the light-time configuration matrix; wherein, the preset conflict rule is based on each lane Canalization requires the generation of combinations of sub-controls that are prohibited from being selected at the same time within the same time period; when it is detected that the sub-controls included in the combination are selected at the same time, the current configuration is determined to be a conflict configuration, and a prompt signal is generated.
在一种可能的实施方式中,上述方法还包括:接收配置完成指令,保存当前路口对应的交通信号机的配置信息,以便于当再次监测到当前路口对应的交通信号机的配置操作时,在第二配置区直接调用并显示配置信息。In a possible implementation manner, the above method further includes: receiving a configuration completion instruction, and saving the configuration information of the traffic signal corresponding to the current intersection, so that when the configuration operation of the traffic signal corresponding to the current intersection is monitored again, the The second configuration area directly calls and displays configuration information.
在一种可能的实施方式中,上述方法还包括:接收演示操作指令,在灯时配置区域中对配置的每个车道对应的信号灯的相位时长按照时间轴进行演示,以便于根据演示过程对交通信号机连接的实际信号灯进行验证。In a possible implementation manner, the above method further includes: receiving a demonstration operation instruction, and demonstrating the phase duration of the signal light corresponding to each lane configured in the light time configuration area according to the time axis, so as to facilitate the demonstration of the traffic according to the demonstration process. The actual semaphore connected to the semaphore is verified.
第二方面,本申请实施例还提供一种交通信号机的配置装置,该装置包括:第一显示模块,配置成当监测到配置操作时,在终端的显示界面上显示交通信号机对应的图形化配置界面,其中,图形化配置界面中包括配置信号机端子与路口信号灯关系的第一配置区,第一配置区显示有当前路口车道的电子地图;第二显示模块,配置成接收作用于第一配置区的添加指令,在图形化配置界面中显示第二配置区;添加模块,配置成根据添加指令在第二配置区中基于电子地图添加每个车道对应信号灯的信号灯标识,并为每个信号灯标识关联相应的信号机端子标识、路口信息和行驶方向信息;第三显示模块,配置成当监测到添加完成指令时,在第二配置区显示灯时配置界面;其中,在灯时配置界面中,每个信号灯标识和与每个信号灯标识关联的相位控件依次排列,相位控件为表示信号灯对应的相位的图形控件;配置模块,配置成接收作用于相位控件的设置操作,基于设置操作通过相位控件对每个车道对应的信号灯的相位进行配置。In a second aspect, an embodiment of the present application also provides a configuration device for a traffic signal. The device includes: a first display module configured to display a graphic corresponding to the traffic signal on the display interface of the terminal when the configuration operation is monitored. The graphical configuration interface includes a first configuration area for configuring the relationship between the signal terminal and the intersection signal light. The first configuration area displays the electronic map of the current intersection lane; the second display module is configured to receive An instruction to add a configuration area, display the second configuration area in the graphical configuration interface; add a module, configured to add the signal light identifier of each lane corresponding to the signal light in the second configuration area based on the electronic map according to the adding instruction, and for each lane The signal light identifier is associated with the corresponding signal terminal identifier, intersection information and driving direction information; the third display module is configured to display the light time configuration interface in the second configuration area when the addition completion instruction is monitored; wherein, the light time configuration interface Each signal light identifier and the phase control associated with each signal light identifier are arranged in sequence. The phase control is a graphic control that represents the phase corresponding to the signal light; the configuration module is configured to receive the setting operation acting on the phase control, and pass the phase based on the setting operation The control configures the phase of the signal light corresponding to each lane.
第三方面,本申请实施例还提供一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现第一方面所述的交通信号机的配置方法的步骤。In a third aspect, an embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor. When the processor executes the computer program, The steps of the configuration method of the traffic signal machine described in the first aspect are realized.
第四方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行第一方面所述的交通信号机的配置方法的步骤。In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and the computer program executes the traffic signal machine described in the first aspect when the computer program is run by a processor. The steps of the configuration method.
本申请实施例带来了以下有益效果:The embodiments of the application bring the following beneficial effects:
本申请提供了交通信号机的配置方法及装置,在监测到配置操作时,能够在终端的显示交通信号机对应的图形化配置界面,并在接收到作用于图形化配置界面中的第一配置区的添加指令时,在图形化配置界面中显示第二配置区,进而在第二配置区中基于电子地图添加每个车道对应信号灯的信号灯标识,并为每个信号灯标识关联相应的信号机端子标识、路口信息和行驶方向信息,当监测到添加完成指令时,在第二配置区显示包含相位控件的灯时配置界面,以便于接收作用于相位控件的设置操作,基于设置操作通过相位控件对每个车道对应的所述信号灯的相位进行配置,在整个配置过程中,都是基于图形化配置界面进行,有效缓解了现有的交通信号机配置工具的设置过程繁琐和复杂的技术问题,并采用图形化的设置方案,也简化了交通信号机的配置过程,以进一步直观反映了设置后信号机的灯时效果。This application provides a configuration method and device for a traffic signal. When the configuration operation is monitored, the graphical configuration interface corresponding to the traffic signal can be displayed on the terminal, and the first configuration that acts on the graphical configuration interface is received. When the area is added, the second configuration area is displayed in the graphical configuration interface, and then the signal light identifier of each lane corresponding to the signal light is added in the second configuration area based on the electronic map, and each signal light identifier is associated with the corresponding signal terminal Identification, intersection information, and driving direction information. When the added completion instruction is monitored, the lamp time configuration interface containing the phase control is displayed in the second configuration area to facilitate receiving the setting operation acting on the phase control. Based on the setting operation, the phase control is used to The phase of the signal light corresponding to each lane is configured. The entire configuration process is based on the graphical configuration interface, which effectively alleviates the cumbersome and complex technical problems of the existing traffic signal configuration tools. The use of a graphical setting scheme also simplifies the configuration process of the traffic signal, so as to further intuitively reflect the light-time effect of the signal after the setting.
本申请的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点在说明书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be described in the following description, and partly become obvious from the description, or understood by implementing the present application. The purpose and other advantages of the application are realized and obtained in the structure specifically pointed out in the description and the drawings.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objectives, features and advantages of the present application more obvious and understandable, preferred embodiments are specifically described below in conjunction with the accompanying drawings, which are described in detail as follows.
附图说明Description of the drawings
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of this application or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the specific embodiments or the description of the prior art. Obviously, the appendix in the following description The drawings are some embodiments of the present application. For those of ordinary skill in the art, without creative work, other drawings can be obtained based on these drawings.
图1为本申请实施例提供的一种交通信号机的配置方法的流程图;FIG. 1 is a flowchart of a method for configuring a traffic signal provided by an embodiment of the application;
图2为本申请实施例提供的一种图形化配置界面的示意图;FIG. 2 is a schematic diagram of a graphical configuration interface provided by an embodiment of the application;
图3为本申请实施例提供的一种灯时配置界面;Figure 3 is a lamp hour configuration interface provided by an embodiment of the application;
图4为本申请实施例提供的一种子控件的选中状态示意图;FIG. 4 is a schematic diagram of a selected state of a sub-control provided by an embodiment of the application;
图5为本申请实施例提供的一种交通信号机的配置装置的示意图;FIG. 5 is a schematic diagram of a configuration device of a traffic signal provided by an embodiment of the application;
图6为本申请实施例提供的一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be described clearly and completely with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, not All examples. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
针对现有的交通信号机配置工具主要通过在表格中填写参数实现设置,由于参数众多,从而导致设置过程过于繁琐和复杂的技术问题,本申请实施例提供了一种交通信号机的配置方法及装置,以缓解现有的交通信号机配置工具的设置过程繁琐和复杂的技术问题,并采用图形化的设置方案,简化了交通信号机的设置过程,且,能直观反映设置后的信号机的效果。In view of the existing traffic signal configuration tool, which mainly realizes the setting by filling in the parameters in the form, due to the large number of parameters, the setting process is too cumbersome and complicated. The embodiment of the present application provides a traffic signal configuration method and Device to alleviate the cumbersome and complicated technical problems of the existing traffic signal configuration tools in the setting process, and the graphical setting scheme is adopted to simplify the setting process of the traffic signal, and it can directly reflect the setting of the traffic signal. Effect.
为便于对本实施例进行理解,下面首先对本申请实施例提供的一种交通信号机的配置方法进行详细介绍。In order to facilitate the understanding of this embodiment, a method for configuring a traffic signal provided by an embodiment of the present application will be introduced in detail below.
实施例一:Example one:
本申请实施例提供了一种交通信号机的配置方法,该方法可以应用于可呈现电子地图的终端,通常,终端的显示界面上显示有交通信号机的配置界面,其中,上述终端包括设置有APP(Application,手机软件)的手机、PC端以及其他具有管理***的后台等,且,可以呈现电子地图以及在终端的显示界面上显示有交通信号机的配置界面,即通过图形化的方式在终端上实现交通信号机的配置。图1为本申请实施例提供的一种交通信号机的配置方法的流程图,如图1所示,该方法包括以下步骤:The embodiment of the present application provides a method for configuring a traffic signal, which can be applied to a terminal that can present an electronic map. Generally, a configuration interface of the traffic signal is displayed on the display interface of the terminal, wherein the above-mentioned terminal includes APP (Application, mobile phone software) mobile phones, PC terminals and other backgrounds with management systems, etc., and can present electronic maps and display the configuration interface of the traffic signal on the display interface of the terminal, that is, the configuration interface of the traffic signal is displayed in a graphical way. The configuration of the traffic signal machine is realized on the terminal. Fig. 1 is a flowchart of a method for configuring a traffic signal provided by an embodiment of the application. As shown in Fig. 1, the method includes the following steps:
步骤S102,当监测到配置操作时,在终端的显示界面上显示交通信号机对应的图形化配置界面,其中,该图形化配置界面中包括配置信号机端子与路口信号灯关系的第一配置区,第一配置区显示有当前路口车道的电子地图;Step S102, when the configuration operation is monitored, display a graphical configuration interface corresponding to the traffic signal on the display interface of the terminal, where the graphical configuration interface includes a first configuration area for configuring the relationship between the signal terminal and the intersection signal light, The first configuration area displays the electronic map of the current intersection lane;
具体实现是,上述终端通常安装有配置成对交通信号机进行配置的应用程序APP,以便于在监测到配置操作时显示上述图形化配置界面。The specific implementation is that the above-mentioned terminal is usually installed with an application program APP configured to configure the traffic signal, so as to display the above-mentioned graphical configuration interface when the configuration operation is monitored.
进一步,上述配置操作通常是工作人员在图形化配置界面上输入的操作,对于具有触摸屏的终端,上述配置操作还可以是触控操作。Further, the above configuration operation is usually an operation input by a staff member on a graphical configuration interface. For a terminal with a touch screen, the above configuration operation may also be a touch operation.
步骤S104,接收作用于第一配置区的添加指令,在图形化配置界面中显示第二配置区;Step S104, receiving an adding instruction acting on the first configuration area, and displaying the second configuration area in the graphical configuration interface;
步骤S106,根据添加指令在第二配置区中基于电子地图添加每个车道对应信号灯的信号灯标识,并为每个信号灯标识关联相应的信号机端子标识、路口信息和行驶方向信息;Step S106: Add the signal light identifier of each lane corresponding to the signal light in the second configuration area based on the electronic map according to the adding instruction, and associate the corresponding signal terminal identifier, intersection information and driving direction information for each signal light identifier;
考虑到本申请实施例是对交通信号机进行配置的,因此,上述第一配置区显示的电子地图通常是包含某一个路口的简化电子地图,具体地,包括该路口各个方向的渠化信息,以显示路口的类型,如,丁字路口、十字路口或交叉路口等等,以及各个车道的车道线等信息,以便于在接收到添加指令时,可以根据电子地图中显示的每个车道来添加信号灯标识,并关联相应的信号机端子标识、路口信息和行驶方向信息。Considering that the embodiment of the application configures the traffic signal, therefore, the electronic map displayed in the first configuration area is usually a simplified electronic map containing a certain intersection, specifically, including channelization information in various directions of the intersection, To display the type of intersection, such as T-junctions, crossroads, or intersections, etc., as well as the lane lines of each lane, so that when you receive an add instruction, you can add signal lights according to each lane displayed on the electronic map Identification, and associate the corresponding signal terminal identification, intersection information and driving direction information.
在实际使用时,公路一般包括至少一个车道,对于单个车道的情况,对于一个来车方向,一般仅需一个信号灯即可实现道路交通控制,而对于多个车道的情况,对于一个来车方向,往往需要多个信号灯,且,每个车道都有对应的信号灯,因此,在配置交通信号机时,需要根据每个车道对应的信号灯添加信号灯标识。In actual use, a highway generally includes at least one lane. For a single lane, for an incoming direction, generally only one signal light is needed to achieve road traffic control. For multiple lanes, for one incoming direction, Often multiple signal lights are needed, and each lane has a corresponding signal light. Therefore, when configuring a traffic signal, it is necessary to add a signal light mark according to the corresponding signal light of each lane.
具体地,在第二配置区中,可以显示包括有添加控件的端子配置图形界面;在该端子配置图形界面上,接收作用于添加控件的添加指令,以根据添加指令添加信号灯标识,以及每个信号灯标识关联的信号机端子标识、路口信息和信号灯指示方向信息。Specifically, in the second configuration area, a terminal configuration graphic interface including added controls can be displayed; on the terminal configuration graphic interface, an adding instruction acting on adding controls is received, so as to add a signal light identifier according to the adding instruction, and each Signal terminal identification, intersection information and signal light indication direction information associated with signal light identification.
步骤S108,当监测到添加完成指令时,在第二配置区显示灯时配置界面;其中,在灯时配置界面中,每个信号灯标识和与每个信号灯标识关联的相位控件依次排列,相位控件为表示信号灯对应的相位的图形控件;Step S108, when the addition completion instruction is monitored, the lamp time configuration interface is displayed in the second configuration area; wherein, in the lamp time configuration interface, each signal lamp identifier and the phase control associated with each signal lamp identifier are arranged in sequence, and the phase control It is a graphic control that indicates the phase corresponding to the signal lamp;
步骤S110,接收作用于相位控件的设置操作,基于设置操作通过相位控件对每个车道对应的信号灯的相位进行配置。Step S110, receiving a setting operation acting on the phase control, and configuring the phase of the signal light corresponding to each lane through the phase control based on the setting operation.
其中,信号灯对应的相位通常指该信号灯对应的时长及各个颜色信号灯的切换时序,因此,本申请实施例中,对交通信号机的配置过程,实际上是一个“时顺”控制过程,以十字路口为例,为了使一个路口的四个方向对应的信号灯能够以一定的方案使各方向交替放行,需要对每个方向上的每一个信号灯的相位进行配置。为了便于工作人员配置信号灯的相位,本申请实施例中,可以在图形化配置界面中显示灯时配置界面,在该界面中,每个信号灯标识和与每个信号灯标识关联的相位控件依次排列,以便于工作人员进行操作。Among them, the phase corresponding to the signal light usually refers to the time length corresponding to the signal light and the switching timing of each color signal light. Therefore, in the embodiment of the present application, the configuration process of the traffic signal is actually a "time-sequence" control process. Take an intersection as an example, in order to enable the traffic lights corresponding to the four directions of an intersection to be alternately released in each direction with a certain plan, it is necessary to configure the phase of each traffic light in each direction. In order to facilitate the staff to configure the phase of the signal light, in the embodiment of the present application, the light-time configuration interface may be displayed in the graphical configuration interface. In this interface, each signal light identifier and the phase control associated with each signal light identifier are arranged in sequence, In order to facilitate the operation of the staff.
因此,本申请提供了交通信号机的配置方法,在监测到配置操作时,能够在终端的显示交通信号机对应的图形化配置界面,并在接收到作用于图形化配置界面中的第一配置区的添加指令时,在图形化配置界面中显示第二配置区,进而在第二配置区中基于电子地图 添加每个车道对应信号灯的信号灯标识,并为每个信号灯标识关联相应的信号机端子标识、路口信息和行驶方向信息,当监测到添加完成指令时,在第二配置区显示包含相位控件的灯时配置界面,以便于接收作用于相位控件的设置操作,基于设置操作通过相位控件对每个车道对应的所述信号灯的相位进行配置,在整个配置过程中,都是基于图形化配置界面进行,有效缓解了现有的交通信号机配置工具的设置过程繁琐和复杂的技术问题,并采用图形化的设置方案,也简化了交通信号机的配置过程,以进一步直观反映了设置后信号机的灯时效果。Therefore, this application provides a method for configuring a traffic signal. When the configuration operation is monitored, the graphical configuration interface corresponding to the traffic signal can be displayed on the terminal, and the first configuration that acts on the graphical configuration interface is received. When the area is added, the second configuration area is displayed in the graphical configuration interface, and then the signal light identifier of each lane corresponding to the signal light is added in the second configuration area based on the electronic map, and each signal light identifier is associated with the corresponding signal terminal Identification, intersection information, and driving direction information. When the added completion instruction is monitored, the lamp time configuration interface containing the phase control is displayed in the second configuration area to facilitate receiving the setting operation acting on the phase control. Based on the setting operation, the phase control is used to The phase of the signal light corresponding to each lane is configured. The entire configuration process is based on the graphical configuration interface, which effectively alleviates the cumbersome and complex technical problems of the existing traffic signal configuration tools. The use of a graphical setting scheme also simplifies the configuration process of the traffic signal, so as to further intuitively reflect the light-time effect of the signal after the setting.
在实际使用时,一个信号灯标识对应唯一一个信号机端子标识,以将交通信号机与信号灯建立联系,进一步,上述相位控件为绿灯相位控件,包括主控件,以及,与每个信号灯标识对应的子控件;主控件和每个子控件包括至少两个绿灯相位区,每个绿灯相位区对应预设的相位时长,且,绿灯相位区的末端还设置有包括黄灯隔离区和红灯隔离区的隔离相位区。In actual use, a signal light identifier corresponds to a unique signal terminal identifier to establish a connection between the traffic signal and the signal light. Further, the above-mentioned phase control is a green light phase control, including a main control and a sub-control corresponding to each signal light identifier. Controls; the main control and each sub-control include at least two green light phase areas, each green light phase area corresponds to a preset phase duration, and the end of the green light phase area is also provided with isolation including a yellow light isolation area and a red light isolation area Phase area.
因此,在上述第二配置区显示灯时配置界面之后,本申请实施例提供的方法还包括:在灯时配置界面中,基于电子地图显示的每个车道的渠化要求生成包含相位控件的灯时配置矩阵;其中,该灯时配置矩阵的每列显示的内容依次包括:每个信号灯标识对应的信号机端子标识、路口信息、信号灯指示方向信息和相位控件,每个子控件在灯时配置矩阵中每个信号灯标识对应的位置处依次排列。Therefore, after the lamp hour configuration interface is displayed in the second configuration area, the method provided in the embodiment of the present application further includes: in the lamp hour configuration interface, generating a lamp containing phase controls based on the channelization requirements of each lane displayed on the electronic map. Time configuration matrix; among them, the content displayed in each column of the lamp time configuration matrix includes in turn: the signal terminal identification corresponding to each signal light identifier, intersection information, signal light indication direction information and phase control, and each sub-control is configured in the light time matrix The corresponding position of each signal indicator in the semaphore is arranged in sequence.
其中,上述渠化要求通常指疏导或者引导道路交通流的时,在道路上设置的交通标线或标志等,因此,通过渠化要求,可以获知每个车道的来车方向,以及信号灯指示方向信息,如直行、左转或右转等等。Among them, the above-mentioned channelization requirements usually refer to the traffic markings or signs set on the road when diverting or guiding the road traffic flow. Therefore, through the channelization requirements, you can know the direction of each lane and the direction indicated by the signal lights. Information, such as going straight, turning left or right, etc.
为了便于理解,图2示出了一种图形化配置界面的示意图,且,在该示意图中示出了第二配置界面,其中,在实际使用时,为了便于工作人员对当前路口的交通信号机进行配置,在显示第一配置区、第二配置区以及灯时配置界面时,在图形化配置界面中,会同时显示当前路口的电子地图,以便于将路口和信号机进行对应。For ease of understanding, Figure 2 shows a schematic diagram of a graphical configuration interface, and in the schematic diagram shows a second configuration interface, in which, in actual use, in order to facilitate the staff to check the traffic signal at the current intersection For configuration, when displaying the first configuration area, the second configuration area and the lamp time configuration interface, in the graphical configuration interface, the electronic map of the current intersection will be displayed at the same time to facilitate the correspondence between the intersection and the signal.
具体地,图2中以一个十字路口为例进行说明,并且,每个方向都设置有两个信号灯,因此,电子地图中示出了A、B、C和D四个方向的路口,每个方向的箭头表示信号灯指示方向信息,也可以表示该方向的信号灯的数量,因此,在本申请实施例中,通常也用箭头表示该车道对应信号灯的信号灯标识。Specifically, in Fig. 2 an intersection is taken as an example for illustration, and two signal lights are set in each direction. Therefore, the electronic map shows intersections in the four directions of A, B, C, and D, each The arrow in the direction indicates the information indicating the direction of the signal light, and can also indicate the number of signal lights in the direction. Therefore, in the embodiment of the present application, the arrow is usually also used to indicate the signal light identifier of the corresponding signal light of the lane.
进一步,如图2所示,第二配置界面中,端子一列数字代表交通信号机的信号机端子 标识,即,交通信号机的1、2、3和4号端子,其中,“1”号端子表述控制编号为“A”的路口直行方向和编号为“C”的路口直行方向的信号灯,同理,2、3和4号端子也分别控制着相应方向的信号灯。通过这种方式,可以将交通信号机的每个端子的与路口的信号灯关系,在电子地图上进行显示。Further, as shown in Fig. 2, in the second configuration interface, a column of numbers in the terminal represents the signal terminal identification of the traffic signal, that is, the 1, 2, 3, and 4 terminals of the traffic signal. Among them, the "1" terminal It expresses the signal lights that control the straight direction of the intersection with the number "A" and the straight direction of the intersection with the number "C". Similarly, terminals 2, 3, and 4 also control the signal lights in the corresponding direction respectively. In this way, the relationship between each terminal of the traffic signal machine and the signal light of the intersection can be displayed on the electronic map.
进一步,本申请实施例中,信号灯指示方向信息使用的是英文字母的方式表示,弃用传统的按照“东南西北”表示方式,这是因为使用传统方式,在道路修建的朝向不正时,标识起来容易产生歧义,所以使用英文字母代表路口更加准确,而且不会产生歧义。此外,信号灯指示方向信息还可以使用数字,或者其他字符进行表示,具体以实际使用情况为准,本申请实施例对此不进行限制。Furthermore, in the embodiments of the present application, the signal light indicating the direction information is expressed in English letters, instead of the traditional way of expressing according to the "southeast east, northwest", this is because the traditional way is used to indicate when the direction of the road is not correct. It is prone to ambiguity, so it is more accurate to use English letters to represent intersections without ambiguity. In addition, the direction information indicated by the signal light can also be represented by numbers or other characters, which is specifically subject to actual usage conditions, which are not limited in the embodiments of the present application.
进一步,基于图2和图3还示出了一种灯时配置界面,如图3所示,具体地,在该灯时配置界面中,示出了一种灯时配置矩阵的示意图,在灯时配置矩阵中,I、II、III和IV分别为与图2中1、2、3和4号端子对应的信号机端子标识,A、B、C和D表示四个方向的路口信息,箭头表示路口的每个方向的信号灯指示方向信息以及该方向上的信号灯标识,且,图3中还示出了矩阵式的子控件,以及设置在该灯时配置矩阵的第一行的主控件。Further, based on Figures 2 and 3, a lamp hour configuration interface is also shown, as shown in Figure 3. Specifically, in the lamp hour configuration interface, a schematic diagram of a lamp hour configuration matrix is shown. In the time configuration matrix, I, II, III, and IV are the signal terminal identifiers corresponding to terminals 1, 2, 3, and 4 in Figure 2 respectively. A, B, C, and D represent intersection information in four directions. Arrows The signal light indicating direction information of each direction of the intersection and the signal light identifier in that direction are shown. In addition, FIG. 3 also shows the matrix-like sub-controls and the main control set in the first row of the matrix when the light is configured.
基于图3所示的灯时配置界面,上述步骤S110中对每个车道对应的信号灯的相位进行配置的步骤包括:Based on the light time configuration interface shown in FIG. 3, the steps of configuring the phase of the signal light corresponding to each lane in the above step S110 include:
基于上述设置操作,在灯时配置矩阵中按照每个车道的渠化要求依次设置每个信号灯标识对应的子控件的选中状态;其中,当子控件被选中时,信号灯标识对应的信号灯显示绿灯;通过每个子控件的选中状态来同步配置信号灯的绿灯相位。Based on the above setting operation, the selected state of the sub-control corresponding to each signal light identifier is set in the light time configuration matrix according to the channelization requirements of each lane; wherein, when the sub-control is selected, the signal light corresponding to the signal light indicator displays a green light; Synchronously configure the green phase of the signal light through the selected state of each sub-control.
具体地,在灯时配置界面中,生成包含相位控件的灯时配置矩阵时,是根据图2所示的第二配置界面中交通信号机的每个端子的与路口的信号灯的配制关系生成的,在该灯时配置矩阵中,会自动的显示出各个路口方向信息,并且也与在电子地图中显示的信号灯一一对应,所有设置交通信号机的工作人员无需了解信号机的端子配置,只需要在电子地图上选择需要配制的信号灯,就可以通过图形化的方式配置交通信号机的灯时方案,降低了对工作人员的专业要求。Specifically, in the lamp hour configuration interface, when generating a lamp hour configuration matrix containing phase controls, it is generated based on the configuration relationship between each terminal of the traffic signal and the signal lamp at the intersection in the second configuration interface shown in FIG. 2 , In the light-time configuration matrix, the direction information of each intersection will be automatically displayed, and it also corresponds to the signal lights displayed in the electronic map one-to-one. All staff who set up traffic signals do not need to understand the terminal configuration of the signal. You need to select the signal lights that need to be configured on the electronic map, and you can configure the traffic signal lamp time scheme in a graphical way, which reduces the professional requirements for the staff.
并且,考虑到图2和图3所示的交叉路口,通常是对每个方向的车辆进行交替放行的过程,因此,在基于灯时配置矩阵进行信号灯的设置时,需要按照每个车道的渠化要求依次设置每个信号灯标识对应的子控件的选中状态。为了便于理解,基于图2和图3,图4还示出了一种子控件的选中状态示意图,具体地,如图4所示,矩阵中的“○”表示该子 控件为选中状态,并且,图4中,显示的是一个周期的子控件的选中状态示意图,由于子控件对应的是绿灯相位区,因此,同一列的子控件被同时选中时,则表示该两个子控件对应的信号灯同时显示绿灯,其他未被选中的子控件在该当前相位对应的时长内则显示红灯,并且,每个绿灯相位区对应一定的时长,因此,一个周期的子控件的选中状态实际是一个动态标识该路口的灯时方案的过程。Moreover, considering the intersections shown in Figures 2 and 3, it is usually a process of alternately releasing vehicles in each direction. Therefore, when setting the signal lights based on the light-time configuration matrix, it is necessary to follow the channel of each lane. It requires setting the selected state of the sub-control corresponding to each semaphore indicator in turn. For ease of understanding, based on Figures 2 and 3, Figure 4 also shows a schematic diagram of the selected state of a seed control. Specifically, as shown in Figure 4, the "○" in the matrix indicates that the child control is in the selected state, and, Figure 4 shows a schematic diagram of the selected state of the sub-controls in a period. Since the sub-controls correspond to the green light phase area, when the sub-controls in the same column are selected at the same time, it means that the signal lights corresponding to the two sub-controls are displayed at the same time Green light, other unselected sub-controls will display red light within the time period corresponding to the current phase, and each green light phase area corresponds to a certain period of time. Therefore, the selected state of a period of sub-controls is actually a dynamic identification of the The process of the light-hour scheme at the intersection.
因此,结合图2和图3所示的电子地图,图4中子控件依次被选中的状态表示的是,路口A方向和C方向的直行信号灯为绿灯,其他方向均为红灯;当路口A方向和C方向的直行绿灯灯时通过后,路口A方向和C方向的左转信号灯为绿灯其他方向均为红灯;当路口A方向和C方向的左转绿灯灯时通过后,路口B方向和D方向的直行信号灯为绿灯,其他方向均为红灯;当路口B方向和D方向的直行绿灯灯时通过后,路口B方向和D方向的左转信号灯为绿灯,其他方向均为红灯,当路口B方向和D方向的左转绿灯灯时通过后,再重新回到路口A方向和C方向的直行信号灯为绿灯的情况。Therefore, combined with the electronic map shown in Figure 2 and Figure 3, the state in which the sub-controls in Figure 4 are selected in turn indicates that the straight traffic lights in the direction of intersection A and C are green, and the other directions are red; when intersection A When passing the green light for the direction and direction of C, the left turn signal light for the direction of intersection A and C is green, and the other directions are red; when the green light for the left turn of the direction of intersection A and C, after passing, the direction of intersection B The straight signal lights in the direction and D direction are green, and the other directions are red lights; when the straight green lights in the direction of B and D at the intersection are passed, the left turn signal lights in the direction of B and D are green, and the other directions are red. , After passing the green light for the left turn in the direction of B and D at the intersection, return to the situation where the straight traffic light of the direction A and C at the intersection is green.
上述将交通信号机的信号机端子标识、路口信息、信号灯指示方向信息和相位控件通过电子地图与图形的方式进行显示和设置的方式,使整个交通信号机的配置过程简单直观,也清晰的表现出了交通信号机的配置信息。The above-mentioned method of displaying and setting the signal terminal identification, intersection information, signal light indication direction information and phase control of the traffic signal through electronic maps and graphics makes the configuration process of the entire traffic signal simple, intuitive and clear. The configuration information of the traffic signal is shown.
在实际使用时,由于不同路口的车流量和渠化要求是不同的,因此,绿灯相位区对应的时长也是不同的,为了便于工作人员配置,在生成上述灯时配置矩阵时,每个绿灯相位区对应的相位的时长,通常先使用默认的时长,如30秒等,当设置完每个信号灯标识对应的子控件的选中状态之后,还可以通过主控件或者子控件对整个周期中灯色切换时序中所处的位置及时长进行配置。In actual use, because the traffic volume and channelization requirements of different intersections are different, the corresponding duration of the green light phase area is also different. In order to facilitate the configuration of the staff, when the above-mentioned light configuration matrix is generated, each green light phase The duration of the phase corresponding to the zone, usually the default duration, such as 30 seconds, etc., after setting the selected state of the sub-control corresponding to each semaphore identifier, you can also switch the color of the light in the entire cycle through the main control or the sub-control The position and length in the sequence are configured.
因此,上述主控件和每个子控件通常都是基于相位时长的进度条控件,进度条控件的长度与相位时长对应,且进度条控件配置有相位修改单元,因此,上述通过每个子控件的选中状态来配置信号灯的相位的步骤还包括以下过程:Therefore, the above-mentioned main control and each sub-control are usually progress bar controls based on the phase duration. The length of the progress bar control corresponds to the phase duration, and the progress bar control is equipped with a phase modification unit. Therefore, the above is determined by the selected state of each sub-control. The steps to configure the phase of the semaphore also include the following process:
根据设置操作调整相位修改单元在进度条控件上的位置,改变相位时长对应的进度条控件的长度,以对灯时配置矩阵中,每个信号灯标识对应的绿灯相位时长进行同步调整。Adjust the position of the phase modification unit on the progress bar control according to the setting operation, and change the length of the progress bar control corresponding to the phase duration, so as to synchronously adjust the green light phase duration corresponding to each signal indicator in the lamp time configuration matrix.
其中,由于本申请实施例中,是以灯时配置矩阵的方式表示各个方向信号灯对应的相位信息,因此,在对其中一个方向的相位进行调整时,其他方向的相位是同步调整的,例如,在图3或图4中,如果要调整路口A方向的直行信号灯的绿灯相位,可以通过主控件来调整,通过点击或触控该列对应的主控件的相位修改单元进行拖动的方式来改变该绿灯 相位对应的时长,并且,由于路口C方向的直行信号灯的绿灯相位与路口A在同一列,所以此时路口C方向的直行信号灯的绿灯相位也会同步调整,相应的,对应同一列中,其他方向的红灯相位的时长也是同步调整,以保持相应各个方向的同步调整,避免出现信号灯的混乱,同时,该同步配置的方式,也无需工作人员去重新计算其他方向的时长,有效简化了信号机的配置过程。Among them, in the embodiment of the present application, the phase information corresponding to each direction signal lamp is expressed in the form of a lamp hour configuration matrix. Therefore, when the phase of one direction is adjusted, the phase of the other direction is adjusted synchronously, for example, In Figure 3 or Figure 4, if you want to adjust the green phase of the straight-going signal light in the direction of intersection A, you can adjust it through the main control, and change it by clicking or touching the phase modification unit of the main control corresponding to the column and dragging it. The green light phase corresponds to the duration, and since the green phase of the straight signal light in the direction of intersection C is in the same column as that of intersection A, at this time the green light phase of the straight signal light in the direction of intersection C will also be adjusted synchronously, correspondingly, corresponding to the same column , The duration of the red light phase in other directions is also adjusted synchronously to maintain the synchronous adjustment in each direction and avoid the confusion of signal lights. At the same time, the synchronization configuration method does not require staff to recalculate the duration of other directions, which is effectively simplified The configuration process of the signal machine.
进一步,在进行相位修改或者调整时还可以通过相应的子控件进行,且,在使用子控件时,该子控件对应的同一列的其他相位也是同步调整,具体可以根据实时使用情况进行设置,本申请实施例对此不进行限制。Further, the phase modification or adjustment can also be carried out through the corresponding sub-control, and when the sub-control is used, the other phases in the same column corresponding to the sub-control are also adjusted synchronously, which can be set according to the real-time usage. The application embodiment does not limit this.
图3或者图4中,仅仅示出了一个周期的情况,交通信号机可以根据该一个周期控制信号灯始终执行对应的灯时方案,而对于一天中不同时段,信号灯的灯时,或者相位对应的时长有要求时,也可以设置多个周期。例如,对于工作日的早晚高峰期,可以将车流量大的路口对应的绿灯相位设置为最大相位,非高峰期再恢复到正常相位等等,此时,可以在图3或图4所示的灯时配置矩阵中增加相位。In Figure 3 or Figure 4, only one cycle is shown. The traffic signal machine can always control the signal light to execute the corresponding light-hour scheme according to this cycle. For different times of the day, the light hour or phase corresponding to the signal light When the duration is required, multiple cycles can also be set. For example, for the morning and evening peak periods of the working day, the green light phase corresponding to the intersection with high traffic volume can be set to the maximum phase, and the normal phase can be restored to the normal phase during the off-peak period. At this time, it can be shown in Figure 3 or Figure 4. Increase the phase in the lamp time configuration matrix.
因此,本申请实施例中还包括以下过程:当监测到相位添加操作时,在进度条控件中添加绿灯相位区和对应的隔离相位区;以及,当监测到相位删除操作时,在进度条控件中删除绿灯相位区,以及对应的隔离相位区。Therefore, the embodiment of the present application also includes the following process: when the phase addition operation is monitored, the green light phase area and the corresponding isolated phase area are added to the progress bar control; and when the phase deletion operation is detected, the progress bar control Delete the green phase area and the corresponding isolation phase area.
具体地,如图4所示,在灯时配置矩阵中,通常都设置有相位添加控件,上述相位添加操作通常是作用于该相位添加控件的操作,如点击、触控或长按等操作,此时,可以在现有的灯时配置矩阵中继续加入一列,可以加在末尾,也可以矩阵中任意点击的位置,然后再基于上述配置方式,继续配置相应的绿灯相位区。Specifically, as shown in Fig. 4, in the lamp hour configuration matrix, a phase addition control is usually provided. The above phase addition operation is usually an operation that acts on the phase addition control, such as click, touch, or long press. At this point, you can continue to add a column to the existing lamp hour configuration matrix, you can add it at the end, or you can click any position in the matrix, and then continue to configure the corresponding green light phase area based on the above configuration method.
在增加一列绿灯相位区时,包含黄灯隔离区和红灯隔离区的隔离相位区也是同步增加的,该隔离相位区相当于一个过度数据,可以隔离相冲突的两个相位,避免两个方向的交通流产生短时冲突而发生交通事故。When adding a column of green light phase area, the isolation phase area including the yellow light isolation area and the red light isolation area is also increased synchronously. The isolation phase area is equivalent to an excessive data, which can isolate the two conflicting phases and avoid two directions. The traffic flow produced short-term conflicts and traffic accidents occurred.
进一步,上述主控件或者子控件由于是基于相位时长的进度条控件,因此,可以看成是一个表示绿灯时长的时间轴,红灯区间或者红灯时长不在该时间轴上显示,因为各方向的绿灯区间和隔离区的总时间长度就是灯时时长的周期长度,等于每个相位的绿灯时长+黄灯时长+全红时长。Furthermore, since the above main control or sub-control is a progress bar control based on the phase duration, it can be regarded as a time axis indicating the duration of the green light, and the red light interval or the red light duration is not displayed on the time axis because the green lights in each direction The total time length of the interval and the isolation zone is the cycle length of the light duration, which is equal to the green light duration of each phase + the yellow light duration + the full red duration.
应当理解,上述图2至图4是以十字路口为例进行说明,在其他实施例中,还可以是 其他交叉路口,具体以实际使用情况为准,本申请实施例对此不进行限制。It should be understood that the above-mentioned Figures 2 to 4 are illustrated by using intersections as examples. In other embodiments, other intersections may also be used. The specific conditions are subject to actual usage, which is not limited in the embodiments of the present application.
进一步,为了增加交通信号机配置方案的可行性,本申请实施例中还包括对配置的方案进行冲突检测的步骤,具体包括以下过程:基于灯时配置矩阵,按照预先设置的冲突规则对每个子控件的选中状态进行冲突检测;其中,预先设置的冲突规则为基于每个车道的渠化要求生成的,包括同一时间段内禁止同时选中的子控件的组合;当检测出组合中包括的子控件同时为选中状态时,确定当前配置为冲突配置,并生成提示信号。Further, in order to increase the feasibility of the traffic signal configuration scheme, the embodiment of the present application also includes the step of performing conflict detection on the configured scheme, which specifically includes the following process: based on the lamp hour configuration matrix, each sub Conflict detection is performed on the selected state of the control; among them, the preset conflict rules are generated based on the channelization requirements of each lane, including the combination of sub-controls that are forbidden to be selected at the same time within the same time period; when the sub-controls included in the combination are detected When it is selected at the same time, it is determined that the current configuration is a conflict configuration, and a prompt signal is generated.
具体地,上述预先设置的冲突规则中禁止同时选中的子控件的组合,通常指灯时配置矩阵中同一列中禁止同时选中的至少两个子控件的组合,以图4为例,基于图4所示的子控件的选中状态,各个方向的信号灯依次交替显示绿灯,以依次放行每个方向的车辆,而如果第一列中,A方向和C方向直行对应的子控件以及B方向和D方向直行对应的子控件被同时误选中,则会导致两个交叉方向出现同时直行的情况,使两个方向的交通流产生冲突而发生交通事故,因此,在设置冲突检测的冲突规则时,可以将A方向和C方向以及B方向和D方向对应的子控件设置成为一个禁止同时选中的子控件的组合,以便于在冲突检测时能够检测出该冲突情况,以避免出现交通混乱。Specifically, the combination of the sub-controls that are forbidden to be selected at the same time in the above preset conflict rule usually refers to the combination of at least two sub-controls that are forbidden to be selected at the same time in the same column of the lamp time configuration matrix. In the selected state of the sub-control shown, the signal lights in each direction alternately display green lights in order to release vehicles in each direction in turn, and if in the first column, the sub-controls corresponding to the A direction and the C direction go straight and the B direction and D direction go straight If the corresponding sub-controls are incorrectly selected at the same time, it will cause the two crossing directions to go straight at the same time, causing the traffic flow in the two directions to conflict and traffic accidents. Therefore, when setting the conflict detection rules, you can set A The sub-controls corresponding to the direction and the C direction and the B direction and the D direction are set as a combination of sub-controls that are forbidden to be selected at the same time, so that the conflict can be detected during the conflict detection to avoid traffic chaos.
进一步,对于冲突检测通过的配置方案,还可以在接收配置完成指令之后,保存当前路口对应的交通信号机的配置信息,以便于当再次监测到当前路口对应的交通信号机的配置操作时,在第二配置区直接调用并显示该配置信息。具体地,如图3所示,在灯时配置界面中,还可以包括“完成”控件,当工作人员配置完成后,可以通过点击该“完成”控件对配置信息进行保存。Further, for the configuration scheme passed by the conflict detection, after receiving the configuration completion instruction, the configuration information of the traffic signal corresponding to the current intersection can be saved, so that when the configuration operation of the traffic signal corresponding to the current intersection is monitored again, the configuration operation of the traffic signal corresponding to the current intersection is monitored again. The second configuration area directly calls and displays the configuration information. Specifically, as shown in Fig. 3, in the lamp hour configuration interface, a "finish" control may also be included. When the staff finishes the configuration, the configuration information can be saved by clicking the "finish" control.
进一步,对与已保存的配置信息,还可以进行预览演示,具体地,如图3所示,在灯时配置界面中,还包括“查看演示”控件,工作人员可以点击“查看演示”控件,以输入演示操作指令,终端在接收到该演示操作指令后,在灯时配置区域中对配置的每个车道对应的信号灯的相位时长按照时间轴进行演示,以便于根据演示过程对交通信号机连接的实际信号灯进行验证,提高交通信号机的配置效果。Furthermore, the saved configuration information can also be previewed and demonstrated. Specifically, as shown in Figure 3, in the lamp hour configuration interface, the "View Demo" control is also included, and the staff can click the "View Demo" control. By inputting a demonstration operation instruction, after receiving the demonstration operation instruction, the terminal will demonstrate the phase duration of the signal light corresponding to each lane in the light configuration area according to the time axis, so as to facilitate the connection of the traffic signal machine according to the demonstration process The actual signal lights are verified to improve the configuration effect of traffic signals.
在上述实施例的基础上,本申请实施例还提供了一种交通信号机的配置装置,设置在可呈现电子地图的终端,且,终端的显示界面上显示有交通信号机的配置界面,图5示出了一种交通信号机的配置装置的示意图,如图5所示,该装置包括:On the basis of the above-mentioned embodiment, the embodiment of the present application also provides a configuration device for a traffic signal, which is set on a terminal that can present an electronic map, and the display interface of the terminal displays the configuration interface of the traffic signal. Fig. 5 shows a schematic diagram of a configuration device of a traffic signal. As shown in Fig. 5, the device includes:
第一显示模块50,配置成当监测到配置操作时,在终端的显示界面上显示交通信号机对应的图形化配置界面,其中,图形化配置界面中包括配置信号机端子与路口信号灯关系 的第一配置区,第一配置区显示有当前路口车道的电子地图;The first display module 50 is configured to display a graphical configuration interface corresponding to the traffic signal on the display interface of the terminal when the configuration operation is monitored, wherein the graphical configuration interface includes the first configuration interface for configuring the relationship between the signal terminal and the intersection signal light A configuration area, the first configuration area displays an electronic map of the current intersection lane;
第二显示模块52,配置成接收作用于第一配置区的添加指令,在图形化配置界面中显示第二配置区;The second display module 52 is configured to receive an adding instruction acting on the first configuration area, and display the second configuration area in the graphical configuration interface;
添加模块54,配置成根据添加指令在第二配置区中基于电子地图添加每个车道对应信号灯的信号灯标识,并为每个信号灯标识关联相应的信号机端子标识、路口信息和行驶方向信息;The adding module 54 is configured to add the signal light identifier of each lane corresponding to the signal light in the second configuration area based on the electronic map according to the adding instruction, and associate the corresponding signal terminal identifier, intersection information and driving direction information for each signal light identifier;
第三显示模块56,配置成当监测到添加完成指令时,在第二配置区显示灯时配置界面;其中,在灯时配置界面中,每个信号灯标识和与每个信号灯标识关联的相位控件依次排列,相位控件为表示信号灯对应的相位的图形控件;The third display module 56 is configured to display the light time configuration interface in the second configuration area when the addition completion instruction is monitored; wherein, in the light time configuration interface, each signal light identifier and the phase control associated with each signal light identifier Arranged in order, the phase control is a graphic control that represents the phase corresponding to the signal lamp;
配置模块58,配置成接收作用于相位控件的设置操作,基于设置操作通过相位控件对每个车道对应的信号灯的相位进行配置。The configuration module 58 is configured to receive the setting operation acting on the phase control, and configure the phase of the signal lamp corresponding to each lane through the phase control based on the setting operation.
本申请实施例还提供一种电子设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述实施例提供的一种交通信号机的配置方法的步骤。An embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. The processor executes the computer program to implement the traffic signal device provided by the foregoing embodiment. The steps of the configuration method.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器运行时执行上述实施例的一种交通信号机的配置方法的步骤。The embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of a method for configuring a traffic signal in the above-mentioned embodiment are executed.
本申请实施例还提供了一种电子设备的结构示意图,如图6所示,为该电子设备的结构示意图,其中,该电子设备包括处理器61和存储器60,该存储器60存储有能够被该处理器61执行的计算机可执行指令,该处理器61执行该计算机可执行指令以实现上述交通信号机的配置方法。The embodiment of the present application also provides a schematic structural diagram of an electronic device. As shown in FIG. 6, it is a schematic structural diagram of the electronic device. The electronic device includes a processor 61 and a memory 60. The computer-executable instructions executed by the processor 61, and the processor 61 executes the computer-executable instructions to implement the above-mentioned method for configuring the traffic signal.
在图6示出的实施方式中,该电子设备还包括总线62和通信接口63,其中,处理器61、通信接口63和存储器60通过总线62连接。In the embodiment shown in FIG. 6, the electronic device further includes a bus 62 and a communication interface 63, where the processor 61, the communication interface 63 and the memory 60 are connected through the bus 62.
其中,存储器60可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口63(可以是有线或者无线)实现该***网元与至少一个其他网元之间的通信连接,可以使用互联网、广域网、本地网或城域网等。总线62可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构) 总线等。所述总线62可以分为地址总线、数据总线或控制总线等。为便于表示,图6中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The memory 60 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the Internet, a wide area network, a local network, or a metropolitan area network may be used. The bus 62 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnection standard) bus, or an EISA (Extended Industry Standard Architecture) bus or the like. The bus 62 can be divided into an address bus, a data bus, or a control bus. For ease of presentation, only one bidirectional arrow is used to indicate in FIG. 6, but it does not mean that there is only one bus or one type of bus.
处理器61可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器61中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器61可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processor,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件或分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器、闪存、只读存储器、可编程只读存储器、电可擦写可编程存储器或寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器61读取存储器中的信息,结合其硬件完成前述实施例的交通信号机的配置方法的步骤。The processor 61 may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method can be completed by an integrated logic circuit of hardware in the processor 61 or instructions in the form of software. The aforementioned processor 61 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (Digital Signal Processor, DSP for short). ), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices or discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. The storage medium is located in the memory, and the processor 61 reads the information in the memory, and completes the steps of the traffic signal configuration method of the foregoing embodiment in combination with its hardware.
本申请实施例所提供的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The computer program product provided by the embodiment of the present application includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. For specific implementation, please refer to the method embodiment , I won’t repeat it here.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the device described above can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.
另外,在本申请实施例的描述中,除非另有明确的规定和限定,术语“安装”、“相连”和“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,或可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。In addition, in the description of the embodiments of the present application, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, they may be fixed or detachable connections. , Or integrally connected; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be the internal communication between the two components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood under specific circumstances.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方 法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”和“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”和“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of this application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner" and "outer", etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the application and simplifying the description, and does not indicate or imply that the pointed device or element must have a specific orientation or a specific orientation. The structure and operation cannot therefore be understood as a limitation of this application. In addition, the terms "first", "second" and "third" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance.
最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of this application, which are used to illustrate the technical solution of this application, rather than limit it. The scope of protection of this application is not limited to this, although referring to the foregoing The embodiments describe the application in detail, and those of ordinary skill in the art should understand that any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in this application. Or it can be easily conceived of changes, or equivalent replacements of some of the technical features; and these modifications, changes or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should be covered in this application Within the scope of protection. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (10)

  1. 一种交通信号机的配置方法,其特征在于,所述方法包括:A method for configuring a traffic signal, characterized in that the method includes:
    当监测到配置操作时,在终端的显示界面上显示交通信号机对应的图形化配置界面,其中,所述图形化配置界面中包括配置信号机端子与路口信号灯关系的第一配置区,所述第一配置区显示有当前路口车道的电子地图;When the configuration operation is monitored, the graphical configuration interface corresponding to the traffic signal is displayed on the display interface of the terminal, wherein the graphical configuration interface includes a first configuration area for configuring the relationship between the signal terminal and the intersection signal light, and The first configuration area displays the electronic map of the current intersection lane;
    接收作用于所述第一配置区的添加指令,在所述图形化配置界面中显示第二配置区;Receiving an adding instruction acting on the first configuration area, and displaying a second configuration area in the graphical configuration interface;
    根据所述添加指令在所述第二配置区中基于所述电子地图添加每个车道对应信号灯的信号灯标识,并为每个所述信号灯标识关联相应的信号机端子标识、路口信息和行驶方向信息;According to the adding instruction, add the signal light identifier of each lane corresponding to the signal light in the second configuration area based on the electronic map, and associate the corresponding signal terminal identifier, intersection information and driving direction information for each of the signal light identifiers ;
    当监测到添加完成指令时,在所述第二配置区显示灯时配置界面;其中,在所述灯时配置界面中,每个所述信号灯标识和与每个所述信号灯标识关联的相位控件依次排列,所述相位控件为表示所述信号灯对应的相位的图形控件;When the addition completion instruction is monitored, the lamp hour configuration interface is displayed in the second configuration area; wherein, in the lamp hour configuration interface, each of the signal lamp identifiers and the phase control associated with each of the signal lamp identifiers Arranged in sequence, the phase control is a graphic control representing the phase corresponding to the signal lamp;
    接收作用于所述相位控件的设置操作,基于所述设置操作通过所述相位控件对每个车道对应的所述信号灯的相位进行配置。The setting operation acting on the phase control is received, and the phase of the signal light corresponding to each lane is configured through the phase control based on the setting operation.
  2. 根据权利要求1所述的方法,其特征在于,一个所述信号灯标识对应唯一一个所述信号机端子标识;The method according to claim 1, wherein one signal light identifier corresponds to only one signal terminal identifier;
    所述相位控件为绿灯相位控件,包括主控件,以及,与每个所述信号灯标识对应的子控件;所述主控件和每个所述子控件包括至少两个绿灯相位区,每个所述绿灯相位区对应预设的相位时长,且,所述绿灯相位区的末端还设置有包括黄灯隔离区和红灯隔离区的隔离相位区;The phase control is a green light phase control, including a main control, and a sub-control corresponding to each of the signal light identifiers; the main control and each of the sub-controls include at least two green light phase areas, each of the The green light phase area corresponds to the preset phase duration, and the end of the green light phase area is also provided with an isolation phase area including a yellow light isolation area and a red light isolation area;
    在所述第二配置区显示灯时配置界面之后,所述方法还包括:After the lamp configuration interface is displayed in the second configuration area, the method further includes:
    在所述灯时配置界面中,基于所述电子地图显示的每个所述车道的渠化要求生成包含所述相位控件的灯时配置矩阵;In the light-hour configuration interface, generate a light-hour configuration matrix including the phase control based on the channelization requirements of each lane displayed on the electronic map;
    其中,所述灯时配置矩阵的每列显示的内容依次包括:每个所述信号灯标识对应的信号机端子标识、路口信息、信号灯指示方向信息和所述相位控件,每个所述子控件在灯时配置矩阵中每个所述信号灯标识对应的位置处依次排列。Wherein, the content displayed in each column of the lamp time configuration matrix includes in turn: the signal terminal identifier corresponding to each signal lamp identifier, intersection information, signal lamp indication direction information, and the phase control, and each of the sub-controls is in The positions corresponding to each of the signal lamp identifiers in the lamp hour configuration matrix are arranged in sequence.
  3. 根据权利要求2所述的方法,其特征在于,基于所述设置操作通过所述相位控件对所述信号灯对应的相位进行配置的步骤包括:The method according to claim 2, wherein the step of configuring the phase corresponding to the signal light through the phase control based on the setting operation comprises:
    基于所述设置操作,在所述灯时配置矩阵中按照每个所述车道的渠化要求依次设置每个所述信号灯标识对应的子控件的选中状态;其中,当所述子控件被选中时,所述信号灯标识对应的信号灯显示绿灯;Based on the setting operation, the selected state of the sub-control corresponding to each of the signal light identifiers is sequentially set in the light-time configuration matrix according to the channelization requirements of each of the lanes; wherein, when the sub-control is selected , The signal light corresponding to the signal light identifier displays a green light;
    通过每个所述子控件的选中状态来同步配置所述信号灯的绿灯相位。The green phase of the signal light is configured synchronously through the selected state of each of the sub-controls.
  4. 根据权利要求3所述的方法,其特征在于,所述主控件和每个所述子控件为基于相位时长的进度条控件,所述进度条控件的长度与所述相位时长对应,且所述进度条控件配置有相位修改单元;The method according to claim 3, wherein the main control and each of the sub-controls are progress bar controls based on the phase duration, the length of the progress bar control corresponds to the phase duration, and the The progress bar control is equipped with a phase modification unit;
    通过每个所述子控件的选中状态来配置所述信号灯的相位的步骤还包括:The step of configuring the phase of the signal light through the selected state of each of the sub-controls further includes:
    根据所述设置操作调整所述相位修改单元在所述进度条控件上的位置,改变所述相位时长对应的所述进度条控件的长度,以对所述灯时配置矩阵中,每个所述信号灯标识对应的绿灯相位时长进行同步调整。Adjust the position of the phase modification unit on the progress bar control according to the setting operation, and change the length of the progress bar control corresponding to the phase duration, so as to configure the lamp time matrix for each of the The phase duration of the green light corresponding to the signal light identifier is adjusted synchronously.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    当监测到相位添加操作时,在所述进度条控件中添加所述绿灯相位区和对应的隔离相位区;以及,当监测到相位删除操作时,在所述进度条控件中删除所述绿灯相位区,以及对应的所述隔离相位区。When the phase addition operation is monitored, the green light phase area and the corresponding isolated phase area are added to the progress bar control; and, when the phase deletion operation is monitored, the green light phase is deleted from the progress bar control Area, and the corresponding isolation phase area.
  6. 根据权利要求1所述的方法,其特征在于,根据所述添加指令在所述第二配置区中基于所述电子地图添加每个车道对应信号灯的信号灯标识,并为每个所述信号灯标识关联相应的信号机端子标识、路口信息和行驶方向信息的步骤包括:The method according to claim 1, characterized in that, in the second configuration area according to the adding instruction, the signal light identifier of each lane corresponding to the signal light is added based on the electronic map, and each of the signal light identifiers is associated The steps of corresponding signal terminal identification, intersection information and driving direction information include:
    在所述第二配置区中,显示包括有添加控件的端子配置图形界面;In the second configuration area, a terminal configuration graphical interface including added controls is displayed;
    在所述端子配置图形界面上,接收作用于所述添加控件的添加指令,以根据所述添加指令添加所述信号灯标识,以及每个所述信号灯标识关联的信号机端子标识、路口信息和信号灯指示方向信息。On the terminal configuration graphical interface, an adding instruction acting on the adding control is received to add the signal light identifier according to the adding instruction, and the signal terminal identifier, intersection information, and signal light associated with each signal light identifier Indicates direction information.
  7. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, wherein the method further comprises:
    基于所述灯时配置矩阵,按照预先设置的冲突规则对每个所述子控件的选中状态进行冲突检测;其中,预先设置的所述冲突规则为基于每个所述车道的渠化要求生成的,包括同一时间段内禁止同时选中的所述子控件的组合;Based on the light-time configuration matrix, conflict detection is performed on the selected state of each of the sub-controls according to a preset conflict rule; wherein the preset conflict rule is generated based on the channelization requirements of each lane , Including the combination of the sub-controls that are forbidden to be selected at the same time within the same time period;
    当检测出所述组合中包括的所述子控件同时为选中状态时,确定当前配置为冲突配置,并生成提示信号。When it is detected that the sub-controls included in the combination are selected at the same time, it is determined that the current configuration is a conflict configuration, and a prompt signal is generated.
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    接收配置完成指令,保存当前路口对应的交通信号机的配置信息,以便于当再次监测到当前路口对应的交通信号机的配置操作时,在所述第二配置区直接调用并显示所述配置信息。Receive the configuration completion instruction and save the configuration information of the traffic signal corresponding to the current intersection, so that when the configuration operation of the traffic signal corresponding to the current intersection is monitored again, the configuration information is directly called and displayed in the second configuration area .
  9. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    接收演示操作指令,在所述灯时配置区域中对配置的每个车道对应的所述信号灯的相位时长按照时间轴进行演示,以便于根据演示过程对所述交通信号机连接的实际信号灯进行验证。Receive a demonstration operation instruction, and demonstrate the phase duration of the signal light corresponding to each lane configured in the light time configuration area according to the time axis, so as to verify the actual signal light connected to the traffic signal machine according to the demonstration process .
  10. 一种交通信号机的配置装置,其特征在于,所述装置包括:A configuration device for a traffic signal, characterized in that the device comprises:
    第一显示模块,配置成当监测到配置操作时,在终端的显示界面上显示交通信号机对应的图形化配置界面,其中,所述图形化配置界面中包括配置信号机端子与路口信号灯关系的第一配置区,所述第一配置区显示有当前路口车道的电子地图;The first display module is configured to display a graphical configuration interface corresponding to the traffic signal on the display interface of the terminal when the configuration operation is monitored, wherein the graphical configuration interface includes a configuration interface for configuring the relationship between the signal terminal and the intersection signal light A first configuration area, where an electronic map of the current intersection lane is displayed in the first configuration area;
    第二显示模块,配置成接收作用于所述第一配置区的添加指令,在所述图形化配置界面中显示第二配置区;The second display module is configured to receive an adding instruction acting on the first configuration area, and display the second configuration area in the graphical configuration interface;
    添加模块,配置成根据所述添加指令在所述第二配置区中基于所述电子地图添加每个车道对应信号灯的信号灯标识,并为每个所述信号灯标识关联相应的信号机端子标识、路口信息和行驶方向信息;The adding module is configured to add the signal light identifier of each lane corresponding to the signal light in the second configuration area based on the electronic map according to the adding instruction, and associate corresponding signal terminal identifiers and intersections for each of the signal light identifiers Information and driving direction information;
    第三显示模块,配置成当监测到添加完成指令时,在所述第二配置区显示灯时配置界面;其中,在所述灯时配置界面中,每个所述信号灯标识和与每个所述信号灯标识关联的相位控件依次排列,所述相位控件为表示所述信号灯对应的相位的图形控件;The third display module is configured to display the light time configuration interface in the second configuration area when the addition completion instruction is monitored; wherein, in the light time configuration interface, each of the signal light identifiers is associated with each of the lights. The phase controls associated with the signal light identifier are arranged in sequence, and the phase control is a graphic control that represents the phase corresponding to the signal light;
    配置模块,配置成接收作用于所述相位控件的设置操作,基于所述设置操作通过所述相位控件对每个车道对应的所述信号灯的相位进行配置。The configuration module is configured to receive a setting operation acting on the phase control, and configure the phase of the signal light corresponding to each lane through the phase control based on the setting operation.
PCT/CN2020/088320 2020-01-17 2020-04-30 Traffic signal controller configuration method and apparatus WO2021142979A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010050035.1 2020-01-17
CN202010050035.1A CN111260936B (en) 2020-01-17 2020-01-17 Configuration method and device of traffic signal machine

Publications (1)

Publication Number Publication Date
WO2021142979A1 true WO2021142979A1 (en) 2021-07-22

Family

ID=70954186

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/088320 WO2021142979A1 (en) 2020-01-17 2020-04-30 Traffic signal controller configuration method and apparatus

Country Status (2)

Country Link
CN (1) CN111260936B (en)
WO (1) WO2021142979A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037545B (en) * 2020-08-31 2022-05-17 腾讯科技(深圳)有限公司 Information management method, information management device, computer equipment and storage medium
CN113593260A (en) * 2021-06-02 2021-11-02 维特瑞交通科技有限公司 Hand-held multi-phase traffic control terminal
CN114047974B (en) * 2021-11-15 2023-10-31 瀚云科技有限公司 Internet of things equipment configuration method and device, configuration terminal and storage medium
CN114333371A (en) * 2021-12-27 2022-04-12 中电金信软件有限公司 Traffic signal controller control method, traffic signal controller control device, electronic device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831776A (en) * 2012-09-14 2012-12-19 南京莱斯信息技术股份有限公司 Method for configuring crossing traffic signal timing according to time space diagram
US20160247400A1 (en) * 2015-02-23 2016-08-25 GE Lighting Solutions, LLC Remote control of light signaling devices
CN108564795A (en) * 2018-03-30 2018-09-21 江苏智通交通科技有限公司 Phase sequence selects and the Signal phase configuration method and system of schemes generation formula
CN108847036A (en) * 2018-06-26 2018-11-20 江苏智通交通科技有限公司 Traffic signal control scheme with correction mechanism configures system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516006A (en) * 2003-01-06 2004-07-28 西北工业大学 Traffic signal machine monitoring software integrated system
CN103531027B (en) * 2013-10-31 2016-05-11 广东威创视讯科技股份有限公司 The method for drafting of traffic intersection signal timing diagram and system
CN204303171U (en) * 2014-12-17 2015-04-29 上海宝康电子控制工程有限公司 Portable traffic signal controls debugging instrument
US10019898B2 (en) * 2016-01-14 2018-07-10 Siemens Industry, Inc. Systems and methods to detect vehicle queue lengths of vehicles stopped at a traffic light signal
CN107067761A (en) * 2017-06-14 2017-08-18 公安部交通管理科学研究所 Traffic signaling equipment control system and method based on mobile terminal
CN109606433B (en) * 2018-12-25 2023-11-10 卡斯柯信号有限公司 Road traffic signal simulation system applied to tramcar
CN110515517A (en) * 2019-08-21 2019-11-29 江苏航天大为科技股份有限公司 The design method of traffic signal controlling machine human-computer interaction interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831776A (en) * 2012-09-14 2012-12-19 南京莱斯信息技术股份有限公司 Method for configuring crossing traffic signal timing according to time space diagram
US20160247400A1 (en) * 2015-02-23 2016-08-25 GE Lighting Solutions, LLC Remote control of light signaling devices
CN108564795A (en) * 2018-03-30 2018-09-21 江苏智通交通科技有限公司 Phase sequence selects and the Signal phase configuration method and system of schemes generation formula
CN108847036A (en) * 2018-06-26 2018-11-20 江苏智通交通科技有限公司 Traffic signal control scheme with correction mechanism configures system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ANONYMOUS: "Road Traffic Signal Controller Manual", ROAD TRAFFIC SIGNAL CONTROLLER MANUAL; V1.0.0, 30 September 2018 (2018-09-30), pages 1 - 65, XP009529313 *

Also Published As

Publication number Publication date
CN111260936A (en) 2020-06-09
CN111260936B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2021142979A1 (en) Traffic signal controller configuration method and apparatus
JP7168722B2 (en) MAP DATA PROCESSING METHOD, DEVICE, DEVICE AND STORAGE MEDIUM
ES2973994T3 (en) All-in-one machine to perform quick touch on all its channels
CN103345885B (en) The collocation method of casing trace configurations method and device and spliced display screen
US9311000B2 (en) Method for displaying keypad for smart devices
CN104007991A (en) Method and device for adjusting application program interface layout
CN111027160B (en) SUMO traffic simulation scene accurate construction method based on data conversion
CN113269971B (en) Signal lamp control method, device and system
JP2013242638A (en) Test support system, test support method and program
JP2023546763A (en) High-efficiency, high-precision chip circuit simulation verification method, system, device, and storage medium
CN110102059B (en) Method and device for generating route point information, processor and terminal
JP5938917B2 (en) Computer program, portable information processing device, traffic signal controller and traffic signal control system
CN213892330U (en) Touch device for automobile atmosphere lamp
CN110120877A (en) A kind of configuration method of the parameter of the configuration circuit and exchange chip of exchange chip
CN109425360A (en) Applied to road conditions display methods, device and the display equipment in map
CN114397986B (en) View display system of station interface
CN111324845A (en) Method and system for constructing dial plate object
CN111841010A (en) Urban road network generation method and device, storage medium, processor and terminal
CN107346609A (en) A kind of cell phone intelligent sensing identification traffic signal system based on Bluetooth technology
CN115220852A (en) Method and device for generating human-computer interaction interface
CN115757674A (en) Map processing method, map processing device, map processing equipment and storage medium
US11373256B2 (en) Editing and representing property values for a digital map
CN113671883A (en) Method and device for controlling switch indicator light, single chip microcomputer and storage medium
CN107705598B (en) Novel indicator board and control method thereof
CN101369013B (en) Method and system for amalgamation display of weather radar and navigation management radar information

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20913170

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20913170

Country of ref document: EP

Kind code of ref document: A1