CN115002891A - Wireless time synchronization method, device and equipment - Google Patents

Wireless time synchronization method, device and equipment Download PDF

Info

Publication number
CN115002891A
CN115002891A CN202110231422.XA CN202110231422A CN115002891A CN 115002891 A CN115002891 A CN 115002891A CN 202110231422 A CN202110231422 A CN 202110231422A CN 115002891 A CN115002891 A CN 115002891A
Authority
CN
China
Prior art keywords
time
information
offset
communication device
moment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110231422.XA
Other languages
Chinese (zh)
Inventor
王肖楠
唐厚成
云翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baicells Technologies Co Ltd
Original Assignee
Baicells 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 Baicells Technologies Co Ltd filed Critical Baicells Technologies Co Ltd
Priority to CN202110231422.XA priority Critical patent/CN115002891A/en
Publication of CN115002891A publication Critical patent/CN115002891A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a wireless time synchronization method, a wireless time synchronization device and wireless time synchronization equipment, and relates to the field of communication. The method is performed by a first communication device, comprising: acquiring a time identifier, time offset information and first time information in system information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device; and under the condition that the time identification indicates that the next whole second moment of the second communication equipment will occur, carrying out time synchronization processing with the second communication equipment according to the time offset information and the first time information. The method of the invention solves the problems that the existing time synchronization depends on a receiver and an antenna, the cost is high and the use is limited.

Description

Wireless time synchronization method, device and equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a device for wireless time synchronization.
Background
In the practical deployment and use of a New Radio (NR) network, the time synchronization techniques generally adopted are: global Positioning System (GPS), beidou, and the like.
However, the two time synchronization modes need to be provided with an external antenna besides a GPS or Beidou receiver, and both the factors increase the design and construction costs; meanwhile, in some special occasions, the installation of the antenna is limited, so that the antenna cannot be used, for example, when the indoor equipment uses a GPS, the installation position is often severely limited.
Disclosure of Invention
The invention aims to provide a wireless time synchronization method, a wireless time synchronization device and wireless time synchronization equipment, and aims to solve the problems that the existing time synchronization depends on a receiver and an antenna, the cost is high, and the use is limited.
To achieve the above object, an embodiment of the present invention provides a wireless time synchronization method, performed by a first communication device, including:
acquiring a time identifier, time offset information and first time information in system information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device;
and under the condition that the time identifier indicates that the next whole second moment of the second communication equipment will occur, performing time synchronization processing with the second communication equipment according to the time offset information and the first time information.
Optionally, a master information block MIB of the system information includes the time identifier;
the system information block of the system information, SIB1, or the remaining system information blocks excluding the MIB and SIB1 contain the time offset information and the first time information.
Optionally, the performing, according to the time offset and the first time information, time synchronization processing with a second communication device includes:
determining the time synchronization moment according to the time offset information;
determining second time information to be updated according to the first time information;
and at the time of time synchronization, updating the local system time according to the second time information.
Optionally, the determining the time synchronization time according to the time offset information includes:
if the time offset information is a time offset index, determining a time offset T through the time offset index offset Then, the boundary time of the reference MIB is shifted by T offset As the time synchronization time.
Optionally, the determining the time synchronization time according to the time offset information includes:
if the time offset information is T offset Then shift the boundary time of the reference MIB by T offset As the time synchronization time.
Optionally, the determining, according to the first time information, second time information to be updated includes:
and calculating the second time information according to the first time information and the index value of the Timing Advance (TA).
Optionally, before determining the time synchronization time according to the time offset information, the method further includes:
taking the received first MIB as the reference MIB when the beam scanning function is not enabled by the second communication device;
determining a second MIB in a group of temporally continuous MIBs sent by a second communication device through a preset rule under the condition that the second communication device enables a beam scanning function, and taking the second MIB as the reference MIB; wherein, the group of MIBs which are continuous in time are all MIBs containing valid time identifiers.
Optionally, the method further comprises:
and after the time synchronization of the first communication equipment and the second communication equipment, outputting a pulse signal and third time information in a preset format at preset time.
To achieve the above object, an embodiment of the present invention provides a wireless time synchronization method, performed by a second communication device, including:
transmitting system information, the system information comprising: time identification, time offset information and first time information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device.
Optionally, the MIB of the system information includes the time identifier;
the SIB1 of the system information, or the remaining system information blocks except the MIB and the SIB1 contain the time offset information and the first time information.
To achieve the above object, an embodiment of the present invention provides a wireless time synchronization apparatus, including:
the acquisition module is used for acquiring the time identification, the time offset information and the first time information in the system information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device;
and the processing module is used for carrying out time synchronization processing with the second communication equipment according to the time offset information and the first time information under the condition that the time identifier indicates that the next whole second moment of the second communication equipment will occur.
Optionally, the MIB of the system information includes the time identifier;
the SIB1 of the system information, or the remaining system information blocks except the MIB and the SIB1 contain the time offset information and the first time information.
Optionally, the processing module includes:
the first determining submodule is used for determining the time synchronization moment according to the time offset information;
the second determining submodule is used for determining second time information to be updated according to the first time information;
and the first processing submodule is used for updating the local system time according to the second time information at the time of time synchronization.
Optionally, the first determining sub-module is further configured to:
if the time offset information is a time offset index, determining a time offset T through the time offset index offset Then, the boundary time of the reference MIB is shifted by T offset As the time synchronization time.
Optionally, the first determining sub-module is further configured to:
if the time offset information is T offset Then shift the boundary time of the reference MIB by T offset As the time synchronization time.
Optionally, the second determining sub-module is further configured to:
and calculating the second time information according to the first time information and the index value of the Timing Advance (TA).
Optionally, the apparatus further comprises:
a second processing submodule, configured to, when the second communication device does not enable the beam scanning function, use the received first MIB as the reference MIB;
a third processing sub-module, configured to determine, by a preset rule, a second MIB in a group of temporally consecutive MIBs sent by a second communication device when the second communication device enables a beam scanning function, and use the second MIB as the reference MIB; wherein, the group of MIBs which are continuous in time are all MIBs containing valid time identifiers.
Optionally, the apparatus further comprises:
and the output module is used for outputting the pulse signal and the third time information in the preset format at the preset time after the time synchronization of the first communication equipment and the second communication equipment.
To achieve the above object, an embodiment of the present invention provides a wireless time synchronization apparatus, including:
a sending module, configured to send system information, where the system information includes: time identification, time offset information and first time information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device.
Optionally, the MIB of the system information includes the time identifier;
the SIB1 of the system information, or the remaining system information blocks except the MIB and the SIB1 contain the time offset information and the first time information.
To achieve the above object, an embodiment of the present invention provides a communication device, including a processor, a transceiver, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the wireless time synchronization method executed by the first communication device as described above, or the wireless time synchronization method executed by the second communication device as described above.
To achieve the above object, an embodiment of the present invention provides a readable storage medium storing thereon a program or instructions which, when executed by a processor, implements the wireless time synchronization method performed by a first communication device as described above or the steps of the wireless time synchronization method performed by a second communication device as described above.
The technical scheme of the invention has the following beneficial effects:
the method of the embodiment of the invention can utilize the time mark indicating whether the next whole second moment of the second communication equipment will occur in the system information, the time offset information indicating the offset of the time synchronization moment and the first time information indicating the next whole second moment of the second communication equipment to realize the time synchronization of two sides through wireless, thereby solving the problems that the existing time synchronization depends on a receiver and an antenna, and the cost is high and the use is limited.
Drawings
Fig. 1 is a flowchart illustrating a method for wireless time synchronization performed by a first communication device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for wireless time synchronization performed by a second communication device according to an embodiment of the present invention;
FIG. 4 is a schematic view of the apparatus corresponding to FIG. 1;
FIG. 5 is a schematic view of the apparatus corresponding to FIG. 3;
fig. 6 is a schematic structural diagram of a wireless time synchronization system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a wireless time synchronization system according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
Detailed Description
To make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, a wireless time synchronization method according to an embodiment of the present invention is executed by a first communication device, and includes:
step 101, acquiring a time identifier, time offset information and first time information in system information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device.
The first communication device acquires the time identifier in the system information through the received system information to know whether the next whole second moment of the second communication device occurs or not; acquiring time offset information in the system information to know the offset of time synchronization time; and acquiring first time information in the system information to know the next whole second moment of the second communication equipment so as to perform subsequent processing.
And 102, performing time synchronization processing with the second communication device according to the time offset information and the first time information under the condition that the time identifier indicates that the next whole second moment of the second communication device will occur.
In this step, after the time stamp, the time offset information, and the first time information are acquired in step 101, it is possible to indicate that the next whole second of the second communication device will occur based on the time stamp, and further perform time synchronization processing with the second communication device based on the time offset information and the first time information.
Thus, according to the above steps 101 and 102, the method of the embodiment of the present invention can utilize the time identifier indicating whether the next whole second time of the second communication device will occur in the system information, the time offset information indicating the offset of the time synchronization time, and the first time information indicating the next whole second time of the second communication device to wirelessly implement time synchronization on both sides, thereby solving the problems that the existing time synchronization depends on the receiver and the antenna, and is high in cost and limited in use.
The first communication device may be a terminal-side device, such as a handheld terminal, a vertical industry terminal, or the like. The second communication device is a network side device, such as a base station. Therefore, for a new air interface NR system, especially in a highly real-time, automatic and dynamic industrial 4.0, and some deployment scenes (such as indoor or outdoor satellite signal shielding) which are easily limited by physical environment, the method of the embodiment of the invention can effectively solve the problems that the existing time synchronization depends on a receiver and an antenna, not only is the cost high, but also the use is limited, meets the harsh wireless communication requirements of the vertical industry, and achieves higher precision and more accurate clock synchronization.
Optionally, in an embodiment of the present invention, a Master Information Block (MIB) of the system Information includes the time identifier;
a System Information Block one (SIB 1) of the System Information, or the remaining System Information blocks except the MIB and the SIB1 include the time offset Information and the first time Information.
That is, in the system information broadcast by the second communication device, the MIB contains a time stamp indicating whether the next whole second time of the second communication device will occur, and the SIB1 or the remaining system information blocks (i.e., the system information blocks in the system information other than MIB and SIB1) contain time offset information indicating an offset of the time synchronization time and first time information indicating the next whole second time of the second communication device. And the first communication device acquires the time identification through the received MIB, and acquires the time offset information and the first time information through the received SIB1 or the remaining system information blocks. For example, in the NR system, a base station (second communication apparatus) periodically broadcasts system information to a first communication apparatus, the system information including: MIB, SIB1, and other system information blocks (i.e., system information blocks in the system information other than MIB and SIB 1). The first communication equipment acquires the time and frequency domain position of SIB1 information corresponding to the first communication equipment by analyzing the MIB and other related operations sent by the base station; further, the time and frequency locations of other system information blocks are obtained by parsing SIB 1. The first communication device can resolve at the corresponding time and frequency domain locations to obtain the specific content of the SIB1 and other system information blocks.
Optionally, in this embodiment, the MIB contains a reserved bit with 1 bit as the time identifier, and when the first communication device receives that the value of the reserved bit is "1", it indicates that the next whole second time of the second communication device will occur. Two custom fields are added to the SIB1 or the remaining system information block as time offset information and first time information, respectively. Preferably, two custom fields are added in the SIB 1.
Optionally, in this embodiment, the performing, according to the time offset and the first time information, time synchronization processing with a second communication device includes:
determining the time synchronization moment according to the time offset information;
determining second time information to be updated according to the first time information;
and updating the local system time according to the second time information at the time of time synchronization.
In this way, after determining the time synchronization time based on the time offset information and determining the second time information to be updated based on the first time information, the first communication device can update the local system time at the determined time synchronization time according to the determined second time information.
In this embodiment, the time offset information is time domain offset information between the time synchronization time and the boundary time of the reference MIB, so that the time (also referred to as time domain position) at which the first communication device performs local system time update can be deduced.
Specifically, the time offset information is a time offset T offset Or a time offset index n. For the case that the time offset information is the time offset index n, the time offset information can be expressed by formula
Figure BDA0002958410470000071
Calculating to obtain T offset . Where C is a constant, Tc is a predetermined time base unit, and μ is a parameter related to a subcarrier interval for uplink transmission. As for NR systems, the accuracy of the combined Timing Advance (TA) is 16 x 64 x T C /2 μ Then C takes the value 16 x 64; tc is about 0.5086 ns; when the subcarrier spacing is 15KHz, μ is 0.
Therefore, optionally, in an aspect, the determining the time synchronization time according to the time offset information includes:
if the time offset information is T offset Then shift the boundary time of the reference MIB by T offset As the time synchronization time.
Here, can directlyT contained by SIB1 or remaining system information blocks offset To calculate the boundary time offset T of the reference MIB offset Is a time synchronization time.
On the other hand, the determining the time synchronization time according to the time offset information includes:
if the time offset information is a time offset index, determining a time offset T through the time offset index offset Then, the boundary time of the reference MIB is shifted by T offset As the time synchronization time.
Here, T needs to be calculated from n included in the acquired SIB1 or the remaining system information blocks offset (e.g., by the formula T) offset =n·C·T C /2 μ ) Then, the boundary time offset T of the reference MIB is calculated offset Is a time synchronization time.
The boundary time of the reference MIB may be a start boundary or an end boundary.
However, considering that the second communication device is not limited to transmitting one Synchronization Signal/PBCH Block (SSB), a set of SSBs, i.e., a corresponding set of MIBs, may appear after the beam scanning function is enabled. Therefore, in order to clarify the time synchronization time of the first communication device, optionally, determining the time synchronization time before according to the time offset information, further includes:
taking the received first MIB as the reference MIB when the beam scanning function is not enabled by the second communication device;
determining a second MIB in a group of temporally continuous MIBs sent by a second communication device through a preset rule under the condition that the second communication device enables a beam scanning function, and taking the second MIB as the reference MIB; wherein, the group of MIBs which are continuous in time are all MIBs containing valid time identifiers.
For a second communication device that does not enable the beam scanning function, the first MIB received by the first communication device is the reference MIB. For the second communication device enabling the beam scanning function, the first communication device determines the reference MIB by a preset rule, that is, the second MIB determined by the preset rule in a group of temporally continuous MIBs sent by the second communication device can keep the time offsets in the time domain between the next whole second time of the second communication device side and a group of MIBs each including an effective time identifier uniform. Wherein the valid time stamp is a time stamp indicating that the next whole second moment of the second communication device will occur.
Of course, this second MIB may not be the MIB received by the first communication device.
The preset rule is defined or set in advance, and specifically, the preset rule is that the SSB index value is maximum; or the predetermined rule is that the SSB index value is minimum. For example, assuming that the preset rule is that the SSB index value is the largest, and the corresponding MIBs of a set of SSBs (discretely distributed in one time domain period) sent by the second communications device after enabling the beam scanning function all include valid time identifiers, the MIB with the reserved bit "1" with the largest SSB index value in the set of SSBs may be selected as the reference MIB.
Optionally, in this embodiment, the determining, according to the first time information, second time information to be updated includes:
and calculating the second time information according to the first time information and the index value of the Timing Advance (TA).
Here, the TA is calculated by the second communication device according to the transmission delay with the first communication device, and the second communication device usually sends the index value of the TA to each communication device connected to the base station, and each communication device calculates the corresponding time of the uplink data according to the received index value of the TA, so that the uplink data of each communication device can be aligned on the second communication device side, and uplink collision is avoided.
In this way, the first communication device may also calculate the second time information, i.e. the local system time to be updated, by combining the first time information and the index value of the TA. The time corresponding to the second time information is absolute time.
Wherein the second time information T adj The values of (A) are:
Figure BDA0002958410470000091
T next as first time information, T A =TA index *16*64*T C /2 μ I.e. T A Is an index value TA according to TA index A calculated timing advance value. T is next It can be accurate to seconds, i.e. the first time information comprises year, month, day, hour, minute, second.
Further, optionally, in this embodiment, the method further includes:
and after the time synchronization of the first communication equipment and the second communication equipment, outputting a pulse signal and third time information in a preset format at preset time.
Wherein the pulse signal may be a 1PPS pulse signal. The preset format is set based on the serial port specification standard, for example, the third time information meeting the format requirement is output through the serial port specification standard such as RS485 or RS 232.
The following specifically describes the use of the embodiment of the present invention in a specific NR scenario:
in this scenario, the base station (second communication device) uses a reserved bit of 1 bit contained in the MIB as the time identifier, where the reserved bit is "1", that is, the valid time identifier; two custom fields are added in the SIB1, new field 1 defining n (time offset information) and new field 2 defining T next (first time information). Here, the new field 1 indicates a value of a time offset index between the next entire second time of the base station side and the reference MIB, from which the time domain position at the next entire second time of the base station side can be deduced. Then:
step 1, a terminal device (a first communication device) receives and processes a Primary Synchronization Signal (PSS), a Secondary Synchronization Signal (SSS), an SSB index number, and a half frame bit in an SSB transmitted by a base station, thereby realizing time and frequency offset tracking of the base station and ensuring alignment of the terminal device and the base station in time and frequency domains.
It should be appreciated that in NR, the synchronization information and the system information on PBCH are transmitted in "packets" that can match the Beam Sweeping (Beam Sweeping) mechanism so that the synchronization information and the system information can be received by all terminal devices. In the initial access stage of the terminal equipment, the sending period of the base station SSB is 20 ms; in the idle or connected state, the period of the SSB may be configured to 5/10/20/40/80/160 ms.
Step 2, after the terminal device and the base station are aligned in the time domain and the frequency domain (step 1), the terminal device may further sequentially obtain the MIB, SIB1 and other system information blocks in the SSB sent by the base station.
And step 3, the terminal equipment acquires the index value of the TA through an air interface.
And step 4, when the reserved bit in the MIB information received by the terminal device is "1", the terminal device calculates the time synchronization time of the next whole second time corresponding to the base station side of the terminal device and the local system time to be updated (to-be-updated time) according to the two self-defined fields in SIB1 analyzed subsequently and the value of the TA. In particular, by the formula T offset =n·C·T C /2 μ Calculating to obtain T offset Then time synchronizing time T 1 At the cut-off boundary time T of reference MIB 0 Offset T offset As shown in fig. 2. Local system time to be updated, i.e. second time information
Figure BDA0002958410470000101
And 5, the terminal equipment updates the local system time of the terminal equipment according to the time synchronization moment and the time to be updated obtained in the step 4.
And 6, the terminal equipment outputs the pulse per second signal at the local time of the whole second and the whole second time information represented by the pulse per second signal.
In summary, the method according to the embodiment of the present invention can utilize the time identifier indicating whether the next whole second time of the second communication device will occur in the system information, the time offset information indicating the offset of the time synchronization time, and the first time information indicating the next whole second time of the second communication device to wirelessly implement time synchronization on both sides, thereby solving the problems that the existing time synchronization depends on the receiver and the antenna, and is not only high in cost but also limited in use.
As shown in fig. 3, a wireless time synchronization method according to an embodiment of the present invention is executed by a second communication device, and includes:
step 301, sending system information, where the system information includes: time identification, time offset information and first time information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device.
Of course, before sending the system information, the second communication device will determine the time identifier to be sent, the time offset information, and the first time information.
Thus, the second communication device sends the system information, so that the first communication device can utilize the time identifier indicating whether the next whole second moment of the second communication device will occur in the system information, the time offset information indicating the offset of the time synchronization moment and the first time information indicating the next whole second moment of the second communication device to realize the time synchronization of the two sides through wireless, and the problems that the existing time synchronization depends on a receiver and an antenna, the cost is high and the use is limited are solved.
Optionally, the MIB of the system information includes the time identifier;
the SIB1 of the system information, or the remaining system information blocks except the MIB and the SIB1 contain the time offset information and the first time information.
It should be noted that this method is implemented in cooperation with the above-mentioned wireless time synchronization method executed by the first communication device, and the implementation manner of the above-mentioned method embodiment is applicable to this method, and the same technical effects can be achieved.
As shown in fig. 4, an embodiment of the present invention provides a wireless time synchronization apparatus, including:
an obtaining module 410, configured to obtain a time identifier, time offset information, and first time information in the system information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device;
a processing module 420, configured to perform, when the time identifier indicates that the next whole second time of the second communication device will occur, time synchronization processing with the second communication device according to the time offset information and the first time information.
Optionally, the MIB of the system information includes the time identifier;
the SIB1 of the system information, or the remaining system information blocks except the MIB and the SIB1 contain the time offset information and the first time information.
Optionally, the processing module includes:
the first determining submodule is used for determining the time synchronization moment according to the time offset information;
the second determining submodule is used for determining second time information to be updated according to the first time information;
and the first processing submodule is used for updating the local system time according to the second time information at the time of time synchronization.
Optionally, the first determining submodule is further configured to:
if the time offset information is a time offset index, determining a time offset T through the time offset index offset Then, the boundary time of the reference MIB is shifted by T offset As the time synchronization time.
Optionally, the first determining sub-module is further configured to:
if the time offset information is T offset Then shift the boundary time of the reference MIB by T offset As the time synchronization time.
Optionally, the second determining sub-module is further configured to:
and calculating the second time information according to the first time information and the index value of the Timing Advance (TA).
Optionally, the apparatus further comprises:
a second processing submodule, configured to, when the second communication device does not enable the beam scanning function, use the received first MIB as the reference MIB;
a third processing sub-module, configured to determine, by a preset rule, a second MIB in a group of temporally consecutive MIBs sent by a second communication device when the second communication device enables a beam scanning function, and use the second MIB as the reference MIB; wherein, the group of MIBs which are continuous in time are all MIBs containing valid time identifiers.
Optionally, the apparatus further comprises:
and the output module is used for outputting the pulse signal and the third time information in the preset format at the preset time after the time synchronization of the first communication equipment and the second communication equipment.
The device can utilize the time mark indicating whether the next whole second moment of the second communication equipment will occur in the system information, the time offset information indicating the offset of the time synchronization moment and the first time information indicating the next whole second moment of the second communication equipment to realize the time synchronization of two sides in a wireless way, thereby solving the problems that the existing time synchronization depends on a receiver and an antenna, and the cost is high and the use is limited.
It should be noted that, the apparatus is applied with the above-mentioned wireless time synchronization method executed by the first communication device, and the implementation manner in the above-mentioned method embodiment is also applicable to the apparatus, and the same technical effect can be achieved.
As shown in fig. 5, an embodiment of the present invention provides a wireless time synchronization apparatus, including:
a sending module 510, configured to send system information, where the system information includes: time identification, time offset information and first time information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device.
Optionally, the MIB of the system information includes the time identifier;
the SIB1 of the system information, or the remaining system information blocks except the MIB and the SIB1 contain the time offset information and the first time information.
The device can enable the first communication equipment to utilize the time mark indicating whether the next whole second moment of the second communication equipment will occur or not, the time offset information indicating the offset of the time synchronization moment and the first time information indicating the next whole second moment of the second communication equipment in the system information by sending the system information, and realize the time synchronization of two sides through wireless, thereby solving the problems that the existing time synchronization depends on a receiver and an antenna, and the cost is high and the use is limited.
It should be noted that, the apparatus applies the above-mentioned wireless time synchronization method executed by the second communication device, and the implementation manner in the above-mentioned method embodiment is also applicable to the apparatus, and the same technical effect can be achieved.
As shown in fig. 6, the wireless time synchronization system according to the embodiment of the present invention includes a base station, a time processing server, a standard user equipment UE processing unit, a terminal device, and a time processing client. The base station is used as a wireless time synchronization method executed by the first communication equipment, and the terminal equipment is used as a wireless time synchronization method executed by the second communication equipment. Specifically, the method comprises the following steps:
(1) the time processing server:
time service is carried out to a gNB (base station);
and sending related data packets to the time processing client through a link of a time server, a base station, a standard UE processing unit and the time processing client.
(2) A base station:
the method comprises the steps of enabling to use an MIB reserved bit to indicate the next second, and enabling the terminal equipment to obtain the relative position (time offset information) of the head of the next second and a reference MIB at the base station side and the specific time (first time information) of the next second by using 2 self-defined fields in the SIB1 or the rest system information blocks;
and sending signaling and data to a standard UE processing unit and terminal equipment.
(3) Standard UE processing unit: and processing signaling and data sent by the base station.
(4) Radio frequency unit of terminal equipment:
receiving control data of a radio frequency control unit to realize configuration of the radio frequency unit;
receiving air interface data sent by a gNB (base station), and converting the air interface data into baseband data;
and receiving the baseband data of the signal processing unit, converting the baseband data into air interface data and sending the air interface data.
(5) The radio frequency control and signal processing unit of the terminal equipment comprises:
realizing 5G related channel functions;
5G signal scanning and 5G data transceiving functions are realized through radio frequency control;
by receiving SS/PBCH, the clock is aligned with gNB (base station), and MIB with pulse per second identifier is analyzed and sent to the time calculation unit;
receiving SIB1 or rest system information block, obtaining information in 2 self-defined fields, and sending to time calculating unit;
receiving TA information (such as index value of TA) and sending to the time calculation unit.
(6) Time calculation unit of terminal device:
and receiving the TA information, the MIB and the related information in the SIB1 or the rest system information blocks from the radio frequency control and signal processing unit, and calculating to obtain the time to be updated (second time information) and the time for updating the system time (time synchronization time).
(7) System time unit of terminal device:
maintaining the system time;
and updating the local system time by using the time to be updated at the corresponding moment indicated by the time calculation unit.
(8) Time service unit of terminal equipment:
and according to the system time, outputting a 1PPS second pulse signal at the second head of the whole second, and sending time information corresponding to the second through a serial port.
(9) The time processing client side comprises:
receiving 1PPS and serial port time information to realize time synchronization with a base station and a time processing server;
receiving a related data packet sent by a standard UE processing unit;
the time processing client may provide clock synchronization signals to external other devices using IEEE1588 or other standard protocols.
As shown in fig. 7, a wireless time synchronization system according to another embodiment of the present invention includes a base station, a time processing server, a standard UE processing unit, and a time processing client. Wherein the base station is used as a wireless time synchronization method executed by the first communication equipment, and the standard UE processing unit is used as a wireless time synchronization method executed by the second communication equipment. Here, the standard UE processing unit is based on the functionality of the terminal device shown in the embodiment diagram shown in fig. 6.
After the functions are integrated, the standard UE processing unit realizes synchronization with the gNB (base station) by the wireless time synchronization method of the above embodiment, and outputs 1PPS and corresponding time information to the expansion interface unit; meanwhile, the expansion interface unit can also receive the application data of the standard UE processing unit.
An expansion interface unit:
converting the 1PPS signal and the time information received from the standard UE processing unit into a signal format supported by a time processing client and transmitting the signal format;
the extension interface unit completes protocol conversion of a data interface (corresponding to the time processing client) and an application data interface (corresponding to the standard UE processing unit), so that the time processing client and the standard UE processing unit realize data interaction.
As shown in fig. 8, an embodiment of the present invention provides a communication device, which includes a processor 800, a transceiver 810, a memory 820, and a program or instructions stored on the memory 820 and executable on the processor 800, and when the program or instructions are executed by the processor 800, the program or instructions implement the steps of the wireless time synchronization method executed by the first communication device as described above, or the wireless time synchronization method executed by the second communication device as described above.
Where in fig. 8, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors represented by processor 800 and memory represented by memory 820. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 810 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over transmission media including wireless channels, wired channels, fiber optic cables, and the like. The interface 830 may also be an interface capable of interfacing with a desired device for different end devices, including but not limited to a keypad, a display, a speaker, a microphone, a joystick, etc.
The processor 800 is responsible for managing the bus architecture and general processing, and the memory 820 may store data used by the processor 800 in performing operations.
Alternatively, the processor 800 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a CPLD (Complex Programmable Logic Device), and the processor 800 may also adopt a multi-core architecture.
Another embodiment of the present invention also provides a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the wireless time synchronization method performed by a first communication device as described above, or the steps of the wireless time synchronization method performed by a second communication device as described above.
Optionally, the readable storage medium is a computer readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It is further noted that the terminal devices described in this specification include, but are not limited to, smart phones, tablets, etc., and many of the functional components described are referred to as modules in order to more particularly emphasize their implementation independence.
In embodiments of the present invention, modules may be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be constructed as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different bits which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Likewise, operational data may be identified within the modules and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.
When a module can be implemented by software, considering the level of hardware technology, a module implemented in software may build a corresponding hardware circuit to implement corresponding functions, without considering the cost, and the hardware circuit may include a conventional Very Large Scale Integration (VLSI) circuit or a gate array and an existing semiconductor such as a logic chip, a transistor, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
The exemplary embodiments described above are described with reference to the drawings, and many different forms and embodiments of the invention may be made without departing from the spirit and teaching of the invention, therefore, the invention is not to be construed as limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In the drawings, the size and relative sizes of elements may be exaggerated for clarity. The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Unless otherwise indicated, a range of values, when stated, includes the upper and lower limits of the range, and any subranges therebetween.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (15)

1. A wireless time synchronization method, performed by a first communication device, comprising:
acquiring a time identifier, time offset information and first time information in system information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device;
and under the condition that the time identification indicates that the next whole second moment of the second communication equipment will occur, carrying out time synchronization processing with the second communication equipment according to the time offset information and the first time information.
2. The method of claim 1, wherein a master information block MIB of the system information contains the time identification;
the system information block of the system information, SIB1, or the remaining system information blocks excluding the MIB and SIB1 contain the time offset information and the first time information.
3. The method according to claim 2, wherein the performing time synchronization processing with a second communication device according to the time offset and the first time information comprises:
determining the time synchronization moment according to the time offset information;
determining second time information to be updated according to the first time information;
and at the time of time synchronization, updating the local system time according to the second time information.
4. The method of claim 3, wherein the determining the time synchronization time according to the time offset information comprises:
if the time offset information is a time offset index, determining a time offset T through the time offset index offset Then, the boundary time of the reference MIB is shifted by T offset As the time synchronization time.
5. The method of claim 3, wherein the determining the time synchronization time according to the time offset information comprises:
if the time offset information is T offset Then shift the boundary time of the reference MIB by T offset As the time synchronization time.
6. The method of claim 3, wherein determining the second time information to be updated according to the first time information comprises:
and calculating the second time information according to the first time information and the index value of the Timing Advance (TA).
7. The method according to claim 4 or 5, wherein said determining before the time synchronization time according to the time offset information further comprises:
taking the received first MIB as the reference MIB when the beam scanning function is not enabled by the second communication device;
under the condition that a second communication device enables a beam scanning function, determining a second MIB in a group of temporally continuous MIBs sent by the second communication device through a preset rule, and taking the second MIB as the reference MIB; wherein, the group of MIBs which are continuous in time are all MIBs containing valid time identifiers.
8. The method of claim 1, further comprising:
and after the time synchronization of the first communication equipment and the second communication equipment, outputting a pulse signal and third time information in a preset format at preset time.
9. A wireless time synchronization method, performed by a second communication device, comprising:
transmitting system information, the system information comprising: time identification, time offset information and first time information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device.
10. The method of claim 9, wherein the MIB of the system information includes the time identifier;
the SIB1 of the system information, or the remaining system information blocks except the MIB and the SIB1 contain the time offset information and the first time information.
11. A wireless time synchronization apparatus, comprising:
the acquisition module is used for acquiring the time identification, the time offset information and the first time information in the system information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device;
and the processing module is used for carrying out time synchronization processing with the second communication equipment according to the time offset information and the first time information under the condition that the time identifier indicates that the next whole second moment of the second communication equipment will occur.
12. The apparatus of claim 11, wherein the processing module comprises:
the first determining submodule is used for determining the time synchronization moment according to the time offset information;
the second determining submodule is used for determining second time information to be updated according to the first time information;
and the first processing submodule is used for updating the local system time according to the second time information at the time of time synchronization.
13. A wireless time synchronization apparatus, comprising:
a sending module, configured to send system information, where the system information includes: time identification, time offset information and first time information; the time identifier is used for indicating whether the next whole second moment of the second communication device will occur, the time offset information is used for indicating the offset of the time synchronization moment, and the first time information is used for indicating the next whole second moment of the second communication device.
14. A communication device comprising a processor, a transceiver, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the wireless time synchronization method of any one of claims 1 to 8 or the steps of the wireless time synchronization method of claim 9 or 10.
15. A readable storage medium, characterized in that a program or instructions are stored thereon, which program or instructions, when executed by a processor, implement the wireless time synchronization method of any one of claims 1 to 8, or the steps of the wireless time synchronization method of claim 9 or 10.
CN202110231422.XA 2021-03-02 2021-03-02 Wireless time synchronization method, device and equipment Pending CN115002891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110231422.XA CN115002891A (en) 2021-03-02 2021-03-02 Wireless time synchronization method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110231422.XA CN115002891A (en) 2021-03-02 2021-03-02 Wireless time synchronization method, device and equipment

