CN109983811B - Synchronous time error correction method and device - Google Patents

Synchronous time error correction method and device Download PDF

Info

Publication number
CN109983811B
CN109983811B CN201680091082.2A CN201680091082A CN109983811B CN 109983811 B CN109983811 B CN 109983811B CN 201680091082 A CN201680091082 A CN 201680091082A CN 109983811 B CN109983811 B CN 109983811B
Authority
CN
China
Prior art keywords
time
base station
synchronization
error
terminal device
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.)
Active
Application number
CN201680091082.2A
Other languages
Chinese (zh)
Other versions
CN109983811A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN109983811A publication Critical patent/CN109983811A/en
Application granted granted Critical
Publication of CN109983811B publication Critical patent/CN109983811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and device for correcting synchronous time error are provided, wherein the method comprises the following steps: the method comprises the steps that a first device receives a time advance TA (201) sent by a base station in a state of time synchronization with the base station; the first device acquires a synchronization time (202) for the first device to synchronize with the base station; the first device corrects (203) the error of the synchronization time by 0.5 TA. It can be seen that by this method, the first device can correct the synchronization time to be consistent with the base station, thereby facilitating successful D2D communication between the devices.

Description

Synchronous time error correction method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for correcting a synchronization time error.
Background
Device-to-Device (D2D) communication based on cellular networks, or called Proximity services (ProSe), means that user data can be transmitted directly between terminals without transit through the network. The D2D communication based on the cellular network has received wide attention because of its potential prospects of improving system performance, user experience, and expanding cellular communication applications. For example, the cellular network based D2D communication may be a handset-to-handset direct communication, a handset-to-vehicle direct communication, a vehicle-to-roadside unit direct communication, and the like.
Fig. 1 is a schematic diagram of a system architecture of a conventional D2D communication based on a cellular network, as shown in fig. 1, the system architecture includes a base station, a device V1, a device V2, and a device V3. Device V1 and device V2 are within the signal coverage of the base station, and device V3 is outside the signal coverage of the base station. Among them, device V1 and device V2 can communicate D2D, device V2 and device V3 can communicate D2D, and device V1 and device V3 can communicate D2D. The base station is mainly used for allocating transmission resources in D2D communication, performing interference coordination, and the like. For example, the base station may be used to allocate transmission resources for device V1 to communicate with D2D of device V2 and to allocate transmission resources for device V1 to communicate with D2D of device V3.
However, in practice, it has been found that in D2D communication based on cellular networks, D2D communication between devices often cannot be performed normally.
Disclosure of Invention
The embodiment of the invention discloses a method and equipment for correcting synchronous time errors, which can correct the synchronous time errors sent by a base station and are beneficial to normal D2D communication between the equipment.
In a first aspect, a method for correcting a synchronization time error is provided, where the method includes: the method comprises the steps that first equipment receives a time advance TA sent by a base station in a state of time synchronization with the base station; the method comprises the steps that first equipment obtains synchronous time of the first equipment and a base station; the first device corrects the error of the synchronization time by 0.5 TA.
It can be seen that by implementing the method provided by the first aspect, the first device may correct the synchronization time to be consistent with the base station, thereby facilitating successful D2D communication between the devices.
As an optional implementation manner, after the first device corrects the error of the synchronization time by 0.5TA, the first device may further send a signal to the second device according to the time obtained by correcting the error of the synchronization time.
By sending a signal to the second device according to the time obtained by correcting the error of the synchronization time of the first device, normal D2D communication between the first device and the second device can be ensured.
As an alternative embodiment, the second device is a device other than the base station.
As an optional implementation manner, after the first device corrects the error of the synchronization time by 0.5TA, the first device may further receive a signal sent by the third device according to the time obtained by correcting the error of the synchronization time.
By receiving the signal transmitted by the third device according to the time obtained by correcting the error of the synchronization time of the first device, normal D2D communication between the first device and the third device can be ensured.
As an optional implementation manner, before receiving the time advance TA sent by the base station, the first device may further detect whether the number of searched GNSS satellites is less than a preset number in a state of performing time synchronization with a global satellite navigation system GNSS; if the number of the searched GNSS satellites is smaller than the preset number, the first equipment finishes time synchronization with the GNSS and enters a timekeeping state; in the time keeping state, if the first device is within the signal coverage range of the base station, the first device and the base station perform time synchronization, and the time keeping state is ended.
By implementing this embodiment, normal D2D communication between devices in the internet of vehicles is facilitated.
In a second aspect, a device is provided, where the device has a function to implement the first device behavior in the first aspect or possible implementation manners of the first aspect. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more units corresponding to the above functions. The unit may be software and/or hardware. Based on the same inventive concept, as the principle and the advantages of the apparatus for solving the problems can be referred to the possible method embodiments of the first aspect and the advantages brought thereby, the apparatus can be referred to the possible method embodiments of the first aspect and the first aspect, and repeated details are not repeated.
In a third aspect, an apparatus is provided that includes: one or more processors, memory, transceivers, a bus system, and one or more programs, the processors, transceivers, and memory being connected by the bus system; wherein the one or more programs are stored in the memory, the one or more programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the method of the first aspect or a possible implementation of the first aspect.
In a fourth aspect, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a device, cause the device to perform the method of the first aspect or a possible implementation of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic system architecture diagram of D2D communication based on a cellular network according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for correcting a synchronization time error according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating another method for correcting synchronization time error according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus provided by an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another apparatus provided in an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another apparatus provided in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the embodiments of the present invention will be described below with reference to the accompanying drawings.
In order to facilitate an understanding of the embodiments of the present invention, the existing D2D communication system based on a cellular network is further analyzed below.
In the existing D2D communication system based on cellular network, a device in the signal coverage of a base station needs to be time-synchronized with the base station to ensure that the device in the signal coverage of the base station can normally communicate with other devices. That is, in the system architecture shown in fig. 1, devices V1 and V2 need to keep the same time as the base station for normal direct communication between devices V1 and V2, and devices V1 and V2 need to keep the same time as the base station for normal direct communication with device V3.
For example, in the system architecture shown in fig. 1, the device V1 and the device V2 are synchronized with the time of the base station, and the time of the base station, the device V1 and the device V2 are t 1. Before the device V1 sends information to the device V2, the base station needs to allocate transmission resources for the device V1, and if the transmission resources allocated by the base station for the device V1 are that the device V1 sends 1ms (millisecond) of data to the device V2 at t1, the device V1 starts sending 1ms of data to the device V2 from t 1. Accordingly, the device V2 determines 1ms of data received from t1 as the data transmitted by the device V1.
For another example, in the system architecture shown in fig. 1, if the device V1 is not synchronized with the time of the base station, the time of the base station is t1, the time of the device V1 is t2, the time of the device V2 is t1, and the time of the device V3 is t 1. t2 is 1ms later than t1, the base station specifies that device V1 transmits data to device 3 at t1, and since device V1 is 1ms later than the base station, device V1 transmits data to V3 at the base station's time "t 1 plus 1 ms". If the base station designates device V2 to send data to device V3 at time "t 1 plus 1 ms", device V2 will send data to V2 at time "t 1 plus 1 ms" at the base station. Therefore, the device V3 receives the data transmitted by the devices V1 and V2 at "t 1 plus 1 ms". Since device V1 and device V2 are transmitting data to device V3 using the same frequency, device V3 will not be able to tell which data was transmitted by device V1 and which data was transmitted by device V2. Therefore, the device in the signal coverage of the base station needs to perform time synchronization with the base station to ensure that the device in the signal coverage of the base station performs normal communication with other devices.
In the existing practical application, after the device V1 enters the signal coverage area of the base station, it may detect the synchronization signal sent by the base station, and if the synchronization time corresponding to the synchronization signal sent by the base station is t1, after the device V1 receives the synchronization signal, it sets the time to t 1. The device V1 directly sets the synchronization time t1 as a downlink synchronization time, and transmits a signal to the device V2 (or the device V3) or receives a signal transmitted by the device V2 (or the device V3) with reference to the downlink synchronization time. Accordingly, the device V1 transmits a signal to the base station with reference to the uplink synchronization time. The uplink synchronization time and the downlink synchronization time may be different or the same. However, there is a wave propagation delay between the base station and the device V1 (for example, if the base station needs 1ms to transmit the synchronization signal to the device V1, the wave propagation delay is 1ms), so when the device V1 sets the time of the device V1 to t1, the time of the base station is "t 1 plus 1 ms". The longer the distance between the device and the base station, the greater the electric wave transmission delay. It can be seen that the synchronization time corresponding to the synchronization signal transmitted by the base station received by the existing devices is not accurate, which results in that D2D communication between the devices is often not performed normally.
In order to solve the problem that D2D communication cannot be performed normally between devices, embodiments of the present invention provide a method and a device for correcting an error of a synchronization time sent by a base station.
Referring to fig. 2, fig. 2 is a schematic flow chart of a synchronization time error correction method according to an embodiment of the present invention. As shown in FIG. 2, the synchronization time error correction method may include portions 201 to 203.
201. The first device receives a timing advance TA transmitted by a base station in a state of time synchronization with the base station.
The first device may be a mobile phone, a wearable device (such as a smart watch), a tablet Computer, a Personal Computer (PC), a PDA (Personal Digital Assistant), an in-vehicle Computer, an automobile, or other terminals. When the base station is the base station shown in fig. 1, the first device may be any device under the signal coverage of the base station shown in fig. 1. For example, the first device may be device V1 and device V2 shown in fig. 1.
Here, TA is used to correct the synchronization time to obtain an uplink synchronization time, and the first device transmits a signal to the base station with reference to the uplink synchronization time, that is, compensates for a radio wave transmission delay when the first device transmits a signal to the base station, and transmits the signal to the base station at an appropriate time. The TA is determined by the base station from the received measurement report and then sent to the first device. In normal communication, when the first device approaches the base station, the base station informs the first device to reduce the TA; when the first device is far away from the base station, the base station will require the first device to increase the timing advance.
For example, if the first device is the device V1 shown in fig. 1, and if the time of the base station is t1, the time required for the base station to send the synchronization signal to the device V1 is 1ms, the time of the base station when the device V1 sets its own time to t1 is "t 1 plus 1 ms". Thus, the time of the first device is delayed by 1ms from the time of the base station. If the base station wants to receive the signal transmitted by the device V1 at "t 1 plus 2 ms", since the device V1 has a delay of 1ms by itself and the transmission time of 1ms is required for the device V1 to transmit the signal, the device V1 needs to transmit the signal to the base station 2ms earlier, that is, the device V1 needs to start transmitting the signal to the base station at its own time t 1. Where TA is the time 2ms before the signal is transmitted. The time t1 of the device V1 corrected by TA "t 1 plus 2 ms" is the uplink synchronization time.
Therefore, 0.5TA is the time error between device V1 and the base station.
202. The first device acquires the synchronization time of the first device and the base station.
In the embodiment of the present invention, for example, the time of the base station is t1, and the base station sends a synchronization signal to the device V1, then the device V1 sets its own time to t1, and t1 is the synchronization time of the first device with the base station, that is, the time of the device V1 itself.
203. The first device corrects the error of the synchronization time by 0.5 TA.
In the embodiment of the invention, the first device corrects the error of the synchronous time through 0.5TA to obtain the time consistent with the base station.
For example, if the base station time is t1, the synchronization time of the device V1 is t2, and 0.5TA is 1ms, the device V1 adds 1ms to the synchronization time t2 of the device V1 to obtain a time t1 corresponding to the base station. The time t1 is the downlink synchronization time obtained by correcting the synchronization time.
As an alternative implementation, after correcting the error of the synchronization time by 0.5TA, the first device may send a signal to the second device according to the time obtained by correcting the error of the synchronization time. Specifically, the first device determines whether the time obtained by correcting the error of the synchronization time is the time set by the base station for the first device to send a signal to the second device; and if the time obtained after correcting the error of the synchronous time is the time set by the base station for the first equipment to send the signal to the second equipment, the first equipment sends the signal to the second equipment.
For example, in the system architecture shown in fig. 1, the time of the base station is t1, the time of the device V1 is t2, and the time of the device V3 is t 1. Therefore, the TA transmitted by the base station received by device V1 is 2 ms. If the transmission resource allocated by the base station to the device V1 is that the device V1 sends 2ms data to the device V3 at t1, the device V1 corrects the error of t2 by 0.5TA (i.e., 1ms), and the obtained time is "t 2 plus 1 ms". If "t 2 plus 1 ms" is the same as t1, then device V1 starts sending 2ms of data to device V3 from that time. Accordingly, the device V3 determines the data of 2ms received from the start of t1 as the data transmitted by the device V1.
By sending a signal to the second device according to the time obtained by correcting the error of the synchronization time of the first device, normal D2D communication between the first device and the second device can be ensured.
As an alternative embodiment, the second device is a device other than the base station.
For example, when the first device is device V1, the second device may be device V2 or device V3. And the first equipment sends a signal to the second equipment according to the time after the synchronous time is corrected by 0.5 TA. And the first equipment sends a signal to the second equipment to the base station according to the time obtained by correcting the synchronous time through the TA.
As an optional implementation manner, after the first device corrects the error of the synchronization time by 0.5TA, the first device may further receive a signal sent by the third device according to the time obtained by correcting the error of the synchronization time. Specifically, the first device determines whether the time obtained by correcting the error of the synchronization time is the time set by the base station for the third device to send a signal to the first device; and if the time obtained after correcting the error of the synchronization time is the time set by the base station for the third equipment to send the signal to the first equipment, the first equipment determines that the received signal is the signal sent by the third equipment.
For example, in the system architecture shown in fig. 1, the time of the base station is t1, the time of the device V1 is t2, and the time of the device V3 is t 1. Therefore, the TA transmitted by the base station received by device V1 is 2 ms. If the transmission resource allocated by the base station to the device V3 is that the device V3 transmits 2 seconds of data to the device V1 at t1, the device V1 corrects the error of t2 by 0.5TA (i.e., 1ms), and obtains the time "t 2 plus 1 ms" that coincides with the base station. If "t 2 plus 1 ms" is the same as t1, device V1 determines that the signal received from this time is the signal from device V3.
For another example, in the system architecture shown in fig. 1, the time of the base station is t1, the time of the device V1 is t2, and the time of the device V2 is t 3. The TA transmitted by the base station received by device V1 is 2 ms. The TA transmitted by the base station received by device V2 is 4 ms. If the transmission resource allocated by the base station to the device V1 is that the device V1 transmits 2ms data to the device V2 at t1, the device V1 corrects the error of t2 by 0.5TA (i.e., 1ms), and obtains the time "t 2 plus 1 ms" that coincides with the base station. Accordingly, the device V2 corrects the error at t3 by 0.5TA (i.e., 2ms), resulting in a time "t 3 plus 2 ms" coinciding with the base station. If "t 2 plus 1 ms" is the same as t1, then device V1 will begin sending signals to device V2 from that time. Similarly, if "t 3 plus 2 ms" is the same as t1, then device V2 determines the signal received from that time to be the signal transmitted by device V2.
By receiving the signal transmitted by the third device according to the time obtained by correcting the error of the synchronization time of the first device, normal D2D communication between the first device and the third device can be ensured.
By implementing the method described in fig. 2, in a state where the first device is time-synchronized with the base station, the first device may correct the synchronization time of the first device synchronized with the base station according to 0.5TA, to obtain a time consistent with the base station, so as to transmit a signal to another device or receive a signal transmitted by another device according to the time consistent with the base station. It can be seen that by implementing the method described in fig. 2, the first device may correct the synchronization time to be consistent with the base station, thereby facilitating successful D2D communication between the devices.
In the existing practical application, the internet of vehicles is more and more concerned by people, and the safety and reliability of road traffic can be improved and the traffic efficiency can be improved through the communication between the vehicles and the D2D of the vehicles, the communication between the mobile phones and the D2D of the vehicles or the communication between the vehicles and roadside units and D2D. The conventional car networking system has the following problems: when the number of vehicles in the system is large, resource conflict is easy to occur, the system performance is poor, delay is uncontrollable, Quality of Service (QoS) cannot be guaranteed, and the transmission distance is limited.
The D2D communication technology based on cellular network has the advantages of low delay, large coverage area, and support of high-speed mobile terminals. The vehicle-to-vehicle communication is carried out in the cellular network, and the base station can be fully utilized to carry out the dynamic scheduling of the transmission resource, thereby reducing the probability of communication conflict and solving the problem of uncontrollable time delay. Therefore, the D2D communication technology based on the cellular network is often applied to communication between vehicles, communication between a cellular phone and a vehicle, or communication between a vehicle and a roadside unit in the car networking system.
In the existing practical application, in the car networking using the D2D communication technology based on the cellular network, a Global Navigation Satellite System (GNSS) is synchronized with a base station, and a vehicle (mobile device such as a mobile phone) can be synchronized with the GNSS or the base station. In general, the vehicle may synchronize preferentially with the GNSS and then with the base station in the absence of GNSS signals. For example, as shown in fig. 1, device V1, device V2, and device V3 are devices in a car networking. Device V1 and device V2 are within the signal coverage of the base station, and device V1 and device V2 are outside the GNSS signal coverage. Device V3 is outside the signal coverage of the base station and within the GNSS signal coverage. Device V1 and device V2 are synchronized to the base station and device V3 is synchronized to the GNSS. In the existing practical application, the synchronization time of the device synchronized with the GNSS is very accurate. Thus, the base station, GNSS and device V3 may be considered to be time consistent. And the device V1 and the device V2 have transmission delay due to the synchronization signal when synchronizing with the base station, so the device V1 has an error with the time of the device V2 and the base station. Thus, there may be an anomaly in D2D communications between device V1 and device V2 and device V3.
Therefore, the synchronization time error correction method described above with reference to fig. 2 can also be applied to devices in the vehicle network. For example, it is applicable to the device V1, the device V2, and the device V3 described above. Therefore, the first device executing the synchronization time error correction method described in FIG. 2 above can execute the parts 304-306 shown in FIG. 3 before executing the part 201, in addition to the parts 201-203. The portions 301 to 303 are the same as the portions 201 to 203, and specific implementation manners of the portions 301 to 303 may be specifically referred to in the description of the portions 201 to 203, which is not described herein again. Wherein:
304. the first device detects whether the number of searched GNSS satellites is smaller than a preset number or not in a state of time synchronization with a GNSS.
In the embodiment of the invention, when the first device is simultaneously within the signal coverage range of the GNSS and the base station, the first device and the GNSS can be preferentially time-synchronized. The portion 305 is performed when the first device detects that the number of GNSS satellites is less than a preset number. When the first device detects that the number of the GNSS satellites is larger than or equal to the preset number, the first device continues to perform time synchronization with the GNSS and continues to detect whether the number of the searched GNSS satellites is smaller than the preset number.
305. The first device ends the time synchronization with the GNSS and enters a time-keeping state.
In the embodiment of the present invention, after the first device finishes time synchronization with the GNSS, the first device enters the time keeping state, and in the time keeping state, it may be considered that the time of the first device itself is consistent with the time of the GNSS.
306. And the first equipment is in the time keeping state, and if the first equipment is in the signal coverage range of the base station, the first equipment is in time synchronization with the base station, and the time keeping state is finished.
In the embodiment of the present invention, when the first device is in the time-keeping state, and if the synchronization signal of the base station is detected, the first device performs time synchronization with the base station, and ends the time-keeping state. The time keeping state may be maintained for a preset time in a case where the first device does not detect a signal of the base station or the GNSS, and the first device may not communicate with other devices after the time keeping state of the preset time is maintained. If the time keeping state is not completed after the first device is time-synchronized with the base station, the first device cannot communicate with another device after a preset time even if the first device is time-synchronized with the base station.
After the first device performs time synchronization with the base station and enters the RRC CONNECTED state, part 301 may be executed to receive the TA transmitted by the base station.
It can be seen that by implementing the method described in fig. 3, normal D2D communication between devices in the internet of vehicles is facilitated.
The embodiment of the present invention may perform the division of the functional units on the first device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an apparatus provided in the present invention. The apparatus may be the apparatus in the above method embodiment. The apparatus comprises: a receiving module 401, an obtaining module 402 and a modifying module 403. Wherein:
a receiving module 401, configured to receive a timing advance TA sent by a base station in a state of performing time synchronization with the base station.
An obtaining module 402, configured to obtain a synchronization time for a device to synchronize with a base station.
And a correcting module 403, configured to correct the error of the synchronization time by 0.5 TA.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another apparatus provided in the present invention. Fig. 5 is obtained by optimizing fig. 4, and compared with fig. 4, fig. 5 further includes a sending module 404, a detecting module 405, an ending module 406, and a synchronizing module 407. Wherein:
a sending module 404, configured to send a signal to the second device according to the time obtained by correcting the error of the synchronization time.
As an alternative embodiment, the second device is a device other than the base station.
A detecting module 405, configured to detect whether the number of the searched GNSS satellites is less than a preset number in a state of performing time synchronization with a global satellite navigation system GNSS before the receiving module 401 receives the time advance TA sent by the base station.
An ending module 406, configured to end the time synchronization with the GNSS and enter a timekeeping state when the detection module 405 detects that the number of searched GNSS satellites is smaller than the preset number.
The synchronization module 407 is configured to perform time synchronization with the base station and end the time keeping state if the device is in the signal coverage of the base station in the time keeping state.
As an optional implementation manner, the receiving module 401 is further configured to receive a signal sent by a third device according to a time obtained by correcting an error of the synchronization time.
Based on the same inventive concept, the principle of the device to solve the problem provided in the embodiment of the present invention is similar to the method for correcting the synchronization time error in the embodiment of the method of the present invention, so the implementation of the device may refer to the implementation of the method, and is not described herein again for brevity.
Referring to fig. 6, fig. 6 is a schematic diagram of another possible structure of the apparatus according to the embodiment of the present disclosure. As shown in fig. 6, the device 600 comprises a processor 601, a memory 602, a bus system 603, and a transceiver 604, wherein the processor 601 and the memory 602 are connected via the bus system 603, and the transceiver 604 and the processor 601 are connected via the bus system 603.
The Processor 601 may be a Central Processing Unit (CPU), a general purpose Processor, a coprocessor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The processor 601 may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like.
The bus system 603 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus system 603 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Wherein the transceiver 604 is used for enabling communication with other network elements, such as base stations.
Among other things, the processor 601 calls the program code stored in the memory 602 for performing the following operations:
receiving a timing advance TA transmitted by a base station through a transceiver 604 in a state of time synchronization with the base station;
acquiring synchronous time of equipment and a base station;
the error of the synchronization time is corrected by 0.5 TA.
As an alternative embodiment, the processor 601 calls the program code stored in the memory 602, and is further configured to transmit a signal to the second device through the transceiver 604 according to the time obtained by correcting the error of the synchronization time after correcting the error of the synchronization time by 0.5 TA.
As an alternative embodiment, the second device is a device other than the base station.
As an alternative embodiment, the processor 601 calls the program code stored in the memory 602, and is further configured to receive the signal sent by the third device through the transceiver 604 according to the time obtained by correcting the error of the synchronization time after correcting the error of the synchronization time by 0.5 TA.
As an alternative embodiment, the processor 601 calls the program code stored in the memory 602, and is further configured to detect whether the number of searched GNSS satellites is less than a preset number in a state of time synchronization with the global satellite navigation system GNSS before receiving the time advance TA sent by the base station; if the number of the searched GNSS satellites is smaller than the preset number, ending the time synchronization with the GNSS and entering a timekeeping state; in the time keeping state, if the device is within the signal coverage of the base station, time synchronization is performed with the base station, and the time keeping state is ended.
Based on the same inventive concept, the principle of the device to solve the problem provided in the embodiment of the present invention is similar to the method for correcting the synchronization time error in the embodiment of the method of the present invention, so the implementation of the device may refer to the implementation of the method, and is not described herein again for brevity.
In addition, an embodiment of the present invention further provides a non-volatile computer-readable storage medium storing one or more programs, where the non-volatile computer-readable storage medium stores at least one program, each of the programs includes an instruction, and when the instruction is executed by an apparatus provided in an embodiment of the present invention, the apparatus executes portions 201 to 203 in fig. 2, portions 301 to 306 in fig. 3, or other execution processes of the first apparatus in the foregoing method embodiment in the embodiment of the present invention, which may refer to descriptions of portions 201 to 203 in fig. 2, portions 301 to 306 in fig. 3, or other execution processes of the first apparatus in the foregoing method embodiment in the method embodiment, and no further description is provided here.
It is further noted that, in the embodiments of the present invention, relational terms such as first, second, third, pin sequence numbers, and the like are used solely to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a non-volatile computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-mentioned embodiments are further described in detail for the purpose of illustrating the invention and the advantages thereof, it is to be understood that various embodiments may be combined, and the above-mentioned embodiments of the invention are not intended to limit the scope of the invention, and any combination, modification, equivalent replacement, improvement, etc. made within the spirit and principle of the invention should be included in the scope of the invention.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (4)

1. A synchronization time error correction method is applied to a first terminal device, and is characterized by comprising the following steps:
detecting whether the number of searched GNSS satellites is smaller than a preset number or not in a state of time synchronization with a Global Navigation Satellite System (GNSS);
if the number of the searched GNSS satellites is smaller than the preset number, ending time synchronization with the GNSS and entering a timekeeping state;
in the time-keeping state, if the first terminal equipment is within the signal coverage range of a base station, performing time synchronization with the base station, and ending the time-keeping state;
receiving a timing advance TA sent by a base station in a state of time synchronization with the base station;
acquiring the synchronization time of the first terminal equipment and the base station;
correcting the error of the synchronous time through 0.5 TA;
sending a signal to second terminal equipment according to the time obtained after correcting the error of the synchronous time;
and receiving a signal sent by the third terminal equipment according to the time obtained by correcting the error of the synchronous time.
2. A first terminal device, characterized in that the device comprises:
the detection module is used for detecting whether the number of the searched GNSS satellites is less than a preset number or not in a state of time synchronization with a Global Navigation Satellite System (GNSS);
the ending module is used for ending the time synchronization with the GNSS and entering a timekeeping state when the detection module detects that the number of the searched GNSS satellites is smaller than the preset number;
a synchronization module, configured to perform time synchronization with a base station if the first terminal device is in a signal coverage range of the base station in the time-keeping state, and end the time-keeping state;
a receiving module, configured to receive a timing advance TA sent by a base station in a state of performing time synchronization with the base station;
an obtaining module, configured to obtain a synchronization time for synchronizing the first terminal device with the base station;
the correction module is used for correcting the error of the synchronous time through 0.5 TA;
the sending module is used for sending a signal to second terminal equipment according to the time obtained by correcting the error of the synchronous time;
and the receiving module is further configured to receive a signal sent by a third terminal device according to the time obtained by correcting the error of the synchronization time.
3. A terminal device, characterized in that the terminal device comprises: one or more processors, a memory, a transceiver, a bus system, and one or more programs, the processors, the transceiver, and the memory being coupled via the bus system; wherein the one or more programs are stored in the memory, the one or more programs including instructions which, when executed by the terminal device, cause the terminal device to perform the method of claim 1.
4. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a terminal device, cause the terminal device to perform the method of claim 1.
CN201680091082.2A 2016-11-30 2016-11-30 Synchronous time error correction method and device Active CN109983811B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/108145 WO2018098746A1 (en) 2016-11-30 2016-11-30 Synchronization time error correction method and device

