Traffic light early warning method and device, vehicle, electronic equipment and storage medium

By selecting the highest priority positioning system in the traffic light warning system to obtain the vehicle position, the problem of traffic light warning system not working when the satellite signal is weak is solved, and the accuracy and real-timeness of traffic light warning are improved.

CN120014855APending Publication Date: 2025-05-16BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311533584.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-16
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In scenarios where satellite signals are weak, the traffic light warning system cannot obtain the vehicle location for traffic light warning, resulting in the accuracy and real-time nature of the traffic light warning system.

Method used

When the traffic light warning system requests positioning information, it determines the positioning score of each positioning system among multiple positioning systems, selects the target positioning system with the highest priority, obtains traffic light information around the vehicle, and conducts traffic light warnings based on the current positioning information of the target positioning system, the current vehicle speed and traffic light information.

Benefits of technology

In scenarios where satellite signals are weak, traffic light warning is performed through positioning information of non-satellite positioning system, which improves the accuracy and real-timeness of traffic light warning system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120014855A_ABST
    Figure CN120014855A_ABST
Patent Text Reader

Abstract

The invention provides a traffic light early warning method and device, a vehicle, electronic equipment and a storage medium, and relates to the technical field of intelligent traffic. According to the specific technical scheme, when a traffic light early warning system requests positioning information, the positioning score of each positioning system in a plurality of positioning systems is determined; determining a target positioning system from the plurality of positioning systems according to the positioning score of each positioning system; acquiring traffic light information around the vehicle according to the current positioning information of the target positioning system; according to the present positioning information of the target positioning system, the present vehicle speed of the vehicle and the traffic light information, the traffic light early warning is carried out, so that the traffic light early warning can be carried out based on the positioning information of the non-satellite positioning system in the scene of weak satellite signals, and the accuracy and the real-time performance of the traffic light early warning system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of intelligent transportation technology, and in particular to a traffic light warning method, device, vehicle, electronic equipment and storage medium. Background Art

[0002] With the development of intelligent transportation technology, the innovative application of intelligent transportation has become more extensive. The traffic light warning system mainly locates the vehicle through the satellite positioning system, and warns of the signal status changes of the traffic light in advance, which can improve road safety and traffic efficiency. In the scenario of weak satellite signals, the traffic light warning system cannot obtain the vehicle position to issue a traffic light warning. Summary of the invention

[0003] The present invention provides a traffic light warning method, device, vehicle, electronic equipment and storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a traffic light warning method is provided, comprising:

[0005] determining a positioning score for each of the plurality of positioning systems when the traffic light warning system requests positioning information;

[0006] According to the positioning score of each positioning system, a target positioning system is determined from multiple positioning systems;

[0007] According to the current positioning information of the target positioning system, the traffic light information around the vehicle is obtained;

[0008] Traffic light warning is issued based on the current positioning information of the target positioning system, the current speed of the vehicle and the traffic light information.

[0009] According to a second aspect of an embodiment of the present disclosure, a traffic light warning device is provided, comprising:

[0010] A first determination module, configured to determine a positioning score of each positioning system in a plurality of positioning systems when the traffic light warning system requests positioning information;

[0011] A second determination module is used to determine a target positioning system from multiple positioning systems according to the positioning score of each positioning system;

[0012] An acquisition module, used to acquire traffic light information around the vehicle based on current positioning information of the target positioning system;

[0013] The warning module is used to issue traffic light warnings based on the current positioning information of the target positioning system, the current speed of the vehicle and the traffic light information.

[0014] According to a third aspect of an embodiment of the present disclosure, a vehicle is provided, comprising: the traffic light warning device described in the second aspect above.

[0015] According to the fourth aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method of the first aspect mentioned above.

[0016] According to a fifth aspect of an embodiment of the present disclosure, there is provided a non-temporary computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described in the first aspect is implemented.

[0017] According to a sixth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, wherein the computer program implements the steps of the method described in the first aspect when executed by a processor.

