CN102811155B - The method of clock source is selected and from equipment and system under clock transparent transmission pattern - Google Patents

The method of clock source is selected and from equipment and system under clock transparent transmission pattern Download PDF

Info

Publication number
CN102811155B
CN102811155B CN201110145542.4A CN201110145542A CN102811155B CN 102811155 B CN102811155 B CN 102811155B CN 201110145542 A CN201110145542 A CN 201110145542A CN 102811155 B CN102811155 B CN 102811155B
Authority
CN
China
Prior art keywords
clock source
equipment
notification packet
clock
lifetime value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110145542.4A
Other languages
Chinese (zh)
Other versions
CN102811155A (en
Inventor
张君辉
赵洪广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201110145542.4A priority Critical patent/CN102811155B/en
Publication of CN102811155A publication Critical patent/CN102811155A/en
Application granted granted Critical
Publication of CN102811155B publication Critical patent/CN102811155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses and under clock transparent transmission pattern, select the method for clock source and from equipment and system, the method includes: when never receiving the same clock source of mark under clock transparent transmission pattern with path from equipment and have the notification packet of identical clock source parameter, selects the clock source corresponding to message of the lifetime value (TTL) carried maximum as synchronous clock source.The present invention selects more accurate synchronous clock source by using TTL parameter to make from equipment estimation and the range information of main equipment, improve the clock synchronization accuracy from equipment, solve under clock transparent transmission pattern, the problem that synchronous clock source can not be selected based on jumping figure from equipment.

Description

The method of clock source is selected and from equipment and system under clock transparent transmission pattern
Technical field
The present invention relates to clock synchronous communication network, be specifically related to when applying accurate timing agreement (PTP) under transmission clock pattern, select the method for clock source and from equipment and system.
Background technology
Along with the high speed development of 3G network, IEEE1588 time synchronization protocol is widely used in communication network.Domestic and overseas operators constantly uses IEEE 1588 agreement to carry out time synchronized, progressively replaces the mode using global positioning system (GPS) to carry out time synchronized.
Two kinds of clock modules are defined in IEEE1588v2 standard, the first is boundary clock (BC) pattern, in such a mode, often through a routing device, the message jumping figure carried in notice (Announce) message that this routing device just will need to forward increases by 1, never receive after being designated same clock source (i.e. being sent) notification packet by same main equipment with path from equipment, the clock source that the message of selection jumping figure value minimum is corresponding realizes clock synchronization as synchronous clock source.Another is transmission clock (TC) pattern, in such a mode, the notification packet that need to forward is connect transparent transmission and does not revise the jumping figure in notification packet by routing device, then this parameter of jumping figure will can not be used to know the distance with main equipment from equipment, thus impact is from the degree of accuracy of the synchronised clock of equipment choice.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method selecting clock source under clock transparent transmission pattern and from equipment and system, improves the degree of accuracy of the synchronous clock source chosen under clock transparent transmission pattern from equipment.
In order to solve above-mentioned technical problem, the invention provides a kind of method selecting clock source under clock transparent transmission pattern, including: when never receiving the same clock source of mark under clock transparent transmission pattern with path from equipment and have the notification packet of identical clock source parameter, select the clock source corresponding to message of the lifetime value (TTL) carried maximum as synchronous clock source.
Further, said method can also have the following characteristics that
Routing device main equipment and the path between equipment is three-layer equipment after receiving described notification packet, carries out notification packet forwarding after subtracting 1 by the lifetime value in described notice message.
Further, said method can also have the following characteristics that
Described from equipment using the routing device interface corresponding to message maximum for the lifetime value (TTL) that carries as the sync cap of synchronous clock source, carry out clock source synchronization by this sync cap.
Further, said method can also have the following characteristics that
Described notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
In order to solve above-mentioned technical problem, present invention also offers a kind of select under transmission clock pattern clock source from equipment, described include lifetime value resolution unit and clock source selection unit from equipment;Described lifetime value resolution unit, never receives the same clock source of mark under clock transparent transmission pattern for resolving and has the lifetime value carried in the notification packet of identical clock source parameter with path;Described clock source selection unit, for selecting the clock source corresponding to message of the lifetime value (TTL) carried maximum as synchronous clock source.
Further, above-mentioned can also have the following characteristics that from equipment
Described notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
Further, above-mentioned can also have the following characteristics that from equipment
Described clock source selection unit, is additionally operable to the routing device interface corresponding to the message of lifetime value (TTL) maximum carried as the sync cap of synchronous clock source, carries out clock source synchronization by this sync cap.
In order to solve above-mentioned technical problem, present invention also offers a kind of system selecting clock source under transmission clock pattern, including main equipment with from equipment;Described main equipment, is identified same clock source for being sent by different paths under clock transparent transmission pattern and has the notification packet of identical clock source parameter;Described from equipment, in time never receiving described notification packet with path, clock source corresponding to the message that selects the lifetime value (TTL) that carries maximum is as synchronous clock source.
Further, said system can also have the following characteristics that
Described system also includes the routing device main equipment and the path between equipment;Described routing device, for being three-layer equipment when receiving described notification packet at this routing device, carries out notification packet forwarding after subtracting 1 by the lifetime value in described notice message.
Further, said system can also have the following characteristics that
Described notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
The present invention selects more accurate synchronous clock source by using TTL parameter to make from equipment estimation and the range information of main equipment, improve the clock synchronization accuracy from equipment, solve under clock transparent transmission pattern, the problem that synchronous clock source can not be selected based on jumping figure from equipment.
Accompanying drawing explanation
Fig. 1 is the method schematic diagram selecting clock source in embodiment under clock transparent transmission pattern.
Detailed description of the invention
The system selecting clock source under transmission clock pattern includes main equipment and the routing device from equipment and main equipment and the path between equipment.
Main equipment is identified same clock source for being sent by different paths under clock transparent transmission pattern and has the notification packet of identical clock source parameter;From equipment for never receiving described notification packet with path time, clock source corresponding to the message that selects the lifetime value (TTL) that carries maximum is as synchronous clock source.
Routing device, for being three-layer equipment when receiving notification packet at this routing device, carries out notification packet forwarding after subtracting 1 by the lifetime value in described notice message.Three-layer equipment refers to support IP message or the equipment of MPLS message.
Notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
Concrete, include lifetime value resolution unit and clock source selection unit from equipment.
Lifetime value resolution unit never receives the same clock source of mark under clock transparent transmission pattern for resolving and has the lifetime value carried in the notification packet of identical clock source parameter with path.Clock source selection unit is for selecting the clock source corresponding to message of the lifetime value (TTL) carried maximum as synchronous clock source.
Clock source selection unit is additionally operable to the routing device interface corresponding to the message of lifetime value (TTL) maximum carried as the sync cap of synchronous clock source, carries out clock source synchronization by this sync cap.
As shown in Figure 1, the method selecting clock source under clock transparent transmission pattern includes: when never receiving the same clock source of mark under clock transparent transmission pattern with path from equipment and have the notification packet of identical clock source parameter, selects the clock source corresponding to message of the lifetime value (TTL) carried maximum as synchronous clock source.
Routing device main equipment and the path between equipment is three-layer equipment after receiving described notification packet, carries out notification packet forwarding after subtracting 1 by the lifetime value in described notice message.
From equipment using the routing device interface corresponding to the message of lifetime value (TTL) maximum carried as the sync cap of synchronous clock source, carry out clock source synchronization by this sync cap.
Notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
Below by specific embodiment, the present invention is described in detail.
In specific embodiment, the method for clock source is selected to comprise the following steps:
Step 1, main equipment uses IP or MPLS encapsulation in a multicast mode to notification packet, notification packet is sent respectively, by the notification packet that different paths send identifying same clock source and there is identical clock source parameter and the ttl value that carries is identical by the different paths from equipment can be got at.
Step 2, when main equipment to the routing device from the path of equipment is three-layer equipment, the lifetime value in the notice message that will receive carries out notification packet forwarding after subtracting 1.
Routing device is that non-three-layer equipment directly forwards the notification packet received.
Step 3, after equipment never receives notification packet respectively with path, judge the notification packet received identifies same clock source and has identical clock source parameter, the clock source corresponding to message that the lifetime value (TTL) carried from equipment choice is maximum is as synchronous clock source, using the routing device interface corresponding to message maximum for the lifetime value (TTL) carried as the sync cap of synchronous clock source, carry out clock source synchronization by this sync cap.
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can mutual combination in any.
Certainly; the present invention also can have other various embodiments; in the case of without departing substantially from present invention spirit and essence thereof; those of ordinary skill in the art can make various corresponding change and deformation according to the present invention, but these change accordingly and deform the protection domain that all should belong to appended claims of the invention.
One of ordinary skill in the art will appreciate that all or part of step in said method can instruct related hardware by program and complete, described program can be stored in computer-readable recording medium, such as read only memory, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also use one or more integrated circuit to realize.Correspondingly, each module/unit in above-described embodiment can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.The present invention is not restricted to the combination of the hardware and software of any particular form.

Claims (8)

1. the method selecting clock source under clock transparent transmission pattern, it is characterised in that
Main equipment sends and carries the identical notification packet of lifetime value TTL, main equipment and between equipment Path on routing device be three-layer equipment after receiving described notification packet, by described notification packet Lifetime value TTL subtract 1 after carry out notification packet forwarding, from equipment under clock transparent transmission pattern never When receiving the same clock source of mark with path and there is the notification packet of identical clock source parameter, select to carry The clock source corresponding to message maximum for lifetime value TTL as synchronous clock source.
2. the method for claim 1, it is characterised in that
Described from equipment, the routing device corresponding to message maximum for the lifetime value TTL carried is connect Mouth, as the sync cap of synchronous clock source, carries out clock source synchronization by this sync cap.
3. the method for claim 1, it is characterised in that
Described notification packet is procotol IP message or multiprotocol label switching MPLS message.
4. one kind under transmission clock pattern select clock source from equipment, it is characterised in that described from Equipment includes lifetime value resolution unit and clock source selection unit;
Described lifetime value resolution unit, never receives with path under clock transparent transmission pattern for resolving Identify same clock source and there is the lifetime value carried in the notification packet of identical clock source parameter;Institute State the lifetime value TTL that notification packet carries when sending identical, and main equipment and between equipment Routing device on path is three-layer equipment after receiving described notification packet, by described notification packet Lifetime value TTL carries out notification packet forwarding after subtracting 1;
Described clock source selection unit, for selecting the message maximum for lifetime value TTL carried right The clock source answered is as synchronous clock source.
5. as claimed in claim 4 from equipment, it is characterised in that
Described notification packet is procotol IP message or multiprotocol label switching MPLS message.
6. as claimed in claim 4 from equipment, it is characterised in that
Described clock source selection unit, is additionally operable to the message maximum for lifetime value TTL by carrying right The routing device interface answered, as the sync cap of synchronous clock source, carries out clock source by this sync cap Synchronize.
7. under transmission clock pattern, select a system for clock source, including main equipment with from equipment, It is characterized in that, described system also includes the routing device main equipment and the path between equipment;
Described main equipment, identifies same clock for being sent by different paths under clock transparent transmission pattern Source and there is the notification packet of identical clock source parameter, the lifetime value TTL that described notification packet carries Identical;
Described routing device, for being three-layer equipment when receiving described notification packet at this routing device, Notification packet forwarding is carried out after lifetime value TTL in described notification packet is subtracted 1;
Described from equipment, in time never receiving described notification packet with path, when selecting the existence carried Between be worth clock source corresponding to message maximum for TTL as synchronous clock source.
8. system as claimed in claim 7, it is characterised in that
Described notification packet is procotol IP message or multiprotocol label switching MPLS message.
CN201110145542.4A 2011-06-01 The method of clock source is selected and from equipment and system under clock transparent transmission pattern Active CN102811155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110145542.4A CN102811155B (en) 2011-06-01 The method of clock source is selected and from equipment and system under clock transparent transmission pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110145542.4A CN102811155B (en) 2011-06-01 The method of clock source is selected and from equipment and system under clock transparent transmission pattern

Publications (2)

Publication Number Publication Date
CN102811155A CN102811155A (en) 2012-12-05
CN102811155B true CN102811155B (en) 2016-12-14

Family

ID=

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043316A (en) * 2006-05-24 2007-09-26 华为技术有限公司 Synchronous method and system
CN101692632A (en) * 2009-09-08 2010-04-07 华为技术有限公司 Method and device for supporting transmission clock
JP2010161708A (en) * 2009-01-09 2010-07-22 Nec Corp Apparatus, method and program for clock selection
CN101789874A (en) * 2009-12-15 2010-07-28 福建星网锐捷网络有限公司 Multicast tree switching realization method, device and routing equipment in PIM-SM
CN102006135A (en) * 2010-12-03 2011-04-06 北京华环电子股份有限公司 Method and device for selecting synchronous clock source

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043316A (en) * 2006-05-24 2007-09-26 华为技术有限公司 Synchronous method and system
JP2010161708A (en) * 2009-01-09 2010-07-22 Nec Corp Apparatus, method and program for clock selection
CN101692632A (en) * 2009-09-08 2010-04-07 华为技术有限公司 Method and device for supporting transmission clock
CN101789874A (en) * 2009-12-15 2010-07-28 福建星网锐捷网络有限公司 Multicast tree switching realization method, device and routing equipment in PIM-SM
CN102006135A (en) * 2010-12-03 2011-04-06 北京华环电子股份有限公司 Method and device for selecting synchronous clock source

Similar Documents

Publication Publication Date Title
US9819541B2 (en) PTP over IP in a network topology with clock redundancy for better PTP accuracy and stability
CN102904775B (en) Method, apparatus and system for measuring network packet loss
US8730868B2 (en) Network node, time synchronization method and network system
CN102215101B (en) A kind of clock synchronizing method and equipment
US9553713B2 (en) Method and system for transmitting clock reference streams with timestamps directly to audio/video end nodes in an audio/video bridging network
WO2017152412A1 (en) Device and method for supporting clock transfer in multiple clock domains
CN103916950A (en) Time synchronization method and system
CN101494613A (en) Method for clock message tunnel transmission, network node and communication system
JP2006319972A (en) System and method for synchronizing time across networks
JP2008193698A (en) Time synchronization aid device, clock synchronization device, master communication station, and slave communication station
US9847868B2 (en) Method of routing synchronization messages
CN107046449A (en) Method and clock for time synchronized
CN103546268A (en) Method and device for compensating system time
CN104703164A (en) Method of acquiring synchronous references, method of transmitting synchronous information and equipment
CN102647328B (en) A kind of label distribution method, equipment and system
CN103051439B (en) A kind of method and device of selection clock source
CN102342051B (en) For coming the method for synchronised clock and relevant system and module by separating transmission first and second data via at least one time distribution protocol
CN103078699A (en) Method and network device for conducting time synchronization based on precision time protocol
JP2017153125A (en) Method, system, and device for synchronizing clock
CN102811155B (en) The method of clock source is selected and from equipment and system under clock transparent transmission pattern
US9179429B2 (en) Synchronization method, device, and system
JP2023512574A (en) Communication method, device and system
EP2458757B1 (en) A method for transmitting IEEE 1588V2 synchronization packets over ethernet in link-by-link mode, via network elements having a transparent clock, and associated help device
CN103986601A (en) Message transmission delay obtaining method and device
CN106549822B (en) Method and device for testing response time of time synchronization message and test equipment

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201127

Address after: 226600 Building 1, No.288, Changjiang West Road, Haian Town, Haian City, Nantong City, Jiangsu Province

Patentee after: HAI'AN JIACHEN ENVIRONMENTAL TECHNOLOGY Co.,Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corp.