WO2012155700A1 - Method and device for locking failure determination and synchronization maintenance for global positioning system - Google Patents

Method and device for locking failure determination and synchronization maintenance for global positioning system Download PDF

Info

Publication number
WO2012155700A1
WO2012155700A1 PCT/CN2012/073212 CN2012073212W WO2012155700A1 WO 2012155700 A1 WO2012155700 A1 WO 2012155700A1 CN 2012073212 W CN2012073212 W CN 2012073212W WO 2012155700 A1 WO2012155700 A1 WO 2012155700A1
Authority
WO
WIPO (PCT)
Prior art keywords
gps
station
site
neighboring
synchronized
Prior art date
Application number
PCT/CN2012/073212
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2012155700A1 publication Critical patent/WO2012155700A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0644External master-clock

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a global positioning system locking failure determination and synchronization holding method and apparatus. Background technique
  • TDD LTE Time Division Duplexing LTE
  • Long Term Evolution Long Term Evolution
  • GPS Global Positioning System
  • GPS equipment Since GPS equipment is generally installed outdoors, affected by various conditions, installation, interference, aging, and many other factors, there is a certain probability of failure, and the number of faults is greatly increased due to the number of stations.
  • the site itself cannot judge. If this phenomenon occurs, the background network management is basically a blind state because there is no warning indication. How to find out the problematic site from thousands of sites? There is currently no good solution. In addition, the background network management even if there is an alarm indication, before the GPS synchronization problem is solved, the GPS appears.
  • the problem of the base station, how to keep it synchronized with other base stations, does not affect the performance of the entire network, there is no good solution. Summary of the invention
  • the embodiments of the present invention are directed to a method and a device for locking failure determination and synchronization of a global positioning system, which are used to solve the problem in the prior art that it is impossible to determine whether a base station actually locks a GPS station and after a GPS problem occurs. A problem that may be surrendered.
  • the embodiment of the present invention provides a method for determining the GPS lock failure of the global positioning system and the method for maintaining the synchronization.
  • the base stations are connected in advance through the X2 port to form a GPS clock network.
  • the method includes:
  • Each GPS station sends test frames to all GPS neighboring stations on a periodic basis or as needed; for each GPS station, whether the GPS site is associated with each by the test frame transmission time, reception time, and test response frame arrival time GPS neighboring station synchronization;
  • GPS station It is determined whether more than half of the GPS neighboring stations are synchronized with the GPS station, and if so, it is determined that the GPS station is a locked station, otherwise the GPS station is determined to be a lost lock station.
  • the GPS neighboring station Preferably, for the GPS neighboring station that is not synchronized with the GPS, it is determined whether the GPS neighboring station is synchronized with its GPS neighboring station to determine whether the GPS neighboring station is a lost lock station.
  • the method further includes:
  • the drift of the lost lock station clock is determined by the time stamp provided by the GPS neighboring station or the predetermined GPS token site.
  • the method includes: calculating a theoretical receiving time of the GPS neighboring station or the predetermined GPS token station according to the sending time of the GPS station, the GPS neighboring station, or the arrival time of the predetermined GPS token station feedback test response frame;
  • the GPS token site is synchronized.
  • determining whether the GPS station is synchronized with each GPS neighboring station comprises: calculating, for each transmission test frame, according to the sending time of the GPS station and the arrival time of the GPS neighboring station standing feedback test response frame, The theoretical receiving time of the GPS neighboring station; calculating a difference between the theoretical receiving time of the GPS neighboring station and the actual receiving time, and obtaining a clock difference between the GPS station and the GPS neighboring station;
  • the method further includes:
  • the predetermined GPS token site is synchronized with the GPS site, and if so, the GPS site is determined to be the locked site, otherwise the GPS site is determined to be unlocked. Site.
  • the embodiment of the present invention further provides a GPS positioning failure determination and synchronization holding system of the global positioning system, and each base station is connected in advance through the X2 port to form a GPS clock network, and the system includes: a test initiation module and a test judgment module. , among them,
  • test initiation module configured to trigger each GPS station to send test frames to all GPS neighboring stations on a periodic basis or as needed
  • the test judging module is configured to, for each GPS station, determine whether the GPS station is synchronized with each GPS neighboring station by sending time of the test frame, receiving time, and arrival time of the test response frame;
  • test judging module is further configured to:
  • the GPS neighboring station determines whether the GPS neighboring site is The GPS neighboring station is synchronized to determine whether the GPS neighboring site is a lost lock site.
  • the test judging module is further configured to determine, by a GPS neighboring station or a time stamp provided by the predetermined GPS token station, a drift of the lost lock station clock for a lost lock station.
  • test judging module is further configured to calculate, according to the sending time of the GPS station and the arrival time of the GPS neighboring station feedback feedback test frame, for each transmission test frame, to calculate the GPS neighbor.
  • the test judging module is further configured to: when exactly half of the GPS neighboring stations are synchronized with the GPS station, further determine whether the predetermined GPS token station is synchronized with the GPS station, and if yes, The GPS site is determined to be a locked site, otherwise the GPS site is determined to be a lost lock site.
  • the embodiment of the invention can solve the problem of how to determine whether the GPS is really locked in the TDD LTE wireless communication, and how to keep the base station from retreating after some GPS problems occur.
  • FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a system according to an embodiment of the present invention. detailed description
  • each eNodeB (evolved NodeB, the name of the base station in LTE) is directly connected through the X2 port interface, and the X2 port is switched between the adjacent areas, and X2 must be maintained. Synchronization.
  • each eNodeB needs to be connected through the X2 port, and a multi-GPS clock network is formed according to the X2 network.
  • FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention, which may specifically include the following steps:
  • Step 101 For ease of implementation, first set a synchronization site set and an out-of-synchronization site set, where the synchronization site set is used to record a normal locked site, and the out-of-synchronization site set is used to record a lost lock site; and, the synchronization site set
  • the initial state can be to add all GPS stations, and assume that these GPS stations are all locked sites.
  • the stations that are not really locked, that is, the lost lock sites are gradually eliminated, and the lost lock sites are added to the out-of-synchronization site.
  • the initial state of the synchronization site set may also be a GPS site or not, and gradually join the normally locked site in the subsequent judgment process; or it may first select several normally locked GPS sites to join the synchronization site set, and then follow the judgment process. Continuously adding other normally locked GPS sites; in the embodiment of the present invention, the last mode is used to set the initial state of the synchronous site set, and three normally locked sites are selected and added to the synchronization site set;
  • Step 102 As a preferred embodiment of the present invention, a GPS station is randomly selected from the synchronization site set as a GPS token site; of course, the step may be omitted, that is, the synchronization test is performed according to all GPS neighboring sites;
  • Step 103 Each GPS station (including initially joining the synchronization site set and not joining) sends test frames to all of its own GPS neighboring sites and GPS token sites on a periodic basis or as needed;
  • Step 104 According to the Ethernet sending mirror relationship, the GPS station can determine whether the GPS station is synchronized with its GPS neighboring station by using a timestamp. If not, go to step 105; otherwise, go to step 106;
  • the process of judging whether the GPS station is synchronized with each GPS neighboring station specifically includes: sending a test frame by a certain GPS station as an example (assuming GPS station A), if the sending time of the GPS station A is set to Tl, the GPS neighboring station site The receiving time of B is T2, and the arrival time of the GPS neighboring station B feedback test response frame is T3 (that is, the time when the test response frame arrives at GPS station A).
  • the GPS neighboring station is out of lock, that is, the GPS neighboring station is not synchronized with the GPS station A. Otherwise, the GPS neighboring station is synchronized with the GPS station A; whether the GPS station A is synchronized with other GPS neighboring stations and the GPS token Judgment, the same as the previous example process;
  • the principle of synchronization judgment is:
  • the minority obeys the majority principle, that is, if more than half of the GPS neighboring sites are synchronized with the GPS site, it can be determined that the GPS site is synchronized, that is, the GPS site is considered to be a locked site and added to The synchronization site is centralized; otherwise, the GPS site is determined to be a lost lock site and added to the out-of-synchronization site set.
  • GPS site For the case where exactly more than half of the GPS neighboring stations are synchronized with the GPS site, it is also necessary to determine whether the GPS token site is also synchronized with the GPS site, and if so, it can be determined that the GPS site is synchronized, that is, the The GPS site locks the site and joins it to the sync site set; otherwise, it determines that the GPS site is a lost lock site and joins it to the out-of-synchronization site set.
  • Step 105 If the GPS site originally belongs to the synchronization site set, the GPS site is removed from the synchronization site, put into the out-of-synchronization site set, and its state is changed to rely on other GPS neighboring sites or GPS token site synchronization. If the GPS site is not in the synchronization site set, the GPS site is directly placed in the out-of-synchronization site set; the GPS site is placed in the out-of-step site set and executed. Step 108, that is, after the GPS station is restored (after the deviation is less than a predetermined threshold), returning from the out-of-synchronization site set to the synchronization site set;
  • the time interval provided by the GPS neighboring station or the predetermined GPS token site can be used to determine the drift of the clock and make it lose lock.
  • the state may also be synchronized; the specifics include: calculating the theoretical reception of the GPS neighboring station or the predetermined GPS token site according to the sending time of the GPS station, the GPS neighboring station or the scheduled GPS token site feedback test response frame arrival time Time; then calculate the difference between the theoretical reception time of the GPS neighboring station or the predetermined GPS token site and the actual receiving time of the GPS neighboring station or the predetermined GPS token station, and obtain the GPS station and the GPS neighboring station or the predetermined GPS token.
  • the clock difference of the station (refer to step 104 for clock difference calculation); and then correct the time of the lost lock station according to the clock difference, so as to be synchronized with the GPS neighbor station or the predetermined GPS token station in the unlocked state.
  • Step 106 For a GPS neighboring station (such as GPS station B) that is not synchronized with the GPS station, confirm whether the GPS station B is synchronized with its GPS neighboring station, and if yes, go to step 107; otherwise, go to step 108;
  • a GPS neighboring station such as GPS station B
  • Step 107 Add GPS station B to the synchronization site set
  • Step 108 Restart the synchronization test, and go to step 104.
  • FIG. 2 is a schematic structural diagram of an apparatus according to an embodiment of the present invention, which may specifically include: a test initiation module and a test determination module, where
  • test initiation module configured to trigger each GPS station to send test frames to all GPS neighboring stations on a periodic basis or as needed
  • the test judging module is configured to, for each GPS station, determine whether the GPS station is synchronized with each GPS neighboring station station by using a test frame transmission time, a receiving time, and a test response frame arrival time; and determining whether more than half of the GPS stations are The GPS neighboring site is synchronized with the GPS site: If yes, it is determined that the GPS site is a locked site, otherwise it is determined that the GPS site is a lost lock site.
  • the process of judging whether the GPS station is synchronized with each GPS neighboring station specifically includes: sending a test frame by a certain GPS station as an example (assuming GPS station A), if the sending time of the GPS station A is set to Tl, the GPS neighboring The receiving time of the station B is T2, and the arrival time of the feedback test response frame of the GPS neighboring station B is T3 (that is, the time when the test response frame arrives at the GPS station A).
  • the receiving time of the GPS neighboring station B is T2
  • the principle of synchronization judgment is:
  • the minority obeys the majority principle, that is, if more than half of the GPS neighboring sites are synchronized with the GPS site, it can be determined that the GPS site is synchronized, that is, the GPS site is considered to be a locked site and added to The synchronization site is centralized; otherwise, the GPS site is determined to be a lost lock site and added to the out-of-synchronization site set.
  • GPS site For the case where exactly more than half of the GPS neighboring stations are synchronized with the GPS site, it is also necessary to determine whether the GPS token site is also synchronized with the GPS site, and if so, it can be determined that the GPS site is synchronized, that is, the The GPS site locks the site and joins it to the sync site set; otherwise, it determines that the GPS site is a lost lock site and joins it to the out-of-synchronization site set.
  • test judging module For the GPS neighboring station that is not synchronized with the GPS, the test judging module needs to further judge the
  • GPS neighboring site is synchronized with its GPS neighboring site to determine whether the GPS neighboring site is a lost lock site.
  • the test judging module also determines the drift of the lost lock station clock through the time stamp provided by the GPS neighboring station or the predetermined GPS token station, that is, according to the sending time of the GPS station, the GPS neighboring station site. Or scheduled GPS token site feedback test response frame The arrival time, calculate the theoretical reception time of the GPS neighboring station or the predetermined GPS token site; then calculate the theoretical reception time of the GPS neighboring station or the predetermined GPS token site and the actual location of the GPS neighboring station or the predetermined GPS token site Receiving the difference of the time, obtaining the clock difference between the GPS station and the GPS neighboring station or the predetermined GPS token station; and further correcting the time of the lost lock station according to the clock difference, so as to be in the unlocked state and the GPS neighboring area
  • the site or scheduled GPS token site is synchronized.
  • the embodiments of the present invention provide a method and a device for locking and determining the synchronization of the global positioning system, and utilizing the characteristics of the flat network of the X2 in the LTE to form a GPS clock resource pool; each GPS station passes The sending time of the test frame, the receiving time, and the arrival time of the test response frame, determine whether the GPS station is synchronized with the GPS neighboring station, that is, whether the GPS is really locked; if the GPS station is in an unlocked state, that is, the base station is not correct.
  • the GPS is locked and synchronized by using the time stamp provided by the GPS neighboring station or the GPS token site to achieve the goal of not surrendering. In some places where GPS sites are installed intensively, you can also synchronize the ability to synchronize sites that do not have GSP installed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