[0018] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when a traffic light warning system requests positioning information, determining the positioning score of each positioning system in multiple positioning systems; determining a target positioning system from multiple positioning systems based on the positioning score of each positioning system; obtaining traffic light information around the vehicle based on the current positioning information of the target positioning system; and performing a traffic light warning based on the current positioning information of the target positioning system, the current speed of the vehicle, and traffic light information. In this way, in a scenario where the satellite signal is weak, a traffic light warning can be performed based on the positioning information of a non-satellite positioning system, thereby improving the accuracy and real-time performance of the traffic light warning system.

[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0021] Figure 1 It is a flow chart of a traffic light warning method provided according to an embodiment of the present disclosure.

[0022] Figure 2 It is a flow chart of another traffic light warning method provided according to an embodiment of the present disclosure.

[0023] Figure 3 It is a flow chart of another traffic light warning method provided according to an embodiment of the present disclosure.

[0024] Figure 4 It is a flow chart of another traffic light warning method provided according to an embodiment of the present disclosure.

[0025] Figure 5 It is a flow chart of another traffic light warning method provided according to an embodiment of the present disclosure.

[0026] Figure 6 It is a flow chart of an application scenario of a traffic light warning system provided according to an embodiment of the present disclosure.

[0027] Figure 7 It is a structural block diagram of a traffic light warning device provided according to an embodiment of the present disclosure.

[0028] Figure 8 It is a structural block diagram of an electronic device provided according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0030] Figure 1 FIG. 1 is a flow chart of a traffic light warning method provided according to an embodiment of the present disclosure. Figure 1 As shown, the traffic light warning method includes but is not limited to the following steps:

[0031] In step S101, when the traffic light warning system requests positioning information, a positioning score of each positioning system among a plurality of positioning systems is determined.

[0032] Optionally, in some embodiments, the traffic light warning system's request for positioning information may include two situations: initial request for positioning information and non-initial request for positioning information. Exemplarily, when using the traffic light warning system for traffic light warning, the traffic light warning system usually needs to request positioning information in real time. The initial request for positioning information can be understood as the positioning information initially requested by the traffic light warning system, and the non-initial request for positioning information can be understood as the positioning information not initially requested by the traffic light warning system. For example, the initial request for positioning information refers to the traffic light warning system sending positioning request information to multiple positioning systems for the first time; the non-initial request for positioning information refers to the traffic light warning system sending positioning request information to multiple positioning systems again.

[0033] Optionally, in some embodiments, the plurality of positioning systems may include but are not limited to a satellite positioning system, a high-precision positioning system, an infrared positioning system, an ultrasonic positioning system, and an ultra-wideband positioning system. Among them, the high-precision positioning system may refer to a positioning system that performs high-precision positioning through communication equipment such as 5G / 4G base stations and WiFi.

[0034] As a possible implementation method, when the traffic light warning system requests positioning information for the first time, the positioning score of each positioning system in the multiple positioning systems is determined according to a preset initial positioning score; or, when the traffic light warning system does not request positioning information for the first time, the positioning score of each positioning system in the multiple positioning systems is determined according to the specified situation of the positioning system.

[0035] In step S102, a target positioning system is determined from multiple positioning systems according to the positioning score of each positioning system.

[0036] Optionally, in some embodiments, the priority of each positioning system may be determined according to the positioning score of each positioning system; based on the priority of each positioning system, a target positioning system may be determined from multiple positioning systems. The higher the positioning score of a positioning system, the higher the priority of the positioning system. Exemplarily, the positioning system with the highest priority among the multiple positioning systems is determined as the target positioning system.

[0037] For example, the multiple positioning systems may include a satellite positioning system and a high-precision positioning system. Assume that the positioning score of the satellite positioning system is 70 points and the positioning score of the high-precision positioning system is 40 points. The priority of the satellite positioning system is greater than that of the high-precision positioning system. Therefore, the satellite positioning system is determined as the target positioning system.

[0038] In step S103, traffic light information around the vehicle is acquired according to the current positioning information of the target positioning system.

[0039] Optionally, in some embodiments, first range information is determined according to current positioning information of the target positioning system, and traffic light information around the vehicle is determined based on the first range information, wherein the first range information may refer to range information of the area around the current vehicle.

[0040] Exemplarily, according to the current positioning information of the target positioning system, a circular range with a radius of 200 meters and the vehicle as the center point can be determined as the first range information; based on the first range information, the traffic light information within the first range information is determined.

[0041] In step S104, a traffic light warning is performed based on the current positioning information of the target positioning system, the current speed of the vehicle and the traffic light information.

[0042] Optionally, in some embodiments, the distance between the current vehicle and the traffic light can be determined based on the current positioning information of the target positioning system and the position information in the traffic light information; the time required for the vehicle to pass the traffic light can be determined based on the current speed of the vehicle and the distance between the current vehicle and the traffic light; and a traffic light warning can be issued based on the time required for the vehicle to pass the traffic light and the traffic light time information in the traffic light information.

[0043] In an embodiment of the present disclosure, when a traffic light warning system requests positioning information, a positioning score of each positioning system among multiple positioning systems is determined; based on the positioning score of each positioning system, a target positioning system is determined from the multiple positioning systems; based on the current positioning information of the target positioning system, traffic light information around the vehicle is acquired; based on the current positioning information of the target positioning system, the current speed of the vehicle and traffic light information, a traffic light warning is performed. In this way, in a scenario where the satellite signal is weak, a traffic light warning can be performed based on the positioning information of a non-satellite positioning system, thereby improving the accuracy and real-time performance of the traffic light warning system.

[0044] Figure 2 According to another flow chart of a traffic light warning method provided by an embodiment of the present disclosure. Figure 3 As shown, the traffic light warning method includes but is not limited to the following steps:

[0045] In step S201, when the traffic light warning system requests positioning information for the first time, the initial positioning score of each positioning system among the multiple positioning systems is determined as the positioning score of the corresponding positioning system.

[0046] As an example of a possible implementation, the multiple positioning systems may include a satellite positioning system and a high-precision positioning system. Exemplarily, assuming that the initial positioning score of the satellite positioning system is 70 and the initial positioning score of the high-precision positioning system is 40, when the traffic light warning system first requests positioning information, the positioning score of the satellite positioning system is determined to be 70 and the positioning score of the high-precision positioning system is determined to be 40.

[0047] In step S202, a target positioning system is determined from multiple positioning systems according to the positioning score of each positioning system.

[0048] In the embodiments of the present disclosure, step S202 may be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.

[0049] In step S203, traffic light information around the vehicle is acquired based on the current positioning information of the target positioning system.

[0050] In the embodiments of the present disclosure, step S203 may be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.

[0051] In step S204, a traffic light warning is performed based on the current positioning information of the target positioning system, the current speed of the vehicle and the traffic light information.

[0052] In the embodiments of the present disclosure, step S204 may be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.

[0053] In some embodiments of the present disclosure, when a traffic light warning system first requests positioning information, the initial positioning score of each positioning system in multiple positioning systems is determined as the positioning score of the corresponding positioning system. In this way, the target positioning system can be quickly determined based on the preset initial positioning score, thereby improving the real-time performance and user experience of the traffic light warning system.

[0054] It should be noted that after the traffic light warning system initially requests positioning information, the traffic light warning system can periodically send non-initial request positioning information to multiple positioning systems. Based on the periodically sent non-initial request positioning information, the traffic light warning system can periodically detect changes in positioning scores of multiple positioning systems. Figure 3 FIG. 1 is a flow chart of another traffic light warning method provided according to an embodiment of the present disclosure. Figure 3 As shown, the traffic light warning method includes but is not limited to the following steps:

[0055] In step S301, when the traffic light warning system does not request positioning information for the first time and the first positioning system among multiple positioning systems is designated for traffic light warning, the first score is determined as the positioning score of the first positioning system, and the positioning scores of other positioning systems in the multiple positioning systems remain unchanged.

[0056] Optionally, in some embodiments, the first score may be 100. For example, when the traffic light warning system does not request positioning information for the first time, and the first positioning system among the multiple positioning systems is designated for traffic light warning, the positioning score of the first positioning system is determined to be 100, and the positioning scores of other positioning systems in the multiple positioning systems remain unchanged.

[0057] In step S302, a target positioning system is determined from multiple positioning systems according to the positioning score of each positioning system.

