CN107465476A - The synchronous method and device of clock - Google Patents
The synchronous method and device of clock Download PDFInfo
- Publication number
- CN107465476A CN107465476A CN201610399229.6A CN201610399229A CN107465476A CN 107465476 A CN107465476 A CN 107465476A CN 201610399229 A CN201610399229 A CN 201610399229A CN 107465476 A CN107465476 A CN 107465476A
- Authority
- CN
- China
- Prior art keywords
- clock
- node
- information
- group system
- topology
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0644—External master-clock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention provides a kind of synchronous method and device of clock, wherein, this method includes:The first node of group system obtains external clock, wherein, the group system includes one or more nodes;The group system establishes the internal clocking topology using the first node as root node according to the annexation between the node;The group system enters row clock synchronization using the external clock according to the internal clocking topology to one or more of nodes.By the present invention, solve the problems, such as that overall clock synchronization can not be carried out to each node of group system in correlation technique.
Description
Technical field
The present invention relates to clock synchronous communication field, in particular to a kind of synchronous method and device of clock.
Background technology
In correlation technique, important means that synchronous ethernet technology is recovered as network is big in communication network
Scale uses.In the single router device newly put into, synchronous ethernet technology is mostly supported.When its design principle is a set of
The cooperation of clock hardware is a set of synchronously to select source control software.Group system is that multiple router devices with independent clock hardware are put
Used to a device cluster together, is externally served as.In correlation technique, each router device is all that independent to enter row clock same
Step.In order to cost-effective, it is found by the applicant that on the premise of the design of cluster routers clock hardware is not changed, machine frame can be passed through
Between outer line mutually transmit clock.Now, how to be controlled by software and synchronous ethernet is deployed on cluster device, how protected
It is synchronously normal to demonstrate,prove each machine frame clock of cluster device, and strives safeguarding simply, at present it is not yet found that the solution of effect.
The content of the invention
The embodiments of the invention provide a kind of synchronous method and device of clock, so that at least solve can not be right in correlation technique
Each node of group system carries out the problem of overall clock synchronization.
According to one embodiment of present invention, there is provided a kind of synchronous method of clock, including:The first segment of group system
Point obtains external clock, wherein, the group system includes one or more nodes;The group system according to the node it
Between annexation to establish internal clocking using the first node as root node topological;The group system uses described outer
Portion's clock enters row clock synchronization according to the internal clocking topology to one or more of nodes.
Alternatively, the group system is established internal clocking topology according to the annexation between the node and included:Institute
The warning information that group system gathers link information and each node between the positional information of each node, each node is stated,
Wherein, the link information includes:Link connection or link disconnect, and the warning information is used to indicate that corresponding node can not be defeated
Go out clock;The group system uses the positional information, the link information and the warning information, according to each node
The rule minimum to the line of root node process establishes the internal clocking topology.
Alternatively, the group system uses the external clock according to the internal clocking topology to one or more
Individual node enters row clock synchronous package and included:The first node synchronizes according to the external clock to the clock information of itself,
Wherein, the clock information includes clock time, clock quality;The first node is according to internal clocking topology by described in
The clock information of first node passes to the downstream node of the first node.
Alternatively, the first node by clock information according to the internal clocking topology measurements to downstream node it
Afterwards, in addition to:Intermediate node receives the clock information of one or more source nodes, wherein, the source node is the middle node
Upstream node of the point in the internal clocking topology;The intermediate node saves according to preset rules in one or more of sources
The source node of highest priority is selected in point as specified source node;The intermediate node according to the specified source node clock
Information synchronizes to the clock information of the intermediate node, and according to the internal clocking topology by the intermediate node when
Clock information transmission gives the downstream node of the intermediate node.
Alternatively, the group system uses the external clock according to the internal clocking topology to one or more
Individual node enters row clock synchronous package and included:In the case where upstream node is not present according to internal clocking topology in intermediate node,
The intermediate node is kept to the clock information of itself, wherein, the clock information includes clock time, clock quality;
The intermediate node abandons passing to the clock information downstream node of the intermediate node.
Alternatively, the first node of group system obtains external clock and included:One or more the of the group system
One node receives a corresponding external clock respectively;Judge external clock corresponding to each first node with the presence or absence of announcement respectively
Alert information, and one or more external clocks of the warning information are there will be no as the first external clock set, wherein, institute
Warning information is stated to be used to indicate that the external clock is unavailable;Clock grade is selected in the first external clock set most
High external clock as the second external clock set, wherein, the clock grade be used for characterize corresponding to external clock matter
Amount;Pre-set priority highest external clock is selected in the second external clock set.
According to another embodiment of the invention, there is provided a kind of synchronous device of clock, including:Receiving module, it is used for
The external clock that the first node of group system receives is obtained, wherein, the group system includes one or more nodes;Establish
Module, the internal clocking for being established according to the annexation between the node using the first node as root node are opened up
Flutter;Synchronization module, for being carried out using the external clock according to the internal clocking topology to one or more of nodes
Clock is synchronous.
Alternatively, establishing module includes:Collecting unit, for gathering between the positional information of each node, each node
Link information and each node warning information, wherein, the link information includes:Link connection or link disconnect, described
Warning information is used to indicate that corresponding node can not export clock;Unit is established, for using the positional information, the link
Information and the warning information, the minimum rule of the line that passes through according to each node to the root node establish the inside
Clock topology.
Alternatively, the synchronization module uses the external clock according to the internal clocking topology to one or more
Individual node enters row clock synchronous package and included:The first node synchronizes according to the external clock to the clock information of itself,
Wherein, the clock information includes clock time, clock quality;The first node is according to internal clocking topology by described in
The clock information of first node passes to the downstream node of the first node.
Alternatively, the first node by clock information according to the internal clocking topology measurements to downstream node it
Afterwards, in addition to:Intermediate node receives the clock information of one or more source nodes, wherein, the source node is the middle node
Upstream node of the point in the internal clocking topology;The intermediate node saves according to preset rules in one or more of sources
The source node of highest priority is selected in point as specified source node;The intermediate node according to the specified source node clock
Information synchronizes to the clock information of the intermediate node, and according to the internal clocking topology by the intermediate node when
Clock information transmission gives the downstream node of the intermediate node.
Alternatively, in the case where upstream node is not present according to internal clocking topology in intermediate node, the centre
Node is kept to the clock information of itself, wherein, the clock information includes clock time, clock quality;The centre
Node abandons passing to the clock information downstream node of the intermediate node.
According to still another embodiment of the invention, a kind of storage medium is additionally provided.The storage medium is arranged to storage and used
In the program code for performing following steps:
The first node for receiving group system obtains external clock, wherein, the group system includes one or more save
Point;
The internal clocking topology using the first node as root node is established according to the annexation between the node;
According to the internal clocking topology one or more of nodes are entered with row clock synchronization using the external clock.
By the present invention, the first node of group system obtains external clock, wherein, the group system include one or
Multiple nodes, then the group system established according to the annexation between the node and root section be used as using the first node
The internal clocking topology of point, the last group system is using the external clock according to the internal clocking topology to described one
Individual or multiple nodes enter row clock synchronization, due to the group system including multiple nodes is regarded as an entirety, are abstracted into one
Clockwork, and the synchronous topology of internal clocking is established, therefore can realize and whole group system is carried out according to external clock
Clock is synchronous, can solve the problems, such as that overall clock synchronization can not be carried out to each node of group system in correlation technique, protect
The synchronous stability of group system internal clocking is demonstrate,proved, and O&M is simple and practical.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the synchronous method of clock according to embodiments of the present invention;
Fig. 2 is the structured flowchart of the synchronous device of clock according to embodiments of the present invention;
Fig. 3 is the alternative construction block diagram one of the synchronous device of clock according to embodiments of the present invention;
Fig. 4 is group system clock control cell schematic diagram according to embodiments of the present invention;
Fig. 5 is group system clock topology schematic diagram according to embodiments of the present invention;
Fig. 6 is that group system internal clocking topology according to embodiments of the present invention switches schematic diagram.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that do not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.
Embodiment 1
A kind of synchronous method of clock is provided in the present embodiment, and Fig. 1 is that clock according to embodiments of the present invention is synchronous
Method flow chart, as shown in figure 1, the flow comprises the following steps:
Step S102, the first node of group system obtain external clock, wherein, group system includes one or more save
Point;
Step S104, group system establish the inside using first node as root node according to the annexation between node
Clock topology;
Step S106, group system enter row clock according to internal clocking topology using external clock to one or more nodes
It is synchronous.
By above-mentioned steps, the first node of group system obtains external clock, wherein, group system includes one or more
Individual node, the internal clocking that then annexation between group system foundation node is established using first node as root node are opened up
To flutter, last group system enters row clock synchronization using external clock according to internal clocking topology to one or more nodes, due to
Group system including multiple nodes is regarded as an entirety, is abstracted into a clockwork, and establishes internal clocking synchronization
Topology, therefore can realize and enter row clock synchronization to whole group system according to external clock can solve in correlation technique not
The problem of overall clock synchronization being carried out to each node of group system, it ensure that the synchronous stabilization of group system internal clocking
Property, and O&M is simple and practical.
Alternatively, the executive agent of above-mentioned steps can be controller of group system, group system etc., but be not limited to
This.In the present embodiment, node can be the router device in group system.
Optionally, group system is established internal clocking topology according to the annexation between node and included:
S11, group system gather the link information and each node between the positional information of each node, each node
Warning information, wherein, link information includes:Link connection or link disconnect, warning information be used to indicating corresponding to node without
Method exports clock;
S12, group system use positional information, link information and warning information, are passed through according to each node to root node
The minimum rule of the line crossed establishes internal clocking topology.
Alternatively, it is same using external clock to enter row clock according to internal clocking topology to one or more nodes for group system
Step includes:
S21, first node synchronize according to external clock to the clock information of itself, wherein, when clock information includes
Clock time, clock quality;
S22, first node pass to the clock information of first node according to internal clocking topology in the downstream of first node
Node.
After this, it is synchronous for the clock of each intermediate node in group system if also including follow-up node, can
To be achieved by the steps of.First node by clock information according to internal clocking topology measurements to downstream node after, bag
Include:
S23, intermediate node receive the clock information of one or more source nodes, wherein, source node is including intermediate node
Upstream node in portion's clock topology;
S24, the intermediate node select highest priority according to preset rules in one or more of source nodes
Source node is as specified source node;, can be according to section such as intermediate node K3 and upstream node K2 and upstream node K4 while node
Point numbering is used as the preset rules of selection priority, and node serial number is smaller, and priority is bigger, that is, K2 priority is more than
K4 priority, node K3 selection tracking K2 enter row clock synchronization.
S25, intermediate node synchronizes according to the clock information of specified source node to the clock information of intermediate node, and presses
The clock information of intermediate node is passed to the downstream node of intermediate node according to internal clocking topology.
For a kind of special in the case of, when intermediate node does not have upstream node, group system using external clock according to
Internal clocking topology is entered row clock synchronous package to one or more nodes and included:
S31, in the case where upstream node is not present according to internal clocking topology in intermediate node, the intermediate node
The clock information of itself is kept, wherein, the clock information includes clock time, clock quality;
S32, the intermediate node abandon passing to the clock information downstream node of the intermediate node.
Optionally, in the present embodiment, the first node of group system obtains external clock and included:
S41, one or more first nodes of group system receive a corresponding external clock respectively;
S42, judge that external clock corresponding to each first node whether there is warning information respectively, and there will be no alarm
One or more external clocks of information as the first external clock set, wherein, warning information be used for indicate external clock not
It can use;
S43, clock grade highest external clock is selected in the first external clock set as the second external clock
Set, wherein, clock grade is used for the quality for characterizing corresponding external clock;
S44, pre-set priority highest external clock is selected in the second external clock set.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot
In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing
The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage
In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate
Machine, server, or network equipment etc.) method that performs each embodiment of the present invention.
Embodiment 2
Additionally provide a kind of synchronous device of clock in the present embodiment, the device is used to realizing above-described embodiment and preferably
Embodiment, repeating no more for explanation was carried out.As used below, term " module " can realize predetermined function
The combination of software and/or hardware.Although device described by following examples is preferably realized with software, hardware, or
The realization of the combination of person's software and hardware is also what may and be contemplated.
Fig. 2 is the structured flowchart of the synchronous device of clock according to embodiments of the present invention, as shown in Fig. 2 the device includes:
Receiving module 20, the external clock that the first node for obtaining group system receives, wherein, group system includes
One or more nodes;
Module 22 is established, when establishing the inside using first node as root node for the annexation between foundation node
Clock topology;
Synchronization module 24, it is same for entering row clock to one or more nodes according to internal clocking topology using external clock
Step.
Fig. 3 is the alternative construction block diagram one of the synchronous device of clock according to embodiments of the present invention, as shown in figure 3, the dress
Put in addition to including all modules shown in Fig. 2, establishing module 22 also includes:
Collecting unit 30, for gathering link information and each section between the positional information of each node, each node
The warning information of point, wherein, link information includes:Link connection or link disconnect, and warning information is used to indicate corresponding node
Clock can not be exported;
Unit 32 is established, for using positional information, link information and warning information, according to each node to root node
The rule that the line of process is minimum establishes internal clocking topology.
Optionally, it is same using external clock to enter row clock according to internal clocking topology to one or more nodes for synchronization module
Step includes:
First node synchronizes according to external clock to the clock information of itself, wherein, when clock information includes clock
Between, clock quality;
First node passes to the clock information of first node according to internal clocking topology the downstream node of first node.
When also including the intermediate node in addition to first node, in first node by clock information according to internal clocking
After topology measurements are to downstream node, in addition to:
Intermediate node receives the clock information of one or more source nodes, wherein, source node be intermediate node internally when
Upstream node in clock topology;
The intermediate node selects the source of highest priority to save according to preset rules in one or more of source nodes
Point is as specified source node;
Intermediate node synchronizes according to the clock information of specified source node to the clock information of intermediate node, and according to interior
Portion's clock topology passes to the clock information of intermediate node the downstream node of intermediate node.
For a kind of special in the case of, when intermediate node does not have upstream node, group system using external clock according to
Internal clocking topology is entered row clock synchronous package to one or more nodes and included:
In the case where upstream node is not present according to internal clocking topology in intermediate node, clock of the intermediate node to itself
Information is kept, wherein, clock information includes clock time, clock quality;
The intermediate node abandons passing to the clock information downstream node of the intermediate node.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Cross in the following manner realization, but not limited to this:Above-mentioned module is respectively positioned in same processor;Or above-mentioned modules are with any
The form of combination is located in different processors respectively.
Embodiment 3
The present embodiment is according to an alternative embodiment of the invention, for being explained in detail and illustrating to the present invention:
The present embodiment proposes a kind of clock synchronization realizing method and device suitable for cluster environment.
The method of the present embodiment includes:
Group system externally uses standard synchronisation Ethernet algorithm, and optimal source conduct is selected from multiple outside input clocks
The clock input of system, frame where input clock are defined as input frame.
Input frame set, the mutual outer link information of each frame, each outer frame line clock warning information are collected in group system
And each frame clock chip warning information.
According to the information of collection, using alarm connection line as striping can not transmit clock and chip alarm equipment can not export when
It is root node according to input frame premised on clock, at least clock internal clocking topology is set up for rule by line to root node,
When a plurality of line between adjacent frame be present, an optional no alarm circuit transmits clock.
Clock quality output rule is defined, fault block and clock do not track the machine frame of input frame according to local clock grade
The transmission that degrades is done, the clock quality of other frame reference input frames input outwards transmits.
The implementation method of the present embodiment comprises the following steps:
Step A:External input sources list is configured according to networking and adds the selection of its exterior input clock;
Step B:Outer line list is configured according to line between frame, and collects each frame line clock alarm and each frame clock chip
Alarm;
Step C:System input source and input frame are determined according to standard synchronisation Ethernet algorithm;It is former when without outside input
Input frame keeps constant;
Step D:According to clock topology between link information decision block between input frame and frame, and it is allocated to the clock core of each frame
Piece.
Step E:According to clock topology between frame and frame clock chip warning information, the clock quality that each frame externally exports is configured
Value.
The present embodiment also includes specific examples below, for being retouched in detail to the present invention in conjunction with the accompanying drawings and embodiments
State.
Specific embodiment 1:
Fig. 4 is group system clock control cell schematic diagram according to embodiments of the present invention, as shown in figure 4, whole control
System layout is divided into 4 units in the controller chassis of group system, wherein,
External source selecting unit 40, it is responsible for external input sources selection, external input sources and the outside for receiving user configuration are defeated
Enter source priority 3, while monitor the clock grade 2 and warning information 1 of input source, and according to standard synchronisation Ethernet algorithmic rule
Select optimal system input.External output system input source, input frame and output clock grade.
Clock frame information collection unit 42, for collecting following information:
Frame set { K1, K2 ... Kn };
Outer link information { LINE1-K1K2 ... LINEm-K1K2 }, { LINE1-K1Kn ... LINEm- between the frame of user configuration
K1Kn}、{LINE1-K2Kn…LINEm-K2Kn}…;
Warning information { LINE1-alarm-K1K2 ... LINEm-alarm-K1K2 }, { LINE1-alarm- of line
K1Kn…LINEm-alarm-K1Kn}、{LINE1--alarm K2Kn…LINEm-alarm-K2Kn}…;
Frame warning information ({ K1-alarm, K2-alarm ... Kn-alarm }).
Clock topology computing unit 44, for the data according to 40,42 two unit transportations, calculate the clock core of each frame
The input clock source of piece, externally export each frame clock source and output clock quality information
Clock source and output clock quality dispensing unit 46, it is responsible for the clock hardware of each frame of configuration, the clock of 3 outputs
Source information is sent to corresponding frame and is allocated to hardware, and control hardware is run according to software intent.
Specific embodiment 2:
Fig. 5 is group system clock topology schematic diagram according to embodiments of the present invention, as shown in figure 5, giving base in Fig. 5
In the clock networking schematic diagram of group system.
First, the external clock input of system is configured:Outer 1, outer 2, outer 3.And it is outer 1 to be to assume clock quality grade
Quality1 and better than outer 2, outer 3;Then according to standard synchronisation Ethernet algorithmic rule, it is outer 1 to calculate system input source, input
Frame is K1
Meanwhile collection frame set { K1, K2, K3, K4 };Link information between configuration block:{line1-K1K2、line2-
K1K2 }, { line1-K2K3 }, { line1-K3K4 } and { line1-K1K4 };Warning information { the line1-alarm-K1K2 of line
=without, line2-alarm-K1K2=without, { line1-alarm-K2K3=without } { line1-alarm-K3K4=without } and
{ line1-alarm-K1K4=without };{ K1-alm=is without, K2-alm=without, K3-alm=without, K4-alm for collection frame warning information
=nothing };
Then, calculate K1 input source be outer 1;K2 input source is line1-K1K2 (2 appropriate source line1-K1K2
With line2-K1K2, optional 1);K4 input source is line1-K1K4;K3 input source is line1-K2K3 (2 appropriate sources
Line1-K2K3 and line1-K3K4, optional 1) and external output quality information Quality1.
Each frame finally is given the information configuration of calculating, completes the deployment of hardware clock topology and externally transmission.
Specific embodiment 3:Group system clock switch
Fig. 6 is that group system internal clocking topology according to embodiments of the present invention switches schematic diagram, as shown in fig. 6, in Fig. 6
Give group system clock switch schematic diagram.
It is the clock network figure provided with reference to figure 5 on the left of Fig. 6.Now, because artificial or accident is pulled out inside group system
Line, result in line1-K1K2 and line1-K2K3 is alerted.After clock frame information collection unit detects this change,
Information conveyance gives clock topology computing unit, and unit calculates from new output topology;Calculate K1 input source still be outer 1;K2's
Input source is changed into line2-K1K2;K4 input source is still line1-K1K4;K3 input source be changed into line1-K3K4 and externally
Quality information Quality1 is exported, clock source and exports clock quality dispensing unit this variation configuration to impacted frame.When
Clock topology is changed into right figure, and settles out.And change is not perceived outside group system.
Compared with correlation technique, this patent gives the scheme of the present embodiment according to cluster device itself clock characteristics
A kind of clock synchronization realizing method of group system.This method can be abstracted into group system one clockwork and be connected to outside
Portion's clock network, it is easy to realize that standard agreement docks with outside;Meanwhile can be inputted inside group system according to external clock,
The automatic internal clocking topology that carries out calculates, and ensure that the synchronous stability of group system internal clocking, and O&M is simple and practical.
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can
The program code for performing following steps to be arranged to storage to be used for:
S1, the first node for receiving group system obtain external clock, wherein, group system includes one or more save
Point;
S2, the internal clocking topology using first node as root node is established according to the annexation between node;
S3, group system enter row clock synchronization using external clock according to internal clocking topology to one or more nodes.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or
CD etc. is various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor performs according to the program code stored in storage medium and receives cluster
The first node of system obtains external clock, wherein, group system includes one or more nodes;
Alternatively, in the present embodiment, processor is performed according to node according to the program code stored in storage medium
Between annexation to establish internal clocking using first node as root node topological;
Alternatively, in the present embodiment, processor performs group system according to the program code stored in storage medium
According to internal clocking topology one or more nodes are entered with row clock synchronization using external clock.
Alternatively, the specific example in the present embodiment may be referred to described in above-described embodiment and optional embodiment
Example, the present embodiment will not be repeated here.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored
Performed in the storage device by computing device, and in some cases, can be with different from shown in order execution herein
The step of going out or describing, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or
Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (11)
1. a kind of synchronous method of clock, it is characterised in that including:
The first node of group system obtains external clock, wherein, the group system includes one or more nodes;
The group system establishes the inside using the first node as root node according to the annexation between the node
Clock topology;
The group system is carried out using the external clock according to the internal clocking topology to one or more of nodes
Clock is synchronous.
2. according to the method for claim 1, it is characterised in that the group system is closed according to the connection between the node
System, which establishes internal clocking topology, to be included:
The group system gathers the announcement of the link information and each node between the positional information of each node, each node
Alert information, wherein, the link information includes:Link connection or link disconnect, and the warning information is used to indicate corresponding section
Point can not export clock;
The group system uses the positional information, the link information and the warning information, is arrived according to each node
The rule that the line of the root node process is minimum establishes the internal clocking topology.
3. according to the method for claim 1, it is characterised in that the group system is using the external clock according to described
Internal clocking topology is entered row clock synchronous package to one or more of nodes and included:
The first node synchronizes according to the external clock to the clock information of itself, wherein, the clock information bag
Include clock time, clock quality;
The clock information of the first node is passed to the first segment by the first node according to the internal clocking topology
The downstream node of point.
4. according to the method for claim 3, it is characterised in that in the first node by clock information according to the inside
After clock topology passes to downstream node, methods described also includes:
Intermediate node receives the clock information of one or more source nodes, wherein, the source node is the intermediate node in institute
State the upstream node in internal clocking topology;
The intermediate node selects the source node of highest priority to make according to preset rules in one or more of source nodes
To specify source node;
The intermediate node synchronizes according to the clock information of the specified source node to the clock information of the intermediate node,
And the clock information of the intermediate node is passed to the downstream node of the intermediate node according to the internal clocking topology.
5. according to the method for claim 1, it is characterised in that the group system is using the external clock according to described
Internal clocking topology is entered row clock synchronous package to one or more of nodes and included:
Intermediate node according to the internal clocking topology be not present upstream node in the case of, the intermediate node to itself
Clock information is kept, wherein, the clock information includes clock time, clock quality;
The intermediate node abandons passing to the clock information downstream node of the intermediate node.
6. according to the method for claim 1, it is characterised in that the first node of group system, which obtains external clock, to be included:
One or more first nodes of the group system receive a corresponding external clock respectively;
Judge that external clock corresponding to each first node whether there is warning information respectively, and there will be no the warning information
One or more external clocks as the first external clock set, wherein, the warning information is used for when indicating described outside
Clock is unavailable;
Clock grade highest external clock is selected in the first external clock set as the second external clock set,
Wherein, the clock grade is used for the quality for characterizing corresponding external clock;
Pre-set priority highest external clock is selected in the second external clock set.
A kind of 7. synchronous device of clock, it is characterised in that including:
Receiving module, the external clock that the first node for obtaining group system receives, wherein, the group system includes one
Individual or multiple nodes;
Module is established, for establishing the inside using the first node as root node according to the annexation between the node
Clock topology;
Synchronization module, for being carried out using the external clock according to the internal clocking topology to one or more of nodes
Clock is synchronous.
8. device according to claim 7, it is characterised in that establishing module includes:
Collecting unit, for gathering the announcement of link information and each node between the positional information of each node, each node
Alert information, wherein, the link information includes:Link connection or link disconnect, and the warning information is used to indicate corresponding section
Point can not export clock;
Unit is established, for using the positional information, the link information and the warning information, being arrived according to each node
The rule that the line of the root node process is minimum establishes the internal clocking topology.
9. device according to claim 7, it is characterised in that the synchronization module is using the external clock according to described
Internal clocking topology is entered row clock synchronous package to one or more of nodes and included:
The first node synchronizes according to the external clock to the clock information of itself, wherein, the clock information bag
Include clock time, clock quality;
The clock information of the first node is passed to the first segment by the first node according to the internal clocking topology
The downstream node of point.
10. device according to claim 9, it is characterised in that in the first node by clock information according to described interior
After portion's clock topology passes to downstream node, in addition to:
Intermediate node receives the clock information of one or more source nodes, wherein, the source node is the intermediate node in institute
State the upstream node in internal clocking topology;
The intermediate node selects the source node of highest priority to make according to preset rules in one or more of source nodes
To specify source node;
The intermediate node synchronizes according to the clock information of the specified source node to the clock information of the intermediate node,
And the clock information of the intermediate node is passed to the downstream node of the intermediate node according to the internal clocking topology.
11. device according to claim 7, it is characterised in that the group system is using the external clock according to institute
State internal clocking topology row clock synchronous package is entered to one or more of nodes and include:
Intermediate node according to the internal clocking topology be not present upstream node in the case of, the intermediate node to itself
Clock information is kept, wherein, the clock information includes clock time, clock quality;
The intermediate node abandons passing to the clock information downstream node of the intermediate node.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610399229.6A CN107465476A (en) | 2016-06-06 | 2016-06-06 | The synchronous method and device of clock |
PCT/CN2017/083809 WO2017211159A1 (en) | 2016-06-06 | 2017-05-10 | Clock synchronization method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610399229.6A CN107465476A (en) | 2016-06-06 | 2016-06-06 | The synchronous method and device of clock |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107465476A true CN107465476A (en) | 2017-12-12 |
Family
ID=60544951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610399229.6A Pending CN107465476A (en) | 2016-06-06 | 2016-06-06 | The synchronous method and device of clock |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107465476A (en) |
WO (1) | WO2017211159A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112804652A (en) * | 2021-01-29 | 2021-05-14 | 北京邮电大学 | Clock source cluster cooperation-based time service method, device, equipment and readable medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11392167B2 (en) | 2019-03-11 | 2022-07-19 | Hewlett Packard Enterprise Development Lp | Device clock setting while booting a device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051405B (en) * | 2011-10-14 | 2017-09-15 | 中兴通讯股份有限公司 | The implementation method and device of a kind of clock synchronization hybrid network |
CN102664699A (en) * | 2012-04-12 | 2012-09-12 | 中兴通讯股份有限公司南京分公司 | Method and device for selecting clock sources of microwave network elements |
US20130283174A1 (en) * | 2012-04-23 | 2013-10-24 | Alcatel-Lucent Canada Inc. | Synchronization topology and route analytics integration |
US20130283175A1 (en) * | 2012-04-23 | 2013-10-24 | Alcatel-Lucent Canada Inc. | Synchronization management groups |
US9270607B2 (en) * | 2013-12-09 | 2016-02-23 | Khalifa University Of Science, Technology And Research | Method and devices for packet selection |
CN105099647A (en) * | 2014-05-16 | 2015-11-25 | 中兴通讯股份有限公司 | Synchronous method, controller, synchronous node and synchronous network |
-
2016
- 2016-06-06 CN CN201610399229.6A patent/CN107465476A/en active Pending
-
2017
- 2017-05-10 WO PCT/CN2017/083809 patent/WO2017211159A1/en active Application Filing
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112804652A (en) * | 2021-01-29 | 2021-05-14 | 北京邮电大学 | Clock source cluster cooperation-based time service method, device, equipment and readable medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017211159A1 (en) | 2017-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107735986B (en) | The system and method for assessing the traffic flow in software defined network | |
CN107851109B (en) | The configuration of software defined network | |
CN100440665C (en) | Method and apparatus for control of an electric power distribution system in response to circuit abnormalities | |
US20150055453A1 (en) | Detour path calculation method in emergency | |
CN103378980A (en) | Method for correlation analysis of layer network alarm with business and device thereof | |
CN103843360B (en) | Service deployment method, device and the network equipment | |
CN101286835A (en) | Clock tracing method, device and network element device | |
CN103841015A (en) | Network system and routing method | |
CN105656198B (en) | A kind of acquisition methods of powerline network redundant path strategy | |
CN104539445B (en) | A kind of method and apparatus for management business resource | |
CN108173617A (en) | A kind of the whole network clock topology and clock method for obtaining path | |
CN106612232B (en) | A kind of concentrator active meter reading method for routing adapting to changeable factor | |
CN107465476A (en) | The synchronous method and device of clock | |
CN108271195A (en) | Based on the soft or hard signalling correlated analysis method and equipment adopted | |
CN108989916A (en) | A kind of cross-domain protection networking of power distribution communication net towards quantum protection communication service | |
CN105553841B (en) | A kind of efficient distributed intelligence method for routing can effectively prevent signaling storm | |
CN103490840A (en) | Device and method for carrying out precision time protocol message processing | |
CN107547159B (en) | A kind of planing method and management equipment in clock tracing path | |
CN102882979A (en) | System and method for collecting, gathering and distributing data on basis of cloud computing system | |
WO2012083740A1 (en) | Method and device for detecting warnings | |
CN113259251A (en) | Routing networking method and device for multimode converged communication | |
CN110958629A (en) | Distributed self-organizing wireless narrowband communication method, device, terminal equipment and system | |
CN108401233A (en) | One kind dividing matched compound event cognitive method based on most authority two | |
CN106470083B (en) | A kind of synchronizing network detection method and device | |
CN111429008B (en) | Reliability evaluation method, device and equipment of secondary system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171212 |
|
WD01 | Invention patent application deemed withdrawn after publication |