Traffic light information display method, electronic equipment and computer readable storage medium

By obtaining the actual status of the traffic light and generating the preparatory countdown duration, and using AR-HUD to display the traffic light information map, the problem of driver distraction and the risk of running a red light is solved, providing a safer driving environment.

CN118629241APending Publication Date: 2024-09-10SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310194481.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In the existing technology, the display of traffic light information on the navigation interface easily distracts the driver's attention, especially for novice drivers or drivers who have not driven for a long time. It is difficult to quickly adapt to the new traffic lights, resulting in an increased risk of running a red light.

Method used

By obtaining the actual status of the traffic light in front of the current vehicle, including display color and countdown duration, and generating a preliminary countdown duration based on this information, AR-HUD is used to display the traffic light information map to ensure that the driver can grasp the road condition information in a head-up state and provide safety buffer time.

Benefits of technology

It effectively prevents drivers from frequently looking down at the navigation interface and ignoring the road conditions ahead, and reduces the risk of running red lights, especially for novice drivers or drivers who have not driven for a long time, helping them to more accurately grasp the traffic lights of new traffic lights. Switch timing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629241A
    Figure CN118629241A
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of vehicles, in particular to a traffic light information display method, electronic equipment and a computer readable storage medium. The traffic light information display method comprises the following steps: in response to determining that a traffic light exists in a preset distance of a real-time position of a current vehicle and the current vehicle approaches the traffic light, obtaining an actual state of at least one traffic light, the at least one traffic light comprising a traffic light corresponding to the current vehicle, and the traffic light corresponding to the current vehicle being a traffic light corresponding to the current vehicle; the actual state comprises a display color and actual countdown duration; determining a preliminary countdown duration according to the display color, the actual countdown duration and a preset buffer duration; and generating and controlling the AR-HUD of the current vehicle to display a traffic light information graph at least according to the display color and the preparatory countdown duration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of vehicle technology, and in particular, to a traffic light information display method, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the improvement of living standards, more and more families have cars. Traffic lights are important equipment for maintaining traffic order, and traffic lights are usually installed at road intersections. In order to prevent traffic lights from being blocked by vehicles in front and unable to be seen, the relevant technology displays the information of traffic lights on the navigation interface. Although this method reduces the probability of running red lights to a certain extent, frequently looking down at the navigation interface can easily cause the driver to ignore the road conditions in front of the car, especially for novice drivers or drivers who have not driven for a long time. The attention is easily distracted and then scratched or collided with the vehicle in front.

[0003] In addition, in order to ease traffic pressure and maintain traffic order more reasonably, some intersections are equipped with new traffic lights, especially crossroads with more lanes. However, the new traffic lights do not display the countdown time. Novice drivers or some drivers who have not driven for a long time may not be able to adapt to the new traffic lights quickly and are prone to running red lights.

[0004] Application Contents

[0005] The traffic light information display method, electronic device and computer-readable storage medium provided in the embodiments of the present application can solve or partially solve the above-mentioned deficiencies in the prior art or other deficiencies in the prior art.

[0006] The traffic light information display method provided according to the first aspect of the present application may include:

[0007] In response to determining that there is a traffic light within a predetermined distance of the real-time position of the current vehicle and the current vehicle is approaching the traffic light, obtaining an actual state of at least one of the traffic lights, wherein the at least one traffic light includes a traffic light corresponding to the current vehicle, and the actual state includes a display color and an actual countdown duration;

[0008] Determining a preliminary countdown duration according to the display color, the actual countdown duration, and a preset buffer duration; and

[0009] Generate and control the AR-HUD display traffic light information diagram of the current vehicle at least according to the display color and the preparation countdown duration.

[0010] The electronic device provided according to the second aspect of the present application may include:

[0011] at least one processor; and

[0012] A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the traffic light information display method described in the first aspect of the present application.

[0013] The computer-readable storage medium provided according to the third aspect of the present application stores a computer program, and when the computer program is executed by a processor, the traffic light information display method described in the first aspect of the present application is implemented.

[0014] According to the traffic light information display method provided in the embodiment of the present application, by determining the preparatory countdown time according to the display color of the traffic light, the actual countdown time and the preset buffer time, and generating and controlling the current vehicle's AR-HUD display traffic light information map at least according to the display color and the preparatory countdown time, it can not only ensure that the driver can grasp the road condition information ahead through the traffic light information map when driving normally, such as the display color of the traffic light ahead and the preparatory countdown time, thereby avoiding the driver's distraction due to frequent head-down and ignoring the road condition ahead, but also enable novice drivers or drivers who have not driven for a long time to grasp the switching time of the red light and green light of the new traffic light with the help of the preparatory countdown time, thereby reducing the risk of running a red light. In addition, since the preparatory countdown time in the embodiment of the present application is determined according to the display color of the traffic light, the actual countdown time and the preset buffer time, compared with the actual countdown time, the preparatory countdown time takes into account the influence of the display color of the traffic light and the preset buffer time, and reserves a safe buffer time for the driver, which can further reduce the risk of the driver running a red light due to self-judgment errors.