Disclosed are a method and device for locking failure determination and synchronization maintenance for a global positioning system (GPS). The method comprises: pre-connecting base stations through X2 interfaces, to form a GPS clock network; each GPS station sending a test frame to all GPS neighbor stations regularly or as required; each GPS station determining, according to the sending time and the receiving time of the test frame and the arrival time of a test response frame, whether the GPS station is synchronous with each GPS neighbor station; and determining whether more than half of the GPS neighbor stations are synchronous with the GPS station, and if yes, determining that the GPS station is a locked station, and otherwise, determining that the GPS station is an unlocked station. Through the present invention, in Time Division Duplexing Long Term Evolution (TDD LTE) wireless communication, it can be determined whether a GPS is really in a locked state, and after some GPSes are faulty, a base station can continue a service.

Description

全球定位***锁定失效判定及同步保持的方法及装置 技术领域  Method and device for global positioning system locking failure determination and synchronization maintenance
本发明涉及通信技术领域, 尤其涉及一种全球定位***锁定失效判定 及同步保持的方法及装置。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a global positioning system locking failure determination and synchronization holding method and apparatus. Background technique
TDD ( Time Division Duplexing ,时分双工 ) LTE ( Long Term Evolution , 长期演进)是一种无线通信***, 在该***中, 同步是一个非常重要的步 驟, 没有同步, TDD LTE就根本无法组网; 没有同步, 会带来各个小区的 严重的相互干扰, 导致切换失败, 流量下降等等问题, 也就是说, 同步是 TDD LTE***的一个重要的技术基础。  TDD (Time Division Duplexing) LTE (Long Term Evolution) is a wireless communication system in which synchronization is a very important step. Without synchronization, TDD LTE cannot be networked at all. If there is no synchronization, it will cause serious mutual interference of each cell, resulting in handover failure, traffic loss, etc. That is, synchronization is an important technical basis of the TDD LTE system.
在实际中, 会发现 GPS (全球定位***) 的锁定情况并不能从网管后 台完全准确的反馈出来, 有时候 GPS处在一个开路的状态, 或者连接并不 完全好的情况下, 设备也能锁定 GPS, 后台网管没有 GPS告警显示, 但实 际上该 GPS连接基站是有比较严重的定时偏差。 另外一种情况就是当 GPS 频点存在干扰情况, 导致部分站点的 GPS信号出现波动, 也会导致这些站 点并不完全和其它站点同步。  In practice, it will be found that the GPS (Global Positioning System) locking situation cannot be completely and accurately reported from the network management background. Sometimes the GPS is in an open state, or the connection is not completely good, the device can also be locked. GPS, the background network management does not have a GPS alarm display, but in fact, the GPS connection base station has a relatively serious timing deviation. Another situation is that when there is interference at the GPS frequency, the GPS signals of some stations fluctuate, and these sites are not completely synchronized with other sites.
由于 GPS设备一般安装在室外, 受各种条件的影响, 安装, 干扰, 老 化等众多因素影响, 有一定的故障概率, 且由于站点众多大大增加故障发 生概率。  Since GPS equipment is generally installed outdoors, affected by various conditions, installation, interference, aging, and many other factors, there is a certain probability of failure, and the number of faults is greatly increased due to the number of stations.
对于这种 GPS本身出现的问题, 站点自身无法判断, 一旦出现这种现 象, 那么后台网管由于没有告警指示, 基本上是一个盲状态, 如何从几千 个站点中把这个有问题的站点找出来, 目前尚未有很好的解决办法。 另夕卜, 后台网管即便有告警指示, 在没有解决 GPS同步问题之前, 对于 GPS出现 问题的基站, 如何能让其保持同其它基站的同步, 不影响整个网络的性能, 目前也尚未有 ^艮好的解决办法。 发明内容 For the problem of the GPS itself, the site itself cannot judge. If this phenomenon occurs, the background network management is basically a blind state because there is no warning indication. How to find out the problematic site from thousands of sites? There is currently no good solution. In addition, the background network management even if there is an alarm indication, before the GPS synchronization problem is solved, the GPS appears. The problem of the base station, how to keep it synchronized with other base stations, does not affect the performance of the entire network, there is no good solution. Summary of the invention
有鉴于此, 本发明实施例旨在提供一种全球定位***锁定失效判定及 同步保持的方法及装置, 用以解决现有技术中存在的不能判断基站是否真 正锁定 GPS站点以及在 GPS出现问题后可能会退服的问题。  In view of this, the embodiments of the present invention are directed to a method and a device for locking failure determination and synchronization of a global positioning system, which are used to solve the problem in the prior art that it is impossible to determine whether a base station actually locks a GPS station and after a GPS problem occurs. A problem that may be surrendered.
本发明实施例的目的主要是通过以下技术方案实现的:  The purpose of the embodiments of the present invention is mainly achieved by the following technical solutions:
本发明实施例提供了一种全球定位*** GPS锁定失效判定及同步保持 的方法, 预先将各个基站通过 X2口进行连接, 形成 GPS时钟网络, 则所 述方法包括:  The embodiment of the present invention provides a method for determining the GPS lock failure of the global positioning system and the method for maintaining the synchronization. The base stations are connected in advance through the X2 port to form a GPS clock network. The method includes:
每个 GPS站点按周期或者按需要给所有 GPS邻区站点发送测试帧; 对于每个 GPS站点, 通过测试帧的发送时间、 接收时间以及测试响应 帧的到达时间, 判断该 GPS站点是否与每个 GPS邻区站点同步;  Each GPS station sends test frames to all GPS neighboring stations on a periodic basis or as needed; for each GPS station, whether the GPS site is associated with each by the test frame transmission time, reception time, and test response frame arrival time GPS neighboring station synchronization;
判断是否有一半以上的 GPS邻区站点与该 GPS站点都同步, 如果是, 则判定该 GPS站点为锁定站点, 否则判定该 GPS站点为失锁站点。  It is determined whether more than half of the GPS neighboring stations are synchronized with the GPS station, and if so, it is determined that the GPS station is a locked station, otherwise the GPS station is determined to be a lost lock station.
较佳地, 对于与该 GPS不同步的 GPS邻区站点, 判断该 GPS邻区站 点是否与其 GPS邻区站点同步, 以确定该 GPS邻区站点是否为失锁站点。  Preferably, for the GPS neighboring station that is not synchronized with the GPS, it is determined whether the GPS neighboring station is synchronized with its GPS neighboring station to determine whether the GPS neighboring station is a lost lock station.
较佳地, 还包括:  Preferably, the method further includes:
对于一个失锁站点,通过 GPS邻区站点或者预定 GPS令牌站点提供的 时间戳来判定该失锁站点时钟的漂移情况。 具体包括: 根据该 GPS站点的 发送时间、 GPS邻区站点或预定 GPS令牌站点反馈测试响应帧的达到时间, 计算得到 GPS邻区站点或预定 GPS令牌站点的理论接收时间;  For a lost lock station, the drift of the lost lock station clock is determined by the time stamp provided by the GPS neighboring station or the predetermined GPS token site. The method includes: calculating a theoretical receiving time of the GPS neighboring station or the predetermined GPS token station according to the sending time of the GPS station, the GPS neighboring station, or the arrival time of the predetermined GPS token station feedback test response frame;
计算 GPS邻区站点的理论接收时间与实际接收时间的差, 或者, 预定 GPS 令牌站点的理论接收时间与实际接收时间的差, 得到该 GPS 站点与 GPS邻区站点或与预定 GPS令牌站点的时钟差; 根据该时钟差对该失锁站点的时间进行校正, 与 GPS邻区站点或预定Calculating the difference between the theoretical receiving time of the GPS neighboring station and the actual receiving time, or the difference between the theoretical receiving time of the predetermined GPS token station and the actual receiving time, and obtaining the GPS station and the GPS neighboring station or the predetermined GPS token site Clock difference; Correcting the time of the lost lock station according to the clock difference, with the GPS neighboring station or booking
GPS令牌站点达到同步。 The GPS token site is synchronized.
较佳地, 判断 GPS站点与每个 GPS邻区站点是否同步具体包括: 对于每次发送测试帧, 根据该 GPS站点的发送时间、 该 GPS邻区站定 反馈测试响应帧的达到时间, 计算得到该 GPS邻区站点的理论接收时间; 计算该 GPS 邻区站点的理论接收时间与实际接收时间的差, 得到该 GPS站点与该 GPS邻区站点的时钟差;  Preferably, determining whether the GPS station is synchronized with each GPS neighboring station comprises: calculating, for each transmission test frame, according to the sending time of the GPS station and the arrival time of the GPS neighboring station standing feedback test response frame, The theoretical receiving time of the GPS neighboring station; calculating a difference between the theoretical receiving time of the GPS neighboring station and the actual receiving time, and obtaining a clock difference between the GPS station and the GPS neighboring station;
当该时钟差连续多次大于预定阈值时,判定该 GPS站点与该 GPS邻区 站点不同步。  When the clock difference is continuously greater than a predetermined threshold a plurality of times, it is determined that the GPS station is not synchronized with the GPS neighboring station.
较佳地, 还包括:  Preferably, the method further includes:
如果恰好有一半的 GPS邻区站点与该 GPS站点都同步,则进一步判断 预定 GPS令牌站点是否与该 GPS站点同步, 如果是, 则判定 GPS站点为 锁定站点, 否则判定该 GPS站点为失锁站点。  If exactly half of the GPS neighboring sites are synchronized with the GPS site, it is further determined whether the predetermined GPS token site is synchronized with the GPS site, and if so, the GPS site is determined to be the locked site, otherwise the GPS site is determined to be unlocked. Site.
本发明实施例还提供了一种全球定位*** GPS锁定失效判定及同步保 持的***, 预先将各个基站通过 X2口进行连接, 形成 GPS时钟网络, 则 所述***包括: 测试发起模块以及测试判断模块, 其中,  The embodiment of the present invention further provides a GPS positioning failure determination and synchronization holding system of the global positioning system, and each base station is connected in advance through the X2 port to form a GPS clock network, and the system includes: a test initiation module and a test judgment module. , among them,
测试发起模块, 用于触发每个 GPS站点按周期或者按需要给所有 GPS 邻区站点发送测试帧;  a test initiation module, configured to trigger each GPS station to send test frames to all GPS neighboring stations on a periodic basis or as needed;
测试判断模块, 用于对于每个 GPS站点, 通过测试帧的发送时间、 接 收时间以及测试响应帧的到达时间,判断该 GPS站点是否与每个 GPS邻区 站点同步;  The test judging module is configured to, for each GPS station, determine whether the GPS station is synchronized with each GPS neighboring station by sending time of the test frame, receiving time, and arrival time of the test response frame;
以及判断是否有一半以上的 GPS邻区站点与该 GPS站点都同步,如果 是, 则判定该 GPS站点为锁定站点, 否则判定该 GPS站点为失锁站点。  And determining whether more than half of the GPS neighboring sites are synchronized with the GPS site, and if so, determining that the GPS site is a locked site, otherwise determining that the GPS site is a lost lock site.
较佳地, 所述测试判断模块还用于,  Preferably, the test judging module is further configured to:
对于与该 GPS不同步的 GPS邻区站点, 判断该 GPS邻区站点是否与 其 GPS邻区站点同步, 以确定该 GPS邻区站点是否为失锁站点。 For the GPS neighboring station that is not synchronized with the GPS, determine whether the GPS neighboring site is The GPS neighboring station is synchronized to determine whether the GPS neighboring site is a lost lock site.
较佳地, 所述测试判断模块还用于, 对于一个失锁站点, 通过 GPS邻 区站点或者预定 GPS令牌站点提供的时间戳来判定该失锁站点时钟的漂移 情况。  Preferably, the test judging module is further configured to determine, by a GPS neighboring station or a time stamp provided by the predetermined GPS token station, a drift of the lost lock station clock for a lost lock station.
较佳地, 所述测试判断模块还用于, 对于每次发送测试帧, 根据所 述 GPS站点的发送时间、所述 GPS邻区站定反馈测试响应帧的达到时间, 计算得到所述 GPS邻区站点的理论接收时间;  Preferably, the test judging module is further configured to calculate, according to the sending time of the GPS station and the arrival time of the GPS neighboring station feedback feedback test frame, for each transmission test frame, to calculate the GPS neighbor. Theoretical reception time of the zone site;
计算所述 GPS邻区站点的理论接收时间与实际接收时间的差, 得到 所述 GPS站点与该 GPS邻区站点的时钟差;  Calculating a difference between a theoretical receiving time of the GPS neighboring station and an actual receiving time, and obtaining a clock difference between the GPS station and the GPS neighboring station;
当所述时钟差连续多次大于预定阈值时, 判定所述 GPS 站点与所述 GPS邻区站点不同步。  When the clock difference is continuously greater than a predetermined threshold multiple times, it is determined that the GPS station is not synchronized with the GPS neighboring station.
较佳地, 所述测试判断模块还用于, 在恰好有一半的 GPS邻区站点与 所述 GPS站点都同步时, 进一步判断预定 GPS令牌站点是否与所述 GPS 站点同步, 如果是, 则判定所述 GPS站点为锁定站点, 否则判定所述 GPS 站点为失锁站点。  Preferably, the test judging module is further configured to: when exactly half of the GPS neighboring stations are synchronized with the GPS station, further determine whether the predetermined GPS token station is synchronized with the GPS station, and if yes, The GPS site is determined to be a locked site, otherwise the GPS site is determined to be a lost lock site.
本发明实施例有益效果如下:  The beneficial effects of the embodiments of the present invention are as follows:
本发明实施例可以解决在 TDD LTE无线通信中如何判断 GPS是否真 正处于锁定状态,以及在某些 GPS出现问题后如何保持基站不退服的问题。 附图说明  The embodiment of the invention can solve the problem of how to determine whether the GPS is really locked in the TDD LTE wireless communication, and how to keep the base station from retreating after some GPS problems occur. DRAWINGS
图 1为本发明实施例所述方法的流程示意图;  1 is a schematic flowchart of a method according to an embodiment of the present invention;
图 2为本发明实施例所述***的结构示意图。 具体实施方式  FIG. 2 is a schematic structural diagram of a system according to an embodiment of the present invention. detailed description
下面结合附图来具体描述本发明的优选实施例, 其中, 附图构成本申 请一部分, 并与本发明的实施例一起用于阐释本发明的原理。 为了清楚和 简化目的, 当其可能使本发明实施例的主题模糊不清时, 将省略本文所描 述的器件中已知功能和结构的详细具体说明。 The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings, in which FIG. For clarity and The detailed description of known functions and structures in the devices described herein will be omitted when it is possible to obscure the subject matter of the embodiments of the present invention.
由于现有 LTE的结构设计成为一个扁平式的网络,每个 eNodeB (演进 型 NodeB, LTE中基站的名称)直接通过 X2 口接口相连, 邻区之间又有 X2 口的切换, 必须要保持 X2的同步。 本发明实施例需要将各个 eNodeB 通过 X2口进行连接, 根据 X2网络形成一个多 GPS的时钟网络。  Since the structure of the existing LTE is designed to be a flat network, each eNodeB (evolved NodeB, the name of the base station in LTE) is directly connected through the X2 port interface, and the X2 port is switched between the adjacent areas, and X2 must be maintained. Synchronization. In this embodiment of the present invention, each eNodeB needs to be connected through the X2 port, and a multi-GPS clock network is formed according to the X2 network.
首先, 结合附图 1对本发明实施例所述方法进行详细说明。  First, the method according to the embodiment of the present invention will be described in detail with reference to FIG.
如图 1所示, 图 1为本发明实施例所述方法的流程示意图, 具体可以 包括如下步驟:  As shown in FIG. 1 , FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention, which may specifically include the following steps:
步驟 101 :为了便于实施,首先设定一个同步站点集和一个失步站点集, 其中, 同步站点集用于记录正常的锁定站点, 失步站点集用于记录失锁站 点; 并且, 同步站点集初始状态可以是将所有 GPS站点都加进去, 并假定 这些 GPS站定都为锁定站点, 后续判断过程中再逐步淘汰不是真正锁定的 站点即失锁站点, 将失锁站点加入到失步站点集中; 同步站点集初始状态 也可以是一个 GPS站点也没有加入, 后续判断过程中逐步加入正常锁定的 站点; 还可以是先挑选几个正常锁定的 GPS站点加入到同步站点集中, 然 后再后续判断过程中不断的加入其他正常锁定的 GPS站点; 本发明实施例 中采用最后一种方式来设定同步站点集的初始状态, 挑选 3个正常锁定的 站点并将其加入到同步站点集中;  Step 101: For ease of implementation, first set a synchronization site set and an out-of-synchronization site set, where the synchronization site set is used to record a normal locked site, and the out-of-synchronization site set is used to record a lost lock site; and, the synchronization site set The initial state can be to add all GPS stations, and assume that these GPS stations are all locked sites. In the subsequent judgment process, the stations that are not really locked, that is, the lost lock sites, are gradually eliminated, and the lost lock sites are added to the out-of-synchronization site. The initial state of the synchronization site set may also be a GPS site or not, and gradually join the normally locked site in the subsequent judgment process; or it may first select several normally locked GPS sites to join the synchronization site set, and then follow the judgment process. Continuously adding other normally locked GPS sites; in the embodiment of the present invention, the last mode is used to set the initial state of the synchronous site set, and three normally locked sites are selected and added to the synchronization site set;
步驟 102: 作为本发明的一个优选实施例,从同步站点集中随机选择一 个 GPS站点作为 GPS令牌站点; 当然也可以省略该步驟, 即根据所有 GPS 邻区站点进行同步测试;  Step 102: As a preferred embodiment of the present invention, a GPS station is randomly selected from the synchronization site set as a GPS token site; of course, the step may be omitted, that is, the synchronization test is performed according to all GPS neighboring sites;
步驟 103: 每个 GPS站点 (包括初始加入同步站点集的以及没有加入 的)分别按周期或者按需要来向自身的所有 GPS邻区站点以及 GPS令牌站 点发送测试帧; 步驟 104:根据以太网发送镜像关系, GPS站点可以通过时间戳来判断 该 GPS站点是否与其 GPS邻区站点同步, 如果不同步, 执行步驟 105; 否 则执行步驟 106; Step 103: Each GPS station (including initially joining the synchronization site set and not joining) sends test frames to all of its own GPS neighboring sites and GPS token sites on a periodic basis or as needed; Step 104: According to the Ethernet sending mirror relationship, the GPS station can determine whether the GPS station is synchronized with its GPS neighboring station by using a timestamp. If not, go to step 105; otherwise, go to step 106;
判断 GPS站点与每个 GPS邻区站点是否同步的过程具体包括: 以某一 个 GPS站点发送测试帧为例(假定 GPS站点 A ), 如果设定 GPS站点 A的 发送时间为 Tl , GPS邻区站点 B的接收时间为 T2, GPS邻区站点 B反馈 测试响应帧的到达时间为 T3 (即测试响应帧到达 GPS站点 A的时间), 理 论上 GPS邻区站点 B的接收时间为 Τ2,, 理论接收时间与实际接收的时钟 差为 At, 则 T2,=Tl+(Tl-T3)/2, A t=IT2-T2,l; 如果 At连续 n次(例如 3 次)大于预定阈值 T, 则认为该 GPS邻区站点出现失锁, 即该 GPS邻区站 点与 GPS站点 A不同步, 反之, 该 GPS邻区站点与 GPS站点 A同步; 对 于 GPS站点 A与其他 GPS邻区站点以及 GPS令牌是否同步的判断, 与前 面例子过程相同;  The process of judging whether the GPS station is synchronized with each GPS neighboring station specifically includes: sending a test frame by a certain GPS station as an example (assuming GPS station A), if the sending time of the GPS station A is set to Tl, the GPS neighboring station site The receiving time of B is T2, and the arrival time of the GPS neighboring station B feedback test response frame is T3 (that is, the time when the test response frame arrives at GPS station A). Theoretically, the receiving time of GPS neighboring station B is Τ2, theoretical reception The difference between the time and the actual received clock is At, then T2,=Tl+(Tl-T3)/2, A t=IT2-T2,l; if At is n times (for example, 3 times) is greater than the predetermined threshold T, it is considered The GPS neighboring station is out of lock, that is, the GPS neighboring station is not synchronized with the GPS station A. Otherwise, the GPS neighboring station is synchronized with the GPS station A; whether the GPS station A is synchronized with other GPS neighboring stations and the GPS token Judgment, the same as the previous example process;
其中, 同步判断原则为: 少数服从多数原则, 即, 如果有一半以上 GPS 邻区站点与该 GPS站点都同步, 则可以判定该 GPS站点同步, 即认为该 GPS站点是锁定站点并将其加入到同步站点集中; 否则, 判定该 GPS站点 为失锁站点并将其加入到失步站点集中。 对于恰好有一半以上的 GPS邻区 站点与该 GPS站点同步的情况,这时候还需要判断该 GPS令牌站点是否与 该 GPS站点也同步, 如果是, 则可以判定该 GPS站点同步, 即认为该 GPS 站点是锁定站点并将其加入到同步站点集中; 否则, 判定该 GPS站点为失 锁站点并将其加入到失步站点集中。  Among them, the principle of synchronization judgment is: The minority obeys the majority principle, that is, if more than half of the GPS neighboring sites are synchronized with the GPS site, it can be determined that the GPS site is synchronized, that is, the GPS site is considered to be a locked site and added to The synchronization site is centralized; otherwise, the GPS site is determined to be a lost lock site and added to the out-of-synchronization site set. For the case where exactly more than half of the GPS neighboring stations are synchronized with the GPS site, it is also necessary to determine whether the GPS token site is also synchronized with the GPS site, and if so, it can be determined that the GPS site is synchronized, that is, the The GPS site locks the site and joins it to the sync site set; otherwise, it determines that the GPS site is a lost lock site and joins it to the out-of-synchronization site set.
步驟 105: 如果该 GPS站点原来属于同步站点集, 则将该 GPS站点从 同步站点集中去掉, 放入到失步站点集, 并且其状态改为依靠其他 GPS邻 区站点或者 GPS令牌站点同步, 如果该 GPS站点没有在同步站点集中, 则 直接将该 GPS站点放入失步站点集;将该 GPS站点放入失步站点集后执行 步驟 108, 即当该 GPS站点恢复后(偏差小于预定阈值后), 从失步站点集 回归到同步站点集; Step 105: If the GPS site originally belongs to the synchronization site set, the GPS site is removed from the synchronization site, put into the out-of-synchronization site set, and its state is changed to rely on other GPS neighboring sites or GPS token site synchronization. If the GPS site is not in the synchronization site set, the GPS site is directly placed in the out-of-synchronization site set; the GPS site is placed in the out-of-step site set and executed. Step 108, that is, after the GPS station is restored (after the deviation is less than a predetermined threshold), returning from the out-of-synchronization site set to the synchronization site set;
需要说明的是, 对于放入失步站点集的 GPS站点, 即失锁站点, 可以 通过 GPS邻区站点或者预定 GPS令牌站点提供的时间戳来判定自身时钟的 漂移情况, 使之在失锁状态下也可以同步; 具体包括: 根据该 GPS站点的 发送时间、 GPS邻区站点或预定 GPS令牌站点反馈测试响应帧的达到时间, 计算得到 GPS邻区站点或预定 GPS令牌站点的理论接收时间; 然后计算 GPS邻区站点或预定 GPS令牌站点的理论接收时间与 GPS邻区站点或预定 GPS令牌站点的实际接收时间的差,得到该 GPS站点与 GPS邻区站点或预 定 GPS令牌站点的时钟差(时钟差计算参见步驟 104 ); 进而根据该时钟差 对该失锁站点的时间进行校正, 使之在失锁状态下与 GPS邻区站点或预定 GPS令牌站点达到同步。  It should be noted that for the GPS station placed in the out-of-synchronization site set, that is, the lost lock station, the time interval provided by the GPS neighboring station or the predetermined GPS token site can be used to determine the drift of the clock and make it lose lock. The state may also be synchronized; the specifics include: calculating the theoretical reception of the GPS neighboring station or the predetermined GPS token site according to the sending time of the GPS station, the GPS neighboring station or the scheduled GPS token site feedback test response frame arrival time Time; then calculate the difference between the theoretical reception time of the GPS neighboring station or the predetermined GPS token site and the actual receiving time of the GPS neighboring station or the predetermined GPS token station, and obtain the GPS station and the GPS neighboring station or the predetermined GPS token. The clock difference of the station (refer to step 104 for clock difference calculation); and then correct the time of the lost lock station according to the clock difference, so as to be synchronized with the GPS neighbor station or the predetermined GPS token station in the unlocked state.
步驟 106: 对于与该 GPS站点不同步的 GPS邻区站点(例如 GPS站点 B ), 确认 GPS站点 B是否跟它的 GPS邻区站点同步, 如果是, 执行步驟 107; 否则, 执行步驟 108;  Step 106: For a GPS neighboring station (such as GPS station B) that is not synchronized with the GPS station, confirm whether the GPS station B is synchronized with its GPS neighboring station, and if yes, go to step 107; otherwise, go to step 108;
步驟 107: 将 GPS站点 B加入到同步站点集中;  Step 107: Add GPS station B to the synchronization site set;
步驟 108: 重新发起同步测试, 即转到步驟 104。  Step 108: Restart the synchronization test, and go to step 104.
接下来结合附图 2对本发明实施例所述装置进行详细说明。  Next, the device according to the embodiment of the present invention will be described in detail with reference to FIG.
如图 2所示, 图 2为本发明实施例所述装置的结构示意图, 具体可以 包括: 测试发起模块以及测试判断模块, 其中,  As shown in FIG. 2, FIG. 2 is a schematic structural diagram of an apparatus according to an embodiment of the present invention, which may specifically include: a test initiation module and a test determination module, where
测试发起模块, 用于触发每个 GPS站点按周期或者按需要给所有 GPS 邻区站点发送测试帧;  a test initiation module, configured to trigger each GPS station to send test frames to all GPS neighboring stations on a periodic basis or as needed;
测试判断模块, 用于对于每个 GPS站点, 通过测试帧的发送时间、 接 收时间以及测试响应帧的到达时间,判断该 GPS站点是否与每个 GPS邻区 站点同步;以及判断是否有一半以上的 GPS邻区站点与该 GPS站点都同步: 如果是, 则判定 GPS站点为锁定站点, 否则判定该 GPS站点为失锁站点。 其中, 判断 GPS站点与每个 GPS邻区站点是否同步的过程具体包括: 以某一个 GPS站点发送测试帧为例 (假定 GPS站点 A ), 如果设定 GPS站 点 A的发送时间为 Tl , GPS邻区站点 B的接收时间为 T2, GPS邻区站点 B反馈测试响应帧的到达时间为 T3 (即测试响应帧到达 GPS站点 A的时 间), 理论上 GPS邻区站点 B的接收时间为 T2,, 理论接收时间与实际接收 的时钟差为 A t, 则 Τ2,=Τ1+(Τ1-Τ3)/2, A t=IT2-T2,l; 如果 At连续 n次(例 如 3次)大于预定阈值 T, 则认为该 GPS邻区站点出现失锁, 即该 GPS邻 区站点与 GPS站点 A不同步,反之,该 GPS邻区站点与 GPS站点 A同步; 对于 GPS站点 A与其他 GPS邻区站点以及 GPS令牌是否同步的判断, 与 前面例子过程相同; The test judging module is configured to, for each GPS station, determine whether the GPS station is synchronized with each GPS neighboring station station by using a test frame transmission time, a receiving time, and a test response frame arrival time; and determining whether more than half of the GPS stations are The GPS neighboring site is synchronized with the GPS site: If yes, it is determined that the GPS site is a locked site, otherwise it is determined that the GPS site is a lost lock site. The process of judging whether the GPS station is synchronized with each GPS neighboring station specifically includes: sending a test frame by a certain GPS station as an example (assuming GPS station A), if the sending time of the GPS station A is set to Tl, the GPS neighboring The receiving time of the station B is T2, and the arrival time of the feedback test response frame of the GPS neighboring station B is T3 (that is, the time when the test response frame arrives at the GPS station A). In theory, the receiving time of the GPS neighboring station B is T2, The difference between the theoretical reception time and the actual received clock is A t, then Τ 2,=Τ1+(Τ1-Τ3)/2, A t=IT2-T2,l; If At is n times (for example, 3 times) is greater than the predetermined threshold T, The GPS neighboring station is considered to be out of lock, that is, the GPS neighboring station is not synchronized with the GPS station A. Otherwise, the GPS neighboring station is synchronized with the GPS station A; for the GPS station A and other GPS neighboring stations and the GPS order The judgment of whether the cards are synchronized is the same as the previous example process;
其中, 同步判断原则为: 少数服从多数原则, 即, 如果有一半以上 GPS 邻区站点与该 GPS站点都同步, 则可以判定该 GPS站点同步, 即认为该 GPS站点是锁定站点并将其加入到同步站点集中; 否则, 判定该 GPS站点 为失锁站点并将其加入到失步站点集中。 对于恰好有一半以上的 GPS邻区 站点与该 GPS站点同步的情况,这时候还需要判断该 GPS令牌站点是否与 该 GPS站点也同步, 如果是, 则可以判定该 GPS站点同步, 即认为该 GPS 站点是锁定站点并将其加入到同步站点集中; 否则, 判定该 GPS站点为失 锁站点并将其加入到失步站点集中。  Among them, the principle of synchronization judgment is: The minority obeys the majority principle, that is, if more than half of the GPS neighboring sites are synchronized with the GPS site, it can be determined that the GPS site is synchronized, that is, the GPS site is considered to be a locked site and added to The synchronization site is centralized; otherwise, the GPS site is determined to be a lost lock site and added to the out-of-synchronization site set. For the case where exactly more than half of the GPS neighboring stations are synchronized with the GPS site, it is also necessary to determine whether the GPS token site is also synchronized with the GPS site, and if so, it can be determined that the GPS site is synchronized, that is, the The GPS site locks the site and joins it to the sync site set; otherwise, it determines that the GPS site is a lost lock site and joins it to the out-of-synchronization site set.
对于与该 GPS不同步的 GPS邻区站点,测试判断模块要进一步判断该 For the GPS neighboring station that is not synchronized with the GPS, the test judging module needs to further judge the
GPS邻区站点是否与它的 GPS邻区站点同步,以确定该 GPS邻区站点是否 为失锁站点。 Whether the GPS neighboring site is synchronized with its GPS neighboring site to determine whether the GPS neighboring site is a lost lock site.
对于一个失锁站点, 测试判断模块还要通过 GPS 邻区站点或者预定 GPS 令牌站点提供的时间戳来判定该失锁站点时钟的漂移情况, 即根据该 GPS站点的发送时间、 GPS邻区站点或预定 GPS令牌站点反馈测试响应帧 的达到时间,计算得到 GPS邻区站点或预定 GPS令牌站点的理论接收时间; 然后计算 GPS邻区站点或预定 GPS令牌站点的理论接收时间与 GPS邻区 站点或预定 GPS令牌站点的实际接收时间的差, 得到该 GPS站点与 GPS 邻区站点或预定 GPS令牌站点的时钟差; 进而根据该时钟差对该失锁站点 的时间进行校正,使之在失锁状态下与 GPS邻区站点或预定 GPS令牌站点 达到同步。 For a lost lock station, the test judging module also determines the drift of the lost lock station clock through the time stamp provided by the GPS neighboring station or the predetermined GPS token station, that is, according to the sending time of the GPS station, the GPS neighboring station site. Or scheduled GPS token site feedback test response frame The arrival time, calculate the theoretical reception time of the GPS neighboring station or the predetermined GPS token site; then calculate the theoretical reception time of the GPS neighboring station or the predetermined GPS token site and the actual location of the GPS neighboring station or the predetermined GPS token site Receiving the difference of the time, obtaining the clock difference between the GPS station and the GPS neighboring station or the predetermined GPS token station; and further correcting the time of the lost lock station according to the clock difference, so as to be in the unlocked state and the GPS neighboring area The site or scheduled GPS token site is synchronized.
对于本发明实施例所述***的具体实现过程, 由于上述方法中已有详 细说明故此处不再赘述。  The specific implementation process of the system in the embodiment of the present invention is not described here because it has been described in detail in the foregoing method.
综上所述, 本发明实施例提供了一种全球定位***锁定失效判定及同 步保持的方法及装置, 利用了 LTE中 X2的扁平化网络的特性形成了 GPS 时钟资源池; 每个 GPS站点通过测试帧的发送时间、 接收时间以及测试响 应帧的到达时间, 判断该 GPS站点是否与 GPS邻区站点同步, 即 GPS是 否真处于锁定状态; 如果在 GPS站点处于失锁状态,也就是基站没有正确 锁定 GPS,通过利用 GPS邻区站点或者 GPS令牌站点提供的时间戳来进行 同步保持, 达到不退服的目的。 在某些 GPS站点安装密集地方, 还可以起 到对某些未安装 GSP的站点进行同步的功能。  In summary, the embodiments of the present invention provide a method and a device for locking and determining the synchronization of the global positioning system, and utilizing the characteristics of the flat network of the X2 in the LTE to form a GPS clock resource pool; each GPS station passes The sending time of the test frame, the receiving time, and the arrival time of the test response frame, determine whether the GPS station is synchronized with the GPS neighboring station, that is, whether the GPS is really locked; if the GPS station is in an unlocked state, that is, the base station is not correct. The GPS is locked and synchronized by using the time stamp provided by the GPS neighboring station or the GPS token site to achieve the goal of not surrendering. In some places where GPS sites are installed intensively, you can also synchronize the ability to synchronize sites that do not have GSP installed.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明实施例的保护 范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明实施例揭露 的技术范围内, 可轻易想到的变化或替换, 都应涵盖在本发明实施例的保 护范围之内。 因此, 本发明实施例的保护范围应该以权利要求书的保护范 围为准。  The above is only a preferred embodiment of the present invention, but the scope of protection of the embodiments of the present invention is not limited thereto, and any person skilled in the art can easily use the technical scope disclosed in the embodiments of the present invention. All changes or substitutions are contemplated to be within the scope of the embodiments of the invention. Therefore, the scope of protection of the embodiments of the present invention should be determined by the scope of the claims.

Claims

权利要求书 Claim
1、一种全球定位*** GPS锁定失效判定及同步保持的方法,预先将 各个基站通过 X2口进行连接, 形成 GPS时钟网络, 则所述方法包括: 每个 GPS站点按周期或者按需要给所有 GPS邻区站点发送测试帧; 对于每个 GPS站点, 通过测试帧的发送时间、 接收时间以及测试响 应帧的到达时间, 判断所述 GPS站点是否与每个 GPS邻区站点同步; 判断是否有一半以上的 GPS邻区站点与所述 GPS站点都同步,如果 是, 则判定所述 GPS站点为锁定站点, 否则判定所述 GPS站点为失锁站 点。  A GPS positioning failure determination and synchronization holding method of a global positioning system, in which each base station is connected in advance through an X2 port to form a GPS clock network, the method includes: each GPS station gives all GPSs on a periodic basis or as needed The neighboring station sends a test frame; for each GPS station, it is determined whether the GPS station is synchronized with each GPS neighboring station by the sending time of the test frame, the receiving time, and the arrival time of the test response frame; The GPS neighboring cell site is synchronized with the GPS site, and if so, the GPS site is determined to be a locked site, otherwise the GPS site is determined to be a lost lock site.
2、 根据权利要求 1所述的方法, 其中, 对于与所述 GPS站点不同步 的 GPS邻区站点, 判断所述 GPS邻区站点是否与其 GPS邻区站点同步, 以确定所述 GPS邻区站点是否为失锁站点。  2. The method according to claim 1, wherein, for a GPS neighboring station that is not synchronized with the GPS station, determining whether the GPS neighboring station is synchronized with its GPS neighboring station to determine the GPS neighboring station Whether it is a lost lock site.
3、 根据权利要求 1或 2所述的方法, 其中, 还包括:  3. The method according to claim 1 or 2, further comprising:
对于一个失锁站点,通过 GPS邻区站点或者预定 GPS令牌站点提供 的时间戳来判定所述失锁站点时钟的漂移情况。  For a lost lock station, the drift of the lost lock station clock is determined by the time stamp provided by the GPS neighbor station or the predetermined GPS token station.
4、 根据权利要求 3所述的方法, 其中, 所述通过 GPS邻区站点或者 预定 GPS令牌站点提供的时间戳来判定所述失锁站点时钟的漂移情况具 体包括:  The method according to claim 3, wherein the determining, by the time interval provided by the GPS neighboring station or the predetermined GPS token station, the drift of the lost lock station clock comprises:
根据该 GPS站点的发送时间、 GPS邻区站点或预定 GPS令牌站点反 馈测试响应帧的达到时间,计算得到 GPS邻区站点或预定 GPS令牌站点 的理论接收时间;  Calculating the theoretical receiving time of the GPS neighboring station or the predetermined GPS token station according to the sending time of the GPS station, the GPS neighboring station or the arrival time of the predetermined GPS token site feedback test response frame;
计算 GPS邻区站点的理论接收时间与实际接收时间的差, 或者, 预 定 GPS令牌站点的理论接收时间与实际接收时间的差,得到所述 GPS站 点与 GPS邻区站点或与预定 GPS令牌站点的时钟差;  Calculating the difference between the theoretical receiving time of the GPS neighboring station and the actual receiving time, or the difference between the theoretical receiving time of the predetermined GPS token station and the actual receiving time, obtaining the GPS station and the GPS neighboring station or with the predetermined GPS token The clock difference of the site;
根据所述时钟差对所述失锁站点的时间进行校正, 与 GPS邻区站点 或预定 GPS令牌站点达到同步。 Correcting the time of the lost lock station according to the clock difference, and the GPS neighboring station Or the scheduled GPS token site is synchronized.
5、 根据权利要求 1所述的方法, 其中, 判断 GPS站点与每个 GPS 邻区站点是否同步具体包括:  5. The method according to claim 1, wherein determining whether the GPS station is synchronized with each GPS neighboring site comprises:
对于每次发送测试帧, 根据所述 GPS站点的发送时间、 所述 GPS邻 区站定反馈测试响应帧的达到时间, 计算得到所述 GPS邻区站点的理论 接收时间;  For each transmission of the test frame, calculating the theoretical reception time of the GPS neighboring station according to the sending time of the GPS station and the arrival time of the GPS neighboring station standing feedback test response frame;
计算所述 GPS邻区站点的理论接收时间与实际接收时间的差, 得到 所述 GPS站点与该 GPS邻区站点的时钟差;  Calculating a difference between a theoretical receiving time of the GPS neighboring station and an actual receiving time, and obtaining a clock difference between the GPS station and the GPS neighboring station;
当所述时钟差连续多次大于预定阈值时, 判定所述 GPS站点与所述 GPS邻区站点不同步。  When the clock difference is continuously greater than a predetermined threshold a plurality of times, it is determined that the GPS station is not synchronized with the GPS neighboring station.
6、 根据权利要求 1所述的方法, 其中, 还包括:  6. The method according to claim 1, further comprising:
如果恰好有一半的 GPS邻区站点与所述 GPS站点都同步, 则进一步 判断预定 GPS令牌站点是否与所述 GPS站点同步, 如果是, 则判定所述 GPS站点为锁定站点, 否则判定所述 GPS站点为失锁站点。  If exactly half of the GPS neighboring sites are synchronized with the GPS site, further determining whether the predetermined GPS token site is synchronized with the GPS site, and if so, determining that the GPS site is a locked site, otherwise determining that The GPS site is a lost lock site.
7、一种全球定位*** GPS锁定失效判定及同步保持的***,预先将 各个基站通过 X2口进行连接, 形成 GPS时钟网络, 则所述***包括: 测试发起模块以及测试判断模块, 其中,  A system for GPS lock failure determination and synchronization, in which a plurality of base stations are connected in advance through an X2 port to form a GPS clock network, wherein the system includes: a test initiation module and a test determination module, wherein
测试发起模块, 用于触发每个 GPS 站点按周期或者按需要给所有 GPS邻区站点发送测试帧;  a test initiation module, configured to trigger each GPS station to send test frames to all GPS neighboring stations on a periodic basis or as needed;
测试判断模块, 用于对于每个 GPS站点, 通过测试帧的发送时间、 接收时间以及测试响应帧的到达时间, 判断所述 GPS 站点是否与每个 GPS邻区站点同步;  a test judging module, configured to, for each GPS station, determine whether the GPS station is synchronized with each GPS neighboring station station by using a test frame sending time, a receiving time, and a test response frame arrival time;
以及判断是否有一半以上的 GPS邻区站点与所述 GPS站点都同步, 如果是, 则判定所述 GPS站点为锁定站点, 否则判定所述 GPS站点为失 锁站点。 And determining whether more than half of the GPS neighboring sites are synchronized with the GPS site, and if so, determining that the GPS site is a locked site, otherwise determining that the GPS site is a lost lock site.
8、 根据权利要求 7所述的***, 其中, 所述测试判断模块还用于, 对于与所述 GPS站点不同步的 GPS邻区站点, 判断所述 GPS邻区 站点是否与其 GPS邻区站点同步,以确定所述 GPS邻区站点是否为失锁 站点。 The system according to claim 7, wherein the test judging module is further configured to: determine, for a GPS neighboring station that is not synchronized with the GPS station, whether the GPS neighboring station is synchronized with its GPS neighboring station And determining whether the GPS neighboring site is a lost lock site.
9、 根据权利要求 7所述的***, 其中, 所述测试判断模块还用于, 对于一个失锁站点,通过 GPS邻区站点或者预定 GPS令牌站点提供的时 间戳来判定所述失锁站点时钟的漂移情况。  The system according to claim 7, wherein the test judging module is further configured to determine, by a GPS neighboring station or a time stamp provided by a predetermined GPS token station, the lost lock station for a lost lock station. The drift of the clock.
10、 根据权利要求 7所述的***, 其中, 所述测试判断模块还用于, 对于每次发送测试帧, 根据所述 GPS站点的发送时间、 所述 GPS邻区站 定反馈测试响应帧的达到时间, 计算得到所述 GPS邻区站点的理论接收 时间;  The system according to claim 7, wherein the test judging module is further configured to, according to the sending time of the GPS station, the GPS neighboring station, the feedback test response frame, for each test frame sent. Reaching the time, calculating a theoretical reception time of the GPS neighboring station;
计算所述 GPS邻区站点的理论接收时间与实际接收时间的差, 得到 所述 GPS站点与该 GPS邻区站点的时钟差;  Calculating a difference between a theoretical receiving time of the GPS neighboring station and an actual receiving time, and obtaining a clock difference between the GPS station and the GPS neighboring station;
当所述时钟差连续多次大于预定阈值时, 判定所述 GPS站点与所述 GPS邻区站点不同步。  When the clock difference is continuously greater than a predetermined threshold a plurality of times, it is determined that the GPS station is not synchronized with the GPS neighboring station.
11、 根据权利要求 7所述的***, 其中, 所述测试判断模块还用于, 在恰好有一半的 GPS邻区站点与所述 GPS站点都同步时,进一步判断预 定 GPS令牌站点是否与所述 GPS站点同步, 如果是, 则判定所述 GPS 站点为锁定站点, 否则判定所述 GPS站点为失锁站点。  The system according to claim 7, wherein the test judging module is further configured to: when exactly half of the GPS neighboring stations are synchronized with the GPS station, further determine whether the predetermined GPS token site is The GPS station is synchronized, and if so, the GPS site is determined to be a locked site, otherwise the GPS site is determined to be a lost lock site.
PCT/CN2012/073212 2011-08-11 2012-03-28 Method and device for locking failure determination and synchronization maintenance for global positioning system WO2012155700A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110229741.3A CN102932906B (en) 2011-08-11 2011-08-11 Global positioning system lockout failure judges and the synchronous method and device kept
CN201110229741.3 2011-08-11

Publications (1)

Publication Number Publication Date
WO2012155700A1 true WO2012155700A1 (en) 2012-11-22

Family

ID=47176265

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/073212 WO2012155700A1 (en) 2011-08-11 2012-03-28 Method and device for locking failure determination and synchronization maintenance for global positioning system

Country Status (2)

Country Link
CN (1) CN102932906B (en)
WO (1) WO2012155700A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109661027B (en) * 2017-10-10 2020-10-16 大唐移动通信设备有限公司 Method and device for determining working state of network equipment
CN115022956B (en) * 2022-04-27 2024-01-12 海能达通信股份有限公司 Synchronization method, system, electronic equipment and storage medium of self-organizing network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268628A (en) * 2000-03-21 2001-09-28 Mitsubishi Electric Corp Inter-base station synchronization system
CN101369824A (en) * 2008-10-21 2009-02-18 北京北方烽火科技有限公司 Base station step-out detection apparatus and method
CN101447824A (en) * 2007-11-26 2009-06-03 大唐移动通信设备有限公司 Method for finding GPS timing offset of TD-SCDMA base station and device thereof
CN101562822A (en) * 2008-04-16 2009-10-21 大唐移动通信设备有限公司 Method and device for detecting asynchronization between base stations
CN102098716A (en) * 2009-12-10 2011-06-15 华为技术有限公司 Method and device for detecting desynchronizing of base station
CN102149186A (en) * 2010-02-10 2011-08-10 上海华为技术有限公司 Null interface synchronization method and equipment of time division system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866814B (en) * 2005-05-17 2011-02-02 上海华为技术有限公司 Clock locking method and its system
JP2009177532A (en) * 2008-01-24 2009-08-06 Sumitomo Electric Ind Ltd Base station device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268628A (en) * 2000-03-21 2001-09-28 Mitsubishi Electric Corp Inter-base station synchronization system
CN101447824A (en) * 2007-11-26 2009-06-03 大唐移动通信设备有限公司 Method for finding GPS timing offset of TD-SCDMA base station and device thereof
CN101562822A (en) * 2008-04-16 2009-10-21 大唐移动通信设备有限公司 Method and device for detecting asynchronization between base stations
CN101369824A (en) * 2008-10-21 2009-02-18 北京北方烽火科技有限公司 Base station step-out detection apparatus and method
CN102098716A (en) * 2009-12-10 2011-06-15 华为技术有限公司 Method and device for detecting desynchronizing of base station
CN102149186A (en) * 2010-02-10 2011-08-10 上海华为技术有限公司 Null interface synchronization method and equipment of time division system

Also Published As

Publication number Publication date
CN102932906B (en) 2017-11-03
CN102932906A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
KR101517746B1 (en) Method for detecting a synchronization failure of a transparent clock and related protection schemes
CN103001720B (en) Time synchronization method and device
US8249049B2 (en) Clock synchronization
CN103905135B (en) Realize the method, apparatus and system of time synchronized
US20010040902A1 (en) Embedded loop delay compensation circuit for multi-channel transceiver
WO2013020499A1 (en) Method and device for implementing automatic compensation for asymmetric delay of 1588 link
WO2008019568A1 (en) A method and an apparatus for synchronization among the neighboring base stations in the wireless communication system
US9955447B2 (en) Clock synchronization method, mobile network system, network controller and network switch
CN102378350B (en) Time synchronization method, server and system
WO2014082547A1 (en) Fault detection method and device for synchronization link
US20180059712A1 (en) Wireless communication apparatus, time synchronization method, and communication system
CN105188126B (en) Distributed multihop wireless network clock synchronizing method based on mean field
CA2626973A1 (en) Tdma mobile ad-hoc network (manet) with second order timing and tracking
WO2016106908A1 (en) Method and system for synchronizing clocks in sdh network
CN105323054A (en) Clock synchronization method and device
WO2011134371A1 (en) Method for synchronizing clocks and clock synchronization device
WO2011098011A1 (en) Synchronization method and device for air interface in time division system
WO2013178148A1 (en) Clock synchronization method and device for communication network
WO2010072176A1 (en) Method, equipment and system for clock synchronization
CN105262555A (en) Time synchronization method, programmable logic device, single board and network element
WO2018099375A1 (en) Synchronization method, synchronization device, synchronization apparatus and communication system
JP2017521975A (en) Synchronization method, synchronization device, and base station
CN102075317B (en) Reliable time frequency synchronization method and system in home base station system
CN104080115A (en) Time synchronization performance monitoring method, device and system
US20230232347A1 (en) Data processing method and apparatus therefor

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: 12784957

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: 12784957

Country of ref document: EP

Kind code of ref document: A1