CN106411462B - A kind of master-slave mode clock synchronization system in-band management implementation method - Google Patents

A kind of master-slave mode clock synchronization system in-band management implementation method Download PDF

Info

Publication number
CN106411462B
CN106411462B CN201610718327.1A CN201610718327A CN106411462B CN 106411462 B CN106411462 B CN 106411462B CN 201610718327 A CN201610718327 A CN 201610718327A CN 106411462 B CN106411462 B CN 106411462B
Authority
CN
China
Prior art keywords
equipment
main equipment
network management
irig
signal
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
CN201610718327.1A
Other languages
Chinese (zh)
Other versions
CN106411462A (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.)
Datang Telecom Chengdu Information Technology Co Ltd
Original Assignee
Datang Telecom Chengdu Information Technology 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 Datang Telecom Chengdu Information Technology Co Ltd filed Critical Datang Telecom Chengdu Information Technology Co Ltd
Priority to CN201610718327.1A priority Critical patent/CN106411462B/en
Publication of CN106411462A publication Critical patent/CN106411462A/en
Application granted granted Critical
Publication of CN106411462B publication Critical patent/CN106411462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0014Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the source coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • H04L7/0033Correction by delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0075Arrangements for synchronising receiver with transmitter with photonic or optical means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a kind of master-slave mode clock synchronization system in-band management implementation methods, center network management is managed by main equipment to from equipment: network management information is sent main equipment by center network management, main equipment is issued after being encoded from equipment, corresponding network management operational order is executed from equipment, while device status information is returned into main equipment according to the coding mode of main equipment.The present invention is by improving IRIG-B code, solves the automatic computational problem of physical link delay between master-slave equipment, construction cost is effectively reduced, while center network management is realized by main equipment and carries out network management from equipment to all, and interconnection resource is effectively saved.

Description