[0015] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Other features, purposes and advantages of the present application will become more apparent by reading the detailed description of the non-limiting embodiments made with reference to the following drawings. The drawings are used to better understand the present solution and do not constitute a limitation of the present application, wherein:

[0017] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0018] Figure 2 is a flow chart of a method for displaying traffic light information according to an embodiment of the present application;

[0019] Figure 3is a schematic diagram of a traffic light information diagram according to an embodiment of the present application;

[0020] Figure 4 and Figure 5 is a schematic diagram of another traffic light information diagram according to an embodiment of the present application;

[0021] Figure 6 It is a block diagram of an electronic device used to implement the traffic light information display method of the embodiment of the present application.

[0022] Reference numerals:

[0023] 100, system architecture; 110, traffic lights; 120, vehicle terminal; 130, server;

[0024] 140, network; 150, broadcast; 160, current vehicle; 170, current lane;

[0025] 171, first area; 172, second area; 180, parallel vehicles;

[0026] 190, parallel lanes; 200, electronic equipment; 201, computing unit;

[0027] 202, memory (ROM); 203, memory (RAM); 204, bus;

[0028] 205, I / O interface; 206, input unit; 207, output unit; 208, storage unit;

[0029] 209. Communication unit. DETAILED DESCRIPTION

[0030] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0031] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0032] In daily life, when a driver arrives at an intersection, if the traffic light in front of the vehicle is green, the driver can drive normally. If the traffic light in front of the vehicle is red, the driver needs to stop and wait until the red light countdown ends and turns green before the vehicle can start to drive. In order to avoid the traffic light being blocked by the vehicle in front and unable to be seen, some high-end vehicles will display the traffic light information on the navigation interface. However, it is very easy for the driver to be distracted by frequently looking down at the navigation interface, which may cause scratches or collisions with the vehicle in front. In addition, the new traffic light does not have a countdown device, does not display the countdown time, and only flashes a few times when the traffic light switches. This makes it difficult for novice drivers or some drivers who have not driven for a long time to grasp the timing of the traffic light change, and it is easy to run a red light by mistake.

[0033] Based on this, an embodiment of the present application provides a method for displaying traffic light information. Figure 1 An exemplary system architecture to which the traffic light information display method of the present application can be applied is shown.

[0034] like Figure 1 As shown, the system architecture 100 may include a traffic light 110, a vehicle terminal 120, a server 130 of the traffic system, a network 140, and a broadcast 150. The network 140 is a medium for providing a communication link between the vehicle terminal 120 and the server 130, and the broadcast 150 is a medium for providing a communication link between the traffic light 110 and the vehicle terminal 120. Among them, the network 140 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. It should be understood that the number of traffic lights 110, vehicle terminals 120, servers 130, networks 140, and broadcasts 150 in the figure is only schematic. According to the implementation requirements, there may be any number of traffic lights 110, vehicle terminals 120, servers 130, networks 140, and broadcasts 150.

[0035] It should be noted that the server 130 can be a cloud server of the transportation system or a local server of the transportation system. The server 130 can be hardware or software. When the above-mentioned server 130 is hardware, it can be implemented as a distributed server cluster composed of multiple servers 130, or it can be implemented as a single server 130. When the above-mentioned server 130 is software, it can be implemented as multiple software or software modules (for example, used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0036] The traffic light information display method provided in the embodiments of the present application is generally executed by a processor of the vehicle terminal 120 of the current vehicle. Figure 2 A flow chart showing an embodiment of a method for displaying traffic light information according to the present application is shown. Figure 3FIG. 1 is a schematic diagram showing an embodiment of a traffic light information diagram according to the present application. Figure 2 and Figure 3 As shown, the traffic light information display method 1000 includes the following steps:

[0037] S100, in response to determining that there is a traffic light 110 within a predetermined distance of the real-time position of the current vehicle 160 and the current vehicle 160 is approaching the traffic light 110, obtaining an actual state of at least one traffic light 110, wherein the at least one traffic light 110 includes a traffic light 110 corresponding to the current vehicle 160, and the actual state includes a display color and an actual countdown duration;

[0038] S200, determining the preliminary countdown duration according to the display color, the actual countdown duration and the preset buffer duration;

[0039] S300: Generate and control an AR-HUD (Augmented Reality-Head Up Display) of the current vehicle 160 to display a traffic light information diagram at least according to the display color and the preparation countdown duration.

