CN114745362B - Remote upgrading method and system based on optical fiber time service - Google Patents

Remote upgrading method and system based on optical fiber time service Download PDF

Info

Publication number
CN114745362B
CN114745362B CN202210301532.3A CN202210301532A CN114745362B CN 114745362 B CN114745362 B CN 114745362B CN 202210301532 A CN202210301532 A CN 202210301532A CN 114745362 B CN114745362 B CN 114745362B
Authority
CN
China
Prior art keywords
upgrading
time service
upgrade
controller
remote
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
CN202210301532.3A
Other languages
Chinese (zh)
Other versions
CN114745362A (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.)
National Time Service Center of CAS
Original Assignee
National Time Service Center of CAS
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 National Time Service Center of CAS filed Critical National Time Service Center of CAS
Priority to CN202210301532.3A priority Critical patent/CN114745362B/en
Publication of CN114745362A publication Critical patent/CN114745362A/en
Application granted granted Critical
Publication of CN114745362B publication Critical patent/CN114745362B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4416Network booting; Remote initial program loading [RIPL]
    • 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
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Abstract

The application discloses a remote upgrading system based on optical fiber time service, which comprises local end equipment and a plurality of remote end equipment, wherein the local end equipment and the remote end equipment are communicated through an optical fiber link, the optical fiber link comprises a time service channel and a data transmission channel, the time service channel is used for transmitting time service information, and the data transmission channel is used for transmitting an upgrading data packet; the local side device comprises: a first controller, the remote end device comprising: the system comprises a main controller, a standby controller and a timekeeping module. The remote upgrading system based on the optical fiber time service realizes the remote upgrading of the time service equipment through the optical fiber link, avoids technicians from entering a machine room to replace board card equipment, improves version updating safety and updating efficiency, and avoids unnecessary risks caused by time service interruption; in addition, the remote terminal equipment performs version upgrading operation through the cooperation of the main controller and the standby controller, so that the efficiency and the safety of version upgrading are further improved.

Description

