CN101136738A - Network clock synchronous method, device and system - Google Patents

Network clock synchronous method, device and system Download PDF

Info

Publication number
CN101136738A
CN101136738A CNA200710164185XA CN200710164185A CN101136738A CN 101136738 A CN101136738 A CN 101136738A CN A200710164185X A CNA200710164185X A CN A200710164185XA CN 200710164185 A CN200710164185 A CN 200710164185A CN 101136738 A CN101136738 A CN 101136738A
Authority
CN
China
Prior art keywords
clock synchronization
network
clock
message
protocol
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.)
Pending
Application number
CNA200710164185XA
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.)
ZHONGKONG SCIENCE AND TECHNOLOGY GROUP Co Ltd
Zhejiang University ZJU
Original Assignee
ZHONGKONG SCIENCE AND TECHNOLOGY GROUP Co Ltd
Zhejiang University ZJU
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 ZHONGKONG SCIENCE AND TECHNOLOGY GROUP Co Ltd, Zhejiang University ZJU filed Critical ZHONGKONG SCIENCE AND TECHNOLOGY GROUP Co Ltd
Priority to CNA200710164185XA priority Critical patent/CN101136738A/en
Publication of CN101136738A publication Critical patent/CN101136738A/en
Pending legal-status Critical Current

Links

Images

Abstract

The method includes steps: receiving clock synchronization (CS) message including synchronizing time (CT) sent from the objective network; converting CS message to format of CS protocol adopted by network device; sending the format converted CS message including CT to network device to implement CS between the network device and the objective network. The method can realize CS among networks when interconnected networks use different CS protocols. Correspondingly, the invention also discloses devices and system for CS of network.

Description

Network clock synchronization method, Apparatus and system
Technical field
The present invention relates to industrial control field, particularly a kind of network clock synchronization method, Apparatus and system.
Background technology
Be accompanied by the development of Ethernet technology maturation, ethernet technology is applied in the industrial occasions more and more.The time that equipment moved on Industrial Ethernet must be realized synchronously, can be guaranteed the normal operation of industrial occasions.Because therefore the requirement of Industrial Ethernet high real-time has the clock synchronization protocol that much is specifically applied to Industrial Ethernet.These agreements can satisfy the requirement of Industrial Ethernet high real-time, still, and again may be not compatible mutually with the clock synchronization protocol of other general network such as office automation network.For example that the general use of Industrial Ethernet is very high precision clock agreement (the PrecisionTime Protocol of clock accuracy, PTP), and common office automation network often uses clock accuracy to require lower Network Time Protocol (Network Time Protocol, NTP) or Simple Network Time Protocol (SimpleNetwork Time Protocol, SNTP).
The work if Industrial Ethernet and office automation network need interconnect then needs to realize the clock synchronization of described two networks.But,, therefore be to adopt the clock synchronization gateway to realize clock synchronization between heterogeneous networks as the mode of clock relaying because present network access device can not be realized between each network the conversion of the message format that sends mutually.The main performing step of this technology is: at first described gateway is to one of them network requests clock synchronization; After the clock synchronization of described gateway realization and this network, second network with described gateway as clock equipment, to described gateway requests clock synchronization, reach the clock purpose identical of second network, thereby finally realize described two internetwork clock synchronizations with the clock of described gateway.In this technology, the effect of described gateway is the relaying of a clock, promptly plays network clocking from a network delivery to another network, finally makes the effect of their clock synchronizations.
But, because the clock synchronization protocol that described clock synchronization gateway can not directly be used according to them message that sends mutually between the network that is connected carries out the conversion of form, so in the request and implementation procedure of clock synchronization, thereby use gateway to realize that as the clock relaying each internetwork clock synchronization is certainly existing clock jitter.Increase along with interconnective the number networks, need more clock synchronous network to close and connect these networks, will be increasing through the clock jitter accumulation of a plurality of gateway relayings, therefore between the network of a plurality of gateways of being separated by, their clock differs greatly, and can not realize the synchronous of clock.
Summary of the invention
Embodiment of the invention problem to be solved provides a kind of network clock synchronization method, Apparatus and system, and to solve under the situation of heterogeneous networks interconnection, each internetwork clock can not be realized synchronous problem.
For addressing the above problem, the embodiment of the invention provides a kind of network clock synchronization method, comprising:
The clock synchronization message that comprises lock in time that the receiving target network sends;
Changing described clock synchronization message is the clock synchronization protocol form that the network equipment adopts;
Send the clock synchronization message that comprises described lock in time behind the described format transformation to the described network equipment, realize the clock synchronization of the described network equipment and described objective network.
Preferably, carry out after the clock synchronization message that comprises lock in time of sending out the transmission of receiving target network, described method also comprises step:
Receive the correction message that comprises clock synchronization message delivery time of described objective network;
Changing described correction message is the clock synchronization protocol form that the described network equipment adopts;
Send the correction message that comprises described clock synchronization message delivery time behind the described format transformation to the described network equipment, realize the correction of synchronised clock.
Preferably, it is characterized in that changing described clock synchronization message is that the clock synchronization protocol form that the network equipment adopts specifically comprises step:
Bridge is resolved described clock synchronization message, obtains the timestamp of objective network;
Described bridge is according to the clock synchronization protocol that the network equipment adopted, and encapsulation comprises the clock synchronization message of described timestamp again.
Preferably, described method also comprises step:
Bridge is monitored the network clocking synchronous protocol, determines each network clocking priority;
The network equipment is carried out to objective network request clock synchronization according to described clock priority.
Preferably, determine that each network clocking priority is specially:
Bridge is determined each network clocking priority according to the clock accuracy of the clock synchronization protocol of each network using.
Preferably, described method also comprises step:
Described bridge filters out the clock synchronization request message that the highest network of clock priority sends.
Preferably, described objective network specifically comprises:
The network that clock priority is the highest; Perhaps,
Clock priority is than the higher leveled network of the described network equipment.
Preferably, carry out before the clock synchronization message that comprises lock in time of receiving target network transmission, described method also comprises step:
Bridge judges whether the described network equipment is network master clock equipment, if, receive only the clock synchronization request message that the described network equipment sends, if not, receive all clock synchronization request messages that described network equipment place network sends.
Preferably, carry out before the clock synchronization message that comprises lock in time of receiving target network transmission, described method also comprises step:
Receive the clock synchronization request message of the network equipment;
Changing described clock synchronization request message is the clock synchronization protocol form that objective network adopts, and is sent to described objective network.
Preferably, changing described clock synchronization request message is that the clock synchronization protocol form that objective network adopts specifically comprises step:
Bridge is resolved the clock synchronization request message, obtains the timestamp of the network equipment;
Described bridge is according to the clock synchronization protocol that objective network adopted, and encapsulation comprises the clock synchronization request message of described timestamp again.
Preferably, carry out and change before the clock synchronization protocol form that described clock synchronization message is network equipment employing, described method also comprises step:
Bridge is downloaded corresponding protocol parsing module and protocol conversion module according to the clock synchronization protocol of the network equipment and objective network employing, carries out the conversion to the clock synchronization request message.
Preferably, described method also comprises step:
Described bridge preestablishes the limit time of handling described clock synchronization request message or clock synchronization message;
Described bridge adds described limit time the clock synchronization request message or the clock synchronization message of described conversion;
Described bridge keeps described clock synchronization request message or clock synchronization message and reaches capacity after the time, carries out sending described clock synchronization request message or clock synchronization message.
Correspondingly, the embodiment of the invention also provides a kind of network clock synchronous device, comprising:
Receiving element is used for the clock synchronization message that comprises lock in time that the receiving target network sends;
Converting unit is used to comprise that the clock synchronization message of lock in time is converted to the clock synchronization protocol form that the described network equipment adopts;
Transmitting element, the clock synchronization message after being used to change is sent to the described network equipment.
Preferably, described converting unit comprises:
Resolve subelement, be used to resolve the timestamp that described clock synchronization request message obtains the network equipment, perhaps, resolve the timestamp that described clock synchronization message obtains objective network;
The encapsulation subelement, the clock synchronization protocol form encapsulation that is used for adopting according to described objective network comprises the clock synchronization request message of described network equipment timestamp, perhaps, the clock synchronization message that comprises described objective network timestamp according to the clock synchronization protocol form encapsulation that the described network equipment adopted.
Preferably, described device also comprises:
Monitoring unit is used to monitor the clock synchronization protocol of each network;
Priority determining unit is used for the clock synchronization protocol according to the monitoring unit monitoring, determines each network clocking priority.
Preferably, described device also comprises:
Filter element is used to filter out the clock synchronization request message that the highest network of clock priority sends.
Preferably, described device also comprises:
Judging unit, be used to judge whether the described network equipment is network master clock equipment, if the notice receiving element receives only the clock synchronization request message that the described network equipment sends, if not, the notice receiving element receives all clock synchronization request messages that described network equipment place network sends.
Preferably, described device also comprises:
Download unit is used for the clock synchronization protocol according to the described network equipment and objective network employing, downloads corresponding protocol parsing module and protocol conversion module.
Preferably, described device also comprises:
The limit time setup unit is used to set the limit time of handling described clock synchronization request message or clock synchronization message;
Trigger element after being used to keep described clock synchronization request message or clock synchronization message and reaching described limit time, triggers transmitting element and sends described message.
Correspondingly, the embodiment of the invention also provides a kind of network clocking synchro system, comprising: objective network, the network equipment and bridge, described bridge comprises aforesaid network clock synchronous device.
Preferably, described system also comprises:
The clock synchronization server is used for the store clock synchronous protocol, onlinely downloads for described bridge provides clock synchronization protocol.
Compared with prior art, the embodiment of the invention is according to different clock synchronization protocol that heterogeneous networks adopted, the message that sends mutually between described network is carried out format conversion, therefore clock jitter is less in the process that realizes clock synchronization between network, can realize the clock synchronization between heterogeneous networks.
Description of drawings
Fig. 1 is the method flow diagram of the embodiment of the invention;
Fig. 2 is the network structure of the preferred embodiment of the present invention;
Fig. 3 is a clock synchronization bridge processing clock synchronization request method of message flow chart in the preferred embodiment of the present invention;
Fig. 4 is the structure drawing of device of the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples the present invention is done detailed explanation.See also and Figure 1 shows that network clock synchronization method flow chart provided by the present invention, specifically comprise step:
Step S101: the clock synchronization message that comprises lock in time that the receiving target network sends;
Step S102: changing described clock synchronization message is the clock synchronization protocol form that the network equipment adopts;
Step S103: send the clock synchronization message that comprises described lock in time behind the described format transformation to the described network equipment, realize the clock synchronization of the described network equipment and described objective network.
In a preferred embodiment of the invention, topology of networks figure sees also shown in Figure 2, clock synchronization bridge 201 connects network A, the network B of Network Time Protocol and the network C of SNTP agreement of using the PTP agreement respectively, wherein, equipment 202 in the network A is the clock equipment of network A, equipment 203 in the network B is the clock equipment in the network B, does not have network master clock equipment in the network C.
Described clock synchronization bridge 201 is monitored connected three network A, B and C, and determines the priority of three network clockings according to the precision of clock synchronization protocol.In this preferred embodiment, adopt the network A clock priority of PTP agreement the highest, adopt the network B of Network Time Protocol to take second place, adopt the network C clock priority of SNTP agreement minimum.
Described clock synchronization bridge 201 listens to the clock synchronization protocol of connected described three networks, and according to described clock priority, selecting the clock equipment 202 of network A be the clock equipment of whole network, and filter out in this network the clock synchronization request message of oriented other network transmission.
For network B, described clock synchronization bridge 201 listens to and have clock equipment 203 in network B, then described clock synchronization bridge 201 filters out all clock synchronization request messages that send to other network from clockwork in the network B, the clock synchronization request message that the clock equipment 203 of a transmission network B sends to other network.After described clock synchronization bridge 201 gets access to the clock synchronization request message of described clock equipment 203 transmissions, stab the effective time that extracts described clock synchronization request message, and encapsulate again stabbing described effective time according to the clock synchronization protocol PTP of network A, be forwarded to network A.The clock equipment 202 of network A receives the described message of encapsulation again, answer comprises that the message of self timestamp is to described clock synchronization bridge 201, described clock synchronization bridge 201 extracts the timestamp of clock equipment 202, and encapsulate according to Network Time Protocol, be sent to network B, finally realize the described clock equipment 203 of network B and the clock synchronization of network A.In network B, other synchronous to 203 requests of described clock equipment with clock from clockwork, thus realized the clock synchronization of all devices and network A in the network B.
For network C, described clock synchronization bridge 201 does not also hear and has clock equipment in the network C, therefore clock synchronization request messages all in the network C is transmitted.According to setting in advance, described clock synchronization request message can be sent to network A, realize and the clock synchronization of network A, perhaps be sent to network B, realize clock synchronization with network B.The process that described clock synchronization bridge is handled described clock synchronization request message is same as described above, does not repeat them here.
Because clock synchronization request message that equipment sent or clock synchronization message on 201 pairs of connected all-networks of clock synchronization bridge are handled, rightly have nothing in common with each other with the clock synchronization request message of network or the processing time of clock synchronization message, therefore in clock synchronization bridge 201, preestablish the maximum duration of handling described two kinds of messages, be called limit time.Described clock synchronization bridge 201 when handling described two kinds of messages, even the time of finishing processing less than the limit time of setting, also this clock synchronization request message or clock synchronization message to be detained reach described limit time after, just forward.In encapsulation process to described clock synchronization clock request message or clock synchronization message, described clock synchronization bridge 201 is encapsulated in described limit time in the described message, after the network equipment receives described message, all on the basis of current network time, add this limit time.By this method, described clock synchronization bridge 201 has guaranteed connected each internetwork clock synchronization to greatest extent.
Described clock synchronization bridge 201 includes the clock synchronization protocol storehouse, is used to discern the employed clock synchronization protocol of network of tranmitting data register synchronization request message.For described clock synchronization bridge 201, can also connect clock synchronization server 204, be used for online updating being carried out in the clock synchronization protocol storehouse of described clock synchronization bridge 201 in synchronised clock bridge 201 initialized processes.
The conversion that described clock synchronization bridge 201 is handled between each clock synchronization protocol is finished by the variety of protocol conversions module, described clock synchronization bridge 201 is according to clock synchronization protocol PTP, NTP, the SNTP of connected network A, B, C, download corresponding PTP-NTP protocol conversion module, PTP-SNTP module or NTP-SNTP module from clock synchronization server 204, thereby realize the conversion of message between various clock synchronization protocol.
The flow process that described clock synchronization bridge 201 is handled described clock synchronization request message sees also shown in Figure 3, specifically comprises step:
Step S301: described clock synchronization bridge 201 receives the clock synchronization request message;
Step S302: judge the clock synchronization protocol that described clock synchronization request message is adopted;
Step S303:, download the corresponding protocol modular converter from the clock synchronization server according to described clock synchronization protocol and predefined target clock synchronous protocol;
Step S304: extract the timestamp of described clock synchronization request message according to described protocol conversion module, be encapsulated into the message of target clock synchronous protocol, and be sent to the clock synchronization objective network.
For the clock synchronization message that the clock synchronization objective network is replied, the processing procedure that sees also 201 pairs of clock synchronization request messages of described clock synchronization bridge is identical, does not repeat them here.
In second preferred embodiment of the present invention, clock equipment 202 in the described network A is after described bridge 201 transmissions comprise the clock synchronization message of timestamp, can write down the moment that sends described clock synchronization message, and transmission comprises that the correction message in the described moment is to described bridge 201.Described bridge 201 receives described correction message, and the format conversion of being correlated with is sent to the network equipment, as the clock equipment in the network B 203.Described clock equipment 203 receives the correction message after the described format conversion, obtain the moment of described clock equipment 202 tranmitting data register sync messages, proofread and correct synchronised clock with described clock equipment 202 once more according to the described moment, to realize the synchronised clock of higher clock accuracy.Other clock synchronization processing procedure is identical with the step of first preferred embodiment of the invention in the present embodiment, does not repeat them here.
In addition, in other some clock synchronization protocol, also may there be the situation of the direct tranmitting data register sync message of the higher clock equipment of clock priority to the network equipment.For example in Fig. 2, clock equipment 202 in the described network A does not need to receive the clock synchronization request message, directly to network B and network C tranmitting data register sync message, the clock equipment 203 and the network equipment in the network C in the network B receive described clock synchronization message, just can realize the clock synchronization with described clock equipment 202.
Use the method that the embodiment of the invention provides, under the situation of the network interconnection of using the different clocks synchronous protocol, can reduce the error of described inter-network synchronization clock, realize described internetwork clock synchronization.
Correspondingly, the embodiment of the invention also provides a kind of network clock synchronous device, sees also shown in Figure 4ly, comprises receiving element 401, is used for the clock synchronization message that comprises lock in time that the receiving target network sends; Converting unit 402 is used to comprise that the clock synchronization message of lock in time is converted to the clock synchronization protocol form that the described network equipment adopts; Transmitting element 403 is used for the clock synchronization message after the conversion is sent to the described network equipment.
In addition, described converting unit 402 also comprises: resolve subelement 4021, be used to resolve the timestamp that described clock synchronization request message obtains the network equipment, perhaps, resolve the timestamp that described clock synchronization message obtains objective network; Encapsulation subelement 4022, the clock synchronization protocol form encapsulation that is used for adopting according to described objective network comprises the clock synchronization request message of described network equipment timestamp, perhaps, the clock synchronization message that comprises described objective network timestamp according to the clock synchronization protocol form encapsulation that the described network equipment adopted.
Described device also comprises:
Monitoring unit 404 is used to monitor the clock synchronization protocol of each network; Priority determining unit 405 is used for the clock synchronization protocol according to the monitoring unit monitoring, determines each network clocking priority; Filter element 406 is used to filter out the clock synchronization request message that the highest network of clock priority sends; Judging unit 407, be used to judge whether the described network equipment is network master clock equipment, if, notice receiving element 401 receives only the clock synchronization request message that the described network equipment sends, if not, notice receiving element 401 receives all clock synchronization request messages that described network equipment place network sends; Download unit 408 is used for the clock synchronization protocol according to the described network equipment and objective network employing, downloads corresponding protocol parsing module and protocol conversion module; Limit time setup unit 409 is used to set the limit time of handling described clock synchronization request message or clock synchronization message; Trigger element 410 after being used to keep described clock synchronization request message or clock synchronization message and reaching described limit time, triggers transmitting element 403 and sends described message.
Use described device, under the situation of the network interconnection of using the different clocks synchronous protocol, realize that the detailed process of described internetwork clock synchronization is:
Described device connects the network of using the different clocks synchronous protocol respectively, uses described monitoring unit 404 to monitor the clock synchronization protocol of each network; Described priority determining unit 405 is determined the clock priority of each network according to the clock synchronization protocol of described each network.
In addition, be set in advance in the limit time of handling message in the described device by limit time setup unit 409.
Described device receives the clock synchronization request message that the network equipment sends by receiving element 401, and uses filter element 406 to filter out the clock synchronization request message that clock priority network sends; And whether the network equipment of judging tranmitting data register synchronization request message by judging unit 407 is network master clock equipment, if, notice receiving element 401 receives only the clock synchronization request message that the described network equipment sends, if not, notice receiving element 401 receives all clock synchronization request messages that described network equipment place network sends.
Described converting unit 402 uses described parsing subelement 4021 to resolve described clock synchronization request message, obtains the timestamp of the described network equipment; Encapsulation subelement 4022 is according to clock synchronization protocol form that objective network adopted, again encapsulation comprises the clock synchronization request message of described network equipment timestamp, and keep described message and arrive described limit time setup unit after 409 predefined times, described trigger element 410 triggers the clock synchronization request message of transmitting elements 403 after with described conversion and is sent to objective network, described objective network may be the highest network of clock priority, or clock priority is than the higher leveled network of the described network equipment.
Described receiving element 401 receives the clock synchronization message that described objective network is replied, and is sent to described converting unit 402, and the same 4021 pairs of described clock synchronization messages of parsing subelement that use are resolved, and obtain the timestamp of described objective network; Described encapsulation subelement 4022 is according to the clock synchronization protocol of the network equipment, again encapsulation comprises the clock synchronization message of described objective network timestamp, and keep described clock synchronization message and arrive described limit time setup unit after 409 predefined times, described trigger element 410 triggers the clock synchronization request message of transmitting elements 403 after with described conversion and is sent to the network equipment.The described network equipment receives described message, obtains the timestamp of described objective network, and makes himself clock be adjusted into the time of described timestamp, thereby realizes the clock synchronization with described objective network.
In the described network equipment and objective network, all preestablish described clock synchronization apparatus and handled the limit time of message, they are all taken described limit time into account in the process of processing clock messages, the therefore maximum clock accuracy that has guaranteed in the clock synchronization request process.
In addition, described device can also use download unit 408, according to the network clocking synchronous protocol that described monitoring unit 404 listens to, download corresponding protocol parsing module and protocol conversion module at the clock synchronization server, therefore can realize how internetwork clock synchronization.
Use network clock synchronous device provided by the invention, the network equipment can be changed according to different clock synchronization protocol forms with the message between the clock synchronization objective network, realize the clock synchronization between the described network equipment and objective network.
Correspondingly, the embodiment of the invention also provides a kind of network clocking synchro system, comprise objective network, the network equipment, bridge and clock synchronization server, wherein said bridge comprises above-mentioned network clock synchronous device, the described network equipment by described bridge to described objective network request clock synchronization, described bridge can also connect described clock synchronization server, downloads and various clock synchronization protocol corresponding protocol parsing modules and protocol conversion module.Use described network clocking synchro system and realize that the detailed process of the clock synchronization between the described network equipment and objective network sees also the implementation procedure of above-mentioned network clock synchronous device, does not repeat them here.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (21)

1. a network clock synchronization method is characterized in that, comprises step:
The clock synchronization message that comprises lock in time that the receiving target network sends;
Changing described clock synchronization message is the clock synchronization protocol form that the network equipment adopts;
Send the clock synchronization message that comprises described lock in time behind the described format transformation to the described network equipment, realize the clock synchronization of the described network equipment and described objective network.
2. method according to claim 1 is characterized in that, carries out after the clock synchronization message that comprises lock in time of sending out the transmission of receiving target network, and described method also comprises step:
Receive the correction message that comprises clock synchronization message delivery time of described objective network;
Changing described correction message is the clock synchronization protocol form that the described network equipment adopts;
Send the correction message that comprises described clock synchronization message delivery time behind the described format transformation to the described network equipment, realize the correction of synchronised clock.
3. method according to claim 1 and 2 is characterized in that, changing described clock synchronization message is that the clock synchronization protocol form that the network equipment adopts specifically comprises step:
Bridge is resolved described clock synchronization message, obtains the timestamp of objective network;
Described bridge is according to the clock synchronization protocol that the network equipment adopted, and encapsulation comprises the clock synchronization message of described timestamp again.
4. method according to claim 1 and 2 is characterized in that, described method also comprises step:
Bridge is monitored the network clocking synchronous protocol, determines each network clocking priority;
The network equipment is carried out to objective network request clock synchronization according to described clock priority.
5. method according to claim 4 is characterized in that, determines that each network clocking priority is specially:
Bridge is determined each network clocking priority according to the clock accuracy of the clock synchronization protocol of each network using.
6. method according to claim 4 is characterized in that, described method also comprises step:
Described bridge filters out the clock synchronization request message that the highest network of clock priority sends.
7. method according to claim 4 is characterized in that, described objective network specifically comprises:
The network that clock priority is the highest; Perhaps,
Clock priority is than the higher leveled network of the described network equipment.
8. method according to claim 1 and 2 is characterized in that, carries out before the clock synchronization message that comprises lock in time of receiving target network transmission, and described method also comprises step:
Bridge judges whether the described network equipment is network master clock equipment, if, receive only the clock synchronization request message that the described network equipment sends, if not, receive all clock synchronization request messages that described network equipment place network sends.
9. method according to claim 1 and 2 is characterized in that, carries out before the clock synchronization message that comprises lock in time of receiving target network transmission, and described method also comprises step:
Receive the clock synchronization request message of the network equipment;
Changing described clock synchronization request message is the clock synchronization protocol form that objective network adopts, and is sent to described objective network.
10. method according to claim 9 is characterized in that, changing described clock synchronization request message is that the clock synchronization protocol form that objective network adopts specifically comprises step:
Bridge is resolved the clock synchronization request message, obtains the timestamp of the network equipment;
Described bridge is according to the clock synchronization protocol that objective network adopted, and encapsulation comprises the clock synchronization request message of described timestamp again.
11. method according to claim 1 and 2 is characterized in that, carries out and changes before the clock synchronization protocol form that described clock synchronization message is network equipment employing, described method also comprises step:
Bridge is downloaded corresponding protocol parsing module and protocol conversion module according to the clock synchronization protocol of the network equipment and objective network employing, carries out the conversion to the clock synchronization request message.
12. method according to claim 1 and 2 is characterized in that, described method also comprises step:
Described bridge preestablishes the limit time of handling described clock synchronization request message or clock synchronization message;
Described bridge adds described limit time the clock synchronization request message or the clock synchronization message of described conversion;
Described bridge keeps described clock synchronization request message or clock synchronization message and reaches capacity after the time, carries out sending described clock synchronization request message or clock synchronization message.
13. a network clock synchronous device is characterized in that, comprising:
Receiving element is used for the clock synchronization message that comprises lock in time that the receiving target network sends;
Converting unit, the clock synchronization message that is used for comprising lock in time is converted to the clock synchronization protocol form that the described network equipment adopts;
Transmitting element is used for the clock synchronization message after the conversion is sent to the described network equipment.
14. device according to claim 13 is characterized in that, described converting unit comprises:
Resolve subelement, be used to resolve the timestamp that described clock synchronization request message obtains the network equipment, perhaps, resolve the timestamp that described clock synchronization message obtains objective network;
The encapsulation subelement, the clock synchronization protocol form encapsulation that is used for adopting according to described objective network comprises the clock synchronization request message of described network equipment timestamp, perhaps, the clock synchronization message that comprises described objective network timestamp according to the clock synchronization protocol form encapsulation that the described network equipment adopted.
15. device according to claim 13 is characterized in that, described device also comprises:
Monitoring unit is used to monitor the clock synchronization protocol of each network;
Priority determining unit is used for the clock synchronization protocol according to the monitoring unit monitoring, determines each network clocking priority.
16. device according to claim 15 is characterized in that, described device also comprises:
Filter element is used to filter out the clock synchronization request message that the highest network of clock priority sends.
17. device according to claim 13 is characterized in that, described device also comprises:
Judging unit, be used to judge whether the described network equipment is network master clock equipment, if the notice receiving element receives only the clock synchronization request message that the described network equipment sends, if not, the notice receiving element receives all clock synchronization request messages that described network equipment place network sends.
18. device according to claim 13 is characterized in that, described device also comprises:
Download unit is used for the clock synchronization protocol according to the described network equipment and objective network employing, downloads corresponding protocol parsing module and protocol conversion module.
19., it is characterized in that described device also comprises according to each described device of claim 13 to 18:
The limit time setup unit is used to set the limit time of handling described clock synchronization request message or clock synchronization message;
Trigger element after being used to keep described clock synchronization request message or clock synchronization message and reaching described limit time, triggers transmitting element and sends described message.
20. a network clocking synchro system comprises objective network, the network equipment and bridge, it is characterized in that, described bridge comprises as each described network clock synchronous device of claim 13 to 19.
21. system according to claim 20 is characterized in that, described system also comprises:
The clock synchronization server is used for the store clock synchronous protocol, onlinely downloads for described bridge provides clock synchronization protocol.
CNA200710164185XA 2007-10-08 2007-10-08 Network clock synchronous method, device and system Pending CN101136738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200710164185XA CN101136738A (en) 2007-10-08 2007-10-08 Network clock synchronous method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200710164185XA CN101136738A (en) 2007-10-08 2007-10-08 Network clock synchronous method, device and system