[0040] If there is a traffic light 110 within a predetermined distance in front of the current vehicle 160, the processor of the current vehicle 160 can obtain at least the display color and actual countdown duration of the traffic light 110 directly in front of the current vehicle 160 through the broadcast signal emitted by the traffic light 110 or the cloud server of the traffic system and other channels. Therefore, the processor of the current vehicle 160 can determine the preliminary countdown duration according to the preset buffer duration and the obtained display color and actual countdown duration of the traffic light 110. The preset buffer duration can be a factory setting parameter of the current vehicle 160, or it can be a parameter preset by the user according to his or her own driving skills through voice, clicking the corresponding button on the vehicle display screen, or pressing the corresponding button on the steering wheel. Figure 3 As shown, on this basis, the processor of the current vehicle 160 can generate a traffic light information map at least according to the display color and the preparatory countdown time, and control the AR-HUD of the current vehicle 160 to project the traffic light information map onto the windshield of the current vehicle 160. As a result, during driving, the driver can at least grasp the display color and preparatory countdown time of the traffic light 110 ahead through the traffic light information map without lowering his head or looking straight ahead normally. Since the preparatory countdown time is determined based on the display color, the actual countdown time and the preset buffer time, compared with the actual countdown time, the preparatory countdown time takes into account the influence of the display color and the preset buffer time of the traffic light 110, and reserves a safe buffer time for the driver, which can further reduce the risk of the driver running a red light due to self-judgment errors.

[0041] As can be seen from the above, the implementation mode of the present application determines the preparatory countdown duration according to the display color of the traffic light 110, the actual countdown duration and the preset buffer duration, and generates and controls the AR-HUD display traffic light information map of the current vehicle 160 at least according to the display color and the preparatory countdown duration. This can not only ensure that the driver can grasp the road condition information ahead through the traffic light information map while driving normally, such as the display color and the preparatory countdown duration of the traffic light 110 ahead, thereby avoiding the situation where the driver is distracted by frequently lowering his head and then ignoring the road condition ahead, but also enable novice drivers or drivers who have not driven for a long time to grasp the switching timing of the red and green lights of the new traffic lights with the help of the preparatory countdown duration, thereby reducing the risk of running a red light. In addition, since the preparatory countdown duration in the implementation manner of the present application is determined based on the display color, the actual countdown duration and the preset buffer duration, compared with the actual countdown duration, the preparatory countdown duration takes into account the influence of the display color of the traffic light 110 and the preset buffer duration, and reserves a safe buffer time for the driver, which can further reduce the risk of the driver running a red light due to self-judgment error.

[0042] The following is a detailed introduction to each step of the method for displaying traffic light information in the implementation manner of the present application.

[0043] Step S100

[0044] In step S100, in response to determining that a traffic light 110 exists within a predetermined distance of the real-time position of the current vehicle 160 and the current vehicle 160 is approaching the traffic light 110, the actual state of at least one traffic light 110 is obtained. The predetermined distance may be a system default value such as 50m, 80m, 100m or 150m, etc., or a user-defined value, and the user may set the size of the predetermined distance according to his or her own driving skills. If the driving skills are proficient, a relatively small predetermined distance may be set; if the driving skills are unfamiliar, a relatively large predetermined distance may be set, so that the driver can grasp the display color and the preparation countdown time of the traffic light 110 as soon as possible through the traffic light information diagram, and ensure that the driver has enough reaction time.

[0045] In some embodiments, step S100 may include: obtaining the real-time position of the current vehicle 160; obtaining the lane information of the current lane 170 where the current vehicle 160 is located based on the real-time position of the current vehicle 160, wherein the lane information of the current lane 170 includes the lane position of the current lane 170; and obtaining the actual state of the traffic light 110 corresponding to the current lane 170 based on the lane position of the current lane 170. In addition to the lane position of the current lane 170, the lane information of the current lane 170 may also include the lane driving direction of the current lane 170, such as left turn, right turn or straight ahead. The processor of the current vehicle 160 may, but is not limited to, obtain the real-time position of the current vehicle 160 through a global positioning system, and then obtain the lane position of the current lane 170 where the current vehicle 160 is located based on the real-time position of the current vehicle 160.

[0046] It should be noted that the actual state of the traffic light 110 can be obtained in a variety of ways. For example, the processor of the current vehicle 160 can control the camera installed on the top of the current vehicle 160 to capture the image of the traffic light 110 in front, and then use visual technology to convert the image of the traffic light 110 into the state information of the traffic light 110. For another example, the processor of the current vehicle 160 can also directly obtain the actual state of the traffic light 110 from the cloud server of the traffic system through the network 140. For another example, the processor of the current vehicle 160 can also obtain the actual state of the traffic light 110 by receiving the broadcast signal emitted by the traffic light 110. The first method is only applicable to traditional traffic lights, that is, traffic lights 110 that display the countdown time, and is not applicable to new traffic lights. In addition, since the first method is based on the image of the traffic light 110 captured by the camera to obtain the actual state of the traffic light 110, if other vehicles in front of the current vehicle 160 are too high, they will block the traffic light 110, resulting in the camera being unable to capture the image of the traffic light 110, or at night the camera may capture the red taillight of the vehicle in front, which may be misidentified as the traffic light 110, so the accuracy of the first method is relatively low. Compared with the first method, the latter two methods are applicable not only to traditional traffic lights, but also to new traffic lights, and because they do not involve the image acquisition of the traffic light 110, they are less affected by the outside world and have higher accuracy.

[0047] In the following, the processor of the current vehicle 160 directly obtains the actual state of the traffic light 110 from the cloud server of the traffic system through the network 140 as an example. The cloud server of the traffic system may store the lane positions of each lane and the actual state of the traffic light 110 corresponding to the lane position, and the actual state of the traffic light 110 is updated in real time. Among them, based on the lane position of the current lane 170, the step of obtaining the actual state of the traffic light 110 corresponding to the current lane 170 may include: sending a request signal to the cloud server of the traffic system, the request signal including the lane position of the current lane 170; in response to receiving a feedback signal including the actual state of the traffic light 110 fed back by the cloud server, setting the received actual state to the actual state of the traffic light 110 corresponding to the current lane 170. Taking into account that some lanes may be equipped with traffic lights 110 both in front and behind, after the cloud server receives the request signal sent by the current vehicle 160, it may feedback the actual status of the two traffic lights 110 in front and behind to the current vehicle 160 according to the lane position. Therefore, the feedback signal of the cloud server also includes the fixed position of each traffic light 110. Therefore, in the embodiment of the present application, before setting the received actual status as the actual status of the traffic light 110 corresponding to the current lane 170, the traffic light information display method may also include: determining the movement trend of the current vehicle 160 relative to the traffic light 110 according to the fixed position of the traffic light 110 and the real-time position of the current vehicle 160; in response to determining that the movement trend is approaching the traffic light 110, setting the actual status corresponding to the traffic light 110 to the actual status of the traffic light 110 corresponding to the current lane 170.

[0048] The following takes the example of the processor of the current vehicle 160 obtaining the actual state of the traffic light 110 by receiving the broadcast signal of the traffic light 110 to introduce the steps of obtaining the actual state of the traffic light 110 corresponding to the current lane 170 based on the lane position of the current lane 170 in the implementation manner of the present application. Specifically, it may include: in response to receiving a broadcast signal of at least one traffic light 110, the broadcast signal includes the fixed position of the traffic light 110 and the actual state of the traffic light 110, the processor of the current vehicle 160 analyzes the fixed position and the lane position of the traffic light 110; in response to determining that the fixed position corresponds to the lane position of the current vehicle 160, the processor of the current vehicle 160 sets the actual state in the received broadcast signal to the actual state of the traffic light 110 corresponding to the current lane 170.

[0049] In some embodiments, step S100 may further include: obtaining the real-time position of the current vehicle 160; in response to receiving the broadcast signal of the traffic light 110, determining the distance between the current vehicle 160 and the traffic light 110 according to the broadcast signal, wherein the broadcast signal includes the fixed position of the traffic light 110; in response to determining that the distance is less than the predetermined distance, determining the movement trend of the current vehicle 160 relative to the traffic light 110 according to the fixed position and the real-time position; in response to determining that the movement trend is approaching the traffic light 110, obtaining the actual state of at least one traffic light 110. Since only vehicles within a certain distance of the traffic light 110, such as 100m, can receive the broadcast signal emitted by the traffic light 110, when the current vehicle 160 first receives the broadcast signal of the traffic light 110, the processor of the current vehicle 160 can determine that the distance between the current vehicle 160 and the traffic light 110 is 100m. Of course, the processor of the current vehicle 160 can also calculate the distance between the real-time position of the current vehicle 160 and the fixed position of the traffic light 110. If the distance between the current vehicle 160 and the traffic light 110 is less than a predetermined distance, for example, 50 m, the processor of the current vehicle 160 determines the movement trend of the current vehicle 160 relative to the traffic light 110 according to the fixed position of the traffic light 110 and the real-time position of the current vehicle 160. Specifically, the processor of the current vehicle 160 determines the distance change of the current vehicle 160 relative to the traffic light 110 according to the fixed position and multiple real-time positions obtained within a preset time period; in response to a negative value of the distance change, it means that the traffic light 110 is located in front of the current vehicle 160, and the distance of the current vehicle 160 relative to the traffic light 110 is gradually decreasing, thereby determining that the current vehicle 160 is approaching the traffic light 110, and at this time, the processor of the current vehicle 160 obtains the actual state of at least one traffic light 110; in response to a positive value of the distance change, it means that the traffic light 110 is located behind the current vehicle 160, and the distance of the current vehicle 160 relative to the traffic light 110 is gradually increasing, thereby determining that the current vehicle 160 is moving away from the traffic light 110.

[0050] Figure 4 and Figure 5 A schematic diagram showing another embodiment of a traffic light information diagram according to the present application is shown. Figure 4 and Figure 5 As shown, there is at least one parallel lane 190 next to the current lane 170. Usually, traffic lights 110 corresponding to the current lane 170 and the parallel lane 190 are arranged at the intersection, that is, each lane has a corresponding traffic light 110 to maintain order. Figure 4As shown, there are two parallel lanes 190 on the right side of the current lane 170, so three traffic lights 110 are usually set at the intersection, one of which is located directly in front of the current lane 170, and the other two traffic lights 110 are located directly in front of the two parallel lanes 190. Therefore, the actual state of the traffic light 110 acquired by the processor of the current vehicle 160 may include not only the actual state of the traffic light 110 corresponding to the current vehicle 160, but also the actual state of the traffic light 110 corresponding to the parallel vehicle 180 parallel to the current vehicle 160. Wherein, acquiring the actual state of the traffic light 110 corresponding to the parallel vehicle 180 may include: acquiring the real-time position of the parallel vehicle 180 parallel to the current vehicle 160; based on the real-time position of the parallel vehicle 180, acquiring the lane information of the parallel lane 190 where the parallel vehicle 180 is located, wherein the lane information of the parallel lane 190 includes the lane position of the parallel lane 190; based on the lane position of the parallel lane 190, acquiring the actual state of the traffic light 110 corresponding to the parallel lane 190.