Publications (2)

Publication Number Publication Date
CN109983811A CN109983811A (en) 2019-07-05
CN109983811B true CN109983811B (en) 2021-01-29

Family

ID=62241040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680091082.2A Active CN109983811B (en) 2016-11-30 2016-11-30 Synchronous time error correction method and device

Country Status (2)

Country Link
CN (1) CN109983811B (en)
WO (1) WO2018098746A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726771B (en) * 2019-03-22 2022-09-09 中国信息通信研究院 Internet of vehicles communication method and system
CN110537374B (en) * 2019-06-28 2022-09-30 北京小米移动软件有限公司 Data sending method, data receiving method, device and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105301951A (en) * 2015-09-29 2016-02-03 国电南瑞科技股份有限公司 Multi-source decision realization method of time synchronization system based on analytic hierarchy method
CN105446128A (en) * 2015-12-24 2016-03-30 *** Navigation satellite high-precision time service system with constant temperature circuit and method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043254B (en) * 2006-03-24 2010-05-26 大唐移动通信设备有限公司 Method for processing terminal to transmit uplink signal
CN101075848B (en) * 2007-07-05 2011-07-20 华为技术有限公司 System and method for synchronizing microcellular network base station and base station
US9094910B2 (en) * 2008-09-09 2015-07-28 Htc Corporation Methods utilized in mobile device for handling situations when time alignment timer expires, and mobile device thereof
CN101540634B (en) * 2009-04-30 2013-01-02 华为技术有限公司 Uplink synchronisation method, base station, terminal and communication system
KR101661355B1 (en) * 2009-10-29 2016-10-11 삼성전자주식회사 Method and apparatus to compensate a timing synchronization error in a communication system
KR20120111358A (en) * 2011-03-31 2012-10-10 주식회사 팬택 Apparatus and method for transmitting and receiving uplink synchronization information in wireless communication system
CN103269262B (en) * 2013-04-01 2016-04-13 柳州市达迪通信设备有限公司 A kind of punctual method of time synchronism apparatus
CN104581755A (en) * 2013-10-16 2015-04-29 华为技术有限公司 Time synchronization method between direct-communication UE (user equipment) and UE
WO2015062059A1 (en) * 2013-10-31 2015-05-07 华为技术有限公司 Timing advance adjustment method and device
CN104219758A (en) * 2014-08-08 2014-12-17 中兴通讯股份有限公司 D2D communication method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105301951A (en) * 2015-09-29 2016-02-03 国电南瑞科技股份有限公司 Multi-source decision realization method of time synchronization system based on analytic hierarchy method
CN105446128A (en) * 2015-12-24 2016-03-30 *** Navigation satellite high-precision time service system with constant temperature circuit and method

