CN111510238A - Method and system for centralized monitoring synchronization state of airborne clock - Google Patents

Method and system for centralized monitoring synchronization state of airborne clock Download PDF

Info

Publication number
CN111510238A
CN111510238A CN202010299552.2A CN202010299552A CN111510238A CN 111510238 A CN111510238 A CN 111510238A CN 202010299552 A CN202010299552 A CN 202010299552A CN 111510238 A CN111510238 A CN 111510238A
Authority
CN
China
Prior art keywords
clock
synchronization
slave
slave clock
master
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.)
Granted
Application number
CN202010299552.2A
Other languages
Chinese (zh)
Other versions
CN111510238B (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.)
CETC Avionics Co Ltd
Original Assignee
CETC Avionics 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 CETC Avionics Co Ltd filed Critical CETC Avionics Co Ltd
Priority to CN202010299552.2A priority Critical patent/CN111510238B/en
Publication of CN111510238A publication Critical patent/CN111510238A/en
Application granted granted Critical
Publication of CN111510238B publication Critical patent/CN111510238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • 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

Abstract

The invention discloses a method and a system for monitoring the synchronization state of an airborne clock in a centralized manner, which solve the problems that a master clock device does not know how many slave clock devices in a synchronization system need to be synchronized, and simultaneously, the synchronization state of each slave clock device is not collected, the clock synchronization function cannot meet the requirement of the airborne system on reliability, and the synchronization state of the slave clock devices in the centralized monitoring system cannot be realized. The invention comprises a method for monitoring the synchronization state of an airborne clock in a centralized manner and a system for realizing the method. The invention is based on the precise clock synchronization protocol, and can quickly realize the clock synchronization of the airborne network equipment. Meanwhile, the network communication protocol is utilized to realize the monitoring and management of the master clock equipment on the synchronous state of the slave clock equipment.

Description

Method and system for centralized monitoring synchronization state of airborne clock
Technical Field
The invention relates to the field of airborne network communication systems, in particular to a method and a system for centralized monitoring of the synchronization state of an airborne clock.
Background
The network clock synchronization and synchronous state monitoring technology plays an important role in normal operation of an airborne network system. The network clock synchronization is to perform clock synchronization on node devices of all networks on the computer.
With the updating of the airborne network system, the airborne network will need to implement: the function of the call service, the captain broadcast service, the crew broadcast service, the video broadcast service, etc. When audio and video are played, if clocks among devices are not synchronous, the phenomena of poor audio and video playing quality, blocking and the like can occur. Therefore, the audio-video broadcast playing needs to rely on clock synchronization among network devices.
Along with the increasing of airborne electronic information degree, airborne electronic equipment is also more and more, if the clock is asynchronous between the equipment, when the equipment breaks down, although all there is the trouble log in the equipment, the time that the trouble took place can be recorded, because the clock is asynchronous, finally can't judge the accurate time that the trouble took place, has increased the degree of difficulty for troubleshooting.
At present, the precise clock synchronization protocol is widely applied to the field of Ethernet clock synchronization. But has not been generalized in on-board networks. Meanwhile, when the precise clock synchronization protocol realizes clock synchronization, only the synchronization mode of the master clock device and the slave clock device is specified, but the master clock device does not know how many slave clock devices in the synchronization system need to be synchronized, and meanwhile, the synchronization state of each slave clock device is not collected. The clock synchronization function cannot meet the requirement of an airborne system on reliability, and cannot monitor the synchronization state of slave clock equipment in the system in a centralized manner.
Disclosure of Invention
The invention provides a method and a system for centralized monitoring of the synchronization state of airborne clocks, which solve the problems that in the prior art, a master clock device does not know how many slave clock devices in a synchronization system need to be synchronized, the synchronization state of each slave clock device is not collected, the clock synchronization function cannot meet the requirement of the airborne system on reliability, and the synchronization state of the slave clock devices in the system cannot be monitored in a centralized manner.
The invention is realized by the following technical scheme:
a method for centralized monitoring synchronization state of airborne clocks comprises the following steps:
s1: the clock synchronization function sets an enabling switch;
s2: each slave clock device transmits the current clock synchronization state of the slave clock device to the master clock device in a heartbeat message mode;
s3: the master clock equipment receives the heartbeat messages sent by the slave clock equipment, analyzes the clock synchronization state of each slave clock equipment according to the content of the heartbeat messages and records related information;
s4: if the master clock device does not receive the heartbeat message of the appointed slave clock device in the preset clock period, the master clock device considers that the slave clock device has operation failure and continuously monitors after recording related information.
Furthermore, the master clock device provides a clock synchronization state query function, and can provide synchronization state information of all slave clock devices in the network to the outside.
Further, the master clock device provides an interface to modify a local clock.
Further, in S1, when the enable switch is turned off, the clock synchronization function is turned off, and the time synchronization programs on the master and slave clock devices all enter the blocking mode, and at this time, the master clock device does not send the message of the synchronization protocol to the network any more;
when the enable switch is turned on, the clock synchronization function is turned on, the master clock device obtains the number of the slave clock devices in the system and the ID information of each slave clock device according to the configuration, and the master clock device and the slave clock device realize the clock synchronization among the devices according to the mode of the preset clock synchronization protocol.
Further, when the clock synchronization function is turned off, the heartbeat message sent from each slave clock device to the master clock device all indicates that the clock of the slave clock device is in an out-of-step state, when an abnormality of communication interruption occurs, the heartbeat message sent from the slave clock device to the master clock device all indicates that the clock of the slave clock device is in an out-of-step state in the clock synchronization process, and after the clock of the slave clock device is synchronized, the heartbeat message sent from the slave clock device to the master clock device indicates that the clock of the slave clock device is in a synchronous state.
Further, the content of the heartbeat packet includes: information type, information length, timestamp, sender ID, receiver ID, synchronization status, and maximum clock skew.
Further, when the slave clock device detects that the synchronization state of the network interface for clock synchronization appears in a linkdown state, the synchronization state of the slave clock device is set to be an out-of-step state immediately, information of the slave clock device is sent to the master clock device through a heartbeat message, and a maximum clock deviation field in the heartbeat message is invalid;
when the slave clock equipment cannot receive a time synchronization message within a specified time according to the requirements of a preset clock synchronization protocol, the synchronization state of the slave clock equipment is set to be an out-of-step state, and the information of the slave clock equipment is sent to the master clock equipment through a heartbeat message;
when the slave clock equipment detects that the clock deviation between the slave clock equipment and the master clock equipment is larger than a threshold value, the synchronous state of the slave clock equipment is set to be an out-of-step state, and the out-of-step state is sent to the master clock equipment through a heartbeat message until the clock synchronization of the slave clock equipment is completed.
The system for realizing the method for monitoring the synchronization state of the airborne clock in a centralized manner comprises an airborne synchronous network, wherein clock synchronization master clock equipment is deployed in the airborne synchronous network, and the number of the slave clock equipment and the ID information of each slave clock equipment are configured in the master clock equipment.
The following table is the heartbeat message field information and its settings:
Figure BDA0002453453530000021
Figure BDA0002453453530000031
the invention has the following advantages and beneficial effects: based on the precise clock synchronization protocol, the clock synchronization of the airborne network equipment can be rapidly realized. Meanwhile, the network communication protocol is utilized to realize the monitoring and management of the master clock equipment on the synchronous state of the slave clock equipment.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
fig. 1 is a schematic diagram of a heartbeat message according to the present invention.
Detailed Description
Before any embodiments of the invention are explained in detail, it is to be understood that the invention is not limited in its application to the details of construction and the arrangements of components set forth in the following description or illustrated in the drawings. The invention is capable of other embodiments and of being practiced or of being carried out in various ways. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any inventive changes, are within the scope of the present invention.
A method for centralized monitoring synchronization state of airborne clocks is characterized by comprising the following steps:
s1: the clock synchronization function sets an enabling switch;
s2: as shown in fig. 1, each slave clock device transmits the current clock synchronization state of the slave clock device to the master clock device in a heartbeat message manner;
s3: the master clock equipment receives the heartbeat messages sent by the slave clock equipment, analyzes the clock synchronization state of each slave clock equipment according to the content of the heartbeat messages and records related information;
s4: if the master clock device does not receive the heartbeat message of the appointed slave clock device in the preset clock period, the master clock device considers that the slave clock device has operation failure and continuously monitors after recording related information.
Furthermore, the master clock device provides a clock synchronization state query function, and can provide synchronization state information of all slave clock devices in the network to the outside.
Further, the master clock device provides an interface to modify a local clock.
Further, in S1, when the enable switch is turned off, the clock synchronization function is turned off, and the time synchronization programs on the master and slave clock devices all enter the blocking mode, and at this time, the master clock device does not send the message of the synchronization protocol to the network any more;
when the enable switch is turned on, the clock synchronization function is turned on, the master clock device obtains the number of the slave clock devices in the system and the ID information of each slave clock device according to the configuration, and the master clock device and the slave clock device realize the clock synchronization among the devices according to the mode of the preset clock synchronization protocol.
Further, when the clock synchronization function is turned off, heartbeat messages sent from each slave clock device to the master clock device all show that the clock of the slave clock device is in an out-of-step state, in the abnormal clock synchronization process of communication interruption, the heartbeat messages sent from the slave clock device to the master clock device all show that the clock of the slave clock device is in the out-of-step state, and after the clock of the slave clock device is synchronized, the heartbeat messages sent from the slave clock device to the master clock device show that the clock of the slave clock device is in the synchronous state.
Further, the content of the heartbeat packet includes: information type, information length, timestamp, sender ID, receiver ID, synchronization status, and maximum clock skew.
Further, when the slave clock device detects that the synchronization state of the network interface for clock synchronization appears in a linkdown state, the synchronization state of the slave clock device is set to be an out-of-step state immediately, information of the slave clock device is sent to the master clock device through a heartbeat message, and a maximum clock deviation field in the heartbeat message is invalid;
when the slave clock equipment cannot receive a time synchronization message within a specified time according to the requirements of a preset clock synchronization protocol, the synchronization state of the slave clock equipment is set to be an out-of-step state, and the information of the slave clock equipment is sent to the master clock equipment through a heartbeat message;
when the slave clock equipment detects that the clock deviation between the slave clock equipment and the master clock equipment is larger than a threshold value, the synchronous state of the slave clock equipment is set to be an out-of-step state, and the out-of-step state is sent to the master clock equipment through a heartbeat message until the clock synchronization of the slave clock equipment is completed.
The system for realizing the method for monitoring the synchronization state of the airborne clock in a centralized manner comprises an airborne synchronous network, wherein clock synchronization master clock equipment is deployed in the airborne synchronous network, and the number of the slave clock equipment and the ID information of each slave clock equipment are configured in the master clock equipment.
The following table is the heartbeat message field information and its settings:
Figure BDA0002453453530000041
Figure BDA0002453453530000051
example 1:
and starting a clock synchronization function in the system through C L I or graphical interface configuration.
The clock synchronization status of all devices in the system can be queried through C L I or a graphical interface, and the synchronization status of each current device is displayed.
The clocks of all devices in the whole system can be modified through C L I or a graphical interface.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A method for centralized monitoring synchronization state of airborne clocks is characterized by comprising the following steps:
s1: the clock synchronization function sets an enabling switch;
s2: each slave clock device transmits the current clock synchronization state of the slave clock device to the master clock device in a heartbeat message mode;
s3: the master clock equipment receives the heartbeat messages sent by the slave clock equipment, analyzes the clock synchronization state of each slave clock equipment according to the content of the heartbeat messages and records related information;
s4: if the master clock device does not receive the heartbeat message of the appointed slave clock device in the preset clock period, the master clock device considers that the slave clock device has operation failure and continuously monitors after recording related information.
2. The method for centralized monitoring of the synchronization status of onboard clocks according to claim 1, wherein said master clock device provides the function of clock synchronization status inquiry and provides the synchronization status information of all slave clock devices in the network to the outside.
3. The method for centralized monitoring of the synchronization status of onboard clocks of claim 1, wherein said master clock device provides an interface for modifying the local clock.
4. The method according to claim 1, wherein in S1, when the enable switch is turned off, the clock synchronization function is turned off, and the time synchronization programs on the master and slave clock devices enter a blocking mode, at which time the master clock device no longer sends the message of the synchronization protocol to the network;
when the enable switch is turned on, the clock synchronization function is turned on, the master clock device obtains the number of the slave clock devices in the system and the ID information of each slave clock device according to the configuration, and the master clock device and the slave clock device realize the clock synchronization among the devices according to the mode of the preset clock synchronization protocol.
5. The method according to claim 4, wherein when the clock synchronization function is turned off, the heartbeat messages sent from each slave clock device to the master clock device all indicate that the clocks of the slave clock devices are in an out-of-step state, and in the abnormal clock synchronization process in which communication is interrupted, the heartbeat messages sent from the slave clock devices to the master clock device all indicate that the clocks of the slave clock devices are in an out-of-step state, and after the clocks of the slave clock devices are synchronized, the heartbeat messages sent from the slave clock devices to the master clock device indicate that the clocks of the slave clock devices are in a synchronized state.
6. The method according to claim 1, wherein the content of the heartbeat message includes: information type, information length, timestamp, sender ID, receiver ID, synchronization status, and maximum clock skew.
7. The method according to claim 5 or 6, wherein when the slave clock device detects that the synchronization state of the network interface for clock synchronization is in linkdown state, the slave clock device immediately sets the synchronization state to be out-of-synchronization state, and sends the information of the slave clock device to the master clock device through heartbeat messages, wherein the maximum clock bias field in the heartbeat messages is invalid;
when the slave clock equipment cannot receive a time synchronization message within a specified time according to the requirements of a preset clock synchronization protocol, the synchronization state of the slave clock equipment is set to be an out-of-step state, and the information of the slave clock equipment is sent to the master clock equipment through a heartbeat message;
when the slave clock equipment detects that the clock deviation between the slave clock equipment and the master clock equipment is larger than a threshold value, the synchronous state of the slave clock equipment is set to be an out-of-step state, and the out-of-step state is sent to the master clock equipment through a heartbeat message until the clock synchronization of the slave clock equipment is completed.
8. The system for the method for centralized monitoring of the synchronization status of the onboard clocks according to claim 1, characterized by comprising an onboard synchronization network, wherein a clock synchronization master clock device is deployed in the onboard synchronization network, and the number of the slave clock devices and the ID information of each slave clock device are configured in the master clock device.
CN202010299552.2A 2020-04-16 2020-04-16 Method and system for centralized monitoring synchronization state of airborne clock Active CN111510238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010299552.2A CN111510238B (en) 2020-04-16 2020-04-16 Method and system for centralized monitoring synchronization state of airborne clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010299552.2A CN111510238B (en) 2020-04-16 2020-04-16 Method and system for centralized monitoring synchronization state of airborne clock

Publications (2)

Publication Number Publication Date
CN111510238A true CN111510238A (en) 2020-08-07
CN111510238B CN111510238B (en) 2022-09-13

Family

ID=71864130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010299552.2A Active CN111510238B (en) 2020-04-16 2020-04-16 Method and system for centralized monitoring synchronization state of airborne clock

Country Status (1)

Country Link
CN (1) CN111510238B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113206719A (en) * 2021-03-16 2021-08-03 网络通信与安全紫金山实验室 Clock synchronization method, system and storage medium based on SDN master clock
CN116527191A (en) * 2023-05-31 2023-08-01 烟台东方瑞创达电子科技有限公司 Equipment management method and system of optical fiber time service system
CN116527191B (en) * 2023-05-31 2024-04-23 烟台东方瑞创达电子科技有限公司 Equipment management method and system of optical fiber time service system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845546A (en) * 2006-03-15 2006-10-11 重庆邮电学院 Accurate time synchronization method and system facing measurement and control
CN104539055A (en) * 2015-01-07 2015-04-22 山东鲁能智能技术有限公司 Electric system key equipment actualizing-one-prepared method and system based on network
CN105916100A (en) * 2016-04-01 2016-08-31 华为技术有限公司 Heartbeat packet agency method, device and communication system
CN107819537A (en) * 2017-09-22 2018-03-20 国电南瑞科技股份有限公司 It is a kind of based on synchronous closed loop monitoring electric substation automation system pair when method of calibration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845546A (en) * 2006-03-15 2006-10-11 重庆邮电学院 Accurate time synchronization method and system facing measurement and control
CN104539055A (en) * 2015-01-07 2015-04-22 山东鲁能智能技术有限公司 Electric system key equipment actualizing-one-prepared method and system based on network
CN105916100A (en) * 2016-04-01 2016-08-31 华为技术有限公司 Heartbeat packet agency method, device and communication system
CN107819537A (en) * 2017-09-22 2018-03-20 国电南瑞科技股份有限公司 It is a kind of based on synchronous closed loop monitoring electric substation automation system pair when method of calibration

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113206719A (en) * 2021-03-16 2021-08-03 网络通信与安全紫金山实验室 Clock synchronization method, system and storage medium based on SDN master clock
CN116527191A (en) * 2023-05-31 2023-08-01 烟台东方瑞创达电子科技有限公司 Equipment management method and system of optical fiber time service system
CN116527191B (en) * 2023-05-31 2024-04-23 烟台东方瑞创达电子科技有限公司 Equipment management method and system of optical fiber time service system

