CN202772918U - PTP signal protocol converting device - Google Patents

PTP signal protocol converting device Download PDF

Info

Publication number
CN202772918U
CN202772918U CN 201120486530 CN201120486530U CN202772918U CN 202772918 U CN202772918 U CN 202772918U CN 201120486530 CN201120486530 CN 201120486530 CN 201120486530 U CN201120486530 U CN 201120486530U CN 202772918 U CN202772918 U CN 202772918U
Authority
CN
China
Prior art keywords
ptp
signal
protocol conversion
ptp signal
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN 201120486530
Other languages
Chinese (zh)
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.)
State Grid Corp of China SGCC
Zhejiang Electric Power Co
Original Assignee
State Grid Corp of China SGCC
Zhejiang Electric Power Co
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 State Grid Corp of China SGCC, Zhejiang Electric Power Co filed Critical State Grid Corp of China SGCC
Priority to CN 201120486530 priority Critical patent/CN202772918U/en
Application granted granted Critical
Publication of CN202772918U publication Critical patent/CN202772918U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The utility model provides a PTP signal protocol converting device. The PTP signal protocol converting device is characterized in that the PTP signal protocol converting device is connected with an external PTP signal source and an external PTP signal receiving device. The PTP signal protocol converting device includes a signal receiving module, a protocol converting module and a signal transmitting module. The signal transmitting module is connected with the protocol converting module and the PTP signal receiving device, and is used for receiving PTP signals transmitted by the protocol converting module, then transmitting to the external PTP signal receiving device and adding a second timestamp into the PTP signals by taking the time of sending the signals as a time point when the signals is about to be sent.

Description

A kind of PTP signaling protocol conversion equipment
Technical field
The utility model relates to the time communication technical field, particularly a kind of PTP signaling protocol conversion equipment.
Background technology
Along with development in science and technology, all trades and professions are more and more higher to the requirement of time synchronized, also constantly carrying out for the research that time synchronized is carried out always.At present, in the time synchronized field, a kind of relatively method in forward position is that master clock passes through SDH (Synchronous Digital Hierarchy) (SDH) to transmitting the PTP signal from clock, and this mode not only accuracy is high, and can not be subject to the impact that SDH switches.
But, the problem that the method for above-mentioned time synchronized exists aspect the communication technology is, the PTP signal that master clock sends adopts Ether protocoll, enter SDH and must be converted to the 2M agreement that SDH adapts to, in like manner the PTP signal is also the PTP signal of 2M agreement must be converted to Ether protocoll again leaving that SDH enters from clock.
If so there is not a kind of short and constant protocol converter appearance that postpones, the technical scheme of so above-mentioned time synchronized just has no idea to produce a desired effect.
The utility model content
In view of this, the utility model provides a kind of PTP signaling protocol conversion equipment, realizes that the PTP signal is constant and more accurate time of delay in the process of protocol conversion.
Do the utility model technical scheme as follows:
A kind of PTP signaling protocol conversion equipment, the outside PTP signal source of described equipment connection and outside PTP signal receiving device, described equipment comprises signal receiving module, protocol conversion module and signal transmitting module;
Signal receiving module connects outside PTP signal source and protocol conversion module, is used for receiving the PTP signal, and adds very first time stamp take time of reception as time point in the PTP signal, and the PTP signal that will add again very first time stamp sends to protocol conversion module;
Protocol conversion module, connect signal receiving module and signal transmitting module, be used for receiving the PTP signal that signal receiving module sends, protocol conversion module is with original protocol analysis in the PTP signal and use another kind of agreement to repack, send to signal transmitting module in the agreement that will repack, take Ether protocoll is converted to the 2M agreement or with the 2M protocol conversion as Ether protocoll;
Signal transmitting module, connection protocol modular converter and PTP signal receiving device, be used for receiving the PTP signal that protocol conversion module sends, be transmitted to again outside PTP signal receiving device, and when being about to transmitted signal, add the second timestamp take time of transmitted signal as time point at the PTP signal.
Described protocol conversion module receives the PTP signal, with original protocol analysis in the PTP signal and use another kind of agreement to repack to be specially:
Protocol conversion module receives the PTP signal contain Ether protocoll, Ether protocoll is resolved and with 2M agreement Reseal PTP signal;
Or protocol conversion module receives the PTP signal contain the 2M agreement, with the 2M protocol analysis and with Ether protocoll Reseal PTP signal.
As seen through the above technical solutions, the utility model is by described PTP signaling protocol transducer joining day stamp in PTP signaling protocol transfer process, thereby secondary time server can utilize timestamp to calculate the time of delay of protocol conversion, and when utilizing the PTP signal to carry out time synchronized, deduct this time of delay, realize that the PTP signal is constant and more accurate time of delay in the process of protocol conversion, according to technique scheme, can with time synchronized on the time in the impact of protocol conversion process be controlled in 200 nanoseconds.
Description of drawings
In order to be illustrated more clearly in the utility model embodiment or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes is embodiment more of the present utility model, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is PTP signaling protocol conversion equipment structural representation;
Fig. 2 is for postponing constant PTP signaling protocol converting system structural representation;
Fig. 3 is for postponing constant PTP signaling protocol converting system workflow diagram.
Embodiment
The utility model provides a kind of constant PTP signaling protocol converting system that postpones, and wherein comprises again a kind of PTP signaling protocol conversion equipment, is used for realizing postponing constant PTP signaling protocol conversion.Below in conjunction with accompanying drawing the technical solution of the utility model is carried out complete description.And described embodiment only is part embodiment in the utility model.Based on the embodiment in the utility model, those of ordinary skills are not passing through other execution modes that draw in the creative work situation, belong to equally the scope of the utility model protection.
With reference to shown in Figure 1, PTP signaling protocol conversion equipment concrete structure described in the utility model comprises: signal receiving module, protocol conversion module and signal transmitting module;
Signal receiving module, connect outside PTP signal source and protocol conversion module, be used for receiving the PTP signal that outside PTP signal source transmits, and add very first time stamp take time of reception as time point in the PTP signal, the PTP signal that will add again very first time stamp sends to protocol conversion module;
Protocol conversion module, connect signal receiving module and signal transmitting module, be used for receiving the PTP signal that signal receiving module sends, protocol conversion module is with original protocol analysis in the PTP signal and use another kind of agreement to repack, and sends to signal transmitting module in the agreement that will repack; The agreement of wherein changing in specific embodiment is, the protocol type that adapts to for the PTP signal receiving device of correspondence is converted to the 2M agreement with Ether protocoll or is Ether protocoll with the 2M protocol conversion,
Signal transmitting module, connection protocol modular converter and PTP signal receiving device, be used for receiving the PTP signal that protocol conversion module sends, be transmitted to again outside PTP signal receiving device, and when being about to transmitted signal, add the second timestamp take time of transmitted signal as time point at the PTP signal.
Based on above-mentioned PTP signaling protocol conversion equipment, further construct a kind of constant PTP signaling protocol converting system that postpones.And in the middle of specific embodiment, the constant PTP signaling protocol converting system of described delay is used in the middle of the cover Time Synchronization Network.
Described system is mainly finished the protocol conversion of PTP signal by above-mentioned PTP signaling protocol conversion equipment, and entering and leave joining day stamp on two time points of PTP signaling protocol conversion equipment at the PTP signal, the PTP signal that will stab the joining day sends to the PTP signal receiving device.
Described PTP signal receiving device need to be done two timestamps and ask poor calculating, thereby draws the time of delay of experiencing when the PTP signal carries out protocol conversion in PTP signaling protocol conversion equipment.PTP signal receiving device in the specific embodiment is when utilizing this PTP signal to carry out time synchronized, deduction time of delay with protocol conversion, namely by the artificial operation of making zero, a protocol conversion process of realization constant low delay in time synchronization process adjusted.
Time Synchronization Network adopts the mode of SDH (Synchronous Digital Hierarchy) (SDH) transmission PTP signal to realize time synchronized among the embodiment, with reference to shown in Figure 2, the below specifically describe Time Synchronization Network when described in postpone the structure of constant PTP signaling protocol converting system:
Access the one PTP signaling protocol conversion equipment under the master clock of Time Synchronization Network, the one PTP signaling protocol conversion equipment receives the PTP signal that contains Ether protocoll from master clock, be converted to the PTP signal of the 2M agreement that adapts to the SDH module, the while adds very first times stamp and the second timestamp at two time points that the PTP signal entered and left PTP signaling protocol conversion equipment again.A last PTP signaling protocol conversion equipment will send to the PTP signal receiving device through the PTP signal of above-mentioned processing.
Described PTP signal receiving device is made of following part: SDH module, the 2nd PTP signaling protocol conversion equipment and secondary time server.
The SDH module is the module that Time Synchronization Network is used for the PTP signal is sent to by master clock secondary time server among the embodiment, the SDH module connects a PTP signaling protocol conversion equipment, receive the PTP signal that a PTP signaling protocol conversion equipment sends, in the position that this PTP signal is transferred to the secondary time server place.
PTP signal through the SDH module enters before the secondary time server, and also needing the 2M protocol conversion with the SDH module adaptive is the Ether protocoll that secondary time server adapts to.So between SDH module and secondary time server, further be provided with another one PTP signaling protocol conversion equipment, i.e. the 2nd PTP signaling protocol converting apparatus.
The 2nd PTP signaling protocol conversion equipment operation principle is identical with a PTP signaling protocol conversion equipment operation principle.The 2nd PTP signaling protocol conversion equipment enters and leaves at the PTP signal on two time points of the 2nd PTP signaling protocol conversion equipment and added respectively the 3rd timestamp and the 4th timestamp when realizing that 2M agreement PTP signal converts Ether protocoll PTP signal to.
Enter secondary time server finally by the PTP signal of crossing above-mentioned processing, described secondary time server be in the time synchronizing network from clock.For reaching synchronously accurately, secondary time server need to be further processed in the time of delay in twice protocol conversion process the PTP signal, is specially:
Calculate the difference of very first time stamp and the second timestamp, namely obtain the time of delay of PTP signal when first time protocol conversion; In like manner calculate the difference of the 3rd timestamp and the 4th timestamp, namely obtain the time of delay of PTP signal in second time protocol conversion process.
Secondary time server is when utilizing above-mentioned PTP signal and master clock to carry out time synchronized, and bales catch is except two time of delays, with realize postponing constant and accurately synchronously to the time.According to described technical scheme, even larger saltus step occurs in time of delay in protocol conversion process, can not to from clock to the time accuracy make a difference.
In addition in the middle of preferred embodiment, can also make hardware modification for described PTP signaling protocol conversion equipment, make the PTP signal when entering protocol conversion module, not do buffer memory and directly begin to resolve step with Reseal, thereby further shortened time of delay.
With reference to shown in Figure 3, below be the constant PTP signaling protocol converting system specific works flow process of described delay:
Signal receiving module in the one PTP signaling protocol conversion equipment receives the PTP signal from outside PTP signal source, add very first time stamp take time of receiving the PTP signal as time point, the PTP signal that adds very first time stamp is sent to protocol conversion module in the PTP signaling protocol conversion equipment;
Protocol conversion module in the one PTP signaling protocol conversion equipment receives the PTP signal from signal receiving module, resolve the former protocols having of PTP signal and with another agreement Reseal PTP signal, the PTP signal of Reseal is sent to signal transmitting module in the PTP signaling protocol conversion equipment;
Signal transmitting module in the one PTP signaling protocol conversion equipment receives the PTP signal from protocol conversion module, and the PTP signal sent to the PTP signal receiving device, simultaneously when being about to send this PTP signal, in this PTP signal, add the second timestamp take time of sending this PTP signal as time point;
The PTP signal receiving device receives the PTP signal from signal transmitting module, utilizes two timestamps in the PTP signal to ask poor, calculates the time of delay of PTP signal in protocol conversion process, and in the path delay of PTP signal information deduction this time of delay.
Wherein step 4 can specifically be divided into following steps again according to the structure of PTP signal receiving module among the embodiment:
SDH (Synchronous Digital Hierarchy) module in the PTP signal receiving device receives the PTP signal that PTP signaling protocol conversion equipment transmits, and sends to the 2nd PTP signaling protocol conversion equipment in the PTP signal receiving device;
The 2nd PTP signal conversion equipment adds the 3rd timestamp at the time point that the PTP signal enters the 2nd PTP signaling protocol conversion equipment, then carry out the protocol conversion of PTP signal, the time point that leaves the 2nd PTP signaling protocol transducer at the PTP signal behind the translation-protocol adds the 4th timestamp, sends to secondary time server in the PTP signal receiving device with adding PTP signal after described two timestamps;
Secondary time server receives the PTP signal that the 2nd PTP signaling protocol conversion equipment sends, utilize the very first time stamp in the PTP signal to ask poor with the second timestamp, calculate the PTP signal in the first time of delay of a PTP signaling protocol conversion equipment, utilize the 3rd timestamp and the 4th timestamp in the PTP signal to ask poor, calculate the PTP signal in the second time of delay of the 2nd PTP signaling protocol conversion equipment;
Secondary time server is deducted the first time of delay and the second time of delay in the path delay of PTP signal in the information.
The above only is preferred embodiment of the present utility model; should be understood that; for those skilled in the art; under the prerequisite that does not break away from the utility model principle; can also make some improvements and modifications, these improvements and modifications also should be considered as protection range of the present utility model.

Claims (2)

1. PTP signaling protocol conversion equipment is characterized in that: the outside PTP signal source of described equipment connection and outside PTP signal receiving device, and described equipment comprises signal receiving module, protocol conversion module and signal transmitting module;
Signal receiving module connects outside PTP signal source and protocol conversion module, is used for receiving the PTP signal, and adds very first time stamp take time of reception as time point in the PTP signal, and the PTP signal that will add again very first time stamp sends to protocol conversion module;
Protocol conversion module, connect signal receiving module and signal transmitting module, be used for receiving the PTP signal that signal receiving module sends, protocol conversion module is with original protocol analysis in the PTP signal and use another kind of agreement to repack, send to signal transmitting module in the agreement that will repack, take Ether protocoll is converted to the 2M agreement or with the 2M protocol conversion as Ether protocoll;
Signal transmitting module, connection protocol modular converter and PTP signal receiving device, be used for receiving the PTP signal that protocol conversion module sends, be transmitted to again outside PTP signal receiving device, and when being about to transmitted signal, add the second timestamp take time of transmitted signal as time point at the PTP signal.
2. described equipment according to claim 1 is characterized in that, described protocol conversion module receives the PTP signal, with original protocol analysis in the PTP signal and use another kind of agreement to repack to be specially:
Protocol conversion module receives the PTP signal contain Ether protocoll, Ether protocoll is resolved and with 2M agreement Reseal PTP signal;
Or protocol conversion module receives the PTP signal contain the 2M agreement, with the 2M protocol analysis and with Ether protocoll Reseal PTP signal.
CN 201120486530 2011-11-29 2011-11-29 PTP signal protocol converting device Expired - Lifetime CN202772918U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201120486530 CN202772918U (en) 2011-11-29 2011-11-29 PTP signal protocol converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201120486530 CN202772918U (en) 2011-11-29 2011-11-29 PTP signal protocol converting device

Publications (1)

Publication Number Publication Date
CN202772918U true CN202772918U (en) 2013-03-06

Family

ID=47779458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201120486530 Expired - Lifetime CN202772918U (en) 2011-11-29 2011-11-29 PTP signal protocol converting device

Country Status (1)

Country Link
CN (1) CN202772918U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293682A (en) * 2015-06-12 2017-01-04 美加狮有限公司 Universal input device driver
WO2019000432A1 (en) * 2017-06-30 2019-01-03 华为技术有限公司 Time synchronization method and device
TWI669014B (en) * 2017-12-26 2019-08-11 中華電信股份有限公司 System and method for end-to-end ptp profiles integration

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293682A (en) * 2015-06-12 2017-01-04 美加狮有限公司 Universal input device driver
WO2019000432A1 (en) * 2017-06-30 2019-01-03 华为技术有限公司 Time synchronization method and device
US11343007B2 (en) 2017-06-30 2022-05-24 Huawei Technologies Co., Ltd. Time synchronization method and device
TWI669014B (en) * 2017-12-26 2019-08-11 中華電信股份有限公司 System and method for end-to-end ptp profiles integration

Similar Documents

Publication Publication Date Title
CN102136900B (en) Time synchronization method for passive optical network, device and system
CN102457372B (en) Communication system and method for transmitting clock signals by using optical fiber
CN102638324B (en) Method and device for realizing precise time synchronization
CN105634641B (en) Based on architecture for exchanging can cascade network communication accurate timing system and method
CN101425865B (en) Method and system for synchronizing clock of transmission network as well as subordinate clock side entity
CN102404105A (en) Device and method for realizing time synchronization on Ethernet switch
CN103210690A (en) Time synchronization method and system, and node device
CN107809295B (en) A kind of cross-platform time synchronism apparatus and method
CN103616591A (en) Simulation device and method of characters of merging unit of intelligent transformer substation
CN102315985A (en) Time synchronization precision test method for intelligent device adopting IEEE1588 protocols
CN202772918U (en) PTP signal protocol converting device
CN104506888A (en) Clock synchronizing device, method and system
CN102594683A (en) Special network switching method and equipment with synchronous digital hierarchy (SDH) network accurate clock synchronization function
CN102916758A (en) Ethernet time synchronization device and network equipment
CN108206683B (en) Dynamic compensation pulse circuit
CN102387155B (en) Delay-constant PTP (peer to peer) signal protocol conversion system and implementation method thereof
CN103199950B (en) A kind of E1 of employing special line carries out the method for split-second precision transmission
CN102420667A (en) System and implementation method of time synchronization network based on synchronous digital hierarchy (SDH)
CN104601269A (en) Master and slave clock synchronization method and system
CN102571253B (en) Method and equipment for implementing precise time synchronization
CN101931482A (en) Clock synchronization method and system of convergent type video optical transmitter and receiver
CN205283557U (en) PTP time synchronizer based on synchronous ethernet
CN209280640U (en) A kind of acoustic sensor array control circuit for acoustics camera
CN205195718U (en) Embedded network synchronization system based on FPGA
CN102377502A (en) Multilevel time synchronizing system and implementing method

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20130306

CX01 Expiry of patent term