Remote upgrading method and system based on optical fiber time service
Technical Field
The application belongs to the field of optical fiber time service, and particularly relates to a remote upgrading method and system based on optical fiber time service.
Background
The high-precision time frequency has important application value in the fields of basic physics, earth science, space science, navigation positioning, aerospace, military safety and the like, the currently mainstream remote precision time frequency transmission technology comprises satellite time frequency transmission, optical fiber time frequency transmission and laser time transmission, the optical fiber time service is more and more widely applied to the aspect of high-precision time transmission by virtue of high time service precision, stable transmission, large bandwidth, strong anti-interference capability, low-loss transmission and the like, and the optical fiber time service technology can be well compatible with an optical fiber communication system.
However, in the optical fiber transmission system, time transfer needs to be realized through communication between the local end and the remote end, and in the operation process of the system, the time service system version needs to be continuously updated so as to meet the safety requirement and the system operation requirement. However, the current time service system equipment is generally installed in a machine room, so that the machine room has a large number of sites, and if the machine room is updated frequently, the machine room is inconvenient to enter for many times. In addition, when some users use the board card, the users need to update the program, and the technicians need to take out the board card and download the version program update to the board card through the proprietary equipment. Because of the need of card insertion and extraction operation, a large safety risk is brought during updating, and the risk of system paralysis caused by updating failure exists.
Disclosure of Invention
In order to solve the problems in the prior art, the application provides a remote upgrading method and a system based on optical fiber time service. The technical problems to be solved by the application are realized by the following technical scheme:
the remote upgrading system based on the optical fiber time service comprises local end equipment and a plurality of remote end equipment, wherein the local end equipment and the remote end equipment are communicated through an optical fiber link, the optical fiber link comprises a time service channel and a data transmission channel, the time service channel is used for transmitting time service information, and the data transmission channel is used for transmitting an upgrading data packet;
the local side device comprises:
the first controller is used for sending an upgrade request message to each remote terminal device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and an upgrade duration;
judging whether the MAC address has upgrading authority or not in response to receiving the upgrading confirmation message, and if so, sending an upgrading data packet to a corresponding communication port;
the remote end device includes:
the main controller is used for receiving the upgrade request message;
when judging that the current version number, the pre-upgrading version number and the upgrading time length all meet the upgrading requirements, sending an opening command to the standby controller to acquire the MAC address and the communication port number of the standby controller; in response to receiving the MAC address and the communication port number, feeding back an upgrade confirmation message to the first controller, wherein the upgrade confirmation message includes a MAC address and a communication port number of a standby controller;
the standby controller is used for sending switching information to the first controller and the timekeeping module when the upgrading is finished, so that the first controller stops sending time service data to the main controller during switching, and sends the time service data to the standby controller after the switching is finished;
the time keeping module is used for carrying out local time keeping by adopting the high-voltage-stabilizing crystal oscillator and the phase-locked loop during switching, stopping local time keeping after switching is finished, and carrying out time synchronization tracking on a first controller of a local terminal.
In a specific embodiment, the upgrade request message further includes an upgrade content identifier; in a corresponding manner, the processing unit,
and the main controller is used for detecting the number of decryption modules to determine that the hardware condition meets the requirement and then upgrading the hardware condition when judging that the upgrading content identifier is the key authority upgrading.
In a specific embodiment, the main controller is further configured to obtain an upgrade data packet from the standby controller to upgrade after the handover is completed, and close the time-sharing channel with the first controller after the upgrade is completed.
In a specific embodiment, the first controller sends an upgrade request message through a time service signal frame, wherein the time service signal frame comprises a time service field and an upgrade request field, and the upgrade request field comprises an upgrade request message;
correspondingly, when the master controller receives the time service signal frame, judging that the upgrading request field is empty, performing time service operation, and when judging that the upgrading request field comprises the upgrading request message, performing upgrading operation.
The application also provides a remote upgrading method based on optical fiber time service, which is applied to a local terminal and comprises the following steps:
transmitting an upgrade request message to each remote terminal device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and an upgrade duration, and the remote terminal device comprises a main controller and a standby controller;
and when receiving the upgrade confirmation message sent by the remote terminal equipment, judging whether the MAC address of the remote terminal equipment has upgrade permission, and if so, sending an upgrade data packet to the corresponding communication port.
And stopping sending the time service data to the main controller in response to receiving the switching information, and sending the time service data to the standby controller after the upgrading time period is exceeded.
The application also provides a remote upgrading method based on optical fiber time service, which is applied to a remote end, wherein the remote end comprises a main controller, a standby controller and a time keeping module; the method comprises the following steps:
the main controller receives the upgrade request message;
when judging that the current version number, the pre-upgrading version number and the upgrading time length all meet the upgrading requirements, sending an opening command to the standby controller to acquire the MAC address and the communication port number of the standby controller;
in response to receiving the MAC address and the communication port number, an upgrade confirmation message is sent to the local end device, wherein the upgrade confirmation message includes the MAC address and the communication port number of the standby controller;
when the upgrading is finished, the standby controller sends switching information to the local terminal equipment and the timekeeping module, so that the local terminal equipment stops sending time service data to the main controller during switching, and sends the time service data to the standby controller after the switching is finished;
and during the switching period, a time keeping module formed by the high-voltage-stabilizing crystal oscillator and the phase-locked loop is adopted to carry out local time keeping, and after the switching is finished, the local time keeping is stopped, and the first controller of the local terminal is subjected to time synchronization tracking.
In a specific embodiment, the upgrade request message further includes an upgrade content identifier; in a corresponding manner, the processing unit,
and when the main controller judges that the upgrading content mark is the key authority upgrading, detecting the number of decryption modules to determine that the hardware condition meets the requirement, and upgrading.
In a specific embodiment, after the switching is completed, the main controller acquires the upgrade data packet from the standby controller to upgrade, and closes the time service channel with the local terminal after the upgrade is completed.
The application has the beneficial effects that:
the remote upgrading system based on the optical fiber time service realizes the remote upgrading of the time service equipment through the optical fiber link, avoids technicians from entering a machine room to replace board card equipment, improves version updating safety and updating efficiency, and avoids unnecessary risks caused by time service interruption; in addition, the remote terminal equipment performs version upgrading operation through the cooperation of the main controller and the standby controller, so that the efficiency and the safety of version upgrading are further improved.
The present application will be described in further detail with reference to the accompanying drawings and examples.
Drawings
FIG. 1 is a schematic diagram of a remote upgrade system module based on optical fiber time service according to an embodiment of the present application;
fig. 2 is a frame structure of local end transmission data when a remote upgrade system based on optical fiber time service is upgraded, which is provided by an embodiment of the application;
fig. 3 is a schematic diagram of a local end flow of a remote upgrading method based on optical fiber time service according to an embodiment of the present application;
fig. 4 is a schematic flow diagram of a remote end of a remote upgrading method based on optical fiber timing according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to specific examples, but embodiments of the present application are not limited thereto.
Example 1
Referring to fig. 1, fig. 1 is a schematic diagram of a remote upgrade system module based on optical fiber time service, provided by the embodiment of the present application, including a local end device and a plurality of remote end devices, where the local end device and the remote end devices communicate through an optical fiber link, the optical fiber link includes a time service channel and a data transmission channel, the time service channel is used for transmitting time service information, and the data transmission channel is used for transmitting an ascending data packet;
the local terminal device in this embodiment is a server terminal for providing time service data, the local terminal transmits information such as a 10MHz signal, a 1PPS signal, a UTC time code, and bidirectional comparison result data to the remote terminal device through a time service channel, the remote terminal can normally use the remote terminal after time update according to the information, and generally, the data transmission is performed through an optical fiber link, and the existing time service technology generally performs time service information transmission only through an optical fiber, so that no data transmission channel is provided, and in order to safely and efficiently transmit version data, the embodiment simultaneously transmits an upgrade data packet for version update through the optical fiber link; since the extra data transmission is performed using the original optical fiber link, the transmission can be performed in a time division multiplexing manner. It should be noted that, in normal service, the frame structure includes a device address of the remote end, a 1PPS signal, comparison data, UTC time code information, and a 10MHz carrier signal, and the length of each frame signal is 10ms, where the first 100 μs includes the device address, the 1PPS signal, the comparison data, and the time code information, and the remaining 9.9ms is the 10MHz carrier signal. The remote end device of each site can continuously receive the frame signal sent by the local end device, and the frame signal is analyzed by the internal decoder. The 10MHz carrier signal is used for an internal timekeeping module, so that the remote terminal equipment has good timekeeping capability. In this embodiment, when transmitting an upgrade data packet, please refer to fig. 2, the frame structure includes a device address of a remote end, a 1PPS signal, comparison data, UTC time code information, a 10MHz carrier signal and an upgrade data packet signal, in order to leave more space for installing the data packet, the length of each frame signal becomes 1s, wherein the first 1ms includes the device address, the 1PPS signal, the comparison data, the time code information and the 10MHz carrier signal, and the upgrade data packet is unpacked and transmitted in a time division multiplexing manner.
The local side device comprises:
the first controller is used for sending an upgrade request message to each remote terminal device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and an upgrade duration;
because the local end generally needs to time service to different remote ends, the requirements of the different remote ends are different, and the corresponding versions are different, when the local end has a new version, the local end needs to be sent to each remote end, the remote end judges whether to update the version, and the corresponding upgrading request message needs to carry the current version number and the pre-upgrading version number so as to be convenient for the remote end to judge, in addition, the time spent by the different versions when upgrading and switching is different from tens of minutes to hours. When the version is updated, the remote terminal equipment can not accurately give time in the upgrading switching process, only a clock signal with slightly lower precision can be provided through the timekeeping module, if the remote terminal equipment is working in a high-precision scene or is about to be in the high-precision scene at the moment, the time service requirement can not be met in the upgrading switching process, and therefore the remote terminal equipment is convenient to judge whether the remote terminal is suitable for upgrading at present or not by sending upgrading time length data. For example, the upgrade time is 1 hour, and the remote end performs experiments such as gravitational wave test after 5 minutes, and requires time with high precision, so that the upgrade is not suitable.
Judging whether the MAC address has upgrading authority or not in response to receiving the upgrading confirmation message, and if so, sending an upgrading data packet to a corresponding communication port;
when the first controller receives the upgrade confirmation message, it indicates that the remote terminal has upgrade conditions, and the link is in an open state, and at this time, it needs to further determine whether the MAC address provided by the remote terminal has upgrade authority. Because the remote end is used for switching between the main equipment and the standby equipment, and the provided MAC address is the address of the standby equipment, the main equipment and the standby equipment do not directly interact with the first controller, the data transmission can be performed after the identification is performed, and the fact that the MAC address of the main equipment and the standby equipment of the remote end is recorded in a list of the first controller when the main equipment and the standby equipment of the remote end are started, and the list records the upgrading authority corresponding to each MAC, so that the judgment is convenient.
The remote end device includes:
the main controller is used for receiving the upgrade request message;
when judging that the current version number, the pre-upgrading version number and the upgrading time length all meet the upgrading requirements, sending an opening command to the standby controller to acquire the MAC address and the communication port number of the standby controller;
when the main controller is in the teaching state, the standby controller is not needed to operate temporarily, and the standby controller is in a closed or dormant state until the standby controller is awakened. And because the upgrade condition is met, the main controller sends an opening command to the standby controller to wake up, and the subsequent receiving of the upgrade data packet is facilitated by acquiring the MAC address and the communication port number of the standby controller.
If the current version number and the pre-upgrading version number meet the requirements, but the upgrading duration does not meet the upgrading requirements, a delay upgrading message is sent to the first controller, when the first controller receives the delay upgrading message, the address of the main controller is recorded, and the upgrading request is continuously sent to the equipment every 2 hours until the upgrading is completed, or the main controller sends the pre-upgrading request to the first controller when the main controller has the upgrading conditions, so that the first controller sends the upgrading request message to the main controller.
In response to receiving the MAC address and the communication port number, feeding back an upgrade confirmation message to the first controller, wherein the upgrade confirmation message includes a MAC address and a communication port number of a standby controller;
after receiving the MAC address and the communication port number, the main controller feeds back an upgrade confirmation message to the first controller, which indicates that the preparation work is ready and the upgrade can be performed.
The standby controller is used for sending switching information to the first controller and the timekeeping module when the upgrading is finished, so that the first controller stops sending time service data to the main controller during switching, and sends the time service data to the standby controller after the switching is finished;
after receiving the upgrade data packet, the standby controller can perform upgrade operation by itself, at this time, the main controller still performs time service data interaction with the local end, so as to ensure that time service is not interrupted, after the standby controller is upgraded, the standby controller is indicated to have the condition of interacting with the local end, at this time, the upgraded standby controller interacts with the local end by adopting an updated version, after initial interaction is completed, the standby controller can replace the main controller to work as a new main controller, and after time service is continued normally. In the period of switching between the active and standby, the time service operation of the standard time cannot be performed, so that the time service is performed by the time service module, the high voltage stabilizing crystal oscillator and the phase-locked loop are adopted to perform local time service in the switching period, and the local time service is stopped after the switching is completed, so that the synchronous tracking of the standard time from the local end is performed. Specifically, a timekeeping module formed by a crystal oscillator and a phase-locked loop is used for locally timekeeping by taking the last received time service signal as a reference. In the local time keeping process, the time keeping precision is lower as the time lasts longer, so that in the high-precision scene, if the upgrading time length is too long, the delay upgrading message can be sent. After the standby controller sends the switching information to the first controller, the first controller stops sending time service data to the main controller, and after the standby controller sends the switching information to the time keeping module, the time keeping module temporarily keeps and performs time service tasks.
In a specific embodiment, the upgrade request message further includes an upgrade content identifier; in a corresponding manner, the processing unit,
and the main controller is used for detecting the number of decryption modules to determine that the hardware condition meets the requirement and then upgrading the hardware condition when judging that the upgrading content identifier is the key authority upgrading.
In order to further optimize the upgrade process, the embodiment adds an upgrade content identifier, and the upgrade content represents the content used for representing the upgrade version, and it should be noted that, because part of time service data has encryption requirements, for the case of upgrading the encrypted version, whether the decryption module is installed in place needs to be preferentially judged, and if the decryption module is not installed, or the decryption module does not meet the upgrade version requirements, the situation that the data cannot be resolved or the corresponding effect cannot be achieved after the upgrade is forced is possibly caused.
Because the accuracy of the comparison data determines the accuracy of the time available to the remote terminal, the comparison data is encrypted according to the time service accuracy requirement, so that the remote terminal can only decrypt the corresponding field, thereby ensuring the safety of the data. In general, the precision requirement of civil equipment is us level, the higher-level requirement can reach ns and ps level, and the remote end can only decrypt data bits with corresponding precision by encrypting the comparison data. For ns and ps-level decryption, the decryption can be realized only by adding corresponding decryption modules, for example, only the us level is supported before upgrading, if the authority required by the upgraded version is ns-level, the decryption modules with the ns-level corresponding number can be used for decryption, and if the authority is not satisfied, the upgrading is not performed until the condition is detected to be satisfied. Preferably, when the upgrade content identifier is a key authority upgrade, the upgrade content identifier further includes a model of the decryption module, so that the main controller determines whether the model of the decryption module is consistent with the model in the upgrade content identifier.
In a specific embodiment, the main controller is further configured to obtain an upgrade data packet from the standby controller to upgrade after the handover is completed, and close the time-sharing channel with the first controller after the upgrade is completed. After the standby controller is upgraded, the version of the main controller is also the old version, so that the upgrade data packet needs to be acquired from the standby controller for upgrading, so that the versions of the main controller are identical, and the next time of upgrading, the version of the main controller meets the upgrade requirement. Meanwhile, the two main controllers and the standby controllers are the main controllers and the standby controllers, when one chip fails, the two main controllers and the standby controllers can be switched, and the time service equipment cannot work normally.
In a specific embodiment, the first controller sends an upgrade request message through a time service signal frame, wherein the time service signal frame comprises a time service field and an upgrade request field, and the upgrade request field comprises an upgrade request message;
correspondingly, when the master controller receives the time service signal frame, judging that the upgrading request field is empty, performing time service operation, and when judging that the upgrading request field comprises the upgrading request message, performing upgrading operation.
Referring to fig. 3, the present application also provides a remote upgrade method based on optical fiber time service, applied to a local terminal, including:
s21, sending an upgrade request message to each remote terminal device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and an upgrade duration, and the remote terminal device comprises a main controller and a standby controller;
s22, judging whether the MAC address of the remote terminal equipment has upgrading authority or not in response to receiving the upgrading confirmation message sent by the remote terminal equipment, and if so, sending an upgrading data packet to the corresponding communication port.
And S23, stopping sending the time service data to the main controller in response to receiving the switching information, and sending the time service data to the standby controller after the switching is completed.
Referring to fig. 4, the application also provides a remote upgrading method based on optical fiber time service, which is applied to a remote terminal, wherein the remote terminal comprises a main controller, a standby controller and a time keeping module; the method comprises the following steps:
the main controller receives the upgrade request message;
when judging that the current version number, the pre-upgrading version number and the upgrading time length all meet the upgrading requirements, sending an opening command to the standby controller to acquire the MAC address and the communication port number of the standby controller;
in response to receiving the MAC address and the communication port number, an upgrade confirmation message is sent to the local end device, wherein the upgrade confirmation message includes the MAC address and the communication port number of the standby controller;
when the upgrading is finished, the standby controller sends switching information to the local terminal equipment and the timekeeping module, so that the local terminal equipment stops sending time service data to the main controller during switching, and sends the time service data to the standby controller after the switching is finished;
the time keeping module performs local time keeping during switching, and stops the local time keeping after switching is completed, and performs synchronous tracking of the local standard time.
In a specific embodiment, the upgrade request message further includes an upgrade content identifier; in a corresponding manner, the processing unit,
and when the main controller judges that the upgrading content mark is the key authority upgrading, detecting the number of decryption modules to determine that the hardware condition meets the requirement, and upgrading.
In a specific embodiment, after the switching is completed, the main controller acquires the upgrade data packet from the standby controller to upgrade, and closes the time service channel with the local terminal after the upgrade is completed.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Further, one skilled in the art can engage and combine the different embodiments or examples described in this specification.
Although the application is described herein in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the figures, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus (device), or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects all generally referred to herein as a "module" or "system. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. A computer program may be stored/distributed on a suitable medium, supplied together with or as part of other hardware, but may also take other forms, such as via the Internet or other wired or wireless telecommunication systems.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is a further detailed description of the application in connection with the preferred embodiments, and it is not intended that the application be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the application, and these should be considered to be within the scope of the application.

