CN116131989A - Synchronous clock optimization method for optical fiber network system - Google Patents

Synchronous clock optimization method for optical fiber network system Download PDF

Info

Publication number
CN116131989A
CN116131989A CN202310415979.8A CN202310415979A CN116131989A CN 116131989 A CN116131989 A CN 116131989A CN 202310415979 A CN202310415979 A CN 202310415979A CN 116131989 A CN116131989 A CN 116131989A
Authority
CN
China
Prior art keywords
clock
code
optical fiber
time
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310415979.8A
Other languages
Chinese (zh)
Inventor
牛泽田
杜远
万文章
赵金鹏
孙万录
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang Hangsheng Technology Co ltd
Original Assignee
Shenyang Hangsheng 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 Shenyang Hangsheng Technology Co ltd filed Critical Shenyang Hangsheng Technology Co ltd
Priority to CN202310415979.8A priority Critical patent/CN116131989A/en
Publication of CN116131989A publication Critical patent/CN116131989A/en
Pending legal-status Critical Current

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
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Electric Clocks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a synchronous clock optimization method of an optical fiber network system, which comprises the following steps: s1: the clock server of the optical fiber network is used as a B code clock client, and B code clock synchronization is added on the basis of original FC network clock synchronization; s2: b code clock synchronization, which is to receive clock synchronization information of B code clock source by FC node card as clock server and synchronize local RTC of the FC node card; s3: the FC network clock synchronizes, the FC node cards as clock servers broadcast the RTC time and the flight calendar time through SYN primitives and WDT frames, and other FC node cards synchronize the local RTC time and the flight calendar based on the SYN primitives and WDT frames. The method of the invention realizes the function of improving the precision of the time service of the optical fiber network, ensures the clock synchronism of the network monitoring data, reduces the delay time set by software and periodically pairs, and solves the problem of insufficient clock synchronous precision in the optical fiber network.

Description