[0051] Among them, the lane information of the parallel lane 190 may include not only the lane position of the parallel lane 190, but also the lane driving direction of the parallel lane 190, such as left turn, right turn or straight ahead. The processor of the current vehicle 160 may first obtain the relative position of the parallel vehicle 180 relative to the current vehicle 160 with the help of the radar system of the current vehicle 160, and then determine the real-time position of the parallel vehicle 180 according to the real-time position of the current vehicle 160 and the above relative position, and then obtain the lane position of the parallel lane 190 based on the real-time position of the parallel vehicle 180. Of course, the processor of the current vehicle 160 may also use other methods to obtain the real-time position of the parallel vehicle 180, and this application does not limit this. Similarly, the actual state of the traffic light 110 corresponding to the parallel lane 190 can be obtained by using the camera of the current vehicle 160, the broadcast signal of the traffic light 110, or the cloud server of the traffic system. For example, in response to receiving a broadcast signal from a traffic light 110, which includes the fixed position and actual state of the traffic light 110, the processor of the current vehicle 160 analyzes the fixed position of the traffic light 110 and the lane position of the parallel lane 190; in response to determining that the fixed position of the traffic light 110 corresponds to the lane position of the parallel vehicle 180, indicating that the traffic light 110 is located directly in front of the parallel vehicle 180, the processor of the current vehicle 160 sets the actual state in the received broadcast signal to the actual state of the traffic light 110 corresponding to the parallel lane 190.

[0052] Step S200

[0053] In step S200, the preliminary countdown time is determined according to the display color, the actual countdown time and the preset buffer time, wherein the preset buffer time can be a factory setting parameter of the current vehicle 160, or a parameter preset by the user according to his / her own driving skills through voice, clicking a corresponding button on the vehicle display screen, or pressing a corresponding button on the steering wheel.

[0054] In some embodiments, in order to reserve safety buffer time for the driver and further reduce the risk of the driver running a red light due to self-judgment error, step S200 may include: in response to determining that the display color is green, setting the difference between the actual countdown duration and the preset buffer duration as the pre-preparation countdown duration; in response to determining that the display color is red, setting the sum of the actual countdown duration and the preset buffer duration as the pre-preparation countdown duration.

[0055] For example, the preset buffer time is 2s, the display color of the traffic light 110 directly in front of the current vehicle 160 is green, and the corresponding actual countdown time is 4s. Then the preparatory countdown time calculated by the processor of the current vehicle 160 according to the actual countdown time and the preset buffer time is 2s. In other words, the countdown time that the driver knows through the traffic light information diagram is 2s. If the preparatory countdown time is only 2s when the current vehicle 160 drives to the intersection, drivers with strong safety awareness will choose to slow down and stop, while some impatient drivers may choose to speed up to pass the traffic light 110. The risk of running a red light when passing the traffic light 110 from the intersection within 2s is high, but because the preparatory countdown time seen by the driver is shorter than the actual countdown time, in other words, the actual countdown time is 4s at this time, which is enough for the current vehicle 160 to pass the traffic light 110. Therefore, even if the driver takes the risk of running a red light when the preparatory countdown time is only 2s, he can pass safely, thereby reducing the risk of running a red light caused by the driver's self-judgment error. Similarly, when the preset buffering time is 2s, if the display color of the traffic light 110 directly in front of the current vehicle 160 is red, and the corresponding actual countdown time is 2s, then the preparatory countdown time calculated by the processor of the current vehicle 160 based on the actual countdown time and the preset buffering time is 4s. In other words, the countdown time that the driver knows through the traffic light information diagram is 4s. Usually when the actual countdown time is only 2s, some impatient drivers may choose to start the vehicle to prepare for passage, and may run a red light. However, in the implementation manner of the present application, the driver sees the preparatory countdown time rather than the actual countdown time, that is, at this time the driver sees that the countdown time of the red light is 4s, and will not choose to start the vehicle, thereby reducing the risk of the driver running a red light due to self-judgment errors.

[0056] Step S300

[0057] In step S300, the AR-HUD of the current vehicle 160 is generated and controlled to display a traffic light information diagram according to at least the display color and the preparatory countdown time. The traffic light information diagram may include, but is not limited to, an image of the current vehicle 160, an image of the current lane 170, and a preparatory countdown time.

