CN101692632A - Method and device for supporting transmission clock - Google Patents

Method and device for supporting transmission clock Download PDF

Info

Publication number
CN101692632A
CN101692632A CN200910169537A CN200910169537A CN101692632A CN 101692632 A CN101692632 A CN 101692632A CN 200910169537 A CN200910169537 A CN 200910169537A CN 200910169537 A CN200910169537 A CN 200910169537A CN 101692632 A CN101692632 A CN 101692632A
Authority
CN
China
Prior art keywords
message
transmission
local
event message
far end
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
CN200910169537A
Other languages
Chinese (zh)
Other versions
CN101692632B (en
Inventor
邹畅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200910169537 priority Critical patent/CN101692632B/en
Publication of CN101692632A publication Critical patent/CN101692632A/en
Priority to PCT/CN2010/076642 priority patent/WO2011029377A1/en
Application granted granted Critical
Publication of CN101692632B publication Critical patent/CN101692632B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0673Clock or time synchronisation among packet nodes using intermediate nodes, e.g. modification of a received timestamp before further transmission to the next packet node, e.g. including internal delay time or residence time into the packet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays

Abstract

The invention provides a method for supporting a transmission clock, which specifically comprises the following steps of: acquiring a message transmitted between a far end IP transmission apparatus and a local IP transmission apparatus; and if the message is a first 1588V2 event message, adding a pre-measured IP transmission message time delay into the first 1588V2 event message. The embodiment of the invention also provides a transmission clock device. Because the transmission clock device is superposed on the IP transmission apparatuses, the IP transmission apparatuses in the current network are not necessary to be upgraded or replaced so as to achieve the function of the transmission clock. The method reduces the operational complexity for achieving the function of the transmission clock, and reduces the system implementation cost.

Description

A kind of method and device of supporting transmission clock
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and device of supporting transmission clock.
Background technology
The IP transmission equipment is in the message transfer process, if network bi-directional IP message propagation delay time equates that then the clock synchronization effect is best.But transmit because IP message is transmitted as asynchronous storage, the forwards route is uncertain, so the transmission duration of IP message is uncertain.In order to guarantee the clock synchronization effect, require the IP transmission equipment to support IEEE (Institute of Electrical and Electronics Engineers, IEEE-USA) 1588V2 transmission clock function is to eliminate the adverse effect of IP message transmission duration shake to the clock synchronization effect.IEEE 1588V2 is the agreement that realizes clock synchronization on the IP transmission network.
In the existing IP transmission equipment, hardware resource can not be supported 1588V2 transmission clock function usually.Because existing scheme is generally handled by hardware logic and obtained the timestamp that carries in the message that receives, and handle the part that has nothing to do with timestamp in the 1588V2 transmission clock agreement by upper layer software (applications).Therefore,, need carry out HardwareUpgring or replacement, and software upgrading is handled to prior network device in order to support 1588V2 transmission clock function.
The inventor finds that there are the following problems at least in the prior art in realizing process of the present invention:
For prior network device is carried out software upgrading, need carry out reset operation to the network equipment, and then cause service disconnection, brought risk for the normal operation of IP transmission network, and the software upgrade process complexity.In addition,, need carry out HardwareUpgring/replacement, improve the cost of IP transmission network framework because the hardware resource of prior network device can not be supported 1588V2 transmission clock function usually.
Summary of the invention
Embodiments of the invention provide a kind of method and device of supporting transmission clock.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method of supporting transmission clock comprises:
Obtain message transmitted between far end IP transmission apparatus and local IP transmission equipment;
If described message is a 1588V2 event message, the IP message propagation delay time of measuring is in advance added in the described 1588V2 event message.
A kind of transmission clock device comprises:
The message acquisition module is used to obtain message transmitted between far end IP transmission apparatus and local IP transmission equipment;
The delay compensation module, if described message is a 1588V2 event message, described delay compensation module is used for adding the IP message propagation delay time of measuring in advance to a described 1588V2 event message.
The technical scheme that is provided by the embodiment of the invention described above in the embodiment of the invention, need not the IP transmission equipment in the existing network is upgraded or replaced as can be seen, can realize the transmission clock function.Reduced transmission clock and realized the function operations complexity, and reduced system and realized cost.
Description of drawings
The IP transfers net system structural representation that Fig. 1 provides for the embodiment of the invention;
Fig. 2 is the measuring principle schematic diagram of circuit time delay in the embodiment of the invention;
Fig. 3 is the processing procedure schematic diagram of the embodiment of the invention one;
Fig. 4 is the processing procedure schematic diagram of the embodiment of the invention two;
Fig. 5 is the processing procedure schematic diagram of the embodiment of the invention three;
The apparatus structure schematic diagram that Fig. 6 provides for the embodiment of the invention;
The another kind of apparatus structure schematic diagram that Fig. 7 provides for the embodiment of the invention.
Embodiment
In the embodiment of the invention, in the IP transfers net system as shown in Figure 1, superposition transmission clock device on local IP transmission equipment, the transmission clock device by described superposition realize that local IP transmission equipment supports the function of 1588V2 transmission clock.Described transmission clock device is carried out interacting message by proximal port and local IP transmission equipment, carries out interacting message by remote port and far end IP transmission apparatus.The method of the support transmission clock that the embodiment of the invention provides specifically comprises: obtain message transmitted between far end IP transmission apparatus and local IP transmission equipment, if this message is a 1588V2 event message, the IP message propagation delay time of measuring is in advance added in the 1588V2 event message, a 1588V2 event message is carried out the compensation of IP message propagation delay time.Aforesaid operations is finished by transmission clock device, need not local IP transmission equipment is carried out software upgrading or hardware update/replacement.
In the embodiment of the invention, superposition transmission clock device on local IP transmission equipment, all interacting messages between local IP transmission equipment and the far end IP transmission apparatus all can pass through described transmission clock device.If the message that transmission clock device is obtained is Sync (synchronously) message, then carry out local crystal oscillator frequency Synchronous Processing according to this Sync message; If the message that transmission clock device is obtained is that (relevant message is meant that receiving terminal is a transmission clock device to the message relevant with this transmission clock device with this device, be used for this transmission clock device is carried out operation management maintain, negotiation BMC selects the message of source algorithm or negotiation local clock crystal oscillator frequency synchronized algorithm etc.), for consulting the message that BMC selects the source algorithm or consults local clock crystal oscillator frequency synchronized algorithm, (for example BMC selects the source algorithm by the protocol-dependent upper layer software (applications) of operation 1588V2 transmission clock, this locality is crystal oscillator synchronizing frequency algorithm or the like all the time) handle, for the operation management maintain message of transmission clock device, carry out operation management maintain by the Operation and Maintenance software that moves transmission clock device and handle; If not the message that sends to transmission clock device and be not the 1588V2 event message, then this message is not carried out any processing, and with this message transparent transmission, if this message is obtained from far end IP transmission apparatus, then pass through local IP transmission equipment, if this message is obtained from local IP transmission equipment, then pass through far end IP transmission apparatus.
In the embodiment of the invention, since on the IP transmission equipment superposition transmission clock device, this transmission clock device is added the IP message propagation delay time that measures in advance in the one 1588V2 event message that need carry out delay compensation, thereby need not the IP transmission equipment in the existing network is upgraded or replaced, can realize the transmission clock function, thereby reduced transmission clock and realized the function operations complexity, and reduced system and realized cost.
Transmission clock can be divided into point-to-point transmission clock and end-to-end transmission clock.If the point-to-point transmission clock, then the IP message propagation delay time among the invention described above embodiment specifically comprises the circuit time delay and transmits time delay.If end-to-end transmission clock, then the IP message propagation delay time among the invention described above embodiment specifically comprises the forwarding time delay.Described circuit time delay is meant the duration that IP message consumes on transmission line; Described forwarding time delay is meant the IP message duration that (in the embodiment of the invention, transmission equipment inside is meant local IP transmission equipment and transmission clock device) storage forwarding consumes in transmission equipment inside.Then the embodiment of the invention also comprises the operation of measuring the IP message propagation delay time in advance, wherein, measures the forwarding time delay and specifically comprises following operation:
When obtaining the 2nd 1588V2 event message that far end IP transmission apparatus sends, mark very first time stamp (can be remembered and make t i), and the 2nd 1588V2 event message sent to local IP transmission equipment; When obtaining the 2nd 1588V2 event message that local IP transmission equipment returns, mark second timestamp (can be remembered and make t o); Measure the forwarding time delay according to the timestamp of twice mark, for example, transmit time delay T X=t o-t i
The measurement circuitry time delay specifically comprises following operation:
Obtain the 3rd 1588V2 event message that far end IP transmission apparatus is sent, according to the temporal information measurement circuitry time delay of carrying in described the 3rd 1588V2 event message.
When adopting End-to-End (end-to-end) transmission clock, then do not need the compensated line time delay, therefore, only need to measure the forwarding time delay and get final product.
Wherein, the measurement specific implementation principle of circuit time delay through Pdelay_Req, Pdelay_Resp and Pdelay_Resp_Follow_Up interacting message, can obtain circuit time delay T between transmit port Port1 and the transmit port Port2 as shown in Figure 2 LWherein, described circuit time delay T L=((t 2-t 1)+(t 4-t 3))/2.Described Pdelay_Req, Pdelay_Resp and Pdelay_Resp_Follow_Up message are the 3 1588 event message.
To be described in detail the specific implementation of the embodiment of the invention in actual application below.
Embodiment one
In IP transmission system as shown in Figure 1, the transmission clock device superposition is on local IP transmission equipment.The proximal port of described transmission clock device and local IP transmission equipment are set up communication link and are carried out interacting message, and the remote port of described transmission clock device and far end IP transmission apparatus are set up communication link and carried out interacting message.Transmission clock device is by obtaining the 1588V2 event message that transmits between local IP transmission equipment and the far end IP transmission apparatus, and measures the IP message propagation delay time according to described 1588V2 event message, perhaps to 1588V2 event message compensation IP message propagation delay time.To adopt the point-to-point transmission clock is example, and its concrete processing procedure comprises following operating procedure as shown in Figure 3:
Measure and transmit time delay:
31, transmission clock device is obtained 1588V2 event message (being the 2nd above-mentioned 1588V2 event message) by the communication link with far end IP transmission apparatus foundation;
32, transmission clock device is when described 1588V2 event message enters remote port, and the mark very first time is stabbed t i
33, transmission clock device sends to local IP transmission equipment with described 1588V2 event message by the communication link with local IP transmission equipment foundation;
34, transmission clock device is obtained the described 1588V2 event message that described local IP transmission equipment returns by the communication link with local IP transmission equipment foundation;
When the 1588V2 event message that 35, obtains in step 34 goes out remote port, the transmission clock device mark second timestamp t o, according to timestamp t iWith timestamp t oMeasure the forwarding time delay T of local IP transmission equipment X=t o-t i, and the forwarding time delay that measures added in the described 1588V2 event message;
The measurement circuitry time delay:
36, transmission clock device sends the Pdelay_Req event message by the communication link with far end IP transmission apparatus foundation to far end IP transmission apparatus, and goes out remote port tense marker timestamp t at the Pdelay_Req event message 1
37, transmission clock device is obtained the Pdelay_Resq event message that far end IP transmission apparatus is returned by the communication link with the foundation of distal end I P transmission equipment, and enters remote port tense marker timestamp t at this Pdelay_Resq event message 4
38, transmission clock device is obtained the Pdelay_Resq_Follow_Up message that far end IP transmission apparatus sends by the communication link with far end IP transmission apparatus foundation, carries t in this Pdelay_Resq_Follow_Up message 2And t 3Difference (wherein, t 2When being Pdelay_Req event message arrival far end IP transmission apparatus, the timestamp of far end IP transmission apparatus side mark, t 3Be the Pdelay_Resq event message when far end IP transmission apparatus is sent, the timestamp of far end IP transmission apparatus side mark);
Wherein, can also carry t in the Pdelay_Resq event message in the step 37 2And t 3Difference, then do not need execution in step 38 this moment; Can also carry timestamp information t in the Pdelay_Resq event message in the step 37 2, then carry timestamp information t in the Pdelay_Resq_Follow_Up message in the step 38 this moment 3, therefore, the temporal information of carrying in the 3rd above-mentioned 1588V2 event message comprises: timestamp t 2With timestamp t 3, perhaps, t 2And t 3Difference;
39, transmission clock device is measured the circuit time delay of the communication link of setting up with far end IP transmission apparatus according to timestamp information, for example, and circuit time delay T L=((t 2-t 1)+(t 4-t 3))/2;
Measure when transmitting time delay and circuit and delay, when transmission clock device is obtained the 1588V2 event message again, the 1588V2 event message that obtains is carried out the compensation of IP message propagation delay time, promptly carry out step 40, transmission clock device and obtain the 1588V2 event message that far end IP transmission apparatus or local IP transmission equipment are sent, transmit after adding forwarding time delay and circuit time delay to this 1588V2 event message.
In the processing procedure of the invention described above embodiment one, there is not the sequencing on the sequential in the operation of measurement forwarding time delay and measurement circuitry time delay.The implementation of described measurement circuitry time delay can be with reference to the processing procedure of Fig. 2.In addition, measure the operation of transmitting time delay and measurement circuitry time delay and also can carry out simultaneously, its concrete processing procedure is as follows: transmission clock device is obtained Pdelay_Resq event message or the Pdelay_Resq_Follow_Up message that far end IP transmission apparatus is sent by the communication link with far end IP transmission apparatus foundation; This Pdelay_Resq event message or Pdelay_Resq_Follow_Up message are transmitted the 2nd 1588V2 event message that time delay is used as measuring, transmit latency measurement.
Among the invention described above embodiment one, carry the forwarding time delay of this far end IP transmission apparatus in the 1588V2 event message that far end IP transmission apparatus is sent; Transmission clock equipment is delayed when measuring circuit, the circuit time delay measures is added to sending to local IP transmission equipment in the described 1588V2 event message; Local IP transmission equipment is only transmitted the 1588V2 event message, handle and need not that the 1588V2 event message is carried out transmission clock, by the transmission clock device of superposition on local IP transmission equipment according to the 1588V2 event message that measures in the forwarding time delay of local IP transmission equipment and the circuit time delay that measures, the IP message propagation delay time on the compensating network.
In the technical scheme that the embodiment of the invention one provides and since on the IP transmission equipment superposition transmission clock device, need not the IP transmission equipment in the existing network is upgraded or replaced, can realize the transmission clock function.Reduced transmission clock and realized the function operations complexity, and reduced system and realized cost.
Embodiment two
In the application scenarios of Fig. 1, owing to superposition transmission clock equipment on the IP transmission equipment, therefore the interacting message of local IP transmission equipment and other equipment all passes through transmission clock equipment.The embodiment of the invention is an example with processing procedure shown in Figure 4, the processing procedure when the detailed description transmission clock device is received message by remote port:
41, judge whether the message of receiving is the message of issuing this transmission clock device, if, carry out 42, otherwise, carry out 45;
42, judge whether the message that receives is Sync message, if then carry out 43, otherwise, carry out 44;
43, carry out local crystal oscillator frequency Synchronous Processing, process ends after local crystal oscillator frequency Synchronous Processing is finished according to the message that receives;
44, the protocol-dependent upper layer software (applications) of 1588V2 transmission clock (for example BMC selects source algorithm, this locality crystal oscillator synchronizing frequency algorithm or the like all the time) by moving, or the Operation and Maintenance software of transmission clock device is handled the back process ends of finishing dealing with to the message that receives;
45, judge whether the message that receives is the 1588V2 event message, if carry out 46, otherwise carry out 47;
46, mark timestamp, and compensated line time delay carries out 47;
47, message is sent to local IP transmission equipment by proximal port, and process ends.
Wherein, the compensated line time delay described in 46 is that the circuit time delay that measures is in advance added in the 1588V2 event message.If adopt End-to-End (end-to-end) transmission clock, then do not need the compensated line time delay.
In the technical scheme that the embodiment of the invention two provides, transmission clock device can be supported 1588V2 transmission clock function, and the compensation of propagation delay time is provided for local IP transmission equipment.Realize transparent transmission for other message that send to local IP transmission equipment, therefore the normal data that does not influence the IP transmission equipment is handled, and need not the IP transmission equipment of existing network is upgraded or improved, reduced system and realized cost, and improved the stability of system works.
Embodiment three
In the application scenarios of Fig. 1, owing to superposition transmission clock equipment on the IP transmission equipment, therefore the interacting message of local IP transmission equipment and other equipment all passes through transmission clock equipment.The embodiment of the invention is an example with processing procedure shown in Figure 5, the processing procedure when the detailed description transmission clock device is received message by proximal port:
51, judge whether the message receive is the 1588V2 event message, if, carry out 52 otherwise, carry out 53;
Delay when 52, compensation is transmitted, carry out 53;
53, the message that receives is passed through far end IP transmission apparatus by the communication link with far end IP transmission apparatus foundation; Perhaps, by communication link event message is sent to far end IP transmission apparatus with far end IP transmission apparatus foundation.
In the technical scheme that the embodiment of the invention three provides, transmission clock device can be supported 1588V2 transmission clock function, and the compensation of propagation delay time is provided for local IP transmission equipment.Realize transparent transmission for other message that send to local IP transmission equipment, therefore the normal data that does not influence the IP transmission equipment is handled, and need not the IP transmission equipment of existing network is upgraded or improved, reduced system and realized cost, and improved the stability of system works.
The all or part of step of realization said method embodiment can be finished by the relevant hardware of program command, and aforesaid program can be stored in the computer read/write memory medium, and this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The embodiment of the invention also provides a kind of transmission clock device, its structure as shown in Figure 6, the specific implementation structure can comprise:
Message acquisition module 601 is used to obtain message transmitted between far end IP transmission apparatus and local IP transmission equipment;
Delay compensation module 602, if described message is a 1588V2 event message, then delay compensation module 602 is used for adding the IP message propagation delay time of measuring in advance to a described 1588V2 event message.
The transmission clock device superposition that the invention described above embodiment provides is on the IP transmission equipment, to realize supporting the function of 1588V2 transmission clock.
Transmission clock can be divided into point-to-point transmission clock and end-to-end transmission clock.If the point-to-point transmission clock, then the IP message propagation delay time among the invention described above embodiment specifically comprises the circuit time delay and transmits time delay.If end-to-end transmission clock, then the IP message propagation delay time among the invention described above embodiment specifically comprises the forwarding time delay.Above-mentioned transmission clock device also comprises transmits latency measurement module 603.Above-mentioned message acquisition module 601 also is used to obtain the 2nd 1588V2 event message that far end IP transmission apparatus is sent, and described the 2nd 1588V2 event message sent to local IP transmission equipment, also be used to obtain described the 2nd 1588V2 event message that local IP transmission equipment returns; Above-mentioned forwarding latency measurement module 603 is used for when described message acquisition module 601 obtains far end IP transmission apparatus and sends described the 2nd 1588V2 event message, the mark very first time stabs, when described the 2nd 1588V2 event message that described message acquisition module 601 obtains that local IP transmission equipment returns, mark second timestamp is measured the forwarding time delay according to the timestamp of twice mark.The transmission clock device that the embodiment of the invention provides can also comprise circuit latency measurement submodule 604.Above-mentioned message acquisition module 601 also is used to obtain the 3rd 1588V2 event message that far end IP transmission apparatus is sent; Above-mentioned circuit latency measurement module 604 is used for the temporal information measurement circuitry time delay of carrying according to the 3rd 1588V2 event message that described message acquisition module 601 obtains.
Wherein, the measurement specific implementation principle of circuit time delay through Pdelay_Req, Pdelay_Resp and Pdelay_Resp_Follow_Up interacting message, can obtain circuit time delay T between transmit port Port1 and the transmit port Port2 as shown in Figure 2 LWherein, described circuit time delay T L=((t 2-t 1)+(t 4-t 3))/2.Described Pdelay_Req, Pdelay_Resp and Pdelay_Resp_Follow_Up message are the 3 1588 event message.
In the embodiment of the invention, superposition transmission clock device on the IP transmission equipment, all interacting messages between local IP transmission equipment and the far end IP transmission apparatus all can pass through described transmission clock device.
The embodiment of the invention also provides a kind of concrete application of transmission clock device, its structure as shown in Figure 7, in this transmission clock device, above-mentioned message acquisition module 601 and delay compensation module 602 are arranged in the Logical processing unit 701, this Logical processing unit 701 also is used to measure the IP message propagation delay time, Logical processing unit 701 specifically can realize by combinational logic circuit, also can realize by other efficient hardware devices, DSP (Digital Signal Processor, digital signal processor) for example.Also comprise remote port 702 and proximal port 703 in the transmission clock device that the invention described above embodiment provides.Described remote port 702 is connected with far end IP transmission apparatus, sets up communication link with far end IP transmission apparatus, and described proximal port 703 is connected with local IP transmission equipment, sets up communication link with local IP transmission equipment.That is, carry out interacting message by transmission clock device between local IP transmission equipment and the far end IP transmission apparatus.
In order to measure and compensate propagation delay time, support 1588V2 transmission clock function, message acquisition module 601 in the described Logical processing unit 701 obtains the 1588V2 event message that far end IP transmission apparatus is sent by described remote port 702, Logical processing unit 701 perhaps compensates the IP message propagation delay time according to 1588V2 event message measurement circuitry time delay.The concrete working method that Logical processing unit 701 is measured the IP message propagation delay time comprises:
Described remote port 702 is connected with far end IP transmission apparatus, the message acquisition module 601 of described Logical processing unit 701 obtains the 3rd 1588V2 event message that far end IP transmission apparatus is sent by described remote port 702, and logic processing module 701 is according to the temporal information measurement circuitry time delay of carrying in described the 3rd 1588V2 event message;
When the message acquisition module 601 of described Logical processing unit 701 obtains the 2nd 1588V2 event message that remote equipment sends by described remote port 702, the mark timestamp, and described the 2nd 1588V2 event message is transmitted to local IP transmission equipment by described proximal port 703; The message acquisition module 601 of described Logical processing unit 701 obtains described the 2nd 1588V2 event message that local IP transmission equipment returns by described proximal port 703, and when sending to described far end IP transmission apparatus by described remote port 702, the mark timestamp; Described Logical processing unit 701 is measured according to the timestamp of twice mark and is transmitted time delay.
If adopt end-to-end transmission clock, then do not need to carry out the circuit delay compensation, therefore, Logical processing unit 701 only needs to measure transmitting time delay in the processing procedure of above-mentioned measurement propagation delay time.
The message that transmission clock device receives not only comprises the 1588V2 event message, also may comprise Sync message, other message relevant with transmission clock device, and with irrelevant message of transmission clock device or the like.Accordingly, this transmission clock device also comprises clock crystal oscillator unit 704, is used for the synchronous Sync message that far end IP transmission apparatus that the message acquiring unit 601 according to Logical processing unit 701 obtains is sent, and carries out local crystal oscillator frequency Synchronous Processing.
Optionally, this transmission clock device can also comprise central processor unit 705, the message relevant with this device that is used for the far end IP transmission apparatus that Logical processing unit 701 is obtained is sent is handled, specifically can be the protocol-dependent upper layer software (applications) of 1588V2 transmission clock (for example BMC selects source algorithm, this locality crystal oscillator synchronizing frequency algorithm or the like all the time), or the Operation and Maintenance software of transmission clock device be handled the message that receives by operation.If described Logical processing unit 701 can realize the function of central processor unit 705, then can not comprise described central processor unit 705 in the transmission clock device.The above-mentioned message relevant with this device is meant that receiving terminal is a transmission clock device, is used for this transmission clock device is carried out operation management maintain, consulted the message that BMC selects source algorithm or negotiation local clock crystal oscillator frequency synchronized algorithm etc.
The transmission clock device that the invention described above embodiment provides and since on the IP transmission equipment superposition transmission clock device, need not the IP transmission equipment in the existing network is upgraded or replaced, can realize the transmission clock function.Reduced transmission clock and realized the function operations complexity, and reduced system and realized cost.In addition,, therefore can realize the Synchronous Processing of local clock crystal oscillator frequency, improve clock synchronization accuracy owing to also comprised the clock crystal oscillator unit in this transmission clock device.Owing to can realize the management maintenance function of transmission clock device, therefore guarantee the reliability of the network operation.
The transmission clock device specific implementation form that the invention described above embodiment provides can be veneer, expansion card or box-shaped device or the like.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is 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, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (11)

1. a method of supporting transmission clock is characterized in that, comprising:
Obtain message transmitted between far end IP transmission apparatus and local IP transmission equipment;
If described message is a 1588V2 event message, the IP message propagation delay time of measuring is in advance added in the described 1588V2 event message.
2. method according to claim 1 is characterized in that, described IP message propagation delay time comprises the forwarding time delay, and this method also comprises measures the IP message propagation delay time in advance, and the described IP message propagation delay time of measuring in advance specifically comprises:
When obtaining the 2nd 1588V2 event message that far end IP transmission apparatus sends, the mark very first time stabs, and described the 2nd 1588V2 event message is sent to local IP transmission equipment;
During described the 2nd 1588V2 event message that obtains that local IP transmission equipment returns, mark second timestamp;
Measure the forwarding time delay according to the timestamp of twice mark.
3. method according to claim 2 is characterized in that, described IP message propagation delay time also comprises the circuit time delay, and the described IP message propagation delay time of measuring in advance also comprises:
Obtain the 3rd 1588V2 event message that far end IP transmission apparatus is sent, according to the temporal information measurement circuitry time delay of carrying in described the 3rd 1588V2 event message.
4. method according to claim 1 is characterized in that, if described message is the message that sends to transmission clock device, this method also comprises:
When described message is synchronous Sync message, carry out local crystal oscillator frequency Synchronous Processing according to described synchronization message;
Perhaps,
When described message is when being used for consulting BMC and selecting the source algorithm or consult the message of transmission clock device clock crystal oscillator frequency synchronization algorithm, the protocol-dependent upper layer software (applications) of operation 1588V2 transmission clock carries out BMC and selects handling through consultation of source algorithm or transmission clock device clock crystal oscillator frequency synchronization algorithm;
Perhaps,
When described message was the operation management maintain message of transmission clock device, the Operation and Maintenance software of operation transmission clock device carries out operation management maintain to be handled;
5. method according to claim 1 is characterized in that, if described message is not the message that sends to transmission clock device, and is not the 1588V2 event message, and then this method also comprises:
To pass through local IP transmission equipment from the described message that far end IP transmission apparatus is obtained;
Perhaps,
To pass through far end IP transmission apparatus from the described message that local IP transmission equipment obtains.
6. a transmission clock device is characterized in that, comprising:
The message acquisition module is used to obtain message transmitted between far end IP transmission apparatus and local IP transmission equipment;
The delay compensation module, if described message is a 1588V2 event message, described delay compensation module is used for adding the IP message propagation delay time of measuring in advance to a described 1588V2 event message.
7. device according to claim 6 is characterized in that, described IP message propagation delay time comprises the forwarding time delay, and described device also comprises transmits the latency measurement module:
Described message acquisition module also is used to obtain the 2nd 1588V2 event message that far end IP transmission apparatus is sent, and described the 2nd 1588V2 event message sent to local IP transmission equipment, also be used to obtain described the 2nd 1588V2 event message that local IP transmission equipment returns;
Described forwarding latency measurement module is used for when described message acquisition module obtains far end IP transmission apparatus and sends described the 2nd 1588V2 event message, the mark very first time stabs, when described the 2nd 1588V2 event message that described message acquisition module obtains that local IP transmission equipment returns, mark second timestamp is measured the forwarding time delay according to the timestamp of twice mark.
8. device according to claim 7 is characterized in that, described IP message propagation delay time also comprises the circuit time delay, and described device also comprises circuit latency measurement module:
Described message acquisition module also is used to obtain the 3rd 1588V2 event message that far end IP transmission apparatus is sent;
Described circuit latency measurement module is used for the temporal information measurement circuitry time delay of carrying according to the 3rd 1588V2 event message that described message acquisition module obtains.
9. device according to claim 8, it is characterized in that, described message acquisition module and described delay compensation module are arranged in the Logical processing unit, and described Logical processing unit also is used to measure the IP message propagation delay time, and this device also comprises remote port and proximal port:
Described remote port is connected with far end IP transmission apparatus, described message acquisition module obtains the 3rd 1588V2 event message that far end IP transmission apparatus is sent by described remote port, and described Logical processing unit is according to the temporal information measurement circuitry time delay of carrying in described the 3rd 1588V2 event message;
Described proximal port is connected with local IP transmission equipment, and it is mutual that described message acquisition module carries out the 1588V2 event message by described proximal port and near-end IP transmission equipment;
When described message acquisition module obtains the 2nd 1588V2 event message that remote equipment sends by described remote port, the mark timestamp, and described the 2nd 1588V2 event message is transmitted to local IP transmission equipment by described proximal port; Described message acquisition module obtains described the 2nd 1588V2 event message that local IP transmission equipment returns by described proximal port, and when sending to described far end IP transmission apparatus by described remote port, the mark timestamp; Described Logical processing unit is measured according to the timestamp of twice mark and is transmitted time delay.
10. device according to claim 9 is characterized in that this device also comprises the clock crystal oscillator unit, is used for the synchronous Sync message sent according to the far end IP transmission apparatus that described message acquisition module obtains, carries out local crystal oscillator frequency Synchronous Processing.
11. device according to claim 9 is characterized in that, this device also comprises central processor unit, and the message relevant with this device that is used for the far end IP transmission apparatus that Logical processing unit is obtained is sent is handled.
CN 200910169537 2009-09-08 2009-09-08 Method and device for supporting transmission clock Active CN101692632B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200910169537 CN101692632B (en) 2009-09-08 2009-09-08 Method and device for supporting transmission clock
PCT/CN2010/076642 WO2011029377A1 (en) 2009-09-08 2010-09-06 Method and apparatus for supporting transparent clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910169537 CN101692632B (en) 2009-09-08 2009-09-08 Method and device for supporting transmission clock

Publications (2)

Publication Number Publication Date
CN101692632A true CN101692632A (en) 2010-04-07
CN101692632B CN101692632B (en) 2013-01-30

Family

ID=42081292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910169537 Active CN101692632B (en) 2009-09-08 2009-09-08 Method and device for supporting transmission clock

Country Status (2)

Country Link
CN (1) CN101692632B (en)
WO (1) WO2011029377A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011029377A1 (en) * 2009-09-08 2011-03-17 华为技术有限公司 Method and apparatus for supporting transparent clock
CN102811155A (en) * 2011-06-01 2012-12-05 中兴通讯股份有限公司 Method, slave device and system for selecting clock source at transparent clock mode
CN102811155B (en) * 2011-06-01 2016-12-14 中兴通讯股份有限公司 The method of clock source is selected and from equipment and system under clock transparent transmission pattern
CN107786299A (en) * 2016-08-25 2018-03-09 华为技术有限公司 A kind of method, apparatus and network system for sending and receiving business
WO2019056921A1 (en) * 2017-09-22 2019-03-28 烽火通信科技股份有限公司 Centralized 1588 implementation system and method
CN111416751A (en) * 2019-01-07 2020-07-14 中国移动通信有限公司研究院 Method and device for calculating port forwarding time delay
CN115334008A (en) * 2022-10-18 2022-11-11 中国电子科技集团公司第三十研究所 Method, system, equipment and medium for processing 1588 message jitter of PTN network

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005077063A2 (en) * 2004-02-09 2005-08-25 Semtech Corporation Method and apparatus for aligning time references when separated by an unreliable data packet network
US7689854B2 (en) * 2006-09-22 2010-03-30 Agilent Technologies, Inc. Method and apparatus for establishing IEEE 1588 clock synchronization across a network element comprising first and second cooperating smart interface converters wrapping the network element
CN101404618B (en) * 2008-11-04 2011-04-20 中兴通讯股份有限公司 System, apparatus and method for implementing transparent transmission clock in accurate clock synchronization protocol
CN101425890A (en) * 2008-11-21 2009-05-06 中兴通讯股份有限公司 Transmitted clock implementing apparatus and method
CN101447861B (en) * 2008-12-29 2011-10-26 中兴通讯股份有限公司 IEEE 1588 time synchronization system and implementation method thereof
CN101692632B (en) * 2009-09-08 2013-01-30 华为技术有限公司 Method and device for supporting transmission clock

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011029377A1 (en) * 2009-09-08 2011-03-17 华为技术有限公司 Method and apparatus for supporting transparent clock
CN102811155A (en) * 2011-06-01 2012-12-05 中兴通讯股份有限公司 Method, slave device and system for selecting clock source at transparent clock mode
CN102811155B (en) * 2011-06-01 2016-12-14 中兴通讯股份有限公司 The method of clock source is selected and from equipment and system under clock transparent transmission pattern
CN107786299A (en) * 2016-08-25 2018-03-09 华为技术有限公司 A kind of method, apparatus and network system for sending and receiving business
US11140079B2 (en) 2016-08-25 2021-10-05 Huawei Technologies Co., Ltd. Service sending method and apparatus, service receiving method and apparatus, and network system
WO2019056921A1 (en) * 2017-09-22 2019-03-28 烽火通信科技股份有限公司 Centralized 1588 implementation system and method
CN111416751A (en) * 2019-01-07 2020-07-14 中国移动通信有限公司研究院 Method and device for calculating port forwarding time delay
CN111416751B (en) * 2019-01-07 2023-01-03 中国移动通信有限公司研究院 Method and device for calculating port forwarding time delay
CN115334008A (en) * 2022-10-18 2022-11-11 中国电子科技集团公司第三十研究所 Method, system, equipment and medium for processing 1588 message jitter of PTN network
CN115334008B (en) * 2022-10-18 2023-03-21 中国电子科技集团公司第三十研究所 Method, system, equipment and medium for processing 1588 message jitter of PTN network

Also Published As

Publication number Publication date
CN101692632B (en) 2013-01-30
WO2011029377A1 (en) 2011-03-17

Similar Documents

Publication Publication Date Title
US8817823B2 (en) Method and device for time synchronization
CN102412955B (en) Time deviation acquisition methods when optical fiber is asymmetric between master-slave equipment and communication system
US8689035B2 (en) Communication system, communication interface, and synchronization method
CN106451763B (en) A kind of intelligent substation station level bus network system without global synchronization system
CN101692632B (en) Method and device for supporting transmission clock
EP2706686B1 (en) Method, terminal and system for measuring asymmetric delay of transmission link
US9172525B2 (en) Method and device for compensating for time path
KR101988274B1 (en) Data transmission method, communication device, and communication system
TW201334437A (en) Time synchronization method, device, and system
CN103166729B (en) Clock synchronizing method and equipment
CN103546268A (en) Method and device for compensating system time
CN101765199B (en) Communication network system and time synchronization method in system and OTN equipment
CN103731252B (en) Improvement method and system for IEEE1588 unicast negotiation mechanism
JP5913067B2 (en) Time synchronization system, transmission path delay time correction method, time synchronization device
RU2648285C1 (en) Method and delivery compensation device
CN101420281B (en) Method and arrangement for transferring a time of day value between network elements
CN101365180A (en) Information sending method and apparatus
CN103597887A (en) Synchronization method, device and system
JP2011130182A (en) Wireless base station system, and relay device
JP2013009184A (en) Time synchronous system
JP5127977B2 (en) Synchronization system, time master device, time slave device, and synchronization method
US11360505B2 (en) Distributed network time synchronization
US10122486B2 (en) Method for clock synchronization between two devices connected by an ethernet wire connection
CN112737724A (en) Time information synchronization method and device, storage medium and electronic device
CN103095446A (en) Switch-over method of multimode clock and corresponding multimode clock

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