CN101771528B - Method, device and system for realizing clock synchronization - Google Patents

Method, device and system for realizing clock synchronization Download PDF

Info

Publication number
CN101771528B
CN101771528B CN2008101929414A CN200810192941A CN101771528B CN 101771528 B CN101771528 B CN 101771528B CN 2008101929414 A CN2008101929414 A CN 2008101929414A CN 200810192941 A CN200810192941 A CN 200810192941A CN 101771528 B CN101771528 B CN 101771528B
Authority
CN
China
Prior art keywords
clock
timestamp
port
control information
message
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.)
Expired - Fee Related
Application number
CN2008101929414A
Other languages
Chinese (zh)
Other versions
CN101771528A (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 CN2008101929414A priority Critical patent/CN101771528B/en
Publication of CN101771528A publication Critical patent/CN101771528A/en
Application granted granted Critical
Publication of CN101771528B publication Critical patent/CN101771528B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a method, a device and a system for realizing clock synchronization. The method for realizing the clock synchronization comprises the following steps: acquiring a time stamp group of terminals; selecting one time stamp to be used as a reference time stamp from the time stamp group and acquiring synchronous clock control information according to the reference time stamp; and transmitting the synchronous clock control information to each terminal, wherein the synchronous clock control information is provided for each terminal to perform time synchronization. The embodiment of the invention also discloses the device and the system for realizing the clock synchronization. The method, the device and the system are suitable for realizing the clock synchronization in IP communication network equipment.

Description

Realize the synchronous methods, devices and systems of clock
Technical field
The present invention relates to communication technical field, relate in particular to a kind of methods, devices and systems of realizing that clock is synchronous.
Background technology
Clock is the important indicator of transmission system design synchronously, and it provides correct clock information for each equipment in the system, improves transmission quality and the efficient of system.Continuous development along with the Metro Ethernet technology, asynchronous communication networks clock synchronization issue based on IP will become problem demanding prompt solution, the net that transmits of future generation is with warm a large amount of ethernet technologys, and how the asynchronous data network carries out clock and become present subject matter synchronously.
Development along with the IP network technology, the synchronous multiple technologies of IP clock--ethernet physical layer is synchronous, CESoP (Circuit Emulation Service Over Packet, circuit emulation service based on bag), TOP (Time Over Packet is based on the clock recovery technology of bag) is tending towards ripe gradually.Wherein, ethernet physical layer need be transformed interface PHY (Port Physical Layer, the port physical layer) chip of PSN (Packet Switched Network, the packet switching network) network equipment synchronously, in order to extract line clock.But this kind method of synchronization is only supported Frequency Synchronization, does not support time synchronized; The CESoP clock is that point-to-point clock is synchronous synchronously, occurs in professional relevant equipment room, and can't carry out clock if equipment room does not have professional data flow synchronous, and this kind mode can only carry out frequency retrieval, does not support time synchronized; ToP utilizes timestamp to carry out frequency retrieval, and the business of can being independent of is distributed timestamp information, sets up a time synchronization network.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art:
At present, based on above-mentioned three kinds of synchronous technology of realization clock, though can realize that the clock in the IP communication network device is synchronous, can only support time synchronized, perhaps can only support Frequency Synchronization, time synchronized is second-rate.
Summary of the invention
Embodiments of the invention provide a kind of methods, devices and systems of realizing that clock is synchronous, can improve the time synchronized quality.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of method that realizes that clock is synchronous comprises:
Obtain the timestamp group of each port;
From described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time;
Described synchronised clock control information is issued to each port, and described synchronised clock control information is used for offering each port, and to carry out clock synchronous.
A kind of clock synchronization apparatus comprises:
Acquisition module is for the timestamp group of obtaining each port;
Clock synchronization module is used for selecting a timestamp as stabbing fiducial time from described timestamp group, obtains the synchronised clock control information according to stabbing described fiducial time;
Issue module, be used for described synchronised clock control information is issued to each port, described synchronised clock control information is used for offering each port, and to carry out clock synchronous.
A kind of system that realizes that clock is synchronous comprises: at least one port and clock synchronization apparatus, wherein,
Described port be used for to receive or sends message, generates the timestamp group of message, and receives the synchronised clock control information that described clock synchronization apparatus issues, and it is synchronous to carry out clock according to described synchronised clock control information;
Described clock synchronization apparatus, be used for obtaining the timestamp group of each port, from described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time, described synchronised clock control information is issued to each port.
The synchronous methods, devices and systems of realization clock that the embodiment of the invention provides, from the timestamp group of each port of obtaining, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time, and being handed down to each port, it is synchronous that each port carries out clock according to described synchronised clock control information.Compared with prior art, choose fiducial time in the timestamp group of the present invention by each port and stab, each port receives identical synchronised clock control information, can realize that the clock of multiport of communication equipment is synchronous, improves the time synchronized quality.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The synchronous method flow diagram of realization clock that Fig. 1 provides for the embodiment of the invention one;
The synchronous method flow diagram of realization clock that Fig. 2 provides for the embodiment of the invention two;
The clock synchronization apparatus structural representation that Fig. 3 provides for the embodiment of the invention three;
The clock synchronization apparatus structural representation that Fig. 4 provides for the embodiment of the invention four;
The system configuration schematic diagram that the realization clock that Fig. 5 provides for the embodiment of the invention five is synchronous;
The system configuration schematic diagram that the realization clock that Fig. 6 provides for the embodiment of the invention six is synchronous.
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.
For the advantage that makes technical solution of the present invention is clearer, below in conjunction with drawings and Examples the present invention is elaborated.
Embodiments of the invention provide a kind of method that realizes that clock is synchronous, can realize that the communication equipment clock is synchronous, improve the time synchronized quality.
Embodiment one
As shown in Figure 1, the synchronous method of described realization clock comprises:
S101, obtain the timestamp group of each port;
S102, from described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time;
S103, described synchronised clock control information is issued to each port, described synchronised clock control information is used for offering each port, and to carry out clock synchronous.
The synchronous method of realization clock that the embodiment of the invention provides, from the timestamp group of each port of obtaining, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time, and being handed down to each port, it is synchronous that each port carries out clock according to described synchronised clock control information.Compared with prior art, choose fiducial time in the timestamp group of the present invention by each port and stab, each port receives identical synchronised clock control information, can realize that the clock of multiport of communication equipment is synchronous, improves the time synchronized quality.
Embodiment two
As shown in Figure 2, the synchronous method of described realization clock comprises:
S201, port receive IEEE1588 message wrapper.
S202, port are resolved described IEEE1588 wrapper, extract the timestamp of corresponding message according to the IEEE1588 agreement.
Timestamp refers to that port receives or send the time of message among the present invention, and each port is owing to the otherness of system, and possible timestamp is asynchronous, and namely for the message of same type, the time that arrives port is inconsistent, and timestamp is also different.
In embodiments of the present invention, be to be that example describes with IEEE1588, message that in other embodiments can also other types.
According to the IEEE1588 protocol requirement, requirement is carried out the timestamp sign at the PHY layer, yet the PHY device can't be supported the timestamp sign at present, therefore adopt local clock go at equipment/the MAC layer interface of outbound port carries out the timestamp sign to message, guarantees that the timestamp precision is the ns rank with interior and do not have any buffer memory shake.
When the PHY device sends and receive message, to produce message by MAC sends request or receives the message index signal, at MAC layer interface place, request or message receive effectively indication to local clock and lead code is carried out the timestamp sign to message according to sending, guarantee not have between PHY and MAC the effect of jitter of the identified time stamp that causes because of packet buffer like this, thereby guarantee the precision of clock recovery, handling the message jitter range herein is 0-1 system clock.
Wherein, IEEE1588 has defined one and has measured and controlling in the network, calculates the accurate clock synchronization protocol (PTP) relevant with distributing object with internet exchange, this locality.PTP (Precision Time protocol, accurate clock synchronization protocol) be standard definition with IEEE1588 one measure and automated system in clock synchronization protocol, this agreement is suitable for Ethernet, can realize that microsecond level high accuracy clock is synchronous.The defined precision net synchronous protocol of IEEE1588 has been realized the high level of synchronization in the network, makes to need not to carry out special synchronous communication when distributing control work again, thereby has reached the effect that call duration time pattern and application program time of implementation pattern are separated.Because high precision synchronous work, the intrinsic data transmission period fluctuation of ethernet technology is reduced to can receive, do not influence the scope of control precision.
S203, port are preserved described timestamp, with described at least two timestamps as a timestamp group.
Wherein, described step S201-S203 is the generative process of port timestamp group when receiving message, and when port sent message, the generative process of timestamp group was as described in the step S201a-S203a.
S201a, port send IEEE1588 message wrapper.
S202a, port identify the timestamp that described message sends according to type and the local clock information of the IEEE1588 message wrapper of described transmission.
S203a, port preserve and send described message time corresponding and stab, with described at least two timestamps as a timestamp group.
S204, clock synchronization apparatus obtain the timestamp group of each port.
Be provided with the timestamp information passage in each port, clock synchronization apparatus obtains the timestamp group of the message of each port reception or transmission by this timestamp information passage.
Wherein, the timestamp information passage can carry out for sending mode or passive query mode in the active, selects to realize by configuration.Sending mode in the active is to interrupt sending according to the clock recovery timestamp frequency of configuration; The passive query mode is passive query and extraction time to stab information.
S205, clock synchronization apparatus select a timestamp as stabbing fiducial time from the timestamp group of described each port.
Wherein, from the timestamp group of described each port, select a timestamp to obtain by system configuration or automatic the selection.
S206, clock synchronization apparatus are handled stabbing described fiducial time, obtain optimum clock recovery and adjust data.
Handle stabbing described fiducial time, obtain optimum clock recovery adjustment data and specifically comprise:
At first, to fiducial time stamp information add up; Then, the timestamp information that statistics is obtained carries out filtering, and the clock filtering that will have characteristic frequency falls; Then, described filtered timestamp information is carried out frequency compensation, and the clock of timestamp less than the message flow time discarded; At last, the timestamp that obtains is weighted processing, obtains optimum clock recovery and adjust data.
S207, clock synchronization apparatus are adjusted data according to the clock recovery of described optimum, carry out clock recovery by the timestamp synchronizing channel and follow the tracks of, and obtain the synchronised clock control information.
Data are adjusted in clock recovery according to described optimum, carry out clock recovery by the timestamp synchronizing channel and follow the tracks of, and obtain the control information of synchronised clock control information acquisition synchronised clock and specifically comprise:
By the timestamp synchronizing channel each port is followed the tracks of, the real-time clock of each port and the clock recovery adjustment data of described optimum are compared, the difference between the data is adjusted in the clock recovery of comprehensive each port and described optimum, draw a synchronised clock control information, carry synchronised clock and control strategy in the described synchronised clock control information, by the control strategy in this synchronised clock control information, the real-time clock of each port can be adjusted to synchronised clock.
S208, clock synchronization apparatus issue this synchronised clock control information to each port, and it is synchronous that each port carries out clock according to described synchronised clock control information.
Each port carries out clock according to described synchronised clock control information and specifically comprises synchronously:
Synchronised clock in the described synchronised clock control information as standard time clock, is adjusted other clock with lock-out pulse and synchronizing information mode, guaranteed that the local real-time clock of all of the port is consistent with overall real-time clock.
Thereby, the synchronous method of realization clock of utilizing the embodiment of the invention to provide, choosing fiducial time in the timestamp group by each port stabs, handle stabbing described fiducial time, obtain optimum clock recovery and adjust data, data are adjusted in clock recovery according to described optimum, carrying out clock recovery by the timestamp synchronizing channel follows the tracks of, obtain the synchronised clock control information, and described synchronised clock control information is handed down to each port, each port receives identical synchronised clock control information, can realize that the clock of multiport of same equipment is synchronous, improves the time synchronized quality.
Embodiment three
Embodiments of the invention provide a kind of clock synchronization apparatus, can realize that the communication equipment clock is synchronous, improve the time synchronized quality.
As shown in Figure 3, described clock synchronization apparatus comprises:
Acquisition module 301 is for the timestamp group of obtaining each port;
Clock synchronization module 302 is used for selecting a timestamp as stabbing fiducial time from described timestamp group, obtains the synchronised clock control information according to stabbing described fiducial time;
Issue module 303, be used for described synchronised clock control information is issued to each port, described synchronised clock control information is used for offering each port, and to carry out clock synchronous.
The clock synchronization apparatus that the embodiment of the invention provides, from the timestamp group of each port of obtaining, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time, and being handed down to each port, it is synchronous that each port carries out clock according to described synchronised clock control information.Compared with prior art, choose fiducial time in the timestamp group of the present invention by each port and stab, each port receives identical synchronised clock control information, can realize that the clock of multiport of communication equipment is synchronous, improves the time synchronized quality.
Embodiment four
As shown in Figure 4, described clock synchronization apparatus comprises:
Acquisition module 401 is for the timestamp group of obtaining each port.Wherein, be provided with the timestamp information passage in each port, described timestamp information passage can carry out for sending mode or passive query mode in the active, selects to realize by configuration.Sending mode in the active is to interrupt sending according to the clock recovery timestamp frequency of configuration; The passive query mode is passive query and extraction time to stab information.Then described acquisition module 401 can pass through the timestamp information passage, receives the timestamp group of sending in each port active, perhaps inquires about and extract the timestamp group of each port.
Clock synchronization module 402 is used for selecting a timestamp as stabbing fiducial time from described timestamp group, obtains the synchronised clock control information according to stabbing described fiducial time.
Issue module 403, be used for described synchronised clock control information is issued to each port, described synchronised clock control information is used for offering each port, and to carry out clock synchronous.
Wherein, described clock synchronization module 402 comprises:
Selected cell 4021 is used for selecting a timestamp as stabbing fiducial time from described timestamp group.
Clock recovery algorithm unit 4022 is used for handling stabbing described fiducial time, obtains optimum clock recovery and adjusts data.
4022 pairs of described clock recovery algorithm unit stab described fiducial times to be handled, and obtains optimum clock recovery and adjusts data and specifically comprise:
At first, add up stabbing described fiducial time; Then, the timestamp information that statistics is obtained carries out filtering, and the clock filtering that will have characteristic frequency falls; Then, described filtered timestamp information is carried out frequency compensation, and the clock of timestamp less than the message flow time discarded; At last, the timestamp that obtains is weighted processing, obtains optimum clock recovery and adjust data.
Local real-time clock unit 4023 is used for adjusting data according to the clock recovery of described optimum, carries out clock recovery by the timestamp synchronizing channel and follows the tracks of, and obtains the synchronised clock control information.
Data are adjusted according to the clock recovery of described optimum in described local real-time clock unit 4023, carry out clock recovery by the timestamp synchronizing channel and follow the tracks of, and obtain the synchronised clock control information and specifically comprise:
By the timestamp synchronizing channel each port is followed the tracks of, the real-time clock of each port and the clock recovery adjustment data of described optimum are compared, the difference between the data is adjusted in the clock recovery of comprehensive each port and described optimum, draw a synchronised clock control information, carry synchronised clock and control strategy in the described synchronised clock control information, by the control strategy in this synchronised clock control information, the real-time clock of each port can be adjusted to synchronised clock.
Then the described module 403 that issues is issued to each port with described synchronised clock control information, and it is synchronous to carry out clock by each port according to described synchronised clock control information.
Described each port carries out clock according to described synchronised clock control information and specifically comprises synchronously:
Synchronised clock in the described synchronised clock control information as standard time clock, is adjusted other clock with lock-out pulse and synchronizing information mode, guaranteed that the local real-time clock of all of the port is consistent with overall real-time clock.
Thereby, the clock synchronization apparatus that utilizes the embodiment of the invention to provide, choosing fiducial time in the timestamp group by each port stabs, handle stabbing described fiducial time, obtain optimum clock recovery and adjust data, data are adjusted in clock recovery according to described optimum, carrying out clock recovery by the timestamp synchronizing channel follows the tracks of, obtain the synchronised clock control information, and described synchronised clock control information is handed down to each port, each port receives identical synchronised clock control information, can realize that the clock of multiport of same equipment is synchronous, improves the time synchronized quality.
Embodiment five
Embodiments of the invention provide a kind of system that realizes that clock is synchronous, can realize that the communication equipment clock is synchronous, improve the time synchronized quality.
As shown in Figure 5, the synchronous system of described realization clock comprises: at least one port 501 and clock synchronization apparatus 502, wherein,
Described port 501 be used for to receive or sends message, generates the timestamp group of message, and receives the synchronised clock control information that described clock synchronization apparatus 502 issues, and it is synchronous to carry out clock according to described synchronised clock control information;
Described clock synchronization apparatus 502, be used for obtaining the timestamp group of each port 501, from described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time, described synchronised clock control information is issued to each port 501.
The synchronous system of realization clock that the embodiment of the invention provides, from the timestamp group of each port of obtaining, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time, and being handed down to each port, it is synchronous that each port carries out clock according to described synchronised clock control information.Compared with prior art, choose fiducial time in the timestamp group of the present invention by each port and stab, each port receives identical synchronised clock control information, can realize that the clock of multiport of communication equipment is synchronous, improves the time synchronized quality.
Embodiment six
As shown in Figure 6, the synchronous system of described realization clock comprises: at least one port 601 and clock synchronization apparatus 602, wherein,
Described port 601 be used for to receive or sends message, generates the timestamp group of message, and receives the synchronised clock control information that described clock synchronization apparatus 602 issues, and it is synchronous to carry out clock according to described synchronised clock control information.
Described clock synchronization apparatus 602, be used for obtaining the timestamp group of each port 601, from described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time, described synchronised clock control information is issued to each port 601.
Wherein, when receiving message, described port 601 comprises:
Message receiving element 6011 is used for receiving message;
Extraction unit 6012 is used for the message of described reception is resolved, and extracts the timestamp of described message;
Preserve unit 6013, be used for preserving the timestamp that described extraction unit 6013 extracts.
Wherein, described at least two timestamps are a timestamp group.
Wherein, when sending message, described port 601 also comprises:
Packet sending unit 6014 is used for sending message;
Identify unit 6015 is used for type and local clock information according to the message of described transmission, identifies the timestamp that described message sends;
Then described preservation unit 6013, also are used for preserving the timestamp of described identify unit sign;
Wherein, described at least two timestamps are a timestamp group.
Wherein, described clock synchronization apparatus 602 mode of obtaining the message timestamp group of described port 601 has two kinds:
A kind ofly be the timestamp information passage by each port, to each interface querying and extraction time the stamp group;
Another will deliver to clock synchronization apparatus 602 in the active of timestamp group for each port, and then this moment, described port 601 also comprises:
On send unit 6016, be used for initiatively will delivering to clock synchronization apparatus 602 on the timestamp group.
Wherein, described port also comprises:
Receiving element 6017 is used for receiving the synchronised clock control information that described clock synchronization apparatus 502 issues.
Thereby, the synchronous system of realization clock that utilizes the embodiment of the invention to provide, choosing fiducial time in the timestamp group by each port stabs, handle stabbing described fiducial time, obtain optimum clock recovery and adjust data, data are adjusted in clock recovery according to described optimum, carrying out clock recovery by the timestamp synchronizing channel follows the tracks of, obtain the synchronised clock control information, and described synchronised clock control information is handed down to each port, each port receives identical synchronised clock control information, can realize that the clock of multiport of same equipment is synchronous, improves the time synchronized quality.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above; it only is the embodiment of the embodiment of the invention; but the protection range of the embodiment of the invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, the protection range of the embodiment of the invention should be as the criterion with the protection range of claim.

Claims (11)

1. a method that realizes that clock is synchronous is characterized in that, comprising:
Obtain the timestamp group of each port; Described timestamp group comprises: at least two timestamps;
From described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time, comprise: handle stabbing described fiducial time, obtain clock recovery and adjust data, adjust data according to described clock recovery, carrying out clock recovery by the timestamp synchronizing channel follows the tracks of, obtain the synchronised clock control information, describedly handle stabbing described fiducial time, the step that obtains clock recovery adjustment data comprises: add up stabbing fiducial time, obtain timestamp information; The timestamp information that statistics is obtained carries out filtering; Described filtered timestamp information is carried out frequency compensation, and the clock that stabs less than the message flow time fiducial time in the described filtered timestamp information is discarded, obtain the result after frequency compensated; To obtain described frequency compensated after the result in timestamp be weighted processing, obtain optimum clock recovery and adjust data;
Described synchronised clock control information is issued to each port, and described synchronised clock control information is used for offering each port, and to carry out clock synchronous.
2. the synchronous method of realization clock according to claim 1 is characterized in that, before the step of the described timestamp group of obtaining each port, also comprises:
Port generates the timestamp group of message.
3. the synchronous method of realization clock according to claim 2 is characterized in that, the step that described port generates the timestamp group of message comprises:
Receive message;
Message to described reception is resolved, and extracts the timestamp of described message;
Preserve the timestamp of described extraction;
Wherein, described timestamp group comprises at least two timestamps.
4. the synchronous method of realization clock according to claim 2 is characterized in that, the step that described port generates the timestamp group of message comprises:
Send message;
According to type and the local clock information of the message of described transmission, identify the timestamp that described message sends;
Preserve the timestamp of described sign;
Wherein, described timestamp group comprises at least two timestamps.
5. the synchronous method of realization clock according to claim 1 is characterized in that, describedly adjusts data according to described clock recovery, carries out clock recovery by the timestamp synchronizing channel and follows the tracks of, and the step that obtains the synchronised clock control information comprises:
By the timestamp synchronizing channel each port is followed the tracks of, the real-time clock of each port and the clock recovery adjustment data of described optimum are compared;
The difference between the data is adjusted in the clock recovery of comprehensive each port and described optimum, draws a synchronised clock control information;
Carry synchronised clock and control strategy in the described synchronised clock control information, by the control strategy in the described synchronised clock control information, the real-time clock of each port is adjusted to synchronised clock.
6. a clock synchronization apparatus is characterized in that, comprising:
Acquisition module is for the timestamp group of obtaining each port; Described timestamp group comprises: at least two timestamps;
Clock synchronization module is used for selecting a timestamp as stabbing fiducial time from described timestamp group, obtains the synchronised clock control information according to stabbing described fiducial time, and described clock synchronization module comprises:
Selected cell is used for selecting a timestamp as stabbing fiducial time from described timestamp group;
The clock recovery algorithm unit is used for handling stabbing described fiducial time, obtains clock recovery and adjusts data; Concrete being used for added up stabbing described fiducial time, obtains timestamp information; The timestamp information that statistics is obtained carries out filtering, and the clock filtering that will have characteristic frequency falls, and obtains filtered timestamp information; Described filtered timestamp information is carried out frequency compensation, and the clock that stabs less than the message flow time fiducial time in the described filtered timestamp information is discarded, obtain the result after frequency compensated; To obtain described frequency compensated after the result in timestamp be weighted processing, obtain optimum clock recovery and adjust data;
Local real-time clock unit is used for adjusting data according to described clock recovery, carries out clock recovery by the timestamp synchronizing channel and follows the tracks of, and obtains the synchronised clock control information;
Issue module, be used for described synchronised clock control information is issued to each port, described synchronised clock control information is used for offering each port, and to carry out clock synchronous.
7. a system that realizes that clock is synchronous is characterized in that, comprising: at least one port and clock synchronization apparatus, wherein,
Described port be used for to receive or sends message, generates the timestamp group of message, and receives the synchronised clock control information that described clock synchronization apparatus issues, and it is synchronous to carry out clock according to described synchronised clock control information;
Described clock synchronization apparatus, be used for obtaining the timestamp group of each port, from described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information according to stabbing described fiducial time, described synchronised clock control information is issued to each port; Wherein, described timestamp group comprises: at least two timestamps; Describedly obtain the synchronised clock control information and comprise according to stabbing described fiducial time: handle stabbing described fiducial time, obtain clock recovery and adjust data, adjust data according to described clock recovery, carry out clock recovery by the timestamp synchronizing channel and follow the tracks of, obtain the synchronised clock control information; Describedly handle stabbing described fiducial time, obtain clock recovery and adjust data and comprise: add up stabbing fiducial time, obtain timestamp information; The timestamp information that statistics is obtained carries out filtering; Described filtered timestamp information is carried out frequency compensation, and the clock that stabs less than the message flow time fiducial time in the described filtered timestamp information is discarded, obtain the result after frequency compensated; To obtain described frequency compensated after the result in timestamp be weighted processing, obtain optimum clock recovery and adjust data.
8. the synchronous system of realization clock according to claim 7 is characterized in that described port comprises:
The message receiving element is used for receiving message;
Extraction unit is used for the message of described reception is resolved, and extracts the timestamp of described message;
Preserve the unit, be used for preserving the timestamp that described extraction unit extracts.
9. the synchronous system of realization clock according to claim 8 is characterized in that described port also comprises:
Packet sending unit is used for sending message;
Identify unit is used for type and local clock information according to the message of described transmission, identifies the timestamp that described message sends;
Then described preservation unit also is used for preserving the timestamp of described identify unit sign;
Wherein, described timestamp group comprises at least two timestamps.
10. according to Claim 8 or the synchronous system of 9 described realization clocks, it is characterized in that described port also comprises:
On send the unit, be used for initiatively will delivering to clock synchronization apparatus on the timestamp group.
11. the synchronous system of realization clock according to claim 7 is characterized in that described port also comprises:
Receiving element is used for receiving the synchronised clock control information that described clock synchronization apparatus issues.
CN2008101929414A 2008-12-31 2008-12-31 Method, device and system for realizing clock synchronization Expired - Fee Related CN101771528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101929414A CN101771528B (en) 2008-12-31 2008-12-31 Method, device and system for realizing clock synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101929414A CN101771528B (en) 2008-12-31 2008-12-31 Method, device and system for realizing clock synchronization

Publications (2)

Publication Number Publication Date
CN101771528A CN101771528A (en) 2010-07-07
CN101771528B true CN101771528B (en) 2013-08-07

Family

ID=42504151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101929414A Expired - Fee Related CN101771528B (en) 2008-12-31 2008-12-31 Method, device and system for realizing clock synchronization

Country Status (1)

Country Link
CN (1) CN101771528B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377556B (en) * 2010-08-19 2016-04-13 中兴通讯股份有限公司 A kind ofly realize the synchronous method and system of active and standby optical line terminal timestamp
CN102045156B (en) * 2010-11-18 2014-12-10 和芯星通科技(北京)有限公司 Method and device for multi-module synchronous processing of digital signals
EP2506470B1 (en) * 2011-03-29 2013-05-29 Alcatel Lucent Method, apparatus and system for time distribution in a telecommunications network
CN103297216A (en) * 2012-02-27 2013-09-11 中兴通讯股份有限公司 Method and device for enabling equipment to achieve synchronization
CN102916758B (en) * 2012-10-10 2016-01-06 北京东土科技股份有限公司 Ethernet time synchronism apparatus and the network equipment
CN103078700A (en) * 2012-12-28 2013-05-01 中国航空工业集团公司第六三一研究所 Clock synchronization processing method
CN104639399B (en) * 2015-02-03 2018-10-09 新华三技术有限公司 More primary time server detection methods and device
AU2017437863B2 (en) 2017-10-30 2023-04-06 Huawei Technologies Co., Ltd. Clock synchronization method and apparatus
CN109995453B (en) * 2018-01-02 2020-12-18 中国移动通信有限公司研究院 Information processing method, device, equipment and computer readable storage medium
CN111611252B (en) * 2020-04-01 2023-07-18 石化盈科信息技术有限责任公司 Monitoring, device, equipment and storage medium for safety data in data synchronization process
CN113068250B (en) * 2021-04-01 2023-07-18 广东电网有限责任公司清远供电局 Time synchronization device, method, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866803A (en) * 2005-09-13 2006-11-22 华为技术有限公司 Ethernet apparatus and method for solving clock synchronization in total Ethernet
CN1946002A (en) * 2006-09-30 2007-04-11 华为技术有限公司 Clock synchronizing method between base stations

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866803A (en) * 2005-09-13 2006-11-22 华为技术有限公司 Ethernet apparatus and method for solving clock synchronization in total Ethernet
CN1946002A (en) * 2006-09-30 2007-04-11 华为技术有限公司 Clock synchronizing method between base stations

Also Published As

Publication number Publication date
CN101771528A (en) 2010-07-07

Similar Documents

Publication Publication Date Title
CN101771528B (en) Method, device and system for realizing clock synchronization
CN101364863B (en) Time synchronizing method, apparatus and system for master, slave time clock side in synchronous network
US10412697B2 (en) Time synchronization method and system, and network device
CN101577600B (en) Time synchronization method, system and optical network equipment for passive optical network system
CN100370864C (en) Network element time synchronizing method in mobile communication system
CN100558143C (en) Mobile broadcast network system and realize the method for this Network Synchronization
CN101330342B (en) Method for implementing time synchronization protocol using port mirror and apparatus thereof
CN102469377A (en) Ethernet passive optical network (EPON) system and method for realizing end-to-end transparent clock in system
CN101582733A (en) Method and system for realizing high precision time synchronization among SDH equipment
CN101895384A (en) Method and device for implementing boundary clock
CN101631013B (en) Method, equipment and system for clock synchronization of access network
CN102035638A (en) Clock source selection processing method, device and system
CN101534249A (en) Method for transmitting data on bound link and network equipment thereof
CN107105496A (en) A kind of method and device, system for obtaining, returning to uplink timing advance
WO2021008532A1 (en) Active antenna unit delay alignment method and apparatus and active antenna unit
CN107947887A (en) Clock system and method between a kind of server based on PTP protocol
CN102130764A (en) Method, system and device for sending time synchronization information
US11411848B2 (en) Flexible ethernet latency measurement method and related device
CN103580768B (en) A kind of method for synchronizing time and device
CN107959537B (en) State synchronization method and device
CN108183762B (en) The method for synchronizing time of RapidIO network system and RapidIO network system
CN101197994A (en) Video and audio synchronization process
CN101316161A (en) Synchronous indication method and system for distributed video
CN103078728B (en) Clock synchronization system
CN105848278B (en) Third party's instrument handles the nonsynchronous method of multiple terminals uplink when monitoring lte-a system

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130807

Termination date: 20171231