Traffic information processing method and apparatus, and electronic device
By acquiring and displaying traffic light countdown information from vehicles at traffic light-controlled intersections, the problem of right-turning or U-turning vehicles being blocked by straight-going vehicles has been solved, improving the user navigation experience.
Patent Information
- Application Number
- PCT/CN2025/102364
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-09
- Filing Date
- 2025-06-20
- Publication Date
- 2026-01-15
AI Technical Summary
At traffic light-controlled intersections, vehicles turning right or making a U-turn may be blocked by vehicles going straight ahead, resulting in a poor navigation experience for users and making it impossible to know the passage time in a timely manner.
Vehicles send data requests to the server via the client to obtain traffic data for the target lane, including traffic light information, and display the countdown information of the target traffic light when obstructed.
Users can clearly see the countdown information for traffic light-controlled directions that are blocking their vehicle's progress, improving the navigation experience.
Smart Images

Figure CN2025102364_15012026_PF_FP_ABST
Abstract
Description
A traffic information processing method, apparatus and electronic device
[0001] This disclosure claims priority to Chinese Patent Application No. 202410917729.9, filed on July 9, 2024, entitled “A Traffic Information Processing Method, Apparatus and Electronic Device”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This disclosure relates to the field of navigation technology, specifically to a traffic information processing method, apparatus, and electronic device. Background Technology
[0003] At some intersections with traffic lights, vehicles that can proceed without being restricted by the traffic lights, such as those turning right or making a U-turn, may be blocked by vehicles ahead and unable to pass directly. For example, a vehicle going straight ahead may need to wait for the traffic light, while a vehicle behind it in the same lane that needs to turn right may be blocked by the vehicle going straight ahead. When right-turning vehicles navigate to the vicinity of this intersection, they are unaware of the traffic situation ahead, impacting the user navigation experience. How to improve the user navigation experience in this scenario is an urgent technical problem to be solved. Summary of the Invention
[0004] In view of this, the present disclosure provides a traffic information processing method, apparatus and electronic device to solve the problems in the above-mentioned scenarios and improve the user experience.
[0005] To solve the above problems, the technical solution provided in this disclosure is as follows:
[0006] In a first aspect of this disclosure, a traffic information processing method is provided, which is applied to a client and includes:
[0007] Send a data request to the server, wherein the data request is at least used to request the traffic data of the target vehicle in the obstructed scenario, the traffic data includes traffic light information, the obstructed scenario refers to the vehicle passing through the target lane according to the navigation route without being controlled by traffic lights, and the travel direction of the target lane also includes at least one direction controlled by traffic lights.
[0008] Receive the target passage data sent by the server;
[0009] In response to the target vehicle being obstructed, a countdown timer for the target traffic light is displayed, wherein the countdown timer is determined based on the target traffic data.
[0010] In a second aspect of this disclosure, a traffic information processing method is provided, which is applied to a server and includes:
[0011] The system receives a data request sent by a client. The data request is at least used to request the passage data of the target vehicle in an obstructed scenario. The passage data includes traffic light information. The obstructed scenario refers to a situation where the vehicle is not controlled by traffic lights when passing through the target lane according to the navigation route. The travel direction of the target lane also includes at least one direction controlled by traffic lights.
[0012] The target traffic data is determined based on the data request, and the target traffic data includes traffic light information corresponding to the obstruction scenario of the target vehicle;
[0013] The target traffic data is sent to the client so that when the target vehicle is obstructed, the client displays the target traffic light countdown information.
[0014] In a third aspect of this disclosure, a traffic information processing method is provided, which is applied to a traffic information processing system, the system including a client and a server, comprising:
[0015] The client sends a data request to the server. The data request is at least used to request the traffic data of the target vehicle in the obstructed scenario. The traffic data includes traffic light information. The obstructed scenario refers to the situation where the vehicle is not controlled by traffic lights when passing through the target lane according to the navigation route. The travel direction of the target lane also includes at least one direction controlled by traffic lights.
[0016] The server determines the target traffic data based on the data request and sends the target traffic data to the client. The target traffic data includes the traffic light information corresponding to the target vehicle in the obstruction scenario.
[0017] In response to the target vehicle being obstructed, the client displays a countdown timer for the target traffic light, wherein the countdown timer is determined based on traffic light information in the target traffic data.
[0018] In a fourth aspect of this disclosure, a traffic information processing apparatus is provided, which is applied to a client and includes:
[0019] A sending unit is used to send a data request to the server, wherein the data request is at least used to request the passage data of the target vehicle in the obstruction scenario, the passage data includes traffic light information, the obstruction scenario refers to the situation where the vehicle passes through the target lane according to the navigation route without being controlled by traffic lights, and the travel direction of the target lane also includes at least one direction controlled by traffic lights.
[0020] The receiving unit is used to receive the target passage data sent by the server;
[0021] The processing unit is configured to display target traffic light countdown information in response to the target vehicle being obstructed, wherein the target traffic light countdown information is determined based on the target traffic data.
[0022] In a fifth aspect of this disclosure, a traffic information processing apparatus is provided, the apparatus being applied to a server, comprising:
[0023] The receiving unit is used to receive a data request sent by the client. The data request is at least used to request the passage data of the target vehicle in the obstruction scenario. The passage data includes traffic light information. The obstruction scenario refers to the situation where the vehicle passes through the target lane according to the navigation route without being controlled by traffic lights, and the travel direction of the target lane also includes at least one direction controlled by traffic lights.
[0024] The processing unit is configured to determine target traffic data based on the data request, wherein the target traffic data includes traffic light information corresponding to the obstruction scenario of the target vehicle;
[0025] The sending unit is used to send the target traffic data to the client so that when the target vehicle is blocked, the client displays the target traffic light countdown information.
[0026] In a sixth aspect of this disclosure, a traffic information processing system is provided, the system comprising:
[0027] A client, used to execute the method described in the first aspect;
[0028] The server is used to execute the method described in the second aspect.
[0029] In a seventh aspect of this disclosure, an electronic device is provided, comprising: one or more processors; and a memory having one or more programs stored thereon.
[0030] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in the first aspect, the second aspect, or the third aspect.
[0031] In an eighth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the methods described in the first, second, or third aspects.
[0032] In a ninth aspect of this disclosure, a computer program product is provided that, when run on a computer, causes the computer to implement the methods described in the first, second, or third aspects.
[0033] Therefore, this disclosure has the following beneficial effects:
[0034] During operation, vehicles can send data requests to the server. These requests are at least for requesting traffic data in obstructed situations. This traffic data includes traffic light information. The server then sends the target traffic data to the client. When a vehicle is obstructed, the client can determine the target traffic light countdown based on the traffic data and display it. This allows users to clearly understand the countdown information of the traffic lights blocking their path, improving the user experience. Attached Figure Description
[0035] Figure 1 is a schematic diagram of a road condition provided in an embodiment of this disclosure;
[0036] Figure 2 is an interactive diagram of a traffic information processing method provided in an embodiment of this disclosure;
[0037] Figures 3a-3b are schematic diagrams of an obstructed scenario provided by an embodiment of this disclosure;
[0038] Figure 4 is a flowchart of a traffic information processing method provided in an embodiment of this disclosure;
[0039] Figure 5 is a flowchart of another traffic information processing method provided in an embodiment of this disclosure;
[0040] Figure 6 is a schematic diagram of a traffic information processing device provided in an embodiment of this disclosure;
[0041] Figure 7 is a schematic diagram of another traffic information processing device provided in an embodiment of this disclosure. Detailed Implementation
[0042] To make the above-mentioned objectives, features and advantages of this disclosure more apparent and understandable, the embodiments of this disclosure will be further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0043] To facilitate understanding of the technical implementation of this disclosure, the technical terms involved in this disclosure will be explained below.
[0044] Link: A road segment, a directed unit divided according to the actual road. Each link corresponds to an actual road and has a unique identifier (ID).
[0045] A link pair is a pair of road segments. If two links are geographically connected through an intersection, they can be considered as a link pair. In this disclosure, it can be understood as a link pair consisting of a link before a traffic light and a link after the traffic light.
[0046] Traffic light timing: In this disclosure, it refers to the timing information of traffic lights.
[0047] Traffic light timing information can include signal cycle, green light time, yellow light time, and red light time. The signal cycle refers to the complete cycle time of a traffic light, including the green light time, yellow light time, and red light time. The signal cycle is generally between 20 and 180 seconds, and is set according to traffic demand and traffic volume.
[0048] The green light duration is one of the main parameters of traffic lights. When the red light turns green, vehicles can proceed until the green light ends or all vehicles have passed. The green light duration is generally set according to traffic demand and traffic flow.
[0049] The yellow light duration is the transition time between the red and green lights, intended to prompt vehicles to slow down and prepare to stop or continue driving. The yellow light duration is generally 1-3 seconds.
[0050] Red light time refers to the time between the end of the green light and the start of the next green light, during which vehicles are not allowed to pass. Red light time is generally set based on traffic demand and traffic flow.
[0051] Traffic light controlled scenario: This means that the link pair at the traffic light intersection is controlled by the traffic lights and needs to follow the traffic light instructions to pass through the current intersection.
[0052] Traffic light obstruction scenarios: These are situations where a link pair at a traffic light intersection is not controlled by the traffic light and can proceed at any time, but is blocked because it cannot pass directly ahead. For example, if a right turn and a straight-ahead vehicle are in the same lane, but the right turn is not controlled by the traffic light while the straight-ahead vehicle is, then a right-turning vehicle behind in that lane will be blocked by a straight-ahead vehicle in front. Similarly, if a left turn and a U-turn are in the same lane, but the U-turn is not controlled by the traffic light while the left turn is, then a U-turning vehicle behind in that lane will be blocked by a left-turning vehicle in front.
[0053] For example, Figure 1 is a schematic diagram of a road condition provided by an embodiment of this disclosure. In the application scenario shown in Figure 1, link1 and link3 are geographically connected, forming a link pair. Vehicles passing through this link pair are not subject to traffic light control. Link1 and link2 are geographically connected, forming a link pair. Vehicles passing through this link pair are subject to traffic light control. Link1 is the link before the traffic light, and link2 is the link after the traffic light. In lane 2 of link1, vehicle 1 is a straight-going vehicle, and vehicle 2 is a right-turning vehicle. If the light is red, vehicle 1 is controlled to go straight and stops, while vehicle 2 is not affected by the traffic light and can continue to go, but cannot turn right because vehicle 1 is blocking it. How to provide effective information to the blocked vehicles so that users can know when they can pass is an urgent technical problem to be solved.
[0054] Based on this, this disclosure provides a solution that allows users blocked in front of a traffic light to clearly see the countdown information of the traffic light corresponding to the controlled vehicle blocking their path.
[0055] To facilitate understanding of this disclosure, the navigation method provided herein will be described below with reference to the accompanying drawings.
[0056] Referring to Figure 2, which is an interactive diagram of a traffic information processing method provided in an embodiment of this disclosure, as shown in Figure 2, the method includes:
[0057] S201: The client sends a data request to the server. The data request is at least used to request the target vehicle's passage data in the obstructed scenario.
[0058] In this embodiment, a client with navigation functionality can periodically send data requests to the server to request traffic data for the target vehicle in obstructed scenarios. This traffic data includes traffic light information (such as traffic light timing information). For example, during navigation, the vehicle sends data requests to the server every 5 minutes. Each request is used to request traffic data at a preset distance / preset intersection along the navigation route. If two adjacent traffic data returned by the server overlap, the later data overwrites the earlier data.
[0059] Understandably, clients can also send data requests to the server under certain conditions, such as at each light along the route, or at a predetermined distance from an intersection where there is obstruction.
[0060] In this context, an obstruction scenario refers to a situation where a vehicle traveling along the navigation route through the target lane is not controlled by traffic lights, but other vehicles traveling along the same route in the target lane are controlled by traffic lights. This means the target lane includes at least one direction controlled by traffic lights. When a vehicle is traveling in the target lane, it may be blocked by a vehicle in front (whose direction is controlled by traffic lights). For example, in Figure 1, lane 2 of link 1 allows both straight and right turns. The straight direction is controlled by traffic lights, while the right turn is not. Lane 2 is the target lane. If vehicle 2 attempts to turn right in lane 2, but vehicle 1 is traveling straight, vehicle 2 may be blocked by vehicle 1.
[0061] S202: The server obtains the target passage data based on the data request.
[0062] S203: The server sends the target passage data to the client.
[0063] In this embodiment, the data request may include the location of the target vehicle. After receiving the data request, the server will obtain the traffic light traffic data at intersections within a preset distance or a preset number of intersections from the target vehicle's location as the target traffic data. For example, the server can be pre-configured to provide the client with traffic light traffic data for the direction of travel within 500 meters of the vehicle, or pre-configured to provide the client with traffic light traffic data for the three intersections ahead of the vehicle. In other words, regardless of whether it will obstruct the target vehicle, the server can send the traffic light traffic data that matches the pre-configured traffic data to the client.
[0064] In some scenarios, to avoid the server identifying traffic lights that are not the ones the target vehicle will pass through, the data request also includes a user identifier. The server uses this user identifier to determine the navigation route for the target vehicle. Each user identifier corresponds one-to-one with a navigation route. When obtaining target traffic data, the server uses the traffic data of traffic lights within a preset distance or a preset number of intersections on the navigation route as the target traffic data, and then sends this target traffic data to the client.
[0065] Furthermore, to reduce the bandwidth and client resource consumption of data transmission, the server can selectively send traffic light data that may obstruct the target vehicle. In this scenario, after determining the traffic light traffic data, the server then determines which traffic light might cause obstruction based on the navigation route, and sends the traffic light traffic data to that traffic light in order to send it to the client. For example, the server obtains the traffic data of three traffic lights on the navigation route based on the target vehicle's location. However, the first two traffic lights require the user to go straight and there is no obstruction, while the third traffic light requires a right turn and there is an obstruction. In this case, the traffic data corresponding to the third traffic light can be sent to the client as the target traffic data.
[0066] Specifically, the server determines the roads the target vehicle will travel on based on the navigation route. For any road traveled, it determines whether the target lane exists. If the target lane exists, it indicates that the target vehicle may be obstructed while traveling on that road.
[0067] For example, in the scenario shown in Figure 1, the driving route of vehicle 2 indicates that it will turn right at the intersection ahead of link 1. The right turn in lane 2 is not controlled by traffic lights, but it can also go straight in lane 2, which will be controlled by traffic lights. Therefore, it is determined that vehicle 2 may be obstructed when driving in link 1.
[0068] The road includes the target lane, which can include the following:
[0069] One scenario is where the number of lanes on the road remains unchanged and a target lane exists. Figures 3a-3b are schematic diagrams of an obstructed scenario provided by an embodiment of this disclosure. For example, as shown in Figure 3a, the right lane in Figure 3a includes straight-ahead and right-turn lanes. Straight-ahead traffic is controlled by traffic lights, while right-turn traffic is not controlled by traffic lights. Therefore, the right lane is an obstructed lane, i.e., the target lane.
[0070] Another scenario involves a change in the number of lanes on the road, with a target lane existing before or after the change. This change in lane number can include either an increase or a decrease in the number of lanes. For example, as shown in Figure 3b, the road changes from two lanes to three lanes. Before the change, the right lane allowed both straight and right turns. Vehicles traveling in the right lane before the lane number change might experience obstruction; the right lane would then be considered an obstructed lane.
[0071] It should be noted that not all two directions of travel in the target lane are marked with lane direction guide lines. For example, the rightmost straight lane may only have straight direction guide lines, but it can also be used for right turns. In this case, the rightmost straight lane can also be the target lane.
[0072] The target traffic data may also include obstruction categories, which indicate the traffic-controlled direction causing the obstruction of the target vehicle. In this scenario, the target traffic data includes the obstruction category and the corresponding traffic light information. For example, if a right turn is obstructed due to going straight, the target traffic data includes the traffic light information for the straight-ahead direction.
[0073] S204: The client responds to the target vehicle being blocked by displaying the target traffic light countdown information.
[0074] In this embodiment, after the client detects that the target vehicle is obstructed, it will display the target traffic light countdown information to the user, allowing the user to clearly understand the red light countdown information causing the obstruction. For example, the target traffic light countdown information can be displayed on the navigation page and / or announced via voice. The client can determine whether the target vehicle is obstructed based on its location and the navigation route. The client can obtain the target vehicle's location in real time using a Global Navigation Satellite System (GNSS), which may include the Global Positioning System (GPS), the BeiDou Navigation Satellite System, etc.
[0075] Determining whether the target vehicle is obstructed can be performed by either the client or the server.
[0076] 1. When executed by the client, it may include: determining whether the vehicle is in a blocked state based on the target vehicle's location and navigation route.
[0077] Specifically, the system determines the target vehicle's lane and speed based on its location; and determines whether the target vehicle is obstructed based on its lane location, speed, and navigation route. This can be implemented in the following ways:
[0078] One approach is to determine if the target vehicle is in an obstructed state if the lane it is currently traveling in is the target lane, the target vehicle's speed is less than a first preset speed threshold, and the navigation route indicates that the target vehicle is traveling in a direction not controlled by traffic lights. In other words, if the target vehicle is currently traveling in the target lane, its direction of travel is not controlled by traffic lights, and its speed is less than the first preset speed threshold, it indicates that the target vehicle will be blocked by a vehicle traveling in a direction controlled by traffic lights (due to a red light), thus determining that the target vehicle is in an obstructed state.
[0079] Another approach is to determine if the target vehicle is obstructed if it is currently in a lane other than the target lane, its speed is less than a second preset speed threshold, and the navigation route indicates that it is about to enter the target lane. In other words, if the target vehicle is not in the target lane but is traveling at a low speed and is about to enter the target lane based on the navigation route, it indicates that the target vehicle is about to be blocked by a vehicle in the target lane whose direction is controlled by the traffic light, thus determining that the target vehicle is obstructed.
[0080] The client can calculate vehicle speed based on GNSS data. Specifically, the client obtains the distance traveled over a period of time via GNSS, and then calculates the vehicle speed based on this distance and the statistical duration.
[0081] In determining vehicle speed, the target vehicle's position is based on two points in time (start and end). The distance traveled by the target vehicle is obtained from these two points, and the speed is then determined based on this distance and the corresponding travel time (the difference between the two points). In determining the target lane, the target vehicle's position is based on a specific point in time. This position can be the same as the starting or ending point used to determine the speed, or it can be any other point in time. If the position is at the lane level, the target vehicle's current lane can be determined based on that position and lane-level road network data. If the position is at the road level, the road where the target vehicle is located can be determined based on that position, and then the target vehicle's current lane on that road can be further determined based on images captured by the vision device on the target vehicle.
[0082] Another method is to determine the lane where the target vehicle is located based on its position. If the lane is the target lane, the direction of travel indicated by the navigation route is not controlled by traffic lights, and there are vehicles in the target lane in front of the target vehicle whose direction of travel is controlled by traffic lights, then the target vehicle is determined to be in a blocked state.
[0083] Specifically, "vehicles in the target lane whose direction of travel is controlled by traffic lights" refers to vehicles in the target lane that are in front of the target vehicle whose direction of travel is controlled by traffic lights, and the traffic light for that direction is in the target display state, indicating that the vehicle is prohibited from proceeding. In other words, if the target vehicle is traveling in the target lane in a direction not controlled by traffic lights, and if a vehicle in front of the target vehicle in the target lane is in a direction controlled by traffic lights and the traffic light for that direction is in the target display state, it indicates that the vehicle is obstructing the target vehicle's progress, and thus the target vehicle is determined to be in an obstructed state.
[0084] The target vehicle can obtain the driving information of the vehicle ahead from the server, or it can communicate with the vehicle ahead via vehicle-to-everything (V2X) wireless communication technology to obtain the driving information of the vehicle ahead. The driving information of the vehicle ahead may include its direction of travel. Specifically, the target vehicle and the vehicle ahead can communicate with each other via V2X technology, exchanging information such as their own position, speed, and direction.
[0085] Specifically, the server obtains the driving direction of the vehicle in front of the target vehicle and the display status of the traffic light corresponding to that driving direction, and determines whether the driving direction is a traffic light-controlled direction and whether the traffic light display status is the target display status. If the vehicle's driving direction is a traffic light-controlled direction and the traffic light display status is the target display status, a first notification message is sent to the target vehicle's client. This first notification message is used to notify the target vehicle that there is a vehicle in front of it whose driving direction is controlled by the traffic light. This vehicle and the target vehicle are located in the target lane.
[0086] Alternatively, a vehicle ahead of the target vehicle acquires its own driving information and sends a second notification message to the target vehicle. This second notification message informs the target vehicle of its driving information, which indicates that the target vehicle is subject to traffic light control. Specifically, the vehicle ahead can acquire its own position and driving direction, determine whether it is in the target lane based on its position, and determine whether its driving direction is subject to traffic light control. If it is in the target lane and its driving direction is subject to traffic light control, it determines the display status of the nearest intersection's traffic light. If the display status matches the target display status, it sends a second notification message to the target vehicle.
[0087] Among them, the vehicle in front can judge the display status of the traffic light at the nearest intersection in the following way: the vehicle in front requests the server to obtain traffic light information, and then determines the display status of the traffic light based on the obtained traffic light information and the current moment, and judges whether the current display status is the target display status. If so, it indicates that the vehicle itself is controlled by the traffic light and cannot move forward. Among them, the traffic light information may include the display duration corresponding to different display statuses and the display status of the traffic light at the target moment. The display status of the traffic light at the target moment may be the display status of the traffic light corresponding to the moment when the server issues the target passing data to the vehicle in front, or the display status of the traffic light at a preset moment. Specifically, after knowing the display status of the traffic light at a certain moment, the display duration corresponding to different display statuses, and the switching rules between different display statuses, the vehicle in front can determine the display status at the current moment through continuous iteration.
[0088] It should be noted that if the target moment is exactly the starting moment of a certain display status (i.e., the moment of display status change), the display status at the current moment can be directly determined through iteration based on the display status at the target moment, the display duration corresponding to different display statuses, and the switching rules between different display statuses.
[0089] Specifically, the display status at the current moment can be determined by the following formula: t2 = (t1 – t0) % T (1);
[0090] Among them, t1 represents the current moment, t0 represents the moment of signal light change, T represents the signal cycle, which is the sum of the display durations of each display status, % represents the remainder operation, ensuring that t2 is between 0 and T - 1. The signal cycle refers to a complete cycle of the traffic light, which can be the time length from the start of the green light to the start of the green light again. t2 is used to indicate the position of the current moment in the signal cycle, that is, to determine whether the current display is a green light, a yellow light, or a red light through the t2 value.
[0091] If 0 <= t2 < gt, the green light is displayed, where gt represents the green light display duration.
[0092] If gt <= t2 < gt + yt, the yellow light is displayed, where yt represents the yellow light display duration.
[0093] Otherwise, the red light is displayed.
[0094] If the target time is the middle of a certain display state, the traffic light information can also include the displayed duration or remaining display duration of that display state. Then, based on the display state at the target time, the displayed duration or remaining display duration of that display state, the display duration of different display states, and the switching rules between different display states, the display state at the current time is determined iteratively.
[0095] It should be noted that in this case, the time to change to the display state (the display state corresponding to the target time) can be determined first based on the target time and the displayed duration or the remaining display duration, i.e. the change time. Then, t2 can be calculated using the above formula (1), and the display state at the current time can be determined according to the value range of t2.
[0096] Alternatively, if the vehicle ahead is equipped with a vision device, it can also determine the traffic light's display status based on the captured image. Specifically, if the image captured by the vehicle ahead includes the traffic lights at the intersection ahead, it can determine whether the traffic light's display status matches the target display status based on that image. Specifically, image processing algorithms extract traffic light features from the image, such as color and position features, and then machine learning algorithms input the extracted features into a pre-trained model to determine the traffic light's display status.
[0097] 2. When the server determines whether the target vehicle is in a blocked state, the server sends a third notification message to the client after determining that the target vehicle is in a blocked state, so as to notify the client that the target vehicle is in a blocked state through the third notification message.
[0098] The process by which the server determines whether a target vehicle is obstructed may include: determining the lane and direction of travel of the target vehicle; if the target vehicle is in the target lane and its direction of travel is not controlled by traffic lights, obtaining the direction of travel of the vehicle in front of the target vehicle and the display status of the traffic light corresponding to that direction, wherein both the vehicle in front of the target vehicle and the target vehicle are traveling in the target lane; if the vehicle's direction of travel is controlled by traffic lights and the display status of the traffic light corresponding to that direction is the target display status, determining that the target vehicle is obstructed; and sending a third notification message to the client. This third notification message is used to notify the target vehicle that it is obstructed.
[0099] In some implementations, when it is determined that a target vehicle is obstructed, the direction controlled by traffic lights corresponding to the obstructed state is determined, and traffic light information corresponding to that direction is obtained from the target traffic data. Based on the traffic light information, the target traffic light countdown information corresponding to that direction is determined so as to display the target traffic light countdown information corresponding to that direction to the user. The target traffic data includes traffic light information corresponding to the direction controlled by traffic lights that caused the vehicle to be obstructed. Specifically, the target traffic data may include traffic light information corresponding to different directions controlled by traffic lights when the vehicle is obstructed. As mentioned above, the obstruction category indicates the direction controlled by traffic lights that caused the vehicle to be obstructed; therefore, the target traffic data includes at least one obstruction category and traffic light information corresponding to each obstruction category.
[0100] When the target lane includes a traffic-controlled direction, that direction is determined as the traffic-controlled direction that would cause the target vehicle to be obstructed.
[0101] When the target lane includes at least two traffic-light-controlled directions, the traffic light timing information for these different traffic-light-controlled directions may differ. In this scenario, the client can request the direction of travel of the first vehicle in the target lane from the server and determine that direction as the traffic-light-controlled direction that causes the target vehicle to be obstructed. For example, if the target lane allows travel in three directions, one direction is not traffic-light-controlled, and the other two directions are traffic-light-controlled (the timing information for these two directions is different), then when determining that a vehicle is obstructed, it is necessary to determine which traffic-light-controlled direction the vehicle is blocking (i.e., determine the obstruction category) in order to display the traffic light countdown information for that traffic-light-controlled direction to the user.
[0102] Before displaying the target traffic light countdown information, the client determines the target traffic light countdown information based on the target traffic data. Specifically, based on the target vehicle's location, it identifies the traffic light information that is causing the target vehicle's obstruction from the target traffic data. Based on this traffic light information and the current time, it determines the target traffic light countdown information. The current display state of the traffic light causes the target vehicle to be obstructed. The traffic light information includes display durations for different display states, such as red light duration and green light duration, and may also include the traffic light's display state at the target time. The current traffic light display state is the target display state.
[0103] Specifically, the client will determine the countdown information corresponding to the target display state, i.e. the target traffic light countdown information, based on the current time, the target time, the display status of the traffic light, and the display duration corresponding to different display states.
[0104] If the target time happens to be the start time of a certain display state, the countdown information of the target display state can be determined iteratively based on the display state at the target time, the display duration corresponding to different display states, and the switching rules between different display states.
[0105] If the target time is the middle of a certain display state, the traffic light information can also include the displayed duration or remaining display duration of that display state. Based on the display state at the target time, the displayed duration or remaining display duration of that display state, the display duration of different display states, and the switching rules between different display states, the countdown information of the target display state is determined iteratively.
[0106] Specifically, t2 can be calculated using formula (1), and then the remaining display duration can be determined based on t2 and the following formula:
[0107] If the current light is green:
[0108] RT = gt - t2, where RT indicates the remaining duration of the green light;
[0109] If the current light is yellow:
[0110] RT = yt - (t2 - gt), where RT indicates the remaining time of the yellow light;
[0111] If the current display is red:
[0112] RT = rt - (t2 - (gt + yt)), where rt indicates the duration of the red light display and RT indicates the remaining duration of the red light.
[0113] Since the countdown information of the target traffic light displayed in this embodiment is the countdown information under a specific display state, the remaining time corresponding to that specific display state can be determined using the corresponding calculation formula.
[0114] For example, the signal cycle is 120 seconds, the green light lasts for 60 seconds, the yellow light lasts for 5 seconds, and the red light lasts for 55 seconds. The time difference between the current time and the target time is 90 seconds, so t2 = 90. Using formula (1), we can determine that the traffic light is currently red, which is the target display state. Based on the formula for calculating the remaining red light time, we determine RT = 30 seconds.
[0115] Specifically, to distinguish between controlled and obstructed scenarios, traffic light countdown information in obstructed scenarios can be displayed using icons of preset shapes. The preset icons differ in shape from those in controlled scenarios; for example, the icon in a controlled scenario is an arrow, while the icon in an obstructed scenario is a cylinder.
[0116] It is evident that when a vehicle is obstructed, it can provide the obstructed user with a matching countdown timer, allowing the user to clearly understand the countdown timer for the traffic light controlling the direction that is blocking their vehicle's progress, thus improving the user experience.
[0117] Referring to Figure 4, which is a flowchart of a traffic information processing method provided in an embodiment of this disclosure, as shown in Figure 4, the method is applied to a client installed on the target vehicle, or installed on a mobile device on the target vehicle, and includes:
[0118] S401: Send a data request to the server.
[0119] The data request is at least used to request traffic data for the target vehicle in an obstructed scenario, including traffic light information. An obstructed scenario refers to a situation where the vehicle is not controlled by traffic lights when passing through the target lane according to the navigation route, and the target lane includes at least one direction controlled by traffic lights. The data request may include information such as the target vehicle's location and user identifier.
[0120] In this embodiment, the specific implementation of the client sending a data request to the server can be found in the relevant description in S201 of the above method embodiment.
[0121] S402: Receive target passage data sent by the server.
[0122] In this embodiment, after receiving a data request from the client, the server can obtain the traffic light traffic data matching the location of the target vehicle in the data request, and send this traffic data to the client as the target traffic data. Specifically, the target traffic data can be the traffic light traffic data at intersections within a preset distance or a preset number of intersections from the target vehicle. The target traffic data includes traffic light information corresponding to the obstructed scenario for the target vehicle.
[0123] For details on the specific implementation of the server obtaining target access data based on data requests, please refer to the relevant description in S202 of the above method embodiment.
[0124] S403: In response to the target vehicle being obstructed, display the target traffic light countdown information.
[0125] In this embodiment, the client can determine whether the target vehicle is in a blocked state, or the server can determine whether the target vehicle is in a blocked state, and then determine whether the target vehicle is in a blocked state based on the third notification message sent by the server.
[0126] The client determines whether the target vehicle is blocked based on its location and navigation route. Specifically, this can be implemented in the following ways:
[0127] One method is to determine the lane and speed of the target vehicle based on its location; if the lane is the target lane, the direction indicated by the navigation route is not controlled by traffic lights, and the speed of the target vehicle is less than a first preset speed threshold, the target vehicle is determined to be in an obstructed state.
[0128] Another approach is to determine that the target vehicle is in a blocked state if the lane is not the target lane, the target vehicle's speed is less than the second preset speed threshold, and the navigation route indicates that the target vehicle is about to enter the target lane.
[0129] Another method is to determine the lane where the target vehicle is located based on its position. If the lane is the target lane, the direction of travel indicated by the navigation route is not controlled by traffic lights, and there are vehicles in the target lane in front of the target vehicle whose direction of travel is controlled by traffic lights, then the target vehicle is determined to be in a blocked state.
[0130] Before determining that the target vehicle is obstructed, the method further includes: receiving a first notification message sent by a server, the first notification message being used to notify the target vehicle that there is a vehicle ahead whose travel direction is controlled by a traffic light; and / or receiving a second notification message sent by a vehicle ahead of the target vehicle, the second notification message being used to notify the vehicle of its travel information, the travel information indicating that the vehicle is controlled by a traffic light.
[0131] If the server determines whether the target vehicle is in a blocked state, when the server determines that the target vehicle is in a blocked state, it sends a third notification message to the target vehicle's client. This third notification message is used to notify the target vehicle that it is in a blocked state.
[0132] For a detailed description of each of the above implementation methods, please refer to the relevant descriptions in the above embodiments.
[0133] In some implementations, in response to a target vehicle being obstructed, the client displays target traffic light countdown information, including: determining the direction controlled by the traffic light that caused the target vehicle to be obstructed; obtaining traffic light information corresponding to the direction controlled by the traffic light from target traffic data; determining target traffic light countdown information corresponding to the direction controlled by the traffic light based on the traffic light information; and displaying the target traffic light countdown information. The target traffic data includes traffic light information corresponding to the direction controlled by the traffic light that caused the vehicle to be obstructed.
[0134] The target traffic light countdown information is determined based on target traffic data. This determination process includes: identifying the traffic light information that causes the target vehicle to be obstructed from the target traffic data based on the target vehicle's position; and determining the target traffic light countdown information based on the traffic light information and the current time. The traffic light information includes the display duration corresponding to different display states and the display state of the traffic light at the target time. For a detailed description of the specific implementation of determining the target traffic light countdown information, please refer to the relevant description in the method embodiment shown in Figure 2 above.
[0135] Referring to Figure 5, which is a flowchart of another traffic information processing method provided in this embodiment of the present disclosure, as shown in Figure 5, this method is applied to a server, which is used to provide navigation-related services to the aforementioned client, including:
[0136] S501: Receive a data request from the client, which is at least used to request the target vehicle's passage data in the obstructed scenario.
[0137] The traffic data includes traffic light information. The obstruction scenario refers to a situation where a vehicle is not controlled by traffic lights when it passes through the target lane according to the navigation route, and the direction of travel in the target lane also includes at least one direction controlled by traffic lights.
[0138] S502: Determine the target passage data based on the data request.
[0139] The target traffic data includes traffic light information corresponding to the target vehicle in the obstructed scenario, and the traffic light information includes the timing information of the traffic light.
[0140] Among them, determining the target traffic data according to the data request includes: based on the location of the target vehicle in the data request, obtaining the traffic data of traffic lights at intersections within a preset distance or a preset number of intersections from that location as the target traffic data.
[0141] For a detailed description of the implementation of S502, please refer to the relevant description of S202 in the above method embodiment.
[0142] S503: Send target passage data to the client.
[0143] After obtaining the target traffic data, the server sends the target traffic data to the client so that when the target vehicle is blocked, the client can display the target traffic light countdown information to the user.
[0144] In some implementations, the server can obtain the driving direction of the vehicle in front of the target vehicle and the display status of the traffic light corresponding to that driving direction; if the driving direction of the vehicle is a direction controlled by the traffic light and the display status of the traffic light corresponding to that direction is the target display status, the server sends a first notification message to the client, which is used to notify the target vehicle that there is a vehicle in front of the target vehicle whose driving direction is controlled by the traffic light.
[0145] Additionally, the server can determine whether the target vehicle is obstructed. Specifically, it determines the lane and direction of travel of the target vehicle. If the lane is the target lane and the direction of travel is not controlled by traffic lights, it obtains the direction of travel of the vehicles in front of the target vehicle and the display status of the traffic lights corresponding to that direction, wherein both the target vehicle and the vehicles are traveling in the target lane. If the vehicle's direction of travel is controlled by traffic lights and the display status of the traffic light corresponding to that direction is the target display status, it determines that the target vehicle is obstructed. A third notification message is then sent to the client to notify that the target vehicle is obstructed. The target display status indicates that vehicles in front of the target vehicle are prohibited from passing.
[0146] Figure 6 is a schematic diagram of a traffic information processing device provided in an embodiment of this disclosure. The device 600 is applied to a client and includes: a sending unit 601, a receiving unit 602, and a processing unit 603.
[0147] Sending unit 601 is used to send a data request to the server, wherein the data request is at least used to request the passage data of the target vehicle in the obstruction scenario, the passage data includes traffic light information, the obstruction scenario refers to the vehicle passing through the target lane according to the navigation route without being controlled by traffic lights, and the travel direction of the target lane also includes at least one direction controlled by traffic lights.
[0148] The receiving unit 602 is used to receive the target passage data sent by the server;
[0149] The processing unit 603 is configured to display target traffic light countdown information in response to the target vehicle being obstructed, wherein the target traffic light countdown information is determined based on the target traffic data.
[0150] In some embodiments, the processing unit 603 is specifically used to determine whether the target vehicle is in a blocked state based on the location of the target vehicle and the navigation route of the target vehicle; if the target vehicle is in a blocked state, then display the target traffic light countdown information.
[0151] In some embodiments, the processing unit 603 is specifically configured to determine the lane and speed of the target vehicle based on its location; if the lane is the target lane, the direction indicated by the navigation route is not controlled by traffic lights, and the speed of the target vehicle is less than a first preset speed threshold, then the target vehicle is determined to be in a blocked state; and / or, if the lane is not the target lane, the speed of the target vehicle is less than a second preset speed threshold, and the navigation route indicates that the target vehicle is about to enter the target lane, then the target vehicle is determined to be in a blocked state.
[0152] In some embodiments, the processing unit 603 is specifically used to determine the lane where the target vehicle is located based on the position of the target vehicle; if the lane is the target lane, the driving direction indicated by the navigation route is not controlled by traffic lights, and there is a vehicle in the target lane in front of the target vehicle whose driving direction is controlled by traffic lights, then it is determined that the target vehicle is in an obstructed state.
[0153] In some embodiments, the receiving unit 602 is further configured to receive a first notification message sent by the server before determining that the target vehicle is in an obstructed state, the first notification message being used to notify the target vehicle that there is a vehicle whose driving direction is controlled by traffic lights ahead; and / or to receive a second notification message sent by a vehicle located ahead of the target vehicle, the second notification message being used to notify the vehicle of its driving information, the driving information being used to indicate that the vehicle is controlled by traffic lights.
[0154] In some embodiments, the processing unit 603 is specifically configured to receive a third notification message sent by the server, the third notification message being used to notify the target vehicle that it is in a blocked state; and in response to receiving the third notification message, to display the target traffic light countdown information.
[0155] In some embodiments, the processing unit 603 is specifically configured to, in response to the target vehicle being in an obstructed state, determine the traffic light-controlled direction corresponding to the obstructed state; obtain traffic light information corresponding to the traffic light-controlled direction from the target traffic data, the target traffic data including traffic light information corresponding to the traffic light-controlled direction causing the vehicle to be in an obstructed state; determine target traffic light countdown information corresponding to the traffic light-controlled direction based on the traffic light information; and display the target traffic light countdown information.
[0156] In some embodiments, the processing unit 603 is specifically used to determine, based on the location of the target vehicle, traffic light information from the target traffic data that causes the target vehicle to be in a blocked state; and to determine target traffic light countdown information based on the traffic light information and the current time, wherein the traffic light information includes the display duration corresponding to different display states and the display state of the traffic light at the target time.
[0157] Figure 7 is a schematic diagram of another traffic information processing device provided in an embodiment of this disclosure. The device 700 is applied to the server and includes: a receiving unit 701, a processing unit 702 and a sending unit 703.
[0158] The receiving unit 701 is used to receive a data request sent by the client. The data request is at least used to request the passage data of the target vehicle in the obstruction scenario. The passage data includes traffic light information. The obstruction scenario refers to the situation where the vehicle passes through the target lane according to the navigation route without being controlled by traffic lights. The travel direction of the target lane also includes at least one direction controlled by traffic lights.
[0159] Processing unit 702 is configured to determine target traffic data based on the data request, wherein the target traffic data includes traffic light information corresponding to the obstruction scenario of the target vehicle;
[0160] The sending unit 703 is used to send the target traffic data to the client so that when the target vehicle is blocked, the client displays the target traffic light countdown information.
[0161] In some embodiments, the processing unit 702 is specifically used to obtain traffic light data of intersections within a preset distance or a preset number of intersections from the location of the target vehicle in the data request as target traffic data.
[0162] In some embodiments, the processing unit 702 is further configured to acquire the driving direction of a vehicle located in front of the target vehicle and the display status of the traffic light corresponding to the driving direction, wherein both the target vehicle and the vehicle are traveling in the target lane.
[0163] The sending unit 703 is further configured to send a first notification message to the client if the vehicle's driving direction is a direction controlled by traffic lights and the display state of the traffic light corresponding to the direction is a target display state. The first notification message is used to notify the target vehicle that there is a vehicle whose driving direction is controlled by traffic lights ahead.
[0164] In some embodiments, the processing unit 702 is further configured to determine the lane and direction of travel of the target vehicle, as well as the display status of the traffic light corresponding to the direction of travel; if the lane is the target lane and the direction of travel is not controlled by traffic lights and the display status of the traffic light corresponding to the direction is the target display status, the processing unit 702 is configured to obtain the direction of travel of the vehicle in front of the target vehicle, wherein both the target vehicle and the vehicle are traveling in the target lane; if the direction of travel of the vehicle is controlled by traffic lights and the display status of the traffic light corresponding to the direction is the target display status, the processing unit 702 is configured to determine that the target vehicle is in an obstructed state, wherein the target display status is used to indicate that the vehicle is prohibited from passing.
[0165] The sending unit 703 is further configured to send a third notification message to the client, the third notification message being used to notify the target vehicle that it is in a blocked state.
[0166] It should be noted that the specific implementation of each unit in this embodiment can be found in the relevant descriptions in the above method embodiments. The division of units in this embodiment is illustrative and only represents a logical functional division; in actual implementation, there may be other division methods. The functional units in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. For example, in the above embodiments, the processing unit and the sending unit can be the same unit or different units. The integrated unit can be implemented in hardware or as a software functional unit.
[0167] Based on the traffic information processing method provided in the above embodiments, this disclosure also provides a traffic information processing system, which includes a client and a server. The client can implement the functions related to S201, S204, and S401-S403 in the above embodiments, and the server can implement the functions related to S202, S203, and S501-S503 in the above embodiments.
[0168] Based on the traffic information processing method provided in the above method embodiments, this disclosure also provides an electronic device, including: one or more processors; a memory storing one or more programs thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.
[0169] Based on the traffic information processing method provided in the above-described embodiments, this disclosure provides a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the above embodiments.
[0170] It should be noted that the computer-readable medium described above in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, capable of transmitting, propagating, or transmitting a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (Radio Frequency), etc., or any suitable combination thereof.
[0171] Based on the traffic information processing method provided in the above method embodiments, this disclosure provides a program product that, when run on a computer, enables the computer to implement the method described in any of the above embodiments.
[0172] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0173] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The names of the units / modules do not necessarily limit the unit itself; for example, a voice data acquisition module can also be described as a "data acquisition module".
[0174] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems or apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.
[0175] It should be understood that in this disclosure, "at least one item" means one or more, and "more than one" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0176] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0177] The above description of the disclosed embodiments enables those skilled in the art to make or use this disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A traffic information processing method, wherein, The method is applied to the client and includes: Send a data request to the server, wherein the data request is at least used to request the traffic data of the target vehicle in the obstructed scenario, the traffic data includes traffic light information, the obstructed scenario refers to the vehicle passing through the target lane according to the navigation route without being controlled by traffic lights, and the travel direction of the target lane also includes at least one direction controlled by traffic lights. Receive the target passage data sent by the server; In response to the target vehicle being obstructed, a countdown timer for the target traffic light is displayed, wherein the countdown timer is determined based on the target traffic data.
2. The method according to claim 1, wherein, The response to the target vehicle being obstructed, displaying the target traffic light countdown information, includes: Determine whether the target vehicle is in a blocked state based on its location and navigation route; If the target vehicle is obstructed, the target traffic light countdown information will be displayed.
3. The method according to claim 2, wherein, Determining whether the target vehicle is obstructed based on its location and navigation route includes: The lane and speed of the target vehicle are determined based on its location. If the lane is the target lane, the direction indicated by the navigation route is not controlled by traffic lights, and the target vehicle's speed is less than a first preset speed threshold, then the target vehicle is determined to be in an obstructed state; and / or If the lane is not the target lane, the target vehicle's speed is less than a second preset speed threshold, and the navigation route indicates that the target vehicle is about to enter the target lane, the target vehicle is determined to be in an obstructed state.
4. The method according to claim 2, wherein, Determining whether the target vehicle is obstructed based on its location and navigation route includes: The lane where the target vehicle is located is determined based on the position of the target vehicle; If the lane is the target lane, the direction of travel indicated by the navigation route is not controlled by traffic lights, and there is a vehicle in the target lane in front of the target vehicle whose direction of travel is controlled by traffic lights, then the target vehicle is determined to be in an obstructed state.
5. The method according to claim 4, wherein, Before determining that the target vehicle is in an obstructed state, the method further includes: Receive a first notification message sent by the server, the first notification message being used to notify the target vehicle that there are vehicles ahead whose travel direction is controlled by traffic lights; and / or, The system receives a second notification message from a vehicle located in front of the target vehicle. The second notification message is used to notify the vehicle of its driving information, which indicates that the vehicle is controlled by traffic lights.
6. The method according to claim 1, wherein, The response to the target vehicle being obstructed, displaying the target traffic light countdown information, includes: Receive a third notification message sent by the server, the third notification message being used to notify the target vehicle that it is in a blocked state; In response to receiving the third notification message, the target traffic light countdown information is displayed.
7. The method according to claim 1, wherein, The response to the target vehicle being obstructed, displaying the target traffic light countdown information, includes: In response to the target vehicle being obstructed, determine the traffic light-controlled direction that causes the target vehicle to be obstructed. Obtain traffic light information corresponding to the direction controlled by traffic lights from the target traffic data, wherein the target traffic data includes traffic light information corresponding to the direction controlled by traffic lights that causes the vehicle to be in a state of obstruction; Based on the traffic light information, determine the target traffic light countdown information corresponding to the direction controlled by the traffic light; Display the countdown information for the target traffic light.
8. The method according to any one of claims 1-7, wherein, The process of determining the target traffic light countdown information based on the target traffic data includes: Based on the location of the target vehicle, traffic light information that causes the target vehicle to be obstructed is determined from the target traffic data. Based on the traffic light information and the countdown information of the target traffic light at the current time, the traffic light information includes the display duration corresponding to different display states and the display state of the traffic light at the target time.
9. A traffic information processing method, wherein, The method is applied to the server side and includes: The system receives a data request sent by a client. The data request is at least used to request the passage data of the target vehicle in an obstructed scenario. The passage data includes traffic light information. The obstructed scenario refers to a situation where the vehicle is not controlled by traffic lights when passing through the target lane according to the navigation route. The travel direction of the target lane also includes at least one direction controlled by traffic lights. The target traffic data is determined based on the data request, and the target traffic data includes traffic light information corresponding to the obstruction scenario of the target vehicle; The target traffic data is sent to the client so that when the target vehicle is obstructed, the client displays the target traffic light countdown information.
10. The method according to claim 9, wherein, Determining the target passage data based on the data request includes: Based on the location of the target vehicle in the data request, traffic light data at intersections within a preset distance or a preset number of intersections from the location are obtained as target traffic data.
11. The method according to claim 9 or 10, wherein, The method further includes: The vehicle in front of the target vehicle is obtained as to its driving direction and the display status of the traffic light corresponding to the driving direction, wherein both the target vehicle and the vehicle are traveling in the target lane. If the vehicle's travel direction is controlled by traffic lights and the traffic lights are displayed as a target, a first notification message is sent to the client. The first notification message is used to notify the target vehicle that there is a vehicle ahead whose travel direction is controlled by traffic lights, and the target display status is used to indicate that the vehicle is prohibited from passing.
12. The method according to any one of claims 9-11, wherein, The method further includes: Determine the lane and direction of travel of the target vehicle; If the lane is the target lane and the driving direction is not controlled by traffic lights, obtain the driving direction of the vehicle in front of the target vehicle and the display status of the traffic light corresponding to the driving direction, wherein the target vehicle and the vehicle are both driving in the target lane; If the vehicle's travel direction is controlled by traffic lights and the traffic light corresponding to that direction is in the target display state, it is determined that the target vehicle is in an obstructed state, and the target display state is used to indicate that the vehicle is prohibited from passing. A third notification message is sent to the client, the third notification message being used to notify the target vehicle that it is in a blocked state.
13. A traffic information processing method, wherein, The method includes: The client sends a data request to the server. The data request is at least used to request the traffic data of the target vehicle in the obstructed scenario. The traffic data includes traffic light information. The obstructed scenario refers to the situation where the vehicle is not controlled by traffic lights when passing through the target lane according to the navigation route. The travel direction of the target lane also includes at least one direction controlled by traffic lights. The server determines the target traffic data based on the data request and sends the target traffic data to the client. The target traffic data includes the traffic light information corresponding to the target vehicle in the obstruction scenario. In response to the target vehicle being obstructed, the client displays a countdown timer for the target traffic light, wherein the countdown timer is determined based on traffic light information in the target traffic data.
14. A traffic information processing device, wherein, The device is applied to a client and includes: A sending unit is used to send a data request to the server, wherein the data request is at least used to request the passage data of the target vehicle in the obstruction scenario, the passage data includes traffic light information, the obstruction scenario refers to the situation where the vehicle passes through the target lane according to the navigation route without being controlled by traffic lights, and the travel direction of the target lane also includes at least one direction controlled by traffic lights. The receiving unit is used to receive the target passage data sent by the server; The processing unit is configured to display target traffic light countdown information in response to the target vehicle being obstructed, wherein the target traffic light countdown information is determined based on the target traffic data.
15. A traffic information processing device, wherein, The device is used on the server side and includes: The receiving unit is used to receive a data request sent by the client. The data request is at least used to request the passage data of the target vehicle in the obstruction scenario. The passage data includes traffic light information. The obstruction scenario refers to the situation where the vehicle passes through the target lane according to the navigation route without being controlled by traffic lights, and the travel direction of the target lane also includes at least one direction controlled by traffic lights. The processing unit is configured to determine target traffic data based on the data request, wherein the target traffic data includes traffic light information corresponding to the obstruction scenario of the target vehicle; The sending unit is used to send the target traffic data to the client so that when the target vehicle is blocked, the client displays the target traffic light countdown information.
16. A traffic information processing system, wherein, The system includes: A client, configured to perform the method according to any one of claims 1-8; A server-side component for executing the method described in any one of claims 9-12.
17. An electronic device, wherein, include: One or more processors; A memory, on which one or more programs are stored. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-13.
18. A computer-readable storage medium, wherein, It stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1-13.
19. A computer program product, wherein, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1-13.
Citation Information
Patent Citations
Intelligent traffic light display method based on navigation
CN109887319A
Traffic information processing method and device and electronic equipment
CN118781807A
Intelligent traffic signal lamp
CN208110843U
Signal control system, signal control method, signal control device, and signal control program
JP2023151714A
Navigation apparatus for providing traffic signal data and method for providing traffic signal data using the same
KR1020090018385A