[0058] In some embodiments, the first score may be the highest value of the positioning score. Optionally, in some embodiments, when the traffic light warning system does not request positioning information for the first time, and the first positioning system among multiple positioning systems is designated for traffic light warning, the positioning system with the highest positioning score among the multiple positioning systems is the first positioning system, and the first positioning system may be directly determined as the target positioning system. In other words, if the first positioning system is designated for traffic light warning, the first positioning system may be directly determined as the target positioning system currently used for traffic light warning.

[0059] In some embodiments, when there are multiple second positioning systems with the highest positioning scores among multiple positioning systems, if the multiple second positioning systems include the first positioning system, the first positioning system is directly determined as the target positioning system; if the multiple second positioning systems do not include the first positioning system, any one of the multiple second positioning systems is determined as the target positioning system.

[0060] In step S303, traffic light information around the vehicle is acquired based on the current positioning information of the target positioning system.

[0061] In the embodiments of the present disclosure, step S303 may be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.

[0062] In step S304, a traffic light warning is performed based on the current positioning information of the target positioning system, the current speed of the vehicle and the traffic light information.

[0063] In the embodiments of the present disclosure, step S304 may be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.

[0064] In an embodiment of the present disclosure, when a traffic light warning system does not request positioning information for the first time and a first positioning system among multiple positioning systems is designated for traffic light warning, a first score is determined as a positioning score for the first positioning system, and positioning scores of other positioning systems among the multiple positioning systems are kept unchanged, thereby increasing the flexibility of positioning system selection and user experience.

[0065] Figure 4 FIG. 1 is a flow chart of another traffic light warning method provided according to an embodiment of the present disclosure. Figure 4 As shown, the traffic light warning method includes but is not limited to the following steps:

[0066] In step S401, when the traffic light warning system does not request positioning information for the first time and none of the multiple positioning systems is designated for traffic light warning, a positioning score for each positioning system is determined based on the current signal strength information and / or current positioning result of each positioning system.

[0067] Optionally, when the traffic light warning system does not request positioning information for the first time and none of the multiple positioning systems is designated for traffic light warning, it is necessary to detect the change state of the positioning score of each positioning system. Optionally, in some embodiments, the current positioning score of the positioning system can be determined by the current signal strength information and / or the current positioning result of the positioning system.

[0068] In some embodiments, when the traffic light warning system does not request positioning information for the first time, and none of the multiple positioning systems is designated for traffic light warning, the positioning score of each positioning system is determined based on the current signal strength information of each positioning system. Exemplarily, when the current signal strength information of the positioning system is weak or there are other environmental factors or hardware factors, etc., it may be impossible to obtain the current positioning result of the positioning system, and the current signal strength information can be used to determine the current positioning score of the positioning system.

[0069] In some embodiments, when the traffic light warning system does not request positioning information for the first time and none of the multiple positioning systems is designated for traffic light warning, a positioning score for each positioning system is determined based on a current positioning result of each positioning system.

[0070] In some embodiments, when the traffic light warning system does not request positioning information for the first time and none of the multiple positioning systems is designated for traffic light warning, a positioning score for each positioning system is determined based on the current signal strength information and current positioning results of each positioning system.

[0071] Optionally, in some embodiments, for each positioning system, when the positioning system cannot obtain the current positioning result, the positioning score of the positioning system is reduced by a first score. Exemplarily, when the positioning system cannot obtain the current positioning result, the positioning score of the positioning system is reduced by 40 points.

[0072] Optionally, in some embodiments, for each positioning system, when the current signal strength information of the positioning system is greater than the first signal strength information, the positioning score of the positioning system increases by a second score; when the current signal strength information of the positioning system is less than or equal to the first signal strength information and greater than or equal to the second signal strength information, the positioning score of the positioning system increases by a third score; when the current signal strength information of the positioning system is less than the second signal strength information and greater than the third signal strength information, the positioning score of the positioning system remains unchanged; when the current signal strength information of the positioning system is less than or equal to the third signal strength information and greater than or equal to the fourth signal strength information, the positioning score of the positioning system decreases by a fourth score; when the current signal strength information of the positioning system is less than the fourth signal strength information, the positioning score of the positioning system decreases by a fifth score. Wherein, the second score is greater than the third score, and the fifth score is greater than the fourth score.

[0073] Exemplarily, the current signal strength of the positioning system can be represented by RSSI (Received Signal Strength Indication). The unit of RSSI can be dBm milliwatt decibel. For each positioning system, when the current signal strength information of the positioning system is greater than -70dBm, the positioning score of the positioning system increases by 40 points; when the current signal strength information of the positioning system is less than or equal to -70dBm and greater than or equal to -85dBm, the positioning score of the positioning system increases by 20 points; when the current signal strength of the positioning system is less than -85dBm and greater than -100dBm, the positioning score of the positioning system remains unchanged; when the current signal strength information of the positioning system is less than or equal to -100dBm and greater than or equal to -110dBm, the positioning score of the positioning system decreases by 20 points; when the current signal strength information of the positioning system is less than -110dBm, the positioning score of the positioning system decreases by 40 points.

[0074] In step S402, a target positioning system is determined from multiple positioning systems according to the positioning score of each positioning system.

[0075] In the embodiments of the present disclosure, step S402 may be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.

[0076] In step S403, traffic light information around the vehicle is acquired based on the current positioning information of the target positioning system.

[0077] In the embodiments of the present disclosure, step S403 may be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.

[0078] In step S404, a traffic light warning is performed based on the current positioning information of the target positioning system, the current speed of the vehicle and the traffic light information.

[0079] In the embodiments of the present disclosure, step S404 may be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.

[0080] In an embodiment of the present disclosure, when the traffic light warning system is not requesting positioning information for the first time and any positioning system among the multiple positioning systems has not been designated for traffic light warning, the positioning score of each positioning system is determined based on the current signal strength information and / or the current positioning result of each positioning system. In this way, the positioning score of each positioning system intuitively represents the signal strength and positioning accuracy of the positioning system, thereby further improving the accuracy of the traffic light warning system.

[0081] Figure 5 FIG. 1 is a flow chart of another traffic light warning method provided according to an embodiment of the present disclosure. Figure 5 As shown, the traffic light warning method includes but is not limited to the following steps:

[0082] In step S501, when the traffic light warning system requests positioning information, a positioning score of each positioning system among a plurality of positioning systems is determined.

[0083] In the embodiments of the present disclosure, step S501 may be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.

[0084] In step S502, the second positioning system with the highest positioning score among the multiple positioning systems is determined as the target positioning system.

[0085] Optionally, in some embodiments, the second positioning system may be one or more.

[0086] As a possible implementation manner, when there is only one second positioning system, the second positioning system with the highest score among the multiple positioning systems is determined as the target positioning system.

[0087] As a possible implementation manner, when there are multiple second positioning systems, any one of the multiple second positioning systems is determined as the target positioning system.

[0088] In step S503, traffic light information around the vehicle is acquired based on the current positioning information of the target positioning system.

[0089] In the embodiments of the present disclosure, step S503 may be implemented in any manner in the embodiments of the present disclosure, and the embodiments of the present disclosure do not limit this and will not be described in detail.

[0090] In step S504, the current distance between the vehicle and the traffic light is determined based on the current positioning information of the target positioning system and the position information in the traffic light information.

[0091] Optionally, in some embodiments, distance measurement processing is performed based on the current positioning information of the target positioning system and the position information in the traffic light information to determine the current distance between the vehicle and the traffic light.

[0092] In step S505, based on the current distance between the vehicle and the traffic light, the current speed of the vehicle, and the traffic light time information in the traffic light information, an early warning is issued as to whether the vehicle can safely pass through the traffic light.

[0093] Optionally, in some embodiments, the vehicle passing time information is determined based on the current distance between the vehicle and the traffic light and the current speed of the vehicle; based on the vehicle passing time information and the traffic light time information in the traffic light information, an early warning is given as to whether the vehicle can safely pass the traffic light.

[0094] Optionally, in some embodiments, the traffic light time information may include green light remaining time information.

[0095] As a possible implementation method, when the vehicle passing time information is greater than or equal to the green light remaining time information, it is determined that the vehicle cannot safely pass the traffic light, and a traffic light warning is issued to the vehicle.

[0096] As a possible implementation manner, when the vehicle passing time information is less than the green light remaining time information, it is determined that the vehicle can safely pass the traffic light.

[0097] In the embodiment of the present disclosure, the second positioning system with the highest positioning score among multiple positioning systems is determined as the target positioning system. In this way, based on the current distance between the vehicle and the traffic light, the current speed of the vehicle, and the traffic light time information in the traffic light information, an early warning is issued as to whether the vehicle can safely pass through the traffic light. In this way, when the satellite positioning signal is weak, the positioning information can be quickly obtained based on other positioning systems to issue a traffic light early warning, thereby improving the reliability and accuracy of the traffic light early warning system.

[0098] It is worth noting that the main application scenarios of the traffic light warning method provided by the embodiment of the present disclosure can be divided into the initial request for positioning information and the non-initial request for positioning information. Figure 6 Give an example.

[0099] Application scenario (1), wherein the traffic light warning system is requesting positioning information for the first time. The process of the traffic light warning method can be as follows: Detect whether the traffic light warning system supports multiple positioning systems. Determine whether the traffic light warning system supports multiple positioning systems, for example, determine whether the traffic light warning system supports a satellite positioning system and a high-precision positioning system. After determining that the traffic light warning system supports multiple positioning systems, the traffic light warning system requests positioning information from multiple positioning systems for the first time. For each positioning system, determine the positioning score of the positioning system according to the preset initial positioning score of the positioning system. When the user does not specify the positioning system for traffic light warning, the positioning system with the largest positioning score is determined as the target positioning system. When the user specifies the positioning system for traffic light warning, the positioning system is determined as the target positioning system. After determining the target positioning system, obtain the current positioning information of the target positioning system. According to the current positioning information, obtain the traffic light information within a circular range with a radius of 200 meters and a current position of the vehicle as the center point. Determine the vehicle passing time information according to the current distance between the vehicle and the traffic light and the current speed of the vehicle. Based on the vehicle passing time information and the traffic light time information in the traffic light information, an early warning is given as to whether the vehicle can safely pass the traffic light.

[0100] Application scenario (2), wherein the traffic light warning system is a non-initial request for positioning information. The process of the traffic light warning method can be as follows: the traffic light warning system sends non-initial request positioning information to multiple positioning systems. For each positioning system, the positioning score of each positioning system is determined according to the current signal strength information and / or the current positioning result of each positioning system. When the user specifies the positioning system for traffic light warning, the positioning score of the positioning system is determined to be 100. The positioning system with the largest positioning score among the multiple positioning systems is determined as the second positioning system. When the second positioning system includes the current positioning system, the positioning system continues to be determined as the target positioning system. When the second positioning system does not include the current positioning system and there is one second positioning system, the second positioning system is determined as the target positioning system. When the second positioning system does not include the current positioning system and there are multiple second positioning systems, any one of the second positioning systems is determined as the target positioning system. After determining the target positioning system, the current positioning information of the target positioning system is obtained. According to the current positioning information, the traffic light information within a circular range with a radius of 200 meters and the current position of the vehicle as the center point is obtained. The vehicle passing time information is determined according to the current distance between the vehicle and the traffic light and the current speed of the vehicle. According to the vehicle passing time information and the traffic light time information in the traffic light information, an early warning is given as to whether the vehicle can safely pass the traffic light.

[0101] Figure 7 is a structural block diagram of a traffic light warning device provided according to an embodiment of the present disclosure. Figure 7 As shown, the traffic light warning device includes a first determination module 701 , a second determination module 702 , an acquisition module 703 and a warning module 704 .

[0102] The first determination module 701 is used to determine the positioning score of each positioning system in multiple positioning systems when the traffic light warning system requests positioning information.

[0103] The second determination module 702 is used to determine a target positioning system from multiple positioning systems according to the positioning score of each positioning system.

[0104] The acquisition module 703 is used to acquire the traffic light information around the vehicle according to the current positioning information of the target positioning system.

[0105] The warning module 704 is used to issue a traffic light warning based on the current positioning information of the target positioning system, the current speed of the vehicle and the traffic light information.

[0106] As an example, the first determination module 701 is specifically used for: when the traffic light warning system does not request positioning information for the first time and the first positioning system among multiple positioning systems is designated for traffic light warning, the first score is determined as the positioning score of the first positioning system, and the positioning scores of other positioning systems among the multiple positioning systems remain unchanged; or, when the traffic light warning system does not request positioning information for the first time and none of the multiple positioning systems is designated for traffic light warning, the positioning score of each positioning system is determined according to the current signal strength information and / or the current positioning result of each positioning system.

[0107] As an example, the first determination module 701 is further specifically used for: when the traffic light warning system requests positioning information for the first time, determining the initial positioning score of each positioning system in the multiple positioning systems as the positioning score of the corresponding positioning system.

[0108] As an example, the second determination module 702 is specifically configured to: determine the second positioning system with the largest positioning score among the multiple positioning systems as the target positioning system.

[0109] As an example, the early warning module 704 is specifically used to: determine the current distance between the vehicle and the traffic light based on the current positioning information of the target positioning system and the position information in the traffic light information; and issue an early warning on whether the vehicle can safely pass the traffic light based on the current distance between the vehicle and the traffic light, the current speed of the vehicle, and the traffic light time information in the traffic light information.

[0110] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0111] According to an embodiment of the present disclosure, the present disclosure provides a vehicle, which includes the traffic light warning device described in any of the above embodiments of the present disclosure.

[0112] Figure 8 1 is a block diagram of an electronic device according to an embodiment of the present disclosure. For example, the electronic device may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc. The electronic device may also be a vehicle-mounted terminal.

[0113] like Figure 8 As shown, the electronic device may include one or more of the following components: a processor 801 , a memory 802 , a power component 803 , a multimedia component 804 , an input / output (I / O) interface 805 , a sensor component 806 , and a communication component 807 . Figure 8 A processor 801 is taken as an example.

[0114] The processor 801 generally controls the overall operation of the electronic device, such as operations associated with data communication, traffic light warning, positioning navigation and recording operations. The processor 801 executes instructions to complete all or part of the steps of the above method. In addition, the processor 801 may include one or more modules to facilitate the interaction between the processor 801 and other components. For example, the processor 801 may include a multimedia module to facilitate the interaction between the multimedia component 804 and the processor 801.

[0115] The memory 802 is configured to store various types of data to support the operation of the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, initial positioning information of a preset positioning system, traffic light information, positioning information of the current vehicle, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk.

[0116] The power component 803 provides power to various components of the electronic device. The power component 803 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device.

[0117] The multimedia component 804 includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0118] The I / O interface 805 provides an interface between the processor 801 and a peripheral interface module, which may be a click wheel, a button, etc. These buttons may include but are not limited to: a navigation button, a volume button, and a start button.

[0119] The sensor assembly 806 includes one or more sensors for providing various aspects of status assessment for the electronic device. For example, the sensor assembly 806 can detect the on / off state of the electronic device, the relative positioning of the components, and the sensor assembly 806 can also detect the position change of the electronic device, the orientation or acceleration / deceleration of the electronic device, and the temperature change of the electronic device. In some embodiments, the sensor assembly 806 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0120] The communication component 807 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device can access a wireless network or mobile communication based on a communication standard and a combination thereof, such as WiFi, 2G, 3G, 4G, 5G and future new generation communication technologies, etc., which are not specifically limited in this disclosure. In an exemplary embodiment, the communication component 807 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 807 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0121] In an exemplary embodiment, the electronic device may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.

[0122] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 802 including instructions, and the instructions can be executed by a processor 801 of an electronic device to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0123] In an exemplary embodiment, a computer program product is also provided, including a computer program, wherein the computer program is executed by one or more processors 801 of an electronic device to implement the steps of the above-mentioned air conditioner control method.

[0124] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0125] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A traffic light warning method, characterized in that: include: When the traffic light warning system requests positioning information, determining a positioning score for each of the plurality of positioning systems; Determining a target positioning system from the multiple positioning systems according to the positioning score of each positioning system; Acquiring traffic light information around the vehicle according to the current positioning information of the target positioning system; A traffic light warning is performed according to the current positioning information of the target positioning system, the current speed of the vehicle and the traffic light information.

2. The method according to claim 1, characterized in that When the traffic light warning system requests positioning information, determining the positioning score of each positioning system in the plurality of positioning systems comprises: When the traffic light warning system does not request positioning information for the first time, and a first positioning system among the multiple positioning systems is designated for traffic light warning, the first score is determined as the positioning score of the first positioning system, and the positioning scores of other positioning systems among the multiple positioning systems remain unchanged; or When the traffic light warning system does not request positioning information for the first time and any positioning system among the multiple positioning systems is not designated for traffic light warning, a positioning score for each positioning system is determined based on current signal strength information and / or current positioning results of each positioning system.

3. The method according to claim 1, characterized in that When the traffic light warning system requests positioning information, determining the positioning score of each positioning system in the plurality of positioning systems comprises: When the traffic light warning system requests positioning information for the first time, the initial positioning score of each positioning system in the multiple positioning systems is determined as the positioning score of the corresponding positioning system.

4. The method according to claim 1, characterized in that Determining a target positioning system from the multiple positioning systems according to the positioning score of each positioning system includes: The second positioning system with the largest positioning score among the multiple positioning systems is determined as the target positioning system.

5. The method according to claim 4, characterized in that There are multiple second positioning systems; and determining the second positioning system with the largest positioning score among the multiple positioning systems as the target positioning system includes: Any one of the plurality of the second positioning systems is determined as the target positioning system.

6. The method according to claim 1, characterized in that The step of performing a traffic light warning according to the current positioning information of the target positioning system, the current speed of the vehicle and the traffic light information includes: Determine the current distance between the vehicle and the traffic light according to the current positioning information of the target positioning system and the position information in the traffic light information; According to the current distance between the vehicle and the traffic light, the current speed of the vehicle, and the traffic light time information in the traffic light information, an early warning is given as to whether the vehicle can safely pass through the traffic light.

7. A traffic light warning device, characterized in that: include: A first determination module, configured to determine a positioning score of each of the plurality of positioning systems when the traffic light warning system requests positioning information; A second determination module is used to determine a target positioning system from the multiple positioning systems according to a positioning score of each positioning system; An acquisition module, used to acquire traffic light information around the vehicle according to the current positioning information of the target positioning system; The warning module is used to issue a traffic light warning based on the current positioning information of the target positioning system, the current speed of the vehicle and the traffic light information.

8. The device according to claim 7, characterized in that The first determining module is specifically used for: When the traffic light warning system does not request positioning information for the first time and a first positioning system among the multiple positioning systems is designated for traffic light warning, a first score is determined as a positioning score of the first positioning system, and positioning scores of other positioning systems among the multiple positioning systems are kept unchanged; or, When the traffic light warning system does not request positioning information for the first time and any positioning system among the multiple positioning systems is not designated for traffic light warning, a positioning score for each positioning system is determined based on current signal strength information and / or current positioning results of each positioning system.

9. The device according to claim 7, characterized in that The first determining module is specifically used for: When the traffic light warning system requests positioning information for the first time, the initial positioning score of each positioning system in the multiple positioning systems is determined as the positioning score of the corresponding positioning system.

10. The device according to claim 7, characterized in that The second determining module is specifically used for: The second positioning system with the largest positioning score among the multiple positioning systems is determined as the target positioning system.

11. The device according to claim 10, characterized in that There are multiple second positioning systems; and the second determination module is specifically used for: Any one of the plurality of the second positioning systems is determined as the target positioning system.

12. The device according to claim 7, characterized in that The early warning module is specifically used for: Determine the current distance between the vehicle and the traffic light according to the current positioning information of the target positioning system and the position information in the traffic light information; According to the current distance between the vehicle and the traffic light, the current speed of the vehicle, and the traffic light time information in the traffic light information, an early warning is given as to whether the vehicle can safely pass through the traffic light.

13. A vehicle, characterized in that: include: A traffic light warning device as claimed in any one of claims 7 to 12.

14. 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 that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

15. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.