Publications (1)

Publication Number Publication Date
CN115002891A true CN115002891A (en) 2022-09-02

Family

ID=83018660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110231422.XA Pending CN115002891A (en) 2021-03-02 2021-03-02 Wireless time synchronization method, device and equipment

Country Status (1)

Country Link
CN (1) CN115002891A (en)

Similar Documents

Publication Publication Date Title
CN110324889B (en) Clock synchronization method, communication device and communication equipment
WO2023108656A1 (en) Measurement method and apparatus for global navigation satellite system (gnss)
WO2016078310A1 (en) Clock synchronization method, device, cascading base station system and storage medium
CN101729127A (en) Time synchronization node and method thereof
US20140036903A1 (en) Radio Over Ethernet
CN112399546A (en) Indication method, device, equipment and storage medium of public timing advance
US20210400605A1 (en) Timing synchronization of 5g v2x sidelink transmissions
US7035669B2 (en) Mobile communications system, radio base station control system, and radio base station control method
CN110113127B (en) Method and system for transmitting time based on 1588 protocol
KR20090012326A (en) Method and apparatus for coordinating timing in a wireless local area network
US20210345444A1 (en) Data transmission method, related device, and system
CN110730496B (en) Synchronization method and terminal equipment
US6788947B2 (en) Method for synchronization of base stations which are coupled to different switching system parts in a mobile radio network
KR20230048376A (en) Communication method and device
CN104780602A (en) Clock self-synchronizing method in wireless communication network
CN106231561B (en) Positioning method and device
CN115002891A (en) Wireless time synchronization method, device and equipment
CN114731266A (en) Clock information synchronization method and device, first node, terminal and storage medium
US20210258906A1 (en) Synchronization signal conversion device
KR101490138B1 (en) Method and system of synchronization in dual-beacon wireless networks
CN115696545A (en) Clock synchronization method and communication device
CN115529858A (en) Method and device for determining synchronous reference source
CN111586833A (en) Positioning method, device, terminal, base station and management function entity
CN112822771B (en) Synchronization method and device and terminal equipment
CN105281882A (en) Method and device for realizing time synchronization

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