Synchronous clock optimization method for optical fiber network system
Technical Field
The invention relates to an optical fiber network clock synchronization technology, in particular to an optical fiber network system synchronization clock optimization method.
Background
In the airborne avionics system, an optical fiber network of FC-AE-ASM protocol is mainly selected as a communication form of the whole system. All subsystems under the whole avionics system adopt the protocol for data communication. And the airborne equipment in the current environment belongs to a distributed network environment, and data cooperation is needed among all systems, so that timeliness and time delay of the equipment for sending data have great influence on the whole network data processing.
At present, the fiber network system synchronous clock based on FC-AE-ASM protocol communication is realized by setting issuing time by software, and the time error of an operating system to task scheduling is in ms level, so that the time of adopting software synchronization is difficult to reach the network clock precision requirement, and the effectiveness of cooperative data of a local network is seriously affected.
Disclosure of Invention
Aiming at the differences of time delay, poor precision and the like of the synchronous clocks of the optical fiber network systems of the airborne avionics systems in the prior art, the invention provides a synchronous clock optimization method of the optical fiber network systems, which aims at solving the problems of insufficient clock synchronization precision in the optical fiber network and data time statistics effectiveness of a local area network.
In order to solve the technical problems, the invention adopts the following technical scheme:
the invention provides a synchronous clock optimization method of an optical fiber network system, which comprises the following steps:
s1: the clock server of the optical fiber network is used as a B code clock client, and B code clock synchronization is added on the basis of original FC network clock synchronization;
s2: b code clock synchronization, which is to receive clock synchronization information of B code clock source by FC node card as clock server and synchronize local RTC of the FC node card;
s3: the FC network clock synchronizes, the RTC time and the flight calendar time are broadcast by the FC node cards as clock servers through SYN primitives and WDT frames, and other FC node cards synchronize the local RTC time and the flight calendar time based on the SYN primitives and WDT frames.
The B code clock synchronization is specifically as follows:
s201: the FC node card is initialized and configured as a clock server;
s202: the FC node card is initialized and configured into a B code synchronous mode;
s203: the B code clock source outputs a B code clock signal;
s204: b code clock synchronization signals are collected by an FC node card serving as a clock server;
s205: judging whether the detected years change or not;
s206: if the number of years is not changed, the B code clock signal is synchronized, namely the local RTC value is updated, time-division seconds are converted into values in hundred nanoseconds, and the year, month and day are the number of days counted from 1970, 1 month and 1 day;
s207: if the detected years change, judging whether the detected years change twice continuously;
s208: if the number of years of detection has not changed twice in succession, the process goes to step S206.
The FC network clock synchronization is specifically:
s301: the FC node card hardware as a clock server synchronizes and updates a local calendar value in real time, wherein the calendar value is a day count value from 1 month 1 day 1970;
s302: the FC node card serving as a clock server reads the calendar count value through a drive register;
s303: the FC node card serving as the clock server converts the calendar count value into a year, month and day through a driver, writes the year, month and day into a WDT frame and broadcasts and sends the year, month and day;
s304: the FC node card as a clock client synchronizes the calendar time of flight through WDT frames.
The invention has the following beneficial effects and advantages:
1. the method of the invention realizes the function of improving the precision of the time service of the optical fiber network, the newly added B-code clock synchronization function mainly realizes the effectiveness of data synchronization, ensures the clock synchronization of network monitoring data, provides powerful guarantee for network fault analysis, reduces the delay time set by software and periodically pairs, adjusts the periphery of the optical fiber network and the inside of an ASM protocol communication architecture, does not influence the reliability of the whole system, and solves the problem of insufficient clock synchronization precision in the optical fiber network;
2. the reliability and the instantaneity of the B code hardware clock and the clock synchronization mode of the ELS frame and the RTC clock primitive in the network are utilized, so that the timesynchronization instantaneity in the network is increased, each device can be time-calibrated through the ELS frame and the RTC clock primitive period, the time is synchronized to each device terminal, and meanwhile, the algorithm is compatible with standard protocol communication in data transceiving;
3. the clock network realized by the method can minimally convert external time service data into the optical fiber network, can rapidly transmit the clock data to each network terminal, and improves the time system efficiency of the whole network;
4. the method of the invention ensures the data security of the fixed local area network and the robustness of the network.
Drawings
FIG. 1 is an overall frame diagram of network clock synchronization;
FIG. 2 is an algorithm diagram of B-code clock synchronization;
fig. 3 is a scheme diagram of network clock synchronization.
Detailed Description
The invention is further elucidated below in connection with the drawings of the specification.
The invention provides a synchronous clock optimization method of an optical fiber network system, which comprises the following steps:
s1: the clock server of the optical fiber network is used as a B code clock client, and B code clock synchronization is added on the basis of original FC network clock synchronization;
s2: b code clock synchronization, which is to receive clock synchronization information of B code clock source by FC node card as clock server and synchronize local RTC of the FC node card;
s3: the FC network clock synchronizes, the RTC time and the flight calendar time are broadcast by the FC node cards as clock servers through SYN primitives and WDT frames, and other FC node cards synchronize the local RTC time and the flight calendar time based on the SYN primitives and WDT frames.
The method is mainly used for guaranteeing the real-time clock synchronization of the system of each terminal equipment of the optical fiber network of FC-AE-ASM protocol communication, guaranteeing the clock synchronization of network monitoring data and providing powerful guarantee for network fault analysis. The adjustment is performed in the FC and ASM protocol architecture, and the reliability of the whole system is not affected. The specific network clock roles are divided into a B-code clock server, a B-code clock client, a clock server of an optical fiber network and a clock client of the optical fiber network.
The method of the invention uses the characteristics of clock information, optical fiber communication and FC-AE-ASM message communication, analyzes the hardware clock signal through the B code protocol, and then broadcasts the synchronous clock into years, months, days and hours, minutes and seconds separately, namely, the years, months, days and hours, minutes and seconds are broadcast into the optical fiber network system through different forms, wherein the years, months and days adopt the ELS message broadcast of the optical fiber to synchronize the equipment, and the time of the B code is broadcast to each node of the optical fiber network through the RTC link clock primitive mode.
The overall block diagram of the clock synchronization framework B code clock synchronization and FC network clock synchronization is shown in fig. 1.
The B-code synchronization method is shown in fig. 2, and specifically includes:
s201: the FC node card is initialized and configured as a clock server;
s202: the FC node card is initialized and configured into a B code synchronous mode;
s203: the B code clock source outputs a B code clock signal;
s204: b code clock synchronization signals are collected by an FC node card serving as a clock server;
s205: judging whether the detected years change or not;
s206: if the number of years is not changed, the B code clock signal is synchronized, namely the local RTC value is updated, time-division seconds are converted into values in hundred nanoseconds, and the year, month and day are the number of days counted from 1970, 1 month and 1 day;
s207: if the detected years change, judging whether the detected years change twice continuously;
s208: if the number of years of detection has not changed twice in succession, the process goes to step S206.
The method detects the change of the annual value in two continuous detection periods, wherein one period is 1 second, namely every second time.
In this embodiment, the B code synchronization is performed according to the general specification of the GJB 2991A-2008B time code interface terminal, and the units and tens of the year are transmitted twice, so as to avoid continuous jump of the year change, and thus the local RTC and calendar value are synchronized after the stable year change is detected; the years of B code synchronization are only ten and one, and the years range from 2000 to 2099. The local calendar value is a count value of days from 1970, 1 month and 1 day, and therefore conversion is required at the time of synchronization: and accumulating the interval day values from 1970, 1 month and 1 day to 2000, 1 month and 1 day on the basis of the year, month and day of B code input.
B code clock synchronization: receiving clock synchronization information of a B code clock source by an FC node card serving as a clock server, and synchronizing a local RTC of the FC node card;
FC network clock synchronization: the RTC time and calendar time are broadcast by the FC node cards as clock servers through SYN primitives and WDT frames, and the other FC node cards synchronize the local RTC time and calendar time based on the SYN primitives and WDT frames, as shown in fig. 3.
S301: the FC node card hardware as a clock server synchronizes and updates a local calendar value in real time, wherein the calendar value is a day count value from 1 month 1 day 1970;
s302: the FC node card serving as a clock server reads the calendar count value through a drive register;
s303: the FC node card serving as the clock server converts the calendar count value into a year, month and day through a driver, writes the year, month and day into a WDT frame and broadcasts and sends the year, month and day;
s304: the FC node card as a clock client synchronizes the calendar time of flight through WDT frames.
In this embodiment, the clock server of the optical fiber network is used as the B-code clock client, and the clock server of the optical fiber network collects the B-code signal output by the B-code clock server, and analyzes the B-code signal according to the general code interface terminal specification of GJB 2991A-2008B to obtain the years, days in the years, hours, minutes and seconds.
The clock server of the fiber optic network converts the number of years and the number of days in the year into a number of days count value from 1 month 1 day 1970. The hours, minutes, and seconds are converted to 42 bits of RTC count values in hundred nanoseconds.
When the clock server of the optical fiber network calculates the number of days, firstly, the number of years and the number of days in the year of the B code signal are converted into the number of days count up to 1 month and 1 day in 2000, and then the number of days count up to a fixed number of days count which is the number of days count up to 1 month and 1 day in 1970 and 1 month and 1 day in 2000 is accumulated on the basis of the number of days count.
The clock server of the optical fiber network maintains the number of days count value and the RTC count value when walking by means of a local clock, updates the current number of days count value and the RTC count value in real time, writes the number of days count value and the RTC count value into a register, and can be read by clock server software.
The clock server of the optical fiber network broadcasts the RTC count value to the FC optical fiber network through SYN primitive, the clock server of the optical fiber network reads the number of days count value and the RTC count value, converts the number of days count value and the RTC count value into calendar time of year, month, day, time, minute and second, and forms ELS frames by the calendar time and broadcasts the calendar time to the FC optical fiber network.
The clients of the fiber optic network receive and synchronize the calendar time via ELS frames, synchronize the RTC time via SYN primitives, and maintain the calendar time and the RTC time by means of a local clock.
In the embodiment, the analysis of the B code is realized through FPGA logic; when B code time is synchronized, the analyzed time is written into a logic register through logic calculation; and broadcasting clock information to the network equipment terminal according to the value of the direct reading register when the clock synchronization of the optical fiber network is carried out.
The method ensures the data security and the network robustness of the fixed local area network, and the clock network realized by the method can minimally convert the external time service data into the optical fiber network. And clock data can be rapidly transmitted to each network terminal, so that the time system efficiency of the whole network is improved.