[0058] In some embodiments, in order to ensure that the traffic light information diagram is concise and clear, and the driver can quickly obtain the required information from the traffic light information diagram, step S300 may include: generating and controlling the AR-HUD according to the display color and the lane information of the current lane 170, and displaying at least a portion of the image of the current lane 170 in the display color; generating and controlling the AR-HUD according to the display color and the real-time position of the current vehicle 160, and displaying the image of the current vehicle 160 in a first color different from the display color; generating and controlling the AR-HUD according to the display color and the preparation countdown duration, and displaying the preparation countdown duration in a second color different from the display color. For example, Figure 3 As shown, the traffic light information diagram is a bird's-eye view. If the display color of the traffic light 110 corresponding to the current lane 170 is green, at least a portion of the image of the current lane 170 is displayed in green, the image of the current vehicle 160 is displayed in the image of the current lane 170 in a first color, i.e., a color other than green, and the preparation countdown duration is displayed in the image of the current lane 170 in a second color, i.e., a color other than green. Since white, yellow, and black are more eye-catching against a green background than other colors, in order to enable the driver to capture the preparation countdown duration and / or the image of the current vehicle 160 at a glance, the first color and / or the second color may be white, yellow, or black. Conversely, if the display color of the traffic light 110 corresponding to the current lane 170 is red, at least a portion of the image of the current lane 170 is displayed in red, the image of the current vehicle 160 is displayed in the image of the current lane 170 in a first color, i.e., a color other than red, and the preparation countdown duration is displayed in the image of the current lane 170 in a second color, i.e., a color other than red. Similarly, since white or yellow is more eye-catching than other colors against a red background, in order to enable the driver to capture the preparation countdown duration and / or the image of the current vehicle 160 at a glance, the first color and / or the second color may be white or yellow. It should be noted that the first color and the second color may be the same or different. Thus, the driver can know the display color and preparation countdown duration of the traffic light 110 ahead by casually glancing at the traffic light information diagram without being distracted.

[0059] In some embodiments, in order to improve the vividness and aesthetics of the traffic light information graph, such as Figure 3As shown, the area of ​​the image of the current lane 170 located in front of the current vehicle 160 is displayed in the display color. In other words, with the image of the current vehicle 160 as the boundary, the image of the current lane 170 is divided into two areas, namely a first area 171 located in front of the current vehicle 160 and a remaining second area 172. The image of the current vehicle 160 is located in the second area 172. The filling color of the first area 171 is the same as the display color of the traffic light 110, and the filling color of the second area 172 is different from the display color of the traffic light 110. For example, when the display color of the traffic light 110 corresponding to the current lane 170 is green, the filling color of the first area 171 is green, and the filling color of the second area 172 may be a color other than green. Of course, in order to avoid interfering with the driver, the filling color of the second area 172 may be white. Thus, as Figure 4 and Figure 5 As shown, as the current vehicle 160 moves forward, the image of the current lane 170 changes dynamically, that is, the length of the first area 171 gradually decreases, and the length of the second area 172 gradually increases. The driver can know the display color of the traffic light 110 ahead and the distance from the traffic light 110 ahead through the length and color of the first area 171.

[0060] In addition, if the driver is more concerned about the designated area of ​​the traffic light information map, such as the area showing the preparatory countdown time, a local zoom instruction can be sent to the processor of the current vehicle 160. In response to receiving the user's local zoom instruction for the designated area of ​​the traffic light information map, the processor of the current vehicle 160 controls the AR-HUD to switch and display the enlarged image of the designated area. The driver can control the corresponding area to be enlarged by the area number. In order to facilitate the driver to clarify the relationship between the area number and each area in the traffic light information map, the traffic information map can also include the area number and the area boundary line. The area number can be marked in the area surrounded by the corresponding area boundary line, or other areas of the traffic light information map. The driver can trigger the generation of the local zoom instruction by voice command, gesture control, clicking the corresponding button on the car display screen or pressing the corresponding button on the steering wheel. Different local zoom instructions correspond to the enlarged images of different areas. For example, the area showing the preparatory countdown time in the traffic light information map is area A, and the second area 172 showing the current vehicle 160 is area B. Therefore, if the driver issues a voice command to the current vehicle 160 "Please zoom in on area A", the processor of the current vehicle 160 controls the AR-HUD to switch and display an enlarged image of the area where the preparation countdown duration is located.

[0061] Furthermore, considering that some older or myopic drivers have relatively poor eyesight, in order to improve the user experience, the enlarged image can be enlarged by a specified multiple according to the driver's needs. Therefore, the traffic light information display method also includes: in response to receiving a specified enlargement instruction including a specified enlargement multiple from the user, controlling the AR-HUD to switch and display the enlarged image enlarged by the specified enlargement multiple.

[0062] In some embodiments, the traffic light information graph may further include an image of the parallel vehicle 180 and an image of the parallel lane 190. At least a portion of the image of the parallel lane 190 is displayed in the display color of the traffic light 110 corresponding to the parallel lane 190, the image of the parallel vehicle 180 is displayed in a third color different from the above display color, and the image of the parallel vehicle 180 may be located in the image of the parallel lane 190. In addition, the traffic light information graph may further include a lane driving direction mark of the current lane 170 and / or a lane driving direction mark of the parallel lane 190, and the lane driving direction mark includes a straight ahead mark, a left turn mark, or a right turn mark.

[0063] In some embodiments, in order to attract the driver's attention before the countdown of the traffic light 110 is about to end and further reduce the risk of the driver running a red light, the traffic light information display method also includes: in response to the preliminary countdown duration being less than a preset duration threshold, issuing a prompt; wherein issuing a prompt includes at least one of the following: controlling the speaker of the current vehicle 160 to emit a prompt sound; controlling the AR-HUD to display a prompt message in the traffic light information map; controlling the AR-HUD to enlarge the display of the preliminary countdown duration in the traffic light information map.

[0064] In addition, considering that some novice drivers or drivers who have not driven for a long time may not be able to determine whether they can safely pass the traffic light 110 within the remaining time when the green light countdown is about to end, in order to further reduce the situation where the driver runs a red light due to self-judgment errors, the traffic light information display method also includes: obtaining the speed of the current vehicle 160 and the real-time position of the current vehicle 160; in response to determining that the display color is green, determining the theoretical time to pass the corresponding traffic light 110 according to the real-time position of the current vehicle 160 and the speed of the current vehicle 160; in response to determining that the difference between the actual countdown time and the theoretical time is less than the preset warning threshold, an alarm is issued. Among them, the preset warning threshold is greater than or equal to zero, for example, it can be 1s, 2s or 3s. The preset warning threshold can be a system default value, or it can be a preset value set by the user according to his own driving skills. If the driving skills are proficient, a relatively small preset warning threshold can be set, and if the driving skills are unfamiliar, a relatively large preset warning threshold can be set, so that the driver has enough time to pass the traffic light 110. It should be noted that the real-time position of the current vehicle 160 mentioned above can be the relative position of the current vehicle 160, that is, the position of the current vehicle 160 relative to the traffic light 110, or the absolute position of the current vehicle 160. If the real-time position of the current vehicle 160 is an absolute position, the processor of the current vehicle 160 can also obtain the fixed position of the traffic light 110 corresponding to the current vehicle 160 before determining the theoretical duration, and calculate the relative distance based on the real-time position of the current vehicle 160 and the fixed position of the traffic light 110. Therefore, the relative distance divided by the speed of the current vehicle 160 is the theoretical duration.

[0065] In addition, considering that the sun is most abundant in summer and at noon of the year, the clarity of the traffic light information map seen by the driver will be reduced under strong light. Therefore, in order to ensure that the driver can see the traffic light information map clearly, the driver can adjust the display brightness of the traffic light information map according to his own needs. Therefore, the traffic light information display method also includes: in response to receiving a brightness adjustment instruction from the user, adjusting the display brightness of the traffic light information map.

[0066] In addition, an embodiment of the present application also provides an electronic device, which includes at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned traffic light information display method.

[0067] The embodiment of the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned traffic light information display method is implemented.

[0068] Figure 6A schematic block diagram of an example electronic device 200 that can be used to implement an embodiment of the present disclosure is shown. The electronic device 200 is intended to represent various forms of digital computers and may include, but is not limited to, applications in vehicles. The electronic device may also represent various forms of mobile devices that can run computing programs. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0069] like Figure 6 As shown, the electronic device 200 includes a computing unit 201, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 202 or a computer program loaded from a storage unit 208 into a random access memory (RAM) 203. In the RAM 203, various programs and data required for the operation of the electronic device 200 can also be stored. The computing unit 201, the ROM 202, and the RAM 203 are connected to each other via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204. The computing unit 201 can also be collectively referred to as a processor herein.

[0070] A number of components in the electronic device 200 are connected to the I / O interface 205, including: an input unit 206, such as a display screen, etc.; an output unit 207, such as various types of displays, speakers, etc.; a storage unit 208, such as a disk, etc.; and a communication unit 209, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 209 allows the electronic device 200 to exchange information / data with other devices through a computer network 140 such as the Internet and / or various telecommunication networks 140.

[0071] The computing unit 201 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 201 performs the various methods and processes described above, such as the traffic light information display method. For example, in some embodiments, the traffic light information display method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 208. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 200 via the ROM 202 and / or the communication unit 209. When the computer program is loaded into the RAM 203 and executed by the computing unit 201, one or more steps of the traffic light information display method described above may be performed. Alternatively, in other embodiments, the computing unit 201 may be configured to perform the traffic light information display method in any other appropriate manner (e.g., by means of firmware).

[0072] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0073] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow diagram and / or block diagram. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0074] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0075] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0076] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for displaying traffic light information, characterized in that: include: In response to determining that a traffic light exists within a predetermined distance of the real-time location of the current vehicle and the current vehicle is approaching the traffic light, obtaining an actual state of at least one of the traffic lights, wherein the at least one traffic light includes a traffic light corresponding to the current vehicle, and the actual state includes a display color and an actual countdown duration; Determining a preliminary countdown duration according to the display color, the actual countdown duration, and a preset buffering duration; and Generate and control the AR-HUD display traffic light information diagram of the current vehicle at least according to the display color and the preparation countdown duration.

2. The traffic light information display method according to claim 1, wherein: Determining the preliminary countdown duration according to the display color, the actual countdown duration, and the preset buffer duration includes: In response to determining that the display color is green, setting the difference between the actual countdown duration and the preset buffer duration as the preliminary countdown duration; and In response to determining that the display color is red, the sum of the actual countdown duration and the preset buffering duration is set as the preliminary countdown duration.

3. The traffic light information display method according to claim 1, wherein: Obtaining the actual state of at least one of the traffic lights includes: Obtaining the real-time position of the current vehicle; Based on the real-time position of the current vehicle, acquiring lane information of a current lane in which the current vehicle is located, wherein the lane information of the current lane includes a lane position of the current lane; and Based on the lane position of the current lane, an actual state of a traffic light corresponding to the current lane is acquired.

4. The traffic light information display method according to claim 3, wherein: Acquiring an actual state of a traffic light corresponding to the current lane based on the lane position of the current lane includes: In response to receiving a broadcast signal from at least one traffic light including a fixed position and an actual state of the traffic light, analyzing the fixed position and the lane position; In response to determining that the fixed position corresponds to the lane position of the current vehicle, the received actual state is set as the actual state of the traffic light corresponding to the current lane.

5. The traffic light information display method according to claim 3, wherein: The traffic light information image includes an image of the current vehicle, an image of the current lane, and the preparation countdown duration; The generating and controlling the AR-HUD display traffic light information diagram of the current vehicle at least according to the display color and the preparation countdown duration includes: generating and controlling the AR-HUD according to the display color and lane information of the current lane, to display at least a portion of an image of the current lane in the display color; generating and controlling the AR-HUD according to the display color and the real-time position of the current vehicle to display an image of the current vehicle in a first color different from the display color; and The AR-HUD is generated and controlled according to the display color and the preparatory countdown duration, and the preparatory countdown duration is displayed in a second color different from the display color.

6. The traffic light information display method according to claim 5, wherein: An area of ​​the image of the current lane located in front of the current vehicle is displayed in the display color.

7. The traffic light information display method according to claim 3, wherein: Obtaining the actual state of at least one of the traffic lights further includes: Acquiring a real-time position of a parallel vehicle running parallel to the current vehicle; Based on the real-time position of the parallel vehicle, acquiring lane information of the parallel lane where the parallel vehicle is located, wherein the lane information of the parallel lane includes the lane position of the parallel lane; and acquiring, based on the lane position of the parallel lane, an actual state of a traffic light corresponding to the parallel lane; The traffic light information map further includes images of the parallel vehicles and images of the parallel lanes.

8. The traffic light information display method according to any one of claims 1 to 7, wherein: In response to determining that a traffic light exists within a predetermined distance of the real-time position of the current vehicle and the current vehicle is approaching the traffic light, obtaining an actual state of at least one of the traffic lights includes: In response to receiving a broadcast signal from a traffic light, determining a distance between the current vehicle and the traffic light according to the broadcast signal, wherein the broadcast signal includes a fixed position of the traffic light; In response to determining that the distance is less than the predetermined distance, determining a movement trend of the current vehicle relative to the traffic light based on the fixed position and the real-time position; and In response to determining that the movement trend is approaching the traffic light, an actual state of at least one of the traffic lights is obtained.

9. The traffic light information display method according to claim 8, wherein: Determining the movement trend of the current vehicle relative to the traffic light according to the fixed position and the real-time position includes: Determining a change in the distance of the current vehicle relative to the traffic light based on the fixed position and the multiple real-time positions acquired within a preset time period; In response to the distance change being a negative value, determining that the current vehicle is approaching the traffic light; and In response to the distance change being a positive value, it is determined that the current vehicle is moving away from the traffic light.

10. The traffic light information display method according to any one of claims 1 to 7, wherein: The traffic light information display method further includes: In response to the preparation countdown duration being less than a preset duration threshold, issuing a prompt; The issuing of a prompt includes at least one of the following: Control the speaker to emit a prompt tone; Controlling the AR-HUD to display a prompt message in the traffic light information image; and The AR-HUD is controlled to enlarge and display the preparation countdown time in the traffic light information image.

11. The traffic light information display method according to any one of claims 1 to 7, wherein: The traffic light information display method further includes: Obtaining the current vehicle speed; In response to determining that the display color is green, determining a theoretical time to pass the corresponding traffic light according to the current real-time position of the vehicle and the current speed of the vehicle; In response to determining that the difference between the actual countdown duration and the theoretical duration is less than a preset warning threshold, an alarm is issued.

12. An electronic device, characterized in that: include: at least one processor; as well as, A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor so as to enable the at least one processor to execute the traffic light information display method described in any one of claims 1 to 11.

13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the traffic light information display method according to any one of claims 1 to 11 is implemented.