CN105703867B - Suitable for the rapid deployment system and method for time synchronization network - Google Patents

Suitable for the rapid deployment system and method for time synchronization network Download PDF

Info

Publication number
CN105703867B
CN105703867B CN201610007814.7A CN201610007814A CN105703867B CN 105703867 B CN105703867 B CN 105703867B CN 201610007814 A CN201610007814 A CN 201610007814A CN 105703867 B CN105703867 B CN 105703867B
Authority
CN
China
Prior art keywords
servo
synchronization
port
time
synchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610007814.7A
Other languages
Chinese (zh)
Other versions
CN105703867A (en
Inventor
陈朝辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Wuhan Fiberhome Technical Services Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Wuhan Fiberhome Technical Services Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd, Wuhan Fiberhome Technical Services Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201610007814.7A priority Critical patent/CN105703867B/en
Publication of CN105703867A publication Critical patent/CN105703867A/en
Priority to PCT/CN2016/102811 priority patent/WO2017118148A1/en
Priority to MYPI2018700512A priority patent/MY187645A/en
Application granted granted Critical
Publication of CN105703867B publication Critical patent/CN105703867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • 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
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)
  • Electric Clocks (AREA)

Abstract

The invention discloses a kind of rapid deployment system and method suitable for time synchronization network, it is related to area of optical telecommunication networks.The system includes servo synchronization initialization unit, servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit, when node powers on, the relevant hardware of time synchronization and chip are initialized and configured, start servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit, three unit periodic duties at the same time;The work of servo synchronization Port detecting unit detection line interface and connection status, more new synchronous interface list;Servo synchronization unit receives, transmission source temporal information, and according to detection and the source time information received, performs servo pattern or synchronous mode.The present invention can realize rapid deployment of the time synchronization network in engineering, substantially reduce configuration work amount, and prevent failure caused by configuration error.

Description

Suitable for the rapid deployment system and method for time synchronization network
Technical field
The present invention relates to area of optical telecommunication networks, is specifically related to a kind of rapid deployment system suitable for time synchronization network And method.
Background technology
It is higher and higher to time synchronization requirement with the development of communication service.1588v2 (precise synchronizations Agreement v2 versions) ground elapsed time tranmission techniques are used as, with GPS (Global Positioning System, global positioning system) Deng satellite synchronization Technical comparing, have the advantages that safety, failure rate are low, cost is low, deployment is convenient.Time synchronization network just becomes weight The supporting network wanted.With the expansion of bearer network scale, the interstitial content in Time Synchronization Network is also more and more.Hold at present What the node in contained network was taken is BC (boundary clock) clock models.In practical engineering application, from active and standby time server to Bearer network injection length information, bearer network node by BMC, (calculate by Best Master Clock Algorithm, best master clock Method) selection tracking time source and tracking direction.Interstitial content in local network is even up to thousands of often beyond 1,000 Node.The workload that time synchronization network is manually disposed is increasing, it is easy to malfunctions, the configuration error of time synchronization network can be direct The operation of terminal device is influenced, bigger pressure is also brought to engineering opening, and directly result in time synchronization network engineering department The inefficiency of administration.
The content of the invention
The purpose of the invention is to overcome the shortcomings of above-mentioned background technology, there is provided a kind of suitable for the fast of time synchronization network Fast deployment system and method, can realize rapid deployment of the time synchronization network in engineering, substantially reduce bearer network large scale deployment Configuration work amount during time synchronization, and prevent failure caused by configuration error.
The present invention provides a kind of rapid deployment system suitable for time synchronization network, which initializes including servo synchronization Unit, servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit, wherein:
The servo synchronization initialization unit is used for:When node powers on, to the relevant hardware of time synchronization and chip into Row initialization and configuration, after being allowed to normal work, carry out initial configuration to external interface, it is properly received or is exported synchronously Signal;1588 application layer software operational modes are configured, the data used to Precision Time Protocol PTP and BMC protocol stack Collection is initialized;Then servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit are started at the same time, Servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit periodic duty;
The servo synchronization Port detecting unit is used for:Work and the connection status of line interface are detected, renewal synchronously connects Mouth list;
The servo synchronization unit includes notification packet processing module, servo timer, synchronization module and servo module, watches Taking synchronization unit has two kinds of operating modes:Servo pattern and synchronous mode, are operated in which kind of pattern is determined by servo timer;Watch Synchronization unit reception, transmission source temporal information are taken, and according to detection and the source time information received, performs servo pattern or synchronization Pattern;
The servo synchronization administrative unit is used for:Configuration information is received, the setting of data is compensated according to configuration data, The operating mode of designated port, or stop servo synchronization pattern, into conventional synchronous operational mode;When being also responsible for servo synchronization Configuration response, performance, state, alarm report.
Based on the above technical solutions, the servo pattern is:Synchronous protocol is closed, removes source time information, no External time source is tracked, is not also sent out temporal information;Internal time state is maintained, network source temporal information is intercepted in holding, Synchronous mode can be quickly switched into.
Based on the above technical solutions, the synchronous mode is:According to received source time information, by most preferably main Clock algorithm BMC, the time source and port synchronous regime that decision node is tracked, and the source time information of tracking and port is same Step state submits notification packet processing module, information is sent by master clock Master ports, node is by from clock Slave Port synchronization upstream, when Slave ports do not receive notification packet for a period of time, will be transferred to servo pattern.
Based on the above technical solutions, when the servo synchronization unit receives the information of source time, into synchronization Pattern, runs BMC algorithms and PTP measurement agreements, synchronous upstream time, and downstream transmission source temporal information;If source time is believed Breath is lost, and more than thresholding, then into servo pattern, servo pattern belongs to the state of intercepting of source time information, is not sent out this Ground temporal information, stops the synchronous upstream time, stops downstream transmission source temporal information.
Based on the above technical solutions, reception feelings of the servo timer monitoring for synchronous source time information Condition, and the operating mode of servo synchronization unit is determined accordingly;The overtime duration of servo timer=synchronisation source temporal information is sent Cycle * time-out coefficient, is configured the overtime duration of servo timer by synchronization module;Servo timer normally receives synchronization Source time information when, timeout flag is configured to " 0 ", and notify servo synchronization unit to run on synchronous mode;If servo is determined When device time-out do not receive source time information, then timeout flag is configured to " 1 ", and notify servo synchronization unit to run on servo mould Formula.
The present invention also provides a kind of quick deployment method suitable for time synchronization network based on said system, including it is following Step:
When node powers on, servo synchronization initialization unit to the relevant hardware of time synchronization and chip carry out initialization and Configuration, is allowed to work normally;Initial configuration is carried out to external interface, it is properly received or export synchronizing signal;To 1588 Application layer software operational mode is configured, and the data set used to Precision Time Protocol PTP and BMC algorithm protocol stack carries out just Beginningization;Then servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit, servo synchronization are started at the same time Port detecting unit, servo synchronization unit, servo synchronization administrative unit periodic duty;
The work of the servo synchronization Port detecting unit detection line interface and connection status, more new synchronous interface row Table:
When line interface is opened, and work and connection status is normal, during no alarm, which is added into synchronous port List, line interface operation PTP protocol, synchronizes tracking, master clock Master carries out temporal information from clock Slave Send;
When line interface is not opened, or work, connection status are abnormal, there are during alarm, are then deleted from synchronous port list Except the line interface;
Servo synchronization Port detecting unit periodic duty, upgrades synchronous port list in time;
When the servo synchronization unit receives source time information, into synchronous mode, BMC algorithms and PTP measurements are run Agreement, synchronous upstream time, and downstream transmission source temporal information;If source time information is lost, more than thresholding, then into servo Pattern, servo pattern belong to the state of intercepting of source time information, are not sent out local time information, when stopping synchronous upstream Between, stop downstream transmission source temporal information;
The servo synchronization administrative unit is responsible for receiving configuration information, and the setting of data is compensated according to configuration data, The operating mode of designated port, or stop servo synchronization pattern, into conventional synchronous operational mode;When being also responsible for servo synchronization Configuration response, performance, state, alarm report.
Based on the above technical solutions, the servo synchronization Port detecting unit periodic duty, poll node are each There is the line port of time synchronization, to judge whether it works normally and opening time synchronizing function, idiographic flow is such as Under:
According to node port list, each line port with time synchronization is polled, detects one every time The state of a line port, after update port numbers again, the next port in list is detected, until all of the port in list All it is detected, detection terminates, and next duty cycle, which repeats, to be detected;
Whether detection line port is opened, and the port being not turned on can not deadline synchronizing function;Detect line port Whether connection is normal, does not connect, the port of single-pass is without opening time synchronizing function;Whether detect line port working status Normally, port speed is not equipped with, receives and dispatches situations such as exception, alarm, can not deadline synchronizing function;
Update synchronous port list:In synchronous port list, the line port that detection passes through is labeled as synchronous port, Unsanctioned line port will be detected and be labeled as asynchronous port;The synchronous port list application is in servo synchronization Port detecting list In member, servo synchronization unit, servo synchronization administrative unit, being only labeled as the line port of synchronous port can just synchronize.
Based on the above technical solutions, the notification packet processing module is passed by receiving and sending notification packet Source time information is passed, notification packet is received and is used to obtain upstream source temporal information, with the path for deciding whether to track and tracking;Hair Send notification packet to be used to downstream transmit source time information, temporal information is transmitted node by node.
Based on the above technical solutions, the flow of the notification packet processing module transmitting-receiving notification packet is as follows:It is logical When announcement message processing module (MPM) receives notification packet, first determine whether notification packet is source time information, if notification packet For source time information, synchronization module processing is transmitted to, if the source time information is identical with the source time of current sync, and is connect Receiving end mouth is consistent, or is currently operating in servo pattern, then is zeroed out operation to servo timer;If the source time information The source time of non-present synchronization, then be not zeroed out operation to servo timer;If notification packet is boundary clock BC nodes Temporal information, then abandon, and servo timer is not operated;, will when notification packet processing module sends notification packet The source time information that synchronization module provides, the synchronous port status information made a decision according to synchronization module, sends from master clock port.
Based on the above technical solutions, the servo synchronization Port detecting unit, servo synchronization unit, servo synchronization Administrative unit is closed or restarted according to the change of configuration.
Compared with prior art, advantages of the present invention is as follows:
(1) the characteristics of present invention is disposed according to time synchronization network in bearer network, analysis refinement is carried out to engineer application model, A kind of new servo synchronization application model is defined, can accomplish that exempting from configuration or few configuration, device power can run, at that time Between source access loading network when, node is automatically performed tracking;, can automatic synchronization without configuration when node access networks network.With mesh Preceding active and standby time server is to bearer network injection length information, the time source that bearer network node is tracked by BMC algorithms selections Compared with tracking direction, the present invention can not only meet the functional requirement of bearer network rapid deployment time synchronization, and can be real Existing time synchronization network substantially reduces configuration work amount during bearer network large scale deployment time synchronization in the rapid deployment of engineering, And prevent failure caused by configuration error.
(2) the servo synchronization Port detecting unit in the present invention is without the time synchronization working status to each port of node Configured, can just bind line port working properly automatically, realize the synchronization of time, substantially reduce configuration work during deployment Measure, while can also avoid time synchronization aspect from being alerted due to the mistake of the line port caused by configuration error to not opening.
(3) present invention runs on node, realizes simple, complicated without exploitation planning software and interface.
(4) the servo synchronization unit in the present invention is only handled source time information, is so meeting time synchronization network Dispose under functional requirement, the configuration work to boundary clock BC node parameters can be reduced, and being capable of compatible conventional synchronization mould The node of formula, supports the human configuration of network, facilitates engineer application.
Brief description of the drawings
Fig. 1 is the flow chart that servo synchronization initializes in the embodiment of the present invention.
Fig. 2 is the flow chart of servo synchronization Port detecting in the embodiment of the present invention.
Fig. 3 is the flow chart of servo synchronization in the embodiment of the present invention.
Fig. 4 is the flow chart of servo synchronization management in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
The embodiment of the present invention provides a kind of rapid deployment system suitable for time synchronization network, including servo synchronization initialization Unit, servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit, wherein:
Servo synchronization initialization unit is used for:When node powers on, the relevant hardware of time synchronization and chip are carried out just Beginningization and configuration, after being allowed to normal work, initial configuration is carried out to external interface, it is properly received or export synchronous letter Number;1588 application layer software operational modes are configured, the data set used to Precision Time Protocol PTP and BMC protocol stack Initialized;Then start servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit at the same time, watch Take synchronous port detection unit, servo synchronization unit, servo synchronization administrative unit periodic duty;
Servo synchronization Port detecting unit is used for:Detect work and the connection status of line interface, more new synchronous interface row Table;
It is same that servo synchronization unit includes notification packet processing module, servo timer, synchronization module and servo module, servo Step unit has two kinds of operating modes:Servo pattern and synchronous mode, are operated in which kind of pattern is determined by servo timer;
Servo synchronization unit is used for:Receive, transmission source temporal information, and according to detection and the source time information received, hold Row servo pattern or synchronous mode;
Servo pattern:Synchronous protocol is closed, source time information is removed, external time source is not tracked, when not also being sent out Between information;Internal time state is maintained, holding intercepts network source temporal information, can be quickly switched into synchronous mode;
Synchronous mode:According to received source time information, by BMC algorithms, time source and end that decision node is tracked Mouth synchronous regime, and the source time information of tracking and port synchronous regime are submitted into notification packet processing module, information is passed through Master (master clock) port is sent, node by Slave (from clock) port synchronization upstream, when Slave ports do not receive it is logical Accuse message for a period of time, servo pattern will be transferred to;
Servo synchronization administrative unit is used for:Configuration information is received, the setting of data is compensated according to configuration data, is specified The operating mode of port, or stop servo synchronization pattern, into conventional synchronous operational mode;When being otherwise responsible for servo synchronization Configuration response, performance, state, alarm report.
The embodiment of the present invention also provides a kind of quick deployment method suitable for time synchronization network based on said system, bag Include following steps:
Shown in Figure 1, when node powers on, servo synchronization initialization unit is to the relevant hardware of time synchronization and chip Initialized and configured, be allowed to work normally;Initial configuration is carried out to external interface, it is properly received or is exported synchronously Signal;1588 application layer software operational modes are configured, to PTP (Precision Time Protocal, precise time Agreement) data set used of agreement and BMC algorithm protocol stacks initialized;Then servo synchronization Port detecting list is started at the same time Member, servo synchronization unit, servo synchronization administrative unit, servo synchronization Port detecting unit, servo synchronization unit, servo synchronization pipe Unit periodic duty is managed, synchronous port selection, synchronized tracking and temporal information are completed automatically according to the source time information of reception Send, servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit can also according to the change of configuration and Close or restart.
For the embodiment of the present invention when node powers on, acquiescence carries out servo synchronization initialization, substitutes traditional synchronous initiation; It is different corresponding task need to just to be started after configuration synchronizing function enables from traditional initialization, the embodiment of the present invention initialization with After the completion of configuration, acquiescence starts servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit.
Shown in Figure 2, the work and connection status, renewal of servo synchronization Port detecting unit detection line interface are synchronous Interface list:
When line interface is opened, and work and connection status is normal, during no alarm, which is added into synchronous port List, the line interface can run PTP protocol, and Slave synchronizes tracking (from clock), when Master (master clock) is carried out Between information transmission;
When line interface is not opened, or work, connection status are abnormal, there are during alarm, are then deleted from synchronous port list Except the line interface;
Servo synchronization Port detecting unit periodic duty, upgrades synchronous port list in time.
Servo synchronization Port detecting unit periodic duty, poll node each have the function of the line port of time synchronization, To judge whether it works normally and opening time synchronizing function, idiographic flow is as follows:
According to node port list, each line port with time synchronization is polled, detects one every time The state of a line port, after update port numbers again, the next port in list is detected, until all of the port in list All it is detected, detection terminates, and next duty cycle, which repeats, to be detected;
Whether detection line port is opened, and the port being not turned on can not deadline synchronizing function;Detect line port Whether connection is normal, does not connect, the port of single-pass is without opening time synchronizing function;Whether detect line port working status Normally, port speed is not equipped with, receives and dispatches situations such as exception, alarm, can not deadline synchronizing function;
Update synchronous port list:In synchronous port list, the line port that detection passes through is labeled as synchronous port, Unsanctioned line port will be detected and be labeled as asynchronous port;The synchronous port list application is in servo synchronization Port detecting list In member, servo synchronization unit, servo synchronization administrative unit, being only labeled as the line port of synchronous port can just synchronize.
Servo synchronization Port detecting unit is without configuring the time synchronization working status of each port of node, with regard to energy Automatically line port working properly is bound, realizes the synchronization of time, substantially reduces configuration work amount during deployment, while also can Time synchronization aspect is enough avoided to be alerted due to the mistake of the line port caused by configuration error to not opening.
It is shown in Figure 3, when servo synchronization unit receives source time information, into synchronous mode, operation BMC algorithms and PTP measurement agreements, synchronous upstream time, and downstream transmission source temporal information;If source time information is lost, more than thresholding, then Into servo pattern, servo pattern belongs to the state of intercepting of source time information, is not sent out local time information, stops synchronous The upstream time, stops downstream transmission source temporal information.
Notification packet processing module transmits source time information by receiving and sending notification packet, receives notification packet energy Upstream source temporal information is enough obtained, with the path for deciding whether to track and tracking;Source can downstream be transmitted by sending notification packet Temporal information, enables temporal information to be transmitted node by node.
Shown in Figure 3, the flow of notification packet processing module transmitting-receiving notification packet is as follows:
When notification packet processing module receives notification packet, first determine whether notification packet is source time information, such as Fruit notification packet is source time information, synchronization module processing is transmitted to, if the source time information and the source time of current sync It is identical, and receiving port is consistent, or be currently operating in servo pattern, then operation is zeroed out to servo timer;If The source time of the source time information non-present synchronization, then be not zeroed out operation to servo timer;If notification packet is side The temporal information of boundary's clock BC nodes, then abandon, and servo timer is not operated.
Servo synchronization unit is only handled source time information, is so meeting time synchronization network deployment functional requirement Under, the configuration work to boundary clock BC node parameters can be reduced, and be capable of the node of compatible conventional synchronous mode.
When notification packet processing module sends notification packet, source time information that synchronization module is provided, according to synchronous mould The synchronous port status information of block resolution, sends from Master (master clock) port.
Reception condition of the servo timer monitoring for synchronous source time information, and servo synchronization unit is determined accordingly Operating mode.The overtime duration of servo timer=synchronisation source temporal information sending cycle * time-out coefficients, overtime coefficient can basis Need to be configured, general default configuration is 3, is configured the overtime duration of servo timer by synchronization module.Servo is determined When device when normally receiving synchronous source time information, timeout flag is configured to " 0 ", and notify servo synchronization unit to run on together Step mode;If servo timer expiry does not receive source time information, timeout flag is configured to " 1 ", and notifies servo synchronization Unit runs on servo pattern.
Shown in Figure 4, servo synchronization administrative unit is responsible for receiving configuration information, and data are compensated according to configuration data Setting, the operating mode of designated port, or stop servo synchronization pattern, into conventional synchronous operational mode;In addition it is also negative Blame servo synchronization when configuration response, performance, state, alarm report, be described in detail separately below.
Servo synchronization configures:Servo synchronization pattern, acquiescence operation is to be configured.But also support to client in servo The working status of synchronous port is specified under synchronous mode, to meet special networking requirement.When circuit has asymmetric delay or deposits It is delayed in cable, can be also eliminated by network management configuration offset data, meet the needs of project plan.When client configures Other operating modes, are configured by servo synchronization, can turn off or on servo synchronization Port detecting unit, servo synchronization list Member, servo synchronization administrative unit, realize the switching of different working modes.
Servo synchronization performance reports:The transmitting-receiving counting of sync message, time deviation adjustment when gathering and report servo synchronization In time, the performance data such as average, peak peak, for time synchronization network operation maintenance management.
Servo synchronization state reporting:Gather and report servo synchronization status information, including operating mode, synchronous source time letter Breath, port synchronous working state, synchronization TOD (Time of Day, Time of Day) value etc., for time synchronization network operation and maintenance pipe Reason.
Servo synchronization alarm report:Warning information during servo synchronization mode operation is gathered and reports, with normal mode not Be:The line interface for being included in synchronous port is only detected, message can be just gathered and receive the alarm such as time-out;When circuit occurs Failure, when causing communication disruption, alerts and is gathered by service layer, avoids time synchronization aspect from occurring accusing by mistake.
Those skilled in the art can carry out various modifications and variations to the embodiment of the present invention, if these modifications and change Type is within the scope of the claims in the present invention and its equivalent technologies, then these modifications and variations are also in protection scope of the present invention Within.
The prior art that the content not being described in detail in specification is known to the skilled person.

Claims (7)

1. a kind of rapid deployment system suitable for time synchronization network, it is characterised in that the system is initialized including servo synchronization Unit, servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit, wherein:
The servo synchronization initialization unit is used for:When node powers on, the relevant hardware of time synchronization and chip are carried out just Beginningization and configuration, after being allowed to normal work, initial configuration is carried out to external interface, it is properly received or export synchronous letter Number;1588 application layer software operational modes are configured, the data set used to Precision Time Protocol PTP and BMC protocol stack Initialized;Then start servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit at the same time, watch Take synchronous port detection unit, servo synchronization unit, servo synchronization administrative unit periodic duty;
The servo synchronization Port detecting unit is used for:Detect work and the connection status of line interface, more new synchronous interface row Table;
It is same that the servo synchronization unit includes notification packet processing module, servo timer, synchronization module and servo module, servo Step unit has two kinds of operating modes:Servo pattern and synchronous mode, are operated in which kind of pattern is determined by servo timer;Servo is same Unit reception, transmission source temporal information are walked, and according to detection and the source time information received, performs servo pattern or synchronous mould Formula;
The servo synchronization administrative unit is used for:Configuration information is received, the setting of data is compensated according to configuration data, is specified The operating mode of port, or stop servo synchronization pattern, into conventional synchronous operational mode;Matching somebody with somebody when being also responsible for servo synchronization Put response, performance, state, alarm report;
The servo pattern is:Synchronous protocol is closed, source time information is removed, does not track external time source, be not also sent out Temporal information;Internal time state is maintained, holding intercepts network source temporal information, can be quickly switched into synchronous mode;
The synchronous mode is:According to received source time information, by best master clock algorithm BMC, determine that node is tracked Time source and port synchronous regime, and the source time information of tracking and port synchronous regime are submitted into notification packet processing mould Block, information is sent by master clock Master ports, node is by from clock Slave ports synchronization upstream, when Slave ports Notification packet is not received for a period of time, will be transferred to servo pattern;
When the servo synchronization unit receives source time information, into synchronous mode, BMC algorithms and PTP measurement agreements are run, Synchronous upstream time, and downstream transmission source temporal information;If source time information is lost, more than thresholding, then into servo pattern, Servo pattern belongs to the state of intercepting of source time information, is not sent out local time information, stops the synchronous upstream time, stops Downstream transmission source temporal information.
2. it is suitable for the rapid deployment system of time synchronization network as claimed in claim 1, it is characterised in that:The servo timing Reception condition of the device monitoring for synchronous source time information, and the operating mode of servo synchronization unit is determined accordingly;Servo is determined When device overtime duration=synchronisation source temporal information sending cycle * time-out coefficients, the time-out by synchronization module to servo timer Duration is configured;When servo timer normally receives synchronous source time information, timeout flag is configured to " 0 ", and notify Servo synchronization unit runs on synchronous mode;If servo timer expiry does not receive source time information, timeout flag is configured For " 1 ", and servo synchronization unit is notified to run on servo pattern.
A kind of 3. quick deployment method suitable for time synchronization network based on system described in claim 1, it is characterised in that bag Include following steps:
When node powers on, servo synchronization initialization unit is initialized and matched somebody with somebody to the relevant hardware of time synchronization and chip Put, be allowed to work normally;Initial configuration is carried out to external interface, it is properly received or export synchronizing signal;Should to 1588 Configured with layer running software pattern, the data set used to Precision Time Protocol PTP and BMC algorithm protocol stack carries out initial Change;Then servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit, servo synchronization end are started at the same time Mouth detection unit, servo synchronization unit, servo synchronization administrative unit periodic duty;
The work of the servo synchronization Port detecting unit detection line interface and connection status, more new synchronous interface list:
When line interface is opened, and work and connection status is normal, during no alarm, which is added into synchronous port row Table, line interface operation PTP protocol, synchronizes tracking, master clock Master carries out the hair of temporal information from clock Slave Send;
When line interface is not opened, or work, connection status are abnormal, and there are during alarm, then being deleted from synchronous port list should Line interface;
Servo synchronization Port detecting unit periodic duty, upgrades synchronous port list in time;
When the servo synchronization unit receives source time information, into synchronous mode, BMC algorithms and PTP measurement agreements are run, Synchronous upstream time, and downstream transmission source temporal information;If source time information is lost, more than thresholding, then into servo pattern, Servo pattern belongs to the state of intercepting of source time information, is not sent out local time information, stops the synchronous upstream time, stops Downstream transmission source temporal information;
The servo synchronization administrative unit is responsible for receiving configuration information, and the setting of data is compensated according to configuration data, specifies The operating mode of port, or stop servo synchronization pattern, into conventional synchronous operational mode;Matching somebody with somebody when being also responsible for servo synchronization Put response, performance, state, alarm report.
4. it is suitable for the quick deployment method of time synchronization network as claimed in claim 3, it is characterised in that:The servo synchronization Port detecting unit periodic duty, poll node each have the function of the line port of time synchronization, to judge whether it is normal Work and opening time synchronizing function, idiographic flow are as follows:
According to node port list, each line port with time synchronization is polled, detects a line every time The state of road port, after update port numbers again, detect the next port in list, until in list all of the port all by Detection, detection terminate, and next duty cycle, which repeats, to be detected;
Whether detection line port is opened, and the port being not turned on can not deadline synchronizing function;Detect line port connection It is whether normal, do not connect, the port of single-pass is without opening time synchronizing function;Whether just to detect line port working status Often, port speed is not equipped with, receives and dispatches situations such as exception, alarm, can not deadline synchronizing function;
Update synchronous port list:In synchronous port list, the line port that detection passes through is labeled as synchronous port, will be examined Survey unsanctioned line port and be labeled as asynchronous port;The synchronous port list application servo synchronization Port detecting unit, In servo synchronization unit, servo synchronization administrative unit, being only labeled as the line port of synchronous port can just synchronize.
5. it is suitable for the quick deployment method of time synchronization network as claimed in claim 3, it is characterised in that:The notification packet Processing module transmits source time information by receiving and sending notification packet, receives notification packet and is used to obtain upstream source time Information, with the path for deciding whether to track and tracking;Send notification packet to be used to downstream transmit source time information, believe the time Breath is transmitted node by node.
6. it is suitable for the quick deployment method of time synchronization network as claimed in claim 5, it is characterised in that:The notification packet The flow of processing module transmitting-receiving notification packet is as follows:When notification packet processing module receives notification packet, first determine whether to notice Whether message is source time information, if notification packet is source time information, is transmitted to synchronization module processing, the source time information If it is identical with the source time of current sync, and receiving port is consistent, or be currently operating in servo pattern, then servo is determined When device be zeroed out operation;If the source time of the source time information non-present synchronization, is not zeroed out servo timer Operation;If notification packet is the temporal information of boundary clock BC nodes, abandon, and servo timer is not operated; When notification packet processing module sends notification packet, source time information that synchronization module is provided, makes a decision according to synchronization module Synchronous port status information, sends from master clock port.
7. the quick deployment method suitable for time synchronization network as any one of claim 3 to 6, it is characterised in that: The servo synchronization Port detecting unit, servo synchronization unit, servo synchronization administrative unit closed according to the change of configuration or Restart.
CN201610007814.7A 2016-01-07 2016-01-07 Suitable for the rapid deployment system and method for time synchronization network Active CN105703867B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201610007814.7A CN105703867B (en) 2016-01-07 2016-01-07 Suitable for the rapid deployment system and method for time synchronization network
PCT/CN2016/102811 WO2017118148A1 (en) 2016-01-07 2016-10-21 Rapid deployment system and method suitable for time synchronization network
MYPI2018700512A MY187645A (en) 2016-01-07 2016-10-21 Rapid deployment system and method suitable for time synchronization network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610007814.7A CN105703867B (en) 2016-01-07 2016-01-07 Suitable for the rapid deployment system and method for time synchronization network

Publications (2)

Publication Number Publication Date
CN105703867A CN105703867A (en) 2016-06-22
CN105703867B true CN105703867B (en) 2018-05-08

Family

ID=56226156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610007814.7A Active CN105703867B (en) 2016-01-07 2016-01-07 Suitable for the rapid deployment system and method for time synchronization network

Country Status (3)

Country Link
CN (1) CN105703867B (en)
MY (1) MY187645A (en)
WO (1) WO2017118148A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105703867B (en) * 2016-01-07 2018-05-08 烽火通信科技股份有限公司 Suitable for the rapid deployment system and method for time synchronization network
CN108021430B (en) * 2016-10-31 2021-11-05 杭州海康威视数字技术股份有限公司 Distributed task processing method and device
CN106647573B (en) * 2016-11-01 2020-06-19 清能德创电气技术(北京)有限公司 Servo driver synchronous control system
FR3062204B1 (en) * 2017-01-26 2019-04-05 Thales ELECTRONIC COMMUNICATION GATEWAY, AVIONIC COMMUNICATION INSTALLATION COMPRISING SUCH GATEWAY, INFORMATION PROCESSING METHOD AND COMPUTER PROGRAM
CN110928892B (en) * 2019-10-15 2023-06-27 中国直升机设计研究所 Data information scanning synchronization system and method
CN113162813B (en) * 2020-01-22 2022-06-03 烽火通信科技股份有限公司 PTP message loss detection analysis method and device
CN111308937B (en) * 2020-02-28 2020-11-24 浙江禾川科技股份有限公司 Bus type servo motor network starting method, device, equipment and storage medium
CN112002069A (en) * 2020-08-19 2020-11-27 成都川衡科技有限公司 Shared mobile phone charging equipment based on Internet of things and charging method thereof
CN114205066B (en) * 2021-11-23 2023-10-24 青岛鼎信通讯股份有限公司 Time synchronization detection method based on acquisition terminal B code time synchronization

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825836A (en) * 2006-04-04 2006-08-30 中兴通讯股份有限公司 System and method for avoiding network apparatus jamming
CN101170373A (en) * 2007-11-27 2008-04-30 上海自动化仪表股份有限公司 Clock synchronization realization method for loop network
CN102056285A (en) * 2011-01-18 2011-05-11 大唐移动通信设备有限公司 Clock synchronization method, system and equipment
CN105024841A (en) * 2014-04-23 2015-11-04 中兴通讯股份有限公司 Clock and time synchronization network synchronization fault processing method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399655B (en) * 2007-09-27 2011-04-20 华为技术有限公司 Determining method and apparatus for synchronization port of transparent clock device
US8165168B2 (en) * 2007-10-01 2012-04-24 Altair Semiconductor Ltd. Zone synchronization in wireless communication networks
CN101447861B (en) * 2008-12-29 2011-10-26 中兴通讯股份有限公司 IEEE 1588 time synchronization system and implementation method thereof
CN102843205B (en) * 2012-09-03 2015-08-12 杭州华三通信技术有限公司 The method and apparatus that a kind of time synchronized based on Precision Time Protocol restrains
CN102904706B (en) * 2012-09-26 2015-02-25 烽火通信科技股份有限公司 Device and method for synchronizing system frequency in packet transport network
CN105024798A (en) * 2014-04-28 2015-11-04 中兴通讯股份有限公司 Method and device for time synchronization
CN105703867B (en) * 2016-01-07 2018-05-08 烽火通信科技股份有限公司 Suitable for the rapid deployment system and method for time synchronization network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825836A (en) * 2006-04-04 2006-08-30 中兴通讯股份有限公司 System and method for avoiding network apparatus jamming
CN101170373A (en) * 2007-11-27 2008-04-30 上海自动化仪表股份有限公司 Clock synchronization realization method for loop network
CN102056285A (en) * 2011-01-18 2011-05-11 大唐移动通信设备有限公司 Clock synchronization method, system and equipment
CN105024841A (en) * 2014-04-23 2015-11-04 中兴通讯股份有限公司 Clock and time synchronization network synchronization fault processing method and system

Also Published As

Publication number Publication date
CN105703867A (en) 2016-06-22
MY187645A (en) 2021-10-07
WO2017118148A1 (en) 2017-07-13

Similar Documents

Publication Publication Date Title
CN105703867B (en) Suitable for the rapid deployment system and method for time synchronization network
US9876596B2 (en) Method and device for detecting fault in synchronization link
KR101426325B1 (en) Network element for a packet-switched network
EP1931084B1 (en) A method for getting the link estimating parameters
WO2018006686A1 (en) Method, apparatus and device for optimizing time synchronization between communication network devices
CN102104475A (en) IEEE 1588-based synchronization system and synchronization method thereof
EP2770678A1 (en) Clock synchronization method and system in 1588-2008 protocol
CN110492967B (en) Time synchronization method, relay equipment and device
WO2009109088A1 (en) Clock synchronous system
CN101977104A (en) IEEE1588 based accurate clock synchronization protocol system and synchronization method thereof
Garner et al. Synchronization of audio/video bridging networks using IEEE 802.1 AS
CN110798276A (en) Time synchronization method and system for SDN (software defined network) of intelligent substation
CN107819537A (en) It is a kind of based on synchronous closed loop monitoring electric substation automation system pair when method of calibration
WO2009043299A1 (en) A determining method and device for the synchronization port of a transparent clock equipment
US20150113174A1 (en) Intelligent supervision for configuration of precision time protocol (ptp) entities
US20150229511A1 (en) Method for switching from a one-way into a two-way signalling mode as a protection scheme for the distribution of time and frequency over a packet switched network
WO2014000434A1 (en) Method and system for time synchronization
CN101645869A (en) Switch with submicrosecond clock and switching processing method thereof
WO2011134371A1 (en) Method for synchronizing clocks and clock synchronization device
CN102263629A (en) Method for time synchronization among boards, clock board and NE (network element) device
CN106911414A (en) Clock synchronizing method and device
CN101394264A (en) Monitoring method and device for periodically packet transmission
CN105450320B (en) A kind of intelligent substation whole process us class precisions wireless ethernet network sychronisation and method
WO2013075307A1 (en) Method, device and system for monitoring output time of network node
JP2014057179A (en) Network device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180323

Address after: 430074 Wuhan, Hongshan Province District Road, Department of mail, No. 88 hospital

Applicant after: Fenghuo Communication Science &. Technology Co., Ltd.

Applicant after: WUHAN FIBERHOME TECHNICAL SERVICES CO., LTD.

Address before: 430074 East Lake Development Zone, Hubei, Optics Valley Venture Street, No. 67, No.

Applicant before: Fenghuo Communication Science &. Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant