CN108599888A - A kind of distributed network clock synchronizing system - Google Patents

A kind of distributed network clock synchronizing system Download PDF

Info

Publication number
CN108599888A
CN108599888A CN201810439743.7A CN201810439743A CN108599888A CN 108599888 A CN108599888 A CN 108599888A CN 201810439743 A CN201810439743 A CN 201810439743A CN 108599888 A CN108599888 A CN 108599888A
Authority
CN
China
Prior art keywords
node
clock
timestamp
delay
message
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
CN201810439743.7A
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.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN201810439743.7A priority Critical patent/CN108599888A/en
Publication of CN108599888A publication Critical patent/CN108599888A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0602Systems characterised by the synchronising information used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The present invention relates to a kind of distributed network clock synchronizing systems, including:Clock source is used for tranmitting data register synchronizing information;At least level-one is connected to the clock source step by step from equipment, is synchronized for receiving the clock synchronization information step by step and completing clock;Wherein, the clock source and at least level-one are from the node that equipment is in distributed network clock synchronizing system.The embodiment of the present invention is by measuring link delay and calculating the time difference by link delay, then realize that clock synchronizes, so that the clock synchronization accuracy of distributed network clock synchronizing system reaches nanosecond rank, and make the system that there is stronger stability, i.e. when the equipment in distributed network occurs abnormal, the distributed network can adaptively adjust network structure within a very short time, reselect suitable master clock and complete clock synchronization.

Description

A kind of distributed network clock synchronizing system
Technical field
The invention belongs to electronics and the communications field, and in particular to a kind of distributed network clock synchronizing system.
Background technology
With the development of information technology, the application also increasingly diversification of distributed network system (DNS) relies on distributed network Network systematic difference equipment is also rich and varied, and the clock of distributed network system (DNS) synchronizes each network section that can make in the system Point completes accurate clock synchronization, and with the Application of control device being supplied in the system where each node, with the improvement of equipment, clock is same The required precision of step is also more and more high.
Currently, distributed network system (DNS) mostly uses greatly IEEE1588, (network measure is synchronous with the precision interval clock of control system Consensus standard) agreement complete system clock synchronize, i.e., by hardware and software by the internal clock of the network equipment (client computer) with The master clock of main controller, which is realized, to be synchronized.The equipment of each terminal node in distributed network system (DNS) is completed using IEEE1588 agreements Clock synchronizes, and precision can reach ms grades.
However, the clock for being completed system using IEEE1588 agreements is synchronized, time signal is transmitted by the system channel It needs to be delayed to terminal node, and the required delay of different terminals node is also different, so, only using this time service mode The requirement of medium accuracy time user can be met, i.e., can only meet the timing tracking accuracy demand of ms ranks, some are same to the time The very stringent distributed network system (DNS) of required precision is walked, required clock synchronization accuracy cannot be reached.
Invention content
In order to solve the above-mentioned problems in the prior art, the present invention provides a kind of distributed network clocks to synchronize system System.The technical problem to be solved in the present invention is achieved through the following technical solutions:
An embodiment of the present invention provides a kind of distributed network clock synchronizing systems, including:
Clock source is used for tranmitting data register synchronizing information;
At least level-one is connected to the clock source step by step from equipment, for receiving the clock synchronization information and complete step by step It is synchronized at clock;Wherein,
The clock source and at least level-one are from the node that equipment is in distributed network clock synchronizing system.
In one embodiment of the invention, described to include from equipment:Interface module, link delay module, time differential mode Block and synchronization module;Wherein, the link delay module is connected to the interface module, and the time difference module is connected to institute Link delay module and shown interface module are stated, the synchronization module is connected to the time difference module and the interface mould Block.
In one embodiment of the invention, described that the clock source or described is connected by the interface module from equipment From equipment.
In one embodiment of the invention, the link delay module is for measuring this grade of node to even higher level of node Link delay, the time difference module are used to calculate described grade node to the even higher level of node according to the link delay Time difference, the synchronization module is used to receive the time difference and the clock synchronization information completes the same of described grade node Step.
In one embodiment of the invention, the link delay module is specifically used for:
Delay request message is sent to even higher level of node by this grade of node, and records and stabs at the first time, wherein described the One timestamp is the delay request message sending time point;
The delay request message is received by the even higher level of node, and records the second timestamp, wherein described second Timestamp is the delay request message receiving time point;
The even higher level of node sends delay response message to described grade node, and records between the third of sending time Stamp, wherein the delay response message includes second timestamp;
Described grade node receives the delay response message, obtains second timestamp, and record receiving time 4th timestamp;
The even higher level of node sends delay response to described grade node and follows message, wherein delay response follows Message includes the third timestamp;
Described grade node receives the delay response and follows message, obtains the third timestamp;
By formula calculate the even higher level of node to described grade node link delay.
In one embodiment of the invention, the link delay meets:
Wherein, link_delay is link delay of the even higher level of node from equipment to described grade node from equipment, T1 stabs for the first time, and t2 is second timestamp, and t3 is the third timestamp, and t4 is the 4th timestamp.
In one embodiment of the invention, the time difference module is specifically used for:
Sync message is sent to described grade node by the even higher level of node, and records the 5th timestamp;Wherein, institute State the sending time point that the 5th timestamp is the sync message;
Message is followed to described grade node transmission by the even higher level of node, wherein described follow message comprising described 5th timestamp;
The sync message is received by described grade node, and records the 6th timestamp;Wherein, the 6th timestamp For the sync message receiving time point;
By following message described in described grade node reception;
The even higher level of node is calculated to described grade node according to the 5th timestamp and the 6th timestamp Time difference.
In one embodiment of the invention, the time difference meets:
D=link_delay+t6-t5
Wherein, link_delay is link delay of the even higher level of node to described grade node, and D is the upper level Node is to the time difference of described grade node, and t5 is the 5th timestamp, and t6 is the 6th timestamp.
In one embodiment of the invention, the clock of the distributed network clock synchronizing system synchronizes as periodically fortune Row.
Compared with prior art, beneficial effects of the present invention:
1) clock system provided by the invention provides more structurally sound Time Synchronizing so that the system time Synchronization accuracy reaches nanosecond rank, can meet some demands to the very stringent distributed network of clock synchronization requirement;
2) clock system provided by the invention makes distributed network have stronger robustness, when the clock in network When source or other node devices occur abnormal, which can adaptively adjust network structure within a very short time, reselect Suitable clock source simultaneously completes clock synchronous task.
Description of the drawings
Fig. 1 is a kind of structural schematic diagram of distributed network clock synchronizing system provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the distributed network clock synchronizing system provided in an embodiment of the present invention from equipment;
Fig. 3 is a kind of Time delay measurement principle signal of distributed network clock synchronizing system provided in an embodiment of the present invention Figure;
Fig. 4 is a kind of time difference principle schematic of distributed network clock synchronizing system provided in an embodiment of the present invention.
Specific implementation mode
Further detailed description is done to the present invention with reference to specific embodiment, but embodiments of the present invention are not limited to This.
Embodiment one
Fig. 1 and Fig. 2 are referred to, Fig. 1 is a kind of knot of distributed network clock synchronizing system provided in an embodiment of the present invention Structure schematic diagram;Fig. 2 is a kind of structural schematic diagram of the distributed network clock synchronizing system provided in an embodiment of the present invention from equipment. A kind of distributed network clock synchronizing system, including:
Clock source is used for tranmitting data register synchronizing information;
At least level-one is connected to the clock source step by step from equipment, for receiving the clock synchronization information and complete step by step It is synchronized at clock;Wherein,
The clock source and at least level-one are from the node that equipment is in distributed network clock synchronizing system.
Preferably, described to include from equipment:Interface module, link delay module, time difference module and synchronization module;Its In, the link delay module is connected to the interface module, the time difference module be connected to the link delay module with And shown interface module, the synchronization module are connected to the time difference module and the interface module.
Preferably, described that the clock source or described from equipment is connected by the interface module from equipment.
Preferably, the link delay module is for measuring this grade of node to the link delay of even higher level of node, when described Between difference module be used to according to the link delay calculate described grade node to the time difference of the even higher level of node, the synchronization Module is used to receive the time difference and the clock synchronization information completes the synchronous of described grade node.
Preferably, the link delay module is specifically used for:
Delay request message is sent to even higher level of node by this grade of node, and records and stabs at the first time, wherein described the One timestamp is the delay request message sending time point;
The delay request message is received by the even higher level of node, and records the second timestamp, wherein described second Timestamp is the delay request message receiving time point;
The even higher level of node sends delay response message to described grade node, and records between the third of sending time Stamp, wherein the delay response message includes second timestamp;
Described grade node receives the delay response message, obtains second timestamp, and record receiving time 4th timestamp;
The even higher level of node sends delay response to described grade node and follows message, wherein delay response follows Message includes the third timestamp;
Described grade node receives the delay response and follows message, obtains the third timestamp;
By formula calculate the even higher level of node to described grade node link delay.
Preferably, the link delay meets:
Wherein, link_delay is the even higher level of node from equipment It is stabbed for the first time to described grade node from the link delay of equipment, t1, t2 is second timestamp, and t3 is described Third timestamp, t4 are the 4th timestamp.
Preferably, the time difference module is specifically used for:
Sync message is sent to described grade node by the even higher level of node, and records the 5th timestamp;Wherein, institute State the sending time point that the 5th timestamp is the sync message;
Message is followed to described grade node transmission by the even higher level of node, wherein described follow message comprising described 5th timestamp;
The sync message is received by described grade node, and records the 6th timestamp;Wherein, the 6th timestamp For the sync message receiving time point;
By following message described in described grade node reception;
The even higher level of node is calculated to described grade node according to the 5th timestamp and the 6th timestamp Time difference.
Preferably, the time difference meets:
Wherein, link_delay is chain of the even higher level of node to described grade node to D=link_delay+t6-t5 Road is delayed, and D is time difference of the even higher level of node to described grade node, and t5 is the 5th timestamp, and t6 is the 6th timestamp.
Preferably, it is cycling service that the clock of the distributed network clock synchronizing system, which synchronizes,.
In the present embodiment, super master clock is determined by clock algorithm algorithm, and measures link delay and time difference, and The synchronised clock of the node is precisely corrected by link delay and time difference on the basis of clock synchronizes, the system made Clock synchronization accuracy higher.
Embodiment two
Continuing with referring to Fig. 1 and Fig. 2, Fig. 1 is a kind of distributed network clock synchronizing system provided in an embodiment of the present invention Structural schematic diagram;Fig. 2 is that a kind of distributed network clock synchronizing system provided in an embodiment of the present invention shows from the structure of equipment It is intended to.The present embodiment on the basis of the above embodiments, is further described in detail the clock system.Distributed network Network be by be distributed in different location and with multiple terminals node interconnection made of, have higher reliability, meanwhile, network It is easy to expand.A kind of distributed network clock synchronizing system, as shown in Figure 1, N is the natural number more than or equal to 1, the distributed network Network clock system includes clock source and at least level-one from equipment, wherein clock source is used for tranmitting data register synchronizing information;Distribution Slave equipment in formula network is connected to the clock source step by step, for receiving the clock synchronization information step by step and to complete clock same Step, and the clock source and at least level-one are from the node that equipment is in distributed network clock synchronizing system.
Preferably, as shown in Fig. 2, the slave equipment of the system includes interface module, link delay module, time difference module And synchronization module;Wherein, the link delay module is connected to the interface module, and the time difference module is connected to described Link delay module, the synchronization module are connected to the time difference module and the interface module.
Preferably, within the system, clock source and connected between equipment by interface module, from equipment with from equipment it Between connected also by interface module;The system in Clock Synchronization Procedure, between equipment and clock source and from equipment with from Association message, and the message received from equipment where interface module are received and dispatched by interface module between equipment, pass through interface mould Block is sent to each module out of equipment, meanwhile, each module sends message by interface module.
Preferably, link delay module is for measuring this grade of node to the link delay of even higher level of node, time difference module For calculating this grade of node to the time difference of even higher level of node according to link delay, synchronization module is for receiving time difference and clock The clock that synchronizing information completes this grade of node synchronizes.
Preferably, in the system clock synchronizing process, link delay module is specifically used for:Pass through this grade of node upward one Grade node sends delay request message, and records and stab at the first time, wherein stamp is delay request message sending time at the first time Point;Delay request message is received by even higher level of node, and records the second timestamp, wherein the second timestamp is that delay is asked Message receiving time point;Even higher level of node sends delay response message to this grade of node, and records and stab between the third of sending time, Wherein, delay response message includes the second timestamp;This grade of node receives delay response message, obtains the second timestamp, and remember Record the 4th timestamp of receiving time;Even higher level of node sends delay response to this grade of node and follows message, wherein delay response It includes third timestamp to follow message;This grade of node receives delay response and follows message, obtains third timestamp;Pass through formula Even higher level of node is calculated to the link delay of this grade of node, calculation formula is:
Wherein, link_delay is the even higher level of node from equipment to described This grade of node is from the link delay of equipment, and t1 is first time stamp, and t2 is second timestamp, when t3 is the third Between stab, t4 be the 4th timestamp.
Preferably, the time difference module is specifically used for:It is sent together to described grade node by the even higher level of node Message is walked, and records the 5th timestamp;Wherein, the 5th timestamp is the sending time point of the sync message;Pass through institute It states even higher level of node and follows message to described grade node transmission, wherein described follow message to include the 5th timestamp;It is logical It crosses described grade node and receives the sync message, and record the 6th timestamp;Wherein, the 6th timestamp is the synchronization Message receiving time point;By following message described in described grade node reception;According to the 5th timestamp and the described 6th Timestamp calculates the even higher level of node to the time difference of described grade node.The calculation formula of time difference is:
D=link_delay+t6-t5, wherein link_delay is chain of the even higher level of node to described grade node Road is delayed, and D is time difference of the even higher level of node to described grade node, and t5 is the 5th timestamp, and t6 is the 6th timestamp.
Preferably, the clock selecting algorithm of the distributed network clock synchronizing system is periodically to calculate, i.e., every one Set time carries out operation clock selecting algorithm, and according to clock selecting algorithm picks clock source and from equipment, and determines clock Synchronous path, meanwhile, it is also cycling service that the clock of the system, which synchronizes, i.e., every a set time, this is that can carry out once Clock synchronizes, it is ensured that the clock accuracy of the system keeps higher state.
Then the embodiment of the present invention realizes that clock is same by measuring link delay and calculating the time difference according to link delay Step so that the clock synchronization accuracy of distributed network clock synchronizing system reaches nanosecond rank, and it is relatively strong to make the system have Stability, i.e., when the equipment in distributed network occurs abnormal, which can be adaptive within a very short time Network structure is adjusted, suitable master clock is reselected and completes clock synchronization.
Embodiment three
Continuing with referring to Fig. 3 and Fig. 4, Fig. 3 is a kind of distributed network clock synchronizing system provided in an embodiment of the present invention Time delay measurement principle schematic;Fig. 4 is a kind of time of distributed network clock synchronizing system provided in an embodiment of the present invention Poor principle schematic.The present embodiment on the basis of the above embodiments carries out the Time Perception module and its clock synchronization system Detailed description.
Distributed network is by being distributed in different location and having made of the Node station interconnection of multiple terminals.It is any in net Point be at least connected with two lines road, when any one line failure, communication can turn through other links complete, with compared with High reliability, meanwhile, network is easy to expand.
Preferably, whole nodes in distributed network constitute a clock system, all nodes in domain point It Bao Kuo clock source, bridge and end station, wherein the quantity of clock source is one, and the quantity of end station is at least one, and the quantity of bridge is It is at least one.Each node in distributed network is a Time Perception module, i.e., clock source, bridge and end station are all the time Sensing module.
Preferably, Time Perception module includes:Synchronous station unit (Site sync), first port (port sync 1), second port (port sync 2), data relay unit (Md), master clock unit (Clock Master) and from clock list First (Clock Slave), wherein synchronous station unit is according to clock selecting algorithm picks as a result, to determine that the time is felt Know that module for master clock or from clock, to determine data flow, and calls relevant functional unit;First port is used for institute The temporal information filling message that synchronous station unit is sent is stated, and sends out the message;Second port is for receiving in data Turn the message and analytic message of unit transmission, and the temporal information that message includes is sent to the synchronous station unit;Data Relay unit is connect with external other times sensing module, obtains the timestamp information in message and message, and complete message Forwarding;Master clock unit is connected with clock source, when the Time Perception module is master clock, for providing standard time letter Breath, and the standard time information is sent to the synchronous station unit;From clock unit, send and receive temporal information to The synchronous station unit, and link delay is calculated by temporal information, it is calculated and the upper level time according to the link delay The time difference of sensing module, and local clock is corrected by the time difference.
Preferably, clock selecting algorithm is sent out between each node by the distributed network where the Time Perception module Send Announce messages, wherein each node receives and processes the message information of other nodes, and is carried out by Announce messages Interaction, more each clock information, and select the clock synchronous path of master clock and distributed network, wherein section where master clock Point is host node, the node being connected with host node be from node, and determination host node in distributed network other nodes it is same Step diameter.
Preferably, when the Time Perception module is master clock by clock selecting algorithms selection, then the Time Perception mould Node where block is host node, other coupled nodes are from node, and synchronous station unit is according to clock selecting algorithm Call master clock unit, first port and data relay unit, wherein master clock unit is connected with clock source, provides the mark time Temporal information is sent to synchronous station unit by information, master clock unit, and temporal information is sent to first by synchronous station unit Port, first port obtains the first message information after carrying out message filling to temporal information, and the first message information is sent to Data relay unit.
Preferably, when the Time Perception module is from clock, then node where the Time Perception module is from node, together It walks station unit and data relay unit, second port is called according to clock selecting algorithm and from clock unit, wherein data relay Unit is sent to second port by the second message information, and second port parses the second message information and obtains temporal information, and will Temporal information is sent to synchronous station unit, and temporal information is sent to from clock unit by synchronous station unit, from clock unit The temporal information of acquisition and the time difference of local clock are calculated, and corrects local clock.When from node, there is also next stage for this When node, synchronous station unit also calls first port, and first end is sent to by the temporal information after synchronizing website high-ranking officers just Mouthful, and the temporal information after correction is carried out by message filling by first port and obtains the first message information, it is then sent to number It is sent to next stage node according to relay unit, and by data relay unit.
Preferably, clock synchronization will be completed by synchronizing the connected Time Perception module of master-slave relationship there are clock when two When, prime minister needs to measure link delay, as shown in figure 3, measurement link delay includes:
By distributed network node, upstream connected node sends delay request message, and records and stab at the first time, In, stamp is delay request message sending time point at the first time;By upstream be connected clock node receive delay request message, and Record the second timestamp, wherein the second timestamp is delay request message receiving time point;Upstream is connected clock node to this section Point sends delay response message, and records and stab between the third of sending time, wherein delay response message includes the second timestamp; This node receives delay response message, obtains the second timestamp, and record the 4th timestamp of receiving time;Upstream is connected clock Node sends delay response to this node and follows message, wherein it includes third timestamp that delay response, which follows message,;This node It receives delay response and follows message, obtain third timestamp;Finally, link delay is calculated by formula, calculates link delay Formula is:
Wherein, link_delay is link delay, and t1 is to stab at the first time, and t2 is the second timestamp, and t3 is the third time Stamp, t4 are the 4th timestamp.
Preferably, as shown in figure 4, time of measuring difference includes:Sync message is sent to this node by upstream connected node, And record the 5th timestamp;Wherein, the 5th timestamp is the sending time point of sync message;By upstream connected node to this section Point sends and follows message, wherein it includes the 5th timestamp to follow message;When receiving sync message by this node, and recording the 6th Between stab;Wherein, the 6th timestamp is sync message receiving time point;Message is followed by the reception of this node;According to the 5th time Stamp and the 6th timestamp calculate the time difference of upstream connected node and this node, and the formula for calculating the time difference is:
D=link_delay+t6-t5
Wherein, link_delay is link delay, and D is the time difference, and t5 is the 5th timestamp, and t6 is the 6th timestamp.
Preferably, after this node completion clock synchronizes, similarly, measurement link is sequentially completed to the next stage equipment being connected Delay and time difference, deadline synchronize, and wherein link delay prolongs for the link of this node to its next stage equipment connected When, and it is synchronous with this nodal clock.And so on, the clock until completing distributed network synchronizes.
Preferably, delay_Req messages, delay_Resp messages, Sync messages are event message;Pdelay_Resp_ Follow_Up messages, Follow_Up messages are general message, wherein event message needs record when sending and receiving Accurate timestamp, general message do not have to logging timestamp.
Preferably, from clock after calculating the time difference with master clock, by clock source interface function, clock tune is called Function is saved, the time difference between master clock is corrected, it is synchronous with the clock of master clock to complete.
Preferably, clock selecting algorithm is cycling service, and distribution is that network clocking synchronization is also cycling service, In, the clock selecting algorithm time cycle synchronous with clock is obtained by Signaling messages (signaling message), Signaling Message configures interface setting by the Signal of equipment.
In the present embodiment, when further calculating the time difference by measuring the link delay between associated devices, and passing through Between difference correction synchronised clock, step by step complete distributed network clock synchronize, distributed network can be made to reach using which The other clock synchronization accuracy of nanosecond, and the stability that the distributed network clock synchronizes is stronger, can more meet more equipment Demand.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that The specific implementation of the present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to the present invention's Protection domain.

Claims (9)

1. a kind of distributed network clock synchronizing system, which is characterized in that including:
Clock source is used for tranmitting data register synchronizing information;
At least level-one is connected to the clock source step by step from equipment, for receiving the clock synchronization information step by step and when completing Clock synchronizes;Wherein,
The clock source and at least level-one are from the node that equipment is in distributed network clock synchronizing system.
2. clock system according to claim 1, which is characterized in that described to include from equipment:Interface module, link Time delay module, time difference module and synchronization module;Wherein, the link delay module is connected to the interface module, described Time difference module is connected to the link delay module and shown interface module, and the synchronization module is connected to the time difference Module and the interface module.
3. clock system according to claim 2, which is characterized in that described to be connected from equipment by the interface module Connect the clock source or described from equipment.
4. clock system according to claim 2, which is characterized in that the link delay module is for measuring this grade Node is to the link delay of even higher level of node, and the time difference module according to the link delay for calculating described grade node To the time difference of the even higher level of node, the synchronization module is completed for receiving the time difference and the clock synchronization information The synchronization of described grade node.
5. clock system according to claim 4, which is characterized in that the link delay module is specifically used for:
Delay request message is sent to even higher level of node by this grade of node, and records and stabs at the first time, wherein when described first Between stamp be the delay request message sending time point;
The delay request message is received by the even higher level of node, and records the second timestamp, wherein second time Stamp is the delay request message receiving time point;
The even higher level of node sends delay response message to described grade node, and records and stab between the third of sending time, In, the delay response message includes second timestamp;
Described grade node receives the delay response message, obtains second timestamp, and record the 4th of receiving time Timestamp;
The even higher level of node sends delay response to described grade node and follows message, wherein delay response follows message It include the third timestamp;
Described grade node receives the delay response and follows message, obtains the third timestamp;
By formula calculate the even higher level of node to described grade node link delay.
6. clock system according to claim 5, which is characterized in that the link delay meets:
Wherein, link_delay is link delay of the even higher level of node from equipment to described grade node from equipment, and t1 is The first time stamp, t2 are second timestamp, and t3 is the third timestamp, and t4 is the 4th timestamp.
7. clock system according to claim 4, which is characterized in that the time difference module is specifically used for:
Sync message is sent to described grade node by the even higher level of node, and records the 5th timestamp;Wherein, described Five timestamps are the sending time point of the sync message;
Message is followed to described grade node transmission by the even higher level of node, wherein described follow message to include the described 5th Timestamp;
The sync message is received by described grade node, and records the 6th timestamp;Wherein, the 6th timestamp is institute State sync message receiving time point;
By following message described in described grade node reception;
According to the 5th timestamp and the 6th timestamp calculate the even higher level of node to described grade node time Difference.
8. synchronization system according to claim 7, which is characterized in that the time difference meets:
D=link_delay+t6-t5
Wherein, link_delay is link delay of the even higher level of node to described grade node, and D is the even higher level of node To the time difference of described grade node, t5 is the 5th timestamp, and t6 is the 6th timestamp.
9. synchronization system according to claim 1, which is characterized in that the clock of the distributed network clock synchronizing system Synchronous is cycling service.
CN201810439743.7A 2018-05-09 2018-05-09 A kind of distributed network clock synchronizing system Pending CN108599888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810439743.7A CN108599888A (en) 2018-05-09 2018-05-09 A kind of distributed network clock synchronizing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810439743.7A CN108599888A (en) 2018-05-09 2018-05-09 A kind of distributed network clock synchronizing system

Publications (1)

Publication Number Publication Date
CN108599888A true CN108599888A (en) 2018-09-28

Family

ID=63636184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810439743.7A Pending CN108599888A (en) 2018-05-09 2018-05-09 A kind of distributed network clock synchronizing system

Country Status (1)

Country Link
CN (1) CN108599888A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109451521A (en) * 2018-12-27 2019-03-08 广东超讯通信技术股份有限公司 A kind of GPS synchronous method of base station intensive distributed networking
CN109921871A (en) * 2018-12-20 2019-06-21 清华大学 A kind of method for synchronizing time, device and network system
CN111107622A (en) * 2019-10-25 2020-05-05 湖南国科防务电子科技有限公司 Time synchronization system and method of self-adaptive networking based on ultra-wideband wireless communication
CN111638749A (en) * 2020-06-02 2020-09-08 北京润科通用技术有限公司 Simulation system synchronization method, simulation device and system
CN112152744A (en) * 2019-06-28 2020-12-29 比亚迪股份有限公司 Clock synchronization method and device, FPGA chip and optical fiber communication network
CN113055114A (en) * 2021-03-08 2021-06-29 东北大学 Oil transportation pipe network time synchronization method based on dynamic compensation and hierarchical transmission
CN113783650A (en) * 2021-08-25 2021-12-10 浙江万胜智能科技股份有限公司 Method for realizing accurate time synchronization of intelligent electric meter and intelligent terminal based on characteristic current
CN114039692A (en) * 2021-11-04 2022-02-11 西安数道航空技术有限公司 Hard clock synchronization method
CN114362866A (en) * 2021-11-25 2022-04-15 北京卓越信通电子股份有限公司 Hot standby system of time synchronization master clock of TSN network
WO2023029669A1 (en) * 2021-09-02 2023-03-09 华为技术有限公司 Time synchronization monitoring method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102176317A (en) * 2011-01-14 2011-09-07 东软集团股份有限公司 Method and system for realizing multi-screen playing frame level synchronization of passenger guidance system
CN102468898A (en) * 2010-11-19 2012-05-23 中兴通讯股份有限公司 Method, equipment and system for achieving time synchronization in time division multiplexing network
CN103442312A (en) * 2013-09-06 2013-12-11 国家电网公司 Intelligent power distribution network time synchronization system and method based on PTN+EPON communication system
CN203423769U (en) * 2013-09-06 2014-02-05 国家电网公司 Time synchronization system for intelligent power distribution network based on PTN+EPON communication system
CN104113386A (en) * 2014-07-09 2014-10-22 北京东土科技股份有限公司 Method and device for monitoring Ethernet clock synchronization
CN106130681A (en) * 2016-07-25 2016-11-16 广州市国飞信息科技有限公司 High-accuracy clock synchronization method, module, equipment and system for time dissemination system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102468898A (en) * 2010-11-19 2012-05-23 中兴通讯股份有限公司 Method, equipment and system for achieving time synchronization in time division multiplexing network
CN102176317A (en) * 2011-01-14 2011-09-07 东软集团股份有限公司 Method and system for realizing multi-screen playing frame level synchronization of passenger guidance system
CN103442312A (en) * 2013-09-06 2013-12-11 国家电网公司 Intelligent power distribution network time synchronization system and method based on PTN+EPON communication system
CN203423769U (en) * 2013-09-06 2014-02-05 国家电网公司 Time synchronization system for intelligent power distribution network based on PTN+EPON communication system
CN104113386A (en) * 2014-07-09 2014-10-22 北京东土科技股份有限公司 Method and device for monitoring Ethernet clock synchronization
CN106130681A (en) * 2016-07-25 2016-11-16 广州市国飞信息科技有限公司 High-accuracy clock synchronization method, module, equipment and system for time dissemination system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109921871A (en) * 2018-12-20 2019-06-21 清华大学 A kind of method for synchronizing time, device and network system
CN109451521A (en) * 2018-12-27 2019-03-08 广东超讯通信技术股份有限公司 A kind of GPS synchronous method of base station intensive distributed networking
CN109451521B (en) * 2018-12-27 2022-06-03 超讯通信股份有限公司 GPS synchronization method for base station intensive distributed networking
CN112152744A (en) * 2019-06-28 2020-12-29 比亚迪股份有限公司 Clock synchronization method and device, FPGA chip and optical fiber communication network
CN111107622A (en) * 2019-10-25 2020-05-05 湖南国科防务电子科技有限公司 Time synchronization system and method of self-adaptive networking based on ultra-wideband wireless communication
CN111107622B (en) * 2019-10-25 2023-08-11 长沙北斗产业安全技术研究院股份有限公司 Time synchronization system and method of self-adaptive networking based on ultra-wideband wireless communication
CN111638749A (en) * 2020-06-02 2020-09-08 北京润科通用技术有限公司 Simulation system synchronization method, simulation device and system
CN113055114B (en) * 2021-03-08 2022-06-03 东北大学 Oil transportation pipe network time synchronization method based on dynamic compensation and hierarchical transmission
CN113055114A (en) * 2021-03-08 2021-06-29 东北大学 Oil transportation pipe network time synchronization method based on dynamic compensation and hierarchical transmission
CN113783650A (en) * 2021-08-25 2021-12-10 浙江万胜智能科技股份有限公司 Method for realizing accurate time synchronization of intelligent electric meter and intelligent terminal based on characteristic current
WO2023029669A1 (en) * 2021-09-02 2023-03-09 华为技术有限公司 Time synchronization monitoring method
CN114039692A (en) * 2021-11-04 2022-02-11 西安数道航空技术有限公司 Hard clock synchronization method
CN114039692B (en) * 2021-11-04 2022-09-30 西安数道航空技术有限公司 Hard clock synchronization method
CN114362866A (en) * 2021-11-25 2022-04-15 北京卓越信通电子股份有限公司 Hot standby system of time synchronization master clock of TSN network

Similar Documents

Publication Publication Date Title
CN108599888A (en) A kind of distributed network clock synchronizing system
CN102394715B (en) Clock synchronizing method and device
CN108650050A (en) A kind of distributed network clock synchronous method
CN107294634B (en) The centralized approach of 1588 time synchronizations is realized in a kind of distributed system
CN102013931B (en) Time synchronization method and system, salve timing device and main timing device
CN101425865B (en) Method and system for synchronizing clock of transmission network as well as subordinate clock side entity
KR101175882B1 (en) A method for distributing a common time reference within a distributed architecture
CN103929293B (en) Asymmetrically-delayed time synchronization method and system
CN101882990B (en) Method for selecting master clock based on PTP (Picture Transfer Protocol) and link quality, slave clock and system
CN102244603B (en) Method, equipment and system for transmitting message bearing time
CN106027193B (en) For the clock synchronizing method of time calibration in network system, module, equipment and system
CN106357362B (en) A kind of method for synchronizing time, device and PTP system
CN105743598B (en) A kind of Industrial Ethernet clock synchronizing method and system
CN102082697A (en) Communication path asymmetric time delay measuring method, device and system
CN103916950A (en) Time synchronization method and system
CN102104475A (en) IEEE 1588-based synchronization system and synchronization method thereof
CN108683472A (en) A kind of clock synchronizing method based on Time delay measurement
CN104365043A (en) Ring based precise time data network clock phase adjustments
CN103168440B (en) Time path compensation method and device
CN102983927B (en) Time compensation method for master-slave clock timing based on IEEE 1588 protocol
CN103259640B (en) A kind of method and apparatus of lock in time
CN102299788A (en) Method and device for controlling automatic transmission of IEEE1558 (Institute of Electrical and Electronic Engineers 1558) protocol message
CN108322280A (en) A kind of distributed computer network (DCN) clock synchronizing relay compensation method
CN103248445A (en) Clock synchronization method and device
CN106899370A (en) A kind of clock chain circuit changing method, device and base station

Legal Events

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

Application publication date: 20180928

RJ01 Rejection of invention patent application after publication