Method, system and device for remotely configuring road traffic signal countdown timer
By using a power supply line and a 485 protocol communication line for the signal controller, the road traffic signal countdown timer can be remotely and automatically configured, solving the problem of high manual configuration costs, improving configuration efficiency and reducing maintenance costs.
Patent Information
- Application Number
- CN202511676490.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-14
- Publication Date
- 2026-01-09
AI Technical Summary
In existing technologies, configuring road traffic signal countdown timers requires significant manual labor, leading to inefficiency and increased costs.
By reusing the existing power supply line to send trigger signals and combining them with the 485 protocol communication line to send configuration information messages, the road traffic signal countdown timer can be remotely and automatically configured.
It eliminates the need for high-speed vehicle and pole-mounted debugging and on-site maintenance, reducing debugging and maintenance costs, improving configuration efficiency, and is suitable for software upgrades and deployments of existing systems.
Smart Images

Figure CN121305897A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of traffic signal control, and in particular, to a method, system and device for remotely configuring a road traffic signal countdown timer. BACKGROUND
[0002] A road traffic signal countdown timer is used to display the remaining time of the current state of an associated traffic signal light. For example, if the current state of the traffic signal light associated with the road traffic signal countdown timer is green, the road traffic signal countdown timer displays the remaining time of the green light. Currently, configuring the road traffic signal countdown timer deployed on an intersection often increases a lot of manual cost. SUMMARY
[0003] The present application provides a method, system and device for remotely configuring a road traffic signal countdown timer to automatically implement remote configuration of the road traffic signal countdown timer.
[0004] The present application provides a method for remotely configuring a road traffic signal countdown timer, The method is applied to a signal machine, which is used to control the state of a traffic signal light for directing traffic operation deployed on an intersection; a road traffic signal countdown timer is also deployed on the intersection; the road traffic signal countdown timer is associated with a corresponding traffic signal light, and is used to display the remaining time of the current state of the associated traffic signal light; the signal machine connects the road traffic signal countdown timer and the traffic signal light associated with the road traffic signal countdown timer through a first connection channel; the signal machine also connects the road traffic signal countdown timer through a second connection channel, which is a 485 protocol communication line different from the first connection channel, so that the road traffic signal countdown timer works in a protocol mode; the road traffic signal countdown timer works based on the control of the signal machine in the protocol mode; the method comprises: When it is determined to configure a road traffic signal countdown timer on the intersection, it is identified whether the state of the traffic signal light associated with the road traffic signal countdown timer is currently a green flashing state or a yellow light state; If the state of the traffic signal light is not currently a green flashing state and is not a yellow light state, N consecutive trigger signals are sent through the first connection channel connecting the traffic signal light and the road traffic signal countdown timer, and N is greater than 1; The current configuration information message is sent through the 485 protocol communication line connected with the road traffic signal countdown timer within a first set time after sending N continuous trigger signals, so that the road traffic signal countdown timer is autonomously configured based on the configuration information carried in the current configuration information message in the case that the current configuration information message is received and N continuous trigger signals have been received within a second set time before the current time, the second set time is equal to the first set time, or the second set time is greater than the first set time and less than a third set time, and the third set time is from the current time to the time when the latest historical configuration information message is received.
[0005] The embodiment of the present application provides a method for remotely configuring a road traffic signal countdown timer, which is applied to any road traffic signal countdown timer deployed on an intersection, the road traffic signal countdown timer is associated with a corresponding traffic signal lamp on the intersection, and the road traffic signal countdown timer is used to display the remaining time of the current state of the associated traffic signal lamp; the road traffic signal countdown timer and the associated traffic signal lamp are connected with a signal machine through a first connection channel; the signal machine is used at least for controlling the state of the traffic signal lamp deployed on the intersection for guiding traffic operation; the road traffic signal countdown timer is further connected with the signal machine through a second connection channel, the second connection channel is a 485 protocol communication line different from the first connection channel, so that the road traffic signal countdown timer works in a protocol mode, and the road traffic signal countdown timer works based on the control of the signal machine in the protocol mode; the method comprises the following steps: If N continuous trigger signals sent by the signal machine through the first connection channel between the road traffic signal countdown timer and the signal machine are detected, when a configuration information message is received through the 485 protocol communication line between the road traffic signal countdown timer and the signal machine within an appointed time after detecting the N trigger signals, autonomous configuration is performed based on the configuration information carried in the configuration information message; wherein, when the signal machine determines to configure the road traffic signal countdown timer, if it is identified that the state of the traffic signal lamp associated with the road traffic signal countdown timer is not currently a green flashing state and is also not a yellow lamp state, N continuous trigger signals are sent through the first connection channel connected with the traffic signal lamp and the road traffic signal countdown timer; and N is greater than 1.
[0006] The embodiment of the present application provides a road traffic signal system, which comprises a signal machine and a road traffic signal countdown timer, the signal machine supplies power for the road traffic signal countdown timer, the signal machine is connected with the road traffic signal countdown timer through 485 communication, and The signal machine sends a trigger signal to the road traffic signal countdown timer. The signal machine sends a configuration message at a preset time after sending the trigger signal, and the configuration message carries configuration information to be configured for the road traffic signal countdown timer; After receiving the trigger signal, and receiving the configuration message within a predetermined time after receiving the trigger signal, the road traffic signal countdown timer is configured according to the configuration information carried in the configuration message.
[0007] The embodiment of the present application also provides a system for remotely configuring a road traffic signal countdown timer, and the system comprises a signal machine; The system further comprises traffic signal lamps for directing traffic operation deployed at an intersection under control of the signal machine, and a road traffic signal countdown timer deployed at the intersection; the road traffic signal countdown timer is associated with a corresponding traffic signal lamp, and the road traffic signal countdown timer is used to display a remaining time of a current state of the associated traffic signal lamp; The signal machine performs the steps in the first method above; The road traffic signal countdown timer performs the steps in the second method above.
[0008] The embodiment of the present application also provides an electronic device. The electronic device comprises a processor and a machine readable storage medium; The machine readable storage medium stores machine executable instructions capable of being executed by the processor; The processor is used to execute the machine executable instructions to implement the steps of the method disclosed above.
[0009] As can be seen from the above technical solutions, the embodiment multiplexes a first connection channel (such as a red-green light line, also known as a fire zero line) originally used for supplying power to the road traffic signal countdown timer by the signal machine to send N times of continuous trigger signals to the road traffic signal countdown timer, and sends a configuration information message by combining the original signal line between the signal machine and the road traffic signal countdown timer, that is, the 485 protocol communication line, to realize that the road traffic signal countdown timer can be automatically configured by remotely setting the signal machine, without the need for additional use of a high vehicle, pole adjustment and road plugging, and without the need for maintenance personnel to go to the site for checking, thereby shortening the debugging and maintenance cost.
[0010] Further, the embodiment does not need to change the wiring layout of the existing signal machine and the road traffic signal countdown timer, and can directly perform software upgrade deployment on all existing systems at present, and has strong popularization. BRIEF DESCRIPTION OF DRAWINGS
[0011] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0012] Figure 1 A method flowchart provided by an embodiment of the present application; Figure 2 Another method flowchart provided by an embodiment of the present application; Figure 3 An application schematic diagram provided by an embodiment of the present application; Figure 4 An apparatus structure diagram provided by an embodiment of the present application; Figure 5 Another apparatus structure diagram provided by an embodiment of the present application; Figure 6 A hardware structure diagram of the apparatus shown in Figure 4 or Figure 5 The hardware structure diagram of the apparatus shown in. DETAILED DESCRIPTION
[0013] In order to make the technical solution provided by the embodiments of the present application better understood by those skilled in the art, and make the above-mentioned purposes, features and advantages of the embodiments of the present application more apparent and easy to understand, the technical solutions in the embodiments of the present application are further described in detail below with reference to the drawings.
[0014] Referring to Figure 1 , Figure 1 A method flowchart provided by an embodiment of the present application. As an embodiment, the method is applied to a signal machine (also referred to as a road traffic signal controller). The signal machine herein can change the timing of regulating traffic signal lights at an intersection and can control the state of the traffic signal lights at the intersection.
[0015] A road traffic signal countdown timer is also deployed at the intersection. In the embodiment, any road traffic signal countdown timer has an associated traffic signal light, and the road traffic signal countdown timer is used to display the remaining time of the current state of the associated traffic signal light, for example, if the current state of the traffic signal light associated with the road traffic signal countdown timer is green, the road traffic signal countdown timer displays the remaining time of the green light.
[0016] In the embodiment, the signal machine connects the road traffic signal countdown timer and the traffic signal lamp associated with the road traffic signal countdown timer through a first connection channel. As an example, in the embodiment, the first connection channel can reuse the fire zero line connection, such as a 220-volt fire zero line (i.e., one fire line and one zero line, collectively referred to as a lamp control output line), originally used by the signal machine to supply power to the road traffic signal countdown timer and the traffic signal lamp associated with the road traffic signal countdown timer, so as to change the connection structure between the existing signal machine and the road traffic signal countdown timer and the traffic signal lamp associated with the road traffic signal countdown timer as little as possible, avoid additional increase of other devices such as physical devices or logical devices, and save costs. It should be noted that, as another example, the signal machine can also not reuse the above-mentioned fire zero line connection, but supply power to the road traffic signal countdown timer through an additional power supply circuit, and the embodiment is not specifically limited.
[0017] In the embodiment, the signal machine also connects the road traffic signal countdown timer through a second connection channel. Optionally, in the embodiment, the second connection channel also reuses the 485 protocol communication line originally between the signal machine and the road traffic signal countdown timer, avoids additional increase of other devices such as physical devices or logical devices, and saves costs. In the embodiment, the road traffic signal countdown timer works in a protocol mode. Here, the road traffic signal countdown timer works in the protocol mode based on the control of the signal machine, such as configuration.
[0018] Based on the above description, the method provided by the embodiment of the application is described as follows: As shown in Figure 1 , the flow can include the following steps: Step 101, when it is determined to configure a road traffic signal countdown timer at an intersection, identify whether the state of the traffic signal lamp associated with the road traffic signal countdown timer is currently a green flash state or a yellow light state; if the state of the traffic signal lamp is not currently a green flash state and is not a yellow light state, perform step 102.
[0019] Of course, if the state of the traffic signal lamp is currently a green flash state or a yellow light state, wait until the state of the traffic signal lamp is not currently a green flash state and is not a yellow light state.
[0020] The reason why the embodiment avoids the green flash state or the yellow light state is mainly to ensure that the existing traffic environment is affected as little as possible and to perform as much as possible when the state of the traffic signal lamp is a red light or a green light.
[0021] Step 102, send N times of continuous trigger signals through a first connection channel connecting the traffic signal lamp and the road traffic signal countdown timer.
[0022] As described above, the first connection channel between the signal machine and the traffic signal lamp associated with the road traffic signal countdown timer reuses the physical connection between the signal machine and the traffic signal lamp associated with the road traffic signal countdown timer, which is the fire zero line connection. Under this premise, by means of the fire zero line connection between the signal machine and the traffic signal lamp associated with the road traffic signal countdown timer, a pulse signal generated by disconnecting the fire zero line connection for K seconds and then reconnecting the fire zero line connection (closing the fire zero line is equivalent to supplying power to the road traffic signal countdown timer and the traffic signal lamp associated with the road traffic signal countdown timer) can be triggered as a trigger signal.
[0023] In a specific implementation, N is greater than 1 to avoid possible conflicts with the defined countdown effective logic. It should be noted that in the embodiment, N is also not easy to be too large, otherwise it will cause too many times of sending trigger signals and cause visual confusion to pedestrians. Based on this, through experiments, the embodiment can recommend that N is 3. It should be noted that N is 3 is only an example and is not used to limit.
[0024] In the embodiment, the traffic signal lamp will flicker, such as from the original light to off to light, after receiving a trigger signal. The road traffic signal countdown timer will also flicker after receiving a trigger signal, or if the road traffic signal countdown timer has a capacitor, the display of the road traffic signal countdown timer may not change, and the embodiment does not specifically limit. But the road traffic signal countdown timer will consider that the current is about to be configured after receiving N consecutive trigger signals, and it will default to wait for a configuration information packet within a predetermined time, such as a second set time, in order to perform autonomous configuration based on the configuration information carried by the current configuration information packet, as shown in step 103.
[0025] Step 103, after sending N consecutive trigger signals, send a current configuration information packet through a 485 protocol communication line connected to the road traffic signal countdown timer within a first set time, so that the road traffic signal countdown timer, in the case that it receives the current configuration information packet and has received N consecutive trigger signals within a second set time from the current time, performs autonomous configuration based on the configuration information carried by the current configuration information packet.
[0026] For each road traffic signal countdown timer, it is connected to the signal machine through a 485 protocol communication line. Once the signal machine sends a configuration information message through the 485 protocol communication line, each road traffic signal countdown timer will receive the configuration information message sent by the signal machine. Based on the description of step 102, only one road traffic signal countdown timer will receive N consecutive trigger signals. Under this premise, only the road traffic signal countdown timer that receives N consecutive trigger signals and receives the configuration information message within the second set time after receiving N consecutive trigger signals will be configured based on the configuration information carried in the currently received configuration information message. Other road traffic signal countdown timers may receive the configuration information message, but because they do not receive N consecutive trigger signals within the second set time from the current time, they will not be configured based on the configuration information carried in the currently received configuration information message. This enables each road traffic signal countdown timer to accurately capture the configuration information message for self-configuration.
[0027] As an embodiment, the above-mentioned configuration information at least includes: address bits of the road traffic signal countdown timer; or at least includes: address bits of the road traffic signal countdown timer, and at least one of the following parameters: baud rate corresponding to serial communication, stop bit, data bit and check bit. The present embodiment does not specifically limit.
[0028] In the present embodiment, the second set time is equal to the first set time, or the second set time is greater than the first set time and less than the third set time, and the third set time is the time from the current time to the time when the latest historical configuration information message is received. Generally, under the general serial port protocol and the common baud rate, the first set time can be recommended to be 3-5 seconds.
[0029] At this point, the process shown in Figure 1 is completed.
[0030] As can be seen from the process shown in Figure 1 , the present embodiment realizes the automatic overall configuration of the road traffic signal countdown timer by multiplexing the original first connection channel (such as the red-green light line, also known as the fire zero line) for supplying power to the road traffic signal countdown timer to send N consecutive trigger signals to the road traffic signal countdown timer, and combining the original signal line between the signal machine and the road traffic signal countdown timer, i.e. the 485 protocol communication line, to send the configuration information message. This realizes that the overall configuration of the road traffic signal countdown timer can be automatically realized by remotely setting the signal machine, without the need for additional use of high vehicles, pole adjustment and road blocking, and without the need for maintenance personnel to go to the site for checking, thereby shortening the debugging and maintenance cost.
[0031] Furthermore, this embodiment does not require changes to the wiring layout of existing traffic signal controllers and road traffic signal countdown timers, and can be directly deployed on all existing systems through software upgrades, making it highly scalable.
[0032] It should be noted that in practical applications, it is often necessary to configure at least two traffic signal countdown timers at an intersection. Under this premise, one of the traffic signal countdown timers to be configured can be selected according to the phase sequence configured at the intersection. For the selected traffic signal countdown timer, the process returns to the step of identifying whether the traffic light associated with that countdown timer is currently in a flashing green or yellow state. Here, the phase sequence indicates the order in which the traffic lights at the intersection turn green. The selected traffic signal countdown timer must meet the following requirement: its associated traffic light must be the first one to turn green.
[0033] The embodiments of this application are described below from the perspective of a road traffic signal countdown timer: See Figure 2 , Figure 2 This is another method flowchart provided for an embodiment of this application. The method is applied to any road traffic signal countdown timer deployed at an intersection. The road traffic signal countdown timer is associated with a corresponding traffic light at the intersection and is used to display the remaining time of the associated traffic light's current state. The road traffic signal countdown timer and the associated traffic light are connected to a traffic signal controller via a first connection channel. The traffic signal controller is at least used to control the state of the traffic light deployed at the intersection for directing traffic. The road traffic signal countdown timer is also connected to the traffic signal controller via a second connection channel. The second connection channel is a 485 protocol communication line different from the first connection channel, enabling the road traffic signal countdown timer to operate in protocol mode. In protocol mode, the road traffic signal countdown timer operates based on the control of the traffic signal controller. The first and second connection channels are described above and are not specifically limited in this embodiment.
[0034] like Figure 2 As shown, the process may include the following steps: Step 201: If N consecutive trigger signals are detected from the traffic signal controller through the first connection channel between the traffic signal countdown timer and the traffic signal controller, then proceed to step 202.
[0035] This embodiment corresponds to step 102 described above.
[0036] Once the road traffic signal countdown timer detects N consecutive trigger signals, it means that it needs to configure itself, and at this time it will enter the configuration preparation stage (mainly to further detect subsequent configuration information messages).
[0037] Step 202, when receiving the configuration information message through the 485 protocol communication line between the road traffic signal countdown timer and the signal machine within the agreed time after detecting N times of trigger signals, performing autonomous configuration based on the configuration information carried in the configuration information message.
[0038] As shown in Figure 3 , for each road traffic signal countdown timer at the intersection, it is connected to the signal machine through the 485 protocol communication line. Once the signal machine sends the configuration information message through the 485 protocol communication line, each road traffic signal countdown timer will receive the configuration information message sent by the signal machine. If the configuration information message is received through the 485 protocol communication line between the road traffic signal countdown timer and the signal machine, when it is detected that the road traffic signal countdown timer has not detected N times of continuous trigger signals within the second set time before the current time, the configuration based on the currently received configuration information message is prohibited, such as discarding the currently received configuration information message.
[0039] At this point, the Figure 2 flow shown in the figure is completed.
[0040] Through the Figure 2 flow shown in the figure, the road traffic signal countdown timer is realized to perform autonomous configuration based on the configuration information carried in the current configuration information message only when the current configuration information message is received and N times of continuous trigger signals have been received within the second set time before the current time. The automatic configuration of the road traffic signal countdown timer is realized, which does not need to use high vehicles, rod debugging and road closure, and does not need maintenance personnel to check on site, thereby shortening the debugging and maintenance cost.
[0041] The above describes the method provided by the embodiments of the present application, and the system and device provided by the embodiments of the present application are described below: For example, the present application provides a road traffic signal system, which comprises a signal machine and a road traffic signal countdown timer. The signal machine supplies power to the road traffic signal countdown timer, and the signal machine and the road traffic signal countdown timer are connected through 485 communication. After the signal machine and the road traffic signal countdown timer are powered on, the signal machine sends a trigger signal to the road traffic signal countdown timer; for example, when the signal machine determines to configure a road traffic signal countdown timer at an intersection, it identifies whether the state of the traffic signal lamp associated with the road traffic signal countdown timer is currently a green flashing state or a yellow light state; if the state of the traffic signal lamp is not currently a green flashing state and is not a yellow light state, the signal machine sends a trigger signal to the road traffic signal countdown timer. The trigger signal is, for example, N times of continuous trigger signals (for example, once from power off to power on of the road traffic signal countdown timer in normal work is a trigger signal).
[0042] Within a preset time after the traffic signal sends the trigger signal, a configuration message is sent, which carries the configuration information of the road traffic signal countdown timer to be configured; After the road traffic signal countdown timer receives a trigger signal, and receives a configuration message within a predetermined time after receiving the trigger signal, it will be configured according to the configuration information carried in the configuration message.
[0043] This application embodiment also provides a system for remotely configuring a road traffic signal countdown timer. The system includes: a traffic signal controller; the system also includes: a traffic light deployed at an intersection and controlled by the traffic signal controller for directing traffic, and a road traffic signal countdown timer deployed at the intersection; the road traffic signal countdown timer is associated with a corresponding traffic light, and the road traffic signal countdown timer is used to display the remaining time of the current state of the associated traffic light; Signal execution as Figure 1 The steps in the method shown; Road traffic signal countdown timer execution as follows Figure 2 The steps in the method shown.
[0044] The system provided by the embodiments of this application has been described above. The apparatus provided by the embodiments of this application is described below: See Figure 4 , Figure 4 This is a structural diagram of a device provided in an embodiment of this application. The device corresponds to… Figure 1 The process is shown below. This device is used in signal controllers.
[0045] like Figure 4 As shown, the device may include: The identification unit is used to identify whether the traffic light associated with the traffic signal countdown timer is currently in a flashing green state or a yellow state when determining the configuration of a traffic signal countdown timer at the intersection. The triggering unit is used to send N consecutive trigger signals through the first connection channel connecting the traffic light and the road traffic signal countdown timer if the current state of the traffic light is neither flashing green nor yellow. N is greater than 1. The processing unit is configured to send a current configuration information message via a 485 protocol communication line connected to the road traffic signal countdown timer within a first set time after sending N consecutive trigger signals. This enables the road traffic signal countdown timer to perform autonomous configuration based on the configuration information carried in the current configuration information message, provided that it has received the current configuration information message and has received N consecutive trigger signals within a second set time prior to the current time. The second set time is equal to the first set time, or the second set time is greater than the first set time and less than a third set time, where the third set time is the time from the current time to the time of the most recently received historical configuration information message.
[0046] Optionally, if the traffic light is currently in a flashing green state or a yellow state, the recognition unit further includes: Wait until the traffic light is neither flashing green nor yellow, then return to the step of sending N consecutive trigger signals through the first connection channel connecting the traffic light and the road traffic signal countdown timer.
[0047] Optionally, the first connection channel between the traffic signal controller and the road traffic signal countdown timer and the traffic light associated with the road traffic signal countdown timer reuses the physical connection between the traffic signal controller and the road traffic signal countdown timer and the traffic light associated with the road traffic signal countdown timer, wherein the physical connection is a live and neutral wire connection.
[0048] Optionally, the trigger signal is a pulse signal, which is generated by disconnecting the live and neutral wires for K seconds and then closing the live and neutral wires to supply power.
[0049] Optionally, the identification unit may further include: If it is determined that at least two traffic signal countdown timers are to be configured at the intersection, then one is selected from the traffic signal countdown timers to be configured according to the phase sequence configured at the intersection. For the selected traffic signal countdown timer, the step of identifying whether the traffic light associated with the traffic signal countdown timer is currently in a flashing green state or a yellow light state is returned. The phase sequence indicates the order in which the traffic lights at the intersection are green. The selected traffic signal countdown timer meets the following requirement: the associated traffic light is the first in the green light sequence.
[0050] Optionally, the configuration information message carries at least the following configuration information: the address bits of the road traffic signal countdown timer; or, The configuration information message carries at least the following configuration information: the address bits of the road traffic signal countdown timer, and at least one of the following parameters: the baud rate, stop bits, data bits, and parity bits corresponding to serial communication.
[0051] This concludes the process. Figure 4 Structural description of the device shown.
[0052] See Figure 5 , Figure 5 This is another structural diagram of a device provided in an embodiment of this application. This device is applied to any road traffic signal countdown timer deployed at an intersection. This device corresponds to… Figure 2 The process is shown below.
[0053] like Figure 5 As shown, the device may include: The detection unit is used to detect the trigger signal sent by the traffic signal controller through the first connection channel between the traffic signal countdown timer and the traffic signal controller; The configuration unit is configured to perform autonomous configuration based on the configuration information carried in the configuration information message when the detection unit detects N consecutive trigger signals sent by the traffic signal controller through the first connection channel between the traffic signal countdown timer and the traffic signal controller within an agreed time after the N trigger signals are detected, and when the configuration information message is received through the 485 protocol communication line between the traffic signal countdown timer and the traffic signal controller.
[0054] Optionally, if the configuration unit receives a configuration information message through the 485 protocol communication line between the road traffic signal countdown timer and the signal controller, and if it detects that the road traffic signal countdown timer has not detected N consecutive trigger signals within a second set time before the current time, then configuration based on the currently received configuration information message is prohibited.
[0055] This application also provides embodiments that... Figure 4 or Figure 5 The hardware structure of the device shown. See also Figure 6 , Figure 6 This is a structural diagram of an electronic device provided in an embodiment of this application. Figure 6 As shown, the hardware structure may include: a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions that can be executed by the processor; the processor is used to execute the machine-executable instructions to implement the method disclosed in the above example of this application.
[0056] Based on the same application concept as the above method, this application embodiment also provides a machine-readable storage medium storing a plurality of computer instructions, which, when executed by a processor, can implement the method disclosed in the above examples of this application.
[0057] For example, the aforementioned machine-readable storage medium can be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, etc. For instance, machine-readable storage media can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.
[0058] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for remotely configuring a road traffic signal countdown timer, characterized in that, This method is applied to a traffic signal controller, which controls the status of traffic lights deployed at an intersection to direct traffic flow. A road traffic signal countdown timer is also deployed at the intersection. Each road traffic signal countdown timer is associated with a corresponding traffic light, and each countdown timer displays the remaining time of the associated traffic light's current status. The traffic signal controller connects the road traffic signal countdown timer and the associated traffic light via a first connection channel. The traffic signal controller also connects to the road traffic signal countdown timer via a second connection channel, which is a 485 protocol communication line different from the first connection channel, enabling the road traffic signal countdown timer to operate in protocol mode. The road traffic signal countdown timer operates under the control of the traffic signal controller in protocol mode; the method includes: When configuring a countdown timer for a road traffic signal at the intersection, identify whether the traffic light associated with the countdown timer is currently in a flashing green or yellow state. If the current state of the traffic light is neither flashing green nor yellow, then N consecutive trigger signals are sent through the first connection channel connecting the traffic light and the road traffic signal countdown timer, where N is greater than 1. After sending N consecutive trigger signals, the current configuration information message is sent through the 485 protocol communication line connected to the road traffic signal countdown timer within a first set time. This allows the road traffic signal countdown timer to perform autonomous configuration based on the configuration information carried in the current configuration information message when it receives the current configuration information message and has received N consecutive trigger signals within a second set time before the current time. The second set time is equal to the first set time, or the second set time is greater than the first set time and less than the third set time. The third set time is the time from the current time to the time when the most recent historical configuration information message was received.
2. The method according to claim 1, characterized in that, If the traffic light is currently in a flashing green or yellow state, the method further includes: Wait until the traffic light is neither flashing green nor yellow, then return to the step of sending N consecutive trigger signals through the first connection channel connecting the traffic light and the road traffic signal countdown timer.
3. The method according to claim 1, characterized in that, The first connection channel between the traffic signal controller and the road traffic signal countdown timer and the traffic light associated with the road traffic signal countdown timer reuses the physical connection between the traffic signal controller and the road traffic signal countdown timer and the traffic light associated with the road traffic signal countdown timer, the physical connection being a live and neutral wire connection.
4. The method according to claim 3, characterized in that, The trigger signal is a pulse signal, which is generated by disconnecting the live and neutral wires for K seconds and then closing the live and neutral wires to supply power.
5. The method according to claim 1, characterized in that, The method further includes: If it is determined that at least two traffic signal countdown timers are to be configured at the intersection, then one is selected from the traffic signal countdown timers to be configured according to the phase sequence configured at the intersection. For the selected traffic signal countdown timer, the step of identifying whether the traffic light associated with the traffic signal countdown timer is currently in a flashing green state or a yellow light state is returned. The phase sequence indicates the order in which the traffic lights at the intersection are green. The selected traffic signal countdown timer meets the following requirement: the associated traffic light is the first in the green light sequence.
6. The method according to claim 1, characterized in that, The configuration information message carries at least the following configuration information: the address bits of the road traffic signal countdown timer; or, The configuration information message carries at least the following configuration information: the address bits of the road traffic signal countdown timer, and at least one of the following parameters: the baud rate, stop bits, data bits, and parity bits corresponding to serial communication.
7. A method for remotely configuring a road traffic signal countdown timer, characterized in that, This method is applied to any road traffic signal countdown timer deployed at an intersection, the countdown timer being associated with a corresponding traffic light at the intersection, and used to display the remaining time of the current state of the associated traffic light; the countdown timer and the associated traffic light are connected to a traffic signal controller via a first connection channel; the traffic signal controller is at least used to control the state of the traffic light deployed at the intersection for directing traffic flow; the countdown timer is also connected to the traffic signal controller via a second connection channel, the second connection channel being a 485 protocol communication line different from the first connection channel to enable the countdown timer to operate in protocol mode, the countdown timer operating in protocol mode based on the control of the traffic signal controller; the method includes: If N consecutive trigger signals are detected sent by the traffic signal controller through the first connection channel between the traffic signal countdown timer and the traffic signal controller, then when a configuration information message is received through the 485 protocol communication line between the traffic signal countdown timer and the traffic signal controller within an agreed time after the N trigger signals are detected, the traffic signal controller will perform autonomous configuration based on the configuration information carried in the configuration information message. Specifically, when the traffic signal controller determines to configure the traffic signal countdown timer, if it identifies that the current state of the traffic light associated with the traffic signal countdown timer is neither flashing green nor yellow, it will send N consecutive trigger signals through the first connection channel connecting the traffic light and the traffic signal countdown timer; N is greater than 1.
8. The method according to claim 7, characterized in that, The method also includes: If a configuration information message is received via the 485 protocol communication line between this traffic signal countdown timer and the signal controller, and it is detected that the traffic signal countdown timer has not detected N consecutive trigger signals within a second set time before the current time, then configuration based on the currently received configuration information message is prohibited.
9. A road traffic signal system, characterized in that, The system includes a traffic signal controller and a road traffic signal countdown timer. The traffic signal controller supplies power to the road traffic signal countdown timer, and the traffic signal controller and the road traffic signal countdown timer are connected via RS-485 communication. After the traffic signal controller and the road traffic signal countdown timer are powered on... The traffic signal controller sends a trigger signal to the road traffic signal countdown timer; Within a preset time after the traffic signal sends the trigger signal, it sends a configuration message via a 485 communication connection. The configuration message carries the configuration information to be configured for the road traffic signal countdown timer. After the road traffic signal countdown timer receives a trigger signal, and receives a configuration message within a predetermined time after receiving the trigger signal, it will configure the signal according to the configuration information carried in the configuration message.
10. A system for remotely configuring a road traffic signal countdown timer, characterized in that, The system includes: a signal; The system also includes: traffic lights deployed at the intersection and controlled by the signal controller for directing traffic, and road traffic signal countdown timers deployed at the intersection; the road traffic signal countdown timer is associated with a corresponding traffic light and is used to display the remaining time of the current state of the associated traffic light; The signal device performs the steps of the method as described in any one of claims 1 to 6; The road traffic signal countdown timer performs the steps of the method as described in any one of claims 7 to 8.
11. An electronic device, characterized in that, The electronic device includes: a processor and a machine-readable storage medium; The machine-readable storage medium stores machine-executable instructions that can be executed by the processor; The processor is configured to execute machine-executable instructions to implement the method steps of any one of claims 1-8.
Citation Information
Patent Citations
Configuration parameter downloading device and downloading method of configurable control modules on passenger car body
CN101917320A
IPv6 client and method for communication between IPv6 client and server
CN110392129A
Countdown display debugging method and device
CN112115007A
Time calibration method, system and device of voice controller
CN119356061A
Hardware simulation test system
CN120086077A