Information generation method and device, equipment and storage medium
By combining historical and real-time vehicle trajectory information to generate accurate traffic light countdown information, the problem of difficult to accurately provide countdown information in the existing system is solved, and driving safety and intersection traffic efficiency are improved.
Patent Information
- Application Number
- CN202411204250.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-11-12
AI Technical Summary
The existing traffic light countdown system is difficult to accurately provide countdown information during driving, which affects vehicle speed decisions and intersection traffic efficiency, and is prone to traffic accidents.
By determining the initial period information based on the historical vehicle trajectory and verifying it in real-time vehicle trajectory, the target period information is generated in response to the failure of the verification, and the countdown information of the target signal light is finally generated.
Improve the accuracy and generation efficiency of countdown information, ensure that drivers can timely understand the signal light switching time and reduce the risk of traffic accidents.
Smart Images

Figure CN118942251A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, specifically to technical fields such as map navigation, autonomous driving, and intelligent transportation, and in particular to an information generation method, device, equipment, and storage medium. Background Art
[0002] Traffic lights (also called signal lights) are important infrastructure for traffic management departments to control vehicle traffic order and adjust road traffic flow. The cycle length and light change time of traffic lights are one of the important information that dynamic traffic service providers need to provide users with corresponding traffic services for different road traffic scenarios. At present, there are very few intersections that can directly display countdowns. During driving, how long the traffic light is left will directly affect the user's speed decision and the traffic efficiency of the entire intersection, and it is easy to cause traffic accidents. Therefore, the traffic light countdown system is of great significance. Summary of the invention
[0003] The present disclosure provides an information generation method, apparatus, device and storage medium.
[0004] According to a first aspect of the present disclosure, there is provided an information generating method, comprising: determining initial cycle information of a target signal light based on historical vehicle trajectories associated with the target signal light; verifying the initial cycle information based on real-time vehicle trajectories associated with the target signal light; in response to the initial cycle information failing the verification, generating target cycle information based on the real-time vehicle trajectory; and generating countdown information corresponding to a target signal switching point of the target signal light based on the target cycle information.
[0005] According to a second aspect of the present disclosure, there is provided an information generating device, comprising: an initial cycle generating module, configured to determine initial cycle information of a target signal light based on historical vehicle trajectories associated with the target signal light; a cycle verification module, configured to verify the initial cycle information based on real-time vehicle trajectories associated with the target signal light; a target cycle generating module, configured to generate target cycle information based on real-time vehicle trajectories in response to the initial cycle information failing the verification; and a first countdown generating module, configured to generate countdown information corresponding to a target signal switching point of the target signal light based on the target cycle information.
[0006] According to a third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any implementation manner in the first aspect.
[0007] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to cause a computer to execute the method described in any implementation manner of the first aspect.
[0008] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the computer program implements the method described in any implementation manner in the first aspect.
[0009] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0011] Figure 1 is an exemplary system architecture diagram in which the present disclosure may be applied;
[0012] Figure 2 is a flow chart of an embodiment of the information generation method according to the present disclosure;
[0013] Figure 3 is a flow chart of another embodiment of the information generating method according to the present disclosure;
[0014] Figure 4 is a flow chart of another embodiment of the information generating method according to the present disclosure;
[0015] Figure 5 yes Figure 4 A flow chart of the steps of generating initial cycle information in ;
[0016] Figure 6 yes Figure 4 A flow chart of the steps for generating countdown information;
[0017] Figure 7 is a schematic structural diagram of an embodiment of an information generating device according to the present disclosure;
[0018] Figure 8 It is a block diagram of an electronic device used to implement the information generating method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0020] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0021] Figure 1 An exemplary system architecture 100 is shown to which embodiments of the information generating method or information generating apparatus of the present disclosure can be applied.
[0022] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, 104, a network 105, and a server 106. The network 105 is used to provide a medium for communication links between the terminal devices 101, 102, 103, 104 and the server 106. The network 105 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0023] The user can use the terminal devices 101, 102, 103, 104 to interact with the server 106 via the network 105 to receive or send information, etc. Various client applications can be installed on the terminal devices 101, 102, 103, 104.
[0024] Terminal devices 101, 102, 103, 104 may be hardware or software. When terminal devices 101, 102, 103, 104 are hardware, they may be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, etc. When terminal devices 101, 102, 103, 104 are software, they may be installed in the above electronic devices. They may be implemented as multiple software or software modules, or as a single software or software module. No specific limitation is made here.
[0025] The server 106 can provide various services. For example, the server 106 can analyze and process the historical vehicle trajectories and real-time vehicle trajectories obtained from the terminal devices 101, 102, 103, and 104, and generate processing results (such as countdown information).
[0026] It should be noted that the server 106 can be hardware or software. When the server 106 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server 106 is software, it can be implemented as multiple software or software modules (for example, for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0027] It should be noted that the information generating method provided in the embodiment of the present disclosure is generally executed by the server 106 , and accordingly, the information generating device is generally arranged in the server 106 .
[0028] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0029] Continue to refer Figure 2 , which shows a process 200 of a first embodiment of an information generation method according to the present disclosure. The information generation method comprises the following steps:
[0030] Step 201 : determining initial cycle information of a target signal light based on historical vehicle trajectories associated with the target signal light.
[0031] In this embodiment, the execution subject of the information generation method (for example Figure 1 The server 105 shown in the figure will determine the initial cycle information of the target signal light based on the historical vehicle trajectory associated with the target signal light. Here, the target signal light is the signal light for which countdown information needs to be generated. The historical vehicle trajectory associated with the target signal light is the trajectory data of the vehicle in front of the target signal light, which generally includes information such as longitude and latitude, timestamp, and vehicle speed. The historical vehicle trajectory data is generally offline trajectory data, such as all trajectory data in front of the target signal light within the previous month. The offline data can be locally stored data or reliable true value data provided by a third party. After obtaining the historical vehicle trajectory data, it will also be cleaned to filter out abnormal data.
[0032] The initial cycle information is the total signal cycle of the target signal light generated based on the historical vehicle trajectory. The total signal cycle includes adjacent green light cycles and red light cycles. The green light cycle includes the green light duration and the yellow light duration, and the red light cycle is the red light duration. The total signal cycle can be the total duration from the red light switching to the green light state to the next red light switching to the green light state, or the total duration from the green light switching to the yellow light state to the next green light switching to the yellow light state, or the total duration from the yellow light switching to the red light state to the next yellow light switching to the red light state.
[0033] When the traffic light switches from red to green, the vehicles waiting in front of the traffic light will generally start at the first time. Therefore, the time interval between the time when the vehicle starts to move in front of the target traffic light and the time when the next vehicle starts to move (i.e., the time interval between the current red light switching to green and the next red light switching to green) in the historical vehicle trajectory data can be counted, and the time interval is used as the traffic light cycle, so as to determine the initial cycle information of the target traffic light by performing statistical analysis on the historical vehicle trajectory data.
[0034] Step 202 , verifying the initial cycle information based on the real-time vehicle trajectory associated with the target signal light.
[0035] In this embodiment, the execution subject will verify the initial cycle information based on the real-time vehicle trajectory associated with the target signal light. The execution subject will also obtain the real-time vehicle trajectory associated with the target signal light. The real-time vehicle trajectory may include vehicle trajectory data within half an hour or one hour before the acquisition time. The real-time vehicle trajectory may also include the trajectory data of the vehicle currently traveling, as long as it is trajectory data associated with the target signal light. And based on the real-time vehicle trajectory, the initial cycle information generated based on the historical trajectory is verified, that is, it is determined whether the driving status of the vehicle in the real-time vehicle trajectory is consistent with the initial cycle information.
[0036] Step 203 , in response to the initial cycle information failing verification, generating target cycle information based on the real-time vehicle trajectory.
[0037] In this embodiment, if the initial cycle information fails to pass the verification, the above-mentioned execution subject will generate the target cycle information based on the real-time vehicle trajectory. For example, based on the analysis of the driving status of the vehicle in the real-time vehicle trajectory, the time interval between the states of two adjacent red lights switching to green lights is 110 seconds, and the initial cycle information generated based on the historical vehicle trajectory is 120 seconds, then it can be determined that the initial cycle information does not match the real-time vehicle trajectory, that is, the initial cycle information fails to pass the verification. At this time, the target cycle information will be generated based on the real-time vehicle trajectory. For example, the time interval between the time when the vehicle starts to start before the target signal light in the real-time vehicle trajectory data and the time interval between the next time the vehicle starts to start (that is, the time interval between the current time when the red light switches to the green light and the next time when the red light switches to the green light) can be counted, and the time interval is used as the signal light cycle, that is, the target cycle information.
[0038] Step 204: Generate countdown information corresponding to the target signal switching point of the target signal light based on the target cycle information.
[0039] In this embodiment, the above-mentioned execution subject generates the countdown information corresponding to the target signal switching point of the target signal light based on the target cycle information. Here, the above-mentioned execution can also determine the green light duration of the target signal light in a signal light cycle by statistically analyzing the driving information or traffic status of the vehicle in the real-time vehicle trajectory, so as to determine the duration of each state of the signal light. At the same time, by statistically analyzing the driving information or traffic status of the vehicle, the time information of the target signal light at a certain signal switching point, such as the moment when the red light switches to the green light, can also be determined. Therefore, the above-mentioned execution subject can calculate the time corresponding to another signal switching point of the target signal light based on the signal light cycle of the target signal light, the signal light state duration and the switching time of the signal switching point. For example, it is known that the signal light cycle of the target signal light is 180 seconds, the green light cycle is 100 seconds (the green light cycle includes the green light duration and the yellow light duration), and the green light duration is 95 seconds. It can be known that the red light duration is 80 seconds and the yellow light duration is 5 seconds. The target signal light switches from red to green at the 5th second of 08:12. Since the green light duration is 95 seconds, the target signal light switches from green to yellow at the 40th second of 08:13. That is, the green light switching point (green to yellow) time = the estimated time of the red light switching point (red to green) + the green light duration. Finally, the corresponding countdown information can be generated based on the generated switching point time. The specific countdown seconds can be set according to actual needs, such as displaying the countdown information for the last 10 seconds, or displaying the countdown information for the last 15 seconds.
[0040] The information generation method provided by the disclosed embodiment first determines the initial cycle information of the target signal light based on the historical vehicle trajectory associated with the target signal light; then verifies the initial cycle information based on the real-time vehicle trajectory associated with the target signal light; then generates the target cycle information based on the real-time vehicle trajectory in response to the initial cycle information failing the verification; and finally generates the countdown information corresponding to the target signal switching point of the target signal light based on the target cycle information. The information generation method in this embodiment uses the real-time vehicle trajectory to verify the cycle information generated based on the historical vehicle trajectory, and if the verification fails, uses the real-time vehicle trajectory to generate new cycle information, thereby adjusting the historical cycle information, improving the accuracy of the generated cycle information, and further improving the accuracy of the generated countdown information.
[0041] Optionally, the countdown information can also be generated based on a model, that is, the historical vehicle trajectory and the real-time vehicle trajectory associated with the target signal light are input into the countdown generation model, and the corresponding countdown information can be output. Specifically, the countdown generation model may include an initial cycle generation submodule, a verification submodule, a target cycle generation submodule, and a countdown generation submodule. The initial cycle submodule will generate the initial cycle information of the target signal light based on the historical vehicle trajectory associated with the target signal light; the verification submodule will verify the initial cycle information based on the real-time vehicle trajectory associated with the target signal light; if the verification fails, the target cycle generation submodule will generate the target cycle information based on the real-time vehicle trajectory; finally, the countdown generation submodule will generate the countdown information corresponding to the target signal switching point of the target signal light based on the target cycle information.
[0042] Accordingly, when the countdown generation model is trained, the training data includes the historical vehicle trajectory and real-time vehicle trajectory associated with the target signal light, as well as the collected countdown true value data of the target signal light. Specifically, the initial cycle submodule will generate the initial cycle information of the target signal light based on the historical vehicle trajectory, and the verification submodule will verify the initial cycle information based on the real-time vehicle trajectory associated with the target signal light. If the verification fails, the target cycle generation submodule will generate the target cycle information based on the real-time vehicle trajectory, and the countdown generation submodule will generate the countdown information corresponding to the target signal switching point of the target signal light based on the target cycle information. Finally, according to the countdown information and the collected countdown true value data, the parameters of the initial cycle generation submodule, the verification submodule, the target cycle generation submodule and the countdown generation submodule are reversely adjusted through reverse propagation, so as to obtain a countdown generation model that meets the preset conditions.
[0043] In addition, in the technical solutions involved in this disclosure, the acquisition, storage, use, processing, transportation, provision and disclosure of user personal information (such as vehicle trajectory information involved in this disclosure later) are in compliance with the relevant laws and regulations and do not violate public order and good morals.
[0044] Continue to refer Figure 3 , Figure 3 A process 300 of another embodiment of the information generation method according to the present disclosure is shown. The information generation method comprises the following steps:
[0045] Step 301 : determining initial cycle information of a target signal light based on historical vehicle trajectories associated with the target signal light.
[0046] Step 302 , verifying the initial cycle information based on the real-time vehicle trajectory associated with the target signal light.
[0047] Step 303 , in response to the initial cycle information failing verification, generating target cycle information based on the real-time vehicle trajectory.
[0048] Step 304: Generate countdown information corresponding to the target signal switching point of the target signal light based on the target cycle information.
[0049] Steps 301-304 are basically consistent with steps 201-204 of the aforementioned embodiment. For specific implementation methods, reference may be made to the aforementioned description of steps 201-204, which will not be repeated here.
[0050] Step 305 , extracting the target vehicle trajectory from the real-time vehicle trajectory, and verifying the countdown information based on the target vehicle trajectory.
[0051] In this embodiment, the execution subject of the information generation method (for example Figure 1 The server 105 shown in the figure will also extract the target vehicle trajectory from the real-time vehicle trajectory after generating the countdown information. The target vehicle trajectory is used to perform a posteriori verification on the generated countdown information, that is, to verify the accuracy of the countdown information using the trajectory data of the vehicle actually passing the target signal light. Specifically, the above-mentioned execution subject will first extract the part of the trajectory data that passes the target signal light from the real-time vehicle trajectory, that is, the target trajectory data, and use the target vehicle trajectory to verify the accuracy of the generated countdown information. Specifically, it is determined whether the driving state of the vehicle represented by the target vehicle trajectory is consistent with the countdown information, thereby realizing the accuracy of the countdown information verified based on the actual trajectory data passing the target signal light.
[0052] In some optional implementations of this embodiment, step 305 includes: extracting driving status information of the vehicle from the target vehicle trajectory, wherein the driving status information includes passing or stopping; and verifying the countdown information based on the driving status information.
[0053] In this implementation, the execution subject will extract the vehicle's driving status information from the target vehicle's trajectory, where the driving status information includes passing or stopping, and then determine whether the driving status information is consistent with the countdown information. As an example, assuming that the current target signal light is displayed as a green light countdown of 5 seconds, and the driving status of other vehicles is obtained as stopped, the countdown is verified based on the driving status information. Thus, the accuracy of the countdown information displayed by the current vehicle is verified through the real-time trajectory of other vehicles.
[0054] In some optional implementations of the present embodiment, the above-mentioned information generation method also includes: in response to a mismatch between the driving status information and the countdown information, verifying the countdown information based on at least one of the signal state of the target signal light, the signal state of the reference signal light, the distance information between the vehicle and other vehicles, and the driving status of other vehicles, wherein the reference signal light and the target signal light are both located at the target intersection and indicate traffic signals for different driving directions.
[0055] In this implementation, if the driving status information does not match the countdown information, such as in the above example, the vehicle's driving status (stop) does not match the 5-second countdown of the green light. At this time, the above-mentioned execution entity will also verify the countdown information based on the status of the target signal light (red light or green light), the signal status of the reference signal light (that is, other signal lights that have a dependent relationship with the target signal light), the distance between the current vehicle and other vehicles, the driving status of other vehicles, and other information, thereby ensuring the accuracy of the verification result.
[0056] For example, if the current vehicle is in a stopped state and the target traffic light is green with a countdown of 5 seconds, the vehicle's driving state information does not match the countdown information. At this time, the distance between the current vehicle and other vehicles, the driving state of other vehicles, and the signal state of other reference traffic lights will be determined to determine whether it is congested or temporarily parked. As an example, if other vehicles are driving normally, the current vehicle is temporarily parked. The countdown information will continue to take effect. If other vehicles are also in a stopped state, it is determined that the countdown information is incorrect, and the lights will be turned off, that is, the countdown information will not be displayed.
[0057] For another example, if the current vehicle's driving status is passing, and the target traffic light is a red light with a countdown of 5 seconds, the vehicle's driving status information does not match the countdown information. At this time, the distance between the current vehicle and other vehicles, the driving status of other vehicles, and the signal status of other reference traffic lights will also be determined to determine whether it is a red light running situation. As an example, if other vehicles are all stopped, it can be determined that the current vehicle is a red light running situation, and the countdown information will continue to take effect. If other vehicles are all passing, it is determined that the countdown information is incorrect, and the light is turned off, that is, the countdown information is not displayed.
[0058] Step 306: In response to the countdown information passing the verification, the countdown information continues to be displayed.
[0059] In this embodiment, the execution subject will continue to display the countdown information when the countdown information passes the verification. If the countdown information fails to pass the verification, the light will be turned off, that is, the countdown information will not be displayed.
[0060] from Figure 3 It can be seen that Figure 2Compared with the corresponding embodiment, the information generation method in this embodiment performs a posteriori processing on the generated countdown information through the real-time trajectory information of the vehicle. The countdown will continue to be displayed only when it passes the verification, thereby further ensuring the accuracy of the countdown information.
[0061] Continue to refer Figure 4 , Figure 4 A process 400 of another embodiment of the information generation method according to the present disclosure is shown. The information generation method comprises the following steps:
[0062] Step 401 : determining initial cycle information of a target signal light based on historical vehicle trajectories associated with the target signal light.
[0063] Step 401 is basically the same as step 201 of the aforementioned embodiment. The specific implementation method can refer to the aforementioned description of step 201, which will not be repeated here.
[0064] Step 402: extracting vehicle start and stop information from the real-time vehicle trajectory.
[0065] In this embodiment, the execution subject of the information generation method (for example Figure 1 The server 105 shown will extract information on whether the vehicle is started or stopped from the real-time vehicle trajectory.
[0066] Step 403: verify the initial cycle information based on the start and stop information.
[0067] In this embodiment, the execution subject verifies the initial cycle information based on the extracted start-stop information, that is, determines whether the vehicle start or stop state is consistent with the cycle information, thereby realizing the verification of the offline generated cycle based on the real-time trajectory.
[0068] Step 404: in response to the initial cycle information passing the verification, generating countdown information corresponding to the target signal switching point of the target signal light based on the initial cycle information.
[0069] In this embodiment, if the initial cycle information passes the verification, it proves that the real-time trajectory of the vehicle is consistent with the cycle generated offline. At this time, the above-mentioned execution subject will generate the countdown information corresponding to the target signal switching point of the target signal light based on the initial cycle information. The specific generation method is consistent with the method of generating the countdown using the target cycle information. Please refer to the description in the previous embodiment and will not be repeated here. That is, if the initial cycle information is correct, the countdown information can be directly generated, thereby improving the efficiency of countdown generation.
[0070] Step 405 : In response to the initial cycle information failing verification, generating target cycle information based on the start / stop information.
[0071] In this embodiment, if the initial cycle information fails to pass the verification, it proves that the real-time trajectory of the vehicle does not match the cycle generated offline. At this time, the above-mentioned execution subject will generate a new cycle based on the start and stop information of the vehicle, that is, the target cycle information. Specifically, the time interval between the current red-to-green moment and the next red-to-green moment can be determined based on the start and stop information of the vehicle, thereby generating the target cycle information. Therefore, when the offline cycle is incorrect, the online cycle is generated based on the real-time trajectory data, thereby ensuring the accuracy of the cycle information.
[0072] Step 406: Generate countdown information corresponding to the target signal switching point of the target signal light based on the target cycle information.
[0073] Step 406 is basically the same as step 204 in the aforementioned embodiment. For the specific implementation method, reference may be made to the aforementioned description of step 204 and will not be repeated here.
[0074] from Figure 4 It can be seen that Figure 3 Compared with the corresponding embodiment, the information generation method in this embodiment uses real-time vehicle trajectory to verify the periodic information generated based on historical vehicle trajectory. If the verification passes, the countdown is generated using the offline cycle. If the verification fails, the real-time vehicle trajectory is used to generate new periodic information, thereby ensuring the accuracy of the periodic information and improving the generation efficiency and accuracy of the countdown information.
[0075] Continue to refer Figure 5 , Figure 5 Shows Figure 4 A process 500 of the initial period information generation step in the embodiment of the present invention. The initial period information generation step includes:
[0076] Step 501 : determining the total signal cycle of the target signal light in different time periods based on the historical vehicle trajectories associated with the target signal light.
[0077] In this embodiment, since the total signal cycle in different time periods of a day is different, for example, the regular information and total signal cycle of the traffic lights in the morning and evening peak time period (such as 17:00-18:00) and other time periods (such as 21:00-22:00) are generally different, and for another example, the regular information and total signal cycle of the traffic lights in the late night time period (such as 00:00-01:00) and the noon time period (such as 11:00-12:00) are generally different, so, in this embodiment, a day will be divided into multiple time periods based on the statistical analysis of historical data, and the total signal cycle of the traffic lights in each time period is the same. The above-mentioned execution subject will analyze and count the vehicle's start and stop characteristics, timestamps and other information contained in the vehicle trajectory data, so as to determine the total signal cycle of the target traffic light in different time periods, wherein the total signal cycle includes adjacent green light cycles and red light cycles.
[0078] In some optional implementations of the present embodiment, step 501 includes: determining a target lane corresponding to a target signal light; determining lane trajectory data corresponding to the target lane from the full trajectory data of the intersection where the target signal light is located; determining a historical vehicle trajectory associated with the target signal light from the lane trajectory data, and extracting driving characteristic information of the vehicle from the historical vehicle trajectory; determining the total signal cycle of the target signal light in different time periods based on the driving characteristic information.
[0079] In this implementation, the above-mentioned execution subject will first determine the lane corresponding to the target signal light, that is, the target lane. Generally speaking, the signal light corresponds to the lane, for example, the left-turn lane corresponds to the left-turn signal light, the straight lane corresponds to the straight-through signal light, and the right-turn lane corresponds to the right-turn signal light (some right-turn lanes do not have signal lights), so the above-mentioned execution subject will first determine the lane corresponding to the target signal light. Then, the lane trajectory data corresponding to the target lane is determined from the full trajectory data of the intersection where the target signal light is located. After that, the vehicle trajectory data associated with the target signal light is determined from the lane trajectory data, for example, the data with a distance from the target signal light within a preset range is determined as the vehicle trajectory data associated with the target signal light. Finally, the driving characteristic information of the vehicle is extracted from the vehicle trajectory data. Thus, the vehicle trajectory data associated with the target signal light is determined based on the lane information, and the correlation between the vehicle trajectory data and the target signal light is ensured.
[0080] In some optional implementations of this embodiment, the vehicle trajectory data associated with the target signal light includes: vehicle trajectory data whose distance to the target signal light is within a preset range and whose driving direction matches the target signal light.
[0081] In this implementation, the matching of the vehicle's driving direction and the target signal light refers to the target signal light being used to indicate the vehicle's driving direction. For example, if the vehicle is traveling south, the target signal light is located to the south of the vehicle, that is, the target signal light is used to indicate the vehicle's southward traffic signal. The preset range of the distance from the target signal light within the preset range can be set according to actual conditions, for example, it is set to 100 meters, that is, the vehicle trajectory data within a distance of less than 100 meters from the target signal light is obtained. Therefore, based on the above conditions, the correlation between the obtained vehicle trajectory data and the target signal light is further guaranteed.
[0082] Step 502 , mapping historical vehicle trajectories with the same total signal cycle in the same day into a total cycle interval to obtain mapped trajectory data.
[0083] In this embodiment, the execution subject maps the vehicle trajectory data with the same total cycle in a single day into an interval, which is an interval with 0 and the total cycle value as endpoints, thereby obtaining the mapped trajectory data. That is, in this example, the trajectory data of different time periods with the same total cycle in a single day are first mapped into the same interval.
[0084] In some optional implementations of this embodiment, step 502 includes: generating relative time information of the trajectory data to be processed based on the timestamp and the time period of the trajectory data to be processed with the same signal total period within the same day; performing a modulo operation on the signal total period through the relative time information; and using the result of the modulo operation as the interval time information of the trajectory data to be processed within the total period interval to obtain the mapped trajectory data.
[0085] In this implementation, the trajectory data to be processed will include all vehicle trajectory data with the same total signal cycle within the same day. For each trajectory data to be processed, the above-mentioned execution subject will first obtain the time information of the trajectory point on the day based on the timestamp of the trajectory data to be processed. Since the timestamp refers to the total number of seconds from 00:00:00 Greenwich time on January 1, 1960 (08:00:00 Beijing time on January 1, 1960) to the present, the timestamp is first converted to the time of the day when the trajectory data to be processed is collected to obtain the first time information, which is the total number of seconds from 00:00:00 on the day to the collection time of the trajectory data to be processed. Then, the time period of the trajectory data to be processed is determined, so as to further convert the obtained first time information into relative time information with 00:00:00 on the day of collection as the reference point. For example, assuming that the time period of the trajectory data to be processed is 02:00-03:00, the time period endpoint 02:00 is 2 hours away from 00:00, and there are 3600 seconds per hour, then the relative time information of the trajectory data to be processed can be obtained by subtracting 2*3600 from the first time information.
[0086] Then, the remainder of the relative time information divided by the total period is calculated, and the result of the remainder calculation is used as the interval time information of the trajectory data to be processed within the total period interval, thereby obtaining the mapped trajectory data.
[0087] For example, assuming that the total cycle of the current signal is 180 seconds, then the total cycle interval is [0,180). After calculation, the relative time information of the trajectory data to be processed is 2001. The relative time information (2001) modulo the total cycle of the signal (180) is used to obtain the modulo result of 21, which is the interval time information of the trajectory data to be processed within the total cycle interval. According to the above steps, each trajectory data to be processed can be mapped to the total cycle interval.
[0088] This enables the trajectory data with the same total period within a single day to be mapped into the same interval.
[0089] Step 503: merge the mapped trajectory data of different days to obtain target trajectory data.
[0090] In this embodiment, the above-mentioned execution subject will merge the mapped trajectory data of multiple days to obtain the merged target trajectory data. For each total signal cycle, the vehicle trajectory data corresponding to the total signal cycle will be merged. Therefore, the target trajectory data includes multiple merged vehicle trajectory data, and each merged vehicle trajectory data corresponds to a total signal cycle value.
[0091] In some optional implementations of this embodiment, step 503 includes: performing debiasing processing on the mapped trajectory data to obtain debiased trajectory data; and merging the debiased trajectory data of different days to obtain target trajectory data.
[0092] In this implementation, the trajectory data with the same total signal period within the same day have been mapped to a total period interval, and the mapped data may be relatively concentrated in a certain section and relatively sparse in another section within the total period interval. Therefore, the above-mentioned execution subject will use the clustering algorithm to find the earliest starting point offset in the data section, and debias the mapped trajectory data according to the offset. Afterwards, the above-mentioned execution subject will merge the debiased trajectory data of multiple days to obtain the merged target trajectory data.
[0093] Since there are multiple values of the total signal period, for each total signal period, the vehicle trajectory data of a single day corresponding to the total signal period will be mapped and debiased, and then the debiased trajectory data of multiple days will be merged. That is, the trajectory data corresponding to each total signal period will be processed in the manner described in steps 402-406. Therefore, the target trajectory data obtained includes multiple merged vehicle trajectory data, and each merged vehicle trajectory data corresponds to a total signal period value. Thus, through the above steps, the data with the same total period of multiple days are superimposed, the number of trajectories with the same total period is enriched, and the problem of sparse training data is solved.
[0094] In some optional implementations of the present embodiment, the mapped trajectory data is debiased to obtain the debiased trajectory data, including: determining the first started target trajectory data from the mapped trajectory data; using the interval time information of the target trajectory data as an offset; and debiasing the mapped trajectory data based on the offset to obtain the debiased trajectory data.
[0095] In this implementation, the execution subject will determine the first started target trajectory data from the mapped trajectory data, and use the interval time information of the target trajectory data in the total cycle interval as the offset, and debias the mapped trajectory data based on the offset, that is, subtract the offset from the interval time information of the mapped trajectory data in the total cycle, and use the obtained value as the new interval time information of the mapped trajectory data, thereby obtaining the debiased trajectory data. By debiasing the trajectory data mapped for a single day, trajectory data with the same total cycle on different days can be merged later.
[0096] Step 504 , performing model training based on the pre-collected target traffic light cycle true value data and target trajectory data, to obtain a cycle prediction model for predicting the cycle information of the traffic light.
[0097] Finally, the above-mentioned execution subject will take the target trajectory data as input, and the true value of the red light cycle and the true value of the green light cycle of the target traffic light as output, and conduct supervised training on the initial model to obtain an information determination model for predicting the cycle information of the traffic light. The initial model here can be a DNN (Deep Neural Network) regression model. Thus, the model is trained based on the collected true value data and the trajectory data obtained through the above steps, so as to obtain a trained information determination model.
[0098] from Figure 5 It can be seen that this method superimposes data from multiple days by merging trajectory data with the same total signal period, thereby training the model under large-scale data, thereby solving the problem of sparse training data during model training and improving the accuracy of model training.
[0099] Continue to refer Figure 6 , Figure 6 Shows Figure 4 A process 600 of the step of generating countdown information in the embodiment of the present invention. The step of generating countdown information includes:
[0100] Step 601, determining the signal light state duration of the target signal light.
[0101] In this embodiment, the duration of the signal light state is the duration information of the red light state, the duration information of the green light state or the duration information of the yellow light state. Here, the duration of the signal light (such as the duration of the green light) can be obtained through a pre-trained deep learning model. Specifically, the historical trajectory of the signal light for many days before is used to extract features such as passing and parking. A small number of traffic lights with known red-green cycles are used as labels. The mutation point is found through comparative learning of the deep learning model, and the time length from the mutation point to the red-green transition is used as the green light duration.
[0102] Step 602: Determine a first time corresponding to a first signal switching point of a target signal light based on the start / stop information.
[0103] In this embodiment, the characteristic information of the vehicle in the real-time vehicle trajectory is counted and analyzed to determine the first moment corresponding to the first signal switching point of the target signal light. The real-time vehicle trajectory can be real-time data within half an hour from the current acquisition time, and the first signal switching point can be the moment when the red light switches to the green light, that is, the above-mentioned execution subject will determine the moment when the red light switches to the green light of the target signal light based on the start-stop characteristics of the vehicle in the real-time vehicle trajectory.
[0104] Step 603: Determine a second time corresponding to a second signal switching point of the target signal light based on the target cycle information, the duration of the signal light state, and the first time.
[0105] In this embodiment, since the signal light cycle, signal light state duration, and switching time of the first signal switching point of the target signal light have been determined, based on this, the time corresponding to the second signal switching point of the target signal light can be calculated. For example, it is known that the signal light cycle of the target signal light is 180 seconds, the green light cycle is 100 seconds (the green light cycle includes the green light duration and the yellow light duration), and the green light duration is 95 seconds. It can be known that the red light duration is 80 seconds and the yellow light duration is 5 seconds. And the moment of the first signal switching point (red to green) of the target signal light is the 5th second of 08:12. Since the green light duration is 95 seconds, the moment of the second signal switching point (green to yellow) of the target signal light is determined to be the 40th second of 08:13. That is, the time of the green light switching point (green to yellow) = the estimated time of the red light switching point (red to green) + the green light passage duration.
[0106] Step 604: Generate countdown information corresponding to a second signal switching point of the target signal light based on the second moment.
[0107] In this embodiment, the execution subject will also generate countdown information corresponding to the second signal switching point of the target signal light according to the second moment. Since the switching moment of the second signal switching point has been determined, countdown information can be generated based on this, and the specific countdown seconds can be set according to actual needs, such as displaying the countdown information of the last 10 seconds, or displaying the countdown information of the last 15 seconds. When the second signal switching point is the green light switching to the yellow light, the green light countdown information can be generated according to the target moment. Therefore, the corresponding countdown information is accurately generated based on the time information of the switching point.
[0108] from Figure 6It can be seen that this method determines the switching time at the second signal switching point by mining the target signal light's cycle information, signal light state duration information, and time information of the first signal switching point, and then generates countdown information. Therefore, when determining the switching time, the information of the reference signal light and the target signal light is comprehensively considered, which improves the accuracy of the determined switching time and the accuracy of the generated countdown information.
[0109] In some optional implementations of this embodiment, the first signal switching point is a switching point where the red light switches to the green light, and the second signal switching point is a switching point where the green light switches to the yellow light.
[0110] When the reference signal light and the target signal light are signal lights for indicating straight signals in two directions, only when one direction stops passing (green turns yellow) will the other direction start passing (red turns green). Since the vehicles waiting in front of the signal light will start immediately when the signal light switches from red to green, the moment when the red light of the reference signal light switches to green can be obtained more accurately based on the start time of the vehicle. The time difference is the time difference between the moment when the red light of the reference signal light switches to green and the moment when the green light of the target signal light switches to yellow. Therefore, the above-mentioned execution subject can determine the moment when the green light of the target signal light switches to yellow based on the moment when the red light of the reference signal light switches to green and the time difference. Thereby improving the efficiency of determining the moment information when the green light of the target signal light switches to yellow.
[0111] Further references Figure 7 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an information generating device, which is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0112] like Figure 7 As shown, the information generating device 700 of this embodiment includes: an initial cycle generating module 701, a cycle checking module 702, a target cycle generating module 703 and a first countdown generating module 704. The initial cycle generating module 701 is configured to determine the initial cycle information of the target signal light based on the historical vehicle trajectory associated with the target signal light; the cycle checking module 702 is configured to check the initial cycle information based on the real-time vehicle trajectory associated with the target signal light; the target cycle generating module 703 is configured to generate the target cycle information based on the real-time vehicle trajectory in response to the initial cycle information failing to pass the check; the first countdown generating module 704 is configured to generate the countdown information corresponding to the target signal switching point of the target signal light based on the target cycle information.
[0113] In this embodiment, in the information generating device 700, the specific processing of the initial cycle generating module 701, the cycle checking module 702, the target cycle generating module 703 and the first countdown generating module 704 and the technical effects thereof can be referred to respectively. Figure 2 The relevant descriptions of steps 201 - 204 in the corresponding embodiment are not repeated here.
[0114] In some optional implementations of the present embodiment, the above-mentioned information generating device 700 also includes: an extraction module, configured to extract the target vehicle trajectory from the real-time vehicle trajectory, wherein the target vehicle trajectory is the vehicle trajectory data passing the target signal light; a first countdown verification module, configured to verify the countdown information based on the target vehicle trajectory; and a display module, configured to continue to display the countdown information in response to the countdown information passing the verification.
[0115] In some optional implementations of this embodiment, the first countdown verification module is further configured to: extract the vehicle's driving status information from the target vehicle trajectory, wherein the driving status information includes passing or stopping; and verify the countdown information based on the driving status information.
[0116] In some optional implementations of this embodiment, the above-mentioned information generating device 700 also includes: a second countdown verification module, which is configured to verify the countdown information based on at least one of the signal state of the target signal light, the signal state of the reference signal light, the distance information between the vehicle and other vehicles, and the driving status of other vehicles in response to the mismatch between the driving status information and the countdown information, wherein the reference signal light and the target signal light are both located at the target intersection and indicate traffic signals for different driving directions.
[0117] In some optional implementations of the present embodiment, the initial cycle information is obtained through a cycle prediction model, and the above-mentioned information generating device 700 also includes: a model training module for training the cycle prediction model, the model training module includes: a signal total cycle determination submodule, configured to determine the total signal cycle of the target signal light in different time periods based on the historical vehicle trajectory associated with the target signal light, wherein the total signal cycle includes adjacent green light cycles and red light cycles; a mapping submodule, configured to map the historical vehicle trajectories with the same total signal cycle within the same day into a total cycle interval to obtain mapped trajectory data; a merging submodule, configured to merge the mapped trajectory data of different days to obtain target trajectory data; a training submodule, configured to perform model training based on the pre-collected target signal light cycle true value data and the target trajectory data to obtain a cycle prediction model for predicting the cycle information of the signal light.
[0118] In some optional implementations of this embodiment, the mapping submodule is further configured to: generate relative time information of the trajectory data to be processed based on the timestamp and time period of the trajectory data to be processed with the same total signal period within the same day; perform a modulo operation on the total signal period through the relative time information; and use the result of the modulo operation as the interval time information of the trajectory data to be processed within the total period interval to obtain the mapped trajectory data.
[0119] In some optional implementations of this embodiment, the merging submodule includes: a debiasing unit, configured to debias the mapped trajectory data to obtain debiased trajectory data; and a merging unit, configured to merge the debiased trajectory data of different days to obtain target trajectory data.
[0120] In some optional implementations of this embodiment, the debiasing unit is further configured to: determine the first started target trajectory data from the mapped trajectory data; use the interval time information of the target trajectory data as an offset; and debias the mapped trajectory data based on the offset to obtain the debiased trajectory data.
[0121] In some optional implementations of the present embodiment, the signal total cycle determination submodule is further configured to: determine the target lane corresponding to the target signal light; determine the lane trajectory data corresponding to the target lane from the full trajectory data of the intersection where the target signal light is located; determine the historical vehicle trajectory associated with the target signal light from the lane trajectory data, and extract the vehicle's driving characteristic information from the historical vehicle trajectory; determine the total signal cycle of the target signal light in different time periods based on the driving characteristic information.
[0122] In some optional implementations of this embodiment, the historical vehicle trajectory associated with the target signal light includes: a historical vehicle trajectory whose distance to the target signal light is within a preset range and whose driving direction matches the target signal light.
[0123] In some optional implementations of this embodiment, the period verification module is further configured to: extract the start and stop information of the vehicle from the real-time vehicle trajectory; and verify the initial period information based on the start and stop information.
[0124] In some optional implementations of this embodiment, the target period generation module is further configured to: in response to the initial period information failing verification, generate the target period information based on the start / stop information.
[0125] In some optional implementations of the present embodiment, the first countdown generation module is further configured to: determine the signal light state duration of the target signal light; determine the first moment corresponding to the first signal switching point of the target signal light based on the start and stop information; determine the second moment corresponding to the second signal switching point of the target signal light based on the target cycle information, the signal light state duration and the first moment; and generate countdown information corresponding to the second signal switching point of the target signal light based on the second moment.
[0126] In some optional implementations of this embodiment, the first signal switching point is a switching point where the red light switches to the green light, and the second signal switching point is a switching point where the green light switches to the yellow light.
[0127] In some optional implementations of this embodiment, the above-mentioned information generating device 700 also includes: a second countdown generating module, which is configured to generate countdown information corresponding to the target signal switching point of the target signal light based on the initial cycle information in response to the initial cycle information passing the verification.
[0128] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0129] Figure 8 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0130] like Figure 8 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0131] Multiple components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0132] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the information generation method. For example, in some embodiments, the information generation method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the information generation method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the information generation method in any other appropriate manner (e.g., by means of firmware).
[0133] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0134] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable information generating device, so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0135] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0136] To provide interaction with a user, the systems and techniques described herein 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 pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the 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 input, voice input, or tactile input).
[0137] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may 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.
[0138] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0139] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0140] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for generating information, include: Determining initial cycle information of the target signal light based on historical vehicle trajectories associated with the target signal light; verifying the initial cycle information based on a real-time vehicle trajectory associated with the target signal light; In response to the initial period information failing verification, generating target period information based on the real-time vehicle trajectory; Countdown information corresponding to a target signal switching point of the target signal light is generated based on the target cycle information.
2. The method according to claim 1, further comprising: include: Extracting a target vehicle trajectory from the real-time vehicle trajectory, wherein the target vehicle trajectory is vehicle trajectory data passing through the target signal light; Verifying the countdown information based on the target vehicle trajectory; In response to the countdown information passing the verification, the countdown information continues to be displayed.
3. The method according to claim 2, in, The verifying the countdown information based on the target vehicle trajectory includes: Extracting driving state information of the vehicle from the target vehicle trajectory, wherein the driving state information includes passing or stopping; The countdown information is verified based on the driving status information.
4. The method according to claim 3, further comprising: include: In response to the driving status information not matching the countdown information, the countdown information is verified based on at least one of the signal status of the target signal light, the signal status of the reference signal light, the distance information between the vehicle and the other vehicles, and the driving status of the other vehicles, wherein the reference signal light and the target signal light are both located at a target intersection and indicate traffic signals for different driving directions.
5. The method according to claim 1, in, The initial period information is obtained through a period prediction model, and the period prediction model is trained through the following steps: Determining the total signal cycle of the target signal light in different time periods based on the historical vehicle trajectory associated with the target signal light, wherein the total signal cycle includes adjacent green light cycles and red light cycles; Mapping historical vehicle trajectories with the same signal total period on the same day into a total period interval to obtain mapped trajectory data; Merging the mapped trajectory data of different days to obtain the target trajectory data; Model training is performed based on the pre-collected true value data of the period of the target signal light and the target trajectory data to obtain a period prediction model for predicting the period information of the signal light.
6. The method according to claim 5, in, Mapping the historical vehicle trajectories with the same signal total cycle in the same day into a total cycle interval to obtain the mapped trajectory data includes: Generate relative time information of the trajectory data to be processed based on the timestamp and time period of the trajectory data to be processed with the same signal total period in the same day; Performing a modulo operation on the total period of the signal using the relative time information; The calculation result of the remainder operation is used as the interval time information of the trajectory data to be processed within the total cycle interval to obtain the mapped trajectory data.
7. The method according to claim 5, in, The step of merging the mapped trajectory data of different days to obtain the target trajectory data includes: Performing debiasing processing on the mapped trajectory data to obtain debiased trajectory data; The debiased trajectory data of different days are combined to obtain the target trajectory data.
8. The method according to claim 7, in, The debiasing process is performed on the mapped trajectory data to obtain the debiased trajectory data, including: Determining the first started target trajectory data from the mapped trajectory data; Using the interval time information of the target trajectory data as an offset; Debiasing is performed on the mapped trajectory data based on the offset to obtain the debiased trajectory data.
9. The method according to claim 5, in, The determining, based on the historical vehicle trajectory associated with the target signal light, the total signal cycle of the target signal light in different time periods comprises: Determining a target lane corresponding to the target signal light; Determine lane trajectory data corresponding to the target lane from the full trajectory data of the intersection where the target traffic light is located; Determining a historical vehicle trajectory associated with a target signal light from the lane trajectory data, and extracting driving characteristic information of the vehicle from the historical vehicle trajectory; The total signal cycle of the target signal lamp in different time periods is determined based on the driving characteristic information.
10. The method according to claim 9, in, The historical vehicle trajectory associated with the target signal light includes: A historical vehicle trajectory whose distance from the target signal light is within a preset range and whose driving direction matches the target signal light.
11. The method according to claim 1, in, The verifying the initial cycle information based on the real-time vehicle trajectory associated with the target signal light comprises: Extracting vehicle start and stop information from the real-time vehicle trajectory; The initial cycle information is verified based on the start and stop information.
12. The method according to claim 11, in, In response to the initial cycle information failing verification, generating target cycle information based on the real-time vehicle trajectory includes: In response to the initial cycle information failing verification, the target cycle information is generated based on the start and stop information.
13. The method according to claim 12, in, The generating countdown information corresponding to the target signal switching point of the target signal light based on the target cycle information includes: Determine the signal light state duration of the target signal light; Determine a first time corresponding to a first signal switching point of the target signal light based on the start / stop information; Determine a second time corresponding to a second signal switching point of the target signal light based on the target cycle information, the duration of the signal light state and the first time; Countdown information corresponding to the second signal switching point of the target signal light is generated based on the second moment.
14. The method according to claim 13, in, The first signal switching point is a switching point where the red light switches to the green light, and the second signal switching point is a switching point where the green light switches to the yellow light.
15. The method according to claim 1, further comprising: include: In response to the initial cycle information passing the verification, countdown information corresponding to the target signal switching point of the target signal light is generated based on the initial cycle information.
16. An information generating device, include: An initial cycle generation module, configured to determine initial cycle information of the target signal light based on historical vehicle trajectories associated with the target signal light; a cycle verification module configured to verify the initial cycle information based on a real-time vehicle trajectory associated with the target signal light; a target period generation module configured to generate target period information based on the real-time vehicle trajectory in response to the initial period information failing verification; The first countdown generating module is configured to generate countdown information corresponding to the target signal switching point of the target signal light based on the target cycle information.
17. The device according to claim 16, further comprising: include: An extraction module is configured to extract a target vehicle trajectory from the real-time vehicle trajectory, wherein the target vehicle trajectory is vehicle trajectory data passing through the target signal light; A first countdown verification module is configured to verify the countdown information based on the target vehicle trajectory; The display module is configured to continue to display the countdown information in response to the countdown information passing the verification.
18. The device according to claim 17, in, The first countdown verification module is further configured to: Extracting driving state information of the vehicle from the target vehicle trajectory, wherein the driving state information includes passing or stopping; The countdown information is verified based on the driving status information.
19. The device according to claim 18, further comprising: include: The second countdown verification module is configured to verify the countdown information based on at least one of the signal state of the target signal light, the signal state of the reference signal light, the distance information between the vehicle and the other vehicles, and the driving state of the other vehicles in response to the mismatch between the driving state information and the countdown information, wherein the reference signal light and the target signal light are both located at a target intersection and indicate traffic signals of different driving directions.
20. The device according to claim 16, in, The initial period information is obtained through a period prediction model, and the device further includes: a model training module for training the period prediction model, and the model training module includes: A signal total cycle determination submodule, configured to determine the signal total cycle of the target signal light in different time periods based on historical vehicle trajectories associated with the target signal light, wherein the signal total cycle includes adjacent green light cycles and red light cycles; A mapping submodule is configured to map historical vehicle trajectories with the same signal total period within the same day into a total period interval to obtain mapped trajectory data; a merging submodule, configured to merge the mapped trajectory data of different days to obtain the target trajectory data; The training submodule is configured to perform model training based on the pre-collected true value data of the period of the target signal light and the target trajectory data to obtain a period prediction model for predicting the period information of the signal light.
21. The device according to claim 20, in, The mapping submodule is further configured to: Generate relative time information of the trajectory data to be processed based on the timestamp and time period of the trajectory data to be processed with the same signal total period in the same day; Performing a modulo operation on the total period of the signal using the relative time information; The calculation result of the remainder operation is used as the interval time information of the trajectory data to be processed within the total cycle interval to obtain the mapped trajectory data.
22. The device according to claim 20, in, The merging submodule comprises: a debiasing unit, configured to perform debiasing processing on the mapped trajectory data to obtain debiased trajectory data; The merging unit is configured to merge the debiased trajectory data of different days to obtain the target trajectory data.
23. The device according to claim 22, in, The depolarization unit is further configured to: Determining the first started target trajectory data from the mapped trajectory data; Using the interval time information of the target trajectory data as an offset; Debiasing is performed on the mapped trajectory data based on the offset to obtain the debiased trajectory data.
24. The device according to claim 20, in, The signal total period determination submodule is further configured to: Determining a target lane corresponding to the target signal light; Determine lane trajectory data corresponding to the target lane from the full trajectory data of the intersection where the target traffic light is located; Determining a historical vehicle trajectory associated with a target signal light from the lane trajectory data, and extracting driving characteristic information of the vehicle from the historical vehicle trajectory; The total signal cycle of the target signal lamp in different time periods is determined based on the driving characteristic information.
25. The device according to claim 24, in, The historical vehicle trajectory associated with the target signal light includes: A historical vehicle trajectory whose distance from the target signal light is within a preset range and whose driving direction matches the target signal light.
26. The device according to claim 16, in, The periodic check module is further configured to: Extracting vehicle start and stop information from the real-time vehicle trajectory; The initial cycle information is verified based on the start and stop information.
27. The device according to claim 26, in, The target period generation module is further configured to: In response to the initial cycle information failing verification, the target cycle information is generated based on the start and stop information.
28. The device according to claim 27, in, The first countdown generation module is further configured to: Determine the signal light state duration of the target signal light; Determine a first time corresponding to a first signal switching point of the target signal light based on the start / stop information; Determine a second time corresponding to a second signal switching point of the target signal light based on the target cycle information, the duration of the signal light state and the first time; Countdown information corresponding to the second signal switching point of the target signal light is generated based on the second moment.
29. The device according to claim 28, in, The first signal switching point is a switching point where the red light switches to the green light, and the second signal switching point is a switching point where the green light switches to the yellow light.
30. The device according to claim 16, further comprising: include: The second countdown generating module is configured to generate countdown information corresponding to the target signal switching point of the target signal light based on the initial cycle information in response to the initial cycle information passing the verification.
31. An electronic device, include: 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, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 15.
32. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the method of any one of claims 1-15.
33. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 15.