Also Published As

Publication number Publication date
WO2018098746A1 (en) 2018-06-07
CN109983811A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN110324889B (en) Clock synchronization method, communication device and communication equipment
KR101691448B1 (en) Device-to-device communication method, apparatus and system
RU2671309C2 (en) Method and device for transferring report on functional capabilities of terminal device
KR20220018571A (en) Dual-SIM UE data transmission method and apparatus, storage medium and user equipment
JP6886511B2 (en) Data transmission method and equipment
EP4184206A1 (en) Ranging method and apparatus in synchronization system, device and readable storage medium
CN109151983B (en) Information sending method, information receiving method, network equipment and terminal equipment
EP3780745A1 (en) Signal transmission method, network device, and terminal device
WO2017076195A1 (en) Clock synchronization method, and synchronization information transmission method and apparatus
WO2020064716A1 (en) Timing synchronization of 5g v2x sidelink transmissions
CN109983811B (en) Synchronous time error correction method and device
US20220159599A1 (en) Sidelink Synchronization Update
CN112673652A (en) Signal transmission method and device, and terminal
CN110710310A (en) Super system frame number determining method, communication method and device
WO2022000481A1 (en) Wireless communication method and communication apparatus
EP3618509B1 (en) Power saving for non-trigger-based ranging
US20220353924A1 (en) Time adjustment method and system, device and storage medium
CN111614449A (en) Method for transmitting pilot signal and relay node
CN113727370B (en) Method and device for configuring secondary cell group
CN113300802B (en) Transmission method and device
US20220248402A1 (en) Communication method, apparatus and device, and computer-readable storage medium
CN111867087B (en) Method and communication device for adjusting time domain resource boundary
CN116508361A (en) Transmission of periodic data in inactive state
JP2022535499A (en) User device and its wireless communication method
CN113518322A (en) Wireless communication method and communication device

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
GR01 Patent grant
GR01 Patent grant