Also Published As

Publication number Publication date
CN111510238B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
US8339969B2 (en) Distributed ethernet system and method for detecting fault based thereon
US7159234B1 (en) System and method for streaming media server single frame failover
EP2245472B1 (en) System and method for network recovery from multiple link failures
US8180882B2 (en) Distributed messaging system and method for sharing network status data
WO2018233645A1 (en) Method and system for transmitting train network data based on canopen protocol, and apparatus therefor
CN106656589B (en) A kind of server dual-machine hot backup system
CN103036719A (en) Cross-regional service disaster method and device based on main cluster servers
WO2015165192A1 (en) Time synchronization method and device
CN111447392B (en) Data transmission method, device, server and computer readable storage medium
CN105915426B (en) The fault recovery method and device of loop network
US20110173347A1 (en) Method for synchronizing local clocks in a distributed computer network
CN111510238B (en) Method and system for centralized monitoring synchronization state of airborne clock
JP5868299B2 (en) Network equipment
US20110267961A1 (en) Connectivity fault management for ethernet tree (e-tree) type services
WO2015192306A1 (en) Control device and system and transmission channel control method in software-defined networking
KR20210102907A (en) System and method for improving holdover performance in R-PHY network architecture
CN102739389A (en) Method and system for multi-GM (Grand Master) equipment time synchronization in packet transport network
CN102118266A (en) Industrial Ethernet dual-link redundancy technology
WO2016074570A1 (en) Security monitoring method and system
CN101615998A (en) A kind of method and system and access switch of in Ethernet, realizing clock synchronization
US9537591B2 (en) Method for zero traffic hit synchronization switchover in telecommunication network
US8327023B2 (en) Querier election method, router, and network system
JP2002094493A (en) Transmission system
KR20190002906A (en) Clocks timing fault recovery method and apparatus in precision time protocol system
JP5928398B2 (en) Communication device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant