Signal lamp data processing method and equipment
The terminal corrects the signal light data in the cloud to ensure data accuracy, solves the problem of inaccurate signal light data acquisition by vehicles, improves traffic efficiency and safety, and avoids waste of cloud resources.
Patent Information
- Application Number
- CN202411386397.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-12-27
AI Technical Summary
In the prior art, the signal light data obtained by vehicles are often inaccurate, resulting in the vehicle being unable to pass through the intersection smoothly, affecting traffic efficiency and safety.
The terminal sends signal light data request information to the cloud, receives and corrects signal light data, ensuring data accuracy, including determining the signal light data at the intersection to be passed based on the time stamp and light color timing information, and conducting real-time monitoring and updates when the data changes.
It improves the accuracy of signal light data and the safety of vehicles passing through road intersections, reduces traffic violations and energy consumption caused by inaccurate signal light data, and avoids insufficient computing power caused by frequent data transmission in the cloud.
Smart Images

Figure CN119207091A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart transportation, and in particular to a signal light data processing method and device. Background Art
[0002] With the continuous development of intelligent transportation systems, the information exchange between vehicles and transportation infrastructure has become increasingly important. In order to improve traffic efficiency, reduce congestion and accidents, vehicles need to obtain real-time status information of traffic lights in order to make more reasonable driving decisions.
[0003] In related technologies, when a vehicle requests traffic light data from the cloud, the cloud provides the vehicle with traffic light data such as traffic light status information, remaining time, phase information, and intersection signs based on high-precision maps. For example, the traffic light at intersection A is currently red, with a remaining time of 18 seconds, and the timings for going straight, turning left, and turning right are 23 seconds, 25 seconds, and 20 seconds, respectively.
[0004] However, when vehicles use signal light data, the signal light data is often inaccurate. Summary of the invention
[0005] The present application provides a signal light data processing method and device to solve the problem of inaccurate signal light data in the prior art.
[0006] In a first aspect, the present application provides a signal light data processing method, applied to a terminal, comprising:
[0007] Sending a signal light data request message to the cloud, where the signal light data request message includes the vehicle location;
[0008] Receiving first signal light data, the first signal light data is fed back by the cloud according to the signal light data request information, the first signal light data includes current light color and light color timing information;
[0009] Determine second signal light data of the intersection to be passed based on the first signal light data.
[0010] In some embodiments, determining second signal light data of a to-be-passed intersection according to the first signal light data includes:
[0011] The second signal light data of the intersection to be passed is determined according to the timestamp of the first signal light data and the first signal light data, wherein the difference between the time corresponding to the second signal light data and the timestamp is less than a preset threshold.
[0012] In some embodiments, after determining the second signal light data of the intersection to be passed according to the first signal light data, the method further includes:
[0013] According to the second signal light data, driving data of the vehicle passing through the intersection is generated, and the driving data includes the speed and passing time of the vehicle passing through the intersection.
[0014] In some embodiments, before determining the second signal light data of the intersection to be passed according to the first signal light data, the method further includes:
[0015] Send monitoring request information to the cloud;
[0016] receiving updated first signal light data, where the updated first signal light data is the first signal light data that the cloud monitors according to the monitoring request information and is fed back when the signal light data changes, where the signal light data change includes a light color timing information change and / or a phase timing information change;
[0017] According to the first signal light data, the second signal light data of the intersection to be passed is determined, specifically:
[0018] The second signal light data of the intersection to be passed is re-determined according to the updated first signal light data.
[0019] In a second aspect, the present application provides a signal light data processing method, which is applied in the cloud, comprising:
[0020] receiving a signal light data request message sent by a terminal, wherein the signal light data request message includes a vehicle position;
[0021] Determine first signal light data according to the signal light data request information, wherein the first signal light data includes current light color and light color timing information;
[0022] The first signal light data is sent to the terminal, so that the terminal determines the second signal light data of the intersection to be passed according to the first signal light data.
[0023] In some embodiments, determining the first signal light data according to the signal light data request information includes:
[0024] According to the vehicle position, determine the lane the vehicle is in;
[0025] Determine the intersection to be passed according to the lane where the vehicle is located;
[0026] Determine a plurality of traffic lights within a preset range of the intersection to be passed according to the location information of the intersection to be passed;
[0027] According to the lane where the vehicle is located, determining the phase of a target signal light from a plurality of signal lights;
[0028] The first signal light data is determined according to the target signal light phase.
[0029] In some embodiments, the intersection identification includes a city code and an intersection code.
[0030] In a third aspect, the present application provides a signal light data processing device, comprising:
[0031] A sending module, used for sending signal light data request information to the cloud, where the signal light data request information includes the vehicle location;
[0032] A first receiving module is used to receive first signal light data, the first signal light data is fed back by the cloud according to the signal light data request information, and the first signal light data includes current light color and light color timing information;
[0033] The first determining module is used to determine the second signal light data of the intersection to be passed according to the first signal light data.
[0034] In a fourth aspect, the present application provides a signal light data processing device, comprising:
[0035] A second receiving module is used to receive signal light data request information sent by the terminal, wherein the signal light data request information includes a vehicle position;
[0036] A second determination module is used to determine first signal light data according to the signal light data request information, wherein the first signal light data includes current light color and light color timing information;
[0037] The output module is used to send the first signal light data to the terminal, so that the terminal determines the second signal light data of the intersection to be passed according to the first signal light data.
[0038] In a fifth aspect, the present application provides an electronic device, including: a memory and a processor;
[0039] The memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory to implement the signal light data processing method in the first aspect and any one of the embodiments of the first aspect or the second aspect and any one of the embodiments of the second aspect.
[0040] In a sixth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the signal light data processing method in the first aspect and any one of the embodiments of the first aspect or the second aspect and any one of the embodiments of the second aspect is implemented.
[0041] In the seventh aspect, the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the signal light data processing method in the first aspect and any one of the embodiments of the first aspect or the second aspect and any one of the embodiments of the second aspect.
[0042] The signal light data processing method and device provided in the present application are as follows: the terminal sends signal light data request information to the cloud, and the cloud feeds back first signal light data according to the signal light data request information. The terminal then determines the second signal light data of the intersection to be passed according to the current light color and light color timing information in the first signal light data, thereby achieving the effect of correcting the signal light data at the terminal and improving the accuracy of the signal light data. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0044] Figure 1 A schematic diagram of a scenario for signal light data processing provided in an embodiment of the present application;
[0045] Figure 2 A signaling interaction diagram of a signal light data processing method provided in an embodiment of the present application;
[0046] Figure 3 A partial signaling interaction diagram of a signal light data processing method provided by an embodiment of the present application;
[0047] Figure 4 A partial flow chart of a signal light data processing method provided by an embodiment of the present application;
[0048] Figure 5 A schematic diagram of the structure of a signal light data processing device provided in one embodiment of the present application;
[0049] Figure 6 A schematic diagram of the structure of another signal light data processing device provided in one embodiment of the present application;
[0050] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0052] The terms "first", "second", "third", "fourth", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances. For example, without departing from the scope of this document, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0053] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0054] Vehicles can perceive the status information of traffic lights in real time, which can help them make more reasonable driving decisions. In related technologies, in order to improve traffic efficiency, reduce congestion and accidents, when vehicles request traffic light data from the cloud, the cloud will use the message format of the Signal Phase And Timing Message (SPAT) protocol to provide vehicles with traffic light data such as the intersection signs of the intersections to be passed, the current light color of the lights, the remaining time of the current light color, and phase information. For example, the A intersection is currently red, the remaining time of the red light is 18 seconds, and the timing for going straight, turning left, and turning right are 23 seconds, 25 seconds, and 20 seconds respectively.
[0055] However, due to data transmission delays, the vehicle failing to pass the intersection in time, etc., the vehicle cannot pass the intersection smoothly according to the received traffic light data.
[0056] In view of the above problems, the present application proposes a signal light data processing method and device. In the method, the terminal sends signal light data request information to the cloud, and after the cloud returns the signal light data according to the signal light data request information, the terminal corrects the signal light data to make the signal light data more consistent with the signal light state when the vehicle passes through the intersection, thereby improving the accuracy of the signal light data, improving the safety of vehicles passing through the intersection, and avoiding the problem of insufficient cloud computing power caused by frequent sending of signal light data by the cloud.
[0057] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0058] Figure 1FIG. 1 is a schematic diagram showing a scenario of signal light data processing provided by an embodiment of the present application. Figure 1 As shown, according to the driving path of vehicle A, vehicle A will pass through the intersection within a preset time. At this time, vehicle A can request traffic light data from the cloud and correct the traffic light data received from the cloud so as to pass through the intersection according to the accurate traffic light data.
[0059] Figure 2 FIG. 1 shows a signaling interaction diagram of a signal light data processing method provided by an embodiment of the present application. Figure 2 As shown, the method of this embodiment may include the following steps:
[0060] S101. The terminal sends a signal light data request message to the cloud.
[0061] In this embodiment, the terminal may be a vehicle-mounted terminal, and the signal light data request information includes the vehicle position. The terminal obtains the vehicle position through a vehicle sensor, and generates the signal light data request information according to the vehicle position.
[0062] The traffic light data request information is used to indicate a request to obtain the status information of the traffic light at the target intersection, for example, the current light color of the traffic light, the remaining time of the current light color, etc.
[0063] S102: The cloud determines first traffic light data according to traffic light data request information.
[0064] In this embodiment, the first signal light data includes the current light color, the remaining duration of the current light color, and the light color timing information. The light color timing information indicates the timing duration of different light colors of the signal light, for example, the red light duration of a certain phase of the signal light is 107 seconds, the green light duration is 50 seconds, and the yellow light duration is 3 seconds.
[0065] Optionally, the first signal light data may further include phase timing information, for example, 38 seconds for left turn and 50 seconds for straight ahead. It is understood that the phase timing information is the duration of green lights for different turns.
[0066] S103. The cloud sends the first signal light data to the terminal.
[0067] S104. The terminal determines the second signal light data of the intersection to be passed according to the first signal light data.
[0068] In this embodiment, the terminal can correct the first signal light data according to the current light color, remaining time of the current light color, light color timing information, phase timing information and data acquisition time in the first signal light data to obtain the second signal light data at the target time.
[0069] For example, for vehicles going straight, the first signal light data includes the current light color, the remaining time of the current light color, the phase timing information, and the light color timing information. Among them, the current light color is red, the remaining time of the current light color is 17 seconds, the phase timing information is 38 seconds for left turn and 50 seconds for straight, and the light color timing information for straight is 107 seconds for red light, 50 seconds for green light, and 3 seconds for yellow light. In addition, the collection time of the first signal light data is 12 hours, 12 minutes and 38 seconds.
[0070] According to the first signal light data, the second signal light data at 12:12:58 can be calculated, including the current light color is green, the remaining time of the current light color is 47 seconds, and the phase timing information and light color timing information are consistent with the first signal light data. Thus, the terminal obtains the second signal light data of the intersection to be passed at the target time.
[0071] The signal light data processing method provided in this embodiment is that the terminal receives the first signal light data from the cloud, and corrects the first signal light data according to the light color timing information in the first signal light data, thereby obtaining the second signal light data at the target time, thereby achieving the effect of improving the accuracy of the signal light data.
[0072] In some embodiments, the specific implementation of step S104 is to determine the second signal light data of the intersection to be passed according to the timestamp of the first signal light data and the first signal light data. The timestamp of the first signal light data indicates the time when the cloud obtains the signal light data. The difference between the time corresponding to the second signal light data and the timestamp is less than a preset threshold.
[0073] Optionally, when determining the second signal light data of the intersection to be passed, it is necessary to determine that the control mode of the signal light is a timing control mode, that is, the timing of the three light colors of the signal light is periodic.
[0074] Specifically, the order of light color changes is green light, yellow light, red light, and green light. When determining the light color timing information of a certain phase, a countdown calculation can be performed to determine the signal light data at any future time under the timing control mode. In addition, in the timing control mode, when the light color timing information changes, the terminal needs to perform a countdown calculation based on the changed light color timing information.
[0075] In the non-timing control mode, the timing of the three colors of the traffic light is not periodic, and the terminal cannot calculate the countdown. In this case, it is necessary to obtain the real-time color status of the traffic light from the cloud to ensure the accuracy of the color.
[0076] Figure 3 A partial signaling interaction diagram of a signal light data processing method provided by an embodiment of the present application is shown. Figure 2 Based on the example, Figure 3 As shown, the method of this embodiment may include the following steps:
[0077] S201. The terminal sends a monitoring request message to the cloud.
[0078] The monitoring request information is information requesting monitoring of changes in traffic light data, and is used to request the cloud to synchronize the changed data to the terminal when changes in traffic light data are detected.
[0079] For example, the terminal can request the cloud to monitor the color timing information and phase timing information of traffic lights.
[0080] S202: The cloud monitors traffic light data according to the monitoring request information.
[0081] For example, after the light color timing information changes, the second signal light data calculated by the terminal based on the light color timing information before the change is inaccurate, so the terminal needs to obtain the light color timing information after the change. The same is true for the phase timing information change.
[0082] It should be understood that in the timing control mode, the timing of the three colors of the traffic light is periodic. After the light color timing information changes, the period of the three colors of the traffic light changes, but it is still periodic, and the frequency of the cloud feeding back the monitoring results to the terminal is low. In the non-timing control mode, the timing of the three colors of the traffic light is not periodic, and the frequency of the cloud feeding back the monitoring results to the terminal is high.
[0083] S203: When the traffic light data changes, the cloud re-feeds back the first traffic light data.
[0084] In this embodiment, the signal light data change includes a light color timing information change and / or a phase timing information change.
[0085] On this basis, step S104 specifically includes: re-determining the second signal light data of the intersection to be passed according to the updated first signal light data that is re-fed back.
[0086] This step and Figure 2 The implementation of step S104 in the embodiment is similar and will not be described in detail in this embodiment.
[0087] The signal light data processing method provided in this embodiment is that the terminal requests the cloud to monitor the changes in signal light data, and promptly obtains the changed light color timing information and / or phase timing information, so as to determine the second signal light data based on the real-time information, thereby improving the accuracy of the second signal light data.
[0088] In some embodiments, after step S104, the terminal may also generate driving data of the vehicle passing through the intersection according to the second signal light data, wherein the driving data may include the speed and travel time of the vehicle passing through the intersection.
[0089] Specifically, after obtaining more accurate second signal light data, the terminal can determine the time when the vehicle arrives at the intersection and the signal light data when it arrives at the intersection through the real-time position and speed of the vehicle, and then determine whether the vehicle needs to stop and wait and the time to start from the intersection. Here, the time when the vehicle starts from the intersection can be the time when the vehicle passes the stop line. On this basis, according to the vehicle starting time and the green light duration, the terminal can also generate a recommended speed for the vehicle to pass through the intersection and the corresponding travel time.
[0090] Optionally, if the terminal determines that the vehicle needs to stop and wait, a deceleration parameter may be generated based on the vehicle's real-time position, speed, and parking position.
[0091] According to the method of this embodiment, the terminal generates recommended driving data for vehicles passing through intersections based on accurate traffic light data, and reminds the driver to adjust the driving speed. This can reduce the occurrence of traffic violations or emergency braking problems caused by blocked vision or inattention, reduce the number of times vehicles stop and start at intersections, reduce energy consumption, and improve traffic efficiency and safety at intersections.
[0092] Figure 4 A partial flow chart of a signal light data processing method provided by an embodiment of the present application. Figure 4 As shown, with the cloud as the execution subject, the specific implementation method of step S102 includes:
[0093] S301. Determine the lane where the vehicle is located according to the vehicle position.
[0094] S302: Determine the intersection to be passed according to the lane where the vehicle is located.
[0095] S303: Determine a plurality of traffic lights within a preset range of the intersection to be passed according to the location information of the intersection to be passed.
[0096] S304: Determine a target signal light phase from a plurality of signal lights according to the lane where the vehicle is located.
[0097] S305: Determine first signal light data according to the target signal light phase.
[0098] Continue to refer Figure 1 , vehicle A is in the straight lane from west to east, and the intersections to be passed include at least the intersections shown in the figure.
[0099] According to the longitude and latitude of the intersection to be passed, multiple traffic lights within a preset range of the intersection can be determined, for example, within 3 meters from the center of the intersection, traffic lights 1 to 4 can be determined. According to the lane where vehicle A is located, the target traffic light can be determined to be traffic light 1.
[0100] Furthermore, the lane direction of the vehicle's lane matches the direction of the signal light, and the signal light of the target phase can be determined. For example, vehicle A is in the straight lane, and the vehicle only needs to pay attention to the straight signal light data. At this time, the first signal light data sent by the cloud to the terminal may not include phase timing information, that is, the terminal can calculate the second signal light data based on the timestamp, the current light color, the remaining time of the current light color, and the straight light color timing information.
[0101] Optionally, the cloud determines the lane where the vehicle is located and the intersection to be passed, which can be determined by determining the lane mark where the vehicle is located and the intersection mark to be passed. According to the lane mark, the lane direction and lane turn can be determined; according to the intersection mark, the longitude and latitude of the intersection can be determined. Similarly, determining multiple traffic lights and target traffic lights can also be determined by determining the traffic light mark, and the longitude and latitude of the traffic light and the direction of the traffic light can be determined according to the traffic light mark.
[0102] In some embodiments, the intersection identification includes a city code and an intersection code.
[0103] Specifically, to avoid the problem of the same intersection code in different cities, the intersection identification in this embodiment includes a city code and an intersection code.
[0104] In this embodiment, the cloud determines the lane where the vehicle is located and the intersection to be passed according to the vehicle position, and then determines the first signal light data of the target phase, realizes the unification of map data such as the intersection to be passed, lane direction, lane turn and signal light data, and sends the signal light data corresponding to the turn of the intersection to be passed to the terminal, reducing the data transmission volume of the cloud. At the same time, the terminal can also determine the second signal light data according to the first signal light data without combining the phase timing information, which simplifies the process of the terminal determining the second signal light data.
[0105] In some embodiments, if the terminal has path planning information for the vehicle, the path planning information can be sent to the cloud when sending traffic light data request information to the cloud, so that the cloud can feedback traffic light data for multiple intersections on the path to be passed to the terminal based on the path planning information.
[0106] If there is no vehicle path planning information, the cloud can also feed back the signal light data of multiple intersections to the terminal. In this case, the multiple intersections are the intersections that the cloud predicts the vehicle may pass through based on the current position of the vehicle.
[0107] In some embodiments, the cloud obtains traffic light data by obtaining it from a traffic management system and performing data verification, dual-cycle intersection data processing, etc.
[0108] In some embodiments, the cloud can distribute the traffic light data to various topics in real time through the form of message middleware, for example, there can be a traffic light data topic and a traffic light monitoring topic. The terminal can subscribe to the corresponding topic and write the real-time traffic light data into the cache through the subscription topic, so that the real-time traffic light data can be obtained in time through the cache when the traffic light data is requested, thereby improving the data access speed.
[0109] Figure 5 FIG. 1 is a schematic diagram showing the structure of a signal light data processing device provided by an embodiment of the present application. Figure 5 As shown, the signal light data processing device 10 of this embodiment is used to implement the operation corresponding to the terminal in any of the above method embodiments. The signal light data processing device 10 of this embodiment includes:
[0110] A sending module 11, used for sending signal light data request information to the cloud, where the signal light data request information includes a vehicle position;
[0111] The first receiving module 12 is used to receive first signal light data. The first signal light data is fed back by the cloud according to the signal light data request information. The first signal light data includes current light color and light color timing information.
[0112] The first determining module 13 is used to determine the second signal light data of the intersection to be passed according to the first signal light data.
[0113] The signal light data processing device 10 provided in the embodiment of the present application can execute the above method embodiment. Its specific implementation principle and technical effects can be found in the above method embodiment, and this embodiment will not be repeated here.
[0114] Figure 6 FIG. 1 is a schematic diagram showing the structure of a signal light data processing device provided by an embodiment of the present application. Figure 6 As shown, the signal light data processing device 20 of this embodiment is used to implement the operations corresponding to the cloud in any of the above method embodiments. The signal light data processing device 20 of this embodiment includes:
[0115] The second receiving module 21 is used to receive signal light data request information sent by the terminal, wherein the signal light data request information includes the vehicle position.
[0116] The second determining module 22 is used to determine the first signal light data according to the signal light data request information, wherein the first signal light data includes the current light color and light color timing information.
[0117] The output module 23 is used to send the first signal light data to the terminal, so that the terminal determines the second signal light data of the intersection to be passed according to the first signal light data.
[0118] The signal light data processing device 20 provided in the embodiment of the present application can execute the above method embodiment. Its specific implementation principle and technical effects can be found in the above method embodiment, and this embodiment will not be repeated here.
[0119] Figure 7 FIG. 1 shows a hardware structure diagram of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device 30 is used to implement the operations corresponding to the terminal or the cloud in any of the above method embodiments. The electronic device 30 of this embodiment may include: a memory 31, a processor 32 and a communication interface 34.
[0120] The memory 31 is used to store computer programs. The memory 31 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk, or an optical disk.
[0121] The processor 32 is used to execute the computer program stored in the memory to implement the method in the above embodiment. For details, please refer to the relevant description in the above method embodiment. The processor 32 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the invention can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0122] Optionally, the memory 31 may be independent or integrated with the processor 32 .
[0123] When the memory 31 is a device independent of the processor 32, the electronic device 30 may further include a bus 33. The bus 33 is used to connect the memory 31 and the processor 32. The bus 33 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0124] The communication interface 34 may be connected to the processor 32 via the bus 33. The processor 32 may control the communication interface 34 to implement the functions of receiving and sending signals.
[0125] The electronic device 30 provided in this embodiment can be used to execute the above-mentioned signal light data processing method, and its implementation method and technical effect are similar, which will not be described in detail in this embodiment.
[0126] The present application also provides a computer-readable storage medium, in which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, it is used to implement the methods provided in the various embodiments described above.
[0127] Among them, the computer-readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that is convenient for transmitting a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, a computer-readable storage medium is coupled to a processor so that the processor can read information from the computer-readable storage medium and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be a component of the processor. The processor and the computer-readable storage medium can be located in an application-specific integrated circuit (ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the computer-readable storage medium can also exist in a communication device as discrete components.
[0128] Specifically, the computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium may be any available medium that can be accessed by a general or special-purpose computer.
[0129] The present application also provides a computer program product, which includes a computer program / instruction, and the computer program / instruction is stored in a computer-readable storage medium. At least one processor of the device can read the computer program / instruction from the computer-readable storage medium, and at least one processor executes the computer program / instruction so that the device implements the methods provided in the various embodiments described above.
[0130] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0131] Among them, each module can be physically separated, for example, installed in different locations of a device, or installed on different devices, or distributed on multiple network units, or distributed on multiple processors. Each module can also be integrated together, for example, installed in the same device, or integrated in a set of codes. Each module can exist in the form of hardware, or can also exist in the form of software, or can also be implemented in the form of software plus hardware. The present application can select some or all of the modules according to actual needs to achieve the purpose of the present embodiment.
[0132] It should be understood that, although the various steps in the flowcharts in the above-described embodiments are sequentially displayed according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily to be carried out sequentially, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the above embodiments can still be modified, or some or all of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A signal light data processing method, characterized in that: Applied to a terminal, the method comprises: Sending a signal light data request message to the cloud, wherein the signal light data request message includes a vehicle location; Receive first signal light data, the first signal light data is fed back by the cloud according to the signal light data request information, the first signal light data includes current light color and light color timing information; Determine second signal light data of the intersection to be passed based on the first signal light data.
2. The method according to claim 1, characterized in that Determining second signal light data of the intersection to be passed according to the first signal light data includes: Determine second signal light data of the intersection to be passed according to the timestamp of the first signal light data and the first signal light data, wherein the difference between the time corresponding to the second signal light data and the timestamp is less than a preset threshold.
3. The method according to claim 1, characterized in that After determining the second signal light data of the intersection to be passed according to the first signal light data, the method further includes: The driving data of the vehicle passing through the intersection is generated according to the second signal light data, and the driving data includes the speed and the passing time of the vehicle passing through the intersection.
4. The method according to any one of claims 1 to 3, characterized in that: Before determining the second signal light data of the intersection to be passed according to the first signal light data, the method further includes: Send monitoring request information to the cloud; receiving updated first signal light data, wherein the updated first signal light data is the first signal light data that the cloud monitors the signal light data according to the monitoring request information and re-feeds back when the signal light data changes, wherein the signal light data change includes a light color timing information change and / or a phase timing information change; Determine the second signal light data of the intersection to be passed according to the first signal light data, specifically: The second signal light data of the intersection to be passed is re-determined according to the updated first signal light data.
5. A signal light data processing method, characterized in that: Applied to the cloud, the method includes: receiving signal light data request information sent by a terminal, wherein the signal light data request information includes a vehicle position; Determining first signal light data according to the signal light data request information, wherein the first signal light data includes current light color and light color timing information; The first signal light data is sent to a terminal, so that the terminal determines the second signal light data of the intersection to be passed according to the first signal light data.
6. The method according to claim 5, characterized in that Determining first signal light data according to the signal light data request information includes: Determining the lane where the vehicle is located according to the vehicle position; Determine the intersection to be passed according to the lane where the vehicle is located; Determining a plurality of traffic lights within a preset range of the intersection to be passed according to the location information of the intersection to be passed; Determining a target signal light phase from the plurality of signal lights according to the lane in which the vehicle is located; According to the target signal light phase, first signal light data is determined.
7. The method according to claim 6, characterized in that The intersection identification includes a city code and an intersection code.
8. A signal light data processing device, characterized in that: include: A sending module, used for sending signal light data request information to the cloud, wherein the signal light data request information includes a vehicle position; A first receiving module, configured to receive first signal light data, the first signal light data being fed back by the cloud according to the signal light data request information, the first signal light data including current light color and light color timing information; The first determining module is used to determine the second signal light data of the intersection to be passed according to the first signal light data.
9. A signal light data processing device, characterized in that: include: A second receiving module, configured to receive signal light data request information sent by a terminal, wherein the signal light data request information includes a vehicle position; A second determining module, configured to determine first signal light data according to the signal light data request information, wherein the first signal light data includes current light color and light color timing information; The output module is used to send the first signal light data to the terminal, so that the terminal determines the second signal light data of the intersection to be passed according to the first signal light data.
10. An electronic device, characterized in that: The device comprises: a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory to implement the signal light data processing method according to any one of claims 1 to 4 or any one of claims 5 to 7.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it is used to implement the signal light data processing method according to any one of claims 1 to 4 or any one of claims 5 to 7.
12. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the signal light data processing method according to any one of claims 1 to 4 or any one of claims 5 to 7 is implemented.
Citation Information
Cited By
Traffic signal lamp information acquisition and evaluation method and device, controller and medium
CN120766505A
