CN117636672A - Traffic signal lamp state processing method, device, equipment and storage medium - Google Patents

Traffic signal lamp state processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN117636672A
CN117636672A CN202210981334.6A CN202210981334A CN117636672A CN 117636672 A CN117636672 A CN 117636672A CN 202210981334 A CN202210981334 A CN 202210981334A CN 117636672 A CN117636672 A CN 117636672A
Authority
CN
China
Prior art keywords
vehicle
traffic signal
signal lamp
time
target traffic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210981334.6A
Other languages
Chinese (zh)
Inventor
张翼鹏
张云飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202210981334.6A priority Critical patent/CN117636672A/en
Publication of CN117636672A publication Critical patent/CN117636672A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The application provides a traffic signal lamp state processing method, a device, equipment and a storage medium, and relates to the technical field of internet of vehicles, wherein the traffic signal lamp state processing method comprises the following steps: determining signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp; acquiring first state information of a target traffic signal lamp at a target traffic signal lamp end; and determining second state information of the target traffic signal lamp at the vehicle end according to the first state information and the signal unidirectional transmission time. The second state information of the target traffic signal lamp at the vehicle end, which is obtained by the vehicle-mounted terminal, is synchronous with the first state information of the target traffic signal lamp at the target traffic signal lamp end, so that accurate driving of the vehicle can be ensured.

Description

Traffic signal lamp state processing method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of Internet of vehicles, in particular to a traffic signal lamp state processing method, a traffic signal lamp state processing device, traffic signal lamp state processing equipment and a storage medium.
Background
The state information push of the traffic signal lamp is one of important application scenes of the internet of vehicles. The state information push of the traffic signal lamp can be realized based on the 4th generation (the 4th Generation,4G) or 5th generation (the 5th Generation,5G) mobile communication mode at present, and the principle is as follows: the traffic signal lamp corresponding annunciator can transmit the state information of the traffic signal lamp to the cloud end through a 4G/5G communication mode, and the cloud end forwards the state information to the vehicle-mounted terminal so as to enable a driver to drive a vehicle or enable the vehicle-mounted terminal to realize automatic driving.
However, since the traffic signal has a certain distance from the vehicle, the state information needs a certain time during transmission, so that the state information of the traffic signal obtained by the vehicle-mounted terminal is not synchronous with the state information of the actual traffic signal, and the driving condition of the vehicle or the automatic driving condition of the vehicle-mounted terminal is affected.
Disclosure of Invention
The application provides a traffic signal lamp state processing method, device, equipment and storage medium, so that the state information of a traffic signal lamp obtained by a vehicle-mounted terminal is synchronous with the state information of an actual traffic signal lamp, and the accurate driving of a vehicle can be ensured.
In a first aspect, an embodiment of the present application provides a traffic light status processing method, where the method is applied to a vehicle terminal, and the method includes: determining signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp; acquiring first state information of a target traffic signal lamp at a target traffic signal lamp end; and determining second state information of the target traffic signal lamp at the vehicle end according to the first state information and the signal unidirectional transmission time.
In a second aspect, an embodiment of the present application provides a vehicle-mounted terminal, including: the system comprises a determining module and an acquisition module, wherein the determining module is used for determining the unidirectional signal transmission time between the vehicle-mounted terminal and the target traffic signal lamp; the acquisition module is used for acquiring first state information of the target traffic signal lamp at the target traffic signal lamp end; the determining module is also used for determining second state information of the target traffic signal lamp at the vehicle end according to the first state information and the signal unidirectional transmission time.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory for storing a computer program, the processor being for invoking and running the computer program stored in the memory for performing the method as in the first aspect or in various implementations thereof.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program which, when run on a computer, causes the computer to perform a method as in the first aspect or implementations thereof.
In a fifth aspect, embodiments of the present application provide a computer program product comprising computer program instructions which, when run on a computer, cause the computer to perform the method as in the first aspect or implementations thereof.
The application provides a traffic signal lamp state processing method, a device, equipment and a storage medium, wherein the method can comprise the following steps: determining signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp; acquiring first state information of a target traffic signal lamp at a target traffic signal lamp end; and determining second state information of the target traffic signal lamp at the vehicle end according to the first state information and the signal unidirectional transmission time. The method and the system can realize the synchronization of the state information of the traffic signal lamp obtained by the vehicle-mounted terminal and the state information of the actual traffic signal lamp, thereby ensuring the accurate driving of the vehicle.
Drawings
Fig. 1 is a schematic diagram of state information dyssynchrony of a traffic signal provided by the related art;
fig. 2 is a schematic diagram of status information synchronization of traffic lights according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a traffic signal system architecture according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another traffic signal system architecture according to an embodiment of the present disclosure;
fig. 5 is a flowchart of a traffic light status processing method according to an embodiment of the present application;
FIG. 6 is an interactive flowchart of a traffic light status processing method according to an embodiment of the present application;
FIG. 7 is a flowchart of another traffic light status processing method according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a vehicle-mounted terminal 800 provided in an embodiment of the present application;
fig. 9 is a schematic block diagram of an electronic device 900 provided by an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
As described above, since the traffic signal has a certain distance from the vehicle, the state information needs a certain time during transmission, which results in that the state information of the traffic signal obtained by the vehicle-mounted terminal is not synchronous with the state information of the actual traffic signal, thereby affecting the driving condition of the vehicle or the automatic driving condition of the vehicle-mounted terminal. For example, fig. 1 is a schematic diagram of the state information of a traffic light provided by the related art, as shown in fig. 1, assuming that the current light color of the traffic light on the traffic light side is red light and the remaining time is 3 seconds, since a certain distance exists between the traffic light corresponding to the traffic light and the vehicle, a certain time is required for transmitting the state information of the traffic light, that is, a certain time delay exists between the state information of the traffic light obtained by the vehicle-mounted terminal and the state information of the actual traffic light, so that the current light color of the traffic light obtained by the vehicle-mounted terminal is red light, but the remaining time is 4 seconds.
In order to solve the technical problem, the application provides time compensation for the state information of the traffic signal lamp of the vehicle end, so that the state information of the traffic signal lamp of the vehicle end and the state information of the traffic signal lamp end are kept synchronous, and accurate driving of a vehicle is guaranteed. For example, fig. 2 is a schematic diagram of synchronization of state information of a traffic light provided in an embodiment of the present application, as shown in fig. 2, assuming that a current light color of the traffic light on the traffic light side is red light and the remaining time is 3 seconds, since a certain distance is provided between a traffic light corresponding to the traffic light and a vehicle, a certain time is required for transmitting the state information of the traffic light, the present application proposes to perform time compensation on the state information of the traffic light on the vehicle end, so that the state information of the traffic light on the vehicle end is kept synchronous with the state information of the traffic light on the traffic light end, that is, the current light color of the traffic light obtained by the vehicle-mounted terminal is red light and the remaining time is 3 seconds.
The technical scheme can be applied to the following scenes, but is not limited to the following: the vehicle approaches the intersection with the traffic signal lamp from a distance, and the driver cannot directly see the traffic signal lamp due to the fact that the distance between the vehicle and the traffic signal lamp is far, or due to the fact that a large vehicle is blocked, and the like, the vehicle-mounted terminal can obtain the state information of the traffic signal lamp through the communication of the internet of vehicles and display the state information of the traffic signal lamp, so that the driver can control the vehicle according to the state information of the traffic signal lamp in advance, for example, the speed of the vehicle is adjusted, the vehicle is prevented from passing through the traffic light intersection without stopping, or the phenomenon that the vehicle is not braked timely due to sudden lamp changing when approaching the intersection is avoided. Or, for the automatic driving vehicle, the vehicle-mounted terminal can obtain the state information of the traffic signal lamp through the communication of the internet of vehicles, and control the running condition of the vehicle according to the state information of the traffic signal lamp.
The technical scheme of the application can be applied to the traffic signal lamp system shown in fig. 3 and 4, and is specifically as follows:
fig. 3 is a schematic diagram of a traffic signal system architecture according to an embodiment of the present application, as shown in fig. 3, where the traffic signal system includes: traffic light 310, traffic light 310 corresponds signal 320, basic station 330, car networking cloud platform 340, car enterprise platform 350, basic station 360 and vehicle 370. The traffic signal 310 may correspond to the traffic signal 320, the traffic signal 310 may be set on the traffic signal 310, the traffic signal 320 may acquire state information of the traffic signal 310, and may send the acquired state information of the traffic signal 310 to the internet of vehicles cloud platform 340, the internet of vehicles cloud platform 340 may issue the state information of the traffic signal 310 to the enterprise of vehicles platform 350, the enterprise of vehicles platform 350 may issue the state information of the traffic signal 310 to the vehicle 370 through the base station 360, and may issue the state information to the vehicle terminal in the vehicle 370.
Fig. 4 is a schematic diagram of another traffic signal system architecture according to an embodiment of the present application, as shown in fig. 4, where the traffic signal system includes: traffic light 410, traffic light 410 corresponds signal 420, base station 430, networking cloud platform 440, base station 450 and vehicle 460. The traffic signal lamp 410 corresponding signal machine 420 can be arranged on the traffic signal lamp 410, the signal machine 420 can acquire the state information of the traffic signal lamp 410, the acquired state information of the traffic signal lamp 410 can be sent to the internet of vehicles cloud platform 440, the internet of vehicles cloud platform 440 can send the state information of the traffic signal lamp 410 to the vehicle 460 through the base station 450, and particularly can be sent to a vehicle-mounted terminal in the vehicle 460.
The following description is made with respect to the traffic signal system shown in fig. 3 and 4:
optionally, communication between the annunciator and the base station and between the base station and the vehicle can be realized by adopting a wireless communication technology, for example, communication can be realized by 4G or 5G, and transmission between the cloud platform of the vehicle network and the base station, and between the cloud platform of the vehicle enterprise and the base station can be realized by an internet protocol (Internet Protocol, IP) network and a core network, and transmission between the cloud platform of the vehicle network and the vehicle enterprise platform can be realized by an IP network.
Alternatively, the base station may be an evolved base station (Evolutional Node B, eNB or eNodeB) in a long term evolution (Long Term Evolution, LTE) system, or a base station in a New Radio (NR) system.
Optionally, the internet of vehicles cloud platform may be a cloud server that provides cloud computing services. Of course, the cloud platform of the internet of vehicles can also be replaced by an independent physical server or a server cluster or a distributed system formed by a plurality of physical servers.
Optionally, the vehicle enterprise platform may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server for providing cloud computing services.
The technical scheme of the application will be described in detail as follows:
fig. 5 is a flowchart of a traffic light status processing method provided in an embodiment of the present application, where the method may be performed by a vehicle terminal, as shown in fig. 5, and the method may include:
s510: determining signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp;
s520: acquiring first state information of a target traffic signal lamp at a target traffic signal lamp end;
s530: and determining second state information of the target traffic signal lamp at the vehicle end according to the first state information and the signal unidirectional transmission time.
It should be understood that the target traffic signal herein refers to a target traffic signal located in front of the vehicle in which the in-vehicle terminal is located, that is, a traffic signal nearest to the vehicle in the traveling direction of the vehicle.
The internet of vehicles cloud platform or the vehicle-mounted terminal can determine the target traffic signal lamp through any one of the following realizable modes, but is not limited to the following:
in one implementation manner, as shown in fig. 6, before S510, the traffic light status processing method further includes:
s610: the method comprises the steps that a cloud platform of the Internet of vehicles receives position information and identification of traffic lights where traffic lights are located, wherein the traffic lights are sent by all traffic lights;
s620: the vehicle-mounted terminal sends position information and direction information of a vehicle where the vehicle-mounted terminal is located to a cloud platform of the Internet of vehicles;
s630: the cloud platform of the Internet of vehicles determines a target traffic signal lamp positioned in front of the vehicle according to the position information and the direction information of the vehicle and the position information of the traffic signal lamp where the signal machine sent by each signal machine is positioned;
s640: and the cloud platform of the Internet of vehicles sends the identification of the target traffic signal lamp to the vehicle-mounted terminal.
In another implementation manner, as shown in fig. 7, the traffic light status processing method before S510 further includes:
s710: determining position information and direction information of a vehicle in which the vehicle-mounted terminal is positioned;
s720: a target traffic signal light located in front of the vehicle is determined based on the position information and the direction information of the vehicle.
In this implementation, the vehicle-mounted terminal may be loaded with a map so that it can determine a target traffic signal light located in front of the vehicle according to the position information, the direction information, and the loaded map of the vehicle. Or the vehicle-mounted terminal can also receive the position information and the identification of the traffic signal lamp where the signaler is located, which are sent by each signaler; and determining a target traffic signal lamp positioned in front of the vehicle according to the position information and the direction information of the vehicle and the position information of the traffic signal lamp where the signal machine sent by each signal machine is positioned.
Alternatively, in the embodiment of the present application, the position information of the vehicle may be position information that is not combined with a map, for example, latitude and longitude information or three-dimensional coordinates under a certain three-dimensional coordinate system. Alternatively, the location information may be location information combined with a map, for example, the location information may be a certain district gate.
It should be understood that the signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp refers to the time required for transmitting a signal from the vehicle-mounted terminal to the target traffic signal lamp or the time required for transmitting a signal from the target traffic signal lamp to the vehicle-mounted terminal, wherein, referring to fig. 3, the signal transmission path from the vehicle-mounted terminal to the target traffic signal lamp is vehicle-mounted terminal, base station, vehicle enterprise platform, vehicle networking cloud platform, base station, target traffic signal lamp. The signal transmission path from the target traffic signal to the lamp vehicle-mounted terminal is a target traffic signal lamp, a base station, a cloud platform of the Internet of vehicles, a vehicle enterprise platform, a base station and the vehicle-mounted terminal. Referring to fig. 4, the signal transmission path from the vehicle terminal to the target traffic signal lamp is vehicle terminal→base station→internet of vehicles cloud platform→base station→target traffic signal lamp. The signal transmission path from the target traffic signal to the lamp vehicle-mounted terminal is the target traffic signal, the base station, the vehicle networking cloud platform, the base station and the vehicle-mounted terminal. Normally, for the same signal, the time required to transmit the signal from the vehicle-mounted terminal to the target traffic signal lamp is the same as the time required to transmit the signal from the target traffic signal lamp to the vehicle-mounted terminal.
It should be appreciated that the signal one-way transmission time between the vehicle-mounted terminal and the target traffic signal lamp may also be referred to as a transmission delay, a one-way transmission delay, or a signal one-way transmission delay between the vehicle-mounted terminal and the target traffic signal lamp. The vehicle-mounted terminal can dynamically determine the signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp, so the signal unidirectional transmission time can also be called as dynamic time delay, unidirectional transmission dynamic time delay, signal unidirectional transmission dynamic time delay and the like.
By the vehicle-mounted terminal being able to dynamically determine the signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp is meant that the signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp is not stationary, but the vehicle-mounted terminal being able to determine the signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp at any time. For example, the vehicle-mounted terminal may determine the signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp according to a certain period.
Optionally, in this embodiment of the present application, the vehicle-mounted terminal may determine the unidirectional signal transmission time based on an internet control message protocol (Internet Control Message Protocol, ICMP) protocol, and specifically, the vehicle-mounted terminal may obtain a network loopback time delay Δtr between the vehicle-mounted terminal and the target traffic signal according to a certain period, for example, every 1 second of the PING signal side 4G/5G gateway IP, where the network loopback time delay Δtr is divided by 2, and is the unidirectional signal transmission time between the vehicle-mounted terminal and the target traffic signal.
It should be appreciated that ICMP is mainly used to detect network communication failures and to implement link detection, and is most typically applied in PING. PING refers to detecting whether there is a problem with the source host to destination host link, whether the destination is reachable, and the delay of communication by sending request information messages and response information messages. Based on this, the acquisition process of the network loopback delay Δtr is as follows: the vehicle-mounted terminal sends request information to a signal machine corresponding to a target traffic signal lamp; receiving response information sent by a signal machine corresponding to a target traffic signal lamp; and calculating the time interval between the sending time of the request information and the receiving time of the response information, wherein the time interval is the network loopback time delay delta Tr.
As described above, the vehicle-mounted terminal may obtain the network loopback delay Δtr between the vehicle-mounted terminal and the target traffic signal according to a certain period, such as every 1 second of the PING signal side 4G/5G gateway IP. Based on the above, the number of request information and response information is N, and correspondingly, the number of the time intervals is N, where N is an integer greater than 1; the vehicle-mounted terminal can calculate the quotient of N time intervals and 2 respectively to obtain N time results; and obtaining the unidirectional signal transmission time according to the N time results.
In one implementation manner, the vehicle-mounted terminal may calculate an average value of N time results to obtain the unidirectional signal transmission time.
For example, assuming that the in-vehicle terminal performs PING on the 4G/5G gateway IP every 1 second, the in-vehicle terminal may take the average value of the time results within N seconds as the signal unidirectional transmission time, that is, the signal unidirectional transmission time at the time t is as follows:
wherein, deltaTa (t) represents signal unidirectional transmission time at t moment, deltaTs (t-k) represents time result at t-k moment, and the time result is the network loop-back time delay at t-k moment divided by 2.
Considering the real-time performance of network delay detection, the value of N may be 5 or other values, which is not limited in the embodiment of the present application.
In another implementation manner, the vehicle-mounted terminal may determine the maximum time result of the N time results as the signal unidirectional transmission time.
For example, assuming that the in-vehicle terminal performs PING on the 4G/5G gateway IP every 1 second, the in-vehicle terminal may take the maximum value of the time result within N seconds as the signal unidirectional transmission time, that is, the signal unidirectional transmission time at the time t is as follows:
wherein, deltaTa (t) represents signal unidirectional transmission time at t moment, deltaTs (t-k) represents time result at t-k moment, and the time result is the network loop-back time delay at t-k moment divided by 2.
Considering the real-time performance of network delay detection, the value of N may be 5 or other values, which is not limited in the embodiment of the present application.
In still another implementation manner, the vehicle-mounted terminal may determine a minimum time result of the N time results as the signal unidirectional transmission time.
For example, assuming that the in-vehicle terminal performs PING on the 4G/5G gateway IP at intervals of 1 second, the in-vehicle terminal may use the minimum value of the time result within N seconds as the signal unidirectional transmission time, that is, the signal unidirectional transmission time at the time t is as follows:
wherein, deltaTa (t) represents signal unidirectional transmission time at t moment, deltaTs (t-k) represents time result at t-k moment, and the time result is the network loop-back time delay at t-k moment divided by 2.
Considering the real-time performance of network delay detection, the value of N may be 5 or other values, which is not limited in the embodiment of the present application.
Alternatively, the vehicle-mounted terminal may calculate the quotient of the time interval between the transmission time of the request information and the receiving time of the response information obtained at any time and 2, so as to obtain the unidirectional signal transmission time. In summary, the method for determining the unidirectional transmission time of the signal is not limited in the embodiments of the present application.
In the embodiment of the present application, the state information of the target traffic signal lamp at the target traffic signal lamp end is referred to as first state information, and the state information of the target traffic signal lamp at the vehicle end is referred to as second state information.
Optionally, the first status information includes: the first current rendered light color of the target traffic signal, the remaining time of the first current rendered light color, the first light color to be rendered of the target traffic signal, and the duration of the first light color to be rendered. In order to distinguish the current lamp color from the lamp color to be presented in the second state information, the current lamp color to be presented in the first state information is called a first current lamp color to be presented, and the lamp color to be presented in the first state information is called a first lamp color to be presented. The currently presented lamp color in the second state information is then referred to as the second currently presented lamp color, and the lamp color to be presented in the second state information is referred to as the second lamp color to be presented.
For example, the first state information may include: the current rendered light color of the target traffic signal lamp is red, the remaining time of the current rendered light color is 10 seconds, the light color to be rendered is green, and the duration of the green light is 60 seconds.
It will be appreciated that traffic signals typically vary periodically in terms of "red-green-yellow-red", based on which the color of the light currently being presented is known to be that of the light. For example, if the currently presented lamp color is "x=green", then x+1 lamp color is yellow, i.e., the lamp color to be presented is yellow.
Optionally, if the remaining time of the first current presenting light color is greater than or equal to the signal unidirectional transmission time, the vehicle-mounted terminal determines that the second current presenting light color of the target traffic signal lamp in the second state information is the first current presenting light color, the remaining time of the second current presenting light color is a time difference between the remaining time of the first current presenting light color and the signal unidirectional transmission time, the second light color to be presented of the target traffic signal lamp is the first light color to be presented, and the duration time of the second light color to be presented is the duration time of the first light color to be presented; if the remaining time of the first current presented light color is smaller than the signal unidirectional transmission time, the vehicle-mounted terminal determines that the second current presented light color of the target traffic signal lamp in the second state information is the first light color to be presented, the remaining time of the second current presented light color is the sum of the duration time of the first light color to be presented and the remaining time of the first current presented light color, and then the result of the difference between the duration time and the signal unidirectional transmission time is obtained.
For example, the first state information of the target traffic signal lamp received by the vehicle-mounted terminal includes:
"currently present lamp color: an X color; remaining time: y1 s;
to be rendered with a lamp color: x+1 color; duration of time: y2 seconds'
Wherein the target traffic signal lamp periodically changes according to red-green-yellow-red. For example, if the lamp color "x=green" is currently presented, the x+1 lamp color is yellow.
Assuming that the signal unidirectional transmission time is Δta, the in-vehicle terminal obtains second state information based on the signal unidirectional transmission time and the first state information as follows:
if Y1-delta Ta is more than or equal to 0, the second state information comprises:
"currently present lamp color: an X color; remaining time: (Y1-DeltaTa) seconds;
to be rendered with a lamp color: x+1 color; duration of time: y2 seconds'
If Y1- ΔTa < 0, the second state information includes:
"currently present lamp color: x+1 color; remaining time: Y2+Y1- ΔTa seconds'
Alternatively, after the vehicle-mounted terminal determines the second state information of the target traffic signal lamp at the vehicle end, the vehicle-mounted terminal may display the second state information for the driver to drive the vehicle. Alternatively, in the case of automatic driving, the in-vehicle terminal may control the vehicle in which the in-vehicle terminal is located based on the second state information.
Through the technical scheme that this application provided, firstly, because the state information to the traffic signal lamp of car end has carried out time compensation for the state information of the traffic signal lamp of car end keeps synchronous with the state information of the traffic signal lamp of traffic signal lamp end, thereby can guarantee the accurate driving of vehicle. Secondly, the time compensation mechanism can be deployed and used in the vehicle-mounted terminal without improving a signal machine, a vehicle networking cloud platform, a vehicle enterprise platform and the like, so that the technical method provided by the application can be matched with various application scenes or system architectures, for example, the technical scheme can be simultaneously applied to the system architectures shown in fig. 3 and 4. Thirdly, as the vehicle-mounted terminal can dynamically determine the unidirectional signal transmission time between the vehicle-mounted terminal and the target traffic signal lamp, that is to say, the time compensation mechanism provided by the application is a dynamic time compensation mechanism, and the dynamic time compensation mechanism can support the optimization adjustment of the system under the condition of network change. Fourth, as the vehicle-mounted terminal can obtain a plurality of network loop-back time delays between the vehicle-mounted terminal and the target traffic signal lamp according to a certain period, such as 4G/5G gateway IP of the PING signal machine side every 1 second, the network loop-back time delays and 2 quotient can be obtained, and N time results can be obtained; according to N time results, signal unidirectional transmission time is obtained, so that instability of state information of the traffic signal lamp caused by network jitter can be reduced. Fifth, in actual deployment, because deployment and management of the annunciator, the internet of vehicles cloud platform and the vehicle-mounted terminal all belong to different departments and companies, in actual application, it is difficult to ensure that the same clock source is used by the terminals, and meanwhile, the synchronous condition between the clock sources is also difficult to ensure, but through the technical scheme provided by the application, the annunciator, the internet of vehicles cloud platform, the vehicle-mounted terminal and the like do not need to adopt the same clock source, and the technical scheme can be suitable for various working conditions and has better universality.
Fig. 8 is a schematic diagram of a vehicle-mounted terminal 800 provided in an embodiment of the present application, as shown in fig. 8, the apparatus 800 includes: the system comprises a determining module 810 and an acquiring module 820, wherein the determining module 810 is used for determining signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp; the acquisition module 820 is configured to acquire first state information of a target traffic signal lamp at a target traffic signal lamp end; the determining module 810 is further configured to determine second status information of the target traffic signal at the vehicle end according to the first status information and the signal unidirectional transmission time.
Optionally, the first status information includes: the method comprises the steps of enabling a first current light color to be displayed on a target traffic signal lamp, enabling a remaining time of the first current light color to be displayed on the target traffic signal lamp, enabling the first light color to be displayed on the target traffic signal lamp and enabling the duration time of the first light color to be displayed on the target traffic signal lamp; the determining module 810 is specifically configured to: if the remaining time of the first current display light color is greater than or equal to the signal unidirectional transmission time, determining that the second current display light color of the target traffic signal lamp in the second state information is the first current display light color, the remaining time of the second current display light color is the time difference between the remaining time of the first current display light color and the signal unidirectional transmission time, the second light color to be displayed of the target traffic signal lamp is the first light color to be displayed, and the duration time of the second light color to be displayed is the duration time of the first light color to be displayed; if the remaining time of the first current display light color is smaller than the signal unidirectional transmission time, determining that the second current display light color of the target traffic signal lamp in the second state information is the first light color to be displayed, and the remaining time of the second current display light color is the sum of the duration time of the first light color to be displayed and the remaining time of the first current display light color, and then the result of the difference between the duration time and the signal unidirectional transmission time.
Optionally, the determining module 810 is specifically configured to: sending request information to a signal machine corresponding to a target traffic signal lamp; receiving response information sent by a signal machine corresponding to a target traffic signal lamp; calculating a time interval between a transmission time of the request information and a reception time of the response information; and determining the unidirectional transmission time of the signal according to the time interval.
Optionally, the number of the request information and the response information is N, and the corresponding time intervals are N, where N is an integer greater than 1; the determining module 810 is specifically configured to: respectively calculating the quotient of N time intervals and 2 to obtain N time results; and obtaining the unidirectional signal transmission time according to the N time results.
Optionally, the determining module 810 is specifically configured to: and calculating the average value of N time results to obtain the unidirectional signal transmission time.
Optionally, the determining module 810 is specifically configured to: calculating the quotient of the time interval and 2 to obtain the unidirectional transmission time of the signal.
Optionally, the apparatus 800 further comprises: the system comprises a transmitting module 830 and a receiving module 840, wherein the transmitting module 830 is used for transmitting the position information and the direction information of a vehicle where the vehicle-mounted terminal is located to the vehicle networking cloud platform before the determining module 810 determines the unidirectional signal transmission time between the vehicle-mounted terminal and the target traffic signal lamp, and the position information and the direction information of the vehicle are used for determining the target traffic signal lamp positioned in front of the vehicle by the vehicle networking cloud platform; the receiving module 840 is configured to receive an identifier of a target traffic signal lamp sent by the internet of vehicles cloud platform.
Optionally, the determining module 810 is further configured to determine, before determining the signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp, position information and direction information of a vehicle where the vehicle-mounted terminal is located; and determining a target traffic signal lamp positioned in front of the vehicle according to the position information and the direction information of the vehicle where the vehicle-mounted terminal is positioned.
Optionally, the apparatus 800 further comprises: the display module 850 is configured to display the second status information after the determining module 810 determines the second status information of the target traffic signal at the vehicle end according to the first status information and the signal unidirectional transmission time.
Optionally, the apparatus 800 further comprises: the control module 860 is configured to control a vehicle where the vehicle-mounted terminal is located based on the second state information after the determining module 810 determines the second state information of the target traffic signal at the vehicle end according to the first state information and the signal unidirectional transmission time.
It should be understood that apparatus embodiments and method embodiments may correspond with each other and that similar descriptions may refer to the method embodiments. To avoid repetition, no further description is provided here. Specifically, the apparatus 800 shown in fig. 8 may perform the above method embodiments, and the foregoing and other operations and/or functions of each module in the apparatus 800 are respectively for implementing the corresponding flows in each method, which are not described herein for brevity.
The apparatus 800 of the embodiments of the present application is described above in terms of functional modules in connection with the accompanying drawings. It should be understood that the functional module may be implemented in hardware, or may be implemented by instructions in software, or may be implemented by a combination of hardware and software modules. Specifically, each step of the method embodiments in the embodiments of the present application may be implemented by an integrated logic circuit of hardware in a processor and/or an instruction in software form, and the steps of the method disclosed in connection with the embodiments of the present application may be directly implemented as a hardware decoding processor or implemented by a combination of hardware and software modules in the decoding processor. Alternatively, the software modules may be located in a well-established storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, and the like. The storage medium is located in a memory, and the processor reads information in the memory, and in combination with hardware, performs the steps in the above method embodiments.
Fig. 9 is a schematic block diagram of an electronic device 900 provided by an embodiment of the present application.
As shown in fig. 9, the electronic device 900 may include:
a memory 910 and a processor 920, the memory 910 being configured to store a computer program and to transfer the program code to the processor 920. In other words, the processor 920 may call and run a computer program from the memory 910 to implement the methods in the embodiments of the present application.
For example, the processor 920 may be configured to perform the above-described method embodiments according to instructions in the computer program.
In some embodiments of the present application, the processor 920 may include, but is not limited to:
a general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like.
In some embodiments of the present application, the memory 910 includes, but is not limited to:
volatile memory and/or nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (Double Data Rate SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct memory bus RAM (DR RAM).
In some embodiments of the present application, the computer program may be partitioned into one or more modules that are stored in the memory 910 and executed by the processor 920 to perform the methods provided herein. The one or more modules may be a series of computer program instruction segments capable of performing the specified functions, which are used to describe the execution of the computer program in the electronic device.
As shown in fig. 9, the electronic device may further include:
a transceiver 930, the transceiver 930 being connectable to the processor 920 or the memory 910.
The processor 920 may control the transceiver 930 to communicate with other devices, and in particular, may send information or data to other devices or receive information or data sent by other devices. Transceiver 930 may include a transmitter and a receiver. Transceiver 930 may further include antennas, the number of which may be one or more.
It will be appreciated that the various components in the electronic device are connected by a bus system that includes, in addition to a data bus, a power bus, a control bus, and a status signal bus.
The present application also provides a computer storage medium having stored thereon a computer program which, when executed by a computer, enables the computer to perform the method of the above-described method embodiments. Alternatively, embodiments of the present application also provide a computer program product comprising instructions which, when executed by a computer, cause the computer to perform the method of the method embodiments described above.
When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces, in whole or in part, a flow or function consistent with embodiments of the present application. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. For example, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A traffic light status processing method, wherein the method is applied to a vehicle-mounted terminal, the method comprising:
determining signal unidirectional transmission time between the vehicle-mounted terminal and a target traffic signal lamp;
acquiring first state information of the target traffic signal lamp at a target traffic signal lamp end;
and determining second state information of the target traffic signal lamp at the vehicle end according to the first state information and the signal unidirectional transmission time.
2. The method of claim 1, wherein the first status information comprises: a first current present light color of the target traffic signal lamp, a remaining time of the first current present light color, a first light color to be present of the target traffic signal lamp, and a duration of the first light color to be present;
the determining the second state information of the target traffic signal lamp at the vehicle end according to the first state information and the signal unidirectional transmission time comprises the following steps:
if the remaining time of the first current display light color is greater than or equal to the signal unidirectional transmission time, determining that a second current display light color of the target traffic signal lamp in the second state information is the first current display light color; the remaining time of the second current lamp color is the time difference between the remaining time of the first current lamp color and the unidirectional signal transmission time; the second to-be-presented lamp color of the target traffic signal lamp is the first to-be-presented lamp color; the duration of the second to-be-presented lamp color is the duration of the first to-be-presented lamp color;
if the remaining time of the first current display light color is smaller than the signal unidirectional transmission time, determining that a second current display light color of the target traffic signal lamp in the second state information is the first light color to be displayed; the remaining time of the second current lamp color is the sum of the duration time of the first lamp color to be presented and the remaining time of the first current lamp color to be presented, and then the result of the difference between the duration time and the unidirectional signal transmission time.
3. The method according to claim 1 or 2, wherein said determining a signal unidirectional transmission time between the vehicle-mounted terminal and a target traffic signal lamp comprises:
sending request information to a signal machine corresponding to the target traffic signal lamp;
receiving response information sent by a signal machine corresponding to the target traffic signal lamp;
calculating a time interval between the sending time of the request information and the receiving time of the response information;
and determining the unidirectional transmission time of the signal according to the time interval.
4. A method according to claim 3, wherein the number of request messages and response messages is N, and the corresponding number of time intervals is N, N being an integer greater than 1;
the determining the signal unidirectional transmission time according to the time interval comprises the following steps:
respectively calculating the quotient of N time intervals and 2 to obtain N time results;
and obtaining the unidirectional signal transmission time according to the N time results.
5. The method of claim 4, wherein said deriving the signal unidirectional transmission time from the N time results comprises:
and calculating the average value of the N time results to obtain the unidirectional signal transmission time.
6. The method according to claim 1 or 2, wherein before determining the signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp, further comprising:
the method comprises the steps that position information and direction information of a vehicle where the vehicle-mounted terminal is located are sent to a vehicle networking cloud platform, and the position information and the direction information of the vehicle are used for determining the target traffic signal lamp located in front of the vehicle by the vehicle networking cloud platform;
and receiving the identification of the target traffic signal lamp sent by the Internet of vehicles cloud platform.
7. The method according to claim 1 or 2, wherein before determining the signal unidirectional transmission time between the vehicle-mounted terminal and the target traffic signal lamp, further comprising:
determining the position information and the direction information of a vehicle in which the vehicle-mounted terminal is positioned;
and determining the target traffic signal lamp positioned in front of the vehicle according to the position information and the direction information of the vehicle where the vehicle-mounted terminal is positioned.
8. A vehicle-mounted terminal, characterized by comprising:
the determining module is used for determining the unidirectional signal transmission time between the vehicle-mounted terminal and the target traffic signal lamp;
the acquisition module is used for acquiring first state information of the target traffic signal lamp at the target traffic signal lamp end;
the determining module is further configured to determine second state information of the target traffic signal lamp at the vehicle end according to the first state information and the signal unidirectional transmission time.
9. An electronic device, comprising:
a processor and a memory for storing a computer program, the processor being for invoking and running the computer program stored in the memory to perform the method of any of claims 1 to 7.
10. A computer readable storage medium storing a computer program for causing a computer to perform the method of any one of claims 1 to 7.
CN202210981334.6A 2022-08-16 2022-08-16 Traffic signal lamp state processing method, device, equipment and storage medium Pending CN117636672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210981334.6A CN117636672A (en) 2022-08-16 2022-08-16 Traffic signal lamp state processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210981334.6A CN117636672A (en) 2022-08-16 2022-08-16 Traffic signal lamp state processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117636672A true CN117636672A (en) 2024-03-01

Family

ID=90024057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210981334.6A Pending CN117636672A (en) 2022-08-16 2022-08-16 Traffic signal lamp state processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117636672A (en)

Similar Documents

Publication Publication Date Title
US11129002B2 (en) Method for supporting a first mobile station to predict the channel quality for a planned decentralized wireless communication to a communication partner station, mobile station, and transportation vehicle
JP6120473B2 (en) Public transport vehicle driving prediction method, apparatus and device
CN108064062B (en) Cross-base-station information processing method and device
US20230076030A1 (en) Method for positioning sidelink and device therefor
EP3621319A1 (en) Electronic device and method for wireless communication
US9723451B2 (en) Providing location information of a terminal in a communication network
WO2015149576A1 (en) Security message transmission method and device
US8755809B2 (en) Communication method of base station and target terminal
US11689622B2 (en) Efficient real time vehicular traffic reporting and sharing
US20220214461A1 (en) Positioning processing method and related apparatus
US10999808B2 (en) Synchronization-dependent transmission for vehicle to anything communication
CN113328789B (en) Satellite communication method, system, device and storage medium
WO2022079980A1 (en) Radio wave map update device and communication quality determination device
EP3829143A1 (en) Method and apparatus for communication between user equipemnts
US20210099850A1 (en) Inter-vehicle communication system and vehicle communication device
CN117636672A (en) Traffic signal lamp state processing method, device, equipment and storage medium
US20230362780A1 (en) Electronic device, wireless communication method and computer-readable storage medium
KR20230134492A (en) Positioning reference signal adaptation in distributed ranging systems
KR20210132610A (en) Method and apparatus for managing a communication between a base station of a cellular mobile communication system and at least one moving communication partner, computer program, apparatus for performing steps of the method, and vehicle
US20220345934A1 (en) Method and communication device for transmitting or receiving data by using available buffer size
KR101978578B1 (en) Method for Estimating Position/Heading Information of Communication Device without GPS Module
WO2023157318A1 (en) Base station and communication method
WO2023157317A1 (en) Base station and communication method
WO2023157319A1 (en) Base station and communication method
US20230316922A1 (en) Information Interaction Method, Server, Non-OBU onboard Terminal, and Storage Medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination