WO2016065642A1 - Synchronization device and method - Google Patents

Synchronization device and method Download PDF

Info

Publication number
WO2016065642A1
WO2016065642A1 PCT/CN2014/090118 CN2014090118W WO2016065642A1 WO 2016065642 A1 WO2016065642 A1 WO 2016065642A1 CN 2014090118 W CN2014090118 W CN 2014090118W WO 2016065642 A1 WO2016065642 A1 WO 2016065642A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
time
synchronized
synchronization
timing
Prior art date
Application number
PCT/CN2014/090118
Other languages
French (fr)
Chinese (zh)
Other versions
WO2016065642A8 (en
Inventor
储育红
胡军
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201480009505.2A priority Critical patent/CN105960820B/en
Priority to PCT/CN2014/090118 priority patent/WO2016065642A1/en
Publication of WO2016065642A1 publication Critical patent/WO2016065642A1/en
Publication of WO2016065642A8 publication Critical patent/WO2016065642A8/en

Links

Images

Classifications

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

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a synchronization apparatus and method.
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD strict air interface frame numbers and frame timing synchronization are required between base stations to avoid interference between base stations.
  • GNSS Global Navigation Satellite System
  • 1588V2 1588 Version 2, 1588 second edition
  • the base station adopts GNSS timing or adopts 1588V2 timing to receive the GPS signal from the satellite, and then extracts the clock synchronization signal from the GPS signal, and synchronizes between the base stations through the clock synchronization signal.
  • the use cost and post-maintenance cost of GNSS timing and 1588V2 timing are higher, resulting in higher cost of achieving absolute time synchronization between base stations.
  • Embodiments of the present invention provide a synchronization apparatus and method for solving the problem of high cost of implementing absolute time synchronization between base stations.
  • an embodiment of the present invention provides a synchronization apparatus, where the apparatus is applied to a base station to be synchronized, and the base station to be synchronized is a base station that synchronizes with a frame number of a reference base station and a frame timing, and the reference base station is a
  • the base station to be synchronized provides a base station with a reference time, a reference frame number, and a reference frame timing
  • the apparatus includes:
  • Obtaining a module configured to obtain a first frame number and a first frame timing, and provide the first frame number and the first frame timing to a computing module, where the first frame number is the to-be-synchronized base station and the Reference frame a frame number after the synchronization, the first frame timing is a frame timing after the base station to be synchronized is synchronized with the reference frame timing;
  • An obtaining module configured to acquire time information by using a first timing device, and provide the time information to the obtaining module, where the first timing device is configured to provide time information to the device;
  • the obtaining module is further configured to obtain a second frame number and a second frame timing according to the time information, and provide the second frame number and the second frame timing to the computing module;
  • the calculating module is configured to obtain a frame number deviation by using the first frame number and the second frame number; and obtain a frame timing deviation by using the first frame timing and the second frame timing, and The frame number deviation and the frame timing deviation are provided to the synchronization module;
  • the synchronization module is configured to complete a reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation.
  • the obtaining module includes:
  • An obtaining unit configured to acquire a UTC time provided by the timing device, and provide the UTC time to the conversion unit;
  • the converting unit is configured to convert the UTC time into a global positioning system GPS time in combination with the leap second information; convert the GPS time into the second frame number and the second frame timing.
  • the synchronization module includes:
  • a converting unit configured to convert the frame number deviation and a frame timing deviation into a time difference value, and provide the time difference value to a calibration unit;
  • the calibration unit is configured to calibrate the time information by using the time difference to complete absolute time synchronization with the reference base station.
  • the device in combination with the second possible embodiment of the first aspect, also includes:
  • the first receiving module is configured to receive the alarm information sent by the reference base station, where the alarm information is used to indicate that the time difference is greater than or equal to a predetermined time difference.
  • the synchronization module is further configured to synchronize the device to the first reference source to complete frequency synchronization with the reference base station, where the first reference source is the same as the reference source synchronized with the reference base station.
  • the synchronization module is further configured to synchronize the device to a second reference source to determine a frequency offset between the device and the reference base station, where the second reference source is different from a reference source synchronized with the reference base station When the frequency deviation is less than the predetermined frequency deviation, synchronization with the second reference source continues.
  • the reference time of the reference base station is a time provided by a Global Navigation Satellite System (GNSS) GNSS timing, or a second The time provided by the 1588 1588V2 grant, or the time provided by the time information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the second edition 1588 adaptive clock recovery 1588V2ATR grant.
  • GNSS Global Navigation Satellite System
  • the device further comprises:
  • a second receiving module configured to receive an extended buffer when a reference time of the reference base station is a time provided by a time information protocol NTP grant, or a time provided by a simple time information protocol SNTP grant, or a time provided by a base station of a 1588 V2 ATR grant.
  • the message, the extended cache message is used to indicate that the to-be-synchronized base station expands the first-in first-out queue FIFO of the to-be-synchronized base station.
  • the synchronization module is further configured to perform absolute time synchronization with the candidate base station, where the candidate base station is a base station that replaces the failed base station, wherein the device and the candidate reference are
  • the manner in which the base station performs absolute time synchronization is the same as the manner in which the apparatus performs absolute time synchronization with the reference base station.
  • the device further comprises:
  • An execution module configured to perform transmission of a broadcast multicast service with a broadcast multicast service center BMSC device.
  • an embodiment of the present invention provides a synchronization apparatus, where the apparatus is applied to a base station to be synchronized, and the base station to be synchronized is a base station that synchronizes with a frame number of a reference base station and a frame timing, and the reference base station is a
  • the base station to be synchronized provides a base station with a reference time, a reference frame number, and a reference frame timing
  • the apparatus includes:
  • a memory for storing information including program instructions
  • a processor coupled to the memory, for controlling execution of the program instruction, specifically for obtaining a first frame number and a first frame timing, where the first frame number is the to-be-synchronized base station and the reference frame a frame number after synchronization, the first frame timing is a frame timing after the base station to be synchronized is synchronized with the reference frame timing; obtaining time information by the first timing device, and obtaining a second frame number according to the time information And a second frame timing; obtaining a frame number deviation by using the first frame number and the second frame number; and obtaining a frame timing deviation by using the first frame timing and the second frame timing; according to the frame The number deviation and the frame timing deviation are synchronized with the reference time of the reference base station.
  • the processor when the time information includes a Coordinated Universal Time UTC time, is further configured to acquire a UTC time provided by the timing device; Converting the UTC time to a global positioning system GPS time; converting the GPS time to the second frame number and the second frame timing.
  • the processor is further configured to convert the frame number deviation and the frame timing deviation into a time difference value; and the time information is calibrated by the time difference to complete absolute time synchronization with the reference base station.
  • the device further includes: a receiver;
  • the receiver is configured to receive the alarm information sent by the reference base station, where the alarm information is used to indicate that the time difference is greater than or equal to a predetermined time difference.
  • the processor is further configured to synchronize the device to the first reference source to complete frequency synchronization with the reference base station, where the first reference source is the same as the reference source synchronized with the reference base station.
  • the processor is further configured to synchronize the device with a second reference source to determine a frequency offset between the device and the reference base station, where the second reference source is different from a reference source synchronized with the reference base station When the frequency deviation is less than the predetermined frequency deviation, synchronization with the second reference source continues.
  • the reference time of the reference base station is a time provided by the Global Navigation Satellite System (GNSS) GNSS timing, or a second The time provided by the 1588 1588V2 grant, or the time provided by the time information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the second edition 1588 adaptive clock recovery 1588V2ATR grant.
  • GNSS Global Navigation Satellite System
  • the device further includes:
  • the receiver is further configured to: when the reference time of the reference base station is the time provided by the time information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the base station of the 1588V2 ATR grant, the receiving extension
  • the cached message is used to indicate that the to-be-synchronized base station expands the first-in first-out queue FIFO of the to-be-synchronized base station.
  • the processor is further configured to perform absolute time synchronization with the candidate base station, where the candidate base station is a base station that replaces the failed base station, wherein the device and the candidate reference are
  • the manner in which the base station performs absolute time synchronization is the same as the manner in which the apparatus performs absolute time synchronization with the reference base station.
  • the processor is further configured to perform transmission of a broadcast multicast service with a broadcast multicast service center BMSC device.
  • an embodiment of the present invention provides a synchronization method, where the method is applied to a base station to be synchronized, where the base station to be synchronized is a base station that synchronizes with a frame number of a reference base station and frame timing, and the reference base station is a
  • the base station to be synchronized provides a base station with a reference time, a reference frame number, and a reference frame timing, and the method includes:
  • the base station to be synchronized obtains a first frame number and a first frame timing, where the first frame number is a frame number after the base station to be synchronized is synchronized with the reference frame number, and the first frame timing is the a frame timing after the synchronization base station synchronizes with the reference frame timing;
  • the base station to be synchronized acquires time information by using the first timing device, and obtains a second frame number and a second frame timing according to the time information;
  • the base station to be synchronized obtains a frame number deviation by using the first frame number and the second frame number; Passing the first frame timing and the second frame timing to obtain a frame timing deviation;
  • the base station to be synchronized completes synchronization with the reference time of the reference base station according to the frame number deviation and the frame timing deviation.
  • the to-be-synchronized base station acquires time information by using a first timing device, and obtains a second according to the time information.
  • Frame number and second frame timing including:
  • the base station to be synchronized acquires a UTC time provided by the timing device
  • the base station to be synchronized completes and according to the frame number deviation and the frame timing deviation Base time synchronization of the base station, including:
  • the base station to be synchronized converts the frame number deviation and the frame timing deviation into a time difference value
  • the base station to be synchronized performs calibration on the time information by using the time difference to complete absolute time synchronization with the reference base station.
  • the method in combination with the second possible embodiment of the third aspect, converts the frame number offset and the frame timing offset into a time difference value, the method also includes:
  • the base station to be synchronized receives the alarm information sent by the reference base station, and the alarm information is used to indicate that the time difference is greater than or equal to a predetermined time difference.
  • the method before the obtaining, by the to-be-synchronized base station, the first frame number and the first frame timing, the method further include:
  • the base station to be synchronized is synchronized with the first reference source to complete the same frequency as the reference base station Step, the first reference source is the same as the reference source synchronized with the reference base station.
  • the method further includes:
  • the base station to be synchronized is synchronized with the second reference source to determine a frequency offset between the base station to be synchronized and the reference base station, and the second reference source is different from the reference source synchronized by the reference base station;
  • the to-be-synchronized base station continues to synchronize with the second reference source.
  • the reference time of the reference base station is a time provided by the Global Navigation Satellite System (GNSS) GNSS timing, or a second The time provided by the 1588 1588V2 grant, or the time provided by the time information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the second edition 1588 adaptive clock recovery 1588V2ATR grant.
  • GNSS Global Navigation Satellite System
  • the method further includes:
  • the base station to be synchronized receives the extended cache message, and the extended cache message is used to indicate that the base station to be synchronized expands the first-in first-out queue FIFO of the base station to be synchronized.
  • the communication system further includes an alternative reference base station, the alternate reference base station being a reference to the failed base station
  • the method further includes:
  • the manner in which the step base station performs absolute time synchronization with the candidate base station is the same as the manner in which the base station to be synchronized performs absolute time synchronization with the reference base station.
  • the base station to be synchronized is completed according to the frame number deviation and the frame timing deviation After the reference time synchronization of the reference base station, the method further includes:
  • the base station to be synchronized performs transmission of a broadcast multicast service with a broadcast multicast service center BMSC device.
  • the synchronization apparatus and method provided by the embodiment of the present invention when the synchronization base station is in the frame number synchronization and the frame timing synchronization state with the reference base station, the obtaining module obtains the first frame number and the first frame timing, and then obtains the acquisition module.
  • the time information provided by the timing device of the base station to be synchronized obtains the second frame number and the second frame timing converted by the time information, and the calculation module obtains the frame number deviation of the first frame number and the second frame number and the first frame timing And the frame timing deviation of the second frame timing, and then the synchronization module completes the absolute time synchronization with the reference base station by the frame number deviation and the frame timing deviation.
  • the reference base station is a reference base station for performing absolute time synchronization with the base station to be synchronized, and the base station to be synchronized only needs to perform absolute time synchronization with the reference base station, instead of receiving a GPS signal by using a costly timing scheme, Absolute time synchronization between base stations, thereby avoiding the problem that in the prior art, in order to achieve absolute time synchronization between base stations, all base stations (base base station and base station to be synchronized) need to receive GPS signals with high cost timing scheme, resulting in high cost, that is, The cost of deploying a base station is reduced while achieving absolute time synchronization between base stations.
  • FIG. 1 is a network architecture diagram applicable to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a logical structure of a synchronization apparatus according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a logical structure of another synchronization device according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another network architecture applicable to an embodiment of the present invention.
  • 6(a) is a schematic diagram of frequency synchronization between base stations according to an embodiment of the present invention.
  • FIG. 6(b) is a schematic diagram of frequency synchronization between base stations according to an embodiment of the present invention.
  • FIG. 6(c) is a schematic diagram of a frame number synchronization between a base station and a frame timing according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a logical structure of a synchronization apparatus according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of a synchronization method according to an embodiment of the present invention.
  • a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer.
  • an application running on a computing device and a computing device can be a component.
  • One or more components can reside within a process and/or execution thread, and the components can be located on one computer and/or distributed between two or more computers.
  • these components can execute from various computer readable media having various data structures stored thereon.
  • a component may, for example, be based on signals having one or more data packets (eg, data from two components interacting with another component between the local system, the distributed system, and/or the network, such as the Internet interacting with other systems) Communicate through local and/or remote processes.
  • data packets eg, data from two components interacting with another component between the local system, the distributed system, and/or the network, such as the Internet interacting with other systems
  • the technical solution of the present invention can be applied to various communication systems, for example, GSM (Global System of Mobile Communication), CDMA (Code Division Multiple Access) system, WCDMA (Wideband Code Division Multiple) Access, Wideband Code Division Multiple Access), GPRS (General Packet Radio Service), LTE (Long Term Evolution), etc.
  • GSM Global System of Mobile Communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • a UE User Equipment, UE
  • UE User Equipment
  • the core network communicates, and the user equipment can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, for example, can be portable, pocket, handheld, computer built, or in-vehicle Mobile devices that exchange language and/or data with a wireless access network.
  • a radio access network for example, a RAN (Radio Access Network)
  • the core network communicates, and the user equipment can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, for example, can be portable, pocket, handheld, computer built, or in-vehicle Mobile devices that exchange language and/or data with a wireless access network.
  • the base station may be a BTS (Base Transceiver Station) in GSM or CDMA, or a NodeB in WCDMA, or an eNB (evolved Node B, evolved base station) in LTE. limited.
  • BTS Base Transceiver Station
  • NodeB NodeB in WCDMA
  • eNB evolved Node B, evolved base station
  • Synchronization mainly includes system clock synchronization and frame synchronization, wherein system clock synchronization refers to synchronization (bit timing) of internal running clocks of all devices, and frame synchronization refers to synchronization of frame signals for communication between base stations (ie, frame timing synchronization).
  • system clock synchronization refers to synchronization (bit timing) of internal running clocks of all devices
  • frame synchronization refers to synchronization of frame signals for communication between base stations (ie, frame timing synchronization).
  • the frequency is synchronized, and there is no relative phase drift between the base stations.
  • the frame number synchronization and the frame timing synchronization are not completed between the base stations, the timing relationship between the base stations is still random, that is, the frames.
  • the number has a deviation from the frame timing but remains stable. That is to say, to complete the strict synchronization between the base stations, it is necessary to ensure that the starting phases of the frames of the base stations are consistent on the basis of completing the clock synchronization.
  • broadcast multicast services such as eMBMS (evolved Multimedia Broadcast and Multicast Service)
  • eMBMS evolved Multimedia Broadcast and Multicast Service
  • BMSCs Broadcast Multicast Service Center, Broadcast Multicast Service Center
  • FIG. 1 is a network architecture diagram to which the present invention is applied, and FIG. 1 shows a mobile communication network system requiring synchronization between base stations.
  • the base station 108 is a base station that receives the signals transmitted by the BITS 101 and the NTP-Server 102 through the transmission network and receives the GPS signals 106.
  • the base station 109 and the base station 110 are base stations that receive signals transmitted by the BITS (Building Integrated Timing System) 101 and the NTP-Server (Network Time Protocol Server) 102 through the transmission network.
  • the reference UE is a UE capable of communicating with two base stations at the same time.
  • the GPS signal 106 may be a signal sent by a GNSS device, or may be a signal sent by a 1588V2 (1588 Version 2, 2nd Edition 1588) device.
  • the mobile communication network system may further include a BITS 101, an NTP-Server 102, a network management node 103, a collaboration device 104, and an EPC (Evolved Packet Core) 105.
  • the BITS 101 is used to provide frequency synchronization information (base station 109, base station 110) to the base station, and NTP-Server 102 is used for time synchronization information provided to the base station.
  • the network management node 103 is for managing various devices included in the mobile communication system.
  • the collaboration device 104 can be deployed as a separate device, or can be deployed as a logic module on the network management node 103, the EPC 105, or any base station (such as the base station 108, the base station 109, and the base station 110). It should be understood that the above is merely an example for convenience of description, and network nodes, base stations, and other devices in a communication network are not limited to the above types and numbers.
  • the base station 108, the base station 109, and the base station 110 need to complete the inter-base station reference time synchronization.
  • the synchronization process may be initiated by the coordination device 104, or may be initiated by the upper-layer network element such as the network management node 103, or initiated by the base station that needs to synchronize.
  • the acquired base station (base station 108, base station 109, and base station 110) receives the time when the reference UE transmits the synchronization reference signal, and completes frame number synchronization and frame timing synchronization between the three base stations.
  • the base station 108 is a reference base station
  • the reference base station is a base station to be synchronized.
  • the base station to be synchronized needs only to perform absolute time synchronization with the reference base station, so that in order to achieve strict synchronization between the base stations, it is not necessary to base all base stations. Both use high-precision time timing methods such as GNSS timing, which reduces the cost of deploying base stations.
  • a device 20 that performs a synchronization method in a mobile communication system. That is, a synchronizing device 20.
  • the device 20 corresponds to the base station 109 to be synchronized or the base station 110 to be synchronized shown in FIG. 1.
  • the base station to be synchronized is a base station that synchronizes with the frame number of the reference base station and the frame timing, and the reference base station provides a reference time and a reference to the base station to be synchronized. Base station with frame number and reference frame timing.
  • the device 20 includes an obtaining module 201, an obtaining module 202, a calculating module 203, and a synchronizing module 204.
  • the obtaining module 201 is configured to obtain a first frame number and a first frame timing, and provide the first frame number and the first frame timing to the calculation module 203, where the first frame number is a frame after the base station to be synchronized is synchronized with the reference frame number. No., the first frame timing is the frame timing after the base station to be synchronized synchronizes with the reference frame timing.
  • the obtaining module 203 is configured to acquire time information by using the first timing device, and provide the time information to the obtaining module 201, where the first timing device is configured to provide the device 20 with time information.
  • the obtaining module 201 is further configured to obtain the second frame number and the second frame timing according to the time information, and provide the second frame number and the second frame timing to the calculation module 203.
  • the second frame number is the frame number obtained by the time information conversion
  • the second frame timing is the frame timing obtained by the time information conversion
  • the calculating module 203 is configured to obtain a frame number deviation by using the first frame number and the second frame number; and obtain a frame timing deviation by using the first frame timing and the second frame timing, and provide the frame number deviation and the frame timing deviation to the synchronization Module 204.
  • the synchronization module 204 is configured to complete the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation.
  • the obtaining module obtains the first frame number and the first frame timing, and then obtains the synchronization to be synchronized by the acquisition module.
  • the time information provided by the timing device of the base station obtains the second frame number and the second frame timing converted by the time information, and the calculation module obtains the frame number deviation of the first frame number and the second frame number, and the first frame timing and the first frame timing
  • the frame timing deviation of the two frame timing is further synchronized by the synchronization module with the reference time of the reference base station by the frame number deviation and the frame timing deviation.
  • the reference base station is a reference base station for performing reference time synchronization with the base station to be synchronized, and the base station to be synchronized only needs to perform absolute time synchronization with the reference base station, instead of receiving a GPS signal by using a costly timing scheme, Base station synchronization time synchronization, thereby avoiding the problem that in the prior art, in order to achieve reference time synchronization between base stations, all base stations (base base station and base station to be synchronized) need to receive GPS signals by using a costly timing scheme, resulting in high cost, that is, The cost of deploying the base station is reduced while achieving reference time synchronization between the base stations.
  • the present invention may further provide another synchronization device 30.
  • the obtaining module 201 in the device 30 includes an obtaining unit 2011 and a converting unit 2012.
  • the synchronization module 204 includes a converting unit 2041 and a calibration unit. 2042, and the device 30 further includes: a first receiving module 205, a second receiving module 206, and an executing module 207.
  • the obtaining unit 2011 in the obtaining module 201 is configured to acquire the UTC time provided by the timing device, and provide the UTC time to the converting unit 2012; then the converting unit 2012 is configured to combine The leap second information converts the UTC time into GPS time; converts the GPS time into a second frame number and a second frame timing.
  • GPS time is atomic time
  • UTC time is astronomical time
  • leap second information can be regarded as the difference information between atomic time and astronomical time.
  • the leap second information changes as the deviation between astronomical time and atomic time changes.
  • the current leap second information is 19s.
  • the conversion of the GPS time into a frame number is specifically: the total number of seconds of the GPS (relative to the GPS era start time) * 100 is obtained, and then the total number of seconds is modulo 1024 to obtain the frame number (LFN). ).
  • the converting unit 2041 in the synchronization module 204 is configured to convert the frame number deviation and the frame timing deviation into a time difference value, and provide the time difference value to the calibration unit 2042; the calibration unit 2042 is configured to pass the time difference value pair The time information is calibrated to complete the reference time synchronization with the reference base station.
  • the frame number deviation between the reference base station and the device 30 is calculated; and the frame timing between the reference base station and the device 30 is obtained by the first frame timing and the second frame timing.
  • Deviation such as the first frame number is 225 frames, the second frame number is 200 frames, the first frame timing is 15 ms, and the second frame timing is 5 ms, the frame number deviation between the reference base station and the to-be-synchronized base station is 25 frames,
  • the frame timing deviation is 10 ms, so that the time difference between the reference base station and the to-be-synchronized base station (device 30) is 250 ms, which means that the time to be acquired by the base station to be synchronized is 250 ms shorter than the precise time acquired by the base station.
  • the first receiving module 205 is configured to receive the alarm information sent by the reference base station, where the alarm information is used to indicate that the time difference is greater than or equal to the predetermined time difference. It can be understood that after the device 30 receives the alarm information, the synchronization operation with the reference base station can be stopped.
  • the frame number (LFN) has a period of 10.24 s.
  • the GPS time is Accurate GPS time difference in the case of +/-5.12s will result in a jump and thus can not accurately obtain the specific deviation of the GPS time and the accurate GPS time obtained by UTC time conversion, so it is impossible to obtain the accurate synchronization of the station to be synchronized.
  • Absolute time In the present invention, the predetermined time difference is 5.12 s.
  • the size of the time difference between the reference base station and the base station to be synchronized and the predetermined time difference is broken by the reference base station.
  • the reference base station receives the GNSS grant or receives the 1588V2 grant, and also receives the NTP grant or the SNTP grant or the 1588V2ATR grant, the reference base station can thereby obtain the time difference and compare the time difference with the predetermined time difference. When the predetermined time difference is greater than or equal to, the alarm information is reported.
  • the cooperative device determines the reference base station and the base station to be synchronized before the device 30 (the base station to be synchronized) is in the frame number synchronization and frame timing synchronization state with the reference base station (for convenience) Description, the device 30 is uniformly described by the base station to be synchronized):
  • each synchronization packet including at least two base stations; determining a reference base station and a base station to be synchronized from among at least two base stations included in each synchronization packet.
  • the first mode the cooperative device determines, from the at least one synchronization packet, the base station that receives the high-precision time grant as the reference base station; and determines that the base station other than the reference base station is the base station to be synchronized.
  • the high-precision time grant may include a GNSS grant and a 1588V2 grant.
  • the synchronization packet includes a base station that receives the GNSS grant and/or a base station that receives the 1588V2 grant
  • the cooperative device determines, from the at least one synchronization packet, the base station that receives the GNSS grant.
  • the base station that is the reference base station or receives the 1588V2 timing is the reference base station. That is, the reference time of the reference base station is the time provided by the GNSS grant, or the time provided by the 1588V2 grant. It can be obtained that when the second timing device is represented as providing time information to the reference base station, the second timing device may be a device adopting GNSS or a device of 1588V2.
  • a base station that receives high-precision time timing and a base station that receives low-precision time timing are included in the synchronization packet.
  • Low-precision time timing can include NTP (Network Time Protocol) Time-rate, SNTP (Simple Network Time Protocol), 1588V2ATR (1588V2 Adaptive Time Recovery, second edition 1588 adaptive clock recovery) timing, it is determined from the synchronization packet that only NTP timing is received, and/or The SNTP grants time, and/or the base station receiving the 1588V2 ATR grant is the base station to be synchronized. That is, the base station to be synchronized is a base station that cannot receive GNSS grant and/or 1588V2 grant time.
  • NTP Network Time Protocol
  • SNTP Simple Network Time Protocol
  • 1588V2ATR 1588V2 Adaptive Time Recovery, second edition 1588 adaptive clock recovery
  • two or more base stations receiving high-precision time timing may be included in one synchronization packet, and other high-precision time-time base stations are selected after the cooperative device selects one of the base stations receiving the high-precision time grant as the reference base station.
  • the general cooperative device may consider to avoid dividing a plurality of base stations receiving high-precision time timing into the same synchronization packet when dividing the synchronization packet.
  • the second mode the coordination device determines any one of the base stations as the reference base station from the at least one synchronization packet; and determines that the base station other than the reference base station is the base station to be synchronized.
  • the network architecture diagram shown in FIG. 4 does not include the base station that determines the receiving GNSS grant as the base station, and/or the base station that receives the 1588V2 grant, and cooperates.
  • the device determines from the synchronization packet that any one of the base stations is the reference base station (ie, the reference time provided by the reference base station is the time provided by the NTP grant, or the time provided by the SNTP grant, or the time provided by the 1588 V2 ATR grant).
  • the synchronization packet includes a base station that cannot receive the GNSS grant, and/or a base station that cannot receive the 1588V2 grant (ie, a base station that only receives the NTP grant, and/or the SNTP grant, and/or the 1588V2 ATR grant). Further, the remaining base stations in the synchronization packet are determined to be base stations to be synchronized. Comparing FIG. 4 with FIG. 1, it is found that FIG. 4 does not include the device 106 that transmits the GPS signal to the base station 108. Therefore, the base station 108, the base station 109, or the base station 110 can all serve as the reference base station.
  • the coordination device determines an alternate reference base station from at least one synchronization packet, the alternate reference base station being a base station replacing the reference base station in which the error occurred.
  • the network architecture further includes a GPS signal 113 (ie, a device 113 that transmits a GPS signal), and to the base station 110. A GPS signal 113 is sent. The base station 110 can then serve as an alternate base station.
  • the base station to be synchronized when the base station fails, the base station to be synchronized performs reference time synchronization with the candidate base station, wherein the manner in which the base station to be synchronized and the candidate base station perform reference time synchronization are synchronized with the base station to be synchronized and the reference base station.
  • the synchronization module 204 is further configured to perform the reference time synchronization between the device 30 and the candidate reference base station, wherein the manner in which the device 30 performs the reference time synchronization with the candidate reference base station is the same as the manner in which the device performs the reference time synchronization with the reference base station.
  • the base station 110 shown in FIG. 1 cannot receive GPS signals, it can still serve as an alternative base station.
  • the candidate base station can be a base station receiving GNSS timing, or a base station receiving 1588V2 timing, or a base station receiving only NTP timing, and/or SNTP timing, and/or 1588V2 ATR timing.
  • the cooperative device participates in realizing the frame number and frame timing of the base station to be synchronized relative to the reference base station by acquiring the time at which the reference base station and the to-be-synchronized base station receive the uplink synchronization reference signal. Synchronization, thereby achieving the frame number synchronization and frame timing synchronization state of the device 30 (base station to be synchronized) and the reference base station.
  • the cooperative device first determines the reference UE, and then determines a timing offset between the base station to be synchronized and the reference base station according to the time when the reference base station and the base station to be synchronized receive the uplink synchronization reference signal sent by the reference UE; and calibrates the base station to be synchronized according to the timing deviation
  • the base station to be synchronized obtains the first frame number and the first frame timing, and completes synchronization of the frame number and frame timing of the base station to be synchronized with respect to the reference base station.
  • the method for determining the timing deviation between the base station to be synchronized and the reference base station according to the time when the reference base station and the base station to be synchronized receive the uplink synchronization reference signal sent by the reference UE may be various.
  • the present invention lists two methods herein. :
  • the cooperative device receives the relative time T1 sent by the reference base station, where the relative time T1 is the time when the reference base station determined by the reference base station determines the synchronization reference signal sent by the reference UE according to the current frame number and the frame timing.
  • the synchronization reference signal sent by the reference UE includes, but is not limited to, at least one of the following: a PRACH (Physical Random Access Channel), a SRS (Sounding Reference Signal), and a DMRS (Demodulation Reference) Signal, demodulation reference signal).
  • a PRACH Physical Random Access Channel
  • SRS Sounding Reference Signal
  • DMRS Demodulation Reference Signal
  • the cooperative device receives the relative time T2 sent by the base station to be synchronized, and the relative time T2 is the time at which the base station to be synchronized, which is determined by the current frame number of the base station to be synchronized and the frame timing, receives the synchronization reference signal sent by the reference UE.
  • the cooperative device can determine the offset of the respective time axes of the two base stations by the difference between the two relative moments, that is, the frame number of the two base stations and the frame timing deviation.
  • the base station to be synchronized can adjust its own frame number and frame timing according to the ⁇ T, thereby achieving synchronization with the frame number and frame timing of the reference base station.
  • the coordination device determines an RTD (Round-Trip Delay Loop) measurement result TA1 of the reference UE and the reference base station.
  • RTD Red-Trip Delay Loop
  • the coordination device determines the RTD measurement result TA2 of the reference UE and the base station to be synchronized.
  • the coordination device determines the deviation TA1-TA2 caused by the distance difference between the reference UE and the base station to be synchronized and the base station to be synchronized according to the measurement result TA1 and the measurement result TA2.
  • the cooperative device obtains the relative time T1 and the relative time T2 by the first method, and determines the timing deviation ⁇ T according to the deviation TA1-TA2, the relative time T1, and the relative time T2.
  • ⁇ T T1-T2-(TA1-TA2).
  • the synchronization module 204 is further configured to synchronize the device 30 with the first reference source to complete frequency synchronization with the reference base station, where the first reference source is the same as the reference source synchronized with the reference base station.
  • the base station to be synchronized synchronizes to the same reference source (the GPS signal 106 and the GPS signal 107 are GPS signals) through the line clock (bits shown in FIG. 1), and the frequency synchronization between the base station to be synchronized and the reference base station is completed.
  • the phase shift between the base stations is made uniform.
  • the reference source can be GPS, atomic clock, crystal oscillator, and the like.
  • 6(a), 6(b) and 6(c) are diagrams showing frequency synchronization between base stations according to an embodiment of the present invention.
  • the system clocks of the two base stations (base station 1 and base station 2) that do not perform inter-base station frequency synchronization operate at f1 and f2, respectively, where f1 ⁇ f2, as shown in FIG. 6(a), which is the base station 1 and the base station 2
  • the frame number is independent of the frame timing, and the clock drift speed of the base station 1 and the base station 2 differs depending on f1 ⁇ f2.
  • Figure 6(b) shows the frame phase relationship of the two base stations after the completion of the frame number and frame timing synchronization. Combining the measurement of the frame timing deviation, taking FIG.
  • the base station 1 is the reference base station
  • the base station 2 is the base station to be synchronized
  • the phase relationship between the base station 1 and the base station 2 after frequency synchronization is completed ( b) shown.
  • the base station 1 and the base station 2 receive the synchronization reference signal transmitted by the reference UE, and the base station 1 and the base station 2 respectively based on their own frame number and frame timing. Synchronization, determining the relative time T1 and the relative time T2 of the uplink access signal received by the UE, thereby obtaining the timing deviation ⁇ T, and the base station 2 performs calibration according to ⁇ T to complete the synchronization of the frame number and the frame timing with respect to the base station 1, as shown in FIG. 6 c) shown.
  • the synchronization module 204 is further configured to synchronize the device 30 with the second reference source to determine a frequency offset between the base station to be synchronized and the reference base station, where the reference source of the second reference source is different from the reference base station;
  • the deviation is less than the predetermined frequency deviation
  • synchronization with the second reference source continues. That is, when the reference base station and the to-be-synchronized base station are different reference sources through the line clock synchronization reference source, the frequency deviation between the base station to be synchronized and the reference base station is less than or equal to a predetermined frequency deviation.
  • the present invention does not limit the predetermined frequency deviation, for example, the predetermined frequency deviation may be 3*10E-11.
  • the predetermined frequency deviation is mainly related to the selection of the test period for synchronizing the frame number and the frame timing between the base stations. For example, when the test period is accelerated, the predetermined frequency deviation may be correspondingly increased.
  • the reference base station and the base station to be synchronized use different reference sources, the two reference sources need to meet the condition that a high-precision reference source is required.
  • the reference base station uses GPS as a reference source
  • the base station to be synchronized uses BITS as a reference source
  • the BITS uses a high-precision atomic clock as a clock reference, thereby ensuring phase drift between the reference base station and the base station to be synchronized.
  • the second receiving module 206 is configured to: when the reference base station is a base station that only receives the time information protocol NTP grant, and/or the simple time information protocol SNTP grant, and/or the 1588V2ATR grant, receives the extended cache message, and expands The cache message is used to indicate that the base station to be synchronized expands the FIFO (First Input First Output) of the base station to be synchronized.
  • the FIFO First Input First Output
  • the FIFO is converted from a normal state to an expanded state, so as to cope with the time deviation existing between the BMSC device and the base station to be synchronized.
  • the base station to be synchronized device 30
  • the FIFO transitions from the expanded state to the normal state.
  • the extended cache message is sent by the collaboration device.
  • the coordination device also sends an extended buffer message to the reference base station for instructing the reference base station to expand the FIFO of the reference base station.
  • the reference base station is not a base station that receives GNSS grant time or receives 1588V2 grant time.
  • strict frame number and frame timing synchronization between the reference base station and the base station to be synchronized in the same synchronization packet can be achieved, and strict time synchronization with each other can be achieved, but only the base station time and standard GPS time in the area.
  • a service such as eMBMS
  • the executing module 207 is configured to perform transmission of the broadcast multicast service with the BMSC device.
  • the base station (between the reference base station and the base station to be synchronized) is strictly reference time synchronized.
  • the reference base station is a base station receiving GNSS grant or 1588V2 timing (using an accurate absolute time)
  • the BMSC device and the base station (including the reference base station and the to-be-synchronized)
  • the time synchronization of the business content can be realized between the base stations.
  • the base station When the reference base station is a base station that cannot receive the GNSS grant and the 1588V2 grant time (which can be regarded as using an inaccurate absolute time), when performing a service (such as eMBMS) requiring time synchronization of the service content, the base station (including the base station and the base station and The base station to be synchronized needs to expand the FIFO to achieve time synchronization of the service content with the BMSC device.
  • a service such as eMBMS
  • FIG. 7 is a schematic diagram of a hardware structure of a base station to be synchronized.
  • the base station to be synchronized may include a memory 701, a processor 702, a receiver 703, and a bus 704, wherein the memory 701, the receiver 703, and the processor 702 are communicably connected through a bus 704.
  • the memory 701 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). Save The storage 701 can store an operating system and other applications.
  • ROM read only memory
  • RAM random access memory
  • the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 701 and executed by the processor 702.
  • the receiver 703 is used for communication between the device and other devices or communication networks such as, but not limited to, Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), and the like.
  • RAN Radio Access Network
  • WLAN Wireless Local Area Network
  • the processor 702 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • Bus 704 can include a path for communicating information between various components of the device, such as memory 701, receiver 703, and processor 702.
  • FIG. 7 only shows the memory 701, the receiver 703 and the processor 702, and the bus 704, in the specific implementation process, those skilled in the art should understand that the terminal also includes the normal operation. Other devices necessary. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
  • the processor 702 in the apparatus is coupled to the memory 701 and the receiver 703 for controlling execution of program instructions.
  • the first frame number and the first frame timing are obtained, where the first frame number is a frame number after the base station to be synchronized and the reference frame number are synchronized, and the first frame timing is a frame timing after the base station to be synchronized synchronizes with the reference frame timing;
  • Obtaining time information by the first timing device; obtaining a second frame number and a second frame timing according to the time information; obtaining a frame number deviation by using the first frame number and the second frame number; and passing the first frame timing and the second frame timing Obtain a frame timing deviation; complete the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation.
  • the obtaining, by the processor 702, the second frame number and the second frame timing may include: when the time When the information includes the UTC time, the processor 702 acquires the UTC time provided by the timing device; combines the leap second information to convert the UTC time into the global positioning system GPS time; converts the GPS time into the second frame number and the second frame timing.
  • the method may include: the processor 702 converts the frame number deviation and the frame timing deviation into a time difference value; and calibrates the time information by using the time difference to complete the base station with the reference base station.
  • the base time is synchronized.
  • the receiver 703 is configured to receive the alarm information sent by the reference base station, where the alarm information is used to indicate that the time difference is greater than or equal to the predetermined time difference.
  • the processor 702 is further configured to synchronize the device to the first reference source to complete frequency synchronization with the reference base station, where the first reference source is the same as the reference source synchronized with the reference base station.
  • the processor 702 is further configured to synchronize the device to the second reference source, determine a frequency offset between the device and the reference base station, and the second reference source is different from the reference source synchronized with the reference base station; when the frequency deviation is less than the predetermined frequency When the deviation occurs, it continues to synchronize with the second reference source.
  • the reference time of the reference base station in the present invention is the time provided by the GNSS GNSS grant time, or the time provided by the second version 1588 1588V2 grant time, or the time and simple time information protocol provided by the time information protocol NTP grant time.
  • the time provided by the SNTP grant, the time provided by the second version of the 1588 adaptive clock recovery 1588V2ATR grant that is, the base station that the base station receives for the receiving GNSS, or the base station that receives the 1588V2 grant, or only receives the NTP grant, and/or SNTP grant, And/or 1588V2ATR timing base station.
  • the device (the base station to be synchronized) is a base station that cannot receive GNSS grants and/or 1588 V2 grants.
  • the receiver 703 is further configured to: when the reference base station is a base station that only receives the time information protocol NTP grant, and/or the simple time information protocol SNTP grant, and/or the 1588V2ATR grant, receive the extended cache message, and expand the cache message.
  • the FIFO indicating that the base station to be synchronized expands the base station to be synchronized.
  • the processor 702 is further configured to perform a reference time synchronization between the device and the candidate reference base station, where the candidate base station is a base station that replaces the failed base station, where the device performs reference time synchronization with the candidate base station.
  • the device performs the same reference time synchronization with the reference base station.
  • the candidate base station is a base station receiving GNSS timing, or a base station receiving 1588V2 timing, or a base station receiving only NTP timing, and/or SNTP timing, and/or 1588V2 ATR timing.
  • the processor 702 is further configured to perform transmission of a broadcast multicast service with the BMSC device.
  • the cost problem of reducing the reference time synchronization between the base stations can be realized, and the service content synchronization between the BMSC and the base station can be realized at a low cost.
  • the present invention provides a synchronization method, as shown in Figure 8.
  • the execution subject in the method is the base station to be synchronized 109 or the base station 110 to be synchronized shown in FIG. 1 , wherein the base station to be synchronized is a base station that synchronizes with the frame number of the reference base station and the frame timing, and the reference base station provides the base station to be synchronized.
  • Base station with reference time, reference frame number, and reference frame timing.
  • the base station to be synchronized obtains a first frame number and a first frame timing, where the first frame number is a frame number after the base station to be synchronized is synchronized with the reference frame number, and the first frame timing is a frame after the base station to be synchronized synchronizes with the reference frame timing. timing.
  • the to-be-synchronized base station is in the frame number synchronization and frame timing synchronization state with the reference base station.
  • the cooperative device is configured to complete the frame number and the frame timing synchronization between the base station and the to-be-synchronized base station, where the base station to be synchronized is a base station that needs to perform reference time synchronization with the reference base station, and the reference base station is used to complete and synchronize the base station to be synchronized.
  • Reference base station synchronized between reference times.
  • the base station to be synchronized acquires time information by using the first timing device, and obtains a second frame number and a second frame timing.
  • the second frame number is the frame number obtained by the time information conversion
  • the second frame timing is the frame timing obtained by the time information conversion
  • the first timing device is configured to provide time information to the base station to be synchronized.
  • the first timing device included in the mobile communication network system to which the method is applicable is BITS 101 and/or NTP-Server 102.
  • the base station to be synchronized obtains a frame number deviation by using the first frame number and the second frame number; and obtains a frame timing deviation by using the first frame timing and the second frame timing.
  • the base station to be synchronized completes the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation.
  • the base station to be synchronized obtains the time information obtained by the timing device of the base station to be synchronized by using the first frame number synchronized with the reference frame number and the first frame timing synchronized with the reference frame timing.
  • the second frame number and the second frame timing and then obtain the frame number deviation of the first frame number and the second frame number and the frame timing deviation of the first frame timing and the second frame timing, which are completed by the frame number deviation and the frame timing deviation Synchronized with the reference time of the reference base station.
  • the reference base station is a reference base station for performing reference time synchronization with the base station to be synchronized, and the base station to be synchronized only needs to perform absolute time synchronization with the reference base station, instead of receiving a GPS signal by using a costly timing scheme, Base station synchronization time synchronization, thereby avoiding the problem that in the prior art, in order to achieve reference time synchronization between base stations, all base stations (base base station and base station to be synchronized) need to receive GPS signals by using a higher cost timing receiver, resulting in higher cost. That is, while realizing the reference time synchronization between the base stations, the cost of deploying the base station is reduced.
  • the cooperation device participates in the frame number synchronization and the frame timing synchronization of the base station to be synchronized with the reference base station, and the coordination device determines the reference base station and the base station to be synchronized.
  • the first way the cooperative device determines to receive the high precision time timing from the at least one synchronization packet
  • the base station is a reference base station; determining that the base station other than the reference base station is the base station to be synchronized.
  • the high-precision time grant may include a GNSS grant and a 1588V2 grant.
  • the synchronization packet includes a base station that receives the GNSS grant and/or a base station that receives the 1588V2 grant
  • the cooperative device determines, from the at least one synchronization packet, the base station that receives the GNSS grant.
  • the base station that is the reference base station or receives the 1588V2 timing is the reference base station. That is, the reference time of the reference base station is the time provided by the GNSS grant, or the time provided by the 1588V2 grant. It can be obtained that when the second timing device is represented as providing time information to the reference base station, the second timing device may be a device adopting GNSS or a device of 1588V2.
  • a base station that receives high-precision time timing and a base station that receives low-precision time timing are included in the synchronization packet.
  • the low-precision time grant can include NTP (Network Time Protocol), SNTP (Simple Network Time Protocol), and 1588V2 ATR (1588V2 Adaptive Time Recovery). It is determined from the synchronization packet that the base station that only receives the NTP grant, and/or the SNTP grant, and/or receives the 1588 V2 ATR grant is the base station to be synchronized. That is, the base station to be synchronized is a base station that cannot receive GNSS grant and/or 1588V2 grant time.
  • two or more base stations receiving high-precision time timing may be included in one synchronization packet, and other high-precision time-time base stations are selected after the cooperative device selects one of the base stations receiving the high-precision time grant as the reference base station.
  • the general cooperative device may consider to avoid dividing a plurality of base stations receiving high-precision time timing into the same synchronization packet when dividing the synchronization packet.
  • the second mode the coordination device determines any one of the base stations as the reference base station from the at least one synchronization packet; and determines that the base station other than the reference base station is the base station to be synchronized.
  • the network architecture diagram shown in FIG. 4 does not include the base station that determines the receiving GNSS grant as the base station, and/or the base station that receives the 1588V2 grant, and cooperates.
  • the device determines, from the synchronization packet, any one of the base stations as a reference base station (ie, base
  • the reference time of the quasi-base station is the time provided by the NTP grant, or the time provided by the SNTP grant, or the time provided by the 1588V2 ATR grant).
  • the synchronization packet includes a base station that cannot receive the GNSS grant, and/or a base station that cannot receive the 1588V2 grant (ie, a base station that only receives the NTP grant, and/or the SNTP grant, and/or the 1588V2 ATR grant). Further, the remaining base stations in the synchronization packet are determined to be base stations to be synchronized. Comparing FIG. 3 with FIG. 1, it is found that FIG. 3 does not include the device 106 that transmits the GPS signal to the base station 108. Therefore, the base station 108, the base station 109, or the base station 110 can all serve as the reference base station.
  • the coordination device determines an alternate reference base station from at least one synchronization packet, the alternate reference base station being a base station replacing the reference base station in which the error occurred.
  • the network architecture further includes a GPS signal 113 (i.e., a device 113 that transmits a GPS signal) and transmits a GPS signal 113 to the base station 110.
  • the base station 110 can then serve as an alternate base station.
  • the base station to be synchronized when the base station fails, the base station to be synchronized performs reference time synchronization with the candidate base station, wherein the manner in which the base station to be synchronized and the candidate base station perform reference time synchronization are synchronized with the base station to be synchronized and the reference base station.
  • the synchronization module 204 is further configured to perform the reference time synchronization between the device 30 and the candidate reference base station, wherein the manner in which the device 30 performs the reference time synchronization with the candidate reference base station is the same as the manner in which the device performs the reference time synchronization with the reference base station.
  • the base station 110 shown in FIG. 1 cannot receive GPS signals, it can still serve as an alternative base station.
  • the candidate base station can be a base station receiving GNSS timing, or a base station receiving 1588V2 timing, or a base station receiving only NTP timing, and/or SNTP timing, and/or 1588V2 ATR timing.
  • the cooperative device participates in realizing the frame number and frame timing of the base station to be synchronized relative to the reference base station by acquiring the time at which the reference base station and the to-be-synchronized base station receive the uplink synchronization reference signal. Synchronization, thereby achieving the frame number synchronization and frame timing synchronization state of the device 30 (base station to be synchronized) and the reference base station.
  • the cooperative device first determines the reference UE, and then determines a timing offset between the base station to be synchronized and the reference base station according to the time when the reference base station and the base station to be synchronized receive the uplink synchronization reference signal sent by the reference UE; and calibrates the base station to be synchronized according to the timing deviation
  • the base station to be synchronized obtains the first frame number and the first frame timing, and completes synchronization of the frame number and frame timing of the base station to be synchronized with respect to the reference base station.
  • the method for determining the timing deviation between the base station to be synchronized and the reference base station according to the time when the reference base station and the base station to be synchronized receive the uplink synchronization reference signal sent by the reference UE may be various.
  • the present invention lists two methods herein. :
  • the cooperative device receives the relative time T1 sent by the reference base station, where the relative time T1 is the time when the reference base station determined by the reference base station determines the synchronization reference signal sent by the reference UE according to the current frame number and the frame timing.
  • the synchronization reference signal sent by the reference UE includes, but is not limited to, at least one of the following: PRACH, SRS, DMRS.
  • the cooperative device receives the relative time T2 sent by the base station to be synchronized, and the relative time T2 is the time at which the base station to be synchronized, which is determined by the current frame number of the base station to be synchronized and the frame timing, receives the synchronization reference signal sent by the reference UE.
  • the cooperative device can determine the offset of the respective time axes of the two base stations by the difference between the two relative moments, that is, the frame number of the two base stations and the frame timing deviation.
  • the base station to be synchronized can adjust its own frame number and frame timing according to the ⁇ T, thereby achieving synchronization with the frame number and frame timing of the reference base station.
  • the coordination device determines the RTD measurement result TA1 of the reference UE and the reference base station.
  • the coordination device determines the RTD measurement result TA2 of the reference UE and the base station to be synchronized.
  • the coordination device determines the deviation TA1-TA2 caused by the distance difference between the reference UE and the base station to be synchronized and the base station to be synchronized according to the measurement result TA1 and the measurement result TA2.
  • the cooperative device obtains the relative time T1 and the relative time T2 by the first method, and determines the timing deviation ⁇ T according to the deviation TA1-TA2, the relative time T1, and the relative time T2.
  • ⁇ T T1-T2-(TA1-TA2).
  • the method further includes: synchronizing the base station to be synchronized with the first reference source to complete frequency synchronization with the reference base station, where the first reference source is synchronized with the reference source of the reference base station .
  • the base station to be synchronized synchronizes to the same reference source (the GPS signal 106 and the GPS signal 107 are GPS signals) through the line clock (bits shown in FIG. 1), and the frequency synchronization between the base station to be synchronized and the reference base station is completed.
  • the phase shift between the base stations is made uniform.
  • the reference source can be GPS, atomic clock, crystal oscillator, and the like.
  • the method further includes: the base station to be synchronized is synchronized with the second reference source, determining a frequency offset between the base station to be synchronized and the reference base station, and the second reference source is synchronized with the reference base station.
  • the reference source is different; when the frequency deviation is less than the predetermined frequency deviation, synchronization with the second reference source continues. That is, when the reference base station and the to-be-synchronized base station are different reference sources through the line clock synchronization reference source, the frequency deviation between the base station to be synchronized and the reference base station is less than or equal to a predetermined frequency deviation.
  • the present invention does not limit the predetermined frequency deviation, for example, the predetermined frequency deviation may be 3*10E-11.
  • the predetermined frequency deviation is mainly related to the selection of the test period for synchronizing the frame number and the frame timing between the base stations. For example, when the test period is accelerated, the predetermined frequency deviation may be correspondingly increased.
  • the reference base station and the base station to be synchronized adopt different reference sources, the two The condition that the reference source needs to meet is that a high-precision reference source is required.
  • the reference base station uses GPS as a reference source
  • the base station to be synchronized uses BITS as a reference source
  • the BITS uses a high-precision atomic clock as a clock reference, thereby ensuring phase drift between the reference base station and the base station to be synchronized.
  • the reference time of the reference base station in the present invention is the time provided by the GNSS GNSS grant time, or the time provided by the second version 1588 1588V2 grant time, or the time provided by the time information protocol NTP grant time, or simple time information.
  • the time provided by the protocol SNTP grant, or the time provided by the second version of the 1588 adaptive clock recovery 1588V2ATR grant that is, the base station that receives the GNSS grant as the base station, or the base station that receives the 1588V2 grant, or only receives the NTP grant, and/ Or base station with SNTP timing, and/or 1588V2ATR timing.
  • the base station to be synchronized is a base station that cannot receive GNSS grant and/or 1588 V2 grant (ie, a base station that only receives NTP grant, and/or SNTP grant, and/or 1588 V2 ATR grant). It can be obtained that the first timing device is a device using NTP, a device using SNTP, or a device adopting 1588V2 ATR.
  • the time information provided by the base station to be synchronized to receive the first timing device may be GPS time, or may be UTC (Universal Time Coordinated) time.
  • the base station to be synchronized is a base station that only receives NTP grant and/or SNTP grant time
  • the time information is UTC time
  • the base station to be synchronized is a base station that only receives 1588 V2 ATR grant time
  • the time information is GPS time.
  • the base station to be synchronized obtains the second frame number and the second frame timing by receiving time information provided by the first timing device, including:
  • the base stations to be synchronized are the base stations that receive the low-precision timing. Therefore, when the time of the base station to be synchronized is the time provided by the NTP grant, or the time provided by the SNTP grant, or the time provided by the 1588V2 ATR grant (that is, the base station to be synchronized only receives the NTP grant time) Base station, or only the base station receiving SNTP grant time (that is, the time information is UTC time), the base station to be synchronized receives the time through NTP Or, by UTC time of SNTP timing, combined with leap second information, the UTC time is converted into GPS time, and the GPS time is converted into a second frame number and a second frame timing.
  • GPS time is atomic time
  • UTC time is astronomical time
  • leap second information can be regarded as the difference information between atomic time and astronomical time.
  • the leap second information changes as the deviation between astronomical time and atomic time changes.
  • the current leap second information is 19s.
  • the GPS time (time information) is obtained by receiving the timing of the device (first timing device) using the 1588V2 ATR, and then the GPS time is converted into the second frame number and the second. Frame timing.
  • protocols such as NTP and SNTP deliver UTC time and do not carry leap second information.
  • the current leap second information is needed to ensure the accuracy of the conversion. Therefore, it is necessary to provide corresponding leap second information to the base station through configuration to ensure that the time after conversion is accurate.
  • the base station to be synchronized completes the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation, and may include:
  • the base station to be synchronized converts the frame number deviation and the frame timing deviation into a time difference; the base station to be synchronized calibrates the time information by the time difference, and completes the reference time synchronization with the reference base station.
  • the method may further include: the base station to be synchronized receives the alarm information sent by the reference base station, and the alarm information is used to indicate the time difference. The value is greater than or equal to the predetermined time difference. It can be understood that after the base station to be synchronized receives the alarm information, the synchronization operation with the reference base station can be stopped.
  • the frame number (LFN) has a period of 10.24 s.
  • the GPS time obtained by converting the UTC time is different from the accurate GPS time by +/- 5.12 s, it will result in a jump and thus can not accurately obtain the UTC time.
  • the GPS time is accurate with the exact GPS time, so the exact time of the station to be synchronized cannot be obtained.
  • the predetermined time difference is 5.12 s.
  • the time difference between the reference base station and the base station to be synchronized is broken by the reference base station and the pre- The size between the time differences. Because, as shown in FIG. 1, FIG. 4 or FIG. 5, when the reference base station receives the GNSS grant or receives the 1588V2 grant, and also receives the NTP grant or the SNTP grant or the 1588V2ATR grant, the reference base station can thereby obtain the time difference and time. The difference is compared with a predetermined time difference, and when the time difference is greater than or equal to the predetermined time difference, the alarm information is reported.
  • the method further includes: when the reference base station is a base station that cannot receive GNSS grant and/or 1588V2 grant (ie, a base station that only receives NTP grant, and/or SNTP grant, and/or 1588V2 ATR grant), And when the eMBMS service and the like need to have the base station having the accurate absolute time, the base station to be synchronized receives the extended buffer message sent by the coordinated device, and the expanded cache message is used to indicate that the base station to be synchronized expands the FIFO of the base station to be synchronized (First Input First Output, first entry) First out queue).
  • GNSS grant and/or 1588V2 grant ie, a base station that only receives NTP grant, and/or SNTP grant, and/or 1588V2 ATR grant
  • the base station to be synchronized receives the extended buffer message sent by the coordinated device, and the expanded cache message is used to indicate that the base station to be synchronized expands the FIFO of the base station
  • the FIFO is changed from a normal state to an expanded state, so as to cope with the time deviation existing between the BMSC device and the base station to be synchronized.
  • the base station to be synchronized completes the traffic transmission with the BMSC device, the FIFO transitions from the expanded state to the normal state.
  • the coordination device also sends an extended buffer message to the reference base station for instructing the reference base station to expand the FIFO of the reference base station.
  • the mode indicates that the reference base station is not the base station receiving the GNSS grant or receiving the 1588V2 grant time.
  • strict frame number and frame timing synchronization between the reference base station and the base station to be synchronized in the same synchronization packet can be achieved, and strict time synchronization with each other can be achieved, but only the base station time and standard GPS time in the area.
  • eMBMS a service that requires the base station to have an accurate absolute time
  • the effect of this bias is absorbed by expanding the FIFO (eg, enabling synchronization with eMBMS between BMSC devices).
  • the to-be-synchronized base station performs transmission of the broadcast multicast service with the broadcast multicast service center BMSC device.
  • the surface base stations (between the reference base station and the base station to be synchronized) are strictly reference time synchronized.
  • the reference base station is a base station receiving GNSS grant or 1588V2 timing (using an accurate absolute time)
  • the BMSC device and the base station including the reference base station and the to-be-synchronized
  • the time synchronization of the business content can be realized between the base stations.
  • the base station When the reference base station is a base station that cannot receive the GNSS grant and the 1588V2 grant time (which can be regarded as using an inaccurate absolute time), when performing a service (such as eMBMS) requiring time synchronization of the service content, the base station (including the base station and the base station and The base station to be synchronized needs to expand the FIFO to achieve time synchronization of the service content with the BMSC device.
  • a service such as eMBMS
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

The present invention relates to the field of wireless communication network technology, and disclosed are a synchronization device and method for solving the problem of high cost of absolute time synchronization between base stations. The method of the present invention comprises: when the base station to be synchronized is in sync with a frame number of a reference base station and in sync with a frame timing, an acquisition module acquires a first frame number and a first frame timing; the acquisition module acquires time information provided by a timing device of the base station to be synchronized so as to acquire a second frame number and a second frame timing by converting the time information; a computation module acquires the deviation between the first frame number and the second frame number and the deviation between the first frame timing and the second frame timing, and a synchronization module achieves absolute time synchronization with the reference base station based on the frame number deviation and the frame timing deviation, the reference base station being used to achieve the absolute time synchronization with the base station to be synchronized. The solution provided in the embodiment of the present invention is suitable for synchronization between base stations.

Description

一种同步装置及方法Synchronization device and method 技术领域Technical field
本发明涉及无线通信技术领域,尤其涉及一种同步装置及方法。The present invention relates to the field of wireless communication technologies, and in particular, to a synchronization apparatus and method.
背景技术Background technique
随着无线通信技术的不断发展,时间同步技术已成为无线通信技术中重要的一部分。其中在LTE(Long Term Evolution,长期演进技术)中,LTE包括TDD(Time Division Duplex,时分双工)和FDD(Frequency Division Duplex,频分双工)两种双工模式。在TDD中,基站之间需要要求严格的空口帧号与帧定时同步,从而避免基站间的干扰。With the continuous development of wireless communication technology, time synchronization technology has become an important part of wireless communication technology. In LTE (Long Term Evolution), LTE includes two types of duplex modes: TDD (Time Division Duplex) and FDD (Frequency Division Duplex). In TDD, strict air interface frame numbers and frame timing synchronization are required between base stations to avoid interference between base stations.
目前,通过采用GNSS(Global Navigation Satellite System,全球导航卫星系统)授时方案或者1588V2(1588 Version2,1588第二版本)授时方案来实现基站间严格的同步。其中,通过各基站采用GNSS授时或者采用1588V2授时来接收来自卫星的GPS信号,然后从GPS信号中提取时钟同步信号,通过时钟同步信号来实现各基站间的同步。然而,GNSS授时和1588V2授时的使用成本和后期维护成本均较高,导致实现基站间绝对时间同步的成本较高。At present, strict synchronization between base stations is achieved by adopting the GNSS (Global Navigation Satellite System) timing scheme or the 1588V2 (1588 Version 2, 1588 second edition) timing scheme. The base station adopts GNSS timing or adopts 1588V2 timing to receive the GPS signal from the satellite, and then extracts the clock synchronization signal from the GPS signal, and synchronizes between the base stations through the clock synchronization signal. However, the use cost and post-maintenance cost of GNSS timing and 1588V2 timing are higher, resulting in higher cost of achieving absolute time synchronization between base stations.
发明内容Summary of the invention
本发明的实施例提供一种同步装置及方法,用于解决实现基站间绝对时间同步的成本较高的问题。Embodiments of the present invention provide a synchronization apparatus and method for solving the problem of high cost of implementing absolute time synchronization between base stations.
第一方面,本发明的实施例提供一种同步装置,所述装置应用于待同步基站,所述待同步基站为与基准基站的帧号同步和帧定时同步的基站,所述基准基站为向所述待同步基站提供基准时间、基准帧号和基准帧定时的基站,所述装置包括:In a first aspect, an embodiment of the present invention provides a synchronization apparatus, where the apparatus is applied to a base station to be synchronized, and the base station to be synchronized is a base station that synchronizes with a frame number of a reference base station and a frame timing, and the reference base station is a The base station to be synchronized provides a base station with a reference time, a reference frame number, and a reference frame timing, and the apparatus includes:
获得模块,用于获得第一帧号和第一帧定时,并将所述第一帧号和所述第一帧定时提供给计算模块,所述第一帧号为所述待同步基站与所述基准帧 号同步后的帧号,所述第一帧定时为所述待同步基站与所述基准帧定时同步后的帧定时;Obtaining a module, configured to obtain a first frame number and a first frame timing, and provide the first frame number and the first frame timing to a computing module, where the first frame number is the to-be-synchronized base station and the Reference frame a frame number after the synchronization, the first frame timing is a frame timing after the base station to be synchronized is synchronized with the reference frame timing;
获取模块,用于通过第一授时设备获取时间信息,并将所述时间信息提供给所述获得模块,所述第一授时设备用于向所述装置提供时间信息;An obtaining module, configured to acquire time information by using a first timing device, and provide the time information to the obtaining module, where the first timing device is configured to provide time information to the device;
所述获得模块,还用于根据所述时间信息,获得第二帧号和第二帧定时,并将所述第二帧号和所述第二帧定时提供给所述计算模块;The obtaining module is further configured to obtain a second frame number and a second frame timing according to the time information, and provide the second frame number and the second frame timing to the computing module;
所述计算模块,用于通过所述第一帧号与所述第二帧号得到帧号偏差;和通过所述第一帧定时和所述第二帧定时,得到帧定时偏差,并将所述帧号偏差和所述帧定时偏差提供给同步模块;The calculating module is configured to obtain a frame number deviation by using the first frame number and the second frame number; and obtain a frame timing deviation by using the first frame timing and the second frame timing, and The frame number deviation and the frame timing deviation are provided to the synchronization module;
所述同步模块,用于根据所述帧号偏差和所述帧定时偏差,完成与所述基准基站的基准时间同步。The synchronization module is configured to complete a reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation.
在第一种可能的实施例中,结合第一方面,当所述时间信息包括协调世界时UTC时间时,所述获得模块,包括:In a first possible embodiment, in combination with the first aspect, when the time information includes a Coordinated Universal Time UTC time, the obtaining module includes:
获取单元,用于获取授时设备提供的UTC时间,并将所述UTC时间提供给转换单元;An obtaining unit, configured to acquire a UTC time provided by the timing device, and provide the UTC time to the conversion unit;
所述转换单元,用于结合闰秒信息,将所述UTC时间转换成全球定位系统GPS时间;将所述GPS时间转换成所述第二帧号和所述第二帧定时。The converting unit is configured to convert the UTC time into a global positioning system GPS time in combination with the leap second information; convert the GPS time into the second frame number and the second frame timing.
在第二种可能的实施例中,结合第一方面或第一方面中的第一种可能的实施例,所述同步模块,包括:In a second possible embodiment, in combination with the first aspect or the first possible embodiment of the first aspect, the synchronization module includes:
转换单元,用于将所述帧号偏差和帧定时偏差转换成时间差值,并将所述时间差值提供给校准单元;a converting unit, configured to convert the frame number deviation and a frame timing deviation into a time difference value, and provide the time difference value to a calibration unit;
所述校准单元,用于通过所述时间差值对所述时间信息进行校准,完成与所述基准基站的绝对时间同步。The calibration unit is configured to calibrate the time information by using the time difference to complete absolute time synchronization with the reference base station.
在第三种可能的实施例中,结合第一方面中的第二种可能的实施例,所 述装置还包括:In a third possible embodiment, in combination with the second possible embodiment of the first aspect, The device also includes:
第一接收模块,用于接收所述基准基站发送的告警信息,所述告警信息用于表示所述时间差值大于等于预定时间差值。The first receiving module is configured to receive the alarm information sent by the reference base station, where the alarm information is used to indicate that the time difference is greater than or equal to a predetermined time difference.
在第四种可能的实施例中,结合第一方面或第一方面中的上述任一种可能的实施例,In a fourth possible embodiment, in combination with the first aspect or any one of the above possible embodiments in the first aspect,
所述同步模块,还用于将所述装置同步于第一参考源,完成与所述基准基站之间的频率同步,所述第一参考源与所述基准基站同步的参考源相同。The synchronization module is further configured to synchronize the device to the first reference source to complete frequency synchronization with the reference base station, where the first reference source is the same as the reference source synchronized with the reference base station.
在第五种可能的实施例中,结合第一方面或第一方面中第一种至第三种中任一种可能的实施例,In a fifth possible embodiment, in combination with the first aspect or any of the first to third possible embodiments of the first aspect,
所述同步模块,还用于将所述装置同步于第二参考源,确定所述装置与所述基准基站之间的频率偏差,所述第二参考源与所述基准基站同步的参考源不同;当所述频率偏差小于预定频率偏差时,继续同步于所述第二参考源。The synchronization module is further configured to synchronize the device to a second reference source to determine a frequency offset between the device and the reference base station, where the second reference source is different from a reference source synchronized with the reference base station When the frequency deviation is less than the predetermined frequency deviation, synchronization with the second reference source continues.
在第六种可能的实施例中,结合第一方面或第一方面中的上述任一种可能的实施例,所述基准基站的基准时间为全球导航卫星系统GNSS授时提供的时间,或者第二版1588 1588V2授时提供的时间,或者时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者第二版1588自适应时钟恢复1588V2ATR授时提供的时间。In a sixth possible embodiment, in combination with the first aspect or any one of the foregoing possible embodiments of the first aspect, the reference time of the reference base station is a time provided by a Global Navigation Satellite System (GNSS) GNSS timing, or a second The time provided by the 1588 1588V2 grant, or the time provided by the time information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the second edition 1588 adaptive clock recovery 1588V2ATR grant.
在第七种可能的实施例中,结合第一方面中的第六种可能的实施例,所述装置还包括:In a seventh possible embodiment, in combination with the sixth possible embodiment of the first aspect, the device further comprises:
第二接收模块,用于当所述基准基站的基准时间为通过时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者1588V2ATR授时的基站提供的时间时,接收扩大缓存消息,所述扩大缓存消息用于指示所述待同步基站扩大所述待同步基站的先入先出队列FIFO。a second receiving module, configured to receive an extended buffer when a reference time of the reference base station is a time provided by a time information protocol NTP grant, or a time provided by a simple time information protocol SNTP grant, or a time provided by a base station of a 1588 V2 ATR grant The message, the extended cache message is used to indicate that the to-be-synchronized base station expands the first-in first-out queue FIFO of the to-be-synchronized base station.
在第八种可能的实施例中,结合第一方面中的第三种可能的实施例, In an eighth possible embodiment, in combination with the third possible embodiment of the first aspect,
所述同步模块,还用于将所述装置与备选基准基站进行绝对时间同步,所述备选基准基站为替换所述出现故障的基准基站的基站,其中所述装置与所述备选基准基站进行绝对时间同步的方式与所述装置与所述基准基站进行绝对时间同步的方式相同。The synchronization module is further configured to perform absolute time synchronization with the candidate base station, where the candidate base station is a base station that replaces the failed base station, wherein the device and the candidate reference are The manner in which the base station performs absolute time synchronization is the same as the manner in which the apparatus performs absolute time synchronization with the reference base station.
在第九种可能的实施例中,结合第一方面中的第八种可能的实施例,所述装置还包括:In a ninth possible embodiment, in combination with the eighth possible embodiment of the first aspect, the device further comprises:
执行模块,用于执行与广播多播业务中心BMSC设备之间广播多播业务的传输。An execution module, configured to perform transmission of a broadcast multicast service with a broadcast multicast service center BMSC device.
第二方面,本发明的实施例提供一种同步装置,所述装置应用于待同步基站,所述待同步基站为与基准基站的帧号同步和帧定时同步的基站,所述基准基站为向所述待同步基站提供基准时间、基准帧号和基准帧定时的基站,所述装置包括:In a second aspect, an embodiment of the present invention provides a synchronization apparatus, where the apparatus is applied to a base station to be synchronized, and the base station to be synchronized is a base station that synchronizes with a frame number of a reference base station and a frame timing, and the reference base station is a The base station to be synchronized provides a base station with a reference time, a reference frame number, and a reference frame timing, and the apparatus includes:
存储器,用于存储包括程序指令的信息;a memory for storing information including program instructions;
处理器,与所述存储器耦合,用于控制所述程序指令的执行,具体用于获得第一帧号和第一帧定时,所述第一帧号为所述待同步基站与所述基准帧号同步后的帧号,所述第一帧定时为所述待同步基站与所述基准帧定时同步后的帧定时;通过第一授时设备获取时间信息,根据所述时间信息获得第二帧号和第二帧定时;通过所述第一帧号与所述第二帧号得到帧号偏差;和通过所述第一帧定时和所述第二帧定时,得到帧定时偏差;根据所述帧号偏差和所述帧定时偏差,完成与所述基准基站的基准时间同步。a processor, coupled to the memory, for controlling execution of the program instruction, specifically for obtaining a first frame number and a first frame timing, where the first frame number is the to-be-synchronized base station and the reference frame a frame number after synchronization, the first frame timing is a frame timing after the base station to be synchronized is synchronized with the reference frame timing; obtaining time information by the first timing device, and obtaining a second frame number according to the time information And a second frame timing; obtaining a frame number deviation by using the first frame number and the second frame number; and obtaining a frame timing deviation by using the first frame timing and the second frame timing; according to the frame The number deviation and the frame timing deviation are synchronized with the reference time of the reference base station.
在第一种可能的实施例中,结合第二方面,当所述时间信息包括协调世界时UTC时间时,所述处理器,还用于获取授时设备提供的UTC时间;结合闰秒信息,将所述UTC时间转换成全球定位系统GPS时间;将所述GPS时间转换成所述第二帧号和所述第二帧定时。In a first possible embodiment, in combination with the second aspect, when the time information includes a Coordinated Universal Time UTC time, the processor is further configured to acquire a UTC time provided by the timing device; Converting the UTC time to a global positioning system GPS time; converting the GPS time to the second frame number and the second frame timing.
在第二种可能的实施例中,结合第二方面或第二方面中的第一种可能的 实施例,In a second possible embodiment, combining the second aspect or the first possible one of the second aspect Embodiment,
所述处理器,还用于将所述帧号偏差和帧定时偏差转换成时间差值;通过所述时间差值对所述时间信息进行校准,完成与所述基准基站的绝对时间同步。The processor is further configured to convert the frame number deviation and the frame timing deviation into a time difference value; and the time information is calibrated by the time difference to complete absolute time synchronization with the reference base station.
在第三种可能的实施例中,结合第二方面或第二方面中的上述任一种可能的实施例,所述装置还包括:接收器;In a third possible embodiment, in combination with any one of the foregoing possible embodiments of the second aspect or the second aspect, the device further includes: a receiver;
所述接收器,用于接收所述基准基站发送的告警信息,所述告警信息用于表示所述时间差值大于等于预定时间差值。The receiver is configured to receive the alarm information sent by the reference base station, where the alarm information is used to indicate that the time difference is greater than or equal to a predetermined time difference.
在第四种可能的实施例中,结合第二方面或第二方面中的上述任一种可能的实施例,In a fourth possible embodiment, in combination with any one of the above possible embodiments of the second aspect or the second aspect,
所述处理器,还用于将所述装置同步于第一参考源,完成与所述基准基站之间的频率同步,所述第一参考源与所述基准基站同步的参考源相同。The processor is further configured to synchronize the device to the first reference source to complete frequency synchronization with the reference base station, where the first reference source is the same as the reference source synchronized with the reference base station.
在第五种可能的实施例中,结合第二方面或第二方面中第一种至第三种中任一种可能的实施例,In a fifth possible embodiment, in combination with the second aspect or the possible embodiment of any one of the first to third aspects of the second aspect,
所述处理器,还用于将所述装置同步于第二参考源,确定所述装置与所述基准基站之间的频率偏差,所述第二参考源与所述基准基站同步的参考源不同;当所述频率偏差小于预定频率偏差时,继续同步于所述第二参考源。The processor is further configured to synchronize the device with a second reference source to determine a frequency offset between the device and the reference base station, where the second reference source is different from a reference source synchronized with the reference base station When the frequency deviation is less than the predetermined frequency deviation, synchronization with the second reference source continues.
在第六种可能的实施例中,结合第二方面或第二方面中的上述任一种可能的实施例,所述基准基站的基准时间为全球导航卫星系统GNSS授时提供的时间,或者第二版1588 1588V2授时提供的时间,或者时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者第二版1588自适应时钟恢复1588V2ATR授时提供的时间。In a sixth possible embodiment, in combination with any one of the foregoing possible embodiments of the second aspect or the second aspect, the reference time of the reference base station is a time provided by the Global Navigation Satellite System (GNSS) GNSS timing, or a second The time provided by the 1588 1588V2 grant, or the time provided by the time information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the second edition 1588 adaptive clock recovery 1588V2ATR grant.
在第七种可能的实施例中,结合第二方面或第二方面中的第三种可能的实施例,所述装置还包括: In a seventh possible embodiment, in combination with the second aspect or the third possible embodiment of the second aspect, the device further includes:
所述接收器,还用于当所述基准基站的基准时间为通过时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者1588V2ATR授时的基站提供的时间时,接收扩大缓存消息,所述扩大缓存消息用于指示所述待同步基站扩大所述待同步基站的先入先出队列FIFO。The receiver is further configured to: when the reference time of the reference base station is the time provided by the time information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the base station of the 1588V2 ATR grant, the receiving extension The cached message is used to indicate that the to-be-synchronized base station expands the first-in first-out queue FIFO of the to-be-synchronized base station.
在第八种可能的实施例中,结合第二方面或第二方面中的第三种可能的实施例,In an eighth possible embodiment, in combination with the second aspect or the third possible embodiment of the second aspect,
所述处理器,还用于将所述装置与备选基准基站进行绝对时间同步,所述备选基准基站为替换所述出现故障的基准基站的基站,其中所述装置与所述备选基准基站进行绝对时间同步的方式与所述装置与所述基准基站进行绝对时间同步的方式相同。The processor is further configured to perform absolute time synchronization with the candidate base station, where the candidate base station is a base station that replaces the failed base station, wherein the device and the candidate reference are The manner in which the base station performs absolute time synchronization is the same as the manner in which the apparatus performs absolute time synchronization with the reference base station.
在第九种可能的实施例中,结合第二方面或第二方面中的第八种可能的实施例,In a ninth possible embodiment, in combination with the second aspect or the eighth possible embodiment of the second aspect,
所述处理器,还用于执行与广播多播业务中心BMSC设备之间广播多播业务的传输。The processor is further configured to perform transmission of a broadcast multicast service with a broadcast multicast service center BMSC device.
第三方面,本发明的实施例提供一种同步方法,所述方法应用于待同步基站,所述待同步基站为与基准基站的帧号同步和帧定时同步的基站,所述基准基站为向所述待同步基站提供基准时间、基准帧号和基准帧定时的基站,所述方法包括:In a third aspect, an embodiment of the present invention provides a synchronization method, where the method is applied to a base station to be synchronized, where the base station to be synchronized is a base station that synchronizes with a frame number of a reference base station and frame timing, and the reference base station is a The base station to be synchronized provides a base station with a reference time, a reference frame number, and a reference frame timing, and the method includes:
所述待同步基站获得第一帧号和第一帧定时,所述第一帧号为所述待同步基站与所述基准帧号同步后的帧号,所述第一帧定时为所述待同步基站与所述基准帧定时同步后的帧定时;The base station to be synchronized obtains a first frame number and a first frame timing, where the first frame number is a frame number after the base station to be synchronized is synchronized with the reference frame number, and the first frame timing is the a frame timing after the synchronization base station synchronizes with the reference frame timing;
所述待同步基站通过第一授时设备获取时间信息,根据所述时间信息获得第二帧号和第二帧定时;The base station to be synchronized acquires time information by using the first timing device, and obtains a second frame number and a second frame timing according to the time information;
所述待同步基站通过所述第一帧号与所述第二帧号得到帧号偏差;并通 过所述第一帧定时和所述第二帧定时,得到帧定时偏差;The base station to be synchronized obtains a frame number deviation by using the first frame number and the second frame number; Passing the first frame timing and the second frame timing to obtain a frame timing deviation;
所述待同步基站根据所述帧号偏差和所述帧定时偏差,完成与所述基准基站的基准时间同步。The base station to be synchronized completes synchronization with the reference time of the reference base station according to the frame number deviation and the frame timing deviation.
在第一种可能的实施例中,结合第三方面,当所述时间信息包括协调世界时UTC时间时,所述待同步基站通过第一授时设备获取时间信息,根据所述时间信息获得第二帧号和第二帧定时,包括:In a first possible embodiment, in conjunction with the third aspect, when the time information includes a Coordinated Universal Time UTC time, the to-be-synchronized base station acquires time information by using a first timing device, and obtains a second according to the time information. Frame number and second frame timing, including:
所述待同步基站获取授时设备提供的UTC时间;The base station to be synchronized acquires a UTC time provided by the timing device;
结合闰秒信息,将所述UTC时间转换成全球定位系统GPS时间;Converting the UTC time into a global positioning system GPS time in combination with leap second information;
将所述GPS时间转换成所述第二帧号和所述第二帧定时。Converting the GPS time to the second frame number and the second frame timing.
在第二种可能的实施例中,结合第三方面或第三方面中的第一种可能的实施例,所述待同步基站根据所述帧号偏差和所述帧定时偏差,完成与所述基准基站的基准时间同步,包括:In a second possible embodiment, in combination with the third aspect or the first possible embodiment of the third aspect, the base station to be synchronized completes and according to the frame number deviation and the frame timing deviation Base time synchronization of the base station, including:
所述待同步基站将所述帧号偏差和帧定时偏差转换成时间差值;The base station to be synchronized converts the frame number deviation and the frame timing deviation into a time difference value;
所述待同步基站通过所述时间差值对所述时间信息进行校准,完成与所述基准基站的绝对时间同步。The base station to be synchronized performs calibration on the time information by using the time difference to complete absolute time synchronization with the reference base station.
在第三种可能的实施例中,结合第三方面中的第二种可能的实施例,在所述待同步基站将所述帧号偏差和帧定时偏差转换成时间差值之后,所述方法还包括:In a third possible embodiment, in combination with the second possible embodiment of the third aspect, after the base station to be synchronized converts the frame number offset and the frame timing offset into a time difference value, the method Also includes:
所述待同步基站接收所述基准基站发送的告警信息,所述告警信息用于表示所述时间差值大于等于预定时间差值。The base station to be synchronized receives the alarm information sent by the reference base station, and the alarm information is used to indicate that the time difference is greater than or equal to a predetermined time difference.
在第四种可能的实施例中,结合第三方面或第三方面中的第一种可能的实施例,在所述待同步基站获得第一帧号和第一帧定时之前,所述方法还包括:In a fourth possible embodiment, in combination with the third aspect or the first possible embodiment of the third aspect, before the obtaining, by the to-be-synchronized base station, the first frame number and the first frame timing, the method further include:
所述待同步基站同步于第一参考源,完成与所述基准基站之间的频率同 步,所述第一参考源与所述基准基站同步的参考源相同。The base station to be synchronized is synchronized with the first reference source to complete the same frequency as the reference base station Step, the first reference source is the same as the reference source synchronized with the reference base station.
在第五种可能的实施例中,结合第三方面或第三方面中第一种至第三种中任一种可能的实施例,在所述待同步基站获得第一帧号和第一帧定时之前,所述方法还包括:In a fifth possible embodiment, in combination with the third aspect or any one of the first to third aspects of the third aspect, obtaining, by the base station to be synchronized, the first frame number and the first frame Before timing, the method further includes:
所述待同步基站同步于第二参考源,确定所述待同步基站与所述基准基站之间的频率偏差,所述第二参考源与所述基准基站同步的参考源不同;The base station to be synchronized is synchronized with the second reference source to determine a frequency offset between the base station to be synchronized and the reference base station, and the second reference source is different from the reference source synchronized by the reference base station;
当所述频率偏差小于预定频率偏差时,所述待同步基站继续同步于所述第二参考源。When the frequency deviation is less than a predetermined frequency deviation, the to-be-synchronized base station continues to synchronize with the second reference source.
在第六种可能的实施例中,结合第三方面或第三方面中的上述任一种可能的实施例,所述基准基站的基准时间为全球导航卫星系统GNSS授时提供的时间,或者第二版1588 1588V2授时提供的时间,或者时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者第二版1588自适应时钟恢复1588V2ATR授时提供的时间。In a sixth possible embodiment, in conjunction with any one of the foregoing possible embodiments of the third aspect or the third aspect, the reference time of the reference base station is a time provided by the Global Navigation Satellite System (GNSS) GNSS timing, or a second The time provided by the 1588 1588V2 grant, or the time provided by the time information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the second edition 1588 adaptive clock recovery 1588V2ATR grant.
在第七种可能的实施例中,结合第三方面中的第六种可能的实施例,当所述基准基站的基准时间为通过时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者1588V2ATR授时的基站提供的时间时,所述方法还包括:In a seventh possible embodiment, in combination with the sixth possible embodiment of the third aspect, when the reference time of the reference base station is the time provided by the time information protocol NTP grant, or the simple time information protocol SNTP timing When the time provided, or the time provided by the base station of the 1588 V2 ATR timing, the method further includes:
所述待同步基站接收扩大缓存消息,所述扩大缓存消息用于指示所述待同步基站扩大所述待同步基站的先入先出队列FIFO。The base station to be synchronized receives the extended cache message, and the extended cache message is used to indicate that the base station to be synchronized expands the first-in first-out queue FIFO of the base station to be synchronized.
在第八种可能的实施例中,结合第三方面中的第三种可能的实施例,所述通信系统还包括备选基准基站,所述备选基准基站为替换所述出现故障的基准基站的基站;在所述待同步基站接收所述基准基站发送的告警信息之后,所述方法还包括:In an eighth possible embodiment, in conjunction with the third possible embodiment of the third aspect, the communication system further includes an alternative reference base station, the alternate reference base station being a reference to the failed base station After the base station to be synchronized receives the alarm information sent by the reference base station, the method further includes:
所述待同步基站与所述备选基准基站进行绝对时间同步,其中所述待同 步基站与所述备选基准基站进行绝对时间同步的方式与所述待同步基站与所述基准基站进行绝对时间同步的方式相同。Performing absolute time synchronization between the base station to be synchronized and the candidate base station, wherein the to-be-synchronized The manner in which the step base station performs absolute time synchronization with the candidate base station is the same as the manner in which the base station to be synchronized performs absolute time synchronization with the reference base station.
在第二种可能的实施例中,结合第三方面或第三方面中的上述任一种可能的实施例,在所述待同步基站根据所述帧号偏差和所述帧定时偏差,完成与所述基准基站的基准时间同步之后,所述方法还包括:In a second possible embodiment, in combination with any one of the foregoing possible embodiments in the third aspect or the third aspect, the base station to be synchronized is completed according to the frame number deviation and the frame timing deviation After the reference time synchronization of the reference base station, the method further includes:
所述待同步基站执行与广播多播业务中心BMSC设备之间广播多播业务的传输。The base station to be synchronized performs transmission of a broadcast multicast service with a broadcast multicast service center BMSC device.
本发明实施例提供的一种同步装置及方法,待同步基站处于与基准基站的帧号同步和帧定时同步状态时,获得模块获得第一帧号和第一帧定时,然后通过获取模块的获取待同步基站的授时设备提供的时间信息,获得由该时间信息转换得到的第二帧号和第二帧定时,计算模块得到第一帧号与第二帧号的帧号偏差和第一帧定时和第二帧定时的帧定时偏差,再由同步模块通过此帧号偏差和帧定时偏差完成与基准基站的绝对时间同步。其中基准基站为用于完成与待同步基站之间绝对时间同步的参考基站,待同步基站只需与基准基站进行绝对时间的同步,而不用采用成本较高的授时方案接收GPS信号,就能够实现基站间绝对时间同步,从而避免了现有技术中为了实现基站间绝对时间同步,需要所有基站(基准基站和待同步基站)采用成本较高的授时方案接收GPS信号导致成本较高的问题,即在实现基站间绝对时间同步的同时,降低部署基站的成本。The synchronization apparatus and method provided by the embodiment of the present invention, when the synchronization base station is in the frame number synchronization and the frame timing synchronization state with the reference base station, the obtaining module obtains the first frame number and the first frame timing, and then obtains the acquisition module. The time information provided by the timing device of the base station to be synchronized obtains the second frame number and the second frame timing converted by the time information, and the calculation module obtains the frame number deviation of the first frame number and the second frame number and the first frame timing And the frame timing deviation of the second frame timing, and then the synchronization module completes the absolute time synchronization with the reference base station by the frame number deviation and the frame timing deviation. The reference base station is a reference base station for performing absolute time synchronization with the base station to be synchronized, and the base station to be synchronized only needs to perform absolute time synchronization with the reference base station, instead of receiving a GPS signal by using a costly timing scheme, Absolute time synchronization between base stations, thereby avoiding the problem that in the prior art, in order to achieve absolute time synchronization between base stations, all base stations (base base station and base station to be synchronized) need to receive GPS signals with high cost timing scheme, resulting in high cost, that is, The cost of deploying a base station is reduced while achieving absolute time synchronization between base stations.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例适用的一种网络架构图; 1 is a network architecture diagram applicable to an embodiment of the present invention;
图2为本发明实施例提供的一种同步装置的逻辑结构示意图;2 is a schematic diagram of a logical structure of a synchronization apparatus according to an embodiment of the present invention;
图3为本发明实施例提供的另一种同步装置的逻辑结构示意图;3 is a schematic diagram of a logical structure of another synchronization device according to an embodiment of the present invention;
图4为本发明实施例适用的另一种网络架构图;4 is another network architecture diagram applicable to an embodiment of the present invention;
图5为本发明实施例适用的又一种网络架构图;FIG. 5 is a schematic diagram of another network architecture applicable to an embodiment of the present invention; FIG.
图6(a)为本发明实施例提供的一种基站间频率不同步的示意图;6(a) is a schematic diagram of frequency synchronization between base stations according to an embodiment of the present invention;
图6(b)为本发明实施例提供的一种基站间频率同步的示意图;FIG. 6(b) is a schematic diagram of frequency synchronization between base stations according to an embodiment of the present invention;
图6(c)为本发明实施例提供的一种基站间帧号与帧定时同步的示意图;FIG. 6(c) is a schematic diagram of a frame number synchronization between a base station and a frame timing according to an embodiment of the present invention;
图7为本发明实施例提供的一种同步装置的逻辑结构示意图;FIG. 7 is a schematic diagram of a logical structure of a synchronization apparatus according to an embodiment of the present invention;
图8为本发明实施例提供的一种同步方法的流程图。FIG. 8 is a flowchart of a synchronization method according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
在本说明书中使用的术语″部件″、″模块″、″系统″等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。 The terms "component", "module", "system" and the like, as used in this specification, are used to mean a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and a computing device can be a component. One or more components can reside within a process and/or execution thread, and the components can be located on one computer and/or distributed between two or more computers. Moreover, these components can execute from various computer readable media having various data structures stored thereon. A component may, for example, be based on signals having one or more data packets (eg, data from two components interacting with another component between the local system, the distributed system, and/or the network, such as the Internet interacting with other systems) Communicate through local and/or remote processes.
本发明的技术方案,可以应用于各种通信系统,例如:GSM(Global System of Mobile Communication,全球移动通讯系统),CDMA(Code Division Multiple Access,码分多址)系统,WCDMA(Wideband Code Division Multiple Access,宽带码分多址),GPRS(General Packet Radio Service,通用分组无线服务技术),LTE(Long Term Evolution,长期演进)等。The technical solution of the present invention can be applied to various communication systems, for example, GSM (Global System of Mobile Communication), CDMA (Code Division Multiple Access) system, WCDMA (Wideband Code Division Multiple) Access, Wideband Code Division Multiple Access), GPRS (General Packet Radio Service), LTE (Long Term Evolution), etc.
UE(User Equipment,UE),也可称之为移动终端(Mobile Terminal)、移动用户设备等,可以经无线接入网(例如,RAN(Radio Access Network,无线接入网))与一个或多个核心网进行通信,用户设备可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。A UE (User Equipment, UE), which may also be called a mobile terminal, a mobile user equipment, or the like, may be connected to one or more via a radio access network (for example, a RAN (Radio Access Network) The core network communicates, and the user equipment can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, for example, can be portable, pocket, handheld, computer built, or in-vehicle Mobile devices that exchange language and/or data with a wireless access network.
基站,可以是GSM或CDMA中的BTS(Base Transceiver Station,基站收发信机),也可以是WCDMA中的NodeB,还可以是LTE中的eNB(evolved Node B,演进型基站),本发明不做限定。The base station may be a BTS (Base Transceiver Station) in GSM or CDMA, or a NodeB in WCDMA, or an eNB (evolved Node B, evolved base station) in LTE. limited.
同步主要包括系统时钟同步和帧同步,其中系统时钟同步是指所有设备的内部运行时钟的同步(比特定时),帧同步是指基站之间通信的帧信号的同步(即帧定时同步)。基站之间在完成时钟同步后,频率得以同步,基站之间不再有相对的相位漂移,但是基站之间未完成帧号同步与帧定时同步时,基站之间的定时关系仍然随机,即帧号与帧定时具有偏差但保持稳定。也就是说,要完成基站之间的严格同步,需要在完成时钟同步的基础上,保证各基站帧的起始相位一致。Synchronization mainly includes system clock synchronization and frame synchronization, wherein system clock synchronization refers to synchronization (bit timing) of internal running clocks of all devices, and frame synchronization refers to synchronization of frame signals for communication between base stations (ie, frame timing synchronization). After the clock synchronization is completed between the base stations, the frequency is synchronized, and there is no relative phase drift between the base stations. However, when the frame number synchronization and the frame timing synchronization are not completed between the base stations, the timing relationship between the base stations is still random, that is, the frames. The number has a deviation from the frame timing but remains stable. That is to say, to complete the strict synchronization between the base stations, it is necessary to ensure that the starting phases of the frames of the base stations are consistent on the basis of completing the clock synchronization.
另外有些广播多播业务,如eMBMS(evolved Multimedia Broadcast and Multicast Service,增强型多媒体广播多播业务),不仅要求基站间严格的帧号和帧定时同步,还需要基站与BMSC(Broadcast Multicast Service Center,广播多播业务中心)设备之间进行业务内容时间同步。 In addition, some broadcast multicast services, such as eMBMS (evolved Multimedia Broadcast and Multicast Service), require not only strict frame number and frame timing synchronization between base stations, but also base stations and BMSCs (Broadcast Multicast Service Center, Broadcast Multicast Service Center) Time synchronization of service content between devices.
图1是本发明适用的一种网络架构图,图1示出了需要进行基站之间同步的移动通信网络系统。1 is a network architecture diagram to which the present invention is applied, and FIG. 1 shows a mobile communication network system requiring synchronization between base stations.
从图1可以看出,需要进行同步的基站有三个,分别为基站108、基站109和基站110。两个UE,分别为参考UE 111和参考UE 112。其中基站108为通过传输网接收BITS 101和NTP-Server 102下发的信号,以及接收GPS信号106的基站。基站109和基站110为通过传输网接收BITS(Building Integrated Timing System,通信楼综合定时系统)101和NTP-Server(Network Time Protocol Server,网络时间协议服务器)102下发的信号的基站。参考UE为能够同时与两个基站进行通信的UE。该GPS信号106可以是采用GNSS设备下发的信号,也可以是采用1588V2(1588 Version 2,第二版1588)设备下发的信号。As can be seen from FIG. 1, there are three base stations that need to be synchronized, namely, the base station 108, the base station 109, and the base station 110. Two UEs are a reference UE 111 and a reference UE 112, respectively. The base station 108 is a base station that receives the signals transmitted by the BITS 101 and the NTP-Server 102 through the transmission network and receives the GPS signals 106. The base station 109 and the base station 110 are base stations that receive signals transmitted by the BITS (Building Integrated Timing System) 101 and the NTP-Server (Network Time Protocol Server) 102 through the transmission network. The reference UE is a UE capable of communicating with two base stations at the same time. The GPS signal 106 may be a signal sent by a GNSS device, or may be a signal sent by a 1588V2 (1588 Version 2, 2nd Edition 1588) device.
从图1中还可以看出,该移动通信网络系统中还可以包括BITS 101,NTP-Server 102,网管节点103,协同装置104和EPC(Evolved Packet Core,演进分组核心)105。其中BITS 101用于向基站提供(基站109、基站110)的频率同步信息,NTP-Server 102用于向基站提供的时间同步信息。网管节点103用于管理该移动通信系统中包括的各个设备。协同装置104可以作为一个单独的设备独立部署,也可以作为一个逻辑模块部署在网管节点103、EPC105、或者任意基站(如基站108、基站109、基站110)上。应理解,以上仅为方便描述的示例,通信网络中的网络节点、基站和其他装置不限于上述类型和个数。It can also be seen from FIG. 1 that the mobile communication network system may further include a BITS 101, an NTP-Server 102, a network management node 103, a collaboration device 104, and an EPC (Evolved Packet Core) 105. The BITS 101 is used to provide frequency synchronization information (base station 109, base station 110) to the base station, and NTP-Server 102 is used for time synchronization information provided to the base station. The network management node 103 is for managing various devices included in the mobile communication system. The collaboration device 104 can be deployed as a separate device, or can be deployed as a logic module on the network management node 103, the EPC 105, or any base station (such as the base station 108, the base station 109, and the base station 110). It should be understood that the above is merely an example for convenience of description, and network nodes, base stations, and other devices in a communication network are not limited to the above types and numbers.
基站108、基站109和基站110需要完成基站间基准时间同步,同步过程可以由协同装置104发起,也可以由网管节点103等上层网元发起,或者由需要同步的基站自行发起。首先通过获取的三个基站(基站108、基站109和基站110)接收参考UE发送同步参考信号的时刻,完成三个基站之间的帧号同步和帧定时同步。其中,基站108为基准基站,基准基站为向待同步基站 提供基准时间、基准帧号和基准帧定时的基站;基站109和基站110均为待同步基站,待同步基站为与基准基站的帧号同步和帧定时同步的基站。所以需要基站109和基站110分别完成与基站108之间的帧号同步和帧定时同步。然后获取三个基站的绝对时间,通过三个基站的绝对时间确定基站108与基站109之间的时间差值,和基站108与基站110之间的时间差值,通过得到的这两个时间差值,完成基站109与基站108之间的基准时间同步,和完成基站110与基站108之间的基准时间同步。The base station 108, the base station 109, and the base station 110 need to complete the inter-base station reference time synchronization. The synchronization process may be initiated by the coordination device 104, or may be initiated by the upper-layer network element such as the network management node 103, or initiated by the base station that needs to synchronize. First, the acquired base station (base station 108, base station 109, and base station 110) receives the time when the reference UE transmits the synchronization reference signal, and completes frame number synchronization and frame timing synchronization between the three base stations. The base station 108 is a reference base station, and the reference base station is a base station to be synchronized. A base station providing a reference time, a reference frame number, and a reference frame timing; the base station 109 and the base station 110 are both base stations to be synchronized, and the base station to be synchronized is a base station synchronized with the frame number of the reference base station and frame timing synchronization. Therefore, the base station 109 and the base station 110 are required to complete frame number synchronization and frame timing synchronization with the base station 108, respectively. Then, the absolute time of the three base stations is obtained, the time difference between the base station 108 and the base station 109 is determined by the absolute time of the three base stations, and the time difference between the base station 108 and the base station 110, and the obtained two time differences are obtained. The value, the reference time synchronization between the base station 109 and the base station 108 is completed, and the reference time synchronization between the base station 110 and the base station 108 is completed.
通过选定一个基站为基准基站,其他的基站作为待同步基站,然后待同步基站只需跟基准基站之间进行绝对时间的同步即可,从而使得为了达到基站间的严格同步,无需将所有基站均采用GNSS授时等高精度的时间授时方式,进而降低了部署基站的成本。By selecting one base station as the reference base station and the other base stations as the base station to be synchronized, then the base station to be synchronized needs only to perform absolute time synchronization with the reference base station, so that in order to achieve strict synchronization between the base stations, it is not necessary to base all base stations. Both use high-precision time timing methods such as GNSS timing, which reduces the cost of deploying base stations.
如图2所示,在移动通信系统中执行同步方法的装置20。即一种同步装置20。该装置20对应于图1示出的待同步基站109或待同步基站110,待同步基站为与基准基站的帧号同步和帧定时同步的基站,基准基站为向待同步基站提供基准时间、基准帧号和基准帧定时的基站。该装置20包括获得模块201,获取模块202,计算模块203,同步模块204。As shown in FIG. 2, a device 20 that performs a synchronization method in a mobile communication system. That is, a synchronizing device 20. The device 20 corresponds to the base station 109 to be synchronized or the base station 110 to be synchronized shown in FIG. 1. The base station to be synchronized is a base station that synchronizes with the frame number of the reference base station and the frame timing, and the reference base station provides a reference time and a reference to the base station to be synchronized. Base station with frame number and reference frame timing. The device 20 includes an obtaining module 201, an obtaining module 202, a calculating module 203, and a synchronizing module 204.
获得模块201,用于获得第一帧号和第一帧定时,并将第一帧号和第一帧定时提供给计算模块203,第一帧号为待同步基站与基准帧号同步后的帧号,第一帧定时为待同步基站与基准帧定时同步后的帧定时。The obtaining module 201 is configured to obtain a first frame number and a first frame timing, and provide the first frame number and the first frame timing to the calculation module 203, where the first frame number is a frame after the base station to be synchronized is synchronized with the reference frame number. No., the first frame timing is the frame timing after the base station to be synchronized synchronizes with the reference frame timing.
获取模块203,用于通过第一授时设备获取时间信息,并将时间信息提供给获得模块201,第一授时设备用于向装置20提供时间信息。The obtaining module 203 is configured to acquire time information by using the first timing device, and provide the time information to the obtaining module 201, where the first timing device is configured to provide the device 20 with time information.
获得模块201,还用于根据时间信息,获得第二帧号和第二帧定时,并将第二帧号和第二帧定时提供给计算模块203。The obtaining module 201 is further configured to obtain the second frame number and the second frame timing according to the time information, and provide the second frame number and the second frame timing to the calculation module 203.
可以看出,第二帧号为时间信息转换得到的帧号,第二帧定时为时间信息转换得到的帧定时。 It can be seen that the second frame number is the frame number obtained by the time information conversion, and the second frame timing is the frame timing obtained by the time information conversion.
计算模块203,用于通过第一帧号与第二帧号得到帧号偏差;和通过第一帧定时和第二帧定时,得到帧定时偏差,并将帧号偏差和帧定时偏差提供给同步模块204。The calculating module 203 is configured to obtain a frame number deviation by using the first frame number and the second frame number; and obtain a frame timing deviation by using the first frame timing and the second frame timing, and provide the frame number deviation and the frame timing deviation to the synchronization Module 204.
同步模块204,用于根据帧号偏差和帧定时偏差,完成与基准基站的基准时间同步。The synchronization module 204 is configured to complete the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation.
本发明实施例提供的一种同步装置,待同步基站处于与基准基站的帧号同步和帧定时同步状态时,获得模块获得第一帧号和第一帧定时,然后通过获取模块的获取待同步基站的授时设备提供的时间信息,获得由该时间信息转换得到的第二帧号和第二帧定时,计算模块得到第一帧号与第二帧号的帧号偏差和第一帧定时和第二帧定时的帧定时偏差,再由同步模块通过此帧号偏差和帧定时偏差完成与基准基站的基准时间同步。其中基准基站为用于完成与待同步基站之间基准时间同步的参考基站,待同步基站只需与基准基站进行绝对时间的同步,而不用采用成本较高的授时方案接收GPS信号,就能够实现基站间基准时间同步,从而避免了现有技术中为了实现基站间基准时间同步,需要所有基站(基准基站和待同步基站)采用成本较高的授时方案接收GPS信号导致成本较高的问题,即在实现基站间基准时间同步的同时,降低部署基站的成本。When the synchronization base station is in the frame number synchronization and the frame timing synchronization state with the reference base station, the obtaining module obtains the first frame number and the first frame timing, and then obtains the synchronization to be synchronized by the acquisition module. The time information provided by the timing device of the base station obtains the second frame number and the second frame timing converted by the time information, and the calculation module obtains the frame number deviation of the first frame number and the second frame number, and the first frame timing and the first frame timing The frame timing deviation of the two frame timing is further synchronized by the synchronization module with the reference time of the reference base station by the frame number deviation and the frame timing deviation. The reference base station is a reference base station for performing reference time synchronization with the base station to be synchronized, and the base station to be synchronized only needs to perform absolute time synchronization with the reference base station, instead of receiving a GPS signal by using a costly timing scheme, Base station synchronization time synchronization, thereby avoiding the problem that in the prior art, in order to achieve reference time synchronization between base stations, all base stations (base base station and base station to be synchronized) need to receive GPS signals by using a costly timing scheme, resulting in high cost, that is, The cost of deploying the base station is reduced while achieving reference time synchronization between the base stations.
进一步可选的,本发明还可以提供另一种同步装置30,如图3所示,在该装置30中获得模块201包括获取单元2011和转换单元2012,同步模块204包括转换单元2041和校准单元2042,以及该装置30还包括:第一接收模块205,第二接收模块206和执行模块207。Further, the present invention may further provide another synchronization device 30. As shown in FIG. 3, the obtaining module 201 in the device 30 includes an obtaining unit 2011 and a converting unit 2012. The synchronization module 204 includes a converting unit 2041 and a calibration unit. 2042, and the device 30 further includes: a first receiving module 205, a second receiving module 206, and an executing module 207.
其中,当时间信息包括协调世界时UTC时间时,获得模块201中的获取单元2011,用于获取授时设备提供的UTC时间,并将UTC时间提供给转换单元2012;然后转换单元2012,用于结合闰秒信息,将UTC时间转换成GPS时间;将GPS时间转换成第二帧号和第二帧定时。 Wherein, when the time information includes the Coordinated Universal Time UTC time, the obtaining unit 2011 in the obtaining module 201 is configured to acquire the UTC time provided by the timing device, and provide the UTC time to the converting unit 2012; then the converting unit 2012 is configured to combine The leap second information converts the UTC time into GPS time; converts the GPS time into a second frame number and a second frame timing.
其中,GPS时间为原子时间,UTC时间为天文时间,闰秒信息可以看作原子时间与天文时间之间的差值信息。闰秒信息随着天文时间和原子时间之间偏差的改变而变化,比如,现在的闰秒信息为19s。Among them, GPS time is atomic time, UTC time is astronomical time, and leap second information can be regarded as the difference information between atomic time and astronomical time. The leap second information changes as the deviation between astronomical time and atomic time changes. For example, the current leap second information is 19s.
对于LTE来说,一般采用GPS时间纪元的起始时刻1980-01-06-00:00:00作为LTE帧定时的起始时刻,即此时对应LFN(LTE Frame Number,长期演进帧号)=0,每隔10ms LFN增加1,计数到1023后再过10ms,LFN值回到0从头开始。因此每个GPS时刻都有所对应的唯一LFN时时刻值。For LTE, the starting time of the GPS time epoch is generally used as the starting time of the LTE frame timing, that is, the corresponding LFN (LTE Frame Number) = 0, LFN increases by 1 every 10ms, counts to 1023 and then 10ms, LFN value returns to 0 from the beginning. Therefore, each GPS moment has a corresponding unique LFN time value.
将GPS时间转换成帧号(LFN)具体为:将GPS总秒数(相对GPS纪元起始时刻)*100得到时间总秒数,然后将该时间总秒数对1024取模得到帧号(LFN)。The conversion of the GPS time into a frame number (LFN) is specifically: the total number of seconds of the GPS (relative to the GPS era start time) * 100 is obtained, and then the total number of seconds is modulo 1024 to obtain the frame number (LFN). ).
进一步的,同步模块204中的转换单元2041,用于将帧号偏差和帧定时偏差转换成时间差值,并将时间差值提供给校准单元2042;校准单元2042,用于通过时间差值对时间信息进行校准,完成与基准基站的基准时间同步。Further, the converting unit 2041 in the synchronization module 204 is configured to convert the frame number deviation and the frame timing deviation into a time difference value, and provide the time difference value to the calibration unit 2042; the calibration unit 2042 is configured to pass the time difference value pair The time information is calibrated to complete the reference time synchronization with the reference base station.
通过上述方式得到第二帧号以及第一帧号之后,计算基准基站和装置30之间的帧号偏差;以及通过第一帧定时和第二帧定时得到基准基站和装置30之间的帧定时偏差,如第一帧号为225帧,第二帧号为200帧,第一帧定时为15ms,第二帧定时为5ms,则基准基站和待同步基站之间的帧号偏差为25帧、帧定时偏差为10ms,从而得到基准基站与待同步基站(装置30)之间的时间差值为250ms,即表明待同步基站获取的时间比基准基站获取的精确时间差了250ms。After obtaining the second frame number and the first frame number in the above manner, the frame number deviation between the reference base station and the device 30 is calculated; and the frame timing between the reference base station and the device 30 is obtained by the first frame timing and the second frame timing. Deviation, such as the first frame number is 225 frames, the second frame number is 200 frames, the first frame timing is 15 ms, and the second frame timing is 5 ms, the frame number deviation between the reference base station and the to-be-synchronized base station is 25 frames, The frame timing deviation is 10 ms, so that the time difference between the reference base station and the to-be-synchronized base station (device 30) is 250 ms, which means that the time to be acquired by the base station to be synchronized is 250 ms shorter than the precise time acquired by the base station.
进一步的,当时间差值大于等于预定时间差值时,第一接收模块205,用于接收基准基站发送的告警信息,告警信息用于表示时间差值大于等于预定时间差值。可以理解的是,在该装置30接收到告警信息之后,可以停止与基准基站之间的同步操作。Further, when the time difference is greater than or equal to the predetermined time difference, the first receiving module 205 is configured to receive the alarm information sent by the reference base station, where the alarm information is used to indicate that the time difference is greater than or equal to the predetermined time difference. It can be understood that after the device 30 receives the alarm information, the synchronization operation with the reference base station can be stopped.
帧号(LFN)的周期为10.24s,当将UTC时间经转换得到的GPS时间与 准确的GPS时间相差在+/-5.12s的情况下,将导致跳周从而无法准确得到UTC时间经转换得到的GPS时间与准确的GPS时间具体的偏差值,因此就无法得到待同步站准确的绝对时间时间。在本发明中预定时间差值为5.12s。The frame number (LFN) has a period of 10.24 s. When the UTC time is converted, the GPS time is Accurate GPS time difference in the case of +/-5.12s will result in a jump and thus can not accurately obtain the specific deviation of the GPS time and the accurate GPS time obtained by UTC time conversion, so it is impossible to obtain the accurate synchronization of the station to be synchronized. Absolute time. In the present invention, the predetermined time difference is 5.12 s.
本发明中通过基准基站断出基准基站与待同步基站之间的时间差值与预定时间差值之间的大小。基准基站接收GNSS授时或者接收1588V2授时的同时,也接收NTP授时或者SNTP授时或者1588V2ATR授时,则基准基站从而能够获取时间差值,并将时间差值与预定时间差值进行比较,当时间差值大于等于预定时间差值时,上报告警信息。In the present invention, the size of the time difference between the reference base station and the base station to be synchronized and the predetermined time difference is broken by the reference base station. When the reference base station receives the GNSS grant or receives the 1588V2 grant, and also receives the NTP grant or the SNTP grant or the 1588V2ATR grant, the reference base station can thereby obtain the time difference and compare the time difference with the predetermined time difference. When the predetermined time difference is greater than or equal to, the alarm information is reported.
需要说明的是,在图1示出的协同装置中,在装置30(待同步基站)处于与基准基站的帧号同步和帧定时同步状态之前,协同装置确定基准基站和待同步基站(为了方便描述,将装置30统一采用待同步基站来描述):It should be noted that, in the cooperative device shown in FIG. 1, the cooperative device determines the reference base station and the base station to be synchronized before the device 30 (the base station to be synchronized) is in the frame number synchronization and frame timing synchronization state with the reference base station (for convenience) Description, the device 30 is uniformly described by the base station to be synchronized):
确定至少一个同步分组,每个同步分组中包括至少两个基站;从每个同步分组中包括的至少两个基站中确定基准基站和待同步基站。Determining at least one synchronization packet, each synchronization packet including at least two base stations; determining a reference base station and a base station to be synchronized from among at least two base stations included in each synchronization packet.
其中,确定基准基站和待同步基站的方式有多种,在此列举两种方式。There are various ways to determine the reference base station and the base station to be synchronized, and two methods are listed here.
第一种方式:协同装置从至少一个同步分组中确定接收高精度时间授时的基站为基准基站;确定除确定为基准基站以外的基站为待同步基站。The first mode: the cooperative device determines, from the at least one synchronization packet, the base station that receives the high-precision time grant as the reference base station; and determines that the base station other than the reference base station is the base station to be synchronized.
其中,高精度时间授时可以包括GNSS授时、1588V2授时,则当同步分组中包括接收GNSS授时的基站和/或接收1588V2授时的基站时,协同装置从该至少一个同步分组中确定接收GNSS授时的基站为基准基站,或者接收1588V2授时的基站为基准基站。即基准基站的基准时间为GNSS授时提供的时间,或者1588V2授时提供的时间。可以得到,当第二授时设备表示为用于向基准基站提供时间信息,第二授时设备可以为采用GNSS的设备,或者采用1588V2的设备。The high-precision time grant may include a GNSS grant and a 1588V2 grant. When the synchronization packet includes a base station that receives the GNSS grant and/or a base station that receives the 1588V2 grant, the cooperative device determines, from the at least one synchronization packet, the base station that receives the GNSS grant. The base station that is the reference base station or receives the 1588V2 timing is the reference base station. That is, the reference time of the reference base station is the time provided by the GNSS grant, or the time provided by the 1588V2 grant. It can be obtained that when the second timing device is represented as providing time information to the reference base station, the second timing device may be a device adopting GNSS or a device of 1588V2.
通常,在同步分组中包括接收高精度时间授时的基站和接收低精度时间授时的基站。低精度时间授时可以包括NTP(Network Time Protocol,时间信 息协议)授时、SNTP(Simple Network Time Protocol,简单时间信息协议)、1588V2ATR(1588V2 Adaptive Time Recovery,第二版1588自适应时钟恢复)授时,则从同步分组中确定只接收NTP授时、和/或SNTP授时、和/或接收1588V2ATR授时的基站为待同步基站。即待同步基站为不能接收GNSS授时和/或1588V2授时的基站。Generally, a base station that receives high-precision time timing and a base station that receives low-precision time timing are included in the synchronization packet. Low-precision time timing can include NTP (Network Time Protocol) Time-rate, SNTP (Simple Network Time Protocol), 1588V2ATR (1588V2 Adaptive Time Recovery, second edition 1588 adaptive clock recovery) timing, it is determined from the synchronization packet that only NTP timing is received, and/or The SNTP grants time, and/or the base station receiving the 1588V2 ATR grant is the base station to be synchronized. That is, the base station to be synchronized is a base station that cannot receive GNSS grant and/or 1588V2 grant time.
需要说明的是,在一个同步分组中可以包括两个以上的接收高精度时间授时的基站,当协同装置选择其中一个接收高精度时间授时的基站为基准基站之后,其他的高精度时间授时的基站为待同步基站。但是为了考虑部署基站成本的问题,一般协同装置在划分同步分组时,会考虑避免将多个接收高精度时间授时的基站划分到同一同步分组中。It should be noted that two or more base stations receiving high-precision time timing may be included in one synchronization packet, and other high-precision time-time base stations are selected after the cooperative device selects one of the base stations receiving the high-precision time grant as the reference base station. For the base station to be synchronized. However, in order to consider the problem of deploying the cost of the base station, the general cooperative device may consider to avoid dividing a plurality of base stations receiving high-precision time timing into the same synchronization packet when dividing the synchronization packet.
第二种方式:协同装置从至少一个同步分组中确定任意一个基站为基准基站;确定除确定为基准基站以外的基站为待同步基站。The second mode: the coordination device determines any one of the base stations as the reference base station from the at least one synchronization packet; and determines that the base station other than the reference base station is the base station to be synchronized.
在采用第二种方式时,如图4所示,图4示出的网络架构图包括的同步分组中不包括确定接收GNSS授时的基站为基准基站,和/或接收1588V2授时的基站,则协同装置从该同步分组中确定任意一个基站为基准基站(即基准基站的基准时间为NTP授时提供的时间、或者SNTP授时提供的时间、或者1588V2ATR授时提供的时间)。其中当同步分组中包括不能接收GNSS授时的基站,和/或不能接收1588V2授时的基站(即只接收NTP授时、和/或SNTP授时、和/或1588V2ATR授时的基站)。进一步的,该同步分组中剩余的基站确定为待同步基站。将图4与图1进行对比发现,图4中不包括向基站108发送GPS信号的设备106,因此,基站108、基站109或者基站110均可以作为基准基站。When the second mode is adopted, as shown in FIG. 4, the network architecture diagram shown in FIG. 4 does not include the base station that determines the receiving GNSS grant as the base station, and/or the base station that receives the 1588V2 grant, and cooperates. The device determines from the synchronization packet that any one of the base stations is the reference base station (ie, the reference time provided by the reference base station is the time provided by the NTP grant, or the time provided by the SNTP grant, or the time provided by the 1588 V2 ATR grant). The synchronization packet includes a base station that cannot receive the GNSS grant, and/or a base station that cannot receive the 1588V2 grant (ie, a base station that only receives the NTP grant, and/or the SNTP grant, and/or the 1588V2 ATR grant). Further, the remaining base stations in the synchronization packet are determined to be base stations to be synchronized. Comparing FIG. 4 with FIG. 1, it is found that FIG. 4 does not include the device 106 that transmits the GPS signal to the base station 108. Therefore, the base station 108, the base station 109, or the base station 110 can all serve as the reference base station.
在另一种实施方式中,协同装置从至少一个同步分组中确定备选基准基站,该备选基准基站为替换出现错误的基准基站的基站。如图5所示,该网络架构中还包括GPS信号113(即发射GPS信号的设备113),并且向基站110 发送GPS信号113。则基站110可以作为备选基准基站。In another embodiment, the coordination device determines an alternate reference base station from at least one synchronization packet, the alternate reference base station being a base station replacing the reference base station in which the error occurred. As shown in FIG. 5, the network architecture further includes a GPS signal 113 (ie, a device 113 that transmits a GPS signal), and to the base station 110. A GPS signal 113 is sent. The base station 110 can then serve as an alternate base station.
对应的,当基准基站出现故障时,待同步基站与备选基准基站进行基准时间同步,其中待同步基站与备选基准基站进行基准时间同步的方式与待同步基站与基准基站进行基准时间同步的方式相同。即同步模块204,还用于将装置30与备选基准基站进行基准时间同步,其中装置30与备选基准基站进行基准时间同步的方式与装置与基准基站进行基准时间同步的方式相同。Correspondingly, when the base station fails, the base station to be synchronized performs reference time synchronization with the candidate base station, wherein the manner in which the base station to be synchronized and the candidate base station perform reference time synchronization are synchronized with the base station to be synchronized and the reference base station. The same way. That is, the synchronization module 204 is further configured to perform the reference time synchronization between the device 30 and the candidate reference base station, wherein the manner in which the device 30 performs the reference time synchronization with the candidate reference base station is the same as the manner in which the device performs the reference time synchronization with the reference base station.
或者参考图1,虽然图1示出的基站110不能接收GPS信号,但仍可以作为备选基准基站。Alternatively, referring to FIG. 1, although the base station 110 shown in FIG. 1 cannot receive GPS signals, it can still serve as an alternative base station.
可以理解的是,备选基准基站可以为接收GNSS授时的基站、或者接收1588V2授时的基站、或者只接收NTP授时、和/或SNTP授时、和/或1588V2ATR授时的基站。It can be understood that the candidate base station can be a base station receiving GNSS timing, or a base station receiving 1588V2 timing, or a base station receiving only NTP timing, and/or SNTP timing, and/or 1588V2 ATR timing.
在另一种实施方式中,值得说明的是,协同装置通过获取的基准基站和待同步基站接收参考UE发送上行同步参考信号的时刻,参与实现待同步基站相对于基准基站的帧号和帧定时同步,从而达到装置30(待同步基站)与基准基站的帧号同步和帧定时同步状态。In another implementation manner, it is worth noting that the cooperative device participates in realizing the frame number and frame timing of the base station to be synchronized relative to the reference base station by acquiring the time at which the reference base station and the to-be-synchronized base station receive the uplink synchronization reference signal. Synchronization, thereby achieving the frame number synchronization and frame timing synchronization state of the device 30 (base station to be synchronized) and the reference base station.
协同装置首先确定参考UE,然后根据基准基站和待同步基站接收到参考UE发送的上行同步参考信号的时刻确定待同步基站与基准基站之间的定时偏差;在根据该定时偏差对待同步基站进行校准,校准之后的待同步基站得到第一帧号和第一帧定时,完成待同步基站相对于基准基站的帧号和帧定时同步。The cooperative device first determines the reference UE, and then determines a timing offset between the base station to be synchronized and the reference base station according to the time when the reference base station and the base station to be synchronized receive the uplink synchronization reference signal sent by the reference UE; and calibrates the base station to be synchronized according to the timing deviation After the calibration, the base station to be synchronized obtains the first frame number and the first frame timing, and completes synchronization of the frame number and frame timing of the base station to be synchronized with respect to the reference base station.
其中,协同装置根据基准基站和待同步基站接收到参考UE发送的上行同步参考信号的时刻确定待同步基站与基准基站之间的定时偏差的方式可以有多种,本发明在此列举两种方式:The method for determining the timing deviation between the base station to be synchronized and the reference base station according to the time when the reference base station and the base station to be synchronized receive the uplink synchronization reference signal sent by the reference UE may be various. The present invention lists two methods herein. :
第一种方式: The first way:
第一,协同装置接收基准基站发送的相对时刻T1,该相对时刻T1为基于基准基站的当前帧号和帧定时确定的基准基站接收到参考UE发送的同步参考信号的时刻。First, the cooperative device receives the relative time T1 sent by the reference base station, where the relative time T1 is the time when the reference base station determined by the reference base station determines the synchronization reference signal sent by the reference UE according to the current frame number and the frame timing.
其中,参考UE发送的同步参考信号包括但不限于以下中的至少一种:PRACH(Physical Random Access Channel,物理随机接入信道)、SRS(Sounding Reference Signal,信道探测参考信号)、DMRS(Demodulation Reference Signal,解调参考信号)。The synchronization reference signal sent by the reference UE includes, but is not limited to, at least one of the following: a PRACH (Physical Random Access Channel), a SRS (Sounding Reference Signal), and a DMRS (Demodulation Reference) Signal, demodulation reference signal).
第二,协同装置接收待同步基站发送的相对时刻T2,该相对时刻T2为基于待同步基站的当前帧号和帧定时确定的待同步基站接收参考UE发送的同步参考信号的时刻。Second, the cooperative device receives the relative time T2 sent by the base station to be synchronized, and the relative time T2 is the time at which the base station to be synchronized, which is determined by the current frame number of the base station to be synchronized and the frame timing, receives the synchronization reference signal sent by the reference UE.
第三,协同装置根据相对时刻T1和相对时刻T2确定该定时偏差ΔT。其中ΔT=T1-T2。Third, the coordination device determines the timing deviation ΔT based on the relative time T1 and the relative time T2. Where ΔT=T1-T2.
协同装置通过两个相对时刻的差,可以确定两个基站各自的时间轴相对比下的偏移量,即两个基站的帧号与帧定时偏差。待同步基站可以根据该ΔT调整自身的帧号与帧定时,从而实现与基准基站的帧号与帧定时同步。The cooperative device can determine the offset of the respective time axes of the two base stations by the difference between the two relative moments, that is, the frame number of the two base stations and the frame timing deviation. The base station to be synchronized can adjust its own frame number and frame timing according to the ΔT, thereby achieving synchronization with the frame number and frame timing of the reference base station.
第二种方式:The second way:
第一,协同装置确定参考UE与基准基站的RTD(Round-Trip Delay loop,环路往返时延)测量结果TA1。First, the coordination device determines an RTD (Round-Trip Delay Loop) measurement result TA1 of the reference UE and the reference base station.
第二,协同装置确定参考UE与待同步基站的RTD测量结果TA2。Second, the coordination device determines the RTD measurement result TA2 of the reference UE and the base station to be synchronized.
第三,协同装置根据测量结果TA1和测量结果TA2确定参考UE与基准基站和待同步基站之间的距离差造成的偏差TA1-TA2。Third, the coordination device determines the deviation TA1-TA2 caused by the distance difference between the reference UE and the base station to be synchronized and the base station to be synchronized according to the measurement result TA1 and the measurement result TA2.
第四,协同装置通过第一种方式得到相对时刻T1和相对时刻T2,根据偏差TA1-TA2、相对时刻T1和相对时刻T2,确定该定时偏差ΔT。其中ΔT=T1-T2-(TA1-TA2)。 Fourth, the cooperative device obtains the relative time T1 and the relative time T2 by the first method, and determines the timing deviation ΔT according to the deviation TA1-TA2, the relative time T1, and the relative time T2. Where ΔT=T1-T2-(TA1-TA2).
由于参考UE到基准基站和待同步基站的距离可能不一样,上述ΔT=T1-T2无法反映出UE到基准基站和待同步基站的距离差异引入的定时偏差,进而可以将参考UE到基准基站和待同步基站的距离差异引入到定时偏差中,使得能够得到更加准确的定时偏差。Since the distance between the reference UE and the base station to be synchronized may be different, the above ΔT=T1-T2 cannot reflect the timing deviation introduced by the difference between the distance between the UE and the base station to be synchronized, and thus the reference UE to the reference base station and The difference in the distance of the base station to be synchronized is introduced into the timing offset, so that a more accurate timing deviation can be obtained.
进一步可选的,同步模块204,还用于将装置30同步于第一参考源,完成与基准基站之间的频率同步,第一参考源与基准基站同步的参考源相同。如,待同步基站通过线路时钟(如图1示出的BITS)同步到同一参考源(GPS信号106与GPS信号107均为GPS信号)上,完成待同步基站与基准基站之间的频率同步,使得基站间相位漂移一致。Further optionally, the synchronization module 204 is further configured to synchronize the device 30 with the first reference source to complete frequency synchronization with the reference base station, where the first reference source is the same as the reference source synchronized with the reference base station. For example, the base station to be synchronized synchronizes to the same reference source (the GPS signal 106 and the GPS signal 107 are GPS signals) through the line clock (bits shown in FIG. 1), and the frequency synchronization between the base station to be synchronized and the reference base station is completed. The phase shift between the base stations is made uniform.
参考源可以为GPS、原子钟、晶振等。The reference source can be GPS, atomic clock, crystal oscillator, and the like.
图6(a)、图6(b)和图6(c)是本发明一个实施例的基站间频率同步的示意图。6(a), 6(b) and 6(c) are diagrams showing frequency synchronization between base stations according to an embodiment of the present invention.
其中,未进行基站间频率同步的两个基站(基站1和基站2)的系统时钟分别工作于f1与f2,其中f1≠f2,图6(a)所示,这是基站1与基站2的帧号与帧定时是无关的,且基站1与基站2的时钟漂移速度因为f1≠f2也会存在不同。The system clocks of the two base stations (base station 1 and base station 2) that do not perform inter-base station frequency synchronization operate at f1 and f2, respectively, where f1≠f2, as shown in FIG. 6(a), which is the base station 1 and the base station 2 The frame number is independent of the frame timing, and the clock drift speed of the base station 1 and the base station 2 differs depending on f1≠f2.
两个基站同步到同一时钟参考源上,可以实现基站间的频率同步。如将两个基站都同步到BITS上,这两个基站发送无线帧的频率得以同步(即f1=f2),因此不存在相对的相位漂移,即帧号和帧定时偏差保持稳定。由于BITS只有频率信息,两基站间的定时关系仍是随机的。从图6(a)中可以看出,基站间帧号和帧定时仍然错开,未达到严格同步。图6(b)示出了两个基站在完成帧号与帧定时同步后的帧相位关系。结合帧定时偏差的测定,以图6(a)和图6(b)为例,基站1为基准基站,基站2为待同步基站,基站1和基站2完成频率同步后的相位关系如图(b)所示。基站1和基站2接收参考UE发送的同步参考信号,基站1和基站2分别基于自身的帧号与帧定时 同步,确定接收到UE的上行接入信号的相对时刻T1和相对时刻T2,从而得到定时偏差ΔT,基站2根据ΔT进行校准后完成相对于基站1的帧号与帧定时同步,如图6(c)所示。The two base stations are synchronized to the same clock reference source, and frequency synchronization between the base stations can be achieved. If both base stations are synchronized to the BITS, the frequencies of the two base stations transmitting the radio frames are synchronized (ie, f1 = f2), so there is no relative phase drift, that is, the frame number and frame timing deviation remain stable. Since the BITS has only frequency information, the timing relationship between the two base stations is still random. As can be seen from Figure 6(a), the inter-base station frame number and frame timing are still staggered and do not reach strict synchronization. Figure 6(b) shows the frame phase relationship of the two base stations after the completion of the frame number and frame timing synchronization. Combining the measurement of the frame timing deviation, taking FIG. 6(a) and FIG. 6(b) as an example, the base station 1 is the reference base station, the base station 2 is the base station to be synchronized, and the phase relationship between the base station 1 and the base station 2 after frequency synchronization is completed ( b) shown. The base station 1 and the base station 2 receive the synchronization reference signal transmitted by the reference UE, and the base station 1 and the base station 2 respectively based on their own frame number and frame timing. Synchronization, determining the relative time T1 and the relative time T2 of the uplink access signal received by the UE, thereby obtaining the timing deviation ΔT, and the base station 2 performs calibration according to ΔT to complete the synchronization of the frame number and the frame timing with respect to the base station 1, as shown in FIG. 6 c) shown.
进一步可选的,同步模块204,还用于将装置30同步于第二参考源,确定待同步基站与基准基站之间的频率偏差,第二参考源与基准基站同步的参考源不同;当频率偏差小于预定频率偏差时,继续同步于第二参考源。即当基准基站和待同步基站通过线路时钟同步参考源为不同的参考源时,完成待同步基站与基准基站之间的频率偏差小于等于预定频率偏差。本发明不对预定频率偏差做限定,如预定频率偏差可以为3*10E-11。预定频率偏差主要与基站间进行帧号和帧定时同步的测试周期选取相关,如当测试周期加快时,预定频率偏差可相应加大。Further optionally, the synchronization module 204 is further configured to synchronize the device 30 with the second reference source to determine a frequency offset between the base station to be synchronized and the reference base station, where the reference source of the second reference source is different from the reference base station; When the deviation is less than the predetermined frequency deviation, synchronization with the second reference source continues. That is, when the reference base station and the to-be-synchronized base station are different reference sources through the line clock synchronization reference source, the frequency deviation between the base station to be synchronized and the reference base station is less than or equal to a predetermined frequency deviation. The present invention does not limit the predetermined frequency deviation, for example, the predetermined frequency deviation may be 3*10E-11. The predetermined frequency deviation is mainly related to the selection of the test period for synchronizing the frame number and the frame timing between the base stations. For example, when the test period is accelerated, the predetermined frequency deviation may be correspondingly increased.
需要说明的是,当基准基站和待同步基站采用不同的参考源时,这两个参考源需要满足的条件是均需使用高精度的参考源。比如基准基站采用GPS作为参考源,待同步基站采用BITS作为参考源,那么该BITS采用的是高精度的原子钟时钟作为时钟基准,从而能够保证基准基站和待同步基站之间的相位漂移在一个较小的范围之内。It should be noted that when the reference base station and the base station to be synchronized use different reference sources, the two reference sources need to meet the condition that a high-precision reference source is required. For example, the reference base station uses GPS as a reference source, and the base station to be synchronized uses BITS as a reference source, then the BITS uses a high-precision atomic clock as a clock reference, thereby ensuring phase drift between the reference base station and the base station to be synchronized. Within a small range.
进一步可选的,第二接收模块206,用于当基准基站为只接收时间信息协议NTP授时、和/或简单时间信息协议SNTP授时、和/或1588V2ATR授时的基站时,接收扩大缓存消息,扩大缓存消息用于指示待同步基站扩大待同步基站的FIFO(First Input First Output,先入先出队列)。Further, the second receiving module 206 is configured to: when the reference base station is a base station that only receives the time information protocol NTP grant, and/or the simple time information protocol SNTP grant, and/or the 1588V2ATR grant, receives the extended cache message, and expands The cache message is used to indicate that the base station to be synchronized expands the FIFO (First Input First Output) of the base station to be synchronized.
对应的,在第二接收模块206接收到该扩大缓存消息之后,会将FIFO由正常状态转变成扩大状态,以便于应对BMSC设备与待同步基站之间存在的时间偏差。当待同步基站(装置30)完成与BMSC设备之间的业务传输时,FIFO由扩大状态转变成正常状态。Correspondingly, after the second receiving module 206 receives the extended buffer message, the FIFO is converted from a normal state to an expanded state, so as to cope with the time deviation existing between the BMSC device and the base station to be synchronized. When the base station to be synchronized (device 30) completes the traffic transmission with the BMSC device, the FIFO transitions from the expanded state to the normal state.
需要说明的是,这里的扩大缓存消息是协同装置下发的。 It should be noted that the extended cache message is sent by the collaboration device.
对应的,对于基准基站来说,协同装置也会向基准基站发送用于指示基准基站扩大基准基站的FIFO的扩大缓存消息。Correspondingly, for the reference base station, the coordination device also sends an extended buffer message to the reference base station for instructing the reference base station to expand the FIFO of the reference base station.
值得说明的是,这种方式下表明基准基站不是接收GNSS授时或者接收1588V2授时的基站。此时,可以做到在同一同步分组中基准基站与待同步基站之间严格的帧号和帧定时同步,也可以做到相互间的严格时间同步,只是所在区域所有基站时间与标准的GPS时间存在一个固定偏差。这种情况下,当遇到要求基站具有准确的绝对时间的业务(如eMBMS)时,需要扩大基站的FIFO。通过扩大FIFO来吸收这种偏差带来的影响(如实现与BMSC设备间实现eMBMS的同步)。It should be noted that in this manner, the reference base station is not a base station that receives GNSS grant time or receives 1588V2 grant time. At this time, strict frame number and frame timing synchronization between the reference base station and the base station to be synchronized in the same synchronization packet can be achieved, and strict time synchronization with each other can be achieved, but only the base station time and standard GPS time in the area. There is a fixed deviation. In this case, when encountering a service (such as eMBMS) that requires the base station to have an accurate absolute time, it is necessary to expand the FIFO of the base station. The effect of this bias is absorbed by expanding the FIFO (eg, enabling synchronization with eMBMS between BMSC devices).
进一步可选的,在同步模块204完成与基准基站的基准时间同步之后,执行模块207,用于执行与BMSC设备之间广播多播业务的传输。Further optionally, after the synchronization module 204 completes the reference time synchronization with the reference base station, the executing module 207 is configured to perform transmission of the broadcast multicast service with the BMSC device.
值得说明的是,在同步基站完成与基准基站的基准时间同步之后,基站间(基准基站与待同步基站之间)严格基准时间同步。当基准基站为接收GNSS授时或者1588V2授时的基站(采用的是准确的绝对时间)时,则在进行需要业务内容时间同步的业务(如eMBMS)时,BMSC设备与基站(包括基准基站和待同步基站)之间可以实现业务内容时间同步。当基准基站为不能接收GNSS授时和1588V2授时的基站(可以看作采用的是不准确的绝对时间)时,则在进行需要业务内容时间同步的业务(如eMBMS)时,基站(包括基准基站和待同步基站)需要扩大FIFO来实现与BMSC设备之间的业务内容时间同步。It is worth noting that after the synchronization base station completes the reference time synchronization with the reference base station, the base station (between the reference base station and the base station to be synchronized) is strictly reference time synchronized. When the reference base station is a base station receiving GNSS grant or 1588V2 timing (using an accurate absolute time), when performing a service (such as eMBMS) requiring time synchronization of the service content, the BMSC device and the base station (including the reference base station and the to-be-synchronized) The time synchronization of the business content can be realized between the base stations. When the reference base station is a base station that cannot receive the GNSS grant and the 1588V2 grant time (which can be regarded as using an inaccurate absolute time), when performing a service (such as eMBMS) requiring time synchronization of the service content, the base station (including the base station and the base station and The base station to be synchronized needs to expand the FIFO to achieve time synchronization of the service content with the BMSC device.
如图7所示,图7为待同步基站的硬件结构示意图。其中,待同步基站可包括存储器701、处理器702、接收器703和总线704,其中,存储器701、接收器703、处理器702通过总线704通信连接。As shown in FIG. 7, FIG. 7 is a schematic diagram of a hardware structure of a base station to be synchronized. The base station to be synchronized may include a memory 701, a processor 702, a receiver 703, and a bus 704, wherein the memory 701, the receiver 703, and the processor 702 are communicably connected through a bus 704.
存储器701可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存 储器701可以存储操作系统和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器701中,并由处理器702来执行。The memory 701 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). Save The storage 701 can store an operating system and other applications. When the technical solution provided by the embodiment of the present invention is implemented by software or firmware, the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 701 and executed by the processor 702.
接收器703用于装置与其他设备或通信网络(例如但不限于以太网,无线接入网(Radio Access Network,RAN),无线局域网(Wireless Local Area Network,WLAN)等)之间的通信。The receiver 703 is used for communication between the device and other devices or communication networks such as, but not limited to, Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), and the like.
处理器702可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。The processor 702 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs. The technical solution provided by the embodiment of the present invention is implemented.
总线704可包括一通路,在装置各个部件(例如存储器701、接收器703和处理器702)之间传送信息。 Bus 704 can include a path for communicating information between various components of the device, such as memory 701, receiver 703, and processor 702.
应注意,尽管图7所示的硬件仅仅示出了存储器701、接收器703和处理器702以及总线704,但是在具体实现过程中,本领域的技术人员应当明白,该终端还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,还可包含实现其他功能的硬件器件。It should be noted that although the hardware shown in FIG. 7 only shows the memory 701, the receiver 703 and the processor 702, and the bus 704, in the specific implementation process, those skilled in the art should understand that the terminal also includes the normal operation. Other devices necessary. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
具体的,图7所示的基站用于实现图2-图3实施例所示的装置时,该装置中的处理器702,与存储器701和接收器703耦合,用于控制程序指令的执行,具体用于获得第一帧号和第一帧定时,第一帧号为待同步基站与基准帧号同步后的帧号,第一帧定时为待同步基站与基准帧定时同步后的帧定时;通过第一授时设备获取时间信息;根据时间信息,获得第二帧号和第二帧定时;通过第一帧号与第二帧号得到帧号偏差;和通过第一帧定时和第二帧定时,得到帧定时偏差;根据帧号偏差和帧定时偏差,完成与基准基站的基准时间同步。Specifically, when the base station shown in FIG. 7 is used to implement the apparatus shown in the embodiment of FIG. 2 to FIG. 3, the processor 702 in the apparatus is coupled to the memory 701 and the receiver 703 for controlling execution of program instructions. Specifically, the first frame number and the first frame timing are obtained, where the first frame number is a frame number after the base station to be synchronized and the reference frame number are synchronized, and the first frame timing is a frame timing after the base station to be synchronized synchronizes with the reference frame timing; Obtaining time information by the first timing device; obtaining a second frame number and a second frame timing according to the time information; obtaining a frame number deviation by using the first frame number and the second frame number; and passing the first frame timing and the second frame timing Obtain a frame timing deviation; complete the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation.
其中,对于处理器702得到第二帧号和第二帧定时,可以包括:当时间 信息包括UTC时间时,处理器702获取授时设备提供的UTC时间;结合闰秒信息,将UTC时间转换成全球定位系统GPS时间;将GPS时间转换成第二帧号和第二帧定时。The obtaining, by the processor 702, the second frame number and the second frame timing may include: when the time When the information includes the UTC time, the processor 702 acquires the UTC time provided by the timing device; combines the leap second information to convert the UTC time into the global positioning system GPS time; converts the GPS time into the second frame number and the second frame timing.
以及对于处理器702完成所在装置与基准基站的基准时间同步,可以包括:处理器702将帧号偏差和帧定时偏差转换成时间差值;通过时间差值对时间信息进行校准,完成与基准基站的基准时间同步。And for the processor 702 to complete the reference time synchronization between the device and the reference base station, the method may include: the processor 702 converts the frame number deviation and the frame timing deviation into a time difference value; and calibrates the time information by using the time difference to complete the base station with the reference base station. The base time is synchronized.
进一步的,当时间差值大于等于预定时间差值时,接收器703,用于接收基准基站发送的告警信息,告警信息用于表示时间差值大于等于预定时间差值。Further, when the time difference is greater than or equal to the predetermined time difference, the receiver 703 is configured to receive the alarm information sent by the reference base station, where the alarm information is used to indicate that the time difference is greater than or equal to the predetermined time difference.
进一步的,处理器702,还用于将装置同步于第一参考源,完成与基准基站之间的频率同步,第一参考源与基准基站同步的参考源相同。Further, the processor 702 is further configured to synchronize the device to the first reference source to complete frequency synchronization with the reference base station, where the first reference source is the same as the reference source synchronized with the reference base station.
或者进一步的,处理器702,还用于将装置同步于第二参考源,确定装置与基准基站之间的频率偏差,第二参考源与基准基站同步的参考源不同;当频率偏差小于预定频率偏差时,继续同步于第二参考源。Or further, the processor 702 is further configured to synchronize the device to the second reference source, determine a frequency offset between the device and the reference base station, and the second reference source is different from the reference source synchronized with the reference base station; when the frequency deviation is less than the predetermined frequency When the deviation occurs, it continues to synchronize with the second reference source.
值得说明的是,本发明中的基准基站的基准时间为全球导航卫星系统GNSS授时提供的时间,或者第二版1588 1588V2授时提供的时间,或者时间信息协议NTP授时提供的时间、简单时间信息协议SNTP授时提供的时间、第二版1588自适应时钟恢复1588V2ATR授时提供的时间,即基准基站为接收统GNSS授时的基站,或者接收1588V2授时的基站,或者只接收NTP授时、和/或SNTP授时、和/或1588V2ATR授时的基站。该装置(待同步基站)为不能接收GNSS授时和/或1588V2授时的基站。It should be noted that the reference time of the reference base station in the present invention is the time provided by the GNSS GNSS grant time, or the time provided by the second version 1588 1588V2 grant time, or the time and simple time information protocol provided by the time information protocol NTP grant time. The time provided by the SNTP grant, the time provided by the second version of the 1588 adaptive clock recovery 1588V2ATR grant, that is, the base station that the base station receives for the receiving GNSS, or the base station that receives the 1588V2 grant, or only receives the NTP grant, and/or SNTP grant, And/or 1588V2ATR timing base station. The device (the base station to be synchronized) is a base station that cannot receive GNSS grants and/or 1588 V2 grants.
进一步的,接收器703,还用于当基准基站为只接收时间信息协议NTP授时、和/或简单时间信息协议SNTP授时、和/或1588V2ATR授时的基站时,接收扩大缓存消息,扩大缓存消息用于指示待同步基站扩大待同步基站的FIFO。 Further, the receiver 703 is further configured to: when the reference base station is a base station that only receives the time information protocol NTP grant, and/or the simple time information protocol SNTP grant, and/or the 1588V2ATR grant, receive the extended cache message, and expand the cache message. The FIFO indicating that the base station to be synchronized expands the base station to be synchronized.
进一步的,处理器702,还用于将装置与备选基准基站进行基准时间同步,备选基准基站为替换出现故障的基准基站的基站,其中装置与备选基准基站进行基准时间同步的方式与装置与基准基站进行基准时间同步的方式相同。Further, the processor 702 is further configured to perform a reference time synchronization between the device and the candidate reference base station, where the candidate base station is a base station that replaces the failed base station, where the device performs reference time synchronization with the candidate base station. The device performs the same reference time synchronization with the reference base station.
可以理解,备选基准基站为接收GNSS授时的基站,或者接收1588V2授时的基站,或者只接收NTP授时、和/或SNTP授时、和/或1588V2ATR授时的基站。It can be understood that the candidate base station is a base station receiving GNSS timing, or a base station receiving 1588V2 timing, or a base station receiving only NTP timing, and/or SNTP timing, and/or 1588V2 ATR timing.
进一步的,处理器702,还用于执行与BMSC设备之间广播多播业务的传输。Further, the processor 702 is further configured to perform transmission of a broadcast multicast service with the BMSC device.
因此,采用本发明可以实现降低基站间基准时间同步的成本问题,进而能够在低成本的情况下,实现BMSC与基站间的业务内容同步。Therefore, according to the present invention, the cost problem of reducing the reference time synchronization between the base stations can be realized, and the service content synchronization between the BMSC and the base station can be realized at a low cost.
结合上述图1-图7,本发明提供一种同步方法,如图8所示。其中该方法中的执行主体为图1示出的待同步基站109或待同步基站110,其中待同步基站为与基准基站的帧号同步和帧定时同步的基站,基准基站为向待同步基站提供基准时间、基准帧号和基准帧定时的基站。In connection with Figures 1-7 above, the present invention provides a synchronization method, as shown in Figure 8. The execution subject in the method is the base station to be synchronized 109 or the base station 110 to be synchronized shown in FIG. 1 , wherein the base station to be synchronized is a base station that synchronizes with the frame number of the reference base station and the frame timing, and the reference base station provides the base station to be synchronized. Base station with reference time, reference frame number, and reference frame timing.
801,待同步基站获得第一帧号和第一帧定时,第一帧号为待同步基站与基准帧号同步后的帧号,第一帧定时为待同步基站与基准帧定时同步后的帧定时。801. The base station to be synchronized obtains a first frame number and a first frame timing, where the first frame number is a frame number after the base station to be synchronized is synchronized with the reference frame number, and the first frame timing is a frame after the base station to be synchronized synchronizes with the reference frame timing. timing.
可以看出,在待同步基站获得第一帧号和第一帧定时之前,待同步基站处于与基准基站的帧号同步和帧定时同步状态。It can be seen that, before the base station to be synchronized obtains the first frame number and the first frame timing, the to-be-synchronized base station is in the frame number synchronization and frame timing synchronization state with the reference base station.
其中,协同装置用于完成基准基站与待同步基站之间的帧号和帧定时同步,待同步基站为需要与基准基站之间进行基准时间同步的基站,基准基站为用于完成与待同步基站之间基准时间同步的参考基站。The cooperative device is configured to complete the frame number and the frame timing synchronization between the base station and the to-be-synchronized base station, where the base station to be synchronized is a base station that needs to perform reference time synchronization with the reference base station, and the reference base station is used to complete and synchronize the base station to be synchronized. Reference base station synchronized between reference times.
802,待同步基站通过第一授时设备获取时间信息,获得第二帧号和第二帧定时。 802. The base station to be synchronized acquires time information by using the first timing device, and obtains a second frame number and a second frame timing.
可以看出,第二帧号为该时间信息转换得到的帧号,第二帧定时为该时间信息转换得到的帧定时。It can be seen that the second frame number is the frame number obtained by the time information conversion, and the second frame timing is the frame timing obtained by the time information conversion.
其中,第一授时设备用于向待同步基站提供时间信息。通过图1所示,该方法适用的移动通信网络系统中包括的第一授时设备为BITS 101和/或NTP-Server 102。The first timing device is configured to provide time information to the base station to be synchronized. As shown in FIG. 1, the first timing device included in the mobile communication network system to which the method is applicable is BITS 101 and/or NTP-Server 102.
803,待同步基站通过第一帧号与第二帧号得到帧号偏差;并通过第一帧定时和第二帧定时,得到帧定时偏差。803. The base station to be synchronized obtains a frame number deviation by using the first frame number and the second frame number; and obtains a frame timing deviation by using the first frame timing and the second frame timing.
804,待同步基站根据帧号偏差和帧定时偏差,完成与基准基站的基准时间同步。804. The base station to be synchronized completes the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation.
本发明实施例提供的一种同步方法,待同步基站通过与基准帧号同步的第一帧号和与基准帧定时同步的第一帧定时,通过待同步基站的授时设备获取的时间信息转换得到第二帧号和第二帧定时,然后得到第一帧号与第二帧号的帧号偏差和第一帧定时和第二帧定时的帧定时偏差,通过此帧号偏差和帧定时偏差完成与基准基站的基准时间同步。其中基准基站为用于完成与待同步基站之间基准时间同步的参考基站,待同步基站只需与基准基站进行绝对时间的同步,而不用采用成本较高的授时方案接收GPS信号,就能够实现基站间基准时间同步,从而避免了现有技术中为了实现基站间基准时间同步,需要所有基站(基准基站和待同步基站)采用成本较高的授时接收机接收GPS信号导致成本较高的问题,即在实现基站间基准时间同步的同时,降低部署基站的成本。According to a synchronization method provided by the embodiment of the present invention, the base station to be synchronized obtains the time information obtained by the timing device of the base station to be synchronized by using the first frame number synchronized with the reference frame number and the first frame timing synchronized with the reference frame timing. The second frame number and the second frame timing, and then obtain the frame number deviation of the first frame number and the second frame number and the frame timing deviation of the first frame timing and the second frame timing, which are completed by the frame number deviation and the frame timing deviation Synchronized with the reference time of the reference base station. The reference base station is a reference base station for performing reference time synchronization with the base station to be synchronized, and the base station to be synchronized only needs to perform absolute time synchronization with the reference base station, instead of receiving a GPS signal by using a costly timing scheme, Base station synchronization time synchronization, thereby avoiding the problem that in the prior art, in order to achieve reference time synchronization between base stations, all base stations (base base station and base station to be synchronized) need to receive GPS signals by using a higher cost timing receiver, resulting in higher cost. That is, while realizing the reference time synchronization between the base stations, the cost of deploying the base station is reduced.
在另一种实施方式中,在步骤801之前,协同装置参与待同步基站实现与基准基站的帧号同步和帧定时同步之前,协同装置确定基准基站和待同步基站。In another implementation manner, before the step 801, the cooperation device participates in the frame number synchronization and the frame timing synchronization of the base station to be synchronized with the reference base station, and the coordination device determines the reference base station and the base station to be synchronized.
其中,确定基准基站和待同步基站的方式有多种,在此列举两种方式。There are various ways to determine the reference base station and the base station to be synchronized, and two methods are listed here.
第一种方式:协同装置从至少一个同步分组中确定接收高精度时间授时 的基站为基准基站;确定除确定为基准基站以外的基站为待同步基站。The first way: the cooperative device determines to receive the high precision time timing from the at least one synchronization packet The base station is a reference base station; determining that the base station other than the reference base station is the base station to be synchronized.
其中,高精度时间授时可以包括GNSS授时、1588V2授时,则当同步分组中包括接收GNSS授时的基站和/或接收1588V2授时的基站时,协同装置从该至少一个同步分组中确定接收GNSS授时的基站为基准基站,或者接收1588V2授时的基站为基准基站。即基准基站的基准时间为GNSS授时提供的时间,或者1588V2授时提供的时间。可以得到,当第二授时设备表示为用于向基准基站提供时间信息,第二授时设备可以为采用GNSS的设备,或者采用1588V2的设备。The high-precision time grant may include a GNSS grant and a 1588V2 grant. When the synchronization packet includes a base station that receives the GNSS grant and/or a base station that receives the 1588V2 grant, the cooperative device determines, from the at least one synchronization packet, the base station that receives the GNSS grant. The base station that is the reference base station or receives the 1588V2 timing is the reference base station. That is, the reference time of the reference base station is the time provided by the GNSS grant, or the time provided by the 1588V2 grant. It can be obtained that when the second timing device is represented as providing time information to the reference base station, the second timing device may be a device adopting GNSS or a device of 1588V2.
通常,在同步分组中包括接收高精度时间授时的基站和接收低精度时间授时的基站。低精度时间授时可以包括NTP(Network Time Protocol,时间信息协议)授时、SNTP(Simple Network Time Protocol,简单时间信息协议)、1588V2ATR(1588V2 Adaptive Time Recovery,第二版1588自适应时钟恢复)授时,则从同步分组中确定只接收NTP授时、和/或SNTP授时、和/或接收1588V2ATR授时的基站为待同步基站。即待同步基站为不能接收GNSS授时和/或1588V2授时的基站。Generally, a base station that receives high-precision time timing and a base station that receives low-precision time timing are included in the synchronization packet. The low-precision time grant can include NTP (Network Time Protocol), SNTP (Simple Network Time Protocol), and 1588V2 ATR (1588V2 Adaptive Time Recovery). It is determined from the synchronization packet that the base station that only receives the NTP grant, and/or the SNTP grant, and/or receives the 1588 V2 ATR grant is the base station to be synchronized. That is, the base station to be synchronized is a base station that cannot receive GNSS grant and/or 1588V2 grant time.
需要说明的是,在一个同步分组中可以包括两个以上的接收高精度时间授时的基站,当协同装置选择其中一个接收高精度时间授时的基站为基准基站之后,其他的高精度时间授时的基站为待同步基站。但是为了考虑部署基站成本的问题,一般协同装置在划分同步分组时,会考虑避免将多个接收高精度时间授时的基站划分到同一同步分组中。It should be noted that two or more base stations receiving high-precision time timing may be included in one synchronization packet, and other high-precision time-time base stations are selected after the cooperative device selects one of the base stations receiving the high-precision time grant as the reference base station. For the base station to be synchronized. However, in order to consider the problem of deploying the cost of the base station, the general cooperative device may consider to avoid dividing a plurality of base stations receiving high-precision time timing into the same synchronization packet when dividing the synchronization packet.
第二种方式:协同装置从至少一个同步分组中确定任意一个基站为基准基站;确定除确定为基准基站以外的基站为待同步基站。The second mode: the coordination device determines any one of the base stations as the reference base station from the at least one synchronization packet; and determines that the base station other than the reference base station is the base station to be synchronized.
在采用第二种方式时,如图4所示,图4示出的网络架构图包括的同步分组中不包括确定接收GNSS授时的基站为基准基站,和/或接收1588V2授时的基站,则协同装置从该同步分组中确定任意一个基站为基准基站(即基 准基站的基准时间为NTP授时提供的时间、或者SNTP授时提供的时间、或者1588V2ATR授时提供的时间)。其中当同步分组中包括不能接收GNSS授时的基站,和/或不能接收1588V2授时的基站(即只接收NTP授时、和/或SNTP授时、和/或1588V2ATR授时的基站)。进一步的,该同步分组中剩余的基站确定为待同步基站。将图3与图1进行对比发现,图3中不包括向基站108发送GPS信号的设备106,因此,基站108、基站109或者基站110均可以作为基准基站。When the second mode is adopted, as shown in FIG. 4, the network architecture diagram shown in FIG. 4 does not include the base station that determines the receiving GNSS grant as the base station, and/or the base station that receives the 1588V2 grant, and cooperates. The device determines, from the synchronization packet, any one of the base stations as a reference base station (ie, base The reference time of the quasi-base station is the time provided by the NTP grant, or the time provided by the SNTP grant, or the time provided by the 1588V2 ATR grant). The synchronization packet includes a base station that cannot receive the GNSS grant, and/or a base station that cannot receive the 1588V2 grant (ie, a base station that only receives the NTP grant, and/or the SNTP grant, and/or the 1588V2 ATR grant). Further, the remaining base stations in the synchronization packet are determined to be base stations to be synchronized. Comparing FIG. 3 with FIG. 1, it is found that FIG. 3 does not include the device 106 that transmits the GPS signal to the base station 108. Therefore, the base station 108, the base station 109, or the base station 110 can all serve as the reference base station.
在另一种实施方式中,协同装置从至少一个同步分组中确定备选基准基站,该备选基准基站为替换出现错误的基准基站的基站。如图5所示,该网络架构中还包括GPS信号113(即发射GPS信号的设备113),并且向基站110发送GPS信号113。则基站110可以作为备选基准基站。In another embodiment, the coordination device determines an alternate reference base station from at least one synchronization packet, the alternate reference base station being a base station replacing the reference base station in which the error occurred. As shown in FIG. 5, the network architecture further includes a GPS signal 113 (i.e., a device 113 that transmits a GPS signal) and transmits a GPS signal 113 to the base station 110. The base station 110 can then serve as an alternate base station.
对应的,当基准基站出现故障时,待同步基站与备选基准基站进行基准时间同步,其中待同步基站与备选基准基站进行基准时间同步的方式与待同步基站与基准基站进行基准时间同步的方式相同。即同步模块204,还用于将装置30与备选基准基站进行基准时间同步,其中装置30与备选基准基站进行基准时间同步的方式与装置与基准基站进行基准时间同步的方式相同。Correspondingly, when the base station fails, the base station to be synchronized performs reference time synchronization with the candidate base station, wherein the manner in which the base station to be synchronized and the candidate base station perform reference time synchronization are synchronized with the base station to be synchronized and the reference base station. The same way. That is, the synchronization module 204 is further configured to perform the reference time synchronization between the device 30 and the candidate reference base station, wherein the manner in which the device 30 performs the reference time synchronization with the candidate reference base station is the same as the manner in which the device performs the reference time synchronization with the reference base station.
或者参考图1,虽然图1示出的基站110不能接收GPS信号,但仍可以作为备选基准基站。Alternatively, referring to FIG. 1, although the base station 110 shown in FIG. 1 cannot receive GPS signals, it can still serve as an alternative base station.
可以理解的是,备选基准基站可以为接收GNSS授时的基站、或者接收1588V2授时的基站、或者只接收NTP授时、和/或SNTP授时、和/或1588V2ATR授时的基站。It can be understood that the candidate base station can be a base station receiving GNSS timing, or a base station receiving 1588V2 timing, or a base station receiving only NTP timing, and/or SNTP timing, and/or 1588V2 ATR timing.
在另一种实施方式中,值得说明的是,协同装置通过获取的基准基站和待同步基站接收参考UE发送上行同步参考信号的时刻,参与实现待同步基站相对于基准基站的帧号和帧定时同步,从而达到装置30(待同步基站)与基准基站的帧号同步和帧定时同步状态。 In another implementation manner, it is worth noting that the cooperative device participates in realizing the frame number and frame timing of the base station to be synchronized relative to the reference base station by acquiring the time at which the reference base station and the to-be-synchronized base station receive the uplink synchronization reference signal. Synchronization, thereby achieving the frame number synchronization and frame timing synchronization state of the device 30 (base station to be synchronized) and the reference base station.
协同装置首先确定参考UE,然后根据基准基站和待同步基站接收到参考UE发送的上行同步参考信号的时刻确定待同步基站与基准基站之间的定时偏差;在根据该定时偏差对待同步基站进行校准,校准之后的待同步基站得到第一帧号和第一帧定时,完成待同步基站相对于基准基站的帧号和帧定时同步。The cooperative device first determines the reference UE, and then determines a timing offset between the base station to be synchronized and the reference base station according to the time when the reference base station and the base station to be synchronized receive the uplink synchronization reference signal sent by the reference UE; and calibrates the base station to be synchronized according to the timing deviation After the calibration, the base station to be synchronized obtains the first frame number and the first frame timing, and completes synchronization of the frame number and frame timing of the base station to be synchronized with respect to the reference base station.
其中,协同装置根据基准基站和待同步基站接收到参考UE发送的上行同步参考信号的时刻确定待同步基站与基准基站之间的定时偏差的方式可以有多种,本发明在此列举两种方式:The method for determining the timing deviation between the base station to be synchronized and the reference base station according to the time when the reference base station and the base station to be synchronized receive the uplink synchronization reference signal sent by the reference UE may be various. The present invention lists two methods herein. :
第一种方式:The first way:
第一,协同装置接收基准基站发送的相对时刻T1,该相对时刻T1为基于基准基站的当前帧号和帧定时确定的基准基站接收到参考UE发送的同步参考信号的时刻。First, the cooperative device receives the relative time T1 sent by the reference base station, where the relative time T1 is the time when the reference base station determined by the reference base station determines the synchronization reference signal sent by the reference UE according to the current frame number and the frame timing.
其中,参考UE发送的同步参考信号包括但不限于以下中的至少一种:PRACH、SRS、DMRS。The synchronization reference signal sent by the reference UE includes, but is not limited to, at least one of the following: PRACH, SRS, DMRS.
第二,协同装置接收待同步基站发送的相对时刻T2,该相对时刻T2为基于待同步基站的当前帧号和帧定时确定的待同步基站接收参考UE发送的同步参考信号的时刻。Second, the cooperative device receives the relative time T2 sent by the base station to be synchronized, and the relative time T2 is the time at which the base station to be synchronized, which is determined by the current frame number of the base station to be synchronized and the frame timing, receives the synchronization reference signal sent by the reference UE.
第三,协同装置根据相对时刻T1和相对时刻T2确定该定时偏差ΔT。其中ΔT=T1-T2。Third, the coordination device determines the timing deviation ΔT based on the relative time T1 and the relative time T2. Where ΔT=T1-T2.
协同装置通过两个相对时刻的差,可以确定两个基站各自的时间轴相对比下的偏移量,即两个基站的帧号与帧定时偏差。待同步基站可以根据该ΔT调整自身的帧号与帧定时,从而实现与基准基站的帧号与帧定时同步。The cooperative device can determine the offset of the respective time axes of the two base stations by the difference between the two relative moments, that is, the frame number of the two base stations and the frame timing deviation. The base station to be synchronized can adjust its own frame number and frame timing according to the ΔT, thereby achieving synchronization with the frame number and frame timing of the reference base station.
第二种方式:The second way:
第一,协同装置确定参考UE与基准基站的RTD测量结果TA1。 First, the coordination device determines the RTD measurement result TA1 of the reference UE and the reference base station.
第二,协同装置确定参考UE与待同步基站的RTD测量结果TA2。Second, the coordination device determines the RTD measurement result TA2 of the reference UE and the base station to be synchronized.
第三,协同装置根据测量结果TA1和测量结果TA2确定参考UE与基准基站和待同步基站之间的距离差造成的偏差TA1-TA2。Third, the coordination device determines the deviation TA1-TA2 caused by the distance difference between the reference UE and the base station to be synchronized and the base station to be synchronized according to the measurement result TA1 and the measurement result TA2.
第四,协同装置通过第一种方式得到相对时刻T1和相对时刻T2,根据偏差TA1-TA2、相对时刻T1和相对时刻T2,确定该定时偏差ΔT。其中ΔT=T1-T2-(TA1-TA2)。Fourth, the cooperative device obtains the relative time T1 and the relative time T2 by the first method, and determines the timing deviation ΔT according to the deviation TA1-TA2, the relative time T1, and the relative time T2. Where ΔT=T1-T2-(TA1-TA2).
由于参考UE到基准基站和待同步基站的距离可能不一样,上述ΔT=T1-T2无法反映出UE到基准基站和待同步基站的距离差异引入的定时偏差,进而可以将参考UE到基准基站和待同步基站的距离差异引入到定时偏差中,使得能够得到更加准确的定时偏差。Since the distance between the reference UE and the base station to be synchronized may be different, the above ΔT=T1-T2 cannot reflect the timing deviation introduced by the difference between the distance between the UE and the base station to be synchronized, and thus the reference UE to the reference base station and The difference in the distance of the base station to be synchronized is introduced into the timing offset, so that a more accurate timing deviation can be obtained.
在另一种实施方式中,在步骤801之前,该方法还包括:待同步基站同步于第一参考源,完成与基准基站之间的频率同步,第一参考源与基准基站同步的参考源相同。如,待同步基站通过线路时钟(如图1示出的BITS)同步到同一参考源(GPS信号106与GPS信号107均为GPS信号)上,完成待同步基站与基准基站之间的频率同步,使得基站间相位漂移一致。In another implementation manner, before the step 801, the method further includes: synchronizing the base station to be synchronized with the first reference source to complete frequency synchronization with the reference base station, where the first reference source is synchronized with the reference source of the reference base station . For example, the base station to be synchronized synchronizes to the same reference source (the GPS signal 106 and the GPS signal 107 are GPS signals) through the line clock (bits shown in FIG. 1), and the frequency synchronization between the base station to be synchronized and the reference base station is completed. The phase shift between the base stations is made uniform.
参考源可以为GPS、原子钟、晶振等。The reference source can be GPS, atomic clock, crystal oscillator, and the like.
在另一种实施方式中,在步骤801之前,该方法还包括:待同步基站同步于第二参考源,确定待同步基站与基准基站之间的频率偏差,第二参考源与基准基站同步的参考源不同;当频率偏差小于预定频率偏差时,继续同步于第二参考源。即当基准基站和待同步基站通过线路时钟同步参考源为不同的参考源时,完成待同步基站与基准基站之间的频率偏差小于等于预定频率偏差。本发明不对预定频率偏差做限定,如预定频率偏差可以为3*10E-11。预定频率偏差主要与基站间进行帧号和帧定时同步的测试周期选取相关,如当测试周期加快时,预定频率偏差可相应加大。In another implementation, before the step 801, the method further includes: the base station to be synchronized is synchronized with the second reference source, determining a frequency offset between the base station to be synchronized and the reference base station, and the second reference source is synchronized with the reference base station. The reference source is different; when the frequency deviation is less than the predetermined frequency deviation, synchronization with the second reference source continues. That is, when the reference base station and the to-be-synchronized base station are different reference sources through the line clock synchronization reference source, the frequency deviation between the base station to be synchronized and the reference base station is less than or equal to a predetermined frequency deviation. The present invention does not limit the predetermined frequency deviation, for example, the predetermined frequency deviation may be 3*10E-11. The predetermined frequency deviation is mainly related to the selection of the test period for synchronizing the frame number and the frame timing between the base stations. For example, when the test period is accelerated, the predetermined frequency deviation may be correspondingly increased.
需要说明的是,当基准基站和待同步基站采用不同的参考源时,这两个 参考源需要满足的条件是均需使用高精度的参考源。比如基准基站采用GPS作为参考源,待同步基站采用BITS作为参考源,那么该BITS采用的是高精度的原子钟时钟作为时钟基准,从而能够保证基准基站和待同步基站之间的相位漂移在一个较小的范围之内。It should be noted that when the reference base station and the base station to be synchronized adopt different reference sources, the two The condition that the reference source needs to meet is that a high-precision reference source is required. For example, the reference base station uses GPS as a reference source, and the base station to be synchronized uses BITS as a reference source, then the BITS uses a high-precision atomic clock as a clock reference, thereby ensuring phase drift between the reference base station and the base station to be synchronized. Within a small range.
需要说明的是,本发明中的基准基站的基准时间为全球导航卫星系统GNSS授时提供的时间,或者第二版1588 1588V2授时提供的时间,或者时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者第二版1588自适应时钟恢复1588V2ATR授时提供的时间,即基准基站为接收GNSS授时的基站为基准基站,或者接收1588V2授时的基站,或者只接收NTP授时、和/或SNTP授时、和/或1588V2ATR授时的基站。It should be noted that the reference time of the reference base station in the present invention is the time provided by the GNSS GNSS grant time, or the time provided by the second version 1588 1588V2 grant time, or the time provided by the time information protocol NTP grant time, or simple time information. The time provided by the protocol SNTP grant, or the time provided by the second version of the 1588 adaptive clock recovery 1588V2ATR grant, that is, the base station that receives the GNSS grant as the base station, or the base station that receives the 1588V2 grant, or only receives the NTP grant, and/ Or base station with SNTP timing, and/or 1588V2ATR timing.
待同步基站为不能接收GNSS授时和/或1588V2授时的基站(即只接收NTP授时、和/或SNTP授时、和/或1588V2ATR授时的基站)。可以得到,第一授时设备为采用NTP的设备、采用SNTP的设备或者采用1588V2ATR的设备。The base station to be synchronized is a base station that cannot receive GNSS grant and/or 1588 V2 grant (ie, a base station that only receives NTP grant, and/or SNTP grant, and/or 1588 V2 ATR grant). It can be obtained that the first timing device is a device using NTP, a device using SNTP, or a device adopting 1588V2 ATR.
对应在另一种实施方式中,在步骤802中,待同步基站接收第一授时设备提供的时间信息可以为GPS时间,或者可以为UTC(Universal Time Coordinated,协调世界时)时间。当待同步基站为只接收NTP授时和/或SNTP授时的基站时,该时间信息为UTC时间;当待同步基站为只接收1588V2ATR授时的基站时,该时间信息为GPS时间。Correspondingly, in another embodiment, in step 802, the time information provided by the base station to be synchronized to receive the first timing device may be GPS time, or may be UTC (Universal Time Coordinated) time. When the base station to be synchronized is a base station that only receives NTP grant and/or SNTP grant time, the time information is UTC time; when the base station to be synchronized is a base station that only receives 1588 V2 ATR grant time, the time information is GPS time.
在另一种实施方式中,在步骤802中,待同步基站通过接收第一授时设备提供的时间信息,获得第二帧号和第二帧定时包括:In another embodiment, in step 802, the base station to be synchronized obtains the second frame number and the second frame timing by receiving time information provided by the first timing device, including:
一般待同步基站均为接收低精度授时的基站,因此当待同步基站的时间为NTP授时提供的时间,或者SNTP授时提供的时间,或者1588V2ATR授时提供的时间(即待同步基站为只接收NTP授时的基站,或者只接收SNTP授时的基站时(即该时间信息为UTC时间),待同步基站接收通过NTP授时 或者通过SNTP授时的UTC时间)时,结合闰秒信息,将该UTC时间转换为GPS时间,将该GPS时间转换成第二帧号和第二帧定时。其中,GPS时间为原子时间,UTC时间为天文时间,闰秒信息可以看作原子时间与天文时间之间的差值信息。闰秒信息随着天文时间和原子时间之间偏差的改变而变化,比如,现在的闰秒信息为19s。Generally, the base stations to be synchronized are the base stations that receive the low-precision timing. Therefore, when the time of the base station to be synchronized is the time provided by the NTP grant, or the time provided by the SNTP grant, or the time provided by the 1588V2 ATR grant (that is, the base station to be synchronized only receives the NTP grant time) Base station, or only the base station receiving SNTP grant time (that is, the time information is UTC time), the base station to be synchronized receives the time through NTP Or, by UTC time of SNTP timing, combined with leap second information, the UTC time is converted into GPS time, and the GPS time is converted into a second frame number and a second frame timing. Among them, GPS time is atomic time, UTC time is astronomical time, and leap second information can be regarded as the difference information between atomic time and astronomical time. The leap second information changes as the deviation between astronomical time and atomic time changes. For example, the current leap second information is 19s.
当待同步基站为只接收1588V2ATR授时的基站时,通过接收采用1588V2ATR的设备(第一授时设备)的授时,获得GPS时间(时间信息),然后将该GPS时间转换成第二帧号和第二帧定时。When the base station to be synchronized is a base station that only receives 1588V2 ATR timing, the GPS time (time information) is obtained by receiving the timing of the device (first timing device) using the 1588V2 ATR, and then the GPS time is converted into the second frame number and the second. Frame timing.
其中,NTP、SNTP等协议传递的是UTC时间,不携带闰秒信息。而在UTC时间与GPS时间转换时需要有当前的闰秒信息,才能保证转换的准确性。因此需要通过配置方式提供相应的闰秒信息给基站用于保证转换后的时间准确。Among them, protocols such as NTP and SNTP deliver UTC time and do not carry leap second information. In the UTC time and GPS time conversion, the current leap second information is needed to ensure the accuracy of the conversion. Therefore, it is necessary to provide corresponding leap second information to the base station through configuration to ensure that the time after conversion is accurate.
在另一种实施方式中,在步骤803中,待同步基站根据帧号偏差和帧定时偏差,完成与基准基站的基准时间同步,可以包括:In another implementation, in step 803, the base station to be synchronized completes the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation, and may include:
待同步基站将帧号偏差和帧定时偏差转换成时间差值;待同步基站通过时间差值对该时间信息进行校准,完成与基准基站的基准时间同步。The base station to be synchronized converts the frame number deviation and the frame timing deviation into a time difference; the base station to be synchronized calibrates the time information by the time difference, and completes the reference time synchronization with the reference base station.
在另一种实施方式中,在步骤803之后,即待同步基站将帧号偏差转换成时间差值之后,还可以包括:待同步基站接收基准基站发送的告警信息,告警信息用于表示时间差值大于等于预定时间差值。可以理解的是,在待同步基站接收到告警信息之后,可以停止与基准基站之间的同步操作。In another embodiment, after the step 803, after the base station to be synchronized converts the frame number deviation into the time difference value, the method may further include: the base station to be synchronized receives the alarm information sent by the reference base station, and the alarm information is used to indicate the time difference. The value is greater than or equal to the predetermined time difference. It can be understood that after the base station to be synchronized receives the alarm information, the synchronization operation with the reference base station can be stopped.
帧号(LFN)的周期为10.24s,当将UTC时间经转换得到的GPS时间与准确的GPS时间相差在+/-5.12s的情况下,将导致跳周从而无法准确得到UTC时间经转换得到的GPS时间与准确的GPS时间具体的偏差值,因此就无法得到待同步站准确的绝对时间时间。在本发明中预定时间差值为5.12s。The frame number (LFN) has a period of 10.24 s. When the GPS time obtained by converting the UTC time is different from the accurate GPS time by +/- 5.12 s, it will result in a jump and thus can not accurately obtain the UTC time. The GPS time is accurate with the exact GPS time, so the exact time of the station to be synchronized cannot be obtained. In the present invention, the predetermined time difference is 5.12 s.
本发明中通过基准基站断出基准基站与待同步基站之间的时间差值与预 定时间差值之间的大小。是因为如图1、图4或者图5所示,基准基站接收GNSS授时或者接收1588V2授时的同时,也接收NTP授时或者SNTP授时或者1588V2ATR授时,则基准基站从而能够获取时间差值,并将时间差值与预定时间差值进行比较,当时间差值大于等于预定时间差值时,上报告警信息。In the present invention, the time difference between the reference base station and the base station to be synchronized is broken by the reference base station and the pre- The size between the time differences. Because, as shown in FIG. 1, FIG. 4 or FIG. 5, when the reference base station receives the GNSS grant or receives the 1588V2 grant, and also receives the NTP grant or the SNTP grant or the 1588V2ATR grant, the reference base station can thereby obtain the time difference and time. The difference is compared with a predetermined time difference, and when the time difference is greater than or equal to the predetermined time difference, the alarm information is reported.
在另一种实施方式中,该方法还包括:当基准基站为不能接收GNSS授时和/或1588V2授时的基站(即只接收NTP授时、和/或SNTP授时、和/或1588V2ATR授时的基站),并且开展eMBMS业务等需要基站具有准确的绝对时间的业务时,待同步基站接收协同装置发送的扩大缓存消息,扩大缓存消息用于指示待同步基站扩大待同步基站的FIFO(First Input First Output,先入先出队列)。对应的,在待同步基站接收到该扩大缓存消息之后,会将FIFO由正常状态转变成扩大状态,以便于应对BMSC设备与待同步基站之间存在的时间偏差。当待同步基站完成与BMSC设备之间的业务传输时,FIFO由扩大状态转变成正常状态。In another embodiment, the method further includes: when the reference base station is a base station that cannot receive GNSS grant and/or 1588V2 grant (ie, a base station that only receives NTP grant, and/or SNTP grant, and/or 1588V2 ATR grant), And when the eMBMS service and the like need to have the base station having the accurate absolute time, the base station to be synchronized receives the extended buffer message sent by the coordinated device, and the expanded cache message is used to indicate that the base station to be synchronized expands the FIFO of the base station to be synchronized (First Input First Output, first entry) First out queue). Correspondingly, after the base station to be synchronized receives the extended buffer message, the FIFO is changed from a normal state to an expanded state, so as to cope with the time deviation existing between the BMSC device and the base station to be synchronized. When the base station to be synchronized completes the traffic transmission with the BMSC device, the FIFO transitions from the expanded state to the normal state.
对应的,对于基准基站来说,协同装置也会向基准基站发送用于指示基准基站扩大基准基站的FIFO的扩大缓存消息。Correspondingly, for the reference base station, the coordination device also sends an extended buffer message to the reference base station for instructing the reference base station to expand the FIFO of the reference base station.
其中,这种方式下表明基准基站不是接收GNSS授时或者接收1588V2授时的基站。此时,可以做到在同一同步分组中基准基站与待同步基站之间严格的帧号和帧定时同步,也可以做到相互间的严格时间同步,只是所在区域所有基站时间与标准的GPS时间存在一个固定偏差。这种情况下,当遇到要求基站具有准确的绝对时间的业务(如eMBMS)时,需要扩大基站的FIFO。通过扩大FIFO来吸收这种偏差带来的影响(如实现与BMSC设备间实现eMBMS的同步)。Wherein, the mode indicates that the reference base station is not the base station receiving the GNSS grant or receiving the 1588V2 grant time. At this time, strict frame number and frame timing synchronization between the reference base station and the base station to be synchronized in the same synchronization packet can be achieved, and strict time synchronization with each other can be achieved, but only the base station time and standard GPS time in the area. There is a fixed deviation. In this case, when encountering a service (such as eMBMS) that requires the base station to have an accurate absolute time, it is necessary to expand the FIFO of the base station. The effect of this bias is absorbed by expanding the FIFO (eg, enabling synchronization with eMBMS between BMSC devices).
进一步的,在待同步基站根据帧号偏差和帧定时偏差,完成与基准基站的基准时间同步之后,待同步基站执行与广播多播业务中心BMSC设备之间广播多播业务的传输。 Further, after the base station to be synchronized completes the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation, the to-be-synchronized base station performs transmission of the broadcast multicast service with the broadcast multicast service center BMSC device.
值得说明的是,在待同步基站完成与基准基站的基准时间同步之后,表面基站间(基准基站与待同步基站之间)严格基准时间同步。当基准基站为接收GNSS授时或者1588V2授时的基站(采用的是准确的绝对时间)时,则在进行需要业务内容时间同步的业务(如eMBMS)时,BMSC设备与基站(包括基准基站和待同步基站)之间可以实现业务内容时间同步。当基准基站为不能接收GNSS授时和1588V2授时的基站(可以看作采用的是不准确的绝对时间)时,则在进行需要业务内容时间同步的业务(如eMBMS)时,基站(包括基准基站和待同步基站)需要扩大FIFO来实现与BMSC设备之间的业务内容时间同步。It is worth noting that after the base station to be synchronized completes the reference time synchronization with the reference base station, the surface base stations (between the reference base station and the base station to be synchronized) are strictly reference time synchronized. When the reference base station is a base station receiving GNSS grant or 1588V2 timing (using an accurate absolute time), when performing a service (such as eMBMS) requiring time synchronization of the service content, the BMSC device and the base station (including the reference base station and the to-be-synchronized) The time synchronization of the business content can be realized between the base stations. When the reference base station is a base station that cannot receive the GNSS grant and the 1588V2 grant time (which can be regarded as using an inaccurate absolute time), when performing a service (such as eMBMS) requiring time synchronization of the service content, the base station (including the base station and the base station and The base station to be synchronized needs to expand the FIFO to achieve time synchronization of the service content with the BMSC device.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be clearly understood by those skilled in the art that for the convenience and brevity of the description, only the division of each functional module described above is exemplified. In practical applications, the above function assignment can be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (30)

  1. 一种同步装置,其特征在于,所述装置应用于待同步基站,所述待同步基站为与基准基站的帧号同步和帧定时同步的基站,所述基准基站为向所述待同步基站提供基准时间、基准帧号和基准帧定时的基站,所述装置包括:A synchronization device, wherein the device is applied to a base station to be synchronized, the base station to be synchronized is a base station that synchronizes frame number synchronization and frame timing with a reference base station, and the reference base station provides to the base station to be synchronized The base station of the reference time, the reference frame number, and the reference frame timing, the device includes:
    获得模块,用于获得第一帧号和第一帧定时,并将所述第一帧号和所述第一帧定时提供给计算模块,所述第一帧号为所述待同步基站与所述基准帧号同步后的帧号,所述第一帧定时为所述待同步基站与所述基准帧定时同步后的帧定时;Obtaining a module, configured to obtain a first frame number and a first frame timing, and provide the first frame number and the first frame timing to a computing module, where the first frame number is the to-be-synchronized base station and the a frame number after the reference frame number is synchronized, where the first frame timing is a frame timing after the base station to be synchronized is synchronized with the reference frame timing;
    获取模块,用于通过第一授时设备获取时间信息,并将所述时间信息提供给所述获得模块,所述第一授时设备用于向所述装置提供时间信息;An obtaining module, configured to acquire time information by using a first timing device, and provide the time information to the obtaining module, where the first timing device is configured to provide time information to the device;
    所述获得模块,还用于根据所述时间信息,获得第二帧号和第二帧定时,并将所述第二帧号和所述第二帧定时提供给所述计算模块;The obtaining module is further configured to obtain a second frame number and a second frame timing according to the time information, and provide the second frame number and the second frame timing to the computing module;
    所述计算模块,用于通过所述第一帧号与所述第二帧号得到帧号偏差;和通过所述第一帧定时和所述第二帧定时,得到帧定时偏差,并将所述帧号偏差和所述帧定时偏差提供给同步模块;The calculating module is configured to obtain a frame number deviation by using the first frame number and the second frame number; and obtain a frame timing deviation by using the first frame timing and the second frame timing, and The frame number deviation and the frame timing deviation are provided to the synchronization module;
    所述同步模块,用于根据所述帧号偏差和所述帧定时偏差,完成与所述基准基站的基准时间同步。The synchronization module is configured to complete a reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation.
  2. 根据权利要求1所述的同步装置,其特征在于,当所述时间信息包括协调世界时UTC时间时,所述获得模块,包括:The synchronizing apparatus according to claim 1, wherein when the time information includes a Coordinated Universal Time UTC time, the obtaining module comprises:
    获取单元,用于获取授时设备提供的UTC时间,并将所述UTC时间提供给转换单元;An obtaining unit, configured to acquire a UTC time provided by the timing device, and provide the UTC time to the conversion unit;
    所述转换单元,用于结合闰秒信息,将所述UTC时间转换成全球定位系统GPS时间;将所述GPS时间转换成所述第二帧号和所述第二帧定时。The converting unit is configured to convert the UTC time into a global positioning system GPS time in combination with the leap second information; convert the GPS time into the second frame number and the second frame timing.
  3. 根据权利要求1或2所述的同步装置,其特征在于,所述同步模块,包 括:Synchronization apparatus according to claim 1 or 2, wherein said synchronization module, package include:
    转换单元,用于将所述帧号偏差和帧定时偏差转换成时间差值,并将所述时间差值提供给校准单元;a converting unit, configured to convert the frame number deviation and a frame timing deviation into a time difference value, and provide the time difference value to a calibration unit;
    所述校准单元,用于通过所述时间差值对所述时间信息进行校准,完成与所述基准基站的绝对时间同步。The calibration unit is configured to calibrate the time information by using the time difference to complete absolute time synchronization with the reference base station.
  4. 根据权利要求3所述的同步装置,其特征在于,所述装置还包括:The synchronization device according to claim 3, wherein the device further comprises:
    第一接收模块,用于接收所述基准基站发送的告警信息,所述告警信息用于表示所述时间差值大于等于预定时间差值。The first receiving module is configured to receive the alarm information sent by the reference base station, where the alarm information is used to indicate that the time difference is greater than or equal to a predetermined time difference.
  5. 根据权利要求1-4中任一项所述的同步装置,其特征在于,A synchronizing apparatus according to any one of claims 1 to 4, characterized in that
    所述同步模块,还用于将所述装置同步于第一参考源,完成与所述基准基站之间的频率同步,所述第一参考源与所述基准基站同步的参考源相同。The synchronization module is further configured to synchronize the device to the first reference source to complete frequency synchronization with the reference base station, where the first reference source is the same as the reference source synchronized with the reference base station.
  6. 根据权利要求1-4中任一项所述的同步装置,其特征在于,A synchronizing apparatus according to any one of claims 1 to 4, characterized in that
    所述同步模块,还用于将所述装置同步于第二参考源,确定所述装置与所述基准基站之间的频率偏差,所述第二参考源与所述基准基站同步的参考源不同;当所述频率偏差小于预定频率偏差时,继续同步于所述第二参考源。The synchronization module is further configured to synchronize the device to a second reference source to determine a frequency offset between the device and the reference base station, where the second reference source is different from a reference source synchronized with the reference base station When the frequency deviation is less than the predetermined frequency deviation, synchronization with the second reference source continues.
  7. 根据权利要求1-6中任一项所述的同步装置,其特征在于,所述基准基站的基准时间为全球导航卫星系统GNSS授时提供的时间,或者第二版15881588V2授时提供的时间,或者时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者第二版1588自适应时钟恢复1588V2ATR授时提供的时间。The synchronization device according to any one of claims 1 to 6, wherein the reference time of the reference base station is the time provided by the GNSS GNSS timing, or the time provided by the second edition 15881588V2 timing, or time The time provided by the information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the second version 1588 adaptive clock recovery 1588V2ATR grant.
  8. 根据权利要求7所述的同步装置,其特征在于,所述装置还包括:The synchronization device according to claim 7, wherein the device further comprises:
    第二接收模块,用于当所述基准基站的基准时间为通过时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者1588V2ATR授时的基站提供的时间时,接收扩大缓存消息,所述扩大缓存消息 用于指示所述待同步基站扩大所述待同步基站的先入先出队列FIFO。a second receiving module, configured to receive an extended buffer when a reference time of the reference base station is a time provided by a time information protocol NTP grant, or a time provided by a simple time information protocol SNTP grant, or a time provided by a base station of a 1588 V2 ATR grant Message, the expanded cache message The first-in first-out queue FIFO for indicating that the base station to be synchronized expands the base station to be synchronized.
  9. 根据权利要求4所述的同步装置,其特征在于,A synchronizing device according to claim 4, wherein
    所述同步模块,还用于将所述装置与备选基准基站进行绝对时间同步,所述备选基准基站为替换所述出现故障的基准基站的基站,其中所述装置与所述备选基准基站进行绝对时间同步的方式与所述装置与所述基准基站进行绝对时间同步的方式相同。The synchronization module is further configured to perform absolute time synchronization with the candidate base station, where the candidate base station is a base station that replaces the failed base station, wherein the device and the candidate reference are The manner in which the base station performs absolute time synchronization is the same as the manner in which the apparatus performs absolute time synchronization with the reference base station.
  10. 根据权利要求9所述的同步装置,其特征在于,所述装置还包括:The synchronization device according to claim 9, wherein the device further comprises:
    执行模块,用于执行与广播多播业务中心BMSC设备之间广播多播业务的传输。An execution module, configured to perform transmission of a broadcast multicast service with a broadcast multicast service center BMSC device.
  11. 一种同步装置,其特征在于,所述装置应用于待同步基站,所述待同步基站为与基准基站的帧号同步和帧定时同步的基站,所述基准基站为向所述待同步基站提供基准时间、基准帧号和基准帧定时的基站,所述装置包括:A synchronization device, wherein the device is applied to a base station to be synchronized, the base station to be synchronized is a base station that synchronizes frame number synchronization and frame timing with a reference base station, and the reference base station provides to the base station to be synchronized The base station of the reference time, the reference frame number, and the reference frame timing, the device includes:
    存储器,用于存储包括程序指令的信息;a memory for storing information including program instructions;
    处理器,与所述存储器耦合,用于控制所述程序指令的执行,具体用于获得第一帧号和第一帧定时,所述第一帧号为所述待同步基站与所述基准帧号同步后的帧号,所述第一帧定时为所述待同步基站与所述基准帧定时同步后的帧定时;通过第一授时设备获取时间信息,根据所述时间信息获得第二帧号和第二帧定时;通过所述第一帧号与所述第二帧号得到帧号偏差;和通过所述第一帧定时和所述第二帧定时,得到帧定时偏差;根据所述帧号偏差和所述帧定时偏差,完成与所述基准基站的基准时间同步。a processor, coupled to the memory, for controlling execution of the program instruction, specifically for obtaining a first frame number and a first frame timing, where the first frame number is the to-be-synchronized base station and the reference frame a frame number after synchronization, the first frame timing is a frame timing after the base station to be synchronized is synchronized with the reference frame timing; obtaining time information by the first timing device, and obtaining a second frame number according to the time information And a second frame timing; obtaining a frame number deviation by using the first frame number and the second frame number; and obtaining a frame timing deviation by using the first frame timing and the second frame timing; according to the frame The number deviation and the frame timing deviation are synchronized with the reference time of the reference base station.
  12. 根据权利要求11所述的同步装置,其特征在于,当所述时间信息包括协调世界时UTC时间时,所述处理器,还用于获取授时设备提供的UTC时间;结合闰秒信息,将所述UTC时间转换成全球定位系统GPS时间;将所述GPS时间转换成所述第二帧号和所述第二帧定时。 The synchronization device according to claim 11, wherein when the time information includes a Coordinated Universal Time UTC time, the processor is further configured to acquire a UTC time provided by the timing device; Translating the UTC time into a global positioning system GPS time; converting the GPS time into the second frame number and the second frame timing.
  13. 根据权利要求11或12所述的同步装置,其特征在于,A synchronizing device according to claim 11 or 12, characterized in that
    所述处理器,还用于将所述帧号偏差和帧定时偏差转换成时间差值;通过所述时间差值对所述时间信息进行校准,完成与所述基准基站的绝对时间同步。The processor is further configured to convert the frame number deviation and the frame timing deviation into a time difference value; and the time information is calibrated by the time difference to complete absolute time synchronization with the reference base station.
  14. 根据权利要求13所述的同步装置,其特征在于,所述装置还包括:接收器;The synchronization device according to claim 13, wherein the device further comprises: a receiver;
    所述接收器,用于接收所述基准基站发送的告警信息,所述告警信息用于表示所述时间差值大于等于预定时间差值。The receiver is configured to receive the alarm information sent by the reference base station, where the alarm information is used to indicate that the time difference is greater than or equal to a predetermined time difference.
  15. 根据权利要求11-14中任一项所述的同步装置,其特征在于,A synchronizing device according to any one of claims 11-14, characterized in that
    所述处理器,还用于将所述装置同步于第一参考源,完成与所述基准基站之间的频率同步,所述第一参考源与所述基准基站同步的参考源相同。The processor is further configured to synchronize the device to the first reference source to complete frequency synchronization with the reference base station, where the first reference source is the same as the reference source synchronized with the reference base station.
  16. 根据权利要求11-14中任一项所述的同步装置,其特征在于,A synchronizing device according to any one of claims 11-14, characterized in that
    所述处理器,还用于将所述装置同步于第二参考源,确定所述装置与所述基准基站之间的频率偏差,所述第二参考源与所述基准基站同步的参考源不同;当所述频率偏差小于预定频率偏差时,继续同步于所述第二参考源。The processor is further configured to synchronize the device with a second reference source to determine a frequency offset between the device and the reference base station, where the second reference source is different from a reference source synchronized with the reference base station When the frequency deviation is less than the predetermined frequency deviation, synchronization with the second reference source continues.
  17. 根据权利要求11-16中任一项所述的同步装置,其特征在于,所述基准基站的基准时间为全球导航卫星系统GNSS授时提供的时间,或者第二版15881588V2授时提供的时间,或者时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者第二版1588自适应时钟恢复1588V2ATR授时提供的时间。The synchronization device according to any one of claims 11-16, wherein the reference time of the reference base station is the time provided by the GNSS GNSS grant, or the time provided by the second edition 15881588V2 timing, or time The time provided by the information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the second version 1588 adaptive clock recovery 1588V2ATR grant.
  18. 根据权利要求14所述的同步装置,其特征在于,所述装置还包括:The synchronization device according to claim 14, wherein the device further comprises:
    所述接收器,还用于当所述基准基站的基准时间为通过时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者1588V2ATR授时的基站提供的时间时,接收扩大缓存消息,所述扩大缓存消息用于指示所述待同步基站扩大所述待同步基站的先入先出队列FIFO。 The receiver is further configured to: when the reference time of the reference base station is the time provided by the time information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the base station of the 1588V2 ATR grant, the receiving extension The cached message is used to indicate that the to-be-synchronized base station expands the first-in first-out queue FIFO of the to-be-synchronized base station.
  19. 根据权利要求14所述的同步装置,其特征在于,The synchronizing device according to claim 14, wherein
    所述处理器,还用于将所述装置与备选基准基站进行绝对时间同步,所述备选基准基站为替换所述出现故障的基准基站的基站,其中所述装置与所述备选基准基站进行绝对时间同步的方式与所述装置与所述基准基站进行绝对时间同步的方式相同。The processor is further configured to perform absolute time synchronization with the candidate base station, where the candidate base station is a base station that replaces the failed base station, wherein the device and the candidate reference are The manner in which the base station performs absolute time synchronization is the same as the manner in which the apparatus performs absolute time synchronization with the reference base station.
  20. 根据权利要求19所述的同步装置,其特征在于,A synchronizing device according to claim 19, wherein
    所述处理器,还用于执行与广播多播业务中心BMSC设备之间广播多播业务的传输。The processor is further configured to perform transmission of a broadcast multicast service with a broadcast multicast service center BMSC device.
  21. 一种同步方法,其特征在于,所述方法应用于待同步基站,所述待同步基站为与基准基站的帧号同步和帧定时同步的基站,所述基准基站为向所述待同步基站提供基准时间、基准帧号和基准帧定时的基站,所述方法包括:A synchronization method, the method is applied to a base station to be synchronized, the base station to be synchronized is a base station that synchronizes with a frame number of a reference base station and frame timing, and the reference base station provides the base station to be synchronized Base station for reference time, reference frame number, and reference frame timing, the method includes:
    所述待同步基站获得第一帧号和第一帧定时,所述第一帧号为所述待同步基站与所述基准帧号同步后的帧号,所述第一帧定时为所述待同步基站与所述基准帧定时同步后的帧定时;The base station to be synchronized obtains a first frame number and a first frame timing, where the first frame number is a frame number after the base station to be synchronized is synchronized with the reference frame number, and the first frame timing is the a frame timing after the synchronization base station synchronizes with the reference frame timing;
    所述待同步基站通过第一授时设备获取时间信息,根据所述时间信息获得第二帧号和第二帧定时;The base station to be synchronized acquires time information by using the first timing device, and obtains a second frame number and a second frame timing according to the time information;
    所述待同步基站通过所述第一帧号与所述第二帧号得到帧号偏差;并通过所述第一帧定时和所述第二帧定时,得到帧定时偏差;The base station to be synchronized obtains a frame number deviation by using the first frame number and the second frame number; and obtains a frame timing deviation by using the first frame timing and the second frame timing;
    所述待同步基站根据所述帧号偏差和所述帧定时偏差,完成与所述基准基站的基准时间同步。The base station to be synchronized completes synchronization with the reference time of the reference base station according to the frame number deviation and the frame timing deviation.
  22. 根据权利要求21所述的同步方法,其特征在于,当所述时间信息包括协调世界时UTC时间时,所述待同步基站通过第一授时设备获取时间信息,根据所述时间信息获得第二帧号和第二帧定时,包括:The synchronization method according to claim 21, wherein when the time information includes a Coordinated Universal Time UTC time, the to-be-synchronized base station acquires time information by using a first timing device, and obtains a second frame according to the time information. Number and second frame timing, including:
    所述待同步基站获取授时设备提供的UTC时间; The base station to be synchronized acquires a UTC time provided by the timing device;
    结合闰秒信息,将所述UTC时间转换成全球定位系统GPS时间;Converting the UTC time into a global positioning system GPS time in combination with leap second information;
    将所述GPS时间转换成所述第二帧号和所述第二帧定时。Converting the GPS time to the second frame number and the second frame timing.
  23. 根据权利要求21或22所述的同步方法,其特征在于,所述待同步基站根据所述帧号偏差和所述帧定时偏差,完成与所述基准基站的基准时间同步,包括:The synchronization method according to claim 21 or 22, wherein the base station to be synchronized completes the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation, and includes:
    所述待同步基站将所述帧号偏差和帧定时偏差转换成时间差值;The base station to be synchronized converts the frame number deviation and the frame timing deviation into a time difference value;
    所述待同步基站通过所述时间差值对所述时间信息进行校准,完成与所述基准基站的绝对时间同步。The base station to be synchronized performs calibration on the time information by using the time difference to complete absolute time synchronization with the reference base station.
  24. 根据权利要求23所述的同步方法,其特征在于,在所述待同步基站将所述帧号偏差和帧定时偏差转换成时间差值之后,所述方法还包括:The synchronization method according to claim 23, wherein after the base station to be synchronized converts the frame number deviation and the frame timing deviation into a time difference value, the method further includes:
    所述待同步基站接收所述基准基站发送的告警信息,所述告警信息用于表示所述时间差值大于等于预定时间差值。The base station to be synchronized receives the alarm information sent by the reference base station, and the alarm information is used to indicate that the time difference is greater than or equal to a predetermined time difference.
  25. 根据权利要求21-24中任一项所述的同步方法,其特征在于,在所述待同步基站获得第一帧号和第一帧定时之前,所述方法还包括:The synchronization method according to any one of claims 21 to 24, wherein before the obtaining, by the base station to be synchronized, the first frame number and the first frame timing, the method further comprises:
    所述待同步基站同步于第一参考源,完成与所述基准基站之间的频率同步,所述第一参考源与所述基准基站同步的参考源相同。The base station to be synchronized is synchronized with the first reference source to complete frequency synchronization with the reference base station, and the first reference source is the same as the reference source synchronized with the reference base station.
  26. 根据权利要求21-24中任一项所述的同步方法,其特征在于,在所述待同步基站获得第一帧号和第一帧定时之前,所述方法还包括:The synchronization method according to any one of claims 21 to 24, wherein before the obtaining, by the base station to be synchronized, the first frame number and the first frame timing, the method further comprises:
    所述待同步基站同步于第二参考源,确定所述待同步基站与所述基准基站之间的频率偏差,所述第二参考源与所述基准基站同步的参考源不同;The base station to be synchronized is synchronized with the second reference source to determine a frequency offset between the base station to be synchronized and the reference base station, and the second reference source is different from the reference source synchronized by the reference base station;
    当所述频率偏差小于预定频率偏差时,所述待同步基站继续同步于所述第二参考源。When the frequency deviation is less than a predetermined frequency deviation, the to-be-synchronized base station continues to synchronize with the second reference source.
  27. 根据权利要求21-26中任一项所述的同步方法,其特征在于,所述基准基站的基准时间为全球导航卫星系统GNSS授时提供的时间,或者第二版1588 1588V2授时提供的时间,或者时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者第二版1588自适应时钟恢复1588V2ATR授时提供的时间。The synchronization method according to any one of claims 21 to 26, wherein the reference time of the reference base station is the time provided by the Global Navigation Satellite System (GNSS) GNSS, or the second version 1588 The time provided by the 1588V2 grant, or the time provided by the time information protocol NTP grant, or the time provided by the simple time information protocol SNTP grant, or the time provided by the second edition 1588 adaptive clock recovery 1588V2ATR grant.
  28. 根据权利要求27所述的同步方法,其特征在于,当所述基准基站的基准时间为通过时间信息协议NTP授时提供的时间、或者简单时间信息协议SNTP授时提供的时间、或者1588V2ATR授时的基站提供的时间时,所述方法还包括:The synchronization method according to claim 27, wherein the reference time of the reference base station is a time provided by a time information protocol NTP grant, or a time provided by a simple time information protocol SNTP grant, or a base station provided by a 1588 V2 ATR grant At the time of the method, the method further includes:
    所述待同步基站接收扩大缓存消息,所述扩大缓存消息用于指示所述待同步基站扩大所述待同步基站的先入先出队列FIFO。The base station to be synchronized receives the extended cache message, and the extended cache message is used to indicate that the base station to be synchronized expands the first-in first-out queue FIFO of the base station to be synchronized.
  29. 根据权利要求24所述的同步方法,其特征在于,所述通信系统还包括备选基准基站,所述备选基准基站为替换所述出现故障的基准基站的基站;在所述待同步基站接收所述基准基站发送的告警信息之后,所述方法还包括:The synchronization method according to claim 24, wherein said communication system further comprises an alternative reference base station, said candidate base station being a base station replacing said failed base station; receiving at said base station to be synchronized After the alarm information sent by the reference base station, the method further includes:
    所述待同步基站与所述备选基准基站进行绝对时间同步,其中所述待同步基站与所述备选基准基站进行绝对时间同步的方式与所述待同步基站与所述基准基站进行绝对时间同步的方式相同。The base station to be synchronized performs absolute time synchronization with the candidate base station, wherein the method in which the base station to be synchronized and the candidate base station perform absolute time synchronization and the base station to be synchronized and the base station perform absolute time The way to synchronize is the same.
  30. 根据权利要求21-29中任一项所述的同步方法,其特征在于,在所述待同步基站根据所述帧号偏差和所述帧定时偏差,完成与所述基准基站的基准时间同步之后,所述方法还包括:The synchronization method according to any one of claims 21 to 29, wherein after the base station to be synchronized completes the reference time synchronization with the reference base station according to the frame number deviation and the frame timing deviation The method further includes:
    所述待同步基站执行与广播多播业务中心BMSC设备之间广播多播业务的传输。 The base station to be synchronized performs transmission of a broadcast multicast service with a broadcast multicast service center BMSC device.
PCT/CN2014/090118 2014-10-31 2014-10-31 Synchronization device and method WO2016065642A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480009505.2A CN105960820B (en) 2014-10-31 2014-10-31 A kind of synchronizing device and method
PCT/CN2014/090118 WO2016065642A1 (en) 2014-10-31 2014-10-31 Synchronization device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/090118 WO2016065642A1 (en) 2014-10-31 2014-10-31 Synchronization device and method

Publications (2)

Publication Number Publication Date
WO2016065642A1 true WO2016065642A1 (en) 2016-05-06
WO2016065642A8 WO2016065642A8 (en) 2016-08-11

Family

ID=55856453

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090118 WO2016065642A1 (en) 2014-10-31 2014-10-31 Synchronization device and method

Country Status (2)

Country Link
CN (1) CN105960820B (en)
WO (1) WO2016065642A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI773524B (en) * 2021-09-13 2022-08-01 中華電信股份有限公司 A time synchronization method used in a precision time protocol system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109699068B (en) * 2017-10-20 2021-05-28 阿里巴巴集团控股有限公司 Base station synchronization method and device
CN111757457B (en) 2019-03-29 2022-03-29 华为技术有限公司 Method and apparatus for uplink timing synchronization
CN112153731B (en) * 2019-06-27 2022-05-31 华为技术有限公司 Clock adjustment method and communication device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101384019A (en) * 2007-09-06 2009-03-11 大唐移动通信设备有限公司 Method, apparatus implementing base station synchronization and base station
CN101945468A (en) * 2009-07-08 2011-01-12 大唐移动通信设备有限公司 Method, system and device for clock synchronization
CN103139809A (en) * 2011-12-02 2013-06-05 中兴通讯股份有限公司 Clock synchronization method and device
WO2014094311A1 (en) * 2012-12-21 2014-06-26 华为技术有限公司 Air interface synchronization method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006246440A (en) * 2005-02-03 2006-09-14 Toshiba Corp Wireless communication terminal and handover control method
CN100576835C (en) * 2005-12-12 2009-12-30 北京北方烽火科技有限公司 A kind of combined time synchronization method that is used for WiMAX system base-station receiving terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101384019A (en) * 2007-09-06 2009-03-11 大唐移动通信设备有限公司 Method, apparatus implementing base station synchronization and base station
CN101945468A (en) * 2009-07-08 2011-01-12 大唐移动通信设备有限公司 Method, system and device for clock synchronization
CN103139809A (en) * 2011-12-02 2013-06-05 中兴通讯股份有限公司 Clock synchronization method and device
WO2014094311A1 (en) * 2012-12-21 2014-06-26 华为技术有限公司 Air interface synchronization method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI773524B (en) * 2021-09-13 2022-08-01 中華電信股份有限公司 A time synchronization method used in a precision time protocol system

Also Published As

Publication number Publication date
WO2016065642A8 (en) 2016-08-11
CN105960820B (en) 2019-05-24
CN105960820A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN110324889B (en) Clock synchronization method, communication device and communication equipment
EP3550899B1 (en) Method and apparatus for determining clock time deviation between terminal and base station
US11177896B2 (en) Time synchronization device and time synchronization method
JP6384697B2 (en) Synchronization method, synchronization device, and base station
US20150103818A1 (en) Transport and error compensation of a globally synchronized time-base
US8689035B2 (en) Communication system, communication interface, and synchronization method
WO2017148445A1 (en) Synchronization method, node device and wireless mesh network system
US11038608B2 (en) Frequency synchronization method and slave clock
CN113328820B (en) Method for interacting time synchronization message and network device
WO2022011650A1 (en) Ranging method and apparatus in synchronization system, device and readable storage medium
US11800474B2 (en) Methods, second node and apparatus for determining clock asynchronization
WO2016065642A1 (en) Synchronization device and method
WO2017076195A1 (en) Clock synchronization method, and synchronization information transmission method and apparatus
US20220360350A1 (en) Method and apparatus for acquiring timestamp of data stream, storage medium, and electronic apparatus
US20220006547A1 (en) Systems and methods for testing time distribution
US10420048B2 (en) Radio network synchronization of a mobile communication network with a local clock functionality providing a local timing reference for each base station entity
US20240040526A1 (en) Time of Arrival Method for UE Positioning in Distributed RAN System Architecture
KR101232929B1 (en) Method and apparatus for time synchronization of distributed nodes over wideband high frequency wireless

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14904779

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14904779

Country of ref document: EP

Kind code of ref document: A1