Publications (1)

Publication Number Publication Date
CN101136738A true CN101136738A (en) 2008-03-05

Family

ID=39160597

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200710164185XA Pending CN101136738A (en) 2007-10-08 2007-10-08 Network clock synchronous method, device and system

Country Status (1)

Country Link
CN (1) CN101136738A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009155854A1 (en) * 2008-06-28 2009-12-30 Huang Geng Networking digital alarm clock, remote control method and signal synchronous transmission method
CN101887286A (en) * 2010-07-09 2010-11-17 中兴通讯股份有限公司 Method and device for converting time format
CN101286833B (en) * 2008-05-26 2011-01-19 中兴通讯股份有限公司 Time synchronized request method and system based on authentication, and time synchronizing method
CN102710410A (en) * 2012-06-06 2012-10-03 哈尔滨工业大学 Clock synchronizing method for NTP network and PTP network
WO2013097199A1 (en) * 2011-12-30 2013-07-04 京信通信系统(中国)有限公司 Method and device for switching clocks, and distributed indoor system using repeater as relay
CN104202204A (en) * 2014-09-26 2014-12-10 浙江中控技术股份有限公司 Clock synchronous control method, device and system based on SNTP
WO2017157170A1 (en) * 2016-03-18 2017-09-21 华为技术有限公司 Method of updating clock synchronization topology, method of determining clock synchronization path, and apparatus
CN108667547A (en) * 2018-08-10 2018-10-16 电信科学技术第五研究所有限公司 A kind of Network Time Protocol conversion method and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286833B (en) * 2008-05-26 2011-01-19 中兴通讯股份有限公司 Time synchronized request method and system based on authentication, and time synchronizing method
WO2009155854A1 (en) * 2008-06-28 2009-12-30 Huang Geng Networking digital alarm clock, remote control method and signal synchronous transmission method
CN101887286A (en) * 2010-07-09 2010-11-17 中兴通讯股份有限公司 Method and device for converting time format
WO2013097199A1 (en) * 2011-12-30 2013-07-04 京信通信系统(中国)有限公司 Method and device for switching clocks, and distributed indoor system using repeater as relay
CN102710410A (en) * 2012-06-06 2012-10-03 哈尔滨工业大学 Clock synchronizing method for NTP network and PTP network
CN102710410B (en) * 2012-06-06 2015-03-11 哈尔滨工业大学 Clock synchronizing method for NTP network and PTP network
CN104202204A (en) * 2014-09-26 2014-12-10 浙江中控技术股份有限公司 Clock synchronous control method, device and system based on SNTP
CN104202204B (en) * 2014-09-26 2017-10-10 浙江中控技术股份有限公司 Clock synchronization control method, apparatus and system based on SNTP
WO2017157170A1 (en) * 2016-03-18 2017-09-21 华为技术有限公司 Method of updating clock synchronization topology, method of determining clock synchronization path, and apparatus
US10892884B2 (en) 2016-03-18 2021-01-12 Huawei Technologies Co., Ltd. Method for updating clock synchronization topology, method for determining clock synchronization path, and device
CN113472669A (en) * 2016-03-18 2021-10-01 华为技术有限公司 Method for updating clock synchronization topology, method and equipment for determining clock synchronization path
CN108667547A (en) * 2018-08-10 2018-10-16 电信科学技术第五研究所有限公司 A kind of Network Time Protocol conversion method and system

Similar Documents

Publication Publication Date Title
CN101136738A (en) Network clock synchronous method, device and system
US7668994B2 (en) Method for optimizing bandwidth utilization in bus systems
EP1906601B1 (en) Industrial ethernet communications adapter
EP3096474B1 (en) Method and apparatus of clock transmission between networks
JP6527289B2 (en) Time synchronization method, sensor accommodating terminal, and sensor network system
EP2865135B1 (en) Determining the network topology of a communication network
CN101170373A (en) Clock synchronization realization method for loop network
CN105262555B (en) Time synchronization method, programmable logic device, single board and network element
US11095382B2 (en) Communication system, communication device and communication method
CN101741853B (en) Method for synchronizing clock time, line card veneer and network equipment
CA2441068A1 (en) Method and system for coupling data networks
CN102237718A (en) Method and device of operating wind power electric field power network with improved data transmission protocol
JPWO2011058625A1 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND TIME SYNCHRONIZATION METHOD
JP6449430B2 (en) Time synchronization method, device and time synchronization server for network device
CN110138490A (en) A kind of method and apparatus of clock competition
CN101009546A (en) Time synchronization method for network segment utilizing different time synchronization protocol
CN101330342A (en) Method for implementing time synchronization protocol using port mirror and apparatus thereof
CN111740800B (en) Multi-precision clock synchronization method based on SDN framework 5G intelligent node
CN105978652A (en) Synchronous time comparing equipment of redundant Ethernet, system and method thereof
CN102195996B (en) Time synchronization method for stacking system, stacking system and member equipment
CN103731252B (en) Improvement method and system for IEEE1588 unicast negotiation mechanism
CN107959537B (en) State synchronization method and device
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
CN100474807C (en) Method and device for realizing media gateway synchronization in communication system
CN102170398B (en) The reverse method of external time port and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080305