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

Method and base station for realizing time synchronization Download PDF

Info

Publication number
CN102006661B
CN102006661B CN 201010573624 CN201010573624A CN102006661B CN 102006661 B CN102006661 B CN 102006661B CN 201010573624 CN201010573624 CN 201010573624 CN 201010573624 A CN201010573624 A CN 201010573624A CN 102006661 B CN102006661 B CN 102006661B
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.)
Active
Application number
CN 201010573624
Other languages
Chinese (zh)
Other versions
CN102006661A (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 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 such 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, the equipment such as the router in the present mobile communications network and switch are not supported IEEE 1588V2 agreement usually, so so that the base station obtains absolute time certain difficulty is arranged, obtains the reliability of absolute system time thereby also affected 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;
Down-going synchronous is carried out in information and described clock source base station according to described clock source base station;
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 for obtaining the information of clock source base station;
The down-going synchronous unit is used for carrying out down-going synchronous according to information and the described clock source base station of described clock source base station;
Parameter acquiring unit is used for obtaining 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.
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, then obtain absolute system time reference parameter, 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 in 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 was done a simply introduction during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
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 obtains under the creative work prerequisite.
We are described as an example of WiMAX (Worldwide Interoperability for Microwave Access) mobile communcations system example.
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 refers to 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 referred to 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 the 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 to network management device tranmitting data register source request message, and receive the clock source request response that described network management device sends, in described clock source request response, comprise the information of described clock source base station.
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 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 again the reference frame number in the control channel message of described clock source base station, treat that synchronising base station utilizes described reference frame number and clock source base station can accomplish simple frame number synchronization.
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 the direct access systems 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 network management device by described clock source base station.
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, circular can have multiple, gives 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 respectively year, month, day, hour, minute, the weights of second, y, m, d, h, m, s represents respectively year, month, day, hour, minute, the actual value of second, FN representative system frame number, Second representative system time parameter, constant 200 refers to 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 in 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 carrying 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 described clock source request response, 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 is initiatively sent by EMS.
Step 22, the described synchronising base station for the treatment of carry out down-going synchronous according to 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 only has some system carrying system time in control channel message.In the present embodiment, be optional system in control channel message for time parameter, network management device requires clock source base station carrying system time parameter in control channel message.So the absolute system time reference parameter that carry in its control channel message the clock source base station 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 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, namely 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 respectively year, month, day, hour, minute, the weights of second, y, m, d, h, m, s represents respectively year, 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 refers to 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 specific 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 millisecond, the absolute system time (y-m-d-h-m-s-ms) that the TIME representative obtains.
In actual applications, owing to the reason absolute system time T IME such as parameter transmission or computation 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 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 again 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 again, FN is the reference frame number of having obtained in the step 23, Ts is 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 in 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 synchronising base station and clock source base station system time synchronized, further, can also recycle the real-time absolute time of further calculating of absolute system 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 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 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 not carrying system time parameter of control channel message of eating dishes without rice or wine of clock source base station, can't directly from the control channel message of clock source base station, obtain system time parameter so treat synchronising 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 in described reference time request response the carrying system time parameter.
Step 35, treat synchronising base station according to the 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 351, obtain System Frame Number by described system time parameter, namely 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 respectively year, month, day, hour, minute, the weights of second, y, m, d, h, m, s represents respectively year, 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 refers to 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 millisecond, the absolute system time (y-m-d-h-m-s-ms) that the TIME representative obtains.
In actual applications, owing to the reason absolute system time T IME such as parameter transmission or computation 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, optional, 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 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 again 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 again, FN is the reference frame number of having obtained when calculating TIME, Ts is 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 not in the situation of carrying 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 again reference frame number FN, and according to the described absolute system time reference calculation of parameter absolute system time, thereby realize treating synchronising base station and clock source base station system time synchronized, 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 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 the carrying system time parameter (if any communication system control channel message do not support time parameter), can't directly obtain system time parameter from the control channel message of clock source base station so treat synchronising 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, such as GW or EMS or ClockServer (clock server)) to clock source base station transmission reference time request message GetTime_Req, then reference time request response GetTime_Rep is replied by described network management device in the clock source base station, 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, namely 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 respectively year, month, day, hour, minute, the weights of second, y, m, d, h, m, s represents respectively year, 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 refers to 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 millisecond, the absolute system time (y-m-d-h-m-s-ms) that the TIME representative obtains.
In actual applications, owing to the reason absolute system time T IME such as parameter transmission or computation 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 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 again 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 again, FN is the reference frame number of having obtained when calculating TIME, Ts is 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 not in the situation of carrying 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 again reference frame number FN, and according to the described absolute system time reference calculation of parameter absolute system time, thereby realize treating synchronising base station and clock source base station system time synchronized, can also further utilize again the described absolute system time to obtain described real-time absolute time, 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 for obtaining the information of clock source base station; Down-going synchronous unit 52 is used for carrying out down-going synchronous according to information and the described clock source base station of described clock source base station; Parameter acquiring unit 53 is used for obtaining 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 referred to 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 the information such as numbering.
Wherein, such as the description in the embodiment of the method, 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 for receiving the clock source request response that described network management device sends, and comprises the information of described clock source base station in described clock source request response.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 again the reference frame number in the control channel message of described clock source base station, thereby, treat that synchronising base station and clock source base station can accomplish simple frame number synchronization.
Such as the description in the embodiment of the method, 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 for reading 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 the reference time request response that receives described network management device transmission 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 to described clock source base station by described network management device; The message sink module is used for receiving 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: the first computing module 541 is used for utilizing described system time parameter to obtain System Frame Number; The 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 for utilizing 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 the reason TIME such as parameter transmission or computation 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, obtain real-time frame number for the control channel message that reads described clock source base station; The second time synchronized unit 56 is used for according to the described absolute system time, frame number and reference frame number obtain the real-time absolute time of clock source station in real time, 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 in 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 synchronising base station and clock source base station system time synchronized, 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, 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 carry out down-going synchronous according to information and the described clock source base station of described clock source base station, obtain again absolute system time reference parameter, 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; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, 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 (13)

1. realize method for synchronizing time for one kind, it is characterized in that, comprising:
Obtain the information of clock source base station;
Down-going synchronous is carried out in information and described clock source base station according to described clock source base station;
Obtain absolute system time reference parameter, described absolute system time reference parameter comprises: system time parameter and reference frame number;
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;
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.
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 wherein said clock source request response; 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 to described clock source base station by described network management device;
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, 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.
7. a base station is characterized in that, comprising:
Information acquisition unit is used for obtaining the information of clock source base station;
The down-going synchronous unit is used for carrying out down-going synchronous according to information and the described clock source base station of described clock source base station;
Parameter acquiring unit is used for obtaining absolute system time reference parameter, and described absolute system time reference parameter comprises: system time parameter and reference frame number;
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;
Described very first time lock unit comprises:
The first computing module is used for utilizing described system time parameter to obtain System Frame Number;
The 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 for utilizing described absolute system time and described clock source base station to carry out system time.
8. base station according to claim 7 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 for receiving the clock source request response that described network management device sends, and wherein, comprises the information of clock source base station in the described clock source request response.
9. base station according to claim 7 is characterized in that, described information acquisition unit specifically is used for receiving the information of the clock source base station that is sent by network management device.
10. base station according to claim 7 is characterized in that, described absolute system time reference parameter comprises: system time parameter and reference frame number;
Described parameter acquiring unit is specifically obtained described system time parameter and reference frame number for the control channel message that reads described clock source base station; 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.
11. base station according to claim 10 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 for receiving 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.
12. base station according to claim 10 is characterized in that, described parameter acquiring unit comprises:
Message transmission module is used for sending the reference time request message to described clock source base station by described network management device;
The message sink module is used for receiving 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.
13. base station according to claim 7 is characterized in that, described base station also comprises:
The frame number acquiring unit obtains real-time frame number for the control channel message that reads described clock source base station in real time;
The second time synchronized unit is used for obtaining according to described absolute system time, described real-time frame number and described reference frame number 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.
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 CN102006661A (en) 2011-04-06
CN102006661B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006661B (en) * 2010-12-06 2013-04-24 华为技术有限公司 Method and base station for realizing time synchronization
KR101220794B1 (en) * 2011-05-16 2013-01-15 엘에스산전 주식회사 Rtls system using tdoa
EP2871891B1 (en) 2012-08-01 2017-03-29 Huawei Technologies Co., Ltd. Synchronization method, apparatus, and system
CN103840933A (en) * 2013-12-10 2014-06-04 北京北方烽火科技有限公司 Method and switch for achieving clock synchronization
CN116056200A (en) * 2021-10-28 2023-05-02 上海华为技术有限公司 Method for time synchronization between stations and related equipment

Citations (3)

* 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
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE444609T1 (en) * 1999-12-01 2009-10-15 Alcatel Canada Inc METHOD AND APPARATUS FOR A PHYSICAL LAYER INTERFACE IN A WIRELESS COMMUNICATIONS SYSTEM
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 (3)

* 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
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

Also Published As

Publication number Publication date
CN102006661A (en) 2011-04-06
WO2012075921A1 (en) 2012-06-14

Similar Documents

Publication Publication Date Title
US10257798B1 (en) Synchronizing clocks in a wireless system
Li et al. Analysis of the synchronization requirements of 5G and corresponding solutions
US9929855B2 (en) Synchronizing clocks in a communications network
CN110324889B (en) Clock synchronization method, communication device and communication equipment
CN102457371B (en) Time synchronization method and related equipment and system
CN102006661B (en) Method and base station for realizing time synchronization
US8244304B2 (en) Method for synchronization of assemblies in a base station
CN110120846B (en) Clock synchronization method and system
CN100370864C (en) Network element time synchronizing method in mobile communication system
US8310983B2 (en) Method and apparatus for performing timing synchronization in a wireless communication system
EP3603325B1 (en) Remote radio head equipped with user equipment terminal capability
EP3827623A1 (en) Synchronizing tsn master clocks in wireless networks
WO2020151806A1 (en) Time synchronization mechanisms for wireless end points
CN101971557A (en) Systems and methods for distributing GPS clock to communications devices
EP3837790A1 (en) Provision of positioning reference signals
CN103259607A (en) Clock synchronization method and clock synchronization device
CN102932083A (en) Microwave time synchronization method and device
WO2016177090A1 (en) Clock synchronization method and device
KR100963650B1 (en) A high precision time synchronization system and method using wireless networks
EP3461070B1 (en) Optical transmission device and bandwidth allocating method
CN104935643A (en) Digital trunk system data frame dynamic buffer processing method
CN108111243B (en) Clock transmission system and corresponding clock synchronization processing method and device
CN107493600B (en) Massive MIMO communication device and synchronization method
CN102340396A (en) Time synchronization method for Ethernet passive optical network (EPON)
Gundall et al. Implementation and Evaluation of the RBIS Protocol in 5G

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