Claims (3)

1. The synchronous clock optimizing method for the optical fiber network system is characterized by comprising the following steps:
s1: the clock server of the optical fiber network is used as a B code clock client, and B code clock synchronization is added on the basis of original FC network clock synchronization;
s2: b code clock synchronization, which is to receive clock synchronization information of B code clock source by FC node card as clock server and synchronize local RTC of the FC node card;
s3: the FC network clock synchronizes, the RTC time and the flight calendar time are broadcast by the FC node cards as clock servers through SYN primitives and WDT frames, and other FC node cards synchronize the local RTC time and the flight calendar time based on the SYN primitives and WDT frames.
2. The method for optimizing a synchronous clock of an optical fiber network system according to claim 1, wherein: the B code clock synchronization is specifically as follows:
s201: the FC node card is initialized and configured as a clock server;
s202: the FC node card is initialized and configured into a B code synchronous mode;
s203: the B code clock source outputs a B code clock signal;
s204: b code clock synchronization signals are collected by an FC node card serving as a clock server;
s205: judging whether the detected years change or not;
s206: if the number of years is not changed, the B code clock signal is synchronized, namely the local RTC value is updated, the time-division seconds are converted into values in hundred nanoseconds, and the year, month and day are 1 month and 1 month in 1970;
s207: if the detected years change, judging whether the detected years change twice continuously;
s208: if the number of years of detection has not changed twice in succession, the process goes to step S206.
3. The method for optimizing a synchronous clock of an optical fiber network system according to claim 1, wherein: the FC network clock synchronization is specifically:
s301: the FC node card hardware as a clock server synchronizes and updates a local calendar value in real time, wherein the calendar value is a day count value from 1 month 1 day 1970;
s302: the FC node card serving as the clock server reads a local calendar count value through a drive register;
s303: the FC node card serving as the clock server converts the calendar count value into a year, month and day through a driver, writes the year, month and day into a WDT frame and broadcasts and sends the year, month and day;
s304: the FC node card as a clock client synchronizes the calendar time of flight through WDT frames.
CN202310415979.8A 2023-04-19 2023-04-19 Synchronous clock optimization method for optical fiber network system Pending CN116131989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310415979.8A CN116131989A (en) 2023-04-19 2023-04-19 Synchronous clock optimization method for optical fiber network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310415979.8A CN116131989A (en) 2023-04-19 2023-04-19 Synchronous clock optimization method for optical fiber network system

Publications (1)

Publication Number Publication Date
CN116131989A true CN116131989A (en) 2023-05-16

Family

ID=86304884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310415979.8A Pending CN116131989A (en) 2023-04-19 2023-04-19 Synchronous clock optimization method for optical fiber network system

Country Status (1)

Country Link
CN (1) CN116131989A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050013258A1 (en) * 2003-07-16 2005-01-20 Fike John M. Method and apparatus for detecting and removing orphaned primitives in a fibre channel network
CN202818369U (en) * 2012-08-30 2013-03-20 上海远景数字信息技术有限公司 Clock server supporting IEC61850 clock information publishing
CN109861779A (en) * 2019-01-25 2019-06-07 中国航空无线电电子研究所 A kind of multisource high precision synchronizing device based on avionics fiber optic network
CN113660558A (en) * 2021-07-29 2021-11-16 中国人民解放军战略支援部队信息工程大学 Time synchronization delay compensation device and method based on FC (fiber channel) switching chip

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050013258A1 (en) * 2003-07-16 2005-01-20 Fike John M. Method and apparatus for detecting and removing orphaned primitives in a fibre channel network
CN202818369U (en) * 2012-08-30 2013-03-20 上海远景数字信息技术有限公司 Clock server supporting IEC61850 clock information publishing
CN109861779A (en) * 2019-01-25 2019-06-07 中国航空无线电电子研究所 A kind of multisource high precision synchronizing device based on avionics fiber optic network
CN113660558A (en) * 2021-07-29 2021-11-16 中国人民解放军战略支援部队信息工程大学 Time synchronization delay compensation device and method based on FC (fiber channel) switching chip

Similar Documents

Publication Publication Date Title
EP2101439B1 (en) Synchronization system and method of time information and related equipment
US7864817B2 (en) Transport systems and methods incorporating absolute time references and selective buildout delays
CN101932092B (en) Method and system for implementing macro base station clock synchronization and macro base station equipment
CN107579791B (en) Satellite on-orbit remote measurement data real-time monitoring system suitable for unidirectional communication network
PH12019500991A1 (en) Synchronization system and method for single-bus transmission of 1pps+tod information
CN201532575U (en) Timing system of distributive industrial monitoring apparatus
CN102404105A (en) Device and method for realizing time synchronization on Ethernet switch
CN106341212B (en) It is a kind of to realize polymorphic type time signal from the device and method for recognizing and detecting
WO2012058986A1 (en) Communication system and method for transmitting clock signal
CN104660360A (en) Ethernet data and multi-channel E1 data processing method and system
CN102916758A (en) Ethernet time synchronization device and network equipment
CN105281885A (en) Time synchronization method and device used for network equipment and time synchronization server
CN108551378B (en) A kind of radiofrequency signal remote transmission method
CN103647614A (en) Method for reliably improving time synchronization precision based on IEEE1588 protocol
CN102830612A (en) System and method of high-precision time service and time keeping of broadcast controller
CN116131989A (en) Synchronous clock optimization method for optical fiber network system
CN111478863B (en) Switch system and network port time synchronization method thereof
CN101765199A (en) Communication system and time synchronization method in system and OTN equipment
CN111092687A (en) Calendar clock synchronization system of FC switching network system
CN110798277A (en) Time synchronization system and method based on radio frequency optical fiber network
CN113573403B (en) Slave clock synchronization system and method for 5G RRU
CN112558685B (en) Method for synchronizing time between power distribution terminal modules
CN103701581A (en) Method for realizing IEEE1588 master clock
CN110971330A (en) Time service server system and leap second automatic adjustment method
CN113193931B (en) ARINC818 node time certainty transmission device and method

Legal Events

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

Application publication date: 20230516

RJ01 Rejection of invention patent application after publication