Signal lamp state sending method and device, computer equipment and storage medium
By acquiring and packaging signal light information on the first terminal and sending wireless signals to the target range, the problem in the prior art is solved that it is difficult to accurately obtain traffic light status in advance, and the accurate transmission of signal light status and driving efficiency are achieved.
Patent Information
- Application Number
- CN202311116888.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2025-02-28
AI Technical Summary
It is difficult for the prior art to accurately obtain the signal status of traffic lights in the front section in advance, resulting in a decrease in driving efficiency and an increase in safety risks.
The signal lamp information is obtained through the first terminal, including the status and distance of the signal lamp, and the information is encapsulated into broadcast information, and the wireless signal is sent to the target range by beamforming, so that the rear terminal receiving the wireless signal can obtain the signal lamp status in advance.
It realizes accurate transmission of signal light status, improves driving efficiency, and reduces driving safety risks.
Smart Images

Figure CN119541241A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for sending a signal light status, a computer device, and a storage medium. Background Art
[0002] The signal status of traffic lights is an important basis for driving. During the driving process, if the signal status of the traffic lights on the road ahead can be obtained in advance, the driver can plan the route in advance and avoid congested sections, while effectively avoiding problems such as following the car running a red light, driving in the wrong lane, and sudden braking at intersections. On the contrary, if the signal status of the traffic lights on the road ahead cannot be obtained in advance, driving efficiency may be reduced. Therefore, how to obtain the signal status of the traffic lights on the road ahead in advance is a problem that needs to be solved.
[0003] At present, software algorithms are usually used to predict the signal status of traffic lights on the road ahead. However, the signal status obtained by this method has a large error compared with the actual signal status, which may affect driving safety and even increase the probability of accidents. Summary of the invention
[0004] The embodiments of the present application provide a method, device, computer equipment and storage medium for sending the status of a signal light, which can obtain the information of the signal light through a first terminal, and send a wireless signal carrying the information to a target range, so that the rear terminal that receives the wireless signal can obtain the status of the signal light in advance, thereby ensuring the accuracy of the obtained status of the signal light and improving the driving efficiency. The technical solution is as follows:
[0005] On the one hand, a method for sending a signal light status is provided, which is applied to a first terminal, and the method includes:
[0006] Acquire signal light information, the signal light information including a state of at least one signal light and a distance from the first terminal to the at least one signal light, the state referring to a color and a reading of the signal light;
[0007] Encapsulating the signal light information and the terminal information of the first terminal to obtain broadcast information, wherein the terminal information includes the longitude and latitude and the azimuth of the first terminal, the longitude and latitude are used to indicate the location of the first terminal, and the azimuth is used to indicate the traveling direction of the first terminal;
[0008] A wireless signal carrying the broadcast information is sent to a target range in a beamforming manner, so that a second terminal receiving the wireless signal displays the state of the at least one signal light.
[0009] On the other hand, a signal light status sending device is provided, the device comprising:
[0010] A first acquisition module, configured to acquire signal light information, wherein the signal light information includes a state of at least one signal light and a distance from the first terminal to the at least one signal light, wherein the state refers to a color and a reading of the signal light;
[0011] an encapsulation module, configured to encapsulate the signal light information and the terminal information of the first terminal to obtain broadcast information, wherein the terminal information includes the longitude and latitude and the azimuth of the first terminal, the longitude and latitude are used to indicate the position of the first terminal, and the azimuth is used to indicate the traveling direction of the first terminal;
[0012] The sending module is used to send a wireless signal carrying the broadcast information to a target range by using beamforming, so that a second terminal receiving the wireless signal displays the state of the at least one signal light.
[0013] In some embodiments, the first acquisition module includes:
[0014] An acquisition unit, configured to acquire a signal light image, wherein the signal light image includes at least one signal light;
[0015] The first determining unit is configured to determine, for any traffic light, a distance from the traffic light to the first terminal and a state of the traffic light based on the traffic light image.
[0016] In some embodiments, the first determination unit is further used to determine the distance from the signal light to the first terminal based on the signal light image; in response to the distance being not greater than a distance threshold, determine the state of the signal light based on the signal light image.
[0017] In some embodiments, the first determining unit is further configured to ignore the signal light in response to the distance being greater than the distance threshold.
[0018] In some embodiments, the first acquisition module includes:
[0019] An acquisition unit, configured to acquire a signal light image, wherein the signal light image includes at least one signal light;
[0020] The first determining unit is further configured to determine a target signal light based on the signal light image, wherein the target signal light is a signal light having the shortest distance to the first terminal;
[0021] The first determining unit is further configured to determine a state of the target signal light based on the signal light image.
[0022] In some embodiments, the apparatus further comprises:
[0023] A second acquisition module, used to acquire the longitude and latitude of the first terminal from a positioning device, where the positioning device is used to determine the location of the terminal;
[0024] The third acquisition module is used to acquire the azimuth of the first terminal from a compass device, and the compass device is used to determine the moving direction of the terminal.
[0025] In some embodiments, the apparatus further comprises:
[0026] A first determining module, configured to determine a signal transmission direction based on a traveling direction of the first terminal, wherein the signal transmission direction is opposite to the traveling direction;
[0027] The second determination module is used to determine the target range based on the signal transmission direction and the signal transmission angle, wherein the target range is a fan-shaped range, the signal transmission direction is the center direction of the fan-shaped range, and the signal transmission angle is the angle of the fan-shaped range.
[0028] In some embodiments, the apparatus further comprises:
[0029] a parsing module, configured to, in response to receiving a wireless signal from a third terminal, parse the broadcast information carried by the wireless signal to obtain signal light information of the third terminal and terminal information of the third terminal;
[0030] a third determining module, configured to determine an angle between a traveling direction of the third terminal and a traveling direction of the first terminal based on the terminal information of the third terminal and the terminal information of the first terminal;
[0031] The display module is configured to display the state of the signal light based on the signal light information of the third terminal in response to the angle being within the angle range.
[0032] In some embodiments, the display module includes:
[0033] A second determining unit, configured to determine a terminal distance between the first terminal and the third terminal in response to the angle being within an angle range;
[0034] The display unit is configured to display the state of the signal light based on the signal light information of the third terminal in response to the terminal distance being within a distance threshold range.
[0035] In some embodiments, the display unit is further configured to ignore the wireless signal in response to the angle being not within the angle range or the terminal distance being not within the distance threshold range.
[0036] In some embodiments, the apparatus further comprises:
[0037] A receiving module, used for receiving a status acquisition request sent by a fourth terminal, wherein the status acquisition request is used for requesting the status of the signal light;
[0038] The sending module is further configured to send the signal light information to the fourth terminal based on the terminal information of the fourth terminal carried in the status acquisition request.
[0039] In some embodiments, the sending module is also used to determine the signal transmission direction based on the terminal information of the fourth terminal carried in the acquisition request, and the signal transmission direction is pointed from the first terminal to the fourth terminal; and use beamforming to send the wireless signal carrying the broadcast information along the signal transmission direction.
[0040] In some embodiments, the sending module is also used to send status sharing information to the server, and the status sharing information includes the traffic light information, the terminal information of the first terminal and the terminal information of the fourth terminal. The server sends the traffic light information to the fourth terminal based on the terminal information of the fourth terminal.
[0041] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory is used to store at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the signal light status sending method in the embodiment of the present application.
[0042] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the signal light status sending method in the embodiment of the present application.
[0043] On the other hand, a computer program product is provided, including a computer program, wherein the computer program is executed by a processor to implement the signal light status sending method in the embodiment of the present application.
[0044] The present application provides a method for sending a signal light status, which obtains signal light information through a first terminal and sends a wireless signal carrying the information to a target range, so that a rear terminal that receives the wireless signal can obtain the signal light status in advance, thereby ensuring the accuracy of the obtained signal light status and improving driving efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0046] Figure 1 It is a schematic diagram of an implementation environment of a method for sending a signal light status according to an embodiment of the present application;
[0047] Figure 2 is a flow chart of a method for sending a signal light status according to an embodiment of the present application;
[0048] Figure 3 is a flowchart of another method for sending a signal light status according to an embodiment of the present application;
[0049] Figure 4 is a schematic diagram of obtaining a signal light status according to an embodiment of the present application;
[0050] Figure 5 is a schematic diagram of sending a signal light status according to an embodiment of the present application;
[0051] Figure 6 This is a flow chart of sending a signal light status according to an embodiment of the present application;
[0052] Figure 7 is a flow chart of receiving a signal light status according to an embodiment of the present application;
[0053] Figure 8 is a block diagram of a signal light status sending device provided according to an embodiment of the present application;
[0054] Fig. 9 is a block diagram of another signal light status sending device provided according to an embodiment of the present application;
[0055] Fig.10 is a schematic diagram of the structure of a terminal provided according to an embodiment of the present application;
[0056] Fig.11 It is a structural diagram of a server provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0058] In this application, the terms "first", "second", etc. are used to distinguish identical or similar items with basically the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there any limitation on quantity and execution order.
[0059] In the present application, the term "at least one" means one or more, and the term "plurality" means two or more.
[0060] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the traffic light images involved in this application were obtained with full authorization.
[0061] Figure 1 Schematic diagram of an implementation environment of a signal light status sending method provided according to an embodiment of the present application. Figure 1 The implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 can be directly or indirectly connected via wired or wireless communication, which is not limited in this application.
[0062] In some embodiments, the terminal 101 is a mobile phone, a desktop computer, a laptop computer, a tablet computer, a smart watch, a vehicle-mounted terminal, etc. An application program can be installed and run on the terminal 101, and the application program can obtain signal light information and send wireless signals. The application program is associated with the server 102, and the server 102 provides background services to the terminal 101.
[0063] In some embodiments, the server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some embodiments, the terminal 101 sends a processing request for a traffic light image to the server 102. The server 102 processes the traffic light image in response to the processing request for the traffic light image to obtain traffic light information. The server 102 returns the traffic light information to the terminal 101.
[0064] In some embodiments, the server 102 undertakes the main computing work and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work and the terminal 101 undertakes the main computing work; or, the server 102 and the terminal 101 adopt a distributed computing architecture to perform collaborative computing.
[0065] Figure 2 is a flowchart of a signal light status sending method provided according to an embodiment of the present application, the method is applied to a first terminal, see Figure 2, the method comprises the following steps:
[0066] 201. Obtain traffic light information, where the traffic light information includes a state of at least one traffic light and a distance from a first terminal to the at least one traffic light, where the state refers to a color and a reading of the traffic light.
[0067] In an embodiment of the present application, the first terminal obtains traffic light information. The first terminal may be a vehicle-mounted terminal or a mobile terminal. The colors of the traffic lights include red, green and yellow. When the traffic light displays a reading, the reading of the traffic light is recorded as a non-negative integer; when the traffic light does not display a reading, the reading of the traffic light may be recorded as a negative integer. The distance from the first terminal to at least one traffic light may be recorded in "m" to indicate how many meters the distance is, or in "km" to indicate how many kilometers the distance is. For example, the traffic light information obtained by the first terminal is "red, 10, 30m", or the traffic light information is "red, 10, 3km; green, -1, 0.5km".
[0068] 202. Encapsulate the signal light information and the terminal information of the first terminal to obtain broadcast information, wherein the terminal information includes the longitude, latitude and azimuth of the first terminal, the longitude and latitude are used to indicate the position of the first terminal, and the azimuth is used to indicate the moving direction of the first terminal.
[0069] In the embodiment of the present application, the first terminal encapsulates the acquired signal light information and terminal information to obtain broadcast information. The forms of the broadcast information obtained by encapsulating using different encapsulation protocols may not be completely the same, and the embodiment of the present application does not require this. Optionally, the longitude and latitude are expressed in decimal.
[0070] 203. Send a wireless signal carrying broadcast information to a target range by using beamforming, so that a second terminal receiving the wireless signal displays a state of at least one signal light.
[0071] In an embodiment of the present application, the first terminal indiscriminately sends a wireless signal carrying broadcast information to a target range by using beamforming. After receiving the wireless signal, the second terminal within the target range can obtain the status of the traffic light by parsing the broadcast information, thereby sharing the status of the traffic light among the terminals. Among them, the use of beamforming technology can not only realize the directional transmission of wireless signals to the target range, but also improve the transmission quality of wireless signals. Among them, the target range is a sector-shaped range with the coordinates of the first terminal as the center. The terminals within the target range can receive the wireless signal sent by the first terminal and parse the broadcast information in the wireless signal. It should be noted that the second terminal can be a vehicle-mounted terminal or a mobile terminal, and the embodiment of the present application does not limit this.
[0072] An embodiment of the present application provides a method for sending a signal light status, which obtains signal light information through a first terminal and sends a wireless signal carrying the information to a target range, so that a rear terminal that receives the wireless signal can obtain the signal light status in advance, thereby ensuring the accuracy of the obtained signal light status and improving driving efficiency.
[0073] Figure 3 is a flowchart of another method for sending a signal light status according to an embodiment of the present application, the method is applied to a first terminal, see Figure 3 , the method comprises the following steps:
[0074] 301. Acquire a traffic light image, where the traffic light image includes at least one traffic light.
[0075] In an embodiment of the present application, the first terminal obtains a signal light image. The first terminal may be a vehicle-mounted terminal or a mobile terminal. The signal light image refers to an image containing at least one signal light on the road in front of the first terminal. The first terminal obtains the signal light image by directly photographing it with a camera in the first terminal, or by photographing it with a camera in any other terminal and then transmitting the signal light image to the first terminal. In this case, the longitude and latitude coordinates of any of the above terminals and the first terminal are required to be the same, so as to ensure that the first terminal can accurately determine the distance from the first terminal to the signal light based on the acquired signal light image.
[0076] For example, when the first terminal is a vehicle-mounted terminal (such as a vehicle computer), the image of the traffic light can be directly captured by the vehicle-mounted camera; the image of the traffic light can also be captured by the mobile phone camera of other terminals (such as mobile phones) and then transmitted to the first terminal. At this time, the mobile phone should be located in the vehicle. The mobile phone can transmit the image to the first terminal through the server. When the first terminal is a mobile terminal (such as a mobile phone), the first terminal can send a shooting request to the vehicle-mounted terminal (such as a vehicle computer), and the vehicle computer can capture the image of the traffic light through the vehicle-mounted camera. At this time, the mobile phone should be located in the vehicle.
[0077] 302. For any traffic light, determine a distance from the traffic light to the first terminal based on the traffic light image.
[0078] In an embodiment of the present application, the first terminal determines the distance from at least one signal light to the first terminal based on the signal light image. For any signal light, the first terminal can use image recognition technology to determine the distance from the signal light to the first terminal based on the depth of field of the signal light image and the position of the signal light in the signal light image. The distance from the first terminal to at least one signal light can be recorded in "m" to indicate the distance in meters, or in "km" to indicate the distance in kilometers.
[0079] For example, see Figure 4 As shown, Figure 4 This is a schematic diagram of obtaining a signal light status according to an embodiment of the present application. In the figure, there are three signal lights, "Signal Light 1", "Signal Light 2" and "Signal Light 3", in front of the first terminal. The first terminal obtains a signal light image containing the above three signal lights, and uses image recognition technology to identify the distances of the above three signal lights to the first terminal respectively.
[0080] It should be noted that the first terminal can also determine the distance from the signal light to the first terminal by obtaining the latitude and longitude coordinates of the signal light and the first terminal; the distance from the signal light to the first terminal can also be determined by technical means such as infrared ranging, and the embodiments of the present application do not limit this.
[0081] 303. In response to the distance being not greater than the distance threshold, determine a state of the traffic light based on the traffic light image.
[0082] In the embodiment of the present application, the reference value of the state of a traffic light that is too far away from the first terminal is relatively small compared to a traffic light that is shorter away from the first terminal. Therefore, in order to ensure the reliability of the traffic light state determined based on the traffic light image, a distance threshold is set to determine whether to determine the state of the traffic light.
[0083] When the distance from any signal light to the first terminal is less than the distance threshold, the first terminal uses image recognition technology to determine the state of the signal light based on the signal light image. The state of the signal light includes the color of the signal light and the reading of the signal light. The colors of the signal light include red, green and yellow. When the signal light displays the reading, the reading of the signal light is recorded as a non-negative integer; when the signal light does not display the reading, the reading of the signal light can be recorded as a negative integer.
[0084] For example, the first terminal determines that the traffic light state is "red, 10", indicating that the traffic light is red at this time and the countdown is 10s; or determines that the traffic light state is "green, -1", indicating that the traffic light is green at this time and no countdown is displayed.
[0085] In some embodiments, the distance from the signal light to the first terminal may be greater than a distance threshold. Accordingly, in response to the distance being greater than the distance threshold, the first terminal ignores the signal light.
[0086] When the signal light is too far away from the first terminal, the reference value to the first terminal is small, so there is no need to determine the state of the signal light and the signal light is ignored.
[0087] In some embodiments, the terminal may also only obtain the status of the signal light with the shortest distance to the first terminal. Accordingly, the first terminal obtains a signal light image, the signal light image includes at least one signal light; based on the signal light image, a target signal light is determined, the target signal light is the signal light with the shortest distance to the first terminal; based on the signal light image, the status of the target signal light is determined.
[0088] In order to simplify the processing, the first terminal may use image recognition technology to directly determine the target signal light with the shortest distance to the first terminal based on the depth of field of the image and the position of the signal light in the image.
[0089] 304. Encapsulate the signal light information and the terminal information of the first terminal to obtain broadcast information, wherein the terminal information includes the longitude, latitude and azimuth of the first terminal, the longitude and latitude are used to indicate the position of the first terminal, and the azimuth is used to indicate the moving direction of the first terminal.
[0090] In the embodiment of the present application, the forms of the broadcast information obtained by encapsulating using different encapsulation protocols may not be exactly the same, and the embodiment of the present application does not require this. Optionally, the direction of travel of the first terminal may be represented by an azimuth, or the north direction may be used as a reference, the north-east direction may be recorded as a positive degree, and the north-west direction may be set as a negative degree. It should be noted that the embodiment of the present application does not limit this.
[0091] In some embodiments, the terminal information of the first terminal is obtained from other devices. Accordingly, the longitude and latitude of the first terminal are obtained from a positioning device, and the positioning device is used to determine the location of the terminal; the azimuth of the first terminal is obtained from a compass device, and the compass device is used to determine the direction of travel of the terminal. Among them, the positioning device and the compass device can be devices in the first terminal or external devices connected to the first terminal. The positioning device refers to a device that locates the location of the chip based on the communication between the satellite and the chip. In the embodiment of the present application, the chip should be located on the first terminal.
[0092] 305. Send a wireless signal carrying broadcast information to a target range by using beamforming, so that a second terminal receiving the wireless signal displays a state of at least one signal light.
[0093] In the embodiment of the present application, the first terminal indiscriminately sends a wireless signal carrying broadcast information to the target range by beamforming. After receiving the wireless signal, the second terminal in the target range can obtain the signal light status, thereby realizing the sharing of the signal light status among the terminals.
[0094] Among them, the use of beamforming technology can not only realize the directional transmission of wireless signals to the target range, but also improve the transmission quality of wireless signals. Terminals located in the target range have the authority to receive and parse the wireless signals sent by the first terminal, and terminals located outside the target range cannot receive the wireless signals sent by the first terminal. In order to effectively reduce interference to adjacent terminals and relative terminals, the first terminal usually sends wireless signals in the direction opposite to the direction of travel. It should be noted that the second terminal can be a vehicle-mounted terminal or a mobile terminal, and the embodiments of the present application are not limited to this.
[0095] In some embodiments, based on the direction of travel of the first terminal, the first terminal determines the target range. Accordingly, based on the direction of travel of the first terminal, the first terminal determines the signal transmission direction, which is opposite to the direction of travel; based on the signal transmission direction and the signal transmission angle, the first terminal determines the target range, which is a fan-shaped range, the signal transmission direction is the center direction of the fan-shaped range, and the signal transmission angle is the angle of the fan-shaped range.
[0096] See for example Figure 5 As shown, Figure 5 It is a schematic diagram of a signal light status transmission provided according to an embodiment of the present application. In the figure, the first terminal sends a wireless signal to a target range behind, and the target range is a fan-shaped range between two dotted lines in the figure. The second terminal located in the target range can receive the wireless signal sent by the first terminal, and the nth terminal located outside the target range cannot receive the wireless signal sent by the first terminal.
[0097] To make the process of signal light status transmission clearer, see Figure 6 As shown, Figure 6 It is a flowchart of sending a signal light status according to an embodiment of the present application. The first terminal executes step 601 to obtain the signal light status and the distance from the signal light to the first terminal. The first terminal executes step 602 to determine whether the distance from the signal light to the first terminal exceeds the distance threshold. If the distance exceeds the distance threshold, the first terminal executes step 604 to ignore the signal light. After a certain time interval, the first terminal re-executes step 601. If the distance does not exceed the distance threshold, the first terminal executes step 603 to obtain the terminal information of the first terminal; then executes step 605 to encapsulate the information; and then executes step 606 to send a wireless signal. After a certain time interval, the first terminal re-executes step 601.
[0098] 306. In response to receiving the wireless signal from the third terminal, parse the broadcast information carried by the wireless signal to obtain the signal light information of the third terminal and the terminal information of the third terminal.
[0099] In an embodiment of the present application, after receiving a wireless signal sent by a third terminal, the first terminal parses the broadcast information carried by the wireless signal. The first terminal is within the target range of the third terminal for sending wireless signals. The third terminal can be a vehicle-mounted terminal or a mobile terminal, which is not limited in the embodiment of the present application.
[0100] It should be noted that in some possible situations, after the first terminal receives the wireless signal sent by the third terminal, it is unable to parse the broadcast information carried by the wireless signal. In this case, the first terminal ignores the wireless signal and waits to receive a new signal again.
[0101] 307. Determine an angle between a moving direction of the third terminal and a moving direction of the first terminal based on the terminal information of the third terminal and the terminal information of the first terminal.
[0102] In the embodiment of the present application, based on the azimuth of the third terminal and the azimuth of the first terminal, the first terminal determines the angle between the travel direction of the third terminal and the travel direction of the first terminal. For example, if the azimuth of the third terminal is 1° and the azimuth of the first terminal is 359°, then it can be determined that the angle between the travel directions of the two is 2°.
[0103] 308. In response to the included angle being within the included angle range, determine a terminal distance between the first terminal and the third terminal.
[0104] In the embodiment of the present application, when the angle is within the angle range, the first terminal determines the terminal distance to the third terminal based on the latitude and longitude of the third terminal and the latitude and longitude of the first terminal. The terminal distance can be recorded in "m" units, indicating how many meters the distance is, or in "km" units, indicating how many kilometers the distance is.
[0105] 309. In response to the terminal distance being within the distance threshold range, display the state of the signal light based on the signal light information of the third terminal.
[0106] In the embodiment of the present application, the status of the signal light may be displayed in the display device of the first terminal, or the first terminal may send the information to other terminals and display it in the other terminals. The embodiment of the present application does not limit this.
[0107] The distance threshold range is used to indicate the distance range within which the first terminal can receive the wireless signal. It should be noted that the maximum value of the distance threshold range should not be set too large, otherwise the range within which the first terminal can receive the wireless signal will be too large, and the first terminal will receive the wireless signal of the signal light status with a small reference value, thereby causing unnecessary interference.
[0108] Optionally, the setting of the distance threshold range can be adjusted according to the moving speed and surrounding environment of the first terminal. For example, when the road conditions around the first terminal are good and it can move normally and quickly, the demand for the traffic light information ahead is small, and the distance threshold can be lowered to only receive wireless signals carrying traffic light status with greater reference value; when there is a traffic jam around the first terminal, in order to provide more sufficient traffic light information, the distance threshold can be increased, so that the first terminal can re-plan the route based on more sufficient traffic light information.
[0109] In some embodiments, the angle or the terminal distance may not be within the range. Accordingly, the first terminal ignores the wireless signal in response to the angle not being within the angle range, or the terminal distance not being within the distance threshold range. Among them, when the angle exceeds the angle range, it means that the first terminal and the third terminal are traveling in different directions. At this time, the traffic light information carried in the wireless signal sent by the third terminal has little reference value to the first terminal, so the wireless signal is ignored. For example, the first terminal is traveling straight north on Road 1. At this time, the azimuth of the first terminal is 0°. The third terminal turns right on Road 1 and is about to enter Road 2. At this time, the azimuth of the third terminal is 45°. It can be determined that the angle between the two directions of travel is 45°. At this time, the wireless signal sent by the third terminal carries the traffic light information on Road 2, which has little reference value to the first terminal, so the wireless signal is ignored and waits for receiving a new signal again.
[0110] It should be noted that when the angle is not within the angle range, or the terminal distance is not within the distance threshold range, the first terminal may also display the state of the signal light based on the signal light information of the third terminal. Although the signal light information carried in the wireless signal sent by the third terminal at this time has little reference value to the first terminal, it can enable the first terminal to understand the surrounding road conditions. Therefore, the embodiments of the present application do not limit this.
[0111] To make the process of receiving the signal light status clearer, see Figure 7 As shown, Figure 7It is a flowchart of a signal light status reception provided according to an embodiment of the present application. In response to receiving a wireless signal from a third terminal, the first terminal executes step 701, parses the broadcast information, and obtains the signal light information of the third terminal and the terminal information of the third terminal. The first terminal executes step 702 to obtain the terminal information of the first terminal. The first terminal executes step 703 to determine whether the angle between the travel direction of the third terminal and the first terminal is within the angle range. If the angle is not within the angle range, the first terminal executes step 704 to ignore the wireless signal. After a certain time interval, in response to receiving a wireless signal from the third terminal, the first terminal re-executes step 701. If the angle is within the angle range, the first terminal executes step 705 to determine whether the terminal distance between the first terminal and the third terminal is within the distance threshold range. If the distance is not within the distance threshold range, the first terminal executes step 706 to ignore the wireless signal. After a certain time interval, in response to receiving a wireless signal from the third terminal, the first terminal re-executes step 701. If the distance is within the distance threshold range, the first terminal executes step 707 to display the status of the signal light.
[0112] In some embodiments, based on the received signal light status acquisition request, the first terminal sends signal light information. Correspondingly, the first terminal receives a status acquisition request sent by the fourth terminal, and the status acquisition request is used to request the status of the signal light; based on the terminal information of the fourth terminal carried in the status acquisition request, the first terminal sends the signal light information to the fourth terminal. Among them, the fourth terminal can be a vehicle-mounted terminal or a mobile terminal. The first terminal receives the status acquisition request sent by the fourth terminal, which can be a wireless signal carrying the status acquisition request sent by the fourth terminal, or a status acquisition request sent by the server, which is not limited in this embodiment of the present application. The status request includes the terminal information of the fourth terminal.
[0113] In some embodiments, based on the information carried in the signal light status acquisition request, the first terminal sends the wireless signal in a direction. Accordingly, based on the terminal information of the fourth terminal carried in the acquisition request, the first terminal determines the signal transmission direction, and the signal transmission direction is directed from the first terminal to the fourth terminal; the first terminal uses beamforming to send the wireless signal carrying the broadcast information along the signal transmission direction.
[0114] In some embodiments, the first terminal sends the signal light information through the server. Accordingly, the first terminal sends the state sharing information to the server, the state sharing information includes the signal light information, the terminal information of the first terminal and the terminal information of the fourth terminal, and the server sends the signal light information to the fourth terminal based on the terminal information of the fourth terminal.
[0115] An embodiment of the present application provides a method for sending a signal light status, which obtains signal light information through a first terminal and sends a wireless signal carrying the information to a target range, so that a rear terminal that receives the wireless signal can obtain the signal light status in advance, thereby ensuring the accuracy of the obtained signal light status and improving driving efficiency.
[0116] Figure 8 is a block diagram of a signal light status sending device provided according to an embodiment of the present application. The device is used to execute the steps of the signal light status sending method described above, see Figure 8 The signal light status sending device includes: a first acquisition module 801, a packaging module 802 and a sending module 803.
[0117] A first acquisition module 801 is used to acquire signal light information, where the signal light information includes a state of at least one signal light and a distance from the first terminal to the at least one signal light, where the state refers to a color and a reading of the signal light;
[0118] The encapsulation module 802 is used to encapsulate the signal light information and the terminal information of the first terminal to obtain broadcast information, wherein the terminal information includes the longitude and latitude and the azimuth of the first terminal, the longitude and latitude are used to indicate the location of the first terminal, and the azimuth is used to indicate the traveling direction of the first terminal;
[0119] The sending module 803 is used to send a wireless signal carrying the broadcast information to a target range by using beamforming, so that a second terminal receiving the wireless signal displays the state of the at least one signal light.
[0120] In some embodiments, Fig. 9 is a block diagram of another signal light status sending device provided according to an embodiment of the present application. Fig. 9 As shown, the device also includes:
[0121] In some embodiments, the first acquisition module 801 includes:
[0122] An acquisition unit 901 is used to acquire a traffic light image, where the traffic light image includes at least one traffic light;
[0123] The first determining unit 902 is configured to determine, for any traffic light, a distance from the traffic light to the first terminal and a state of the traffic light based on the traffic light image.
[0124] In some embodiments, the first determination unit 902 is further used to determine the distance from the signal light to the first terminal based on the signal light image; in response to the distance being not greater than a distance threshold, determine the state of the signal light based on the signal light image.
[0125] In some embodiments, the first determining unit 902 is further configured to ignore the signal light in response to the distance being greater than the distance threshold.
[0126] In some embodiments, the first acquisition module 801 further includes:
[0127] An acquisition unit 901 is used to acquire a traffic light image, where the traffic light image includes at least one traffic light;
[0128] The first determining unit 902 is further configured to determine a target signal light based on the signal light image, wherein the target signal light is a signal light having the shortest distance to the first terminal;
[0129] The first determining unit 902 is further configured to determine a state of the target traffic light based on the traffic light image.
[0130] In some embodiments, the apparatus further comprises:
[0131] A second acquisition module 903, configured to acquire the longitude and latitude of the first terminal from a positioning device, wherein the positioning device is used to determine the position of the terminal;
[0132] The third acquisition module 904 is used to acquire the azimuth of the first terminal from a compass device, and the compass device is used to determine the moving direction of the terminal.
[0133] In some embodiments, the apparatus further comprises:
[0134] A first determining module 905, configured to determine a signal transmission direction based on a traveling direction of the first terminal, wherein the signal transmission direction is opposite to the traveling direction;
[0135] The second determination module 906 is used to determine the target range based on the signal transmission direction and the signal transmission angle, wherein the target range is a fan-shaped range, the signal transmission direction is the center direction of the fan-shaped range, and the signal transmission angle is the angle of the fan-shaped range.
[0136] In some embodiments, the apparatus further comprises:
[0137] The parsing module 907 is used for parsing the broadcast information carried by the wireless signal in response to receiving the wireless signal of the third terminal, and obtaining the signal light information of the third terminal and the terminal information of the third terminal;
[0138] A third determining module 908, configured to determine an angle between a traveling direction of the third terminal and a traveling direction of the first terminal based on the terminal information of the third terminal and the terminal information of the first terminal;
[0139] The display module 909 is configured to display the state of the signal light based on the signal light information of the third terminal in response to the angle being within the angle range.
[0140] In some embodiments, the display module 909 includes:
[0141] A second determining unit 910, configured to determine a terminal distance between the first terminal and the third terminal in response to the angle being within an angle range;
[0142] The display unit 911 is configured to display the state of the signal light based on the signal light information of the third terminal in response to the terminal distance being within a distance threshold range.
[0143] In some embodiments, the display unit 911 is further configured to ignore the wireless signal in response to the angle being not within the angle range or the terminal distance being not within the distance threshold range.
[0144] In some embodiments, the apparatus further comprises:
[0145] A receiving module 912, configured to receive a status acquisition request sent by a fourth terminal, wherein the status acquisition request is used to request the status of the signal light;
[0146] The sending module 803 is further configured to send the signal light information to the fourth terminal based on the terminal information of the fourth terminal carried in the status acquisition request.
[0147] In some embodiments, the sending module 803 is also used to determine the signal transmission direction based on the terminal information of the fourth terminal carried in the acquisition request, and the signal transmission direction is pointed from the first terminal to the fourth terminal; and use beamforming to send the wireless signal carrying the broadcast information along the signal transmission direction.
[0148] In some embodiments, the sending module 803 is also used to send status sharing information to the server, and the status sharing information includes the traffic light information, the terminal information of the first terminal and the terminal information of the fourth terminal. The server sends the traffic light information to the fourth terminal based on the terminal information of the fourth terminal.
[0149] The present application provides a signal light status sending device, which obtains signal light information through a first terminal and sends a wireless signal carrying the information to a target range, so that a rear terminal that receives the wireless signal can obtain the signal light status in advance, thereby ensuring the accuracy of the obtained signal light status and improving driving efficiency.
[0150] It should be noted that: the signal light status sending device provided in the above embodiment only uses the division of the above functional modules as an example when running an application. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the signal light status sending device provided in the above embodiment and the signal light status sending method embodiment belong to the same concept, and the specific implementation process is shown in the method embodiment, which will not be repeated here.
[0151] Fig.10 1 is a schematic diagram of a terminal structure provided according to an embodiment of the present application. The terminal 1000 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 1000 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0152] Typically, the terminal 1000 includes a processor 1001 and a memory 1002 .
[0153] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0154] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one computer program, which is used to be executed by the processor 1001 to implement the signal light status sending method provided in the method embodiment of the present application.
[0155] In some embodiments, the terminal 1000 may further optionally include: a peripheral device interface 1003 and at least one peripheral device. The processor 1001, the memory 1002 and the peripheral device interface 1003 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1003 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007 and a power supply 1008.
[0156] The peripheral device interface 1003 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral device interface 1003 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0157] The radio frequency circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1004 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. In some embodiments, the radio frequency circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1004 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1004 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0158] The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to collect touch signals on the surface or above the surface of the display screen 1005. The touch signal can be input to the processor 1001 as a control signal for processing. At this time, the display screen 1005 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1005 can be one, arranged on the front panel of the terminal 1000; in other embodiments, the display screen 1005 can be at least two, respectively arranged on different surfaces of the terminal 1000 or in a folding design; in other embodiments, the display screen 1005 can be a flexible display screen, arranged on a curved surface or a folding surface of the terminal 1000. Even, the display screen 1005 can also be arranged as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 1005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0159] The camera assembly 1006 is used to capture images or videos. In some embodiments, the camera assembly 1006 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal, and the rear camera is disposed on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash may be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0160] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1001 for processing, or input them into the radio frequency circuit 1004 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1000. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1007 may also include a headphone jack.
[0161] The power supply 1008 is used to power various components in the terminal 1000. The power supply 1008 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1008 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0162] In some embodiments, the terminal 1000 further includes one or more sensors 1009 . The one or more sensors 1009 include, but are not limited to: an acceleration sensor 1010 , a gyroscope sensor 1011 , a pressure sensor 1012 , an optical sensor 1013 , and a proximity sensor 1014 .
[0163] The acceleration sensor 1010 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1000. For example, the acceleration sensor 1010 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1001 can control the display screen 1005 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1010. The acceleration sensor 1010 can also be used for collecting game or user motion data.
[0164] The gyro sensor 1011 can detect the body direction and rotation angle of the terminal 1000, and the gyro sensor 1011 can cooperate with the acceleration sensor 1010 to collect the user's 3D actions on the terminal 1000. The processor 1001 can implement the following functions based on the data collected by the gyro sensor 1011: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0165] The pressure sensor 1012 can be set in the side frame of the terminal 1000 and / or the lower layer of the display screen 1005. When the pressure sensor 1012 is set in the side frame of the terminal 1000, it can detect the user's holding signal of the terminal 1000, and the processor 1001 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1012. When the pressure sensor 1012 is set in the lower layer of the display screen 1005, the processor 1001 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1005. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0166] The optical sensor 1013 is used to collect the ambient light intensity. In one embodiment, the processor 1001 can control the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1013. Optionally, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is decreased. In another embodiment, the processor 1001 can also dynamically adjust the shooting parameters of the camera assembly 1009 according to the ambient light intensity collected by the optical sensor 1013.
[0167] The proximity sensor 1014, also called a distance sensor, is disposed on the front panel of the terminal 1000. The proximity sensor 1014 is used to collect the distance between the user and the front of the terminal 1000. In one embodiment, when the proximity sensor 1014 detects that the distance between the user and the front of the terminal 1000 is gradually decreasing, the processor 1001 controls the display screen 1005 to switch from the screen-on state to the screen-off state; when the proximity sensor 1014 detects that the distance between the user and the front of the terminal 1000 is gradually increasing, the processor 1001 controls the display screen 1005 to switch from the screen-off state to the screen-on state.
[0168] Those skilled in the art will understand that Fig.10 The structure shown in the figure does not constitute a limitation on the terminal 1000, and the terminal 1000 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0169] Fig.11 It is a structural diagram of a server provided according to an embodiment of the present application. The server 1100 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1101 and one or more memories 1102, wherein the memory 1102 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 1101 to implement the signal light status sending method provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be repeated here.
[0170] The embodiment of the present application also provides a computer-readable storage medium, in which at least one computer program is stored, and the at least one computer program is loaded and executed by a processor to implement the signal light status sending method in the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device.
[0171] The embodiment of the present application also provides a computer program product, including a computer program, which is executed by a processor to implement the signal light status sending method in the embodiment of the present application.
[0172] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0173] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for sending a signal light status, characterized in that: Applied to a first terminal, the method includes: Acquire signal light information, the signal light information including a state of at least one signal light and a distance from the first terminal to the at least one signal light, the state referring to a color and a reading of the signal light; Encapsulating the signal light information and the terminal information of the first terminal to obtain broadcast information, wherein the terminal information includes the longitude and latitude and the azimuth of the first terminal, the longitude and latitude are used to indicate the location of the first terminal, and the azimuth is used to indicate the traveling direction of the first terminal; A wireless signal carrying the broadcast information is sent to a target range in a beamforming manner, so that a second terminal receiving the wireless signal displays the state of the at least one signal light.
2. The method according to claim 1, characterized in that The step of obtaining the signal light information includes: Acquire a traffic light image, wherein the traffic light image includes at least one traffic light; For any traffic light, based on the traffic light image, the distance from the traffic light to the first terminal and the state of the traffic light are determined.
3. The method according to claim 2, characterized in that The determining, based on the signal light image, a distance from the signal light to the first terminal and a state of the signal light includes: Determining a distance from the signal light to the first terminal based on the signal light image; In response to the distance being not greater than a distance threshold, determining a state of the signal light based on the signal light image.
4. The method according to claim 3, characterized in that The method further comprises: In response to the distance being greater than the distance threshold, the signal light is ignored.
5. The method according to claim 1, characterized in that The step of obtaining the signal light information includes: Acquire a traffic light image, wherein the traffic light image includes at least one traffic light; Determine a target signal light based on the signal light image, where the target signal light is a signal light with the shortest distance to the first terminal; Based on the signal light image, a state of the target signal light is determined.
6. The method according to claim 1, characterized in that The method further comprises: Acquire the longitude and latitude of the first terminal from a positioning device, where the positioning device is used to determine the location of the terminal; The azimuth of the first terminal is acquired from a compass device, where the compass device is used to determine the direction of travel of the terminal.
7. The method according to claim 1, characterized in that The method further comprises: Determine a signal transmission direction based on a traveling direction of the first terminal, wherein the signal transmission direction is opposite to the traveling direction; The target range is determined based on the signal transmission direction and the signal transmission angle, wherein the target range is a fan-shaped range, the signal transmission direction is a central direction of the fan-shaped range, and the signal transmission angle is an angle of the fan-shaped range.
8. The method according to claim 1, characterized in that: The method further comprises: In response to receiving a wireless signal from a third terminal, parsing broadcast information carried by the wireless signal to obtain signal light information of the third terminal and terminal information of the third terminal; Determine, based on the terminal information of the third terminal and the terminal information of the first terminal, an angle between a traveling direction of the third terminal and a traveling direction of the first terminal; In response to the angle being within the angle range, the state of the signal light is displayed based on the signal light information of the third terminal.
9. The method according to claim 8, characterized in that In response to the angle being within the angle range, displaying the state of the signal light based on the signal light information of the third terminal includes: In response to the angle being within the angle range, determining a terminal distance between the first terminal and the third terminal; In response to the terminal distance being within a distance threshold range, the state of the signal light is displayed based on the signal light information of the third terminal.
10. The method according to claim 9, characterized in that The method further comprises: In response to the angle being not within the angle range, or the terminal distance being not within the distance threshold range, ignoring the wireless signal.
11. The method according to claim 1, characterized in that The method further comprises: receiving a status acquisition request sent by a fourth terminal, wherein the status acquisition request is used to request a status of a signal light; Based on the terminal information of the fourth terminal carried in the status acquisition request, the signal light information is sent to the fourth terminal.
12. The method according to claim 11, characterized in that The sending the signal light information to the fourth terminal based on the terminal information of the fourth terminal carried in the acquisition request includes: Determine a signal transmission direction based on the terminal information of the fourth terminal carried in the acquisition request, where the signal transmission direction is from the first terminal to the fourth terminal; The wireless signal carrying the broadcast information is sent along the signal transmission direction in a beamforming manner.
13. The method according to claim 11, characterized in that The sending the signal light information to the fourth terminal based on the terminal information of the fourth terminal carried in the acquisition request includes: Sending status sharing information to a server, the status sharing information including the traffic light information, terminal information of the first terminal and terminal information of the fourth terminal, and the server sending the traffic light information to the fourth terminal based on the terminal information of the fourth terminal.
14. A signal light status sending device, characterized in that: The device comprises: A first acquisition module, configured to acquire signal light information, wherein the signal light information includes a state of at least one signal light and a distance from the first terminal to the at least one signal light, wherein the state refers to a color and a reading of the signal light; an encapsulation module, configured to encapsulate the signal light information and the terminal information of the first terminal to obtain broadcast information, wherein the terminal information includes the longitude and latitude and the azimuth of the first terminal, the longitude and latitude are used to indicate the position of the first terminal, and the azimuth is used to indicate the traveling direction of the first terminal; The sending module is used to send a wireless signal carrying the broadcast information to a target range by using beamforming, so that a second terminal receiving the wireless signal displays the state of the at least one signal light.
15. A computer device, characterized in that: The computer device comprises a processor and a memory, wherein the memory is used to store at least one computer program, and the at least one computer program is loaded by the processor and executes the signal light status sending method according to any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store at least one computer program, and the at least one computer program is used to execute the signal light status sending method according to any one of claims 1 to 13.
17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the signal light status sending method according to any one of claims 1 to 13 is implemented.