Claims (8)

1. The remote upgrading system based on the optical fiber time service is characterized by comprising local end equipment and a plurality of remote end equipment, wherein the local end equipment and the remote end equipment are communicated through an optical fiber link, the optical fiber link comprises a time service channel and a data transmission channel, the time service channel is used for transmitting time service information, and the data transmission channel is used for transmitting an upgrading data packet;
the local side device comprises:
the first controller is used for sending an upgrade request message to each remote terminal device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and an upgrade duration;
judging whether the MAC address has upgrading authority or not in response to receiving the upgrading confirmation message, and if so, sending an upgrading data packet to a corresponding communication port;
the remote end device includes:
the main controller is used for receiving the upgrade request message;
when judging that the current version number, the pre-upgrading version number and the upgrading time length all meet the upgrading requirements, sending an opening command to the standby controller to acquire the MAC address and the communication port number of the standby controller;
in response to receiving the MAC address and the communication port number, feeding back an upgrade confirmation message to the first controller, wherein the upgrade confirmation message includes a MAC address and a communication port number of a standby controller;
the standby controller is used for sending switching information to the first controller and the timekeeping module when the upgrading is finished, so that the first controller stops sending time service data to the main controller during switching, and sends the time service data to the standby controller after the switching is finished;
the time keeping module is used for carrying out local time keeping by adopting the high-voltage-stabilizing crystal oscillator and the phase-locked loop during switching, stopping local time keeping after switching is finished, and carrying out time synchronization tracking on a first controller of a local terminal.
2. The fiber time based remote upgrade system according to claim 1, wherein the upgrade request message further comprises an upgrade content identification; in a corresponding manner,
and the main controller is used for detecting the number of decryption modules to determine that the hardware condition meets the requirement and then upgrading the hardware condition when judging that the upgrading content identifier is the key authority upgrading.
3. The remote upgrade system according to claim 1, wherein the main controller is further configured to obtain an upgrade data packet from the standby controller for upgrade after the handover is completed, and close the time service channel with the first controller after the upgrade is completed.
4. The remote upgrade system based on fiber optic time service according to claim 1, wherein,
the first controller sends an upgrade request message through a time service signal frame, wherein the time service signal frame comprises a time service field and an upgrade request field, and the upgrade request field comprises an upgrade request message;
correspondingly, when the master controller receives the time service signal frame, judging that the upgrading request field is empty, performing time service operation, and when judging that the upgrading request field comprises the upgrading request message, performing upgrading operation.
5. The remote upgrading method based on the optical fiber time service is characterized by being applied to the remote upgrading system based on the optical fiber time service as claimed in claim 1, wherein the local side method comprises the following steps:
transmitting an upgrade request message to each remote terminal device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and an upgrade duration, and the remote terminal device comprises a main controller and a standby controller;
judging whether the MAC address of the remote terminal equipment has upgrading authority or not when receiving the upgrading confirmation message sent by the remote terminal equipment, and if so, sending an upgrading data packet to a corresponding communication port;
and stopping sending the time service data to the main controller in response to receiving the switching information, and sending the time service data to the standby controller after the switching is completed.
6. The remote upgrading method based on the optical fiber time service is characterized by being applied to the remote upgrading system based on the optical fiber time service as claimed in claim 1, wherein the remote terminal comprises a main controller, a standby controller and a timekeeping module; the remote end method comprises the following steps:
the main controller receives the upgrade request message;
when judging that the current version number, the pre-upgrading version number and the upgrading time length all meet the upgrading requirements, sending an opening command to the standby controller to acquire the MAC address and the communication port number of the standby controller;
in response to receiving the MAC address and the communication port number, upgrading an acknowledgment message to the local end device, wherein the upgrade acknowledgment message includes the MAC address and the communication port number of the standby controller;
when the upgrading is finished, the standby controller sends switching information to the local terminal equipment and the timekeeping module, so that the local terminal equipment stops sending time service data to the main controller during switching, and sends the time service data to the standby controller after the switching is finished;
and during the switching period, a time keeping module formed by the high-voltage-stabilizing crystal oscillator and the phase-locked loop is adopted for local time keeping, the local time keeping is stopped after the switching is finished, and the first controller of the local terminal is subjected to time synchronization tracking.
7. The method for remote upgrade based on fiber optic time service according to claim 6, wherein the upgrade request message further comprises an upgrade content identification; in a corresponding manner,
and when the main controller judges that the upgrading content mark is the key authority upgrading, detecting the number of decryption modules to determine that the hardware condition meets the requirement, and upgrading.
8. The remote upgrading method based on fiber time service according to claim 6, wherein after the switching is completed, the main controller obtains an upgrading data packet from the standby controller to upgrade, and closes a time service channel with the local terminal after the upgrading is completed.
CN202210301532.3A 2022-03-25 2022-03-25 Remote upgrading method and system based on optical fiber time service Active CN114745362B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210301532.3A CN114745362B (en) 2022-03-25 2022-03-25 Remote upgrading method and system based on optical fiber time service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210301532.3A CN114745362B (en) 2022-03-25 2022-03-25 Remote upgrading method and system based on optical fiber time service

Publications (2)

Publication Number Publication Date
CN114745362A CN114745362A (en) 2022-07-12
CN114745362B true CN114745362B (en) 2023-08-29

Family

ID=82276641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210301532.3A Active CN114745362B (en) 2022-03-25 2022-03-25 Remote upgrading method and system based on optical fiber time service

Country Status (1)

Country Link
CN (1) CN114745362B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729948A (en) * 2009-12-02 2010-06-09 中兴通讯股份有限公司 Remote upgrading method and system
CN102394699A (en) * 2011-12-07 2012-03-28 深圳市零一通信技术有限公司 Digital fiber repeater system remote upgrading method
CN104320475A (en) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 Equipment upgrading method and device
CN104993896A (en) * 2015-05-14 2015-10-21 四川泰富地面北斗科技股份有限公司 Time-giving system composed of dedicated optical route and method for implementing same
WO2017133472A1 (en) * 2016-02-02 2017-08-10 上海交通大学 High-precision optical fiber time transmission bi-directional optical amplification method and device
CN107919984A (en) * 2017-11-06 2018-04-17 深圳狗尾草智能科技有限公司 Possess the O&M server and its management method of automatic upgrade function
CN110177022A (en) * 2019-06-28 2019-08-27 武汉虹信通信技术有限责任公司 Tree-like optical fiber distribution system the whole network upgrade control method and device
CN112866098A (en) * 2020-12-31 2021-05-28 泰康保险集团股份有限公司 Gateway time service method, device, electronic equipment and computer readable medium
CN113347699A (en) * 2021-06-11 2021-09-03 四川泰富地面北斗科技股份有限公司 Base station optical fiber time service system based on BD/GPS double antennas
CN113534657A (en) * 2021-08-05 2021-10-22 浙江中控技术股份有限公司 Self-adaptive adjustment method for local clock of industrial control system
CN113810121A (en) * 2021-09-02 2021-12-17 中国科学院国家授时中心 Optical fiber time synchronization method and system based on encrypted communication

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729948A (en) * 2009-12-02 2010-06-09 中兴通讯股份有限公司 Remote upgrading method and system
CN102394699A (en) * 2011-12-07 2012-03-28 深圳市零一通信技术有限公司 Digital fiber repeater system remote upgrading method
CN104320475A (en) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 Equipment upgrading method and device
CN104993896A (en) * 2015-05-14 2015-10-21 四川泰富地面北斗科技股份有限公司 Time-giving system composed of dedicated optical route and method for implementing same
WO2017133472A1 (en) * 2016-02-02 2017-08-10 上海交通大学 High-precision optical fiber time transmission bi-directional optical amplification method and device
CN107919984A (en) * 2017-11-06 2018-04-17 深圳狗尾草智能科技有限公司 Possess the O&M server and its management method of automatic upgrade function
CN110177022A (en) * 2019-06-28 2019-08-27 武汉虹信通信技术有限责任公司 Tree-like optical fiber distribution system the whole network upgrade control method and device
CN112866098A (en) * 2020-12-31 2021-05-28 泰康保险集团股份有限公司 Gateway time service method, device, electronic equipment and computer readable medium
CN113347699A (en) * 2021-06-11 2021-09-03 四川泰富地面北斗科技股份有限公司 Base station optical fiber time service system based on BD/GPS double antennas
CN113534657A (en) * 2021-08-05 2021-10-22 浙江中控技术股份有限公司 Self-adaptive adjustment method for local clock of industrial control system
CN113810121A (en) * 2021-09-02 2021-12-17 中国科学院国家授时中心 Optical fiber time synchronization method and system based on encrypted communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于光纤技术的电能信息采集系统设计;郑国权;《激光杂志》;全文 *

