Signal lamp data processing method and device, electronic equipment and readable storage medium

By processing traffic light data through the traffic police's dedicated network server and adjusting the countdown using time delay compensation information, the problem of inaccurate traffic light countdowns in navigation applications has been solved, and accurate synchronization of traffic light countdown information has been achieved.

CN116564115BActive Publication Date: 2026-02-06APOLLO INTELLIGENT CONNECTIVITY (BEIJING) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310589406.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-23
Publication Date
2026-02-06
Estimated Expiration
2043-05-23

AI Technical Summary

Technical Problem

The traffic light countdown function provided by navigation apps suffers from inaccuracies due to limited user data.

Method used

The system obtains traffic light data for the target intersection, including timestamps and countdown information, from the traffic police's dedicated network server. Based on the current time and timestamp, it determines delay compensation information, adjusts the traffic light data to generate more accurate countdown information, and sends it to the terminal.

Benefits of technology

This ensures that the traffic light countdown information obtained by the terminal is synchronized with the actual traffic light information, improving the accuracy of the countdown information and avoiding inaccuracies caused by limited user data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116564115B_ABST
    Figure CN116564115B_ABST
Patent Text Reader

Abstract

The present disclosure provides a signal lamp data processing method and device, electronic equipment and readable storage medium, relates to the field of artificial intelligence, and particularly relates to the fields of intelligent transportation, cloud computing and data processing. The specific implementation scheme is: obtaining first signal lamp data of a target intersection, the first signal lamp data including a timestamp, signal lamp colors of at least one phase, and first countdown information corresponding to each of the signal lamp colors of the at least one phase; determining time delay compensation information according to current time information and the timestamp; adjusting the first countdown information based on the time delay compensation information to obtain second signal lamp data of the target intersection, the second signal lamp data including the signal lamp colors of the at least one phase and second countdown information corresponding to each of the signal lamp colors of the at least one phase; and sending the second signal lamp data to a terminal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of artificial intelligence, in particular to the technical field of intelligent transportation, cloud computing and data processing, and specifically to a signal lamp data processing method and device, an electronic device and a readable storage medium. BACKGROUND

[0002] In road traffic, signal lights play an indispensable regulating role. If every vehicle driver can timely perceive the red and green light information of the next intersection, it can also bring a more relaxed driving experience to the driver. At present, some maps can provide users with a signal light countdown function. By calling the information of the terminal background acceleration sensor such as a mobile phone, referring to the current actual position of the vehicle, and based on whether the vehicle is from static to start, it is inferred whether it is waiting for the red and green light at the intersection, so as to calculate the lighting period of the signal light and output, so as to realize the signal light countdown function for users. SUMMARY

[0003] The present disclosure provides a signal lamp data processing method and device, an electronic device and a readable storage medium.

[0004] According to a first aspect of the present disclosure, a signal lamp data processing method is provided, comprising:

[0005] obtaining first signal lamp data of a target intersection, the first signal lamp data comprising a timestamp, signal lamp colors of at least one phase, and first countdown information corresponding to each of the signal lamp colors of the at least one phase;

[0006] determining time delay compensation information according to current time information and the timestamp;

[0007] adjusting the first countdown information based on the time delay compensation information to obtain second signal lamp data of the target intersection, the second signal lamp data comprising the signal lamp colors of the at least one phase and second countdown information corresponding to each of the signal lamp colors of the at least one phase;

[0008] sending the second signal lamp data to a terminal.

[0009] According to a second aspect of the present disclosure, a signal lamp data processing device is provided, comprising:

[0010] a first obtaining module configured to obtain first signal lamp data of a target intersection, the first signal lamp data comprising a timestamp, signal lamp colors of at least one phase, and first countdown information corresponding to each of the signal lamp colors of the at least one phase;

[0011] a first determining module configured to determine time delay compensation information according to current time information and the timestamp;

[0012] The first adjusting module is configured to adjust the first countdown information based on the time delay compensation information to obtain second signal light data of the target intersection, the second signal light data including signal light colors of the at least one phase and second countdown information corresponding to each of the signal light colors of the at least one phase.

[0013] The sending module is configured to send the second signal light data to the terminal.

[0014] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0015] at least one processor; and

[0016] a memory connected to the at least one processor in communication; wherein

[0017] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of the first aspect.

[0018] According to a fourth aspect of the present disclosure, a non-transitory computer readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to perform the method of the first aspect.

[0019] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method of the first aspect.

[0020] In the embodiments of the present disclosure, the time delay compensation information is determined by the current time information and the timestamp, and then the first countdown information of the signal light is adjusted based on the time delay compensation information. The transmission time delay that may exist in the transmission process of the signal light data is considered. Thus, it can be ensured that the adjusted second countdown information can match the actual countdown information of the signal light of the target intersection, so as to ensure that the second countdown information is synchronized with the actual countdown information of the signal light of the target intersection, and effectively guarantee the accuracy of the second countdown information obtained by the terminal.

[0021] It should be understood that the contents described in this part are not intended to identify key or important features of the embodiments of the present disclosure, nor are they used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0022] The accompanying drawings are used to better understand the present scheme and do not limit the present disclosure. Among them:

[0023] Figure 1is a flowchart of a signal lamp data processing method provided by an embodiment of the present disclosure;

[0024] Figure 2 is an application scenario in which the signal lamp data processing method provided by an embodiment of the present disclosure can be implemented;

[0025] Figure 3 is a structural diagram of a signal lamp data processing apparatus provided by an embodiment of the present disclosure;

[0026] Figure 4 is a structural diagram of another signal lamp data processing apparatus provided by an embodiment of the present disclosure

[0027] Figure 5 is a block diagram of an electronic device for implementing the signal lamp data processing method provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] Exemplary embodiments of the present disclosure are described herein with reference to the accompanying drawings, in which various details of the embodiments of the present disclosure are set forth to facilitate an understanding, and should be considered in a descriptive sense. It will be readily appreciated that various modifications and changes can be made to the embodiments described herein without departing from the scope and spirit of the disclosure. Likewise, the present disclosure is not to be limited to the details of the description, and the accompanying drawings, as the spirit and scope of the disclosure are to be limited only by the appended claims.

[0029] For better understanding, the following explains some related concepts that can be involved in the embodiments of the present disclosure.

[0030] It can be understood that a signal lamp is changed according to a rule set in advance in a cycle. In the related art, some map navigation applications can provide a signal lamp countdown function for a user based on the lighting principle of a signal lamp. First, the application calls information of a phone background acceleration sensor, and refers to a current actual position of a vehicle. Then, whether the user is waiting for a red light at an intersection is inferred by judging whether the vehicle is started from a static state. After the conclusion is made, the navigation application can count the number of vehicles passing the red light and the time interval of starting the vehicle in a time period. After the data is put into the same coordinate system, it is found that they have a regular change like a sine curve. Finally, the periodic change rule of the signal lamp can be obtained through simple processing on an algorithm, so that the signal lamp countdown function can be provided for the user.

[0031] However, the algorithm "prediction" of the navigation application relies on user data, resulting in certain limitations of the signal light countdown function provided by the navigation application. For example, some intersections have few people passing through, and the navigation application can obtain less data. This results in insufficient data to support algorithm prediction, or inaccurate signal light countdown function.

[0032] The present disclosure provides a signal light data processing method, which can solve the problem of inaccurate signal light countdown function predicted by the navigation application in the related art. The signal light data method provided by the embodiments of the present disclosure is described in detail below with reference to the accompanying drawings.

[0033] Please refer to Figure 1 , Figure 1 is a flowchart of a signal light data processing method provided by an embodiment of the present disclosure, as shown in Figure 1 The method comprises the following steps:

[0034] Step S101, acquiring first signal light data of a target intersection.

[0035] The first signal light data comprises a timestamp, a signal light color of at least one phase, and first countdown information corresponding to each of the signal light colors of the at least one phase.

[0036] It should be noted that the method provided by the embodiments of the present disclosure can be applied to a server including a police network, a traffic management platform, a municipal service platform including a police network and a government network, and the like. Alternatively, in subsequent embodiments, the method is applied to the above-mentioned servers as an example to describe the signal light data processing method provided by the present disclosure.

[0037] For example, the server acquires first signal light data of a target intersection. The target intersection can be any intersection provided with a signal light, including but not limited to a cross intersection, a "T" intersection, a herringbone intersection, and the like. It can be understood that the number of signal lights of the target intersection can be related to its type, for example, a cross intersection usually includes four signal lights. In the embodiments of the present application, the first signal light data of the target intersection can refer to the data of all signal lights of the target intersection, for example, when a cross intersection includes four signal lights, the first signal light data of the intersection also includes the respective signal light data of the four signal lights.

[0038] In the embodiment of the present application, the first signal lamp data includes a timestamp, which can be time information of generation of the first signal lamp data. For example, the timestamp can be the time when a certain signal lamp color starts to light. In the first signal lamp data, each signal lamp color of each phase has a corresponding timestamp, that is, the first signal lamp data can include the time when each signal lamp color of each phase starts to light.

[0039] It should be noted that, at a signal lamp controlled intersection, each control state (one right of way), that is, the combination of different lamp colors displayed for different directions of various approaches, is called a signal lamp phase. The signal lamp phase is also the corresponding release time given to the traffic flow in different directions of the intersection. For example, taking a cross intersection as an example, the traffic flow directions of the cross intersection usually include straight, left turn (U-turn) and right turn, and four intersections combined with the three traffic flow directions can be divided into four groups: (1) east-west straight: east-west, west-east; (2) north-south straight: south-north, north-south; (3) east-west left turn: east-south, west-north; (4) north-south left turn: north-east, south-west; the four groups can be controlled by four groups of signal lamps, that is, four different phases, and the signal lamp of the intersection includes four phases. Each phase includes at least one signal lamp color, for example, usually red, green and yellow. Taking the east-west straight as an example, the phase includes the red, green and yellow light time of the east-west and west-east two groups of signal lamps.

[0040] In the embodiment of the present application, the first signal lamp data includes first countdown information corresponding to each signal lamp color of at least one phase of the target intersection signal lamp. For example, taking the east-west straight corresponding phase of the four phases of the above cross intersection as an example, the east-west straight corresponding phase includes the east-west and west-east two groups of signal lamps, each group of signal lamps includes first countdown information of red light, first countdown information of green light and first countdown information of yellow light, wherein the first countdown information of yellow light can not be counted.

[0041] It can be understood that the light time and light cycle of the signal lamp of the intersection are usually set or controlled by the police special network, and the method provided in the embodiment of the present application is applied to a server including the police special network, so that the server can obtain the first signal lamp data of the target intersection through the police special network, and can obtain the timestamp of the signal lamp data, the signal lamp color of at least one phase of the target intersection and the first countdown information corresponding to each signal lamp color of the at least one phase.

[0042] In step S102, time delay compensation information is determined according to the current time information and the timestamp.

[0043] It should be noted that the server may determine the time delay compensation information according to the current time information and the time stamp carried by the first signal lamp data in the process of obtaining the first signal lamp data through the traffic police private network. For example, the current time information obtained by the server is 8:10:35, and the time stamp carried by the first signal lamp data is 8:10:33, and there is a time delay of 2s between them, and the time delay compensation information is determined according to the current time information and the time stamp. 2s.

[0044] In step S103, the first countdown information is adjusted based on the time delay compensation information to obtain the second signal lamp data of the target intersection.

[0045] The second signal lamp data includes the signal lamp color of the at least one phase and the second countdown information corresponding to the signal lamp color of the at least one phase.

[0046] In the embodiment of the application, after the server determines the time delay compensation information according to the current time information and the time stamp, the first countdown information is adjusted based on the time delay compensation information to obtain the second countdown information. For example, assuming that the time delay compensation information is 2s, that is, the first countdown information is 2s behind, the first countdown information needs to be reduced by 2s to obtain the second countdown information, so that the second countdown information can match the current time information, thereby ensuring the accuracy of the second countdown information.

[0047] It should be noted that in the embodiment of the application, each phase has a corresponding time stamp for each signal lamp color, and the server can calculate the time delay compensation information for each signal lamp color in each phase based on the current time information and the time stamp corresponding to each signal lamp color in each phase. Then, the first countdown information corresponding to each signal lamp color in each phase is adjusted to obtain the second countdown information, thereby ensuring the accuracy of the second countdown information corresponding to each signal lamp color in each phase, and thereby ensuring the accuracy of the countdown information of each signal lamp color of the target intersection.

[0048] In step S104, the second signal lamp data is sent to the terminal.

[0049] It can be understood that the server can send the second signal lamp data to the terminal, and the second signal lamp data includes the adjusted second countdown information of each signal lamp color in each phase of the target intersection, and the second countdown information obtained by the terminal is more accurate, which is more helpful for the application of the second signal lamp data by the terminal.

[0050] Optionally, the terminal can output the second signal lamp data, for example, can display or broadcast the signal lamp color and the second countdown information corresponding to the signal lamp. The terminal includes but is not limited to devices or software such as a navigation application, a vehicle, a vehicle service platform, a recorder, etc.

[0051] The technical solution provided by the embodiments of the present disclosure is that a server acquires first signal lamp data of a target intersection, the first signal lamp data includes a timestamp, the server determines time delay compensation information according to current time information and the timestamp, and then adjusts the first countdown information of each signal lamp color in each phase in the first signal lamp data based on the time delay compensation information to obtain second countdown information of each signal lamp color in each phase, and sends the second signal lamp data including the second countdown information to a terminal. In the embodiments of the present disclosure, the server determines the time delay compensation information through the current time information and the timestamp, and then adjusts the first countdown information of the signal lamp based on the time delay compensation information, which takes into account the transmission time delay that may exist in the transmission process of the signal lamp data. In this way, it can be ensured that the adjusted second countdown information can match the actual countdown information of the signal lamp at the target intersection, so as to ensure that the second countdown information is synchronized with the actual countdown information of the signal lamp at the target intersection, and the accuracy of the second countdown information acquired by the terminal is guaranteed, which is more helpful for the application of the signal lamp data in the terminal.

[0052] Compared with the way in which the navigation application predicts the countdown information of the signal lamp by acquiring user data, the scheme provided by the present disclosure can effectively avoid the problem of inaccurate countdown caused by limited user data. The scheme provided by the present disclosure processes the signal lamp data through a server including a police network, which can ensure the sufficiency of the signal lamp data and effectively guarantee the accuracy of the second countdown information obtained after adjustment, so that the second countdown information is synchronized with the actual countdown information of the signal lamp at the target intersection.

[0053] Optionally, before the step S101, the method further includes:

[0054] acquiring original signal lamp data of the target intersection and time information of generating the original signal lamp data;

[0055] performing data processing on the original signal lamp data according to a data format of the original signal lamp data to obtain the first signal lamp data;

[0056] determining the timestamp of the first signal lamp data according to the time information of generating the original signal lamp data.

[0057] It should be noted that the data format of the signal lamp data can be related to the manufacturer of the signal lamp or the model of the signal lamp. For example, the data format of the signal lamp data of different manufacturers or different models of signal lamps can be different. For example, the data format of some signal lamp data is lamp color + countdown information, the data format of some signal lamp data is phase + lamp color, the data format of some signal lamp data is lamp color phase number, etc. In the embodiment of the present disclosure, the original signal lamp data refers to signal lamp data that has not been processed and can have different data formats.

[0058] In the embodiment of the present disclosure, after obtaining the original signal lamp data of the target intersection, the server can process the original signal lamp data into first signal lamp data with a unified data format, which can be a format preset by the server. In this way, the server can process the original signal lamp data obtained in different data formats into first signal lamp data with a unified data format, so as to facilitate the subsequent identification and processing of the first signal lamp data by the server.

[0059] It should be noted that when the server obtains the original signal lamp data of the target intersection, it can also obtain the time information of the original signal lamp data. The time information can refer to the generation time of the countdown of each signal lamp color in each phase of the target intersection, for example, the generation time of the countdown of the green light for east-west straight traffic at the target intersection is 8:10:10. After converting the original signal lamp data into first signal lamp data, the time information is determined as the timestamp of the green light for east-west straight traffic at the target intersection, so that the server can subsequently adjust the first countdown information of the signal lamp based on the timestamp and the current time information, so as to ensure that the second countdown information obtained after adjustment by the server can match the countdown information actually displayed by the signal lamp at the target intersection.

[0060] Optionally, the data processing on the original signal lamp data to obtain the first signal lamp data comprises:

[0061] obtaining phase information of the original signal lamp data;

[0062] processing the phase information of the original signal lamp data according to the target phase representation mode to obtain the first signal lamp data with the target phase representation mode.

[0063] In the embodiments of the present disclosure, after the server obtains the original signal lamp data of the target intersection, the phase information of the original signal lamp data is obtained. It can be understood that different intersections or different signal lamps can have different representations of the phase information of the signal lamp. For example, in the signal lamp data corresponding to intersection A, 0 represents east-to-west straight, and 1 represents west-to-east straight, and in the signal lamp data corresponding to intersection B, 3 represents east-to-west straight, and 4 represents west-to-east straight. The same phase is represented by different information for the two intersections, which is not conducive to the processing of the server on the signal lamp data.

[0064] In the embodiments of the present disclosure, the server can be pre-configured with a target phase representation mode. After obtaining the original signal lamp data, the phase information of the original signal lamp data is processed based on the target phase representation mode, and the first signal lamp data with the target phase representation mode is obtained. That is, the server processes the phase information of the obtained original signal lamp data into the target phase representation mode with a unified data format. For example, the target phase representation mode can be: 0 represents east-to-west, 1 represents west-to-east, 2 represents south-to-north, 3 represents north-to-south, 4 represents east-to-west left turn, 5 represents west-to-east left turn, 6 represents south-to-north left turn, and 7 represents north-to-south left turn, etc. It can be understood that the server can obtain a large amount of original signal lamp data of intersections. By processing the phase information of the original signal lamp data into the target phase representation mode, the server can effectively identify the signal lamp data of different intersections or different signal lamps, and the processing of the first signal lamp data by the server is also facilitated.

[0065] It should be noted that the server can obtain signal lamp data of multiple intersections, for example, there are usually thousands of intersections, and the amount of data is large. The server can group the obtained signal lamp data, or dynamically group the intersections, for example, the off-line or fault intersection signal lamps can be removed in real time, which can effectively reduce the amount of data acquisition and subsequent processing, and then the signal lamp data of every 20 intersections is taken as a group, and a group of signal lamp data is pulled at a time, to ensure that the server can obtain the signal lamp data of multiple intersections in batches. In addition, in order to ensure real-time performance, the signal lamp data is acquired by 2Hz timing polling per second for each intersection. The server can use thread pool asynchronous processing of the signal lamp data to avoid network thread congestion.

[0066] In the embodiments of the present disclosure, the original signal lamp data obtained by the server can have different data formats based on different signal lamp manufacturers or different signal lamp models. The server can process the original signal lamp data with different data formats into the first signal lamp data with the same data format.

[0067] Optionally, the data processing on the original signal lamp data according to the data format of the original signal lamp data comprises:

[0068] In the case that the data format of the original signal lamp data comprises at least one phase of signal lamp color, the light-on duration of each signal lamp color corresponding to each phase in the original signal lamp data is counted;

[0069] According to the light-on duration, the first light-on period of each signal lamp color corresponding to each phase is determined;

[0070] According to the first light-on period of each signal lamp color, the first countdown information corresponding to each signal lamp color of each phase is obtained to obtain the first signal lamp data.

[0071] In some scenarios, the data format of the signal lamp is in the form of phase + color. For example, the data format of the original signal lamp data obtained by the server is: east-west straight + red light, that is, the color of the signal lamp corresponding to the east-west straight phase of the target intersection is red. It can be understood that the original signal lamp data obtained by the server for the target intersection can include the signal lamp color corresponding to each phase of the target intersection.

[0072] In the embodiments of the present disclosure, the server can obtain the signal lamp data of the target intersection in real time, for example, the server can obtain the signal lamp data of the target intersection at a timing of 2 Hz per second, and then the server can obtain the real-time color of each signal lamp of each phase for the same intersection. Further, the server can count the light-on duration of different signal lamp colors of each phase of the target intersection based on the obtained signal lamp data of the target intersection, for example, the light-on duration of the red light in the east-west straight phase, the light-on duration of the green light, etc. According to the counted light-on duration of each signal lamp color, the light-on period (i.e., the first light-on period) of each signal lamp color of each phase can be calculated, for example, the first light-on period of the green light is 30 seconds, the light-on period of the red light is 24 seconds, etc., so that the light-on period of the phase can be obtained. Further, according to the first light-on period of each signal lamp color of each phase, the first countdown information corresponding to different signal lamp colors of each phase can be calculated, so that the first signal lamp data including the signal lamp color of each phase of the target intersection and the first countdown information corresponding to each signal lamp color of each phase can be obtained.

[0073] In the embodiments of the present disclosure, when the data format of the original signal lamp data of the target intersection obtained by the server only includes phases, the server can count the lighting duration of each signal lamp color corresponding to each phase in the original signal lamp data of the target intersection continuously obtained within a certain duration, calculate the first lighting period of each signal lamp color corresponding to each phase according to the lighting duration, and determine the first countdown information of each signal lamp color corresponding to each phase at each moment, so as to convert the original signal lamp data into the first signal lamp data including the color and the first countdown information, thereby facilitating the adjustment of the server to the first countdown information. In this way, the signal lamp data (second signal lamp data) issued by the server to the terminal also includes the signal lamp colors of different phases and the corresponding countdown information (second countdown information), so that the terminal can intuitively obtain the current signal lamp color and the corresponding countdown information of each phase of the target intersection, thereby providing more direct and effective reference for the user's passing.

[0074] Optionally, the data processing on the original signal lamp data to obtain the first signal lamp data according to the data format of the original signal lamp data comprises:

[0075] When the data format of the original signal lamp data includes the color stage of the signal lamp, the phase number and the stage number of each signal lamp color included in the color stage are obtained.

[0076] Two continuous color stages are determined according to the stage number, and the second lighting period of each signal lamp color is determined according to the switching time interval of each signal lamp color corresponding to the two continuous color stages.

[0077] The first countdown information corresponding to the signal lamp color of each phase is obtained according to the second lighting period of each signal lamp color, so as to obtain the first signal lamp data.

[0078] In some scenarios, the data format of the signal lamp is the color stage. For example, the data format of the original signal lamp data obtained by the server is: the current running stage scheme (including several color stages) of each signal machine and the current running color stage number (including the phase number of the current green light), for example, the current running stage scheme includes three color stages, the current running color stage is red light, and the phase corresponding to the color stage is east-west straight.

[0079] In the embodiments of the present disclosure, the server can calculate the brightness period (i.e., the second light-on period) of each signal light color based on the switching time interval of each signal light color corresponding to each of the two continuous light color stages acquired continuously within a certain time length. For example, the server can determine the time interval of stage switching according to the two continuous light color stages, and then determine the second light-on period of the green light in a certain phase according to the switching time interval between the green lights (including the phase number corresponding to the green light) included in the two continuous light color stages. In this way, the second light-on period of each signal light color in different phases can be obtained. Further, the first countdown information corresponding to each signal light color in each time in each phase can be determined according to the second light-on period of each signal light color, so that the original signal light data is converted into the first signal light data including the light color and the first countdown information. In this way, the signal light data (second signal light data) sent by the server to the terminal also includes the signal light color in different phases and the corresponding countdown information (second countdown information), thereby providing more direct and effective reference for the user's passage.

[0080] In the embodiments of the present disclosure, the server can process the original signal light data in different data formats into the first signal light data including the light color and the first countdown information, so that the server is more flexible in processing the signal light data, and can also ensure that the signal light data sent by the server to the terminal also includes the signal light color in different phases and the corresponding countdown information, so that the terminal can intuitively obtain the current signal light color and the corresponding countdown information in each phase of the target intersection.

[0081] Optionally, before the adjusting the first countdown information based on the time delay compensation information to obtain the second signal light data of the target intersection, the method further includes:

[0082] obtaining a preset light-on time corresponding to the target signal light color of the target phase;

[0083] obtaining the first signal light color corresponding to the target signal light color of the target phase in the first signal light data;

[0084] adjusting the first countdown information corresponding to the first signal light color based on the preset light-on time in a case that the first countdown information corresponding to the first signal light color does not match the preset light-on time;

[0085] wherein, the target phase is any phase included in the first signal light data, the target signal light color is any one of the signal light colors included in the target phase, and the first signal light color is the same as the target signal light color.

[0086] It should be noted that, for an intersection, the green light duration and the red light duration of the opposite direction and the crossing direction (for example, the east-to-south left turn and the west-to-north left turn are a crossing direction) are generally the same, for example, the green light duration and the red light duration of the east-to-west straight line are the same as the green light duration and the red light duration of the west-to-east straight line, and the green light duration and the red light duration of the east-to-south left turn are the same as the green light duration and the red light duration of the west-to-north left turn. Therefore, the countdown information of the same signal light color of the opposite direction and the crossing direction of a certain intersection should also be the same. It can be understood that after the server obtains the countdown information of each signal light color of each phase of the target intersection, the countdown information may jump, and the countdown information may not be accurate.

[0087] In the embodiments of the present disclosure, after the server obtains the first signal light data of the target intersection, that is, the first countdown information of each signal light color under each phase of the target intersection can be obtained. Optionally, the server can determine the preset countdown information corresponding to the target signal light color of the target phase based on the countdown information of each signal light color under the same phase of the target intersection. For example, the green light duration corresponding to the south-to-north straight line is 59s, the green light duration corresponding to the north-to-south straight line is 60s, the green light duration corresponding to the east-to-west is 60s, and the green light duration corresponding to the west-to-east is 60s. Therefore, it can be obtained that the duration corresponding to the green light under the straight line phase should be 60s. In this case, it can be concluded that the green light duration corresponding to the south-to-north straight line is not accurate, which will cause the first countdown information of the green light of the phase to be inaccurate, that is, the first countdown information of the green light of the phase does not match the preset light-on duration.

[0088] Further, the server can adjust the first countdown information of the green light of the phase based on the preset light-on duration, for example, 1 second can be added to the first countdown information, so that the first countdown information of the green light of the phase is the same as or synchronized with the countdown information of the green light of other phases.

[0089] In the embodiments of the present disclosure, the server can adjust the first countdown information of different signal light colors under different phases, so as to ensure that the first countdown information corresponding to the same signal light color under different phases is the same, avoid the jump of the countdown information, and thus ensure the accuracy of the countdown information.

[0090] Optionally, in the embodiments of the present disclosure, the adjusting the first countdown information based on the time delay compensation information to obtain the second signal light data of the target intersection comprises:

[0091] determining a time delay compensation value according to the time delay compensation information;

[0092] acquire a first countdown value corresponding to the first countdown information;

[0093] determine second countdown information according to a difference between the first countdown value and the time delay compensation value, and obtain second signal lamp data including the second countdown information.

[0094] It can be understood that the first signal lamp data can have a transmission time delay, and the server can determine time delay compensation information based on current time information and a timestamp of the first signal lamp data, and determine a time delay compensation value according to the time delay compensation information. For example, the time delay compensation information includes the time delay compensation value. For example, the server acquires current time information of the first signal lamp data as 8:10:35, and the timestamp carried by the first signal lamp data is 8:10:33, and there is a time delay of 2s between them, and the time delay compensation value is 2.

[0095] Further, a first countdown value corresponding to the first countdown information is acquired, for example, the first countdown information is 30s, and the first countdown value is 30. It can be understood that, since the first signal lamp data has a transmission time delay of 2s, 2s is subtracted from the first countdown information to obtain the second countdown information, so that the adjusted second countdown information takes into account the transmission time delay of the signal lamp data, effectively ensuring the accuracy of the second signal lamp data. In this way, the second countdown information sent to the terminal can be synchronized with the actual countdown information of the target intersection signal lamp, effectively ensuring the accuracy of the signal lamp data in the terminal.

[0096] The embodiments of the present disclosure also provide a signal lamp data processing method, which is applied to a network architecture, such as Figure 2 As shown in the figure, the network architecture includes a traffic police special network, a (network or gateway) boundary and a shared platform, and the network architecture can send the processed signal lamp data to a terminal application.

[0097] Please refer to Figure 2 The traffic police special network includes a front-end machine (or processing platform), which acquires signal lamp data from a manufacturer background of a signal machine (i.e. signal lamp). The signal machine carries original signal lamp data, and the data formats of different signal machine manufacturers can be different. The signal machine can set different light color stages for different intersection types (cross intersection, T-shaped intersection, Y-shaped intersection, ring-shaped intersection, etc.), such as eight-phase four-stage, five-phase three-stage, etc. The light color stages of the intersection are not fixed, and the light color stages of different intersections at different time periods can also be not fixed.

[0098] The signal machine manufacturer background can monitor the signal machine, receive the original signal lamp data transmitted by the signal machine, and transmit the original signal lamp data to the front-end machine. The original signal lamp data can include intersection name, geographic position coordinates, signal machine identity (ID), signal machine light color stage, light color corresponding to each light color stage, phase, countdown information, etc.

[0099] The front-end machine can perform data pulling and preprocessing on the received original signal lamp data. Because the original signal lamp data of N intersections is generally thousands of pieces, it is impossible to pull them through one interface, and the data volume will be very large. The intersections can be dynamically grouped (real-time exclusion of offline intersections), and generally 20 intersection data can be pulled at a time. According to the grouping of intersections, N / 20. In order to ensure real-time performance, each intersection will be polled at a rate of 2Hz per second to obtain data. In order to avoid network thread congestion, thread pool asynchronous processing can be used. Further, the received original signal lamp data is adapted and analyzed, and the phase information expressed by different types of signal machines is converted into internal standard format phase information, for example, the standard format is: 0 represents east to west, 1 represents west to east, 2 represents south to north, 3 represents north to south, 4 represents east to west left turn, 5 represents west to east left turn, 6 represents south to north left turn, and 7 represents north to south left turn.

[0100] Further, different signal machine manufacturers can have different data formats, and the front-end machine needs to process the original signal lamp data in different data formats into signal lamp data with the same data format. There are generally the following processing schemes:

[0101] Scheme one: the data format of the original signal lamp data includes at least one phase signal lamp color, the front-end machine counts the real-time light color of each phase of each signal machine obtained from the signal machine manufacturer background, and when the light color switches, the red, yellow and green light color time of each phase can be counted, and the cycle of a certain phase and the green light switching time are calculated, so that the light color + countdown of each phase at each time can be calculated according to the switching time.

[0102] Scheme two: the data format of the original signal lamp data is the light color stage, the front-end machine obtains the current running stage scheme (including several stages) and the current running stage number (including the phase number of the current green light) of each signal machine from the signal machine manufacturer platform, and based on the phase number contained in the continuous stage when the stage switches, the green light switching time (i.e. the green light time) of the phase can be calculated. The interval between two switching times is the cycle of the phase, and the yellow and red light time can be calculated according to the cycle, and then the light color + countdown of each phase at each time can be derived.

[0103] Scheme three: the signal lamp data obtained by the front-end machine from the vendor background is the lamp color + countdown of each phase of each signal machine, and in this case, no processing is needed.

[0104] Further, for the processed signal lamp data, a time compensation timestamp is generated according to the original signal lamp data. Generally, the green light and red light time of the opposite direction is generally the same, so it is necessary to do phase stabilization operation on the opposite phase of the opposite direction, such as the green light time of south to north is 59s, the green light time of north to south is 60s, the green light time of east to west is 60s, and the green light time of west to east is 60s, then the green light time of south to north is calibrated to 60s. Similarly, the same phase and same color time of the previous period can be self-learning calibrated, so as to achieve a stable state and prevent the countdown from frequently jumping. Therefore, the accuracy of the signal lamp data can be ensured.

[0105] The above signal lamp data (lamp color + countdown) processed by the front-end machine can be transmitted from the traffic police special network to the service sharing platform through the network gate boundary. The platform mainly performs data synchronization. The service sharing platform includes a data sharing platform and a network service platform. After the data sharing platform obtains the signal lamp data, it is stored in the intranet database. The network gate actively scans the change items on the source database in the intranet area and synchronizes them to the database of the data sharing platform.

[0106] The network service platform supports the following three ways to obtain the signal lamp data synchronized to the data sharing platform: subscription, http push, and query. Taking the query mode as an example, the lamp color + countdown data obtained at this time has experienced the time delay when the data is out of the network gate boundary, so it is necessary to perform a delay compensation operation according to the timestamp generated by the above original data, and provide the lamp color + countdown data after delay compensation to the terminal.

[0107] The terminal includes but is not limited to self-built terminal such as recorder and operating vehicle, navigation application, cloud platform of vehicle enterprise, and vehicle. Further, the terminal outputs the received lamp color + countdown data, for example, displays it on the navigation application, so as to better provide direct and effective reference for the user's travel.

[0108] The embodiment of the present disclosure also provides a signal lamp data processing device. Please refer to Figure 3 , Figure 3 is a structural diagram of a signal lamp data processing device provided by the embodiment of the present disclosure, as Figure 3 shown, the signal lamp data processing device 300 includes:

[0109] The first acquisition module 301 is configured to acquire first signal lamp data of a target intersection, and the first signal lamp data includes a timestamp, a signal lamp color of at least one phase, and first countdown information corresponding to each signal lamp color of the at least one phase.

[0110] The first determination module 302 is configured to determine time delay compensation information according to current time information and the time stamp;

[0111] The first adjustment module 303 is configured to adjust the first countdown information based on the time delay compensation information to obtain second signal lamp data of the target intersection, wherein the second signal lamp data includes signal lamp colors of the at least one phase and second countdown information corresponding to each of the signal lamp colors of the at least one phase;

[0112] The sending module 304 is configured to send the second signal lamp data to a terminal.

[0113] Optionally, further referring to Figure 4 The signal lamp data processing apparatus 300 further includes:

[0114] The second acquisition module 305 is configured to acquire original signal lamp data of the target intersection and time information of generating the original signal lamp data;

[0115] The processing module 306 is configured to perform data processing on the original signal lamp data according to a data format of the original signal lamp data to obtain the first signal lamp data;

[0116] The second determination module 307 is configured to determine the time stamp of the first signal lamp data according to the time information of generating the original signal lamp data.

[0117] Optionally, the processing module 306 is further configured to:

[0118] In a case where the data format of the original signal lamp data includes signal lamp colors of at least one phase, count a lighting time length of each signal lamp color corresponding to each phase in the original signal lamp data;

[0119] Determine a first lighting period of each signal lamp color corresponding to each phase according to the lighting time length;

[0120] According to the first lighting period of each signal lamp color, acquire first countdown information corresponding to each signal lamp color corresponding to each phase to obtain the first signal lamp data.

[0121] Optionally, the processing module 306 is further configured to:

[0122] In a case where the data format of the original signal lamp data includes a signal lamp color stage, acquire a stage number and a phase number of each signal lamp color included in the signal lamp color stage;

[0123] determine two continuous light color stages according to the stage number, and determine a second light-on period of each signal light color according to a switching time interval of each signal light color corresponding to the two continuous light color stages respectively;

[0124] According to the second light-on period of each signal light color, first countdown information corresponding to the signal light color of each phase is obtained to obtain the first signal light data.

[0125] Optionally, the processing module 306 is further configured to:

[0126] obtain phase information of the original signal light data;

[0127] perform data processing on the phase information of the original signal light data according to a target phase representation mode to obtain the first signal light data having the target phase representation mode.

[0128] Optionally, the apparatus further comprises:

[0129] a third obtaining module configured to obtain a preset light-on duration corresponding to a target signal light color of a target phase;

[0130] a fourth obtaining module configured to obtain a first signal light color corresponding to the target signal light color of the target phase in the first signal light data;

[0131] a second adjusting module configured to, in a case where the first countdown information corresponding to the first signal light color does not match the preset light-on duration, adjust the first countdown information corresponding to the first signal light color based on the preset light-on duration;

[0132] wherein the target phase is any phase included in the first signal light data, the target signal light color is any one of the signal light colors included in the target phase, and the first signal light color is the same as the target signal light color.

[0133] Optionally, the first adjusting module 303 is further configured to:

[0134] determine a time delay compensation value according to the time delay compensation information;

[0135] obtain a first countdown value corresponding to the first countdown information;

[0136] determine second countdown information according to a difference between the first countdown value and the time delay compensation value to obtain second signal light data including the second countdown information.

[0137] It should be noted that the signal lamp data processing apparatus 300 provided by the embodiments of the present disclosure can implement all processes of the signal lamp data processing method described above and achieve the same technical effects. To avoid repetition, details are not described here.

[0138] In the technical solutions of the present disclosure, the acquisition, storage and application of user personal information comply with relevant laws and regulations and do not violate public order and good customs.

[0139] According to the embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium and a computer program product.

[0140] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.

[0141] As shown in Figure 5 The electronic device 500 includes a computing unit 501 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 502 or a computer program loaded into a random access memory (RAM) 503 from a storage unit 508. Various programs and data required for the operation of the electronic device 500 can also be stored in the RAM 503. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0142] Various components in the electronic device 500 are connected to the I / O interface 505, including an input unit 506 such as a keyboard, a mouse, etc., an output unit 507 such as various types of displays, a speaker, etc., a storage unit 508 such as a magnetic disk, an optical disk, etc., and a communication unit 509 such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0143] The computing unit 501 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 501 performs various methods and processes described above, such as the signal light data processing method. For example, in some embodiments, the signal light data processing method can be implemented as a computer software program that is tangibly embodied in a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded onto the RAM 503 and executed by the computing unit 501, one or more steps of the signal light data processing method described above can be performed. Alternatively, in other embodiments, the computing unit 501 can be configured to perform the signal light data processing method by any other appropriate means, such as by means of firmware.

[0144] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0145] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or the block diagrams. The program code can be entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine or server, or entirely on a remote machine or server.

[0146] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0147] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0148] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0149] The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0150] It should be understood that the various forms of flow shown above can be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure can be performed in parallel, in series, or in a different order, without limitation herein, so long as the desired results of the technology disclosed in the present disclosure are achieved.

[0151] The specific implementation described above does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A traffic light data processing method, comprising: Acquire the first traffic light data of the target intersection. The first traffic light data includes a timestamp, the color of the traffic light in at least one phase, and the first countdown information corresponding to the color of the traffic light in each of the at least one phase. Determine the delay compensation information based on the current time information and the timestamp; Based on the time delay compensation information, the first countdown information is adjusted to obtain the second traffic light data of the target intersection. The second traffic light data includes the traffic light color of at least one phase and the second countdown information corresponding to each of the traffic light colors of at least one phase. Send the second signal light data to the terminal; Before acquiring the first traffic light data at the target intersection, the method further includes: Obtain the original traffic light data of the target intersection and the time information of the generation of the original traffic light data; According to the data format of the original traffic light data, the original traffic light data is processed to obtain the first traffic light data; The timestamp of the first traffic light data is determined based on the time information of the time when the original traffic light data was generated; The step of processing the original traffic light data according to its data format to obtain the first traffic light data includes: When the original traffic light data is in a data format that includes the color of the traffic light in at least one phase, the lighting duration of each color of the traffic light corresponding to each phase in the original traffic light data is statistically analyzed. Based on the lighting duration, determine the first lighting cycle for each signal light color corresponding to each phase; Based on the first lighting cycle of each traffic light color, the first countdown information corresponding to each traffic light color for each phase is obtained to obtain the first traffic light data.

2. The method according to claim 1, wherein, The step of processing the original traffic light data according to the original traffic light data data format to obtain the first traffic light data includes: If the original traffic light data is in a format that includes the color phase of the traffic light, obtain the phase number of the color phase and the phase number of each color of the traffic light. Two consecutive light color stages are determined based on the stage number, and the second lighting cycle of each signal light color is determined based on the switching time interval of each signal light color corresponding to the two consecutive light color stages. Based on the second lighting cycle of each signal light color, the first countdown information corresponding to the signal light color of each phase is obtained to obtain the first signal light data.

3. The method according to claim 1, wherein, The step of processing the original traffic light data to obtain the first traffic light data includes: Obtain the phase information of the original traffic light data; The phase information of the original traffic light data is processed according to the target phase representation method to obtain the first traffic light data with the target phase representation method.

4. The method according to any one of claims 1-3, wherein, Before adjusting the first countdown information based on the delay compensation information to obtain the second traffic light data of the target intersection, the method further includes: Obtain the preset lighting duration corresponding to the target signal light color of the target phase; Obtain the first signal light color in the first signal light data that corresponds to the target signal light color of the target phase; If the first countdown information corresponding to the first signal light color does not match the preset lighting duration, the first countdown information corresponding to the first signal light color shall be adjusted based on the preset lighting duration. Wherein, the target phase is any phase included in the first traffic light data, the target traffic light color is any one of the traffic light colors included in the target phase, and the first traffic light color is the same as the target traffic light color.

5. The method according to any one of claims 1-3, wherein, The step of adjusting the first countdown information based on the delay compensation information to obtain the second traffic light data of the target intersection includes: Determine the delay compensation value based on the delay compensation information; Obtain the first countdown value corresponding to the first countdown information; The second countdown information is determined based on the difference between the first countdown value and the delay compensation value, thereby obtaining the second traffic light data including the second countdown information.

6. A traffic light data processing device, comprising: The first acquisition module is used to acquire the first traffic light data of the target intersection. The first traffic light data includes a timestamp, the traffic light color of at least one phase, and the first countdown information corresponding to the traffic light color of each of the at least one phase. The first determining module is used to determine delay compensation information based on the current time information and the timestamp. The first adjustment module is used to adjust the first countdown information based on the time delay compensation information to obtain the second traffic light data of the target intersection. The second traffic light data includes the traffic light color of the at least one phase and the second countdown information corresponding to the traffic light color of the at least one phase. The sending module is used to send the second signal light data to the terminal; Also includes: The second acquisition module is used to acquire the original traffic light data of the target intersection and the time information of the generation of the original traffic light data; The processing module is used to process the original traffic light data according to the data format of the original traffic light data to obtain the first traffic light data; The second determining module is used to determine the timestamp of the first traffic light data based on the time information of the time when the original traffic light data was generated; The processing module is further configured to: When the original traffic light data is in a data format that includes the color of the traffic light in at least one phase, the lighting duration of each color of the traffic light corresponding to each phase in the original traffic light data is statistically analyzed. Based on the lighting duration, determine the first lighting cycle for each signal light color corresponding to each phase; Based on the first lighting cycle of each traffic light color, the first countdown information corresponding to each traffic light color for each phase is obtained to obtain the first traffic light data.

7. The apparatus according to claim 6, wherein, The processing module is also used for: If the original traffic light data is in a format that includes the color phase of the traffic light, obtain the phase number of the color phase and the phase number of each color of the traffic light. Two consecutive light color stages are determined based on the stage number, and the second lighting cycle of each signal light color is determined based on the switching time interval of each signal light color corresponding to the two consecutive light color stages. Based on the second lighting cycle of each signal light color, the first countdown information corresponding to the signal light color of each phase is obtained to obtain the first signal light data.

8. The apparatus according to claim 6, wherein, The processing module is also used for: Obtain the phase information of the original traffic light data; The phase information of the original traffic light data is processed according to the target phase representation method to obtain the first traffic light data with the target phase representation method.

9. The apparatus according to any one of claims 6-8, further comprising: The third acquisition module is used to acquire the preset lighting duration corresponding to the target signal light color of the target phase; The fourth acquisition module is used to acquire the first signal light color corresponding to the target signal light color in the first signal light data and the target phase; The second adjustment module is used to adjust the first countdown information corresponding to the first signal light color based on the preset lighting duration when the first countdown information corresponding to the first signal light color does not match the preset lighting duration. Wherein, the target phase is any phase included in the first traffic light data, the target traffic light color is any one of the traffic light colors included in the target phase, and the first traffic light color is the same as the target traffic light color.

10. The apparatus according to any one of claims 6-8, wherein, The first adjustment module is also used for: Determine the delay compensation value based on the delay compensation information; Obtain the first countdown value corresponding to the first countdown information; The second countdown information is determined based on the difference between the first countdown value and the delay compensation value, thereby obtaining the second traffic light data including the second countdown information.

11. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.

12. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-5.

13. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Traffic light information acquisition device and method

    CN109410604A

  • Information processing method, device and system and storage medium

    CN114039992A