A kind of master-slave mode clock synchronization system in-band management implementation method
Technical field
The invention belongs to Time synchronization technique fields, are related to master-slave mode time synchronization, and especially a kind of master-slave mode time is same Step system in-band management implementation method.
Background technique
Ground elapsed time synchronization system is usually master-slave mode time synchronization at present, as shown in Fig. 1 (a): high-grade time synchronization Equipment is as main website, and for multiple inferior grade time synchronism equipments as slave station, main website issues slave station after being encoded temporal information, It is final to realize principal and subordinate's time synchronization.In equipment management level, as shown in Fig. 1 (b): being usually that center network management system is handed over by network It changes planes and is connected to main equipment and the network management mouth from equipment is managed respectively, there are the following problems for this mode:
Physical link delay between principal and subordinate needs to carry out manual calculations according to the length of physical medium, while to from equipment Management on, need individually to connect cable to each from equipment, it is more troublesome in engineering construction.
Summary of the invention
It is an object of the invention to overcome the above-mentioned prior art, provide in a kind of master-slave mode clock synchronization system band Implementation method is managed, the automatic computational problem of physical link delay between master-slave equipment is can solve, reduces construction cost.
The purpose of the present invention is achieved through the following technical solutions:
This master-slave mode clock synchronization system in-band management implementation method are as follows: center network management by main equipment to from equipment into Row management: network management information is sent main equipment by center network management, and main equipment is issued after being encoded from equipment, from equipment execution pair The network management operational order answered, while device status information is returned into main equipment according to the coding mode of main equipment.
Further, above-mentioned main equipment and from transmitting IRIG-B signal in the following way between equipment:
(1) single fiber double-fiber optical signal transmission fiber mode;
(2) twisted pair network cable transmits RS422 level mode.
Further, above-mentioned IRIG-B signal are as follows:
P99 symbol pulsewidth is 10ms, and preceding 2ms high level part remains unchanged, and is carried out serially in low level part by unit Coding, wherein preceding 8 units be network management type of message, behind Unit 32 be network management message payload, the last one unit be network management The exclusive or check value of type of message and network management message payload;Each unit is defined as follows:
Wherein start bit 1bit is fixed as low level, data bit 8bit, to transmit payload data, check bit 1bit, root It is filled according to the even-odd check result of data bit, stop position 1bit is fixed as high level.
Further, the coding mode of main equipment described above are as follows:
The P99 field of IRIG-B code is undefined as reserved field, in total 10ms, high level 2ms, low level 8ms;
Using P99 field as extended info field;
Extended info field is defined as follows:
Preceding 2ms high level part remains unchanged, and serial code is carried out by unit in low level part, wherein preceding 8 units For network management type of message, behind Unit 32 be network management message payload, the last one unit is network management type of message and network management message The exclusive or check value of payload.
Further, link delay calculation method between the above master-slave equipment are as follows: main equipment is sent to the IRIG-B from equipment The pulse per second (PPS) of signal parses pulse per second (PPS) and the main equipment circuit delay of main equipment from equipment as master-slave synchronisation pulse per second (PPS) benchmark Control command information is compensated, is used as after the main equipment pulse per second (PPS) information parsed is carried out compensation of delay from equipment from equipment second arteries and veins Punching output, while the pulse per second (PPS) alignment exported from the IRIG-B signal Ying Yucong equipment that equipment issues main equipment, while IRIG-B It should also contain the delay compensation information from equipment inside signal, main equipment is received to be solved after the IRIG-B signal that equipment is sent Code, circuit delay can be calculated by decoding pulse per second (PPS) and delay compensation information from equipment.
Further, compensation of delay value T defined abovecmp=T3-T2;Then principal and subordinate's circuit delay Tdelay=(T4-T1-Tcmp)/ 2, when from equipment without compensation of delay, Tcmp=0, T2=T3, that is, IRIG-B signal is round-trip directly between principal and subordinate One time, such case, principal and subordinate's circuit delay Tdelay=(T4-T1)/2;Wherein, T1: main equipment issues IRIG-B signal second arteries and veins Main equipment time when rushing;T2: slave equipment time when receiving IRIG-B signal pulse per second (PPS) from equipment;T3: it is issued from equipment Slave equipment time when IRIG-B signal pulse per second (PPS);T4: main equipment receives main equipment time when IRIG-B signal pulse per second (PPS).
The invention has the following advantages:
The present invention solves the automatic calculating of physical link delay between master-slave equipment by improving to IRIG-B code Problem effectively reduces construction cost, while center network management is realized by main equipment and carries out network management from equipment to all, has Effect saves interconnection resource.
Detailed description of the invention
Fig. 1 (a) is ground elapsed time synchronous system architecture schematic diagram in the prior art;
Fig. 1 (b) is equipment management level connection schematic diagram in the prior art;
Fig. 2 is present device connection schematic diagram;
Fig. 3 is IEEE STD1344-1995 standard frame format figure of the invention;
Fig. 4 is IEEE STD1344-1995 standard frame format P99 symbol logic level;
Fig. 5 is improved IRIG-B frame format figure;
Fig. 6 is extended info field schematic diagram
Fig. 7 is extended info field single unit schematic diagram
Fig. 8 is that the delay of principal and subordinate's device link calculates schematic diagram (not carrying out compensation of delay from equipment)
Fig. 9 is that the delay of principal and subordinate's device link calculates schematic diagram (having carried out compensation of delay from equipment)
Specific embodiment
Such as Fig. 2, the present invention relates to a kind of master-slave mode clock synchronization system in-band management implementation method, this method be specially by Center network management is managed by main equipment to from equipment: network management information is sent main equipment by center network management, and main equipment carries out It issues after coding from equipment, executes corresponding network management operational order from equipment, while according to the coding mode of main equipment by equipment Status information returns to main equipment.Wherein, main equipment and from transmitting improved IRIG-B in the following way between equipment Signal: (1) single fiber double-fiber optical signal transmission fiber mode;(2) twisted pair network cable transmits RS422 level mode.
The coding mode of the main equipment are as follows: the P99 field of IRIG-B code is undefined as reserved field, in total 10ms, High level is 2ms, low level 8ms;Using P99 field as extended info field;Extended info field is defined as: preceding 2ms high Level portions remain unchanged, and carry out serial code by unit in low level part, wherein preceding 8 units are network management type of message, Unit 32 next is network management message payload, the last one unit is the exclusive or check of network management type of message and network management message payload Value.It is specific as follows:
The present invention improves IRIG-B signal as follows:
P99 symbol pulsewidth is 10ms, and preceding 2ms high level part remains unchanged, and is carried out serially in low level part by unit Coding, wherein preceding 8 units be network management type of message, behind Unit 32 be network management message payload, the last one unit be network management The exclusive or check value of type of message and network management message payload.Each unit is defined as follows: wherein start bit 1bit is fixed as low electricity Flat, data bit 8bit, to transmit payload data, check bit 1bit is filled according to the even-odd check result of data bit, stops Stop bit 1bit, is fixed as high level.
Center network management is managed by main equipment to from equipment.Network management information is sent main equipment by center network management, main Equipment in the manner described above issues improved IRIG-B from equipment, and corresponding network management operational order can be performed from equipment, Improved IRIG-B is issued into main equipment in the manner described above from equipment simultaneously.
Link delay calculation method is as follows between master-slave equipment:
Main equipment is sent to the pulse per second (PPS) from the IRIG-B signal of equipment as master-slave synchronisation pulse per second (PPS) benchmark, from equipment solution The pulse per second (PPS) and main equipment circuit delay that main equipment is precipitated compensate control command information, the main equipment second arteries and veins that will be parsed from equipment It rushes after information carries out compensation of delay and is exported as from equipment pulse per second (PPS), while should be with from the IRIG-B signal that equipment issues main equipment The pulse per second (PPS) alignment exported from equipment, while should also contain the delay compensation information from equipment, main equipment inside IRIG-B signal It receives and is decoded after the IRIG-B signal that equipment is sent, decoding pulse per second (PPS) and delay compensation information from equipment can count Calculate circuit delay.Here compensation of delay value T is definedcmp=T3-T2;Then principal and subordinate's circuit delay Tdelay=(T4-T1-Tcmp)/2, When from equipment without compensation of delay, Tcmp=0, T2=T3, that is, IRIG-B signal is round-trip directly between principal and subordinate One time, such case, principal and subordinate's circuit delay Tdelay=(T4-T1)/2.T1: main equipment issues the master when pulse per second (PPS) of IRIG-B signal The equipment time.T2: slave equipment time when receiving IRIG-B signal pulse per second (PPS) from equipment.T3: IRIG-B letter is issued from equipment Slave equipment time when number pulse per second (PPS).T4: main equipment receives main equipment time when IRIG-B signal pulse per second (PPS).
The invention will be described in further detail with reference to the accompanying drawing:
Fig. 3 is IEEE STD1344-1995 standard frame format, and the P99 field of IRIG-B code is uncertain as reserved field Justice, in total 10ms, high level 2ms, low level 8ms.As shown in Figure 4.Here the present invention is using P99 field as extension information Field, as shown in Figure 5.
Extended info field is defined as follows:
Preceding 2ms high level part remains unchanged, and serial code is carried out by unit in low level part, wherein preceding 8 units For network management type of message, behind Unit 32 be network management message payload, the last one unit is network management type of message and network management message The exclusive or check value of payload.Coded format is as shown in Figure 6: wherein the definition of each unit is as shown in fig. 7, wherein start bit 1bit is fixed as low level, data bit 8bit, to transmit payload data, check bit 1bit, according to the even-odd check of data bit As a result it is filled, stop position 1bit is fixed as high level.Center network management is managed by main equipment to from equipment.Center Network management information is sent main equipment by network management, and main equipment is issued after being encoded in the manner described above from equipment, from equipment Corresponding network management operational order is executed, while device status information is returned into main equipment according to above-mentioned coding mode.
Improved IRIG-B signal is transmitted between master-slave equipment in the following way.One, single fiber double-fiber optical fiber transmits Mode optical signal.Two, twisted pair network cable transmits RS422 level mode.It can guarantee the base of two-way link using both modes This is symmetrical.
Link delay calculation method is as shown in Figure 8 between master-slave equipment: main equipment is sent to the IRIG-B signal from equipment Pulse per second (PPS) as master-slave synchronisation pulse per second (PPS) benchmark, the pulse per second (PPS) and the compensation of main equipment circuit delay of main equipment are parsed from equipment Control command information is used as defeated from equipment pulse per second (PPS) after the main equipment pulse per second (PPS) information parsed to be carried out to compensation of delay from equipment Out, while from the IRIG-B signal Ying Yucong equipment that equipment issues main equipment the pulse per second (PPS) alignment exported, while IRIG-B signal The inside should also contain the delay compensation information from equipment, and main equipment is received to be decoded after the IRIG-B signal that equipment is sent, Circuit delay can be calculated by decoding pulse per second (PPS) and delay compensation information from equipment.
Here compensation of delay value Tcmp=T3-T2 is defined;Then principal and subordinate's circuit delay Tdelay=(T4-T1-Tcmp)/2.
When from equipment without compensation of delay, Tcmp=0, T2=T3, that is, IRIG-B signal is directly in principal and subordinate Between it is one time round-trip, master-slave equipment synchronized relation is as shown in figure 9, such case, principal and subordinate's circuit delay Tdelay=at this time (T4-T1)/2。