Also Published As

Publication number Publication date
CN114745362A (en) 2022-07-12

Similar Documents

Publication Publication Date Title
CN101595669B (en) Method and device for exchanging information for facilitating synchronization of time network
CN100499652C (en) Communication apparatus and authentication apparatus and method, and operation method
CN107783777A (en) A kind of upgrade method, equipment and the system of vehicle-mounted integral machine
US8005118B2 (en) Method and apparatus for implementing secure clock in device having no internal power source
CN101483576B (en) Version management implementing method in distributed system
WO2015090091A1 (en) Method and system for updating optical distribution network (odn) device by using intelligent management terminal
CN106412064A (en) Remote upgrade method of power utilization information acquisition terminal
CN111104139A (en) Firmware upgrading method, device, equipment and storage medium
CN115357308A (en) Docker-based edge Internet of things proxy device, system and application method
CN114745362B (en) Remote upgrading method and system based on optical fiber time service
US8327028B1 (en) Method and apparatus for providing time synchronization in a data protection system
CN113485952A (en) Data batch transmission method and device
CN103686300A (en) Service guide synchronization method and system
US11016746B2 (en) Method and apparatus for remotely updating satellite devices
US11815975B2 (en) Devices with removable smart cards
CN114207611A (en) Information processing apparatus, information processing method, program, and information processing system
CN100464520C (en) Method and system for realizing distributed data loading
JP2002123398A (en) Device and method for version up processing of software in communication equipment
CN100452725C (en) Log backup method and system unit and device for implementing the same
CN112203170A (en) Upgrading method, device, medium and equipment of optical network unit
CN113377385A (en) Client automatic deployment method and device
KR102030460B1 (en) Real Time Clock Device and Method Thereof
CN111339520B (en) Hardware dog-based online control method, electronic equipment and storage medium
CN115167887B (en) Upgrading method and device, storage medium and electronic equipment
US20220171831A1 (en) Information processing device, information processing method, program, electronic device, and information processing system

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