CN114745362A - 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
CN114745362A
CN114745362A CN202210301532.3A CN202210301532A CN114745362A CN 114745362 A CN114745362 A CN 114745362A CN 202210301532 A CN202210301532 A CN 202210301532A CN 114745362 A CN114745362 A CN 114745362A
Authority
CN
China
Prior art keywords
upgrading
upgrade
time service
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.)
Granted
Application number
CN202210301532.3A
Other languages
Chinese (zh)
Other versions
CN114745362B (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

Images

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 invention 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 end equipment comprises: a first controller, the remote end device comprising: the system comprises a main controller, a standby controller and a time keeping 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 technical personnel from entering a machine room to replace board card equipment, improves the version updating safety and the updating efficiency, and simultaneously avoids unnecessary risks caused by time service interruption; in addition, the remote end equipment carries out version upgrading operation through the cooperation of the main controller and the standby controller, and further improves the efficiency and the safety of version upgrading.

Description

Remote upgrading method and system based on optical fiber time service
Technical Field
The invention 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 current mainstream remote precise 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 with the advantages 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 better compatible with an optical fiber communication system.
However, in the optical fiber transmission system, time transmission needs to be realized through communication between the local end and the remote end, and during the operation of the system, the version of the time service system also needs to be updated continuously to meet the safety requirement and the system operation requirement. However, the existing time service system equipment is generally installed in a machine room, so that a plurality of stations of the machine room are provided, and if the equipment is frequently updated, inconvenience is brought when the equipment enters the machine room for a plurality of times. In addition, some users need to update programs when using the system, and need technicians to take out the board card and download version program updates to the board card through special equipment. Due to the fact that the operation of inserting and extracting the card is needed, a large safety risk is brought when updating is conducted, and the risk that the system is broken down due to updating failure exists.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a remote upgrading method and system based on optical fiber time grant. The technical problem to be solved by the invention is realized by the following technical scheme:
a remote upgrading system based on 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 end equipment comprises:
the first controller is used for sending an upgrade request message to each remote end device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and upgrade duration;
when the upgrading confirmation message is received, judging whether the MAC address has upgrading authority, if so, sending an upgrading data packet to a corresponding communication port;
the remote end device includes:
the main controller is used for receiving an upgrading request message;
when judging that the current version number, the pre-upgrade version number and the upgrade duration all meet the upgrade requirement, sending an opening command to the standby controller to acquire an MAC address and a communication port number of the standby controller; feeding back an upgrade confirm message to the first controller in response to receiving the MAC address and the communication port number, wherein the upgrade confirm message includes the MAC address and the communication port number of the standby controller;
the standby controller is used for sending switching information to the first controller and the time keeping module when upgrading is completed, so that the first controller stops sending time service data to the main controller during switching, and sends time service data to the standby controller after switching is completed;
the time keeping module is used for locally keeping time by adopting a high voltage-stabilizing crystal control oscillator and a phase-locked loop in the switching period, stopping locally keeping time after switching is completed, and synchronously tracking the time of the first controller at the local end.
In a specific embodiment, the upgrade request message further includes an upgrade content identifier; in a corresponding manner, the light-emitting diode is provided with a light-emitting diode,
and the main controller is used for detecting the number of the decryption modules to determine that the hardware condition meets the requirement and then upgrading the software when judging that the upgrade content identifier is the key authority upgrade.
In a specific embodiment, the main controller is further configured to obtain an upgrade data packet from the standby controller for upgrading after the switching is completed, and close a timing channel with the first controller after the upgrading is completed.
In a specific embodiment, the first controller sends an upgrade request message through a time service signal frame, where the time service signal frame includes a time service field and an upgrade request field, and the upgrade request field includes an upgrade request message;
correspondingly, when the main controller receives the time service signal frame, the time service operation is carried out when the upgrading request field is judged to be empty, and the upgrading operation is carried out when the upgrading request field is judged to include the upgrading request message.
The invention also provides a remote upgrading method based on optical fiber time service, which is applied to a local end and comprises the following steps:
sending an upgrade request message to each remote end device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and upgrade duration, and the remote end device comprises a main controller and a standby controller;
and when an upgrade confirmation message sent by the remote end equipment is received, judging whether the MAC address of the remote end equipment has an upgrade authority, and if so, sending an upgrade data packet to a corresponding communication port.
And when the switching information is received, stopping sending the time service data to the main controller, and sending the time service data to the standby controller after the upgrading time length is exceeded.
The invention 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 timekeeping module; the method comprises the following steps:
the main controller receives an upgrading request message;
when judging that the current version number, the pre-upgrade version number and the upgrade duration all meet the upgrade requirement, sending an opening command to the standby controller to acquire an MAC address and a communication port number of the standby controller;
in response to receiving the MAC address and the communication port number, upgrading a confirmation message to a local end device, wherein the upgrading confirmation message comprises the MAC address and the communication port number of the standby controller;
when the upgrade is completed, the standby controller sends switching information to the local end equipment and the timekeeping module, so that the local end equipment stops sending time service data to the main controller during the switching period, and sends the time service data to the standby controller after the switching is completed;
during the switching period, a timekeeping module consisting of a high voltage-stabilizing crystal control oscillator and a phase-locked loop is adopted for carrying out local timekeeping, the local timekeeping is stopped after the switching is finished, and time synchronization tracking is carried out on a first controller at the local end.
In a specific embodiment, the upgrade request message further includes an upgrade content identifier; in a corresponding manner, the light-emitting diode is provided with a light-emitting diode,
and when the main controller judges that the upgrade content identifier is the key authority upgrade, detecting the number of the decryption modules to determine that the hardware condition meets the requirement, and then upgrading.
In a specific embodiment, after the switching is completed, the main controller acquires an upgrade data packet from the standby controller for upgrading, and closes a time service channel with the local end after the upgrading is completed.
The invention 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 technical personnel from entering a machine room to replace board card equipment, improves the version updating safety and the updating efficiency, and simultaneously avoids unnecessary risks caused by time service interruption; in addition, the remote equipment carries out version upgrading operation through the cooperation of the main controller and the standby controller, and further improves the efficiency and the safety of version upgrading.
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Drawings
Fig. 1 is a schematic diagram of a remote upgrading system module based on optical fiber time service according to an embodiment of the present invention;
fig. 2 is a frame structure of local end transmission data when a remote upgrade system based on optical fiber time service is upgraded according to an embodiment of the present invention;
fig. 3 is a schematic local end flow diagram of a remote upgrading method based on optical fiber time service according to an embodiment of the present invention;
fig. 4 is a schematic flow diagram of a remote end of a remote upgrading method based on optical fiber time service according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to specific examples, but the embodiments of the present invention are not limited thereto.
Example one
Referring to fig. 1, 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 invention, including a local device and a plurality of remote devices, where the local device and the remote devices communicate with each other through an optical fiber link, where the optical fiber link includes a time service channel and a data transmission channel, the time service channel is used to transmit time service information, and the data transmission channel is used to transmit an upgrade data packet;
the local end device of the embodiment is a service end for providing time service data, the local end transmits information such as a 10MHz signal, a 1PPS signal, a UTC time code, bidirectional comparison result data and the like to the remote end device through a time service channel, the remote end can be normally used after time update is carried out according to the information, generally, data transmission is carried out through an optical fiber link, and because the existing time service technology generally only carries out time service information transmission through an optical fiber, a data transmission channel does not exist, in the embodiment, for safely and efficiently transmitting version data, an upgrade data packet for version update is transmitted through the optical fiber link; since the additional 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, during normal authorization, the frame structure includes the device address of the remote end, 1PPS signal, comparison data, UTC time code information, and 10MHz carrier signal, and the length of each frame signal is 10ms, where the first 100 μ s includes the device address, 1PPS signal, comparison data, and time code information, and the remaining 9.9ms is 10MHz carrier signal. The remote end equipment of each site can continuously receive the frame signals sent by the local end equipment and analyze the frame signals through the internal decoder. The 10MHz carrier signal is used for an internal time keeping module, so that the remote end equipment has good time keeping capability. In this embodiment, please refer to fig. 2 when transmitting the upgrade data packet, a frame structure of the upgrade data packet 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, a length of each frame signal is changed to 1s, where 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 end equipment comprises:
the first controller is used for sending an upgrade request message to each remote end device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and upgrade duration;
the local end generally needs to give time to different remote ends, the requirements of the different remote ends are different, and the corresponding versions are also different, so when the local end has a new version, the local end needs to send the new version to each remote end, the remote end judges whether to update the version, correspondingly, the upgrade request message needs to carry the current version number and the pre-upgrade version number so as to be convenient for the remote end to judge, and in addition, when the different versions are upgraded and switched, the time spent is different from tens of minutes to hours. When the version is updated, the remote end equipment can not accurately give time in the upgrading switching process, only a clock signal with lower precision can be provided through the timekeeping module, if the remote end equipment is working under 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 during upgrading switching, and therefore the remote end can conveniently judge whether the remote end is suitable for upgrading currently or not by sending upgrading time length data. For example, if the upgrade time is 1 hour, and the remote end performs experiments such as gravitational wave test after 5 minutes, and a high-precision time is required, it is not suitable for the upgrade.
When the upgrading confirmation message is received, judging whether the MAC address has upgrading authority, 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 end has the upgrade condition 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 end has the upgrade permission. Because the remote end performs switching operation on the main equipment and the standby equipment, and the provided MAC address is a standby equipment address and has no direct interaction with the first controller, data transmission can be performed only after identification, it should be noted that when the main equipment and the standby equipment of the remote end are started, the MAC address is recorded in a list of the first controller, and the list records the upgrade authority corresponding to each MAC, so that judgment is facilitated.
The remote end device includes:
the main controller is used for receiving an upgrading request message;
when judging that the current version number, the pre-upgrade version number and the upgrade duration all meet the upgrade requirement, sending an opening command to the standby controller to acquire an MAC address and a communication port number of the standby controller;
the standby controller is temporarily not required to operate while the primary controller is taught, at which point the standby controller is in an off or dormant state until awakened. And the main controller sends an opening command to the standby controller to wake up due to the satisfaction of the upgrading condition, and the standby controller is convenient to subsequently receive the upgrading data packet by acquiring the MAC address and the communication port number of the standby controller.
If the current version number and the pre-upgrade version number meet the requirements but the upgrade duration does not meet the upgrade requirements, a delayed upgrade message is sent to the first controller, when the first controller receives the delayed upgrade message, the address of the main controller is recorded, and upgrade request messages are continuously sent to the equipment at intervals of 2 hours until the upgrade is completed, or when the main controller meets the upgrade conditions, a pre-upgrade request is sent to the first controller, so that the first controller sends the upgrade request message to the main controller.
Feeding back an upgrade confirm message to the first controller in response to receiving the MAC address and the communication port number, wherein the upgrade confirm message includes the MAC address and the communication port number of the standby controller;
and the main controller feeds back an upgrade confirmation message to the first controller after receiving the MAC address and the communication port number, which indicates that the preparation work is ready and the upgrade can be carried out.
The standby controller is used for sending switching information to the first controller and the timekeeping module when upgrading is completed so that the first controller stops sending time service data to the main controller during switching, and sends time service data to the standby controller after switching is completed;
the standby controller can automatically perform upgrading operation after receiving the upgrading data packet, at the moment, the main controller still performs time service data interaction with the local end, time service is not interrupted, after the standby controller is upgraded, the standby controller is shown to have the condition of interaction with the local end, the upgraded standby controller adopts an updated version to interact with the local end, after initial interaction is completed, the standby controller can replace the main controller to work as a new main controller, and then time service continues to be performed normally. In the period of performing the main-standby switching, because the time service operation of the standard time cannot be performed, the time service is performed through the time keeping module, the high voltage stabilization crystal oscillator and the phase-locked loop are used for performing local time keeping in the switching period, and the local time keeping is stopped after the switching is completed, and the synchronous tracking of the standard time from the local end is performed. Specifically, a time keeping module composed of a crystal oscillator and a phase-locked loop is used for carrying out local time keeping by taking the last received time service signal as a reference. It should be noted that, in the local time keeping process, the accuracy of time keeping is lower as the time lasts longer, so in a high-accuracy scenario, if the upgrade duration is determined to be too long, the delayed upgrade message may be sent. After the standby controller sends the switching information to the first controller, the first controller stops sending the 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 the time service data to carry out the time service task.
In a specific embodiment, the upgrade request message further includes an upgrade content identifier; in a corresponding manner, the light-emitting diode is provided with a light-emitting diode,
and the main controller is used for detecting the number of the decryption modules to determine that the hardware condition meets the requirement and then upgrading the software when judging that the upgrade content identifier is the key authority upgrade.
In order to further optimize the upgrading process, an upgrade content identifier is added in the embodiment, the upgrade content represents content used for representing an upgrade version, and it should be noted that, because part of the time service data has an encryption requirement, it is required to preferentially determine whether the decryption module is installed in place for the situation of upgrading the encryption version, and if the decryption module is not installed or does not meet the requirement of upgrading the version, the situation that the data cannot be analyzed or the corresponding effect cannot be achieved after upgrading can be forced.
Because the precision of the comparison data determines the precision of the time which can be obtained by the remote end, the comparison data is encrypted according to the time service precision requirement, so that the remote end can only decrypt the corresponding field, and the safety of the data is ensured. Generally, the precision requirement of the civil equipment is us level, higher level requirement can reach ns and ps level, and the remote end can only decrypt data bits with corresponding precision by encrypting comparison data. For decryption at ns and ps levels, the decryption can be realized only by adding a corresponding decryption module, for example, only us level is supported before upgrading, if the authority required by the upgraded version is ns level, the decryption module with the corresponding number of ns levels can decrypt, if the authority is not satisfied, the upgrade is not performed until the condition is detected to be satisfied. Preferably, when the upgrade content identifier is a key right for 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 for upgrading after the switching is completed, and close a timing channel with the first controller after the upgrading is completed. After the standby controller is upgraded, the version of the main controller is still the old version, so that the standby controller needs to acquire an upgrade data packet for upgrading, and the versions of the main controller and the standby controller are the same, so that the version of the main controller meets the upgrade requirement in the next upgrade. Meanwhile, the two main controllers are main controllers and standby controllers, and can be switched when one chip fails, so that 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, where the time service signal frame includes a time service field and an upgrade request field, and the upgrade request field includes an upgrade request message;
correspondingly, when the main controller receives the time service signal frame, the time service operation is carried out when the upgrading request field is judged to be empty, and the upgrading operation is carried out when the upgrading request field is judged to include the upgrading request message.
Referring to fig. 3, the present invention also provides a remote upgrade method based on optical fiber time service, applied to a local end, including:
s21, sending an upgrade request message to each remote end device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and upgrade duration, and the remote end device comprises a main controller and a standby controller;
and S22, when the upgrade confirmation message sent by the remote end equipment is received, judging whether the MAC address of the remote end equipment has the upgrade authority, and if so, sending an upgrade data packet to the corresponding communication port.
And S23, in response to receiving the switching information, stopping sending the time service data to the main controller, and after the switching is completed, sending the time service data to the standby controller.
Referring to fig. 4, the present invention also provides a remote upgrade method based on optical fiber time service, which is applied to a remote end, where the remote end includes a main controller, a standby controller, and a time keeping module; the method comprises the following steps:
the main controller receives an upgrading request message;
when judging that the current version number, the pre-upgrade version number and the upgrade duration all meet the upgrade requirement, sending an opening command to the standby controller to acquire an MAC address and a communication port number of the standby controller;
in response to receiving the MAC address and the communication port number, upgrading a confirmation message to a local end device, wherein the upgrading confirmation message comprises the MAC address and the communication port number of the standby controller;
when the upgrade is completed, the standby controller sends switching information to the local end equipment and the timekeeping module, so that the local end equipment stops sending time service data to the main controller during the switching period, and sends the time service data to the standby controller after the switching is completed;
the time keeping module carries out local time keeping during the switching period, and stops the local time keeping after the switching is finished, and carries out 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 light-emitting diode is provided with a light-emitting diode,
and when the main controller judges that the upgrade content identifier is the key authority upgrade, detecting the number of the decryption modules to determine that the hardware condition meets the requirement, and then upgrading.
In a specific embodiment, after the switching is completed, the main controller acquires an upgrade data packet from the standby controller for upgrading, and closes a time service channel with the local end after the upgrading is completed.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean 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 invention. In this specification, the schematic representations of the terms used above are not necessarily intended to be 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. Furthermore, various embodiments or examples described in this specification can be combined and combined by those skilled in the art.
While the present application has been described 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 drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "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.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus (device), or computer program product. Accordingly, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects that may all generally be 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 is stored/distributed on a suitable medium supplied together with or as part of other hardware, but may also be distributed in 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions may be made without departing from the spirit of the invention, which should be construed as belonging to the scope of the invention.

Claims (8)

1. A remote upgrading system based on 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 end equipment comprises:
the first controller is used for sending an upgrade request message to each remote end device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and upgrade duration;
when the upgrading confirmation message is received, judging whether the MAC address has upgrading authority, if so, sending an upgrading data packet to a corresponding communication port;
the remote end device includes:
the main controller is used for receiving an upgrading request message;
when judging that the current version number, the pre-upgrade version number and the upgrade duration all meet the upgrade requirement, sending an opening command to the standby controller to acquire an MAC address and a communication port number of the standby controller;
feeding back an upgrade confirm message to the first controller in response to receiving the MAC address and the communication port number, wherein the upgrade confirm message includes the MAC address and the communication port number of the standby controller;
the standby controller is used for sending switching information to the first controller and the timekeeping module when upgrading is completed 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 switching is completed;
the time keeping module is used for locally keeping time by adopting a high voltage-stabilizing crystal control oscillator and a phase-locked loop in the switching period, stopping locally keeping time after switching is completed, and performing time synchronization tracking on a first controller at a local end.
2. The optical fiber time service-based remote upgrading system according to claim 1, wherein the upgrading request message further includes an upgrading content identifier; accordingly, the method can be used for solving the problems that,
and the main controller is used for detecting the number of the decryption modules to determine that the hardware condition meets the requirement and then upgrading the software when judging that the upgrade content identifier is the key authority upgrade.
3. The optical fiber time service-based remote upgrading system of claim 1, wherein the main controller is further configured to obtain an upgrade data packet from the standby controller for upgrading after the switching is completed, and close the time service channel with the first controller after the upgrading is completed.
4. The optical fiber time service-based remote upgrading system according to claim 1,
the first controller sends an upgrading request message through a time service signal frame, wherein the time service signal frame comprises a time service field and an upgrading request field, and the upgrading request field comprises an upgrading request message;
correspondingly, when the main controller receives the time service signal frame, the time service operation is carried out when the upgrading request field is judged to be empty, and the upgrading operation is carried out when the upgrading request field is judged to include the upgrading request message.
5. A remote upgrading method based on optical fiber time service is applied to a local end and is characterized by comprising the following steps:
sending an upgrade request message to each remote end device, wherein the upgrade request message comprises a current version number, a pre-upgrade version number and upgrade duration, and the remote end device comprises a main controller and a standby controller;
and when an upgrade confirmation message sent by the remote end equipment is received, judging whether the MAC address of the remote end equipment has an upgrade authority, and if so, sending an upgrade data packet to a corresponding communication port.
And stopping sending the time service data to the main controller when the switching information is received, and sending the time service data to the standby controller after the switching is completed.
6. A remote upgrading method based on optical fiber time service is applied to a remote end and is characterized in that 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 an upgrading request message;
when judging that the current version number, the pre-upgrade version number and the upgrade duration all meet the upgrade requirement, sending an opening command to the standby controller to acquire an MAC address and a communication port number of the standby controller;
in response to receiving the MAC address and the communication port number, upgrading a confirmation message to a local end device, wherein the upgrading confirmation message comprises the MAC address and the communication port number of the standby controller;
when the upgrade is completed, the standby controller sends switching information to the local end equipment and the timekeeping module, so that the local end equipment stops sending time service data to the main controller during the switching period, and sends the time service data to the standby controller after the switching is completed;
during the switching period, a timekeeping module consisting of a high voltage-stabilizing crystal control oscillator and a phase-locked loop is adopted for local timekeeping, the local timekeeping is stopped after the switching is finished, and time synchronization tracking is carried out on a first controller at a local end.
7. The optical fiber time service-based remote upgrading method according to claim 6, wherein the upgrading request message further includes an upgrading content identifier; accordingly, the method can be used for solving the problems that,
and when the main controller judges that the upgrade content identifier is the key authority to be upgraded, detecting the number of the decryption modules to determine that the hardware condition meets the requirement and then upgrading.
8. The remote upgrading method based on optical fiber time service of claim 6, wherein after the switching is completed, the main controller obtains the upgrading data packet from the standby controller for upgrading, and closes the time service channel with the local end 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 true CN114745362A (en) 2022-07-12
CN114745362B 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
CN114745362B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
US9529580B2 (en) Vehicle control update methods and systems
US8522206B2 (en) Selective delta validation of a shared artifact
WO2015090091A1 (en) Method and system for updating optical distribution network (odn) device by using intelligent management terminal
CN104899116B (en) Method, source server, destination server and the system of data backup
WO2006071447A2 (en) Management of persistent software applications
EP1806672A2 (en) Device and method for storing current time information
CN104102501B (en) A kind of mobile terminal and its upgrade method
EP2495919B1 (en) Method and system for implementing time processing of message
CN106412064A (en) Remote upgrade method of power utilization information acquisition terminal
CN110806883A (en) Method and device for safely upgrading firmware and computer readable medium
CN111694590A (en) Upgrading method of intelligent water meter
CN113810121B (en) Optical fiber time synchronization method and system based on encrypted communication
CN114745362B (en) Remote upgrading method and system based on optical fiber time service
US10834204B2 (en) Transmitting display information based on communication protocols
CN103686300A (en) Service guide synchronization method and system
CN110361757A (en) Electronic watch and information acquisition method
CN113485952A (en) Data batch transmission method and device
US11016746B2 (en) Method and apparatus for remotely updating satellite devices
US11815975B2 (en) Devices with removable smart cards
KR102312362B1 (en) Wireless charging equipment, terminal, service providing device, wireless charging system comprising the same, control method thereof and computer readable medium having computer program recorded therefor
CN110244968A (en) Charging station management system and method
CN102946559B (en) The upgrade method of a kind of digital TV terminal, terminal, server and system thereof
EP4284055A1 (en) Channel transmission method and apparatus, terminal, base station, and storage medium
CN112346750B (en) Configuration software control method, system and storage medium
CN113760581A (en) MQTT-based method and system for synchronizing attribute information of intelligent terminal

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