CN102811155A - Method, slave device and system for selecting clock source at transparent clock mode - Google Patents

Method, slave device and system for selecting clock source at transparent clock mode Download PDF

Info

Publication number
CN102811155A
CN102811155A CN2011101455424A CN201110145542A CN102811155A CN 102811155 A CN102811155 A CN 102811155A CN 2011101455424 A CN2011101455424 A CN 2011101455424A CN 201110145542 A CN201110145542 A CN 201110145542A CN 102811155 A CN102811155 A CN 102811155A
Authority
CN
China
Prior art keywords
clock source
clock
message
slave unit
life span
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
CN2011101455424A
Other languages
Chinese (zh)
Other versions
CN102811155B (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.)
HAI'AN JIACHEN ENVIRONMENTAL TECHNOLOGY Co.,Ltd.
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110145542.4A priority Critical patent/CN102811155B/en
Priority claimed from CN201110145542.4A external-priority 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

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a slave device and a system for selecting a clock source at a transparent clock mode. The method comprises the steps that when the slave device receives an announce message identifying the same clock source and having the same clock source parameter from different routes at the transparent clock mode, the clock source corresponding to the announce message carrying the maximum time to live (TTL) value is selected as a synchronous clock source. According to the method, the slave device and the system for selecting the clock source at transparent mode, by using the TTL value parameter, the slave device estimates the distance information with a main device, so as to select the relatively accurate synchronous clock source, and therefore, clock synchronization accuracy of the slave device is improved, and the problem that the slave device cannot select the synchronous clock source based on hops count at the transparent clock mode is solved.

Description

Under the clock transparent transmission pattern, select method and the slave unit and the system in clock source
Technical field
The present invention relates to the clock synchronization communication network, under the transmission clock pattern, select method and the slave unit and the system in clock source when being specifically related to use accurate timing agreement (PTP).
Background technology
Along with the high speed development of 3G network, the IEEE1588 time synchronization protocol is widely used in communication network.Domestic and overseas operators constantly uses IEEE 1588 agreements to carry out time synchronized, and progressively replacement uses global positioning system (GPS) to carry out the mode of time synchronized.
Two kinds of clock modules in the IEEE1588v2 standard, have been stipulated; First kind is boundary clock (BC) pattern; Under this pattern, every through a routing device, the message jumping figure that carries in the announcement that this routing device just will be transmitted (Announce) message increases by 1; Slave unit never with the path receive be designated same clock source (promptly sending) notification packet by same main equipment after, select the corresponding clock source of the minimum message of jumping figure value to realize clock synchronization as the synchronised clock source.A kind of in addition is transmission clock (TC) pattern; Under this pattern; The notification packet that routing device will be transmitted connects transparent transmission and does not revise the jumping figure in the notification packet; Then slave unit can not use this parameter of jumping figure to know the distance with main equipment, thereby influence the accuracy of the synchronised clock that slave unit selects.
Summary of the invention
The technical problem that the present invention will solve provides a kind of method and slave unit and system of under the clock transparent transmission pattern, selecting the clock source, the accuracy in the synchronised clock source that the raising slave unit is chosen under the clock transparent transmission pattern.
In order to solve the problems of the technologies described above; The invention provides a kind of method of under the clock transparent transmission pattern, selecting the clock source; Comprise: when slave unit was never received sign same clock source and had the notification packet of identical clock source parameter with the path under the clock transparent transmission pattern, the pairing clock of the message source of life span value (TTL) maximum that selection is carried was as the synchronised clock source.
Further, said method can also have following characteristics:
Routing device on the path between main equipment and the slave unit be three-layer equipment and receive said notification packet after, the life span value in the said notice message is subtracted 1 laggard working accuses message and transmit.
Further, said method can also have following characteristics:
Said slave unit the pairing routing device interface of message that the life span value (TTL) of carrying is maximum is as the sync cap in synchronised clock source, and it is synchronous to carry out the clock source through this sync cap.
Further, said method can also have following characteristics:
Said notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
In order to solve the problems of the technologies described above, the present invention also provides a kind of slave unit of under the transmission clock pattern, selecting the clock source, and said slave unit comprises life span value resolution unit and clock source selection unit; Said life span value resolution unit is used for resolving under the clock transparent transmission pattern and never receives sign same clock source with the path and to have the life span value that the notification packet of identical clock source parameter carries; Said clock source selection unit is used to select the maximum pairing clock of the message source of the life span value (TTL) of carrying as the synchronised clock source.
Further, above-mentioned slave unit can also have following characteristics:
Said notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
Further, above-mentioned slave unit can also have following characteristics:
Said clock source selection unit also is used for the sync cap of the pairing routing device interface of message that the life span value (TTL) of carrying is maximum as the synchronised clock source, and it is synchronous to carry out the clock source through this sync cap.
In order to solve the problems of the technologies described above, the present invention also provides a kind of system of under the transmission clock pattern, selecting the clock source, comprises main equipment and slave unit; Said main equipment is used for the notification packet that under the clock transparent transmission pattern, sends sign same clock source and have identical clock source parameter through different paths; Said slave unit, when being used for never receiving said notification packet with the path, the clock source of the message correspondence that the life span value (TTL) that selection is carried is maximum is as the synchronised clock source.
Further, said system can also have following characteristics:
Said system also comprises the routing device on the path between main equipment and the slave unit; Said routing device, being used at this routing device is three-layer equipment and when receiving said notification packet, the life span value in the said notice message is subtracted 1 laggard working accuse message and transmit.
Further, said system can also have following characteristics:
Said notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
Thereby make slave unit estimate to select comparatively accurate synchronised clock source through use TTL parameter among the present invention with the range information of main equipment; Improve the clock synchronization accuracy of slave unit; Solution is under the clock transparent transmission pattern, and slave unit can not be selected the problem in synchronised clock source based on jumping figure.
Description of drawings
Fig. 1 is a method sketch map of selecting the clock source among the embodiment under the clock transparent transmission pattern.
Embodiment
Selecting the system in clock source to comprise the routing device on the path between main equipment and slave unit and main equipment and the slave unit under the transmission clock pattern.
Main equipment is used under the clock transparent transmission pattern, sending the notification packet that identifies same clock source and have identical clock source parameter through different paths; When slave unit was used for never receiving said notification packet with the path, the clock source of the message correspondence that the life span value (TTL) that selection is carried is maximum was as the synchronised clock source.
It is three-layer equipment and when receiving notification packet that routing device is used at this routing device, the life span value in the said notice message is subtracted 1 laggard working accuse message and transmit.Three-layer equipment is meant the equipment that can support IP message or MPLS message.
Notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
Concrete, slave unit comprises life span value resolution unit and clock source selection unit.
Life span value resolution unit is used for resolving under the clock transparent transmission pattern never to be received sign same clock source with the path and has the life span value that the notification packet of identical clock source parameter carries.The clock source selection unit is used to select the maximum pairing clock of the message source of the life span value (TTL) of carrying as the synchronised clock source.
The clock source selection unit also is used for the sync cap of the pairing routing device interface of message that the life span value (TTL) of carrying is maximum as the synchronised clock source, and it is synchronous to carry out the clock source through this sync cap.
As shown in Figure 1; Selecting the method in clock source to comprise under the clock transparent transmission pattern: when slave unit was never received sign same clock source and had the notification packet of identical clock source parameter with the path under the clock transparent transmission pattern, the pairing clock of the message source of life span value (TTL) maximum that selection is carried was as the synchronised clock source.
Routing device on the path between main equipment and the slave unit be three-layer equipment and receive said notification packet after, the life span value in the said notice message is subtracted 1 laggard working accuses message and transmit.
Slave unit the pairing routing device interface of message that the life span value (TTL) of carrying is maximum is as the sync cap in synchronised clock source, and it is synchronous to carry out the clock source through this sync cap.
Notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
Through specific embodiment the present invention is elaborated below.
In the specific embodiment, select the method in clock source may further comprise the steps:
Step 1; Main equipment adopts IP or MPLS encapsulation to notification packet under multicast pattern; Notification packet is sent in different paths through getting at slave unit respectively, in the notification packet that sends through different paths sign same clock source and have identical clock source parameter and the ttl value that carries identical.
Step 2 when the routing device in the path of main equipment to slave unit is three-layer equipment, subtracts 1 laggard working with the life span value in the notice message of receiving and accuses the message forwarding.
Routing device is that non-three-layer equipment is directly transmitted the notification packet of receiving.
Step 3; After slave unit is never received notification packet respectively with the path; Judge and identify same clock source in the notification packet of receiving and have identical clock source parameter; The maximum pairing clock of the message source of the life span value (TTL) that slave unit is selected to carry is as the synchronised clock source, and the pairing routing device interface of message that the life span value (TTL) of carrying is maximum is as the sync cap in synchronised clock source, and it is synchronous to carry out the clock source through this sync cap.
Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
Certainly; The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to accomplish through program, said program can be stored in the computer-readable recording medium, like read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.

Claims (10)

1. a method of under the clock transparent transmission pattern, selecting the clock source is characterized in that,
When slave unit was never received sign same clock source and had the notification packet of identical clock source parameter with the path under the clock transparent transmission pattern, the pairing clock of the message source of life span value (TTL) maximum that selection is carried was as the synchronised clock source.
2. the method for claim 1 is characterized in that,
Routing device on the path between main equipment and the slave unit be three-layer equipment and receive said notification packet after, the life span value in the said notice message is subtracted 1 laggard working accuses message and transmit.
3. the method for claim 1 is characterized in that,
Said slave unit the pairing routing device interface of message that the life span value (TTL) of carrying is maximum is as the sync cap in synchronised clock source, and it is synchronous to carry out the clock source through this sync cap.
4. the method for claim 1 is characterized in that,
Said notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
5. a slave unit of under the transmission clock pattern, selecting the clock source is characterized in that said slave unit comprises life span value resolution unit and clock source selection unit;
Said life span value resolution unit is used for resolving under the clock transparent transmission pattern and never receives sign same clock source with the path and to have the life span value that the notification packet of identical clock source parameter carries;
Said clock source selection unit is used to select the maximum pairing clock of the message source of the life span value (TTL) of carrying as the synchronised clock source.
6. slave unit as claimed in claim 5 is characterized in that,
Said notification packet is procotol (IP) message or multiprotocol label switching (mpls) message.
7. slave unit as claimed in claim 5 is characterized in that,
Said clock source selection unit also is used for the sync cap of the pairing routing device interface of message that the life span value (TTL) of carrying is maximum as the synchronised clock source, and it is synchronous to carry out the clock source through this sync cap.
8. a system of under the transmission clock pattern, selecting the clock source comprises main equipment and slave unit, it is characterized in that,
Said main equipment is used for the notification packet that under the clock transparent transmission pattern, sends sign same clock source and have identical clock source parameter through different paths;
Said slave unit, when being used for never receiving said notification packet with the path, the clock source of the message correspondence that the life span value (TTL) that selection is carried is maximum is as the synchronised clock source.
9. system as claimed in claim 8 is characterized in that,
Said system also comprises the routing device on the path between main equipment and the slave unit;
Said routing device, being used at this routing device is three-layer equipment and when receiving said notification packet, the life span value in the said notice message is subtracted 1 laggard working accuse message and transmit.
10. system as claimed in claim 8 is characterized in that,
Said 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 true CN102811155A (en) 2012-12-05
CN102811155B CN102811155B (en) 2016-12-14

Family

ID=

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533648A (en) * 2016-12-06 2017-03-22 南京南瑞继保电气有限公司 IEEE 1588 clock synchronizing and monitoring method based on HSR (High-availability Seamless Redundancy) network
CN114244465A (en) * 2021-12-25 2022-03-25 江苏信而泰智能装备有限公司 Cascade system main equipment selection method, selection device and cascade system

Citations (6)

* 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
US20100218020A1 (en) * 2006-09-22 2010-08-26 Agere Systems Inc. Systems and Methods for Operational Power Management
CN102006135A (en) * 2010-12-03 2011-04-06 北京华环电子股份有限公司 Method and device for selecting synchronous clock source

Patent Citations (6)

* 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
US20100218020A1 (en) * 2006-09-22 2010-08-26 Agere Systems Inc. Systems and Methods for Operational Power Management
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533648A (en) * 2016-12-06 2017-03-22 南京南瑞继保电气有限公司 IEEE 1588 clock synchronizing and monitoring method based on HSR (High-availability Seamless Redundancy) network
CN114244465A (en) * 2021-12-25 2022-03-25 江苏信而泰智能装备有限公司 Cascade system main equipment selection method, selection device and cascade system

Similar Documents

Publication Publication Date Title
Mahmood et al. Time synchronization in 5G wireless edge: Requirements and solutions for critical-MTC
JP6798668B2 (en) Synchronization method, user equipment and base station
CN102904775B (en) Method, apparatus and system for measuring network packet loss
KR100695074B1 (en) Time synchronizing method in wireless sensor networks
US20160277138A1 (en) Ptp over ip in a network topology with clock redundancy for better ptp accuracy and stability
CN103916950A (en) Time synchronization method and system
US9369224B2 (en) Clock synchronization method and device
CN102215101B (en) A kind of clock synchronizing method and equipment
US9288002B2 (en) Method for monitoring and managing data networks
JP2012209791A (en) Network node, time synchronization method, and network system
EP3334068A1 (en) Method, node and system for detecting clock synchronization path
CN111989960B (en) Techniques for network-based time synchronization for UE-side uplink and/or uplink communications
US10750463B2 (en) Method and device for identifying synchronization priority
CN104125617A (en) System and method for mobile terminal ad-hoc network
US20230092723A1 (en) Communication Method, Apparatus, and Computer-Readable Storage Medium
AU2007243470B2 (en) Method and apparatus for coordinating timing in a wireless local area network
WO2015131350A1 (en) Clock synchronization method and device, and communication 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
CN104125619A (en) Terminal ad hoc network routing method
EP2750339A1 (en) Synchronization method and system for traversing the synchronous network of third-party
FR2924883B1 (en) METHOD FOR TRANSPORTING DATA PROTECTING PRIORITY DATA STREAMS IN A NETWORK
JP5302051B2 (en) Radio base station, radio control apparatus, and radio apparatus
CN102811155A (en) Method, slave device and system for selecting clock source at transparent clock mode
CN102811155B (en) The method of clock source is selected and from equipment and system under clock transparent transmission pattern

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
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.