CN102469484B - Base station out-of-service method, base station and time server - Google Patents
Base station out-of-service method, base station and time server Download PDFInfo
- Publication number
- CN102469484B CN102469484B CN201010546270.4A CN201010546270A CN102469484B CN 102469484 B CN102469484 B CN 102469484B CN 201010546270 A CN201010546270 A CN 201010546270A CN 102469484 B CN102469484 B CN 102469484B
- Authority
- CN
- China
- Prior art keywords
- time
- base station
- processing unit
- server
- grade
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000012423 maintenance Methods 0.000 claims abstract description 49
- 238000012545 processing Methods 0.000 claims description 40
- 230000001360 synchronised effect Effects 0.000 claims description 20
- 230000002123 temporal effect Effects 0.000 claims 8
- 238000010586 diagram Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 239000013078 crystal Substances 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 108700009949 PTP protocol Proteins 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 229910052792 caesium Inorganic materials 0.000 description 1
- TVFDJXOCXUVLDH-UHFFFAOYSA-N caesium atom Chemical group [Cs] TVFDJXOCXUVLDH-UHFFFAOYSA-N 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 229910052701 rubidium Inorganic materials 0.000 description 1
- IGLNJRXAVVLDKE-UHFFFAOYSA-N rubidium atom Chemical compound [Rb] IGLNJRXAVVLDKE-UHFFFAOYSA-N 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种基站退服方法,包括:A、当时间服务器进入时间同步保持状态时,将自身状态通知给基站,并利用自身内置时钟进行计时,将时间信息实时发送给基站;B、基站实时接收来自时间服务器的时间信息,当无法接收到时间信息时,进入时间同步保持状态,并且,从接收到来自时间服务器的状态通知开始,实时计算当前时间相对于标准时间的偏差ΔT,当ΔT大于预先设定的阈值时,执行退服操作。本发明同时公开了一种基站和一种时间服务器。应用本发明所述的方法和装置,能够降低干扰。
The invention discloses a method for decommissioning a base station, including: A. When the time server enters the time synchronization maintenance state, it notifies the base station of its own state, and uses its own built-in clock for timing, and sends the time information to the base station in real time; B. The base station receives the time information from the time server in real time. When the time information cannot be received, it enters the time synchronization maintenance state, and, starting from receiving the status notification from the time server, calculates the deviation ΔT of the current time relative to the standard time in real time. When When ΔT is greater than the preset threshold, the decommissioning operation is performed. The invention simultaneously discloses a base station and a time server. The application of the method and device of the present invention can reduce interference.
Description
技术领域 technical field
本发明涉及移动通信技术,特别涉及一种基站退服方法、一种基站以及一种时间服务器。The present invention relates to mobile communication technology, in particular to a base station decommissioning method, a base station and a time server.
背景技术 Background technique
当前,移动通信网络对时间同步的要求越来越高。比如,对于第三代移动通信(3G,3rd Generation)网络中的码分多址(CDMA,Code DivisionMultiple Access)2000系统以及时分同步码分多址(TD-SCDMA,TimeDivision-Synchronous Code Division Multiple Access)系统,其中的各基站之间需要进行准确的时间同步,否则,各基站之间就会产生干扰,从而导致出现业务不能正常开展等问题。Currently, mobile communication networks have higher and higher requirements for time synchronization. For example, for the code division multiple access (CDMA, Code Division Multiple Access) 2000 system and time division synchronous code division multiple access (TD-SCDMA, TimeDivision-Synchronous Code Division Multiple Access) in the third generation mobile communication (3G, 3rd Generation) network In the system, accurate time synchronization is required between the base stations, otherwise, there will be interference between the base stations, which will lead to problems such as abnormal business development.
现有技术中,各基站中通常都会安装有全球定位系统(GPS,GlobalPositioning System)等卫星接收模块,各基站通过卫星接收模块实时接收来自卫星的标准时间,从而保持彼此间的时间同步。In the prior art, satellite receiving modules such as Global Positioning System (GPS, Global Positioning System) are usually installed in each base station, and each base station receives the standard time from the satellite in real time through the satellite receiving module, thereby maintaining time synchronization between each other.
如果卫星接收模块出现故障,导致不能正常接收来自卫星的标准时间,那么基站将会进入时间同步保持状态,依靠自身内置时钟来进行计时,所述内置时钟通常为晶体时钟,而晶体时钟的精度有限,经过一段时间后,即会和标准时间出现偏差,如果偏差较大,则会对周围正常接收来自卫星的标准时间的基站造成干扰。为避免干扰,当进入时间同步保持状态的时长达到预定时长后,基站将自动关闭,退出服务,简称为退服。If the satellite receiving module fails and the standard time from the satellite cannot be received normally, then the base station will enter the time synchronization maintenance state and rely on its own built-in clock for timing. The built-in clock is usually a crystal clock, and the accuracy of the crystal clock is limited , after a period of time, there will be a deviation from the standard time. If the deviation is large, it will cause interference to the surrounding base stations that normally receive the standard time from the satellite. In order to avoid interference, when the duration of entering the time synchronization maintenance state reaches the predetermined duration, the base station will automatically shut down and exit the service, referred to as decommissioning.
另外,随着精确时间协议(PTP,Precision Time Protocol)的出现,通过传输网络来实现基站间的时间同步逐渐成为可能,即提供了另外一种实现基站间的时间同步的方式,具体采用哪种方式可根据实际需要而定。In addition, with the emergence of the Precision Time Protocol (PTP, Precision Time Protocol), it is gradually possible to achieve time synchronization between base stations through the transmission network, which provides another way to achieve time synchronization between base stations. Which one is used specifically? The method can be determined according to actual needs.
图1为现有通过传输网络实现基站间的时间同步的方式示意图。如图1所示,在网络上游设置一时间服务器,正常情况下,时间服务器通过自身的卫星接收模块实时地接收来自卫星的标准时间,如果卫星接收模块出现故障,则进入时间同步保持状态,利用自身内置时钟来进行计时;另外,无论是否进入时间同步保持状态,时钟服务器均会将时间信息携带在PTP协议中,通过传输网络实时发送给下游的各基站。通常,一个时间服务器可对应多个基站,具体数量可根据实际需要而定。FIG. 1 is a schematic diagram of an existing method for implementing time synchronization between base stations through a transmission network. As shown in Figure 1, a time server is set in the upstream of the network. Under normal circumstances, the time server receives the standard time from the satellite in real time through its own satellite receiving module. If the satellite receiving module breaks down, it will enter the time synchronization maintenance state. It has a built-in clock for timing; in addition, no matter whether it is in the time synchronization state or not, the clock server will carry the time information in the PTP protocol and send it to the downstream base stations in real time through the transmission network. Usually, one time server can correspond to multiple base stations, and the specific number can be determined according to actual needs.
对于图1所示方式,可无需在基站中安装卫星接收模块;相比于在基站中安装卫星接收模块的方式,这种方式能够降低实现成本。For the method shown in FIG. 1 , there is no need to install a satellite receiving module in the base station; compared with the method of installing a satellite receiving module in the base station, this method can reduce the implementation cost.
但是,图1所示方式在实际应用中也会存在一定的问题,如:如果时间服务器进入时间同步保持状态,那么基站接收到的时间相比于标准时间本来就会存在偏差,而如果之后的某个时刻,由于某种原因如传输网络故障,基站不能继续接收到来自时间服务器的时间信息,那么基站也会进入时间同步保持状态,并利用自身内置时钟来进行计时,而该内置时钟也会产生偏差;这样,在基站退服之前,累积的偏差就会非常大,从而可能对其它基站(比如正常接收来自卫星的标准时间的基站)产生严重的干扰。However, the method shown in Figure 1 also has certain problems in practical applications, such as: if the time server enters the time synchronization maintenance state, then the time received by the base station will originally deviate from the standard time, and if the subsequent At a certain moment, due to some reasons such as transmission network failure, the base station cannot continue to receive time information from the time server, then the base station will also enter the time synchronization maintenance state, and use its own built-in clock for timing, and the built-in clock will also In this way, before the base station decommissions, the accumulated deviation will be very large, which may cause serious interference to other base stations (such as the base station that normally receives the standard time from the satellite).
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种基站退服方法,能够降低干扰。In view of this, the main purpose of the present invention is to provide a base station decommissioning method that can reduce interference.
本发明的另一目的在于提供一种基站,能够降低干扰。Another object of the present invention is to provide a base station capable of reducing interference.
本发明的又一目的在于提供一种时间服务器,能够降低干扰。Another object of the present invention is to provide a time server capable of reducing interference.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:
一种基站退服方法,包括:A method for decommissioning a base station, comprising:
A、当时间服务器进入时间同步保持状态时,将自身状态通知给基站,并利用自身内置时钟进行计时,将时间信息实时发送给所述基站;A. When the time server enters the time synchronization and maintenance state, it notifies the base station of its own state, and uses its own built-in clock for timing, and sends the time information to the base station in real time;
B、所述基站实时接收来自所述时间服务器的时间信息,当无法接收到所述时间信息时,进入时间同步保持状态;并且,从接收到来自所述时间服务器的状态通知开始,实时计算当前时间相对于标准时间的偏差ΔT,当所述ΔT大于预先设定的阈值时,执行退服操作。B. The base station receives the time information from the time server in real time. When the time information cannot be received, it enters the time synchronization maintenance state; and, starting from receiving the status notification from the time server, calculates the current time in real time The time deviation ΔT relative to the standard time, when the ΔT is greater than a preset threshold, the decommissioning operation is performed.
一种基站,包括:A base station, comprising:
第一处理单元,用于接收来自时间服务器的进入时间同步保持状态的通知,发送给第二处理单元;The first processing unit is configured to receive a notification from the time server to enter the time synchronization maintenance state, and send it to the second processing unit;
所述第二处理单元,用于实时接收来自所述时间服务器的时间信息,当无法接收到所述时间信息时,控制所述基站进入时间同步保持状态,并从接收到所述通知开始,实时计算当前时间相对于标准时间的偏差ΔT,当所述ΔT大于预先设定的阈值时,执行退服操作。The second processing unit is configured to receive the time information from the time server in real time, and when the time information cannot be received, control the base station to enter the time synchronization maintenance state, and start from receiving the notification, real-time A deviation ΔT of the current time relative to the standard time is calculated, and when the ΔT is greater than a preset threshold, a decommissioning operation is performed.
一种时间服务器,包括:A time server comprising:
第四处理单元,用于当所述时间服务器进入时间同步保持状态时,通知第五处理单元执行自身功能;The fourth processing unit is configured to notify the fifth processing unit to perform its own function when the time server enters the time synchronization maintenance state;
所述第五处理单元,用于将所述时间服务器的状态通知给基站,并利用所述时间服务器的内置时钟进行计时,将时间信息实时发送给所述基站。The fifth processing unit is configured to notify the base station of the state of the time server, and use the built-in clock of the time server to keep time, and send time information to the base station in real time.
可见,采用本发明的技术方案,当获知时间服务器进入时间同步保持状态后,基站实时计算当前时间相对于标准时间的偏差,一旦偏差大于预先设定的阈值,则执行退服操作,而不是像现有技术中一样,只有当基站进入时间同步保持状态的时长达到预定时长后,才能执行退服操作,从而较好地降低了可能对其它基站产生的干扰;而且,本发明所述方案实现起来简单方便,便于普及。It can be seen that, with the technical solution of the present invention, after learning that the time server has entered the time synchronization maintenance state, the base station calculates the deviation of the current time relative to the standard time in real time. As in the prior art, only when the base station enters the time synchronization maintenance state for a predetermined period of time, the decommissioning operation can be performed, thereby better reducing the interference that may be caused to other base stations; moreover, the solution of the present invention is implemented Simple and convenient, easy to popularize.
附图说明 Description of drawings
图1为现有通过传输网络实现基站间的时间同步的方式示意图。FIG. 1 is a schematic diagram of an existing method for implementing time synchronization between base stations through a transmission network.
图2为本发明基站退服方法实施例的流程图。Fig. 2 is a flowchart of an embodiment of a method for decommissioning a base station according to the present invention.
图3为本发明基站实施例的组成结构示意图。FIG. 3 is a schematic diagram of the composition and structure of the base station embodiment of the present invention.
图4为本发明时间服务器实施例的组成结构示意图。FIG. 4 is a schematic diagram of the composition and structure of the time server embodiment of the present invention.
具体实施方式 Detailed ways
针对现有技术中存在的问题,本发明中提出一种改进后的基站退服方案,能够降低干扰。Aiming at the problems existing in the prior art, an improved base station decommissioning solution is proposed in the present invention, which can reduce interference.
为使本发明的技术方案更加清楚、明白,以下参照附图并举实施例,对本发明所述方案作进一步地详细说明。In order to make the technical solution of the present invention clearer and clearer, the solution of the present invention will be further described in detail below with reference to the accompanying drawings and examples.
图2为本发明基站退服方法实施例的流程图。如图2所示,包括:Fig. 2 is a flowchart of an embodiment of a method for decommissioning a base station according to the present invention. As shown in Figure 2, including:
步骤21:当时间服务器进入时间同步保持状态时,将自身状态通知给基站,并利用自身内置时钟进行计时,将时间信息实时发送给基站。Step 21: When the time server enters the state of keeping time synchronization, it notifies the base station of its own state, uses its built-in clock for timing, and sends the time information to the base station in real time.
本步骤中,一旦时间服务器进入时间同步保持状态,则会将自身状态通知给基站,如何通知不作限制;并且,按照现有处理方式,时间服务器将利用自身内置时钟进行计时,并将时间信息实时发送给基站。In this step, once the time server enters the time synchronization maintenance state, it will notify the base station of its own state, and there is no limit on how to notify; and, according to the existing processing method, the time server will use its own built-in clock for timing, and the time information will be real-time sent to the base station.
另外,当进入时间同步保持状态时,时间服务器还可将自身内置时钟对应的时间保持等级发送给基站。In addition, when entering the state of keeping time synchronization, the time server can also send the time keeping level corresponding to its built-in clock to the base station.
在实际应用中,可设置4个时间保持等级,每个时间保持等级分别对应一个不同的保持精度级别,时钟保持等级越高,对应的保持精度级别也越高;其中,级别最高的保持精度为铯钟保持精度,其次为铷钟保持精度,之后为高稳晶振保持精度,最后为普通晶振保持精度。In practical applications, four time holding levels can be set, and each time holding level corresponds to a different holding accuracy level. The higher the clock holding level, the higher the corresponding holding accuracy level; among them, the highest level of holding accuracy is Cesium clocks maintain accuracy, followed by rubidium clocks, followed by high-stable crystal oscillators, and finally common crystal oscillators.
步骤22:基站实时接收来自时间服务器的时间信息,当无法接收到时间信息时,进入时间同步保持状态;并且,从接收到来自时间服务器的状态通知开始,实时计算当前时间相对于标准时间的偏差ΔT,当ΔT大于预先设定的阈值时,执行退服操作。Step 22: The base station receives the time information from the time server in real time. When the time information cannot be received, it enters the time synchronization maintenance state; and, starting from receiving the status notification from the time server, calculates the deviation of the current time relative to the standard time in real time ΔT, when ΔT is greater than the preset threshold, the decommissioning operation is performed.
本步骤中,基站按照现有方式实时接收来自时间服务器的时间信息,如果某一时刻由于某种原因无法再接收到所述时间信息,则进入时间同步保持状态,即利用自身内置时钟来进行计时。也就是说,在基站进入时间同步保持状态之前,其利用接收自时间服务器的时间信息来与其它基站进行时间同步,在基站进入时间同步保持状态之后,利用自身内置时钟来与其它基站进行时间同步。In this step, the base station receives the time information from the time server in real time according to the existing method. If the time information can no longer be received for some reason at a certain moment, it will enter the time synchronization maintenance state, that is, use its own built-in clock for timing . That is to say, before the base station enters the time synchronization maintenance state, it uses the time information received from the time server to perform time synchronization with other base stations, and after the base station enters the time synchronization maintenance state, it uses its own built-in clock to perform time synchronization with other base stations .
另外,从获知时间服务器进入时间同步保持状态开始,即从接收到来自时间服务器的状态通知开始,基站可根据自身预先保存的不同时间保持等级分别对应的守时准确度以及接收到的时间服务器的内置时钟对应的时间保持等级等,实时计算当前时间相对于标准时间的偏差ΔT。In addition, starting from knowing that the time server enters the time synchronization maintenance state, that is, from receiving the status notification from the time server, the base station can respectively correspond to the punctuality accuracy of the different time maintenance levels stored in advance by itself and the received time server The time maintenance level corresponding to the built-in clock, etc., calculates the deviation ΔT of the current time relative to the standard time in real time.
ΔT的具体计算方式可为:The specific calculation method of ΔT can be:
1)如果基站未进入时间同步保持状态,则ΔT=T×δ;其中,T表示从接收到时间保持等级到当前时间的时长,δ表示接收到的时间保持等级对应的守时准确度;1) If the base station does not enter the time synchronization maintenance state, then ΔT=T×δ; wherein, T represents the duration from the received time maintenance level to the current time, and δ represents the punctuality accuracy corresponding to the received time maintenance level;
2)如果基站进入时间同步保持状态,则ΔT=ΔT0+T2×δ2,ΔT0=T1×δ1;其中,T1表示从接收到时间保持等级到基站进入时间同步保持状态的时长,δ1表示接收到的时间保持等级对应的守时准确度,T2表示从基站进入时间同步保持状态到当前时间的时长,δ2表示基站的内置时钟对应的时间保持等级对应的守时准确度。2) If the base station enters the time synchronization maintenance state, then ΔT=ΔT0+T2×δ2, ΔT0=T1×δ1; wherein, T1 represents the duration from receiving the time maintenance level to the base station entering the time synchronization maintenance state, and δ1 represents the received The punctuality accuracy corresponding to the time keeping level, T2 indicates the time period from the base station entering the time synchronization maintaining state to the current time, and δ2 indicates the punctuality accuracy corresponding to the time keeping level corresponding to the built-in clock of the base station.
在实际应用中,可在基站中预先设置一个保持判别参数α,初始状态,α的取值为0,当基站接收到来自时间服务器的状态通知后,将α的取值设置为1,当基站自身进入时间同步保持状态后,α的取值同样设置为1;当然,反之也可以,即初始状态设置为1。这样,对于上述第2)种情况,当基站的状态发生改变,比如从非时间同步保持状态进入到时间同步保持状态后,可通过查询α来确定时间服务器是否已经先于自己进入时间同步保持状态,如果是,则在ΔT0的基础上累积T2×δ2,从而得到最终的ΔT。In practical applications, a maintenance discrimination parameter α can be preset in the base station. In the initial state, the value of α is 0. When the base station receives the status notification from the time server, the value of α is set to 1. When the base station After entering the time synchronization state, the value of α is also set to 1; of course, the opposite is also possible, that is, the initial state is set to 1. In this way, for the above 2) case, when the state of the base station changes, for example, after entering the time synchronization maintenance state from the non-time synchronization maintenance state, it can be determined whether the time server has entered the time synchronization maintenance state before itself by querying α , if yes, accumulate T2×δ2 on the basis of ΔT0 to get the final ΔT.
一旦计算出的ΔT大于预先设定的阈值β,则基站即可执行退服操作。Once the calculated ΔT is greater than the preset threshold β, the base station can perform a decommissioning operation.
作为另外一种可行的实现方式,本步骤中,当基站获知时间服务器进入时间同步保持状态后,可不按现有方式直接利用接收自时间服务器的时间信息来与其它基站进行时间同步,而是将接收自时间服务器的时间保持等级与自身内置时钟对应的时间保持等级进行比较,如果接收到的时间保持等级高于自身内置时钟对应的时间保持等级,则执行步骤22,否则,直接进入时间同步保持状态,并实时计算ΔT,当ΔT大于β时,执行退服操作。As another feasible implementation, in this step, when the base station learns that the time server has entered the time synchronization maintenance state, it may not directly use the time information received from the time server to perform time synchronization with other base stations according to the existing method, but will The time keeping level received from the time server is compared with the time keeping level corresponding to its own built-in clock, if the received time keeping level is higher than the time keeping level corresponding to its own built-in clock, then perform step 22, otherwise, directly enter the time synchronization keeping State, and calculate ΔT in real time, when ΔT is greater than β, perform decommissioning operation.
也就是说,如果时间服务器的内置时钟的保持精度级别高于基站自身内置时钟的保持精度级别,则基站利用接收自时间服务器的时间信息来与其它基站进行时间同步,否则,利用自身内置时钟来与其它基站进行时间同步,从而保证基站能够使用保持精度级别相对最高的时钟。That is to say, if the maintenance accuracy level of the built-in clock of the time server is higher than the maintenance accuracy level of the base station's own built-in clock, the base station uses the time information received from the time server to perform time synchronization with other base stations, otherwise, uses its own built-in clock to Time synchronization with other base stations, so as to ensure that the base station can use the clock with the highest level of accuracy.
这种情况下,基站可按照以下方式来计算ΔT:ΔT=T3×δ3;其中,T3表示从基站进入时间同步保持状态到当前时间的时长,δ3表示基站的内置时钟对应的时间保持等级对应的守时准确度。In this case, the base station can calculate ΔT in the following manner: ΔT=T3×δ3; wherein, T3 represents the time period from the base station entering the time synchronization maintenance state to the current time, and δ3 represents the time corresponding to the time keeping level corresponding to the built-in clock of the base station. Punctual accuracy.
如果时间服务器恢复为正常状态,即恢复为能够正常接收来自卫星的标准时间的非时间同步保持状态,那么时间服务器会通知基站;相应地,在执行退服操作之前的任一时刻,如果基站接收到来自时间服务器的正常时间信息,即标准时间信息,则将ΔT以及上述α清零。If the time server returns to the normal state, that is, it returns to the non-time synchronization holding state that can normally receive the standard time from the satellite, then the time server will notify the base station; correspondingly, at any time before the decommissioning operation, if the base station receives When the normal time information from the time server, ie the standard time information, is received, ΔT and the above α are cleared to zero.
至此,即完成了关于本发明方法实施例的介绍。So far, the introduction about the method embodiment of the present invention is completed.
基于上述介绍,图3为本发明基站实施例的组成结构示意图。如图3所示,包括:Based on the above introduction, FIG. 3 is a schematic diagram of a structure of a base station embodiment of the present invention. As shown in Figure 3, including:
第一处理单元31,用于接收来自时间服务器的进入时间同步保持状态的通知,发送给第二处理单元32;The first processing unit 31 is configured to receive a notification of entering the time synchronization maintenance state from the time server, and send it to the second processing unit 32;
第二处理单元32,用于实时接收来自时间服务器的时间信息,当无法接收到时间信息时,控制基站进入时间同步保持状态,并从接收到所述通知开始,实时计算当前时间相对于标准时间的偏差ΔT,当ΔT大于预先设定的阈值时,执行退服操作。The second processing unit 32 is used to receive time information from the time server in real time, and when the time information cannot be received, control the base station to enter the time synchronization maintenance state, and start from receiving the notification to calculate the current time relative to the standard time in real time The deviation ΔT, when ΔT is greater than the preset threshold, the decommissioning operation is performed.
其中,第一处理单元31可进一步用于,接收来自时间服务器的时间保持等级,发送给第二处理单元32;第二处理单元32中进一步保存有不同的时间保持等级分别对应的守时准确度;Wherein, the first processing unit 31 can be further used to receive the time keeping level from the time server and send it to the second processing unit 32; the second processing unit 32 further preserves the punctual accuracy corresponding to different time keeping levels ;
如果基站未进入时间同步保持状态,则第二处理单元32实时计算ΔT=T×δ;其中,T表示从接收到时间保持等级到当前时间的时长,δ表示接收到的时间保持等级对应的守时准确度;If the base station does not enter the time synchronization maintenance state, the second processing unit 32 calculates ΔT=T×δ in real time; wherein, T represents the duration from the received time maintenance level to the current time, and δ represents the time keeping level corresponding to the received time maintenance level time accuracy;
如果基站进入时间同步保持状态,则第二处理单元32实时计算ΔT=ΔT0+T2×δ2,ΔT0=T1×δ1;其中,T1表示从接收到时间保持等级到基站进入时间同步保持状态的时长,δ1表示接收到的时间保持等级对应的守时准确度,T2表示从基站进入时间同步保持状态到当前时间的时长,δ2表示基站的内置时钟对应的时间保持等级对应的守时准确度。If the base station enters the time synchronization maintenance state, the second processing unit 32 calculates in real time ΔT=ΔT0+T2×δ2, ΔT0=T1×δ1; wherein, T1 represents the duration from receiving the time maintenance level to the base station entering the time synchronization maintenance state, δ1 indicates the punctuality accuracy corresponding to the received time keeping level, T2 indicates the time period from the base station entering the time synchronization maintaining state to the current time, and δ2 indicates the punctuality accuracy corresponding to the time keeping level corresponding to the built-in clock of the base station.
另外,图3所示基站中还可进一步包括:第三处理单元33;第一处理单元31进一步用于,将接收到的时间保持等级发送给第三处理单元33;In addition, the base station shown in FIG. 3 may further include: a third processing unit 33; the first processing unit 31 is further configured to send the received time keeping level to the third processing unit 33;
第三处理单元33将接收到的时间保持等级与基站的内置时钟对应的时间保持等级进行比较,如果接收到的时间保持等级高于基站的内置时钟对应的时间保持等级,则通知第二处理单元32执行自身功能,否则,直接进入时间同步保持状态,并实时计算ΔT=T3×δ3;其中,T3表示从基站进入时间同步保持状态到当前时间的时长,δ3表示基站的内置时钟对应的时间保持等级对应的守时准确度,当ΔT大于阈值时,执行退服操作。The third processing unit 33 compares the time keeping level received with the time keeping level corresponding to the built-in clock of the base station, and if the time keeping level received is higher than the time keeping level corresponding to the built-in clock of the base station, then notify the second processing unit 32 to execute its own function, otherwise, directly enter the time synchronization holding state, and calculate ΔT=T3×δ3 in real time; wherein, T3 represents the time length from the base station entering the time synchronization holding state to the current time, and δ3 represents the time holding time corresponding to the built-in clock of the base station The punctuality accuracy corresponding to the level. When ΔT is greater than the threshold, the decommissioning operation will be performed.
图4为本发明时间服务器实施例的组成结构示意图。如图4所示,包括:FIG. 4 is a schematic diagram of the composition and structure of the time server embodiment of the present invention. As shown in Figure 4, including:
第四处理单元41,用于当时间服务器进入时间同步保持状态时,通知第五处理单元42执行自身功能;The fourth processing unit 41 is configured to notify the fifth processing unit 42 to perform its own function when the time server enters the time synchronization maintenance state;
第五处理单元42,用于将时间服务器的状态通知给基站,并利用时间服务器的内置时钟进行计时,将时间信息实时发送给基站。The fifth processing unit 42 is configured to notify the base station of the state of the time server, and use the built-in clock of the time server to keep time, and send the time information to the base station in real time.
其中,第五处理单元42还可进一步用于,将时间服务器的内置时钟对应的时间保持等级发送给基站。Wherein, the fifth processing unit 42 may be further configured to send the time keeping level corresponding to the built-in clock of the time server to the base station.
图3和4所示装置实施例的具体工作流程请参照图2所示方法实施例中的相应介绍,此处不再赘述。For the specific work flow of the device embodiment shown in FIGS. 3 and 4 , please refer to the corresponding introduction in the method embodiment shown in FIG. 2 , which will not be repeated here.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010546270.4A CN102469484B (en) | 2010-11-15 | 2010-11-15 | Base station out-of-service method, base station and time server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010546270.4A CN102469484B (en) | 2010-11-15 | 2010-11-15 | Base station out-of-service method, base station and time server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102469484A CN102469484A (en) | 2012-05-23 |
CN102469484B true CN102469484B (en) | 2015-02-04 |
Family
ID=46072506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010546270.4A Active CN102469484B (en) | 2010-11-15 | 2010-11-15 | Base station out-of-service method, base station and time server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102469484B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1394004A (en) * | 2001-06-29 | 2003-01-29 | 深圳市中兴通讯股份有限公司上海第二研究所 | Method and device for choosing and controlling clock source of synchronous digital optical network |
CN2790050Y (en) * | 2004-12-10 | 2006-06-21 | 上海欣泰通信技术有限公司 | ETS exchanger time synchronizer |
CN101022306A (en) * | 2006-02-13 | 2007-08-22 | 鼎桥通信技术有限公司 | Inter base station synchronizing method in mobile communication system |
CN201039198Y (en) * | 2006-09-18 | 2008-03-19 | 中兴通讯股份有限公司 | Network timing distribution system for Ethernet passive optical network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2871006B1 (en) * | 2004-05-28 | 2008-09-12 | Thales Sa | METHOD AND SYSTEM FOR DISTRIBUTED SYNCHRONIZATION |
-
2010
- 2010-11-15 CN CN201010546270.4A patent/CN102469484B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1394004A (en) * | 2001-06-29 | 2003-01-29 | 深圳市中兴通讯股份有限公司上海第二研究所 | Method and device for choosing and controlling clock source of synchronous digital optical network |
CN2790050Y (en) * | 2004-12-10 | 2006-06-21 | 上海欣泰通信技术有限公司 | ETS exchanger time synchronizer |
CN101022306A (en) * | 2006-02-13 | 2007-08-22 | 鼎桥通信技术有限公司 | Inter base station synchronizing method in mobile communication system |
CN201039198Y (en) * | 2006-09-18 | 2008-03-19 | 中兴通讯股份有限公司 | Network timing distribution system for Ethernet passive optical network |
Also Published As
Publication number | Publication date |
---|---|
CN102469484A (en) | 2012-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220342084A1 (en) | Navigation satellite time system and its autonomous recovery method | |
US20140002304A1 (en) | Method and apparatus for locating terminal device | |
CN202694021U (en) | Substation time synchronizing system | |
CN102378350B (en) | Time synchronization method, server and system | |
WO2015054122A1 (en) | Global time synchronization server for wireless devices | |
CN108012239A (en) | A kind of method, storage medium and smart machine for obtaining positioning | |
CN102238719A (en) | Time synchronization method and device and distributed time synchronization system | |
CN103309228A (en) | Time correcting method of car-mounted terminal system | |
CN101990226A (en) | Automatic restart method, system and device for power failure | |
WO2011021449A1 (en) | Gps positioning system, gps positioning method, and gps positioning terminal | |
CN104080115B (en) | A kind of time synchronized performance monitoring method, apparatus and system | |
CN103458501A (en) | Positioning method and device | |
CN103037506A (en) | Locating methods, locating system and relevant equipment | |
CN101499797B (en) | Method and apparatus for controlling phase changing | |
CN102393526A (en) | Method for correcting crystal oscillator frequency of satellite navigation receiving device and corresponding device | |
JP6012535B2 (en) | Time information transmission device | |
KR102433245B1 (en) | remote control device for managing rainwater pumping stations | |
CN105573777A (en) | Control method and devicefor service in application | |
CN102469484B (en) | Base station out-of-service method, base station and time server | |
CN103226021A (en) | Practical inertial navigation system calibration method | |
WO2022033440A1 (en) | Integrity protection method and system | |
CN107911187B (en) | A kind of electric system time synchronization optimization method based on time calibration | |
EP2448342A1 (en) | Method and apparatus for realizing summer time in cdma system | |
CN113507741A (en) | Communication delay determination method and electronic equipment | |
JP2007195034A (en) | Portable telephone terminal device and position information notifying method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |