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

Method, device and system for realizing clock synchronization Download PDF

Info

Publication number
CN101771528A
CN101771528A CN200810192941A CN200810192941A CN101771528A CN 101771528 A CN101771528 A CN 101771528A CN 200810192941 A CN200810192941 A CN 200810192941A CN 200810192941 A CN200810192941 A CN 200810192941A CN 101771528 A CN101771528 A CN 101771528A
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.)
Granted
Application number
CN200810192941A
Other languages
Chinese (zh)
Other versions
CN101771528B (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

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

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 methods, devices and systems of clock synchronization
Technical field
The present invention relates to communication technical field, relate in particular to a kind of methods, devices and systems of realizing clock synchronization.
Background technology
Clock synchronization is the important indicator of transmission system design, and it provides correct clock information for each equipment in the system, improves the 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 synchronization and become present subject matter.
Development along with the IP network technology, IP clock synchronization multiple technologies---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, so that extract line clock.But this kind method of synchronization is only supported Frequency Synchronization, does not support time synchronized; The CESoP clock synchronization is point-to-point clock synchronization, occurs in professional relevant equipment room, can't not carry out clock synchronization if equipment room has professional data flow, 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 the above-mentioned three kinds technology that realize clock synchronizations, though can realize clock synchronization in the IP communication network device, 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 clock synchronization, 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 clock synchronization 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 to offer each port and carries out clock synchronization.
A kind of clock synchronization apparatus comprises:
Acquisition module is used to obtain the timestamp group of 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 to offer each port and carries out clock synchronization.
A kind of system that realizes clock synchronization comprises: at least one port and clock synchronization apparatus, wherein,
Described port is used for receiving or sending message, generates the timestamp group of message, and receives the synchronised clock control information that described clock synchronization apparatus issues, and carries out clock synchronization according to described synchronised clock control information;
Described clock synchronization apparatus, be used to obtain the timestamp group of each port, from described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information, described synchronised clock control information is issued to each port according to stabbing described fiducial time.
The methods, devices and systems of the realization clock synchronization 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, each port carries out clock synchronization 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 the clock synchronization of the multiport of communication equipment, 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 method flow diagram of the realization clock synchronization that Fig. 1 provides for the embodiment of the invention one;
The method flow diagram of the realization clock synchronization 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 of the realization clock synchronization that Fig. 5 provides for the embodiment of the invention five;
The system configuration schematic diagram of the realization clock synchronization that Fig. 6 provides for the embodiment of the invention six.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
For the advantage that makes technical solution of the present invention is clearer, the present invention is elaborated below in conjunction with drawings and Examples.
Embodiments of the invention provide a kind of method that realizes clock synchronization, can realize the communication equipment clock synchronization, improve the time synchronized quality.
Embodiment one
As shown in Figure 1, the method for described realization clock synchronization comprises:
S101, obtain the timestamp group of each port;
S102, from described timestamp group, select a timestamp, obtain the synchronised clock control information according to stabbing described fiducial time as stabbing fiducial time;
S103, described synchronised clock control information is issued to each port, described synchronised clock control information is used to offer each port and carries out clock synchronization.
The method of the realization clock synchronization 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, each port carries out clock synchronization 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 the clock synchronization of the multiport of communication equipment, improves the time synchronized quality.
Embodiment two
As shown in Figure 2, the method for described realization clock synchronization 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 is meant 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 promptly 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 in measurement and Control Network, with internet exchange, local calculating and the relevant accurate clock synchronization protocol (PTP) of distribution object.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, make ethernet technology intrinsic data transmission period fluctuation be reduced to and 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 the 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, realizes by selection of 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 each port carries out clock synchronization according to described synchronised clock control information.
Each port carries out clock synchronization according to described synchronised clock control information and specifically comprises:
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, utilize the method for the realization clock synchronization that the embodiment of the invention provides, 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 the clock synchronization of the multiport of same equipment, improves the time synchronized quality.
Embodiment three
Embodiments of the invention provide a kind of clock synchronization apparatus, can realize the communication equipment clock synchronization, improve the time synchronized quality.
As shown in Figure 3, described clock synchronization apparatus comprises:
Acquisition module 301 is used to obtain the timestamp group of 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 to offer each port and carries out clock synchronization.
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, each port carries out clock synchronization 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 the clock synchronization of the multiport of communication equipment, improves the time synchronized quality.
Embodiment four
As shown in Figure 4, described clock synchronization apparatus comprises:
Acquisition module 401 is used to obtain the timestamp group of 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, realizes by selection of 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 to offer each port and carries out clock synchronization.
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, the timestamp information that receives is added 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.
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.
The then described module 403 that issues is issued to each port with described synchronised clock control information, carries out clock synchronization by each port according to described synchronised clock control information.
Described each port carries out clock synchronization according to described synchronised clock control information and specifically comprises:
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 the clock synchronization of the multiport of same equipment, improves the time synchronized quality.
Embodiment five
Embodiments of the invention provide a kind of system that realizes clock synchronization, can realize the communication equipment clock synchronization, improve the time synchronized quality.
As shown in Figure 5, the system of described realization clock synchronization comprises: at least one port 501 and clock synchronization apparatus 502, wherein,
Described port 501 is used for receiving or sending message, generates the timestamp group of message, and receives the synchronised clock control information that described clock synchronization apparatus 502 issues, and carries out clock synchronization according to described synchronised clock control information;
Described clock synchronization apparatus 502, be used to obtain the timestamp group of each port 501, from described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information, described synchronised clock control information is issued to each port 501 according to stabbing described fiducial time.
The system of the realization clock synchronization 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, each port carries out clock synchronization 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 the clock synchronization of the multiport of communication equipment, improves the time synchronized quality.
Embodiment six
As shown in Figure 6, the system of described realization clock synchronization comprises: at least one port 601 and clock synchronization apparatus 602, wherein,
Described port 601 is used for receiving or sending message, generates the timestamp group of message, and receives the synchronised clock control information that described clock synchronization apparatus 602 issues, and carries out clock synchronization according to described synchronised clock control information.
Described clock synchronization apparatus 602, be used to obtain the timestamp group of each port 601, from described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information, described synchronised clock control information is issued to each port 601 according to stabbing described fiducial time.
Wherein, when receiving message, described port 601 comprises:
Message receiving element 6011 is used to receive 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 to preserve 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 to send 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 is used to preserve 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 to receive the synchronised clock control information that described clock synchronization apparatus 502 issues.
Thereby, utilize the system of the realization clock synchronization that the embodiment of the invention provides, 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 the clock synchronization of the multiport of same equipment, improves the time synchronized quality.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description 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 (14)

1. a method that realizes clock synchronization is characterized in that, comprising:
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 to offer each port and carries out clock synchronization.
2. the method for realization clock synchronization 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 method for realization clock synchronization 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 method for realization clock synchronization according to claim 2 is characterized in that, the step that described port generates the timestamp group of message comprises:
Send message;
According to the 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 method for realization clock synchronization according to claim 1 is characterized in that, describedly comprises according to stabbing described fiducial time the step that obtains the synchronised clock control information:
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.
6. the method for realization clock synchronization according to claim 5 is characterized in that, describedly handles stabbing described fiducial time, obtains clock recovery and adjusts the step of data and comprise:
To fiducial time stamp information add up;
The timestamp information that statistics is obtained carries out filtering;
Described filtered timestamp information is carried out frequency compensation, and the clock of timestamp less than the message flow time discarded;
The timestamp that obtains is weighted processing, obtains optimum clock recovery and adjust data.
7. according to the method for claim 5 or 6 described realization clock synchronizations, it is characterized in that, describedly adjust data according to described clock recovery, carry out clock recovery by the timestamp synchronizing channel and follow the tracks of, 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,, the real-time clock of each port can be adjusted to synchronised clock by the control strategy in the described synchronised clock control information.
8. a clock synchronization apparatus is characterized in that, comprising:
Acquisition module is used to obtain the timestamp group of 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 to offer each port and carries out clock synchronization.
9. clock synchronization apparatus according to claim 8 is characterized in that, 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;
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.
10. a system that realizes clock synchronization is characterized in that, comprising: at least one port and clock synchronization apparatus, wherein,
Described port is used for receiving or sending message, generates the timestamp group of message, and receives the synchronised clock control information that described clock synchronization apparatus issues, and carries out clock synchronization according to described synchronised clock control information;
Described clock synchronization apparatus, be used to obtain the timestamp group of each port, from described timestamp group, select a timestamp as stabbing fiducial time, obtain the synchronised clock control information, described synchronised clock control information is issued to each port according to stabbing described fiducial time.
11. the system of realization clock synchronization according to claim 10 is characterized in that, described port comprises:
The message receiving element is used to receive 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 to preserve the timestamp that described extraction unit extracts.
12. the system of realization clock synchronization according to claim 11 is characterized in that, described port also comprises:
Packet sending unit is used to send 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 to preserve the timestamp of described identify unit sign;
Wherein, described timestamp group comprises at least two timestamps.
13. the system according to claim 11 or 12 described realization clock synchronizations 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.
14. the system of realization clock synchronization according to claim 10 is characterized in that, described port also comprises:
Receiving element is used to receive 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 true CN101771528A (en) 2010-07-07
CN101771528B 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)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045156A (en) * 2010-11-18 2011-05-04 和芯星通科技(北京)有限公司 Method and device for multi-module synchronous processing of digital signals
CN102377556A (en) * 2010-08-19 2012-03-14 中兴通讯股份有限公司 Method and system for realizing timestamp synchronization of active and standby optical line terminals
CN102916758A (en) * 2012-10-10 2013-02-06 北京东土科技股份有限公司 Ethernet time synchronization device and network equipment
CN103078700A (en) * 2012-12-28 2013-05-01 中国航空工业集团公司第六三一研究所 Clock synchronization processing method
CN103297216A (en) * 2012-02-27 2013-09-11 中兴通讯股份有限公司 Method and device for enabling equipment to achieve synchronization
CN103404054A (en) * 2011-03-29 2013-11-20 阿尔卡特朗讯 Method, apparatus and system for time distribution in a telecommunications network
CN104639399A (en) * 2015-02-03 2015-05-20 杭州华三通信技术有限公司 Method and device for detecting plurality of primary time servers
WO2019084732A1 (en) * 2017-10-30 2019-05-09 华为技术有限公司 Clock synchronization method and apparatus
CN109995453A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 A kind of information processing method, device, equipment and computer readable storage medium
CN111611252A (en) * 2020-04-01 2020-09-01 石化盈科信息技术有限责任公司 Monitoring of security data in a data synchronization process, apparatus, device and storage medium
CN113068250A (en) * 2021-04-01 2021-07-02 广东电网有限责任公司清远供电局 Time synchronization device, method, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866803B (en) * 2005-09-13 2012-05-30 华为技术有限公司 Method for solving clock synchronization in total Ethernet
CN1946002B (en) * 2006-09-30 2010-10-06 华为技术有限公司 Clock synchronizing method between base stations

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377556A (en) * 2010-08-19 2012-03-14 中兴通讯股份有限公司 Method and system for realizing timestamp synchronization of active and standby optical line terminals
CN102045156B (en) * 2010-11-18 2014-12-10 和芯星通科技(北京)有限公司 Method and device for multi-module synchronous processing of digital signals
CN102045156A (en) * 2010-11-18 2011-05-04 和芯星通科技(北京)有限公司 Method and device for multi-module synchronous processing of digital signals
US9548833B2 (en) 2011-03-29 2017-01-17 Alcatel Lucent Method, apparatus and system for time distribution in a telecommunications network
CN103404054A (en) * 2011-03-29 2013-11-20 阿尔卡特朗讯 Method, apparatus and system for time distribution in a telecommunications network
CN103404054B (en) * 2011-03-29 2016-04-13 阿尔卡特朗讯 For the method and apparatus of the Annual distribution in communication 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
CN102916758A (en) * 2012-10-10 2013-02-06 北京东土科技股份有限公司 Ethernet time synchronization device and network equipment
CN103078700A (en) * 2012-12-28 2013-05-01 中国航空工业集团公司第六三一研究所 Clock synchronization processing method
CN104639399A (en) * 2015-02-03 2015-05-20 杭州华三通信技术有限公司 Method and device for detecting plurality of primary time servers
CN104639399B (en) * 2015-02-03 2018-10-09 新华三技术有限公司 More primary time server detection methods and device
WO2019084732A1 (en) * 2017-10-30 2019-05-09 华为技术有限公司 Clock synchronization method and apparatus
US11108485B2 (en) 2017-10-30 2021-08-31 Huawei Technologies Co., Ltd. Clock synchronization method and apparatus
US11552721B2 (en) 2017-10-30 2023-01-10 Huawei Technologies Co., Ltd. Clock synchronization method and apparatus
US11843452B2 (en) 2017-10-30 2023-12-12 Huawei Technologies Co., Ltd. Clock synchronization method and apparatus
CN109995453A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 A kind of information processing method, device, equipment and computer readable storage medium
WO2019134607A1 (en) * 2018-01-02 2019-07-11 中国移动通信有限公司研究院 Information processing method and device, communication apparatus, and computer readable storage medium
CN111611252A (en) * 2020-04-01 2020-09-01 石化盈科信息技术有限责任公司 Monitoring of security data in a data synchronization process, apparatus, device and storage medium
CN111611252B (en) * 2020-04-01 2023-07-18 石化盈科信息技术有限责任公司 Monitoring, device, equipment and storage medium for safety data in data synchronization process
CN113068250A (en) * 2021-04-01 2021-07-02 广东电网有限责任公司清远供电局 Time synchronization device, method, equipment and storage medium

Also Published As

Publication number Publication date
CN101771528B (en) 2013-08-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
CN106992830B (en) A kind of clock synchronizing method in FC-AE-1553 networks
CN101577600B (en) Time synchronization method, system and optical network equipment for passive optical network system
US8914662B2 (en) Implementing transparent clock by correcting time information carried in data using residence time information
CN101331736B (en) Using travel-time as means for improving the accuracy of simple network time protocol
CN102244603B (en) Method, equipment and system for transmitting message bearing time
CN101330342B (en) Method for implementing time synchronization protocol using port mirror and apparatus thereof
CN101383692A (en) Communication system and its device
CN102469377A (en) Ethernet passive optical network (EPON) system and method for realizing end-to-end transparent clock in system
CN101631013B (en) Method, equipment and system for clock synchronization of access network
CN111385048A (en) Time synchronization method and system
CN101895384A (en) Method and device for implementing boundary clock
US11411848B2 (en) Flexible ethernet latency measurement method and related device
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
CN103580768B (en) A kind of method for synchronizing time and device
CN112994819B (en) Message processing method for clock synchronization, clock synchronization method and device
CN103078699A (en) Method and network device for conducting time synchronization based on precision time protocol
CN107959537B (en) State synchronization method and device
CN108183762B (en) The method for synchronizing time of RapidIO network system and RapidIO network system
CN101316161B (en) Synchronous indication method and system for distributed video
CN101197994A (en) Video and audio synchronization process
CN103078728B (en) Clock synchronization 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