Claims (3)

1. a kind of master-slave mode clock synchronization system in-band management implementation method, which is characterized in that center network management passes through main equipment pair Be managed from equipment: network management information is sent main equipment by center network management, and main equipment is issued after being encoded from equipment, from setting It is standby to execute corresponding network management operational order, while device status information is returned into main equipment according to the coding mode of main equipment;
The main equipment and from transmitting IRIG-B signal in the following way between equipment:
(1) single fiber double-fiber optical signal transmission fiber mode;
(2) twisted pair network cable transmits RS422 level mode;
The IRIG-B signal are as follows:
P99 symbol pulsewidth is 10ms, and preceding 2ms high level part remains unchanged, and carries out serial code by unit in low level part, Wherein preceding 8 units be network management type of message, behind Unit 32 be network management message payload, the last one unit be network management message class The exclusive or check value of type and network management message payload;
Each unit is defined as follows: wherein start bit 1bit, is fixed as low level, data bit 8bit, to transmit payload data, Check bit 1bit, is filled according to the even-odd check result of data bit, and stop position 1bit is fixed as high level.
2. master-slave mode clock synchronization system in-band management implementation method according to claim 1, which is characterized in that Zhu Congshe Link delay calculation method between standby are as follows: main equipment is sent to the pulse per second (PPS) from the IRIG-B signal of equipment as the master-slave synchronisation second Pulse reference parses the pulse per second (PPS) and main equipment circuit delay compensation control command information of main equipment from equipment, will from equipment The main equipment pulse per second (PPS) information parsed exports after carrying out compensation of delay as from equipment pulse per second (PPS), while issuing master from equipment and setting The pulse per second (PPS) alignment of standby IRIG-B signal Ying Yucong equipment output, while should also contain prolonging from equipment inside IRIG-B signal When compensated information, main equipment is received to be decoded after the IRIG-B signal that equipment is sent, decode from the pulse per second (PPS) of equipment and Delay compensation information can calculate circuit delay.
3. master-slave mode clock synchronization system in-band management implementation method according to claim 2, which is characterized in that definition is prolonged When offset Tcmp=T3-T2;Then principal and subordinate's circuit delay Tdelay=(T4-T1-Tcmp)/2, from equipment without compensation of delay When, Tcmp=0, T2=T3, that is, IRIG-B signal is one time round-trip directly between principal and subordinate, such case, principal and subordinate's route Be delayed Tdelay=(T4-T1)/2;Wherein, T1: main equipment issues the main equipment time when pulse per second (PPS) of IRIG-B signal;T2: from setting Standby slave equipment time when receiving IRIG-B signal pulse per second (PPS);T3: when issuing the pulse per second (PPS) of IRIG-B signal from equipment from setting The standby time;T4: main equipment receives main equipment time when IRIG-B signal pulse per second (PPS).
CN201610718327.1A 2016-08-24 2016-08-24 A kind of master-slave mode clock synchronization system in-band management implementation method Active CN106411462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610718327.1A CN106411462B (en) 2016-08-24 2016-08-24 A kind of master-slave mode clock synchronization system in-band management implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610718327.1A CN106411462B (en) 2016-08-24 2016-08-24 A kind of master-slave mode clock synchronization system in-band management implementation method

Publications (2)

Publication Number Publication Date
CN106411462A CN106411462A (en) 2017-02-15
CN106411462B true CN106411462B (en) 2019-11-19

Family

ID=58004299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610718327.1A Active CN106411462B (en) 2016-08-24 2016-08-24 A kind of master-slave mode clock synchronization system in-band management implementation method

Country Status (1)

Country Link
CN (1) CN106411462B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102416176B1 (en) * 2016-05-10 2022-07-01 엘에스일렉트릭(주) Slave device control method
CN110389793B (en) * 2019-07-19 2022-05-10 北京字节跳动网络技术有限公司 Control display method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710908A (en) * 2005-07-14 2005-12-21 广东省电信有限公司研究院 Method for two-directionally transfering time information based on apparatus interconnection protocol group
CN101938825A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Time synchronization method, device and system in digital subscriber line
CN104601268A (en) * 2014-12-25 2015-05-06 大唐电信(成都)信息技术有限公司 IRIG-B-based time and frequency synchronization state information coding format and coding method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9106353B2 (en) * 2011-12-13 2015-08-11 Jds Uniphase Corporation Time synchronization for network testing equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710908A (en) * 2005-07-14 2005-12-21 广东省电信有限公司研究院 Method for two-directionally transfering time information based on apparatus interconnection protocol group
CN101938825A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Time synchronization method, device and system in digital subscriber line
CN104601268A (en) * 2014-12-25 2015-05-06 大唐电信(成都)信息技术有限公司 IRIG-B-based time and frequency synchronization state information coding format and coding method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
时间同步在电力通信传输;缪巍巍等;《电力信息与通信技术》;20151215;第13卷(第12期);全文 *
电网时间统一系统网管的研究;姚虹春等;《电力系统通信》;20110110;第32卷(第219期);第1-6章节及图1 *

Also Published As

Publication number Publication date
CN106411462A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN104662845B (en) Optical wireless access system, terminal office equipment and dormancy control method
PH12019500991A1 (en) Synchronization system and method for single-bus transmission of 1pps+tod information
CN105262565A (en) Coding method and coding system capable of transmitting clock and data based on phase modulation
EP3823415A1 (en) Method and apparatus for receiving cpri data stream, method and apparatus for receiving ethernet frame, and system
CN106411462B (en) A kind of master-slave mode clock synchronization system in-band management implementation method
CN105577307A (en) Method and apparatus for realizing time and clock synchronization
JP2008017264A (en) Pon multiplex relay system, pon multiplex relay device to be used for the same and its network synchronization method
CN107276053B (en) A kind of equipment for protecting optical fibre longitudinal difference and method of data synchronization
JP2008054006A (en) Transmission frame, transmitter, receiver, communication method, and communication program
CN105183687A (en) Time-sharing serial communication method and system
CN102394655B (en) Manchester code converting method on MIC bus
JP4761135B2 (en) Optical signal relay device and relay method
CN103888331A (en) General high speed bus device for distribution terminal and data interaction method
CN101447975A (en) Method for processing Ethernet physical layer OAM overhead and device thereof
CN101325467B (en) Method and equipment for transmitting and receiving Ethernet data
CN101272215B (en) Optical transmission unit frame generating method and device, method and device for transmitting clock rank
CN113572629B (en) Message transmission method, terminal and storage medium
US11294335B2 (en) Method, device and computer-readable medium of managing a clock circuit
CN102201851B (en) Remote clock system, equipment and information transmission method
CN105530065B (en) For system and method at IEEE1588 pairs of PRP/HSR
CN103209041A (en) Data collection method for GSM-R (Global System for Mobile for Railways) network interface
CN109039537B (en) AMCC information transmission method and system
KR20120051632A (en) Method for clock synchronization in distributed system having ring topology and apparatus for the same
CN104601497B (en) 1588V2 message transmitting method and device based on wan interface
KR101395067B1 (en) Method for monitoring multi uplinks and downlinks of passive optical network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20200526

Granted publication date: 20191119

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20230526

Granted publication date: 20191119