CN102185687B - System and method for realizing clock synchronization among different units - Google Patents

System and method for realizing clock synchronization among different units Download PDF

Info

Publication number
CN102185687B
CN102185687B CN201110128826.2A CN201110128826A CN102185687B CN 102185687 B CN102185687 B CN 102185687B CN 201110128826 A CN201110128826 A CN 201110128826A CN 102185687 B CN102185687 B CN 102185687B
Authority
CN
China
Prior art keywords
clock
unit
module
synchronization message
reference source
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
CN201110128826.2A
Other languages
Chinese (zh)
Other versions
CN102185687A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110128826.2A priority Critical patent/CN102185687B/en
Publication of CN102185687A publication Critical patent/CN102185687A/en
Application granted granted Critical
Publication of CN102185687B publication Critical patent/CN102185687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a system and a method for realizing clock synchronization among different units. The system comprises a first unit and a second unit. Each of the first and second units comprises a synchronization control module and a synchronization message transceiver module. The synchronization control module of the first unit is used for acquiring clock reference source information, forming a clock synchronization message by using the clock reference source information or the local clock-synchronized clock reference source information, and transmitting the clock synchronization message to the synchronization message transceiver module of the first unit. The synchronization message transceiver module of the first unit is used for transmitting the clock synchronization message to the second unit. The synchronization message transceiver module of the second unit is used for transmitting the clock synchronization message transmitted by the first unit to the synchronization control module of the second unit. The synchronization control module of the second unit is used for performing local clock synchronization according to the received clock synchronization message. The system provided by the invention can realize the clock synchronization between the different units, and solve the problems of difficulties in the clock synchronization realized in certain special application ways.

Description

A kind of system and method realizing clock synchronous between different units
Technical field
The present invention relates to communication technical field, particularly relate to a kind of system and method realizing clock synchronous between different units.
Background technology
In synchronous digital communications network, clock synchronous is a requisite requirement, as BBU (the Base Band Unit of wireless system, baseband pool unit) and RRU (Remote Radio Unit, remote radio unit (RRU)) between synchronous, and synchronous etc. between the master/backup clock unit of various communication equipment, wherein master/backup clock unit is defined as two clock units on an equipment, forms primary and backup.Under normal circumstances, primary unit provides time synchronization signals for communication equipment, if active clock unit breaks down, standby clock unit substitutes active clock immediately and provides time synchronization signals for communication equipment, when initiating artificial Forced Switch, standby clock also switches to active clock source at once.In radio systems, the standards such as CDMA2000, WIMAX, TD-SCDMA, LTE-TDD require that clock unit is supplied to Base Band Unit phase information, therefore, when active-standby switch, must ensure that the phase place of master/backup clock unit is consistent, otherwise it is abnormal to affect base band Business Processing some work.In wire transmission equipment, in like manner also need master/backup clock to ensure the reliability transmitted.
The method that usual guarantee different units clock phase synchronization is commonly used is that each clock unit is all synchronized with gps clock reference source, due in different places, the PP1S phase place that GPS exports is consistent, each Clock Subsystem all desynchronizes this reference source, as in master/backup clock unit application, the clock phase of master/backup clock subsystem is all close, when carrying out active-standby switch, add that some realize main preparation system clock synchronous certain methods when reference source switches, active and standby seamless switching can be realized, ensure the normal operation of business.
But along with the development of the communication technology, more and more abundanter to the demand of clock, and GPS is the global positioning system of the U.S., high for application cost radio communication base station time service, under extraneous cost and some other pressure, other clock synchronous reference source is being found in each equipment commercial city; Some is for improving receiver receiving sensitivity in addition, and the place that satellite receiver is placed on beyond clock unit is realized synchronously.Moreover transmit the main flow that data have been development as IP-based packet network, at present also a lot of based on realizing synchronous agreement in packet network, wherein " G.8261 (Timing and synchronization aspects of packetnetworks) " protocol definition is based on the synchronization aspects of message transfers net.Define some maximum network jitters and drift restriction etc., and propose the concept of SyncE, and define performance index at ITUG.8262, G.8264 ITU defines the distribution of the synchronous middle timed message of a kind of packet network.Based on the synchronous protocol of packet switch also just like IEEE1588-2008, agreement defines a kind of message accurate timing standard, be applied in field of industrial measurement at first, along with the pressure of communications field IPization trend and cost, this Ethernet synchronous protocol is slowly applied to the communications field, and become a kind of development trend, IEEE 1588 standard conversion is also become telecommunication standard by ITU successively, wherein ITU8265 series standard (realizing Frequency Synchronization) has been finalized a text and has been about to issue, and realizes phase locked standard I TU 827X series also in the middle of discussion.Therefore its innate advantage, it is a kind of trend that 1588 clock synchronization protocol are applied to the communications field, and current each large operation commercial city needs wireless device to support 1588 clock synchronous.
But under the reference source or similar reference source of foregoing description, and under the application mode that some is special, somewhat difficult in the method realizing clock phase synchronization, as there is following problem:
(1) for other parts clock reference source unit is placed on beyond clock unit, such as, first module in communication system, how the second unit so in communication system obtains reference synchronization source will become problem;
(2) relevant timing reference input is transmitted for packet message, will following problems may be encountered when realizing clock active/standby: normal conditions backup clock unit Ethernet interface is closed, the Ethernet message of upper level can not be got, therefore cannot realize the synchronous of standby clock unit; And for the reference source needing transmission table to be configured, when system is normally run, even if when the Ethernet interface of standby clock unit is opened, message interaction is carried out in the configuration also only having active clock unit can receive transmission table, cannot realize the synchronous of standby clock unit.
Summary of the invention
The invention provides a kind of system and method realizing clock synchronous between different units, in order to meet the synchronous demand of different clocks.
Concrete, the invention provides a kind of system realizing clock synchronous between different units, described system at least comprises: can obtain the first module of clock reference source information and need the second unit of clock synchronous;
Described first module, comprising: synchronization control module and synchronization message transceiver module; Wherein:
Synchronization control module, for obtaining clock reference source information, by described clock reference source information or by the described clock reference source information composition clock synchronization message after synchronous local clock, and this clock synchronization message is sent to the synchronization message transceiver module of this unit;
Synchronization message transceiver module, for being sent to described second unit by described clock synchronization message;
Described second unit, comprising: synchronization control module and synchronization message transceiver module;
Synchronization message transceiver module, the described clock synchronization message for described first module being sent is sent to the synchronization control module of this unit;
Synchronization control module, for carrying out synchronize local clocks according to the clock synchronization message received.
In system of the present invention, in described first module, in synchronization message transceiver module and second unit, synchronization message transceiver module comprises all further: reference source message encoding and decoding submodule;
Reference source message coding submodule in described first module, for receiving the clock synchronization message comprising reference source phase information and temporal information that in described first module, synchronization control module sends, after this clock synchronization message is carried out coded treatment, be sent to described second unit;
Reference source message coding submodule in described second unit, described clock synchronization message for sending described first module carries out decoding process, obtain after comprising the clock synchronization message of reference source phase information and temporal information, this clock synchronization message is sent to the synchronization control module of this unit.
In system of the present invention, in described first module, in synchronization message transceiver module and second unit, synchronization message transceiver module comprises all further: temporal information transmits submodule and phase information encoding and decoding submodule;
Temporal information in described first module transmits submodule, for receiving the clock synchronization message comprising reference source temporal information that in described first module, synchronization control module sends, this clock synchronization message is sent to described second unit;
Phase information encoding and decoding submodule in described first module, for receiving the clock synchronization message comprising reference source phase information that in described first module, synchronization control module sends, is sent to described second unit after being encoded by this clock synchronization message;
Temporal information in described second unit transmits submodule, for receiving the clock synchronization message comprising reference source temporal information that described first module sends, and this clock synchronization message is sent to the synchronization control module of this unit;
The phase information encoding and decoding submodule of described second unit, for receiving the clock synchronization message comprising reference source phase information that described first module sends, is sent to the synchronization control module of this unit after this clock synchronization message of decoding.
Wherein, temporal information in described first module transmit the clock synchronization message comprising reference source temporal information that submodule receives be in described first module synchronization control module according to the clock synchronization message after the encapsulation of setup message body; Or be that the temporal information in described first module transmits submodule receiving package containing after the clock synchronization message of reference source temporal information, and the clock synchronization message encapsulated carried out by the message body according to setting.
Wherein, described clock synchronization message comprises further: leap second information, reference source whether can indication information and reference source whether through the indication information of synchronize local clocks process.
In system of the present invention, described first module and second unit are: two business unit in different communication systems; Or, two business unit in same communication system; Or, the primary, spare clock unit in same communication system; When described first module and second unit are respectively primary, spare clock unit, describedly realize the system of time synchronized between different units and also comprise: system control unit, for controlling the masterslave switchover between active clock unit and standby clock unit.
The present invention also provides a kind of method realizing time synchronized between different units, and be applied in the system of the first module at least comprising and can obtain clock reference source information and the second unit needing clock synchronous, described method comprises:
Described first module obtains clock reference source information, by described clock reference source information or by the described clock reference source information composition clock synchronization message after synchronous local clock, and this clock synchronization message is sent to described second unit;
Described second unit receives the described clock synchronization message that described first module sends, and carries out synchronize local clocks according to this clock synchronization message.
The method of the invention specifically comprises:
Described first module is by described clock reference source information or form the clock synchronization message comprising reference source phase information and temporal information after described clock reference source information is carried out synchronize local clocks, is sent to second unit after encoding to this clock synchronization message; Or, described first module forms respectively by described clock reference source information or after described clock reference source information is carried out synchronize local clocks and comprises the clock synchronization message of reference source phase information and comprise the clock synchronization message of reference source temporal information, the described clock synchronization message comprising reference source temporal information is sent to second unit by after the message body encapsulation of setting, after the described clock synchronization message comprising reference source phase information is carried out coded treatment, is sent to second unit;
Described second unit carries out decoding process to the clock synchronization message received, and carries out synchronize local clocks after obtaining clock synchronization message.
Wherein, described clock synchronization message comprises further: leap second information, reference source whether can indication information and reference source whether through the indication information of synchronize local clocks process.
Beneficial effect of the present invention is as follows:
First, by system and method provided by the invention, the clock synchronous between different units can be realized, in solution prior art under some special application mode, realize the problem of clock phase synchronization difficulty;
Secondly, system and method for the present invention is changed little to existing system, do not increase any hardware cost, method is simple and reliable;
3rd, for the application between master/backup clock unit, homophase performance is high, due to fault or people for carrying out active-standby switch time, can seamless switching be carried out, ensure the normal operation of communication service.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of system construction drawing realizing clock synchronous between different units provided by the invention;
The system construction drawing realizing clock synchronous between different units that Fig. 2 provides for the embodiment of the present invention one;
The system construction drawing realizing clock synchronous between different units that Fig. 3 provides for the embodiment of the present invention two;
Fig. 4 is the form schematic diagram of setup message body in system of the present invention;
The system construction drawing realizing clock synchronous between different units that Fig. 5 provides for the embodiment of the present invention three;
Fig. 6 is a kind of method flow diagram realizing clock synchronous between different units provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In order to solve the problem of the clock synchronous existed in prior art, the invention provides a kind of system and method realizing clock synchronous between different units, described system can meet the demand of different clocks synchronous applications, realize the synchronous of clock phase, for the senior application demand of other communication equipments provides basic function.
As shown in Figure 1, the invention provides a kind of system realizing clock synchronous between different units, described system comprises: can obtain the first module of clock reference source information and need the second unit of clock synchronous;
Described first module, comprising: synchronization control module and synchronization message transceiver module; Wherein:
Synchronization control module, for obtaining clock reference source information, by described clock reference source information or by the clock reference source information composition clock synchronization message after synchronous local clock, and sends to the synchronization message transceiver module of this unit by this clock synchronization message;
Synchronization message transceiver module, for being sent to described second unit by described clock synchronization message;
Described second unit, comprising: synchronization control module and synchronization message transceiver module;
Synchronization message transceiver module, the described clock synchronization message for described first module being sent is sent to the synchronization control module of this unit;
Synchronization control module, for carrying out synchronize local clocks according to the clock synchronization message received.
Particularly, in system of the present invention, in described first module, in synchronization message transceiver module and second unit, synchronization message transceiver module comprises all further: reference source message encoding and decoding submodule; Wherein,
Reference source message coding submodule in first module, for receiving the clock synchronization message comprising reference source phase information and temporal information that in described first module, synchronization control module sends, after this clock synchronization message is carried out coded treatment, be sent to described second unit;
Reference source message coding submodule in second unit, described clock synchronization message for sending described first module carries out decoding process, obtain after comprising the clock synchronization message of reference source phase information and temporal information, this clock synchronization message is sent to the synchronization control module of this unit.
Or in system of the present invention, in described first module, in synchronization message transceiver module and second unit, synchronization message transceiver module comprises all further: temporal information transmits submodule and phase information encoding and decoding submodule; Wherein,
Temporal information in first module transmits submodule, for receiving the clock synchronization message comprising reference source temporal information that in described first module, synchronization control module sends, this clock synchronization message is sent to described second unit;
Phase information encoding and decoding submodule in first module, for receiving the clock synchronization message comprising reference source phase information that in described first module, synchronization control module sends, is sent to described second unit after being encoded by this clock synchronization message;
Temporal information in second unit transmits submodule, for receiving the clock synchronization message comprising reference source temporal information that described first module sends, and this clock synchronization message is sent to the synchronization control module of this unit;
The phase information encoding and decoding submodule of second unit, for receiving the clock synchronization message comprising reference source phase information that described first module sends, is sent to the synchronization control module of this unit after this clock synchronization message of decoding.
Wherein, the clock synchronization message comprising reference source temporal information described in comprises further: leap second information, reference source whether can indication information and reference source whether through the indication information of synchronize local clocks process.
In system of the present invention, described first module and second unit are: two business unit in different communication systems; Or, two business unit in same communication system; Or, the primary, spare clock unit in same communication system;
When described first module and second unit are respectively primary, spare clock unit, system of the present invention also comprises: system control unit, for controlling the masterslave switchover between active clock unit and standby clock unit.
It should be noted that, system of the present invention, when second unit directly can obtain clock reference source information, it can provide clock synchronization information for other unit, for realizing other units synchronization timing reference inputs or synchronous this second unit, now, in second unit, each functions of modules is identical with the functions of modules described in first module.
Further, the first module in system of the present invention and second unit are the general references of communication system traffic unit, as long as there is the business unit needing clock synchronous in communication system, can realize clock synchronous based on mode of the present invention.
Provide several preferred embodiments of system of the present invention below according to Fig. 2 ~ Fig. 5, and combine the description to embodiment, provide ins and outs of the present invention further.
Embodiment one
The embodiment of the present invention provides a kind of system realizing clock synchronous between different clocks unit, and as shown in Figure 2, described system at least comprises first module and second unit; In the present embodiment, suppose that described first module can obtain clock reference source information, second unit can not obtain clock reference source information, now, first module not only can realize synchronize local clocks, can also transmit clock synchronization message to second unit, make second unit follow the tracks of synchronous first module, or second unit follows the tracks of the timing reference input of synchronous first module acquisition.
Concrete, described first module comprises: synchronization control module and reference source message coding/decoding module;
Synchronization control module, for obtaining clock reference source information, by this clock reference source information composition clock synchronization message, sends to reference source message coding/decoding module; Or, obtain clock reference source information, utilize this clock reference source information to carry out synchronize local clocks, by the clock reference source information obtained; Or, obtain clock reference source information, by the clock reference source information composition clock synchronization message after synchronize local clocks, send to reference source message coding/decoding module; Wherein, clock synchronization message comprises reference source phase information and temporal information; Further, clock synchronization message also comprises: leap second information, reference source whether can indication information and reference source whether through the indication information of synchronize local clocks process.
Wherein, when synchronization control module is only based on the clock reference source information composition clock synchronization message obtained, for realizing second unit synchronised clock reference source; When synchronization control module forms clock synchronization message based on the clock reference source information after clock synchronous, follow the tracks of synchronous first module for realizing second unit.
Reference source message coding/decoding module, for receive clock synchronization message, carries out coded treatment by this clock synchronization message, and the clock synchronization message after coding is sent to second unit.
Described second unit comprises: synchronization control module and reference source message coding/decoding module;
Reference source message coding/decoding module, for receiving the clock synchronization message that first module sends, after carrying out decoding process, is sent to the synchronization control module of second unit to this clock synchronization message;
Synchronization control module, for according to the clock synchronization message received, carries out synchronize local clocks.
Embodiment two
Consider that reference source message coding/decoding module carries out the transmission of message by bottom transmission channel and receives ground, but there is some special applications scene at present, reference source message coding/decoding module is existed to the restriction of some hardware aspects, reference source message coding/decoding module can not realize the coded treatment of the synchronization messages such as temporal information and send.
To this, the embodiment of the present invention provides a kind of system realizing clock synchronous between different clocks unit, and as shown in Figure 3, described system at least comprises first module and second unit; Described first module and second unit include: synchronization control module, temporal information transmit module and phase information coding/decoding module, namely the embodiment of the present invention is passed through at setup times information transfer module, by the transmitting-receiving of upper layer transport channel realization to synchronization message, reference source message coding/decoding module can be overcome and is subject to the transmission problem that hardware constraints can not realize the synchronization message comprising reference source temporal information.
Concrete, described first module comprises: synchronization control module, temporal information transmit module and phase information coding/decoding module; Wherein,
Synchronization control module, for obtaining clock reference source information, by this clock reference source information composition clock synchronization message, sends to temporal information to transmit module and phase information coding/decoding module respectively; Or, obtain clock reference source information, this clock reference source information is utilized to carry out synchronize local clocks, by the clock reference source information of acquisition or by the clock reference source information composition clock synchronization message after clock synchronous, temporal information is sent to transmit module and phase information coding/decoding module respectively;
Wherein, synchronization control module sends to the clock synchronization message of phase information coding/decoding module to comprise the phase information of reference source; Synchronization control module send to temporal information transmit the clock synchronization message of module comprise reference source temporal information, leap second information, reference source whether can indication information and reference source whether through the indication information of synchronize local clocks process.
Synchronization control module, before transmitting module tranmitting data register synchronization message to temporal information, is sent to temporal information and transmits module after this clock synchronization message is assembled into the message body preset; As shown in Figure 4, be the concrete example of the clock synchronization message after composition message body.
Certainly, clock synchronization message also directly can be sent to temporal information and transmit module by synchronization control module, transmits module send by after the message encapsulation of setting clock synchronization message by temporal information.
Time Message Transmission module, for receiving the clock synchronization message that synchronization control module sends, and is sent to second unit by this clock synchronization message;
Phase information coding/decoding module, for receiving the clock synchronization message that synchronization control module sends, carries out coded treatment by this clock synchronization message, and the clock synchronization message after coding is sent to second unit.
Concrete, described second unit comprises: synchronization control module, temporal information transmit module and phase information coding/decoding module;
Temporal information transmits module, for receiving the clock synchronization message comprising reference source temporal information that first module sends, and this clock synchronization message is sent to the synchronization control module of second unit;
Phase information coding/decoding module, for receiving the clock synchronization message comprising reference source phase information that first module sends, after carrying out decoding process, is sent to the synchronization control module of second unit to this clock synchronization message;
Synchronization control module, for according to the clock synchronization message received, carries out synchronize local clocks.
Embodiment three
The embodiment of the present invention provides a kind of system realizing clock synchronous between different clocks unit, and as shown in Figure 5, this system comprises first module and second unit; And described first module and second unit are respectively the active and standby clock unit in communication system, its concrete function is identical with the implementation of two with above-described embodiment one, does not repeat at this.
Further, when first module and second unit are respectively as primary, spare clock unit, described in the embodiment of the present invention, system also comprises: system control unit;
Described system control unit, for controlling active clock unit and standby clock unit power-on and power-off operation, when carry out masterslave switchover, send out main turn of standby message to former primary unit, send out to former stand-by unit and standby turn a main message, and receive that bottom sends up standbyly turn main or main and turn standby successful message.
Can obtain after above-described embodiment is summed up:
Suppose that second unit will carry out clock tracing, first module has clock reference source information, concrete scheme is:
If first module this clock reference source information synchronous, can by the clock after synchronous or synchronous before timing reference input, transmit module by temporal information and phase information coding module sends second unit to; Or, send second unit to by means of only reference source message coding module, carry out synchronize local clocks for second unit.
If the asynchronous timing reference input of first module, then first module can extracting directly clock reference source information, transmits module equally and phase information coding module sends second unit to by temporal information; Or, send second unit to by means of only reference source message coding module.
For in primary, spare clock unit application scenario, active clock units synchronization timing reference input, and transmit module and phase information coding module by temporal information or by means of only reference source message coding module by the clock reference source information before the clock information after active clock units synchronization or active clock units synchronization, send to standby clock unit, realize Phase synchronization between master/backup clock unit.When active clock unit breaks down or artificially switches, the problems such as the interruption of business can not be there is due to the change of clock phase.
In sum, the system provided by the embodiment of the present invention, can realize the clock synchronous between different units, in solution prior art under some special application mode, realizes the problem of clock phase synchronization difficulty; Further, system of the present invention is changed little to existing system, do not increase any hardware cost, method is simple and reliable; In addition, system of the present invention is for the application between master/backup clock unit, and homophase performance is high, due to fault or people for carrying out active-standby switch time, can seamless switching be carried out, ensure the normal operation of communication service.
As shown in Figure 6, the present invention also provides a kind of method realizing clock synchronous between different clocks unit, and be applied in the system of the first module at least comprising and can obtain clock reference source information and the second unit needing clock synchronous, described method comprises:
Step S601, first module obtain clock reference source information, are sent to second unit by described clock reference source information or by after the described clock reference source information composition clock synchronization message after synchronous local clock.
This step is specially:
First module is by the clock reference source information of acquisition or form the clock synchronization message comprising reference source phase information and temporal information after described clock reference source information is carried out synchronize local clocks, by bottom transmission channel is sent to second unit after encoding to this clock synchronization message; Or,
First module forms respectively by the clock reference source information of acquisition or after described clock reference source information is carried out synchronize local clocks and comprises the clock synchronization message of reference source phase information and comprise the clock synchronization message of reference source temporal information, the clock synchronization message comprising reference source temporal information is sent to second unit by after the message body encapsulation of setting by upper layer transport channel, after the clock synchronization message comprising reference source phase information is carried out coded treatment, is sent to second unit by bottom transmission channel.
Wherein, the clock synchronization message comprising reference source temporal information comprises further: leap second information, reference source whether can indication information and reference source whether through the indication information of synchronize local clocks process.
Step S602, second unit receive the clock synchronization message that first module sends, and carry out synchronize local clocks according to this clock synchronization message.
Further, in the method for the invention, described first module and second unit are: two business unit in different communication systems; Or, two business unit in same communication system; Or, the primary, spare clock unit in same communication system;
When described first module and second unit are respectively primary, spare clock unit, described first module and second unit can carry out masterslave switchover according to Systematical control.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. realize a system for time synchronized between different units, it is characterized in that, described system at least comprises: can obtain the first module of clock reference source information and need the second unit of clock synchronous;
Described first module, comprising: synchronization control module and synchronization message transceiver module; Wherein:
Synchronization control module, for obtaining clock reference source information, by described clock reference source information or by the described clock reference source information composition clock synchronization message after synchronous local clock, and this clock synchronization message is sent to the synchronization message transceiver module of this unit; Described clock synchronization message comprises: reference source phase information and temporal information;
Synchronization message transceiver module, for being sent to described second unit by described clock synchronization message;
Described second unit, comprising: synchronization control module and synchronization message transceiver module;
Synchronization message transceiver module, the described clock synchronization message for described first module being sent is sent to the synchronization control module of this unit;
Synchronization control module, for carrying out synchronize local clocks according to the clock synchronization message received.
2. the system as claimed in claim 1, is characterized in that, in described first module, in synchronization message transceiver module and second unit, synchronization message transceiver module comprises all further: reference source message encoding and decoding submodule;
Reference source message coding submodule in described first module, for receiving the clock synchronization message comprising reference source phase information and temporal information that in described first module, synchronization control module sends, after this clock synchronization message is carried out coded treatment, be sent to described second unit;
Reference source message coding submodule in described second unit, described clock synchronization message for sending described first module carries out decoding process, obtain after comprising the clock synchronization message of reference source phase information and temporal information, this clock synchronization message is sent to the synchronization control module of this unit.
3. the system as claimed in claim 1, is characterized in that, in described first module, in synchronization message transceiver module and second unit, synchronization message transceiver module comprises all further: temporal information transmits submodule and phase information encoding and decoding submodule;
Temporal information in described first module transmits submodule, for receiving the clock synchronization message comprising reference source temporal information that in described first module, synchronization control module sends, this clock synchronization message is sent to described second unit;
Phase information encoding and decoding submodule in described first module, for receiving the clock synchronization message comprising reference source phase information that in described first module, synchronization control module sends, is sent to described second unit after being encoded by this clock synchronization message;
Temporal information in described second unit transmits submodule, for receiving the clock synchronization message comprising reference source temporal information that described first module sends, and this clock synchronization message is sent to the synchronization control module of this unit;
The phase information encoding and decoding submodule of described second unit, for receiving the clock synchronization message comprising reference source phase information that described first module sends, is sent to the synchronization control module of this unit after this clock synchronization message of decoding.
4. system as claimed in claim 3, it is characterized in that, temporal information in described first module transmit the clock synchronization message comprising reference source temporal information that submodule receives be in described first module synchronization control module according to the clock synchronization message after the encapsulation of setup message body; Or be,
Temporal information in described first module transmits submodule receiving package containing after the clock synchronization message of reference source temporal information, and the clock synchronization message encapsulated carried out by the message body according to setting.
5. the system as described in Claims 2 or 3 or 4, is characterized in that,
Described clock synchronization message comprises further: leap second information, reference source whether can indication information and reference source whether through the indication information of synchronize local clocks process.
6. the system as claimed in claim 1, is characterized in that, described first module and second unit are: two business unit in different communication systems; Or, two business unit in same communication system; Or, the primary, spare clock unit in same communication system;
When described first module and second unit are respectively primary, spare clock unit, describedly realize the system of time synchronized between different units and also comprise: system control unit, for controlling the masterslave switchover between active clock unit and standby clock unit.
7. realize a method for time synchronized between different units, be applied in the system of the first module at least comprising and can obtain clock reference source information and the second unit needing clock synchronous, it is characterized in that, described method comprises:
Described first module obtains clock reference source information, by described clock reference source information or by the described clock reference source information composition clock synchronization message after synchronous local clock, and this clock synchronization message is sent to described second unit; Described clock synchronization message comprises: reference source phase information and temporal information;
Described second unit receives the described clock synchronization message that described first module sends, and carries out synchronize local clocks according to this clock synchronization message.
8. method as claimed in claim 7, it is characterized in that, described method specifically comprises:
Described first module is by described clock reference source information or form the clock synchronization message comprising reference source phase information and temporal information after described clock reference source information is carried out synchronize local clocks, is sent to second unit after encoding to this clock synchronization message; Or, described first module forms respectively by described clock reference source information or after described clock reference source information is carried out synchronize local clocks and comprises the clock synchronization message of reference source phase information and comprise the clock synchronization message of reference source temporal information, the described clock synchronization message comprising reference source temporal information is sent to second unit by after the message body encapsulation of setting, after the described clock synchronization message comprising reference source phase information is carried out coded treatment, is sent to second unit;
Described second unit carries out decoding process to the clock synchronization message received, and carries out synchronize local clocks after obtaining clock synchronization message.
9. method as claimed in claim 8, it is characterized in that, described clock synchronization message comprises further: leap second information, reference source whether can indication information and reference source whether through the indication information of synchronize local clocks process.
10. method as claimed in claim 7, it is characterized in that, described first module and second unit are: two business unit in different communication systems; Or, two business unit in same communication system; Or, the primary, spare clock unit in same communication system;
When described first module and second unit are respectively primary, spare clock unit, described first module and second unit can carry out masterslave switchover according to Systematical control.
CN201110128826.2A 2011-05-18 2011-05-18 System and method for realizing clock synchronization among different units Active CN102185687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110128826.2A CN102185687B (en) 2011-05-18 2011-05-18 System and method for realizing clock synchronization among different units

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110128826.2A CN102185687B (en) 2011-05-18 2011-05-18 System and method for realizing clock synchronization among different units

