CN102006661A - Method and base station for realizing time synchronization - Google Patents

Method and base station for realizing time synchronization Download PDF

Info

Publication number
CN102006661A
CN102006661A CN2010105736244A CN201010573624A CN102006661A CN 102006661 A CN102006661 A CN 102006661A CN 2010105736244 A CN2010105736244 A CN 2010105736244A CN 201010573624 A CN201010573624 A CN 201010573624A CN 102006661 A CN102006661 A CN 102006661A
Authority
CN
China
Prior art keywords
base station
time
clock source
system time
parameter
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.)
Granted
Application number
CN2010105736244A
Other languages
Chinese (zh)
Other versions
CN102006661B (en
Inventor
宋照红
张大刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 201010573624 priority Critical patent/CN102006661B/en
Publication of CN102006661A publication Critical patent/CN102006661A/en
Priority to PCT/CN2011/083500 priority patent/WO2012075921A1/en
Application granted granted Critical
Publication of CN102006661B publication Critical patent/CN102006661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes

Landscapes

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

Abstract

The embodiment of the invention discloses a method and a base station for realizing time synchronization, relates to the technical field of communication, and aims to improve the reliability of acquiring the absolute system time by the base station. The method comprises the following steps of: acquiring information of a clock source base station; performing downlink synchronization according to the information of the clock source base station and the clock source base station; acquiring a reference parameter of the absolute system time; and calculating the absolute system time according to the reference parameter of the absolute system time and performing system time synchronization by using the absolute system time and the clock source base station.

Description

Realize the method and the base station of time synchronized
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and base station of realizing time synchronized.
Background technology
Mobile communications network is the time division multiplexing of realization transfer resource etc., require to keep between each network element transmitting synchronous, so each network element has strict requirement to the clock signal precision.The base station generally obtains absolute time by two kinds of methods at present.
Method one, base station as GPS (Global Positioning System, global positioning system) star card, obtain absolute time from satellite by synchronous satellite star card.
Method two, base station obtain absolute time by the clock server of supporting IEEE 1588V2 (The Institute of Electrical and Electronics Engineers 1588Version2, the precision interval clock synchronization criterion version 2 of network measure and control system) agreement.
Realize in the above-mentioned process of obtaining absolute time in the base station, the inventor finds that there are the following problems at least in the prior art: for method one, because GPS star card has certain requirement for the position of installing, being vulnerable to electromagnetic environment disturbs, therefore, the reliability of the absolute time that obtains according to the method for base station is not high; For method two, need the equipment in the mobile communications network all to support IEEE 1588V2 agreement, equipment such as router in the present mobile communications network and switch are not supported IEEE 1588V2 agreement usually, so make the base station obtain absolute time certain degree of difficulty is arranged, obtain the reliability of absolute system time thereby also influenced the base station.
Summary of the invention
The embodiment of the invention provides a kind of method and base station of realizing time synchronized, treats that with raising synchronising base station obtains the reliability of absolute system time.
The embodiment of the invention adopts following technical scheme:
A kind of realization method for synchronizing time comprises:
Obtain the information of clock source base station;
Information and described clock source base station according to described clock source base station carry out down-going synchronous;
Obtain absolute system time reference parameter;
According to the described absolute system time reference calculation of parameter absolute system time, and it is synchronous to utilize described absolute system time and described clock source base station to carry out system time.
A kind of base station comprises:
Information acquisition unit is used to obtain the information of clock source base station;
The down-going synchronous unit is used for carrying out down-going synchronous according to the information and the described clock source base station of described clock source base station;
Parameter acquiring unit is used to obtain absolute system time reference parameter;
Very first time lock unit was used for according to the described absolute system time reference calculation of parameter absolute system time, and it is synchronous to utilize described absolute system time and described clock source base station to carry out system time.
The method and the base station of the realization time synchronized that the embodiment of the invention provides, at first obtain the information of clock source base station, and carry out down-going synchronous according to information and this clock source base station of described clock source base station, obtain absolute system time reference parameter then, and according to the described absolute system time reference calculation of parameter absolute system time, it is synchronous then to utilize described absolute system time and described clock source base station to carry out system time.Thereby, utilize the technical scheme of the embodiment of the invention, in that not being installed, GPS star card or router and switch do not support under the situation of IEEE1588V2 agreement, still can obtain absolute system time reference parameter, and according to the absolute system time reference calculation of parameter absolute system time, thereby accomplish with the system time of clock source base station synchronous.Therefore, utilize the technical scheme of the embodiment of the invention, improved the base station and obtained the reliability of absolute system time.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done an introduction simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart that the embodiment of the invention one realizes the method for time synchronized;
Fig. 2 is the flow chart that the embodiment of the invention two realizes the method for time synchronized;
Fig. 3 is the flow chart that the embodiment of the invention three realizes the method for time synchronized;
Fig. 4 is the flow chart that the embodiment of the invention four realizes the method for time synchronized;
Fig. 5 is the schematic diagram of the embodiment of the invention five base stations;
Fig. 6 is the schematic diagram of very first time lock unit in the embodiment of the invention five;
Fig. 7 is the another schematic diagram of base station in the embodiment of the invention five.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
We are that example is described with WiMAX (Worldwide Interoperability for Microwave Access) mobile communcations system.
As shown in Figure 1, the embodiment of the invention one provides a kind of realization method for synchronizing time, comprising:
Step 11, treat that synchronising base station obtains the information of clock source base station.
In embodiments of the present invention, the described synchronising base station for the treatment of is meant do not have GPS star card or IEEE 1588V2 isochronon source, can't obtain the base station of absolute time.Described clock source base station has been meant GPS star card or IEEE1588V2 isochronon source, can obtain the base station of absolute time.Wherein, the information of described clock source base station can comprise the title of clock source base station, perhaps information such as numbering.
Wherein, described treat synchronising base station obtain the clock source base station information mode can for:
Mode one, treat synchronising base station, and receive the clock source request response that described network management device sends, in the request response of described clock source, comprise the information of described clock source base station to network management device tranmitting data register source request message.
Mode two, treat that synchronising base station receives the information of the clock source base station that is sent by described network management device.
Mode two is with the difference of mode one, in mode two, treats that synchronising base station does not need initiatively tranmitting data register source request message, just can receive the information of the clock source base station that is sent by described network management device.
Wherein, in embodiments of the present invention, described network management device can comprise: GW (Gateway, gateway), EMS (Element Manage System, Element management system) etc.
Step 12, the described synchronising base station for the treatment of carry out down-going synchronous according to the information and the described clock source base station of described clock source base station.
For the WiMAX system, treat that synchronising base station scans the descending synchronous signal channel of this clock source base station, come to accomplish the frame alignment with the clock source base station, read the reference frame number in the control channel message of described clock source base station again, treat that synchronising base station utilizes described reference frame number and clock source base station can accomplish that simple frame number is synchronous.
Step 13, the described synchronising base station for the treatment of obtain absolute system time reference parameter.
In this step, described absolute system time reference parameter can comprise: system time parameter and reference frame number.
Wherein, described treat synchronising base station obtain absolute system time reference parameter mode can for:
Mode one, treat that the control channel message that synchronising base station reads described clock source base station obtains described system time parameter and reference frame number.
Mode two, treat that synchronising base station obtains described system time parameter from network management device, and the control channel message that reads described clock source base station is obtained described reference frame number.
Mode three, treat that synchronising base station obtains described system time parameter by network management device from described clock source base station, and the control channel message that reads described clock source base station is obtained described reference frame number.
The difference of mode one, mode two and mode three is: in mode one, the control channel message of described clock source base station is carried described system time parameter, and the described synchronising base station for the treatment of can directly obtain system time parameter; And in mode two, the control channel message of described clock source base station is not carried described system time parameter, treats that synchronising base station obtains described system time parameter from described network management device; In mode three, the control channel message of described clock source base station is carried described system time parameter, but treat that synchronising base station can not directly obtain described system time parameter from the control channel message of described clock source base station, but obtain described system time parameter by described clock source base station by network management device.
The something in common of mode one, mode two and mode three is: treat that synchronising base station all is to obtain described reference frame number from the control channel message of described clock source base station.
Step 14, the described synchronising base station for the treatment of be according to the described absolute system time reference calculation of parameter absolute system time, and it is synchronous to utilize described absolute system time and described clock source base station to carry out system time.
Wherein, the described synchronising base station for the treatment of utilizes described system time parameter to obtain System Frame Number, obtains described absolute time according to described System Frame Number, described system time parameter and described reference frame number again.
Wherein, in embodiments of the present invention, between described system time parameter and the described System Frame Number following corresponding relation is arranged, can calculate System Frame Number by system time parameter, can instead release system time parameter again by System Frame Number, concrete computational methods can have multiple, give an example here a kind ofly to be:
Second=(Y*y+M*m+D*d+H*h+M*m+S*s)
FN=(Second*200)%0xFFFFFF
Wherein, Y, M, D, H, M, S represents year respectively, month, day, hour, minute, the weights of second, y, m, d, h, m, s represents year respectively, month, day, hour, minute, the actual value of second, FN representative system frame number, Second representative system time parameter, constant 200 is meant that per second is set to 200 frames (frame length 5ms) usually in WiMAX air protocol 802.16e, constant 0xFFFFFF is because definition frame number length is 3 bytes in the WiMAX air protocol 802.16, other communication systems can be different according to concrete agreement regulation, and described frame number comprises all frame numbers in the WiMAX system.
Thereby, utilize the technical scheme of the embodiment of the invention, in that not being installed, GPS star card or router and switch do not support under the situation of IEEE 1588V2 agreement, still can obtain absolute system time reference parameter, and according to the absolute system time reference calculation of parameter absolute system time, thereby accomplish with the system time of clock source base station synchronous.Therefore, utilize the technical scheme of the embodiment of the invention, improved the base station and obtained the reliability of absolute system time.
Below in conjunction with specific embodiment, describe the method for the time synchronized of embodiment of the invention realization in detail.
As shown in Figure 2, the embodiment of the invention two provides a kind of method that realizes time synchronized.Wherein, in the embodiment of the invention two, the control channel message of clock source base station is carried system time parameter (AIR_SYSTIME) and reference frame number (Frame Number) simultaneously.Specifically comprise:
Step 21, treat that synchronising base station obtains the information of clock source base station.
Wherein, described treat synchronising base station obtain the clock source base station information mode can for:
Mode one, treat that synchronising base station is to GW/EMS (Gateway/Element Manage System, gateway/Element management system) tranmitting data register source request message GetTime_Req, hope can obtain absolute time, network management device is replied and is treated synchronising base station clock source request response GetTime_Rep,, and in the request response of described clock source, comprise the information of described clock source base station.
Mode two, treat that synchronising base station does not need to GW/EMS tranmitting data register source request message, but receive the information of the clock source base station that initiatively sends by EMS.
Step 22, the described synchronising base station for the treatment of carry out down-going synchronous according to the information and the described clock source base station of described clock source base station.
This step can be with reference to the step 12 in the embodiment of the invention one.
Step 23, the described synchronising base station for the treatment of obtain absolute system time reference parameter.
In actual applications, any wireless system all can carry reference frame number FN in control channel message, and has only some system to carry system time in control channel message.In the present embodiment, in control channel message optional system for time parameter, network management device requires the clock source base station to carry system time parameter in control channel message.So the absolute system time reference parameter that the clock source base station carries in its control channel message comprises: system time parameter AIR_SYSTIME and reference frame number FN.Treat that synchronising base station by the absolute system time reference parameter in the control channel message that reads the clock source base station, obtains the system time parameter AIR_SYSTIME and the reference frame number FN of clock source base station.
Step 24, the described synchronising base station for the treatment of be according to the described absolute system time reference calculation of parameter absolute system time, and it is synchronous to utilize described absolute system time and described clock source base station to carry out system time.
In this step, the described synchronising base station for the treatment of utilizes described system time parameter to obtain System Frame Number, obtains the described absolute system time according to described System Frame Number, described reference frame number and described system time parameter again.
Concrete calculation process is as follows:
Step 241, obtain System Frame Number by described system time parameter, promptly obtain FNByAirTime by AIR_SYSTIME, wherein computing formula is:
AIR_SYSTIME=(Y*y+M*m+D*d+H*h+M*m+S*s)
FNByAirTime=(AIR_SYSTIME*200)%0xFFFFFF
Wherein, Y, M, D, H, M, S represents year respectively, month, day, hour, minute, the weights of second, y, m, d, h, m, s represents year respectively, month, day, hour, minute, the actual value of second, FNByAirTime representative system frame number, AIR_SYSTIME representative system time parameter (y-m-d-h-m-s), constant 200 is meant that per second is set to 200 frames (frame length 5ms) usually in WiMAX air protocol 802.16e, constant 0xFFFFFF is because 802.16 protocol definition frame number length are 3 bytes, other communication systems can be different according to concrete definition, and described frame number comprises all frame numbers in the WiMAX system.
Step 242, obtain the described absolute system time according to described System Frame Number, described reference frame number and described system time parameter, wherein computing formula is:
millisecond=(FN-FNByAirTime)*Ts
TIME=AIR_SYSTIME+millisecond
Wherein, FN represents reference frame number, FNByAirTime representative system frame number, Ts represents time constant (frame length is traditionally arranged to be 5ms in the WiMAX agreement), and millisecond represents relative time, unit is a millisecond, the absolute system time (y-m-d-h-m-s-ms) that the TIME representative obtains.
In actual applications, owing to reason absolute system time T IME such as parameter transmission or calculating time-delay can be slightly more late than the real-time time of clock source base station, when higher time of needs during accuracy, treat that synchronising base station can carry out time calibration again on the basis of the absolute system time T IME that obtains.Therefore, present embodiment can also comprise step 25 realizing treating that the real-time time of synchronising base station and clock source base station is synchronous, but that this step is not a present embodiment is essential.
Step 25, treat that synchronising base station obtains real-time absolute time, and it is synchronous to utilize described real-time absolute time and described clock source base station to carry out real-time time.
In this step, treat that the control channel message that synchronising base station reads described clock source base station once more obtains real-time frame number, then, treat that synchronising base station obtains the real-time absolute time of clock source station according to described absolute system time, described real-time frame number and described reference frame number.
Concrete formula is:
TIMEreal=TIME+(FNreal-FN)*Ts
Wherein TIME is the absolute system time (y-m-d-h-m-s-ms) that has obtained in the step 24, FNreal reads the real-time frame number that clock source station control channel message is obtained once more, FN is the reference frame number of having obtained in the step 23, Ts is a time constant (frame length, be traditionally arranged to be 5ms in the WiMAX agreement), TIMEreal is exactly the real-time absolute time of clock source station.
And then it is synchronous to treat that synchronising base station utilizes described real-time absolute time and described clock source base station to carry out real-time time.
Utilize the technical scheme of the embodiment of the invention two, in that not being installed, GPS star card or router and switch do not support under the situation of IEEE 1588V2 agreement, treat that synchronising base station still can resolve and obtain absolute system time reference parameter from the control channel message of clock source base station, comprise system time parameter (AIR_SYSTIME) and reference frame number FN, and according to the described absolute system time reference calculation of parameter absolute system time, thereby realize treating that synchronising base station and clock source base station system time are synchronous, further, can also utilize the absolute system time further to calculate real-time absolute time again, accomplish to treat that the real-time time of synchronising base station and clock source base station is synchronous, thereby improved the reliability that the base station obtains real-time absolute time.
As shown in Figure 3, the embodiment of the invention three provides a kind of method that realizes time synchronized.Wherein, in the embodiment of the invention three, treat that synchronising base station obtains described system time parameter from network management device, and from the control channel message of described clock source base station, obtain described reference frame number.Specifically comprise:
Step 31, treat that synchronising base station obtains the information of clock source base station.
This step can be with reference to the step 21 in the embodiment of the invention two.
Step 32, the described synchronising base station for the treatment of carry out down-going synchronous according to the information and the described clock source base station of described clock source base station.
This step can be with reference to the step 12 in the embodiment of the invention one.
Step 33, treat that synchronising base station obtains reference frame number from the clock source base station.
In the present embodiment, the control channel message of clock source base station is only carried reference frame number, can only obtain reference frame number so treat synchronising base station from the control channel message of clock source base station.
Step 34, treat that synchronising base station obtains system time parameter.
In the present embodiment, the control channel message of eating dishes without rice or wine of clock source base station is not carried system time parameter, so treat that synchronising base station can't directly obtain system time parameter from the control channel message of clock source base station, and can only from network management device, obtain system time parameter, specifically comprise:
Treat that synchronising base station is to network management device, as: GW or EMS or ClockServer (clock server) send reference time request message GetTime_Req, described network management device is replied and is treated synchronising base station reference time request response GetTime_Rep, and carries system time parameter in described reference time request response.
Step 35, treat synchronising base station, and it is synchronous to utilize described absolute system time and described clock source base station to carry out system time according to the absolute system time reference calculation of parameter absolute system time.
Described absolute system time reference parameter comprises system time parameter NET_SYSTIME and reference frame number FN.Treat that synchronising base station utilizes described system time parameter to obtain System Frame Number, obtains the described absolute system time according to described System Frame Number, described reference frame number and described system time parameter again.
Concrete calculation process is as follows:
Step 351, obtain System Frame Number by described system time parameter, promptly obtain FNByNetTime by NET_SYSTIME, wherein computing formula is:
NET_SYSTIME=(Y*y+M*m+D*d+H*h+M*m+S*s)
FNByNetTime=(NET_SYSTIME*200)%0xFFFFFF
Wherein, Y, M, D, H, M, S represents year respectively, month, day, hour, minute, the weights of second, y, m, d, h, m, s represents year respectively, month, day, hour, minute, the actual value of second, FNByNetTime representative system frame number, NET_SYSTIME representative system time parameter (y-m-d-h-m-s), constant 200 is meant that per second is set to 200 frames (frame length 5ms) usually in WiMAX air protocol 802.16e, constant 0xFFFFFF is because definition frame number length is 3 bytes in the WiMAX air protocol 802.16, other communication systems can be different according to concrete agreement regulation, and described frame number comprises all frame numbers in the WiMAX system.
Step 352, obtain the described absolute system time according to described System Frame Number, described reference frame number and described system time parameter, wherein computing formula is:
Millisecond=(FN-FNByNetTime)*Ts
TIME=NET_SYSTIME+millisecond
Wherein, FN represents reference frame number, FNByNetTime representative system frame number, Ts represents time constant (frame length, the WiMAX base station is traditionally arranged to be 5ms), and millisecond represents relative time, unit is a millisecond, the absolute system time (y-m-d-h-m-s-ms) that the TIME representative obtains.
In actual applications, owing to reason absolute system time T IME such as parameter transmission or calculating time-delay can be slightly more late than the real-time time of clock source base station, when higher time of needs during accuracy, treat that synchronising base station can carry out time calibration again on the basis of the absolute system time T IME that obtains.Therefore, optionally, present embodiment can also comprise step 36 realizing treating that the real-time time of synchronising base station and clock source base station is synchronous, but that this step is not a present embodiment is essential.
Step 36, treat that synchronising base station further calculates real-time absolute time, and it is synchronous to utilize described real-time absolute time and described clock source base station to carry out real-time time.
In this step, treat that the control channel message that synchronising base station reads described clock source base station once more obtains real-time frame number, then, treat that synchronising base station obtains the real-time absolute time of clock source station according to described absolute system time, described real-time frame number and described reference frame number.
Concrete formula is:
TIMEreal=TIME+(FNreal-FN)*Ts
Wherein TIME is the absolute system time (y-m-d-h-m-s-ms) that has obtained, FNreal reads the real-time frame number that clock source station control channel message is obtained once more, FN is the reference frame number of having obtained when calculating TIME, Ts is a time constant (frame length, be traditionally arranged to be 5ms in the WiMAX agreement), TIMEreal is exactly the real-time absolute time of clock source station.
And then it is synchronous to treat that synchronising base station utilizes described real-time absolute time and described clock source base station to carry out real-time time.
Utilize the technical scheme of the embodiment of the invention three, in the control channel message of clock source base station, do not carry under the situation of system time parameter, treat that synchronising base station obtains system time parameter from GW/EMS/ClockServer, from the control channel message of clock source base station, resolve and obtain reference frame number FN again, and according to the described absolute system time reference calculation of parameter absolute system time, thereby realize treating that synchronising base station and clock source base station system time are synchronous, further, can also utilize the described absolute system time to obtain real-time absolute time, accomplish to treat that the real-time time of synchronising base station and clock source base station is synchronous, thereby improved the reliability that the base station obtains real-time absolute time.
As shown in Figure 4, the embodiment of the invention four provides a kind of method that realizes time synchronized.In the embodiment of the invention four, treat that synchronising base station obtains described system time parameter by network management device from described clock source base station, and from the control channel message of described clock source base station, obtain described reference frame number.Specifically comprise:
Step 41, treat that synchronising base station obtains the information of clock source base station.
This step can be with reference to the step 21 in the embodiment of the invention two.
Step 42, the described synchronising base station for the treatment of carry out down-going synchronous according to the information and the described clock source base station of described clock source base station.
This step can be with reference to the step 12 in the embodiment of the invention one.
Step 43, treat that synchronising base station obtains reference frame number from the clock source base station.
In the present embodiment, because the control channel message of clock source base station is only carried reference frame number, from the control channel message of clock source base station, can only obtain reference frame number so treat synchronising base station.
Step 44, treat that synchronising base station obtains system time parameter.
In the present embodiment, the control channel message of clock source base station can't carry system time parameter (if any communication system control channel message do not support time parameter), so treat that synchronising base station can't directly obtain system time parameter from the control channel message of clock source base station, and can only obtain described system time parameter from described clock source base station by network management device, specifically comprise:
Treat that synchronising base station passes through network management device, as GW or EMS or ClockServer (clock server)) send reference time request message GetTime_Req to the clock source base station, the clock source base station is replied reference time request response GetTime_Rep by described network management device then, and comprises system time parameter in described reference time request response.
Step 45, the described synchronising base station for the treatment of be according to the described absolute system time reference calculation of parameter absolute system time, and it is synchronous to utilize described absolute system time and described clock source base station to carry out system time.
Described absolute system time reference parameter comprises system time parameter NET_SYSTIME and reference frame number FN.Treat that synchronising base station utilizes described system time parameter to obtain System Frame Number, obtains the described absolute system time according to described System Frame Number, described reference frame number and described system time parameter again.
Concrete calculation process is as follows:
Step 451, obtain System Frame Number by described system time parameter, promptly obtain FNByNetTime by NET_SYSTIME, wherein computing formula is:
NET_SYSTIME=(Y*y+M*m+D*d+H*h+M*m+S*s)
FNByNetTime=(NET_SYSTIME*200)%0xFFFFFF
Wherein, Y, M, D, H, M, S represents year respectively, month, day, hour, minute, the weights of second, y, m, d, h, m, s represents year respectively, month, day, hour, minute, the actual value of second, FNByNetTime representative system frame number, NET_SYSTIME representative system time parameter (y-m-d-h-m-s), constant 200 is meant that per second is set to 200 frames (frame length 5ms) usually in WiMAX air protocol 802.16e, constant 0xFFFFFF is because definition frame number length is 3 bytes in the WiMAX air protocol 802.16, other communication systems can be different according to concrete agreement regulation, and described frame number comprises all frame numbers in the WiMAX system.
Step 452, obtain the described absolute system time according to described System Frame Number, described reference frame number and described system time parameter, wherein computing formula is:
Millisecond=(FN-FNByNetTime)*Ts
TIME=NET_SYSTIME+millisecond
Wherein, FN represents reference frame number, FNByNetTime representative system frame number, Ts represents time constant (frame length, the WiMAX base station is traditionally arranged to be 5ms), and millisecond represents relative time, unit is a millisecond, the absolute system time (y-m-d-h-m-s-ms) that the TIME representative obtains.
In actual applications, owing to reason absolute system time T IME such as parameter transmission or calculating time-delay can be slightly more late than the real-time time of clock source base station, when higher time of needs during accuracy, treat that synchronising base station can carry out time calibration again on the basis of the absolute system time T IME that obtains.Therefore, present embodiment can also comprise step 46 realizing treating that the real-time time of synchronising base station and clock source base station is synchronous, but that this step is not a present embodiment is essential.
Step 46, treat that synchronising base station further calculates real-time absolute time, and it is synchronous to utilize described real-time absolute time and described clock source base station to carry out real-time time.
In this step, treat that the control channel message that synchronising base station reads described clock source base station once more obtains real-time frame number, then, treat that synchronising base station obtains the real-time absolute time of clock source station according to described absolute system time, described real-time frame number and described reference frame number.
Concrete formula is:
TIMEreal=TIME+(FNreal-FN)*Ts
Wherein TIME is the absolute system time (y-m-d-h-m-s-ms) that has obtained, FNreal reads the real-time frame number that clock source station control channel message is obtained once more, FN is the reference frame number of having obtained when calculating TIME, Ts is a time constant (frame length, be traditionally arranged to be 5ms in the WiMAX agreement), TIMEreal is exactly the real-time absolute time of clock source station.
And then it is synchronous to treat that synchronising base station utilizes described real-time absolute time and described clock source base station to carry out real-time time.
Utilize the technical scheme of the embodiment of the invention four, in the control channel message of clock source base station, do not carry under the situation of system time parameter, treat that synchronising base station obtains described system time parameter by GW/EMS/ClockServer by described clock source base station, from the control channel message of clock source base station, resolve and obtain reference frame number FN again, and according to the described absolute system time reference calculation of parameter absolute system time, thereby realize treating that synchronising base station and clock source base station system time are synchronous, can also further utilize the described absolute system time to obtain described real-time absolute time again, accomplish with the real-time time of clock source base station synchronous, thereby improved the reliability that the base station obtains real-time absolute time.
As shown in Figure 5, the base station of the embodiment of the invention five comprises: information acquisition unit 51 is used to obtain the information of clock source base station; Down-going synchronous unit 52 is used for carrying out down-going synchronous according to the information and the described clock source base station of described clock source base station; Parameter acquiring unit 53 is used to obtain absolute system time reference parameter; Very first time lock unit 54 was used for according to the described absolute system time reference calculation of parameter absolute system time, and it is synchronous to utilize the described absolute system time to carry out system time.
In embodiments of the present invention, described clock source base station has been meant GPS star card or IEEE 1588V2 isochronon source, can obtain the base station of absolute time.Wherein, the information of described clock source base station can comprise the title of clock source base station, perhaps information such as numbering.
Wherein, as the description among the method embodiment, described information acquisition unit can be obtained absolute system time reference parameter by dual mode at least.Accordingly, described information acquisition unit 51 specifically can comprise: request sending module is used for to network management device tranmitting data register source request message; The message sink module is used to receive the clock source request response that described network management device sends, and comprises the information of described clock source base station in the request response of described clock source.Perhaps, described information acquisition unit 51 can specifically be used for, and receives the information of the clock source base station that is sent by described network management device.
For the WiMAX system, described down-going synchronous unit 52 can specifically be used for, scan the descending synchronous signal channel of this appointment clock source base station, come to accomplish the frame alignment with the clock source base station, read the reference frame number in the control channel message of described clock source base station again, thereby, treat that synchronising base station and clock source base station can accomplish that simple frame number is synchronous.
As the description among the method embodiment, described absolute system time reference parameter can comprise: system time parameter and reference frame number.Therefore, described parameter acquiring unit 53 can specifically be used to read the control channel message of described clock source base station, obtains described system time parameter and reference frame number.
Perhaps, described parameter acquiring unit 53 can specifically be used for obtaining described system time parameter by network management device, reads the control channel message of described clock source base station and obtains described reference frame number.At this moment, described parameter acquiring unit 53 can comprise: message transmission module is used for sending the reference time request message to described network management device; The message sink module is used for comprising described system time parameter to receiving the reference time request response that described network management device sends in described reference time request response.
Perhaps, described parameter acquiring unit 53 can specifically be used for obtaining described system time parameter by network management device by described clock source base station, reads the control channel message of described clock source base station and obtains described reference frame number.At this moment, described parameter acquiring unit 53 can comprise: message transmission module is used for sending the reference time request message by described network management device to described clock source base station; The message sink module is used to receive described clock source base station by the reference time request response that described network management device sends, and comprises described system time parameter in described reference time request response.
Wherein, the operation principle of described parameter acquiring unit 53 can be with reference to the description among the preceding method embodiment.
Wherein, as shown in Figure 6, described very first time lock unit 54 comprises: first computing module 541 is used to utilize described system time parameter to obtain System Frame Number; Second computing module 542 is used for obtaining the described absolute system time according to described System Frame Number, described system time parameter and described reference frame number; Time synchronized module 543, it is synchronous to be used to utilize described absolute system time and described clock source base station to carry out system time.
Wherein, the operation principle of described time synchronized unit 54 can be with reference to the description among the preceding method embodiment.
As shown in Figure 7, in embodiments of the present invention, owing to reason TIME such as parameter transmission or calculating time-delay can be slightly more late than clock source base station real-time time, need higher time during accuracy, described base station also can comprise: real-time frame number acquiring unit 55, and the control channel message that is used to read described clock source base station is obtained real-time frame number; The second time synchronized unit 56 is used for according to the described absolute system time, in real time frame number and reference frame number obtain the real-time absolute time of clock source station, and it is synchronous to utilize described real-time absolute time and described clock source base station to carry out real-time time.
Thereby, utilize the base station of the embodiment of the invention five, in that not being installed, GPS star card or router and switch do not support under the situation of IEEE 1588V2 agreement, still can obtain absolute system time reference parameter, and according to the absolute system time reference calculation of parameter absolute system time, thereby realize treating that synchronising base station and clock source base station system time are synchronous, can also further calculate real-time absolute time according to the absolute system time again, thereby accomplish with the real-time time of clock source base station synchronous.Therefore, utilize the base station of the embodiment of the invention five, improved the reliability that the base station obtains real-time absolute time.
In sum, the method and the base station of the realization time synchronized that the embodiment of the invention provides, at first obtain the information of clock source base station, then information and the described clock source base station according to described clock source base station carries out down-going synchronous, obtain absolute system time reference parameter again, and then according to the described absolute system time reference calculation of parameter absolute system time, and it is synchronous to utilize described absolute system time and described clock source base station to carry out system time.Therefore, the reliability for the treatment of synchronising base station communication has been improved in the method for the realization time synchronized that provides of the embodiment of the invention and base station.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (15)

1. realize method for synchronizing time for one kind, it is characterized in that, comprising:
Obtain the information of clock source base station;
Information and described clock source base station according to described clock source base station carry out down-going synchronous;
Obtain absolute system time reference parameter;
According to the described absolute system time reference calculation of parameter absolute system time, and it is synchronous to utilize described absolute system time and described clock source base station to carry out system time.
2. realization method for synchronizing time according to claim 1 is characterized in that, the described information of obtaining the clock source base station comprises:
To network management device tranmitting data register source request message, receive the clock source request response that described network management device sends, comprise the information of clock source base station in the request response of wherein said clock source; Or
Reception is by the information of the clock source base station of described network management device transmission.
3. realization method for synchronizing time according to claim 1 is characterized in that, described absolute system time reference parameter comprises: system time parameter and reference frame number; The described absolute system time reference parameter of obtaining comprises:
Read the control channel message of described clock source base station and obtain described system time parameter and reference frame number; Or
Obtain described system time parameter from network management device, read the control channel message of described clock source base station and obtain described reference frame number; Or
Obtain described system time parameter by network management device from described clock source base station, read the control channel message of described clock source base station and obtain described reference frame number.
4. realization method for synchronizing time according to claim 3 is characterized in that, describedly obtains described system time parameter from network management device and comprises:
Send the reference time request message to described network management device;
Receive the reference time request response that described network management device sends, wherein, comprise described system time parameter in the described reference time request response.
5. realization method for synchronizing time according to claim 3 is characterized in that, describedly obtains described system time parameter by network management device from described clock source base station and comprises:
Send the reference time request message by described network management device to described clock source base station;
Receive described clock source base station by the reference time request response that described network management device sends, wherein, comprise described system time parameter in the described reference time request response.
6. realization method for synchronizing time according to claim 1 is characterized in that, described absolute system time reference parameter comprises: system time parameter and reference frame number; Describedly comprise according to the described absolute system time reference calculation of parameter absolute system time:
Utilize described system time parameter to obtain System Frame Number;
Obtain the described absolute system time according to described System Frame Number, described system time parameter and described reference frame number.
7. realization method for synchronizing time according to claim 6, it is characterized in that, described according to the described absolute system time reference calculation of parameter absolute system time, and utilize described absolute system time and described clock source base station carry out system time synchronously after, described method also comprises:
Read the control channel message of described clock source base station and obtain real-time frame number;
Obtain the real-time absolute time of clock source station according to described absolute system time, described real-time frame number and described reference frame number, and it is synchronous to utilize described real-time absolute time and described clock source base station to carry out real-time time.
8. a base station is characterized in that, comprising:
Information acquisition unit is used to obtain the information of clock source base station;
The down-going synchronous unit is used for carrying out down-going synchronous according to the information and the described clock source base station of described clock source base station;
Parameter acquiring unit is used to obtain absolute system time reference parameter;
Very first time lock unit was used for according to the described absolute system time reference calculation of parameter absolute system time, and it is synchronous to utilize described absolute system time and described clock source base station to carry out system time.
9. base station according to claim 8 is characterized in that, described information acquisition unit comprises:
Request sending module is used for to network management device tranmitting data register source request message;
The message sink module is used to receive the clock source request response that described network management device sends, and wherein, comprises the information of clock source base station in the request response of described clock source.
10. base station according to claim 8 is characterized in that, described information acquisition unit specifically is used to receive the information of the clock source base station that is sent by network management device.
11. base station according to claim 8 is characterized in that, described absolute system time reference parameter comprises: system time parameter and reference frame number;
Described parameter acquiring unit specifically is used to read the control channel message of described clock source base station and obtains described system time parameter and reference frame number; Or
Described parameter acquiring unit specifically is used for obtaining described system time parameter from network management device, reads the control channel message of described clock source base station and obtains described reference frame number; Or
Described parameter acquiring unit specifically is used for obtaining described system time parameter by network management device from described clock source base station, reads the control channel message of described clock source base station and obtains described reference frame number.
12. base station according to claim 11 is characterized in that, described parameter acquiring unit comprises:
Message transmission module is used for sending the reference time request message to described network management device;
The message sink module is used to receive the reference time request response that described network management device sends, and wherein, comprises described system time parameter in the described reference time request response.
13. base station according to claim 11 is characterized in that, described parameter acquiring unit comprises:
Message transmission module is used for sending the reference time request message by described network management device to described clock source base station;
The message sink module is used to receive described clock source base station by the reference time request response that described network management device sends, and wherein, comprises described system time parameter in the described reference time request response.
14. base station according to claim 8 is characterized in that, described absolute system time reference parameter comprises: system time parameter and reference frame number;
Described very first time lock unit comprises:
First computing module is used to utilize described system time parameter to obtain System Frame Number;
Second computing module is used for obtaining the described absolute system time according to described System Frame Number, described system time parameter and described reference frame number;
The time synchronized module, it is synchronous to be used to utilize described absolute system time and described clock source base station to carry out system time.
15. base station according to claim 14 is characterized in that, described base station also comprises:
Real-time frame number acquiring unit, the control channel message that is used to read described clock source base station is obtained real-time frame number;
The second time synchronized unit is used for obtaining the real-time absolute time of clock source station according to described absolute system time, described real-time frame number and described reference frame number, and it is synchronous to utilize described real-time absolute time and described clock source base station to carry out real-time time.
CN 201010573624 2010-12-06 2010-12-06 Method and base station for realizing time synchronization Active CN102006661B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 201010573624 CN102006661B (en) 2010-12-06 2010-12-06 Method and base station for realizing time synchronization
PCT/CN2011/083500 WO2012075921A1 (en) 2010-12-06 2011-12-06 Method and base station for time synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010573624 CN102006661B (en) 2010-12-06 2010-12-06 Method and base station for realizing time synchronization

Publications (2)

Publication Number Publication Date
CN102006661A true CN102006661A (en) 2011-04-06
CN102006661B CN102006661B (en) 2013-04-24

Family

ID=43813629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010573624 Active CN102006661B (en) 2010-12-06 2010-12-06 Method and base station for realizing time synchronization

Country Status (2)

Country Link
CN (1) CN102006661B (en)
WO (1) WO2012075921A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012075921A1 (en) * 2010-12-06 2012-06-14 华为技术有限公司 Method and base station for time synchronization
CN102788967A (en) * 2011-05-16 2012-11-21 Ls产电株式会社 Rtls system using tdo
CN103840933A (en) * 2013-12-10 2014-06-04 北京北方烽火科技有限公司 Method and switch for achieving clock synchronization
CN104145514A (en) * 2012-08-01 2014-11-12 华为技术有限公司 Synchronization method, apparatus, and system
WO2023071613A1 (en) * 2021-10-28 2023-05-04 华为技术有限公司 Method for time synchronization between stations, and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466394A (en) * 2002-06-10 2004-01-07 华为技术有限公司 Method for realizing synchronization between base stations in mobile communication system
US20070165578A1 (en) * 1999-12-01 2007-07-19 Alcatel Canada Inc. Physical layer interface system and method for a wireless communication system
CN101510801A (en) * 2009-03-02 2009-08-19 华为技术有限公司 Method, system and base station and terminal for time adjustment
CN101668333A (en) * 2009-09-30 2010-03-10 华为技术有限公司 Clock synchronization method and base station

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040202119A1 (en) * 2003-04-10 2004-10-14 Edge Stephen William Base station synchronization in a wireless network
CN101075848B (en) * 2007-07-05 2011-07-20 华为技术有限公司 System and method for synchronizing microcellular network base station and base station
CN102006661B (en) * 2010-12-06 2013-04-24 华为技术有限公司 Method and base station for realizing time synchronization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070165578A1 (en) * 1999-12-01 2007-07-19 Alcatel Canada Inc. Physical layer interface system and method for a wireless communication system
CN1466394A (en) * 2002-06-10 2004-01-07 华为技术有限公司 Method for realizing synchronization between base stations in mobile communication system
CN101510801A (en) * 2009-03-02 2009-08-19 华为技术有限公司 Method, system and base station and terminal for time adjustment
CN101668333A (en) * 2009-09-30 2010-03-10 华为技术有限公司 Clock synchronization method and base station

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012075921A1 (en) * 2010-12-06 2012-06-14 华为技术有限公司 Method and base station for time synchronization
CN102788967A (en) * 2011-05-16 2012-11-21 Ls产电株式会社 Rtls system using tdo
CN104145514A (en) * 2012-08-01 2014-11-12 华为技术有限公司 Synchronization method, apparatus, and system
US9807717B2 (en) 2012-08-01 2017-10-31 Huawei Technologies Co., Ltd. Method, apparatus, and system for synchronization
CN104145514B (en) * 2012-08-01 2018-03-13 华为技术有限公司 Method, apparatus and system for synchronization
CN103840933A (en) * 2013-12-10 2014-06-04 北京北方烽火科技有限公司 Method and switch for achieving clock synchronization
WO2023071613A1 (en) * 2021-10-28 2023-05-04 华为技术有限公司 Method for time synchronization between stations, and related device

Also Published As

Publication number Publication date
CN102006661B (en) 2013-04-24
WO2012075921A1 (en) 2012-06-14

Similar Documents

Publication Publication Date Title
US9929855B2 (en) Synchronizing clocks in a communications network
Li et al. Analysis of the synchronization requirements of 5G and corresponding solutions
US11470568B2 (en) Synchronizing TSN master clocks in wireless networks
US8244304B2 (en) Method for synchronization of assemblies in a base station
CN102006661B (en) Method and base station for realizing time synchronization
EP3603325B1 (en) Remote radio head equipped with user equipment terminal capability
WO2020151806A1 (en) Time synchronization mechanisms for wireless end points
CN102457371A (en) Time synchronization method and related equipment and system
CN102469571B (en) Method and system for realizing delay compensation in distributed base station system
EP2847921A1 (en) Timing synchronization for networks with radio links
US20110158114A1 (en) Method and appartus for performing timing synchronization in a wireless communication system
US11683150B2 (en) Methods, apparatus and computer-readable media for synchronization over an optical network
CN106656385B (en) The method for synchronizing time of eating dishes without rice or wine of relay system, equipment
CN101557255A (en) Time synchronization method, system thereof and time synchronous communication equipment
GB2512689A (en) Timing advance method for synchronized wifi network
CN102932083A (en) Microwave time synchronization method and device
JP2015068806A (en) Time synchronization system and time synchronization device
CN112235860A (en) Active antenna unit time delay alignment method and device and active antenna unit
CN105245324A (en) Clock synchronization method and device
KR100963650B1 (en) A high precision time synchronization system and method using wireless networks
CN104780602A (en) Clock self-synchronizing method in wireless communication network
CN114731266A (en) Clock information synchronization method and device, first node, terminal and storage medium
CN104935643A (en) Digital trunk system data frame dynamic buffer processing method
EP3461070A1 (en) Optical transmission device and bandwidth allocating method
CN104852880A (en) Synchronization method and terminal for direct communication between LTE terminal

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