CN112512111A - Time determination method and device, and signal sending method and device - Google Patents
Time determination method and device, and signal sending method and device Download PDFInfo
- Publication number
- CN112512111A CN112512111A CN201911339779.9A CN201911339779A CN112512111A CN 112512111 A CN112512111 A CN 112512111A CN 201911339779 A CN201911339779 A CN 201911339779A CN 112512111 A CN112512111 A CN 112512111A
- Authority
- CN
- China
- Prior art keywords
- time
- signal
- terminal
- time service
- service
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
- H04W56/0015—Synchronization between nodes one node acting as a reference for the others
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method and a device for determining time and a method and a device for sending a signal, wherein the method for determining time comprises the following steps: receiving a first signal sent by a first terminal, wherein the first signal carries the time service time acquired by the first terminal; and determining the system time according to the time service time and the transmission delay of the first signal, so that the problem of communication limitation caused by the fact that the terminal cannot obtain the time service in the related technology can be solved, and the communication effect of the terminal is improved.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for determining time and a method and an apparatus for transmitting a signal.
Background
In the related art, a terminal needs to provide time for the terminal through a Navigation System, for example, a Global Navigation Satellite System (GNSS), so as to determine a System time, so as to complete time synchronization and perform communication better. However, when an obstacle occurs, the terminal may not obtain the time service of the navigation system, which may result in that the terminal may not obtain accurate time information, and thus the communication function is limited.
Aiming at the problem of limited communication caused by the fact that a terminal cannot obtain time service in the related technology, a better solution does not exist.
Disclosure of Invention
The embodiment of the invention provides a time determining method and device and a signal sending method and device, which are used for at least solving the problem of communication limitation caused by the fact that a terminal cannot obtain time service in the related art.
According to an embodiment of the present invention, there is provided a method for determining time, applied to a second terminal, including: receiving a first signal sent by a first terminal, wherein the first signal carries the time service time acquired by the first terminal; and determining the system time according to the time service time and the transmission delay of the first signal.
Optionally, receiving a first signal sent by a first terminal includes: and receiving a first signal sent by a first terminal under the condition that a time service signal is not received, wherein the first terminal receives the time service signal, and the time service signal is used for indicating the time service time.
Optionally, in a case that the first terminal does not receive the time service signal, the method further includes: and determining the system time according to the acquired specified historical time service time and the increment time, wherein the increment time is the time increased from the specified historical time service time to the current time.
Optionally, the delta time is determined by a local clock.
According to another embodiment of the present invention, a signal transmission method is provided, which is applied to a first terminal, and includes: acquiring time service time; and sending a first signal to a second terminal, wherein the first signal carries the time service time acquired by the first terminal, and the first signal is used for indicating the second terminal to determine the system time according to the time service time and the transmission delay of the first signal.
Optionally, the sending the first signal to the second terminal includes: and sending the first signal to the second terminal under the condition that the second terminal does not receive a time service signal, wherein the time service signal is used for indicating the time service time.
According to another embodiment of the present invention, there is provided a time determination apparatus including: the receiving module is used for receiving a first signal sent by a first terminal, wherein the first signal carries the time service time acquired by the first terminal; and the first determining module is used for determining the system time according to the time service time and the transmission delay of the first signal.
Optionally, the receiving module includes: the receiving submodule is used for receiving a first signal sent by a first terminal under the condition that a time service signal is not received, wherein the first terminal receives the time service signal, and the time service signal is used for indicating the time service time.
Optionally, the apparatus further comprises: and the second determining module is used for determining the system time according to the acquired appointed historical time service and the increment time when the first terminal does not receive the time service signal, wherein the increment time is the time increased from the appointed historical time service to the current time.
Optionally, the delta time is determined by a local clock.
According to another embodiment of the present invention, there is provided a transmission apparatus of a signal, including: the acquisition module is used for acquiring time service time; the sending module is configured to send a first signal to a second terminal, where the first signal carries the time service time acquired by the first terminal, and the first signal is used to instruct the second terminal to determine system time according to the time service time and a transmission delay of the first signal.
According to another embodiment of the invention, a time determination system is provided, which includes a first terminal and a second terminal, wherein the first terminal is used for acquiring time service time; the first terminal is further configured to send a first signal to the second terminal after the time service time is acquired, where the first signal carries the time service time acquired by the first terminal; and the second terminal is used for receiving the first signal and determining the system time according to the time service time and the transmission delay of the first signal.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the steps of any of the above time-determining method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, the memory having a computer program stored therein, the processor being configured to execute the computer program to perform the steps in any one of the above time-determination method embodiments.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps in the method embodiment of transmitting a signal according to any of the above mentioned embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic apparatus, including a memory and a processor, the memory storing a computer program therein, the processor being configured to execute the computer program to perform the steps in any of the above embodiments of the method of transmitting a signal.
According to the embodiment of the invention, a first signal sent by a first terminal is received, wherein the first signal carries the time service time acquired by the first terminal; and determining the system time according to the time service time and the transmission delay of the first signal, so that the problem of communication limitation caused by the fact that the terminal cannot obtain the time service in the related technology can be solved, and the communication effect of the terminal is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a vehicle terminal of a time determination method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of determining time according to an embodiment of the present invention;
fig. 3 is a flowchart of a signal transmission method according to an embodiment of the present invention;
fig. 4 is a block diagram of a time determination apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a transmitting apparatus of a signal according to an embodiment of the present invention;
FIG. 6 is a schematic view of a scenario in which a V2X fleet receives GNSS satellite signal timing according to an alternative embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a V2X vehicle time service device according to an alternative embodiment of the invention;
FIG. 8 is a first V2X vehicle timing scenario according to an alternative embodiment of the present invention;
FIG. 9 is a second V2X vehicle timing scenario according to an alternative embodiment of the present invention;
FIG. 10 is a V2X vehicle timing scenario three, according to an alternative embodiment of the present invention;
FIG. 11 is a fourth scenario of a V2X vehicle timing scenario, in accordance with an alternative embodiment of the present invention;
FIG. 12 is a flowchart of a V2X vehicle timing method according to an alternative embodiment of the invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed in a vehicle terminal, a motion terminal, a mobile terminal or the like. Taking the example of operating on a vehicle terminal, fig. 1 is a hardware block diagram of the vehicle terminal of a time determination method according to an embodiment of the present invention. As shown in fig. 1, the vehicle terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is merely illustrative and is not intended to limit the structure of the vehicle terminal described above. For example, the vehicle terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the time determination method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the vehicle terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the vehicle terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It should be noted that the signal sending method provided in this embodiment may also be executed in the terminal described above, and details are not described here.
In this embodiment, a method for determining a time running in the terminal is provided, which may be applied to a second terminal, and fig. 2 is a flowchart of a method for determining a time according to an embodiment of the present invention, as shown in fig. 2, where the flowchart includes the following steps:
step S202, receiving a first signal sent by a first terminal, wherein the first signal carries the time service time acquired by the first terminal;
and step S204, determining the system time according to the time service time and the transmission delay of the first signal.
Through the steps, a first signal sent by a first terminal is received, wherein the first signal carries the time service time acquired by the first terminal; and determining the system time according to the time service time and the transmission delay of the first signal, so that the problem of communication limitation caused by the fact that the terminal cannot obtain the time service in the related technology can be solved, and the communication effect of the terminal is improved.
Alternatively, the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
Optionally, receiving a first signal sent by a first terminal includes: and receiving a first signal sent by a first terminal under the condition that a time service signal is not received, wherein the first terminal receives the time service signal, and the time service signal is used for indicating the time service. It should be noted that, alternatively, the time service signal received by the first terminal is transmitted by a time service satellite, and may also be transmitted by another terminal.
Optionally, in a case that the first terminal does not receive the time service signal, the method further includes: and determining the system time according to the acquired specified historical time service time and the increment time, wherein the increment time is the time increased from the specified historical time service time to the current time. The specified historical time service may be a time service acquired by the first terminal at a certain time in the history, and may be, for example, a time service acquired at one historical time closest to the current time, such as the last time service acquired.
Optionally, the delta time is determined by a local clock. It should be noted that the local clock may start recording the incremental time when receiving the above-mentioned specified historical time service time. Then, optionally, the system time is equal to the sum of the specified historical authorization time and the delta time.
In this embodiment, a signal transmission method operating in the terminal is further provided, which may be applied to a first terminal, and fig. 3 is a flowchart of the signal transmission method according to the embodiment of the present invention, as shown in fig. 3, where the flowchart includes the following steps:
s301, acquiring time service time;
and S303, sending a first signal to a second terminal, wherein the first signal carries the time service time acquired by the first terminal, and the first signal is used for indicating the second terminal to determine the system time according to the time service time and the transmission delay of the first signal.
Through the steps, the time service time is obtained; and sending a first signal to a second terminal, wherein the first signal carries the time service time acquired by the first terminal, and the first signal is used for indicating the second terminal to determine the system time according to the time service time and the transmission delay of the first signal, so that the problem of communication limitation caused by the fact that the terminal cannot acquire the time service in the related art can be solved, and the communication effect of the terminal is improved.
Optionally, the sending the first signal to the second terminal includes: and sending the first signal to the second terminal under the condition that the second terminal does not receive a time service signal, wherein the time service signal is used for indicating the time service.
In this embodiment, a time determination apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated after the description is given. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a time determination apparatus according to an embodiment of the present invention, as shown in fig. 4, the apparatus including:
a receiving module 42, configured to receive a first signal sent by a first terminal, where the first signal carries the time service time acquired by the first terminal;
and a first determining module 44, configured to determine a system time according to the time service time and the transmission delay of the first signal.
Through the module, a first signal sent by a first terminal is received, wherein the first signal carries the time service time acquired by the first terminal; and determining the system time according to the time service time and the transmission delay of the first signal, so that the problem of communication limitation caused by the fact that the terminal cannot obtain the time service in the related technology can be solved, and the communication effect of the terminal is improved.
Optionally, the receiving module includes: and the receiving submodule is used for receiving a first signal sent by a first terminal under the condition that a time service signal is not received, wherein the first terminal receives the time service signal, and the time service signal is used for indicating the time service time.
Optionally, the apparatus further comprises: and the second determining module is used for determining the system time according to the acquired appointed historical time service and the increment time under the condition that the first terminal does not receive the time service signal, wherein the increment time is the time increased from the appointed historical time service to the current time.
Optionally, the delta time is determined by a local clock.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
In this embodiment, a signal sending device is further provided, and the signal sending device is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a transmitting apparatus of a signal according to an embodiment of the present invention, as shown in fig. 5, the apparatus including:
an obtaining module 51, configured to obtain time service time;
a sending module 53, configured to send a first signal to a second terminal, where the first signal carries the time service time acquired by the first terminal, and the first signal is used to instruct the second terminal to determine system time according to the time service time and a transmission delay of the first signal.
Through the module, the time service time is obtained; and sending a first signal to a second terminal, wherein the first signal carries the time service time acquired by the first terminal, and the first signal is used for indicating the second terminal to determine the system time according to the time service time and the transmission delay of the first signal, so that the problem of communication limitation caused by the fact that the terminal cannot acquire the time service in the related art can be solved, and the communication effect of the terminal is improved.
Optionally, the sending the first signal to the second terminal includes: and sending the first signal to the second terminal under the condition that the second terminal does not receive a time service signal, wherein the time service signal is used for indicating the time service.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
According to another embodiment of the invention, a time determination system is provided, which includes a first terminal and a second terminal, wherein the first terminal is used for acquiring time service time; the first terminal is further configured to send a first signal to the second terminal after the time service time is acquired, where the first signal carries the time service time acquired by the first terminal; the second terminal is used for receiving the first signal and determining system time according to the time service time and the transmission delay of the first signal.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
Alternative embodiments
The following further explains embodiments of the present invention with reference to specific scenarios.
Illustratively, the solution described in the embodiments of the present invention may be applied in a V2X (vehicle To evolution) scenario, V2X provides a solution for exchanging information between vehicle networks, and V2X includes 4 types of communication: the purposes of vehicle-to-vehicle communication (V2V), vehicle-to-infrastructure communication (V2I), vehicle-to-network communication (V2N), vehicle-to-pedestrian communication (V2P) and V2X communication are to improve road safety and traffic efficiency and reduce environmental pollution.
To ensure that the vehicles maintain a safe distance between the vehicles and the surrounding objects in the case of high-speed movement, the vehicles need to acquire accurate time information for time synchronization between the vehicle networks. This ensures that the vehicle performs various actions at the same time step. The precise time required by the V2X System is provided to the vehicle via a Global Navigation Satellite System (GNSS). GNSS is a generic term for GPS in the united states, GLONASS in russia, GALILEO in europe, and the beidou positioning systems in china. The GNSS provides time service information by using satellites, and there may be a situation that the satellite signals cannot be received due to obstacles, such as tunnels, urban high-rise buildings, atmospheric influences and the like, so that time service cannot be performed through the satellites. In this case, accurate time information cannot be obtained, and the V2X communication function will be limited and cannot perform its function.
For example, a method for accurate positioning by combining Dead reckoning (Dead reconnaissance) with GNSS can be used. In the related art, when GNSS satellite signals cannot be acquired, the GNSS can be assisted in positioning the vehicle position by acquiring position information using a sensor technique according to dead reckoning. The dead reckoning method can solve the problem of accurate positioning, but cannot solve the problem that the vehicle cannot time under the condition that the GNSS satellite signal is obtained in a limited mode.
The embodiment of the invention discloses a method and a device for time service of a V2X vehicle, which can solve the problem that the vehicle cannot time service under the condition of limited acquisition of GNSS satellite signals.
Optionally, the device for time service of the V2X vehicle according to the embodiment of the present invention may include: the GNSS satellite data receiving device, the local clock and the cooperating device can cooperate with vehicles to transmit GNSS time service through V2X. The device acquires GNSS time service data, V2X GNSS data and local clock data, judges the accuracy of the GNSS time service data and the local clock information according to a preset method, and comprehensively acquires a time measurement index from the GNSS time service data and the local clock data according to a judgment result, so that the device can provide system time information of a V2X motorcade under the condition that GNSS satellite signals are limited.
Embodiments of the invention are further described below in conjunction with the environment of use.
Fig. 6 is a schematic view of a scenario in which a V2X fleet receives GNSS satellite signal service according to an alternative embodiment of the present invention, as shown in fig. 6, accurate clock information is required in the V2X fleet to maintain synchronization of the fleet during driving, synchronization of the fleet requires that each vehicle in the fleet can acquire accurate V2X system time, and timestamp information is included in communication messages between vehicles to support linkage between V2X services. Without accurate V2X time synchronization, V2X is not working properly. In the V2X service, each vehicle acquires time service time from a GNSS satellite, the GNSS provides time meeting the V2X time precision, and the control of the V2X service on the vehicle running is supported.
In some scenarios when the vehicle is traveling into an area where GNSS satellite signals are limited. Such as tunnels, buildings, electromagnetic interference, etc., the satellite signal will be weakened or even interrupted, which will have a large impact on the V2X service. The embodiment provides a method and a device for time service of a V2X vehicle based on the situation, and can solve the problems.
FIG. 7 is a schematic structural diagram of a V2X vehicle time service device according to an alternative embodiment of the invention, and as shown in FIG. 7, the V2X vehicle time service device comprises: the device comprises a GNSS receiving device, a local clock device, a V2X receiving device and a V2X terminal time integrated processing device. The GNSS receiving device can receive satellite data of the GNSS, acquire time service time of the GNSS and send the time service time to the time comprehensive processing device. The time service time of the GNSS is simultaneously integrated with a local clock device, the local clock device is a high-precision clock, and the timing of the local clock device meets the time precision requirement of the V2X terminal. The Local clock calculates the incremental time T _ Local based on the GNSS time service currently acquired, and the calculation result is sent to the time integrated processing device. The V2X receiving device may receive a V2X message from another vehicle in the fleet, extract GNSS time information sent from another vehicle from the V2X message, and send the time plus the delay time T2 between the V2X vehicles to the V2X terminal time integrated processing device. The V2X terminal time comprehensive processing device receives the time information of each component, calculates comprehensively, and finally outputs the accurate time of the terminal.
Optionally, the improvement scheme of the V2X vehicle time service needs to consider the following scenarios: all vehicles in the fleet meet the GNSS time service condition; partial vehicles in the fleet do not meet the GNSS time service condition, and all vehicles in the fleet do not meet the GNSS time service condition.
FIG. 8 is a V2X vehicle timing scenario, in which as shown in FIG. 8, the GNSS satellite signals are dynamically changed in intensity during the driving of the vehicle, and the GNSS satellite signals are weaker and weaker when covering the edge or the sheltered area, and are stronger and weaker otherwise. Wherein, T _ NO _ GNSS represents a domain value that GNSS signal degradation cannot satisfy the time service, and T _ GOT _ GNSS represents a domain value that GNSS signal can satisfy the time service condition. This value is related to the sensitivity of the particular V2X terminal to acquire GNSS satellite data, and the thresholds may be different for different terminals. It can be seen from fig. 8 that the V2X vehicle timing scenario is that the signals of the vehicle are under better satellite coverage of GNSS, and the GNSS timing condition is satisfied, and in this scenario, the fleet vehicles can directly adopt satellite timing of GNSS.
FIG. 9 is a second V2X vehicle time service scenario, FIG. 10 is a third V2X vehicle time service scenario, and FIGS. 9 and 10 depict the second and third V2X vehicle time service scenarios, according to an alternative embodiment of the invention. Fig. 9 and 10 are views each illustrating a situation where some vehicles in the vehicle fleet do not satisfy the GNSS timing condition, and fig. 9 illustrates a situation where the vehicle in the vehicle fleet enters the GNSS signal degradation area. Fig. 10 illustrates a fleet exit GNSS signal degradation area. Part of the fleet of vehicles do not have GNSS satellites covering vehicles C of fig. 9 and a of fig. 10. Fleet other vehicles are in the GNSS overlay signal as vehicles a, B of fig. 9 and vehicles B, C of fig. 10. At the moment, the vehicles meeting the GNSS time service condition adopt GNSS time service, and simultaneously, the V2X motorcade synchronizes the GNSS time service among the motorcade vehicles through V2X messages. The vehicle which does not meet the GNSS time service condition adopts the GNSS time in V2X, and the delay time of V2X message is considered, so that the delay time of V2X message transmission is considered.
Fig. 11 is a fourth scenario of time service of V2X vehicles according to an alternative embodiment of the present invention, where fig. 11 illustrates a scenario where all vehicles in a vehicle fleet do not satisfy GNSS time service conditions, and as shown in fig. 11, when the vehicle fleet of V2X all travels into a GNSS satellite no-coverage area, optionally, the vehicles in the vehicle fleet of V2X use the latest valid GNSS time service as a basis, and calculate the time service time of the vehicle on the basis of the time using the cumulative incremental time of the local clock.
FIG. 12 is a flowchart of a V2X vehicle timing method according to an alternative embodiment of the invention, as shown in FIG. 12, when the V2X vehicle fleet drives from a GNSS satellite coverage area to a GNSS satellite coverage area, the steps are performed as follows:
the V2X fleet vehicles acquire GNSS satellite data during travel.
When the vehicle can correctly analyze the GNSS satellite data, the motorcade vehicle adopts the GNSS satellite time service directly obtained as the current system time.
The vehicle acquires the GNSS time service and broadcasts the latest acquired GNSS time service of the vehicle to other vehicles of the fleet through V2X communication.
When vehicles in the fleet drive to a GNSS satellite coverage area, the GNSS time service cannot be acquired. The vehicle attempts to acquire the GNSS time of other vehicles in the fleet from the V2X communication, and if so, adds the time plus the V2X communication delivery delay as the current system time.
If the GNSS satellite time service cannot be directly acquired and the GNSS time transmitted from V2X by other vehicles in the fleet cannot be acquired, the latest acquired GNSS effective time is taken as the basis, and the Local high-precision constant increment value delta T _ Local is added on the basis.
The following describes the steps performed by the V2X fleet to travel from an area of poor GNSS satellite coverage to an area of better GNSS satellite coverage:
step 1, a motorcade acquires GNSS satellite data in the driving process.
And 2, when the GNSS satellite signals are poor in coverage, the vehicle in the fleet cannot directly acquire the GNSS satellite time service and cannot acquire the GNSS time transmitted from V2X by other vehicles in the fleet, and the Local high-precision and constant increment value delta T _ Local is added on the basis of the latest acquired GNSS effective time in history.
And 3, when a vehicle in the fleet runs to an area with better signals and the vehicle can correctly analyze the GNSS satellite data, the vehicle in the fleet adopts the directly acquired GNSS satellite time service as the V2X system time.
And 4, broadcasting the latest acquired GNSS time service time of the vehicle to other vehicles of other fleets through a V2X communication channel while the vehicle acquires the GNSS satellite time service time.
And 5, when the vehicle is still in an area with poor GNSS coverage, the GNSS time service cannot be directly acquired. The vehicle attempts to acquire the GNSS time of other vehicles in the fleet from V2X, and if so, adds the time to the V2X communication delivery delay as the current V2X system time.
And 6, when all vehicles drive into the area with better GNSS satellite signal coverage, directly using the GNSS time service acquired from the satellite data as the system time.
The scheme of the embodiment of the invention supports that a V2X fleet can support the time service of one vehicle as well as a plurality of vehicles, and one vehicle does not need to process GNSS time service messages broadcast by other vehicles V2X.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
step S1, receiving a first signal sent by a first terminal, where the first signal carries the time service time acquired by the first terminal;
and step S2, determining the system time according to the time service time and the transmission delay of the first signal.
Through the steps, a first signal sent by a first terminal is received, wherein the first signal carries the time service time acquired by the first terminal; and determining the system time according to the time service time and the transmission delay of the first signal, so that the problem of communication limitation caused by the fact that the terminal cannot obtain the time service in the related technology can be solved, and the communication effect of the terminal is improved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
step S1, receiving a first signal sent by a first terminal, where the first signal carries the time service time acquired by the first terminal;
and step S2, determining the system time according to the time service time and the transmission delay of the first signal.
Through the steps, a first signal sent by a first terminal is received, wherein the first signal carries the time service time acquired by the first terminal; and determining the system time according to the time service time and the transmission delay of the first signal, so that the problem of communication limitation caused by the fact that the terminal cannot obtain the time service in the related technology can be solved, and the communication effect of the terminal is improved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring time service;
s2, sending a first signal to a second terminal, where the first signal carries the time service time acquired by the first terminal, and the first signal is used to instruct the second terminal to determine a system time according to the time service time and a transmission delay of the first signal.
Through the steps, the time service time is obtained; and sending a first signal to a second terminal, wherein the first signal carries the time service time acquired by the first terminal, and the first signal is used for indicating the second terminal to determine the system time according to the time service time and the transmission delay of the first signal, so that the problem of communication limitation caused by the fact that the terminal cannot acquire the time service in the related art can be solved, and the communication effect of the terminal is improved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring time service;
s2, sending a first signal to a second terminal, where the first signal carries the time service time acquired by the first terminal, and the first signal is used to instruct the second terminal to determine a system time according to the time service time and a transmission delay of the first signal.
Through the steps, the time service time is obtained; and sending a first signal to a second terminal, wherein the first signal carries the time service time acquired by the first terminal, and the first signal is used for indicating the second terminal to determine the system time according to the time service time and the transmission delay of the first signal, so that the problem of communication limitation caused by the fact that the terminal cannot acquire the time service in the related art can be solved, and the communication effect of the terminal is improved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (16)
1. A method for determining time is applied to a second terminal, and is characterized by comprising the following steps:
receiving a first signal sent by a first terminal, wherein the first signal carries the time service time acquired by the first terminal;
and determining the system time according to the time service time and the transmission delay of the first signal.
2. The method of claim 1, wherein receiving the first signal transmitted by the first terminal comprises:
and receiving a first signal sent by a first terminal under the condition that a time service signal is not received, wherein the first terminal receives the time service signal, and the time service signal is used for indicating the time service time.
3. The method according to claim 1, wherein in case that the first terminal does not receive the timing signal, the method further comprises:
and determining the system time according to the acquired specified historical time service time and the increment time, wherein the increment time is the time increased from the specified historical time service time to the current time.
4. The method of claim 3, wherein the delta time is determined by a local clock.
5. A method for transmitting a signal, applied to a first terminal, includes:
acquiring time service time;
and sending a first signal to a second terminal, wherein the first signal carries the time service time acquired by the first terminal, and the first signal is used for indicating the second terminal to determine the system time according to the time service time and the transmission delay of the first signal.
6. The method of claim 5, wherein transmitting the first signal to the second terminal comprises:
and sending the first signal to the second terminal under the condition that the second terminal does not receive a time service signal, wherein the time service signal is used for indicating the time service time.
7. An apparatus for determining a time, comprising:
the receiving module is used for receiving a first signal sent by a first terminal, wherein the first signal carries the time service time acquired by the first terminal;
and the first determining module is used for determining the system time according to the time service time and the transmission delay of the first signal.
8. The apparatus of claim 7, wherein the receiving module comprises:
the receiving submodule is used for receiving a first signal sent by a first terminal under the condition that a time service signal is not received, wherein the first terminal receives the time service signal, and the time service signal is used for indicating the time service time.
9. The apparatus of claim 7, further comprising:
and the second determining module is used for determining the system time according to the acquired appointed historical time service and the increment time when the first terminal does not receive the time service signal, wherein the increment time is the time increased from the appointed historical time service to the current time.
10. The apparatus of claim 9, wherein the delta time is determined by a local clock.
11. An apparatus for transmitting a signal, comprising:
the acquisition module is used for acquiring time service time;
the sending module is configured to send a first signal to a second terminal, where the first signal carries the time service time acquired by the first terminal, and the first signal is used to instruct the second terminal to determine system time according to the time service time and a transmission delay of the first signal.
12. A system for determining time, comprising a first terminal and a second terminal, wherein,
the first terminal is used for acquiring time service time;
the first terminal is further configured to send a first signal to the second terminal after the time service time is acquired, where the first signal carries the time service time acquired by the first terminal;
and the second terminal is used for receiving the first signal and determining the system time according to the time service time and the transmission delay of the first signal.
13. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 4 when executed.
14. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 4.
15. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 5 to 6 when executed.
16. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 5 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911339779.9A CN112512111A (en) | 2019-12-23 | 2019-12-23 | Time determination method and device, and signal sending method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911339779.9A CN112512111A (en) | 2019-12-23 | 2019-12-23 | Time determination method and device, and signal sending method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112512111A true CN112512111A (en) | 2021-03-16 |
Family
ID=74924004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911339779.9A Pending CN112512111A (en) | 2019-12-23 | 2019-12-23 | Time determination method and device, and signal sending method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112512111A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022237502A1 (en) * | 2021-05-08 | 2022-11-17 | 华为技术有限公司 | Synchronization method and apparatus |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102013970A (en) * | 2010-12-23 | 2011-04-13 | 北京北方烽火科技有限公司 | Clock synchronization method and device thereof as well as base station clock device |
WO2018137413A1 (en) * | 2017-01-24 | 2018-08-02 | 华为技术有限公司 | Time service method, terminal device and network device |
CN109687930A (en) * | 2019-01-30 | 2019-04-26 | 北京智芯微电子科技有限公司 | Intelligent electric meter terminal time service method and system |
CN110167132A (en) * | 2018-02-14 | 2019-08-23 | 华为技术有限公司 | Communication means and communication device |
CN110445571A (en) * | 2019-08-01 | 2019-11-12 | 北京航天发射技术研究所 | A kind of compensation method, system, terminal and the storage medium of time dissemination system delay time error |
CN110557823A (en) * | 2018-05-31 | 2019-12-10 | 华为技术有限公司 | clock synchronization method and device, terminal equipment, chip and readable storage medium |
-
2019
- 2019-12-23 CN CN201911339779.9A patent/CN112512111A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102013970A (en) * | 2010-12-23 | 2011-04-13 | 北京北方烽火科技有限公司 | Clock synchronization method and device thereof as well as base station clock device |
WO2018137413A1 (en) * | 2017-01-24 | 2018-08-02 | 华为技术有限公司 | Time service method, terminal device and network device |
CN110167132A (en) * | 2018-02-14 | 2019-08-23 | 华为技术有限公司 | Communication means and communication device |
CN110557823A (en) * | 2018-05-31 | 2019-12-10 | 华为技术有限公司 | clock synchronization method and device, terminal equipment, chip and readable storage medium |
CN109687930A (en) * | 2019-01-30 | 2019-04-26 | 北京智芯微电子科技有限公司 | Intelligent electric meter terminal time service method and system |
CN110445571A (en) * | 2019-08-01 | 2019-11-12 | 北京航天发射技术研究所 | A kind of compensation method, system, terminal and the storage medium of time dissemination system delay time error |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022237502A1 (en) * | 2021-05-08 | 2022-11-17 | 华为技术有限公司 | Synchronization method and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110687562B (en) | Positioning method and vehicle-mounted device | |
Rauch et al. | Analysis of V2X communication parameters for the development of a fusion architecture for cooperative perception systems | |
US20170131406A1 (en) | Differential Positioning Method Based on Intelligent Vehicle Infrastructure Cooperative System and Intelligent Vehicle Infrastructure Cooperative System | |
US20180106906A1 (en) | Positioning processing system, method, computer program, positioning processing device, and user terminal | |
US10002532B2 (en) | Communication device and method | |
CN114080021B (en) | Method and device for obtaining geographic position information of terminal | |
DE102015111522A1 (en) | Rapid estimation of UTC time in a mobile device using a GNSS | |
CN1877359B (en) | Method and device for acquiring signals in a global navigation satellite system | |
US20140078960A1 (en) | Wireless communication system | |
EP3594712A1 (en) | A method and system for estimating range between and position of objects using a wireless communication system | |
EP3589979B1 (en) | Method, devices, system and computer program product for increasing the positioning accuracy of a mobile user equipment by using data of a global navigation satellite system | |
CN114614934B (en) | Time synchronization triggering device and method | |
CN112512111A (en) | Time determination method and device, and signal sending method and device | |
EP2778802B1 (en) | A method for communication within a co-operative system | |
CN116830689A (en) | Time synchronization method, device and storage medium | |
CN116348931A (en) | Radio-wave pattern generating device, radio-wave pattern providing device, radio-wave pattern acquisition and utilization device, and probe information transmitting device | |
CN101207894A (en) | Method and system for tracing AGPS location | |
EP3917173A1 (en) | Autonomous driving technology-based resource determination method and device | |
US20130137453A1 (en) | Terminal control apparatus, mobile communication terminal, method for controlling terminal, and communication system | |
CN110187365B (en) | Positioning method, device and system | |
CN109556614B (en) | Positioning method and device for unmanned vehicle | |
CN103458368A (en) | System and method for inquiring multiple landmarks on basis of intelligent mobile terminal | |
JP7420033B2 (en) | Probe information transmitting device, radio map updating device, radio map providing device, and radio map acquisition and utilization device | |
CN108363080B (en) | Method for capturing and starting military code of airborne differential Beidou equipment of unmanned aerial vehicle | |
KR20230149811A (en) | Combined distributed ranging sessions involving common devices |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210316 |
|
RJ01 | Rejection of invention patent application after publication |