Publications (2)

Publication Number Publication Date
CN102185687A CN102185687A (en) 2011-09-14
CN102185687B true CN102185687B (en) 2015-04-01

Family

ID=44571761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110128826.2A Active CN102185687B (en) 2011-05-18 2011-05-18 System and method for realizing clock synchronization among different units

Country Status (1)

Country Link
CN (1) CN102185687B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916921B (en) * 2012-09-19 2016-03-30 华为技术有限公司 A kind of carrier synchronization method, Apparatus and system
WO2015062012A1 (en) * 2013-10-31 2015-05-07 华为技术有限公司 Phase measurement method, apparatus, and system
CN109302255B (en) * 2018-09-12 2020-11-13 杭州和利时自动化有限公司 Time synchronization control method, device and system and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039145A (en) * 2007-03-30 2007-09-19 华为技术有限公司 Method and apparatus for realizing clock
CN101043316A (en) * 2006-05-24 2007-09-26 华为技术有限公司 Synchronous method and system
CN101667906A (en) * 2008-09-03 2010-03-10 中兴通讯股份有限公司 Method and system for switching main and backup clocks
CN101895385A (en) * 2010-07-26 2010-11-24 国电南瑞科技股份有限公司 Time-setting clock system of merging unit for realizing clock switching
EP2288070A1 (en) * 2008-09-27 2011-02-23 Huawei Technologies Co., Ltd. Time synchronizing method, device and system of master clock side and slave clock side in synchronous network
CN102006158A (en) * 2010-11-29 2011-04-06 中兴通讯股份有限公司 Clock transmission method, synchronization method and system, and sending and receiving device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043316A (en) * 2006-05-24 2007-09-26 华为技术有限公司 Synchronous method and system
CN101039145A (en) * 2007-03-30 2007-09-19 华为技术有限公司 Method and apparatus for realizing clock
CN101667906A (en) * 2008-09-03 2010-03-10 中兴通讯股份有限公司 Method and system for switching main and backup clocks
EP2288070A1 (en) * 2008-09-27 2011-02-23 Huawei Technologies Co., Ltd. Time synchronizing method, device and system of master clock side and slave clock side in synchronous network
CN101895385A (en) * 2010-07-26 2010-11-24 国电南瑞科技股份有限公司 Time-setting clock system of merging unit for realizing clock switching
CN102006158A (en) * 2010-11-29 2011-04-06 中兴通讯股份有限公司 Clock transmission method, synchronization method and system, and sending and receiving device

Also Published As

Publication number Publication date
CN102185687A (en) 2011-09-14

Similar Documents

Publication Publication Date Title
CN104570021B (en) GPS simulation method and system based on positioning and time service of Beidou satellite
US6483825B2 (en) Time synchronization method in CDMA system
CN101247168B (en) Time synchronization method and system
CN103404226A (en) Method and device for data transmission
CN105682215A (en) Clock synchronization method and device as well as cascaded base station system
CN101251587A (en) Satellite navigation system and GPS bimodule time service device
CN103152118B (en) A kind of Base Band Unit and radio frequency unit data service synchronization, device and system
CN101729127A (en) Time synchronization node and method thereof
CN101741853A (en) Method for synchronizing clock time, line card veneer and network equipment
CN204359937U (en) A kind of based on big-dipper satellite location and the GPS simulation system of time service
CN101485110B (en) Method of synchronizing two electronic devices of a wireless link, in particular of a mobile telephone network and system for implementing this method
RU2408995C2 (en) System and method for synchronisation of packet network
CN102820941A (en) Clock synchronization method and device of communication network
CN102185687B (en) System and method for realizing clock synchronization among different units
JP2009049591A (en) Mobile communication system
CN105262565A (en) Coding method and coding system capable of transmitting clock and data based on phase modulation
CN103686982A (en) Method for time synchronization based on clock information and node equipment
CN105450491A (en) Time synchronization hardware architecture based on 1588 protocol, and time synchronization method
CN201039176Y (en) GPS/NTP dual input synchronous clock
EP2461489B1 (en) Microwave transmission device
WO2021063300A1 (en) Clock synchronization communication system and method for rail train
CN102497245B (en) Clock synchronization method and clock management interface board
CN103597887B (en) A kind of synchronous method, equipment and system
WO2009071011A1 (en) A method, system and device for performing time synchronization in a time division multiplexing system
CN101345763B (en) Method and apparatus for extracting clock, and network communication equipment

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