Method for remotely upgrading a configuration file, optical network terminal, and EPON system

By adding the verification mechanism of upgrade threads and marking files in the EPON system, the remote upgrade configuration files of EPON-ONU devices are realized, solving the problem of high maintenance costs in the existing technology and improving the convenience and compatibility of equipment maintenance.

CN116137592BActive Publication Date: 2025-07-29SHENZHEN JIXIANG TENGDA TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310178045.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2025-07-29
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

Existing EPON-ONU devices cannot remotely upgrade configuration files, resulting in high maintenance costs and difficult maintenance in remote areas.

Method used

In the EPON system, by adding upgrade threads to the user-side optical network terminal, remotely receiving and verifying configuration files, including marking files, importing configuration files and restarting, to ensure that the configuration files are legal and available, and to support the OAM management protocol for remote upgrades.

Benefits of technology

The function of remotely upgrading configuration files in the EPON system is realized, reducing manual maintenance costs, avoiding remote import failures caused by environmental problems, and improving the convenience and compatibility of equipment maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116137592B_ABST
    Figure CN116137592B_ABST
Patent Text Reader

Abstract

The present invention provides a method for remotely upgrading a configuration file, an optical network terminal, and an EPON system. The method for remotely upgrading a configuration file according to the present invention includes the following steps: (1) The optical network terminal on the user side receives an upgrade message and creates an upgrade thread; (2) Remotely receive an upgrade configuration file: The upgrade configuration file includes a configuration file to be upgraded and a marker file, and the marker file is used to drive the upgrade thread to execute the upgrade process; The processing method of the upgrade thread is: Check the configuration file marker. If it exists, import the configuration file, and then restart to complete the upgrade of the configuration file. If not, upgrade the firmware normally. The beneficial effect of the present invention is: Based on the firmware upgrade process of EPON, the function of importing the configuration file is remotely implemented on the user side.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fiber optic broadband, and particularly relates to a method for remotely upgrading a configuration file, and also relates to an optical network terminal and an EPON system for implementing the method for remotely upgrading the configuration file. Background Art

[0002] Currently, EPON-ONU only supports remotely upgrading firmware and does not support remotely upgrading configuration files. The main methods for mainstream ONU devices to import configuration files for upgrading are as follows:

[0003] WEB import;

[0004] Remotely import using the TR069 protocol remote management system.

[0005] However, WEB import requires the user side to be within the local area network of the EPON-ONU device to import the device, which is not conducive to maintenance management and has a high maintenance cost.

[0006] Remotely import using the TR069 protocol remote management system: After the EPON-ONU device establishes a normal report of TR069WAN, remote management and remote import of configurations and other operations can be performed. There is a situation where the user deletes TR069WAN, resulting in a risk of being unable to remotely import the configuration file. If normalcy needs to be restored, the installation and maintenance personnel need to visit the site to restore the device to normal. If in remote areas, it will increase the maintenance cost and maintenance resources. Summary of the Invention

[0007] To solve the problems of inability to remotely upgrade and high maintenance cost in the prior art, the present invention provides a method for remotely upgrading a configuration file, and also provides an optical network terminal and an EPON system for implementing the method for remotely upgrading the configuration file. Thus, as long as the EPON-ONU device can be authenticated and go online normally, it can remotely use the OAM management protocol to import the configuration file, which is convenient for installation and maintenance personnel to perform device maintenance and reduces labor costs.

[0008] The method for remotely upgrading a configuration file according to the present invention includes the following steps:

[0009] (1) The optical network terminal on the user side receives an upgrade message and creates an upgrade thread;

[0010] (2) Remotely receive an upgrade configuration file: The upgrade configuration file includes a configuration file to be upgraded and a marker file, and the marker file is used to drive the upgrade thread to execute the upgrade process;

[0011] The processing method of the upgrade thread is as follows:

[0012] Verify the configuration file marker. If it exists, import the configuration file, and then restart to complete the configuration file upgrade. If not, upgrade the firmware normally.

[0013] For a further improvement of the present invention, in step (1), the marker file and the configuration file are packaged into a compressed file, which is convenient for the user-side optical network terminal to identify the files after decompression.

[0014] For a further improvement of the present invention, the marker file is a file with the TDE_BACKUP field.

[0015] For a further improvement of the present invention, when the transmission of the upgrade configuration file ends, the user-side optical network terminal decompresses the file through the upgrade script, reads all the decompressed files, and retrieves whether there is a marker file. If not, it goes through the firmware upgrade process. If so, it goes through the upgrade configuration file process.

[0016] For a further improvement of the present invention, the processing method of the upgrade configuration file process is as follows:

[0017] After obtaining the configuration file, execute a command to convert the configuration file into a real-time configuration file. After completion, perform a restart operation. During the restart process, the executed configuration file is the remotely issued configuration file.

[0018] The present invention also provides an optical network terminal for implementing the method of remotely upgrading the configuration file, including:

[0019] Message receiving module: used to receive remote upgrade messages;

[0020] Thread creation module: used to create an upgrade thread when receiving a remote upgrade message;

[0021] Upgrade configuration file receiving module: used to remotely receive the upgrade configuration file: the upgrade configuration file includes the configuration file to be upgraded and the marker file, and the marker file is used to drive the upgrade thread to execute the upgrade process;

[0022] Upgrade module: used to upgrade the configuration file through the upgrade thread.

[0023] The present invention also provides an EPON system including the optical network terminal, further including an OAM module and an OLT module respectively connected to the user-side optical network terminal. The OAM module is used to issue remote upgrade messages, and the OLT module is used to transmit the upgrade configuration file to the user-side optical network terminal. The optical network terminal is used to start the upgrade operation by receiving the remote upgrade message, and upgrade the firmware and the configuration file through the upgrade configuration file.

[0024] Compared with the prior art, the beneficial effects of the present invention are as follows: The original EPON system is unable to remotely distribute configuration files. Based on the EPON firmware upgrade process, this invention realizes the function of remotely importing configuration files on the user side, which neither affects the normal upgrade process nor the normal use of the optical network terminal on the user side. Through strict verification measures, it is ensured that the configuration files received by the ONU are legal and usable. As long as the EPON-OLT supports firmware upgrade, the configuration files can be distributed and then imported, without compatibility issues with the optical line terminal OLT, solving the technical problem of being unable to remotely import configuration files via the TR069 protocol due to environmental problems. It does not require the installation and maintenance personnel to go to the site, greatly facilitating the maintenance of equipment by the installation and maintenance personnel and reducing labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the solutions in the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0026] Figure 1 It is a flowchart of the method of the present invention;

[0027] Figure 2 It is a block diagram of the EPON system of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the art belonging to the technical field of the present application; the terms used in the description of the present application in the specification are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second", etc. in the specification and claims of the present application or the above drawings are used to distinguish different objects and are not used to describe a specific order.

[0029] Reference to "embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those of ordinary skill in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0030] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings.

[0031] As Figure 2 shown, the present invention realizes remote upgrade of the optical network terminal on the user side through EPON-ONU, including an optical network terminal and an OAM module remotely connected to the optical network terminal on the user side through an optical fiber. The OAM module is used to send remote upgrade messages and upgrade configuration files, and the optical network terminal is used to start the upgrade operation by receiving the remote upgrade message, and upgrade the firmware and configuration files through the upgrade configuration file. The full English name of EPON is Ethernet Passive Optical Network, and the Chinese meaning is Ethernet Passive Optical Network. The full English name of ONU is Optical Network Unit, and the Chinese meaning is Optical Network Unit. In this example, the OLT module between the optical network terminal and the OAM module is an important equipment at the central office end, which can be connected to devices such as the front-end (aggregation layer) switch with network cables, converted into optical signals, and interconnected with the optical splitter at the user end with a single optical fiber; realizing operations such as control, management, and ranging of the ONU device at the user end.

[0032] According to the actual needs of operator network operation, the network management work is usually divided into three categories: Operation, Administration, Maintenance, abbreviated as OAM.

[0033] The present invention is applicable not only to the ONU multi-user network terminal managed by OAM, but also to the single-user network terminal, such as the HGU, SFU devices, etc. managed by OAM.

[0034] The present invention will be described in detail taking the ONU remote upgrade configuration file as an example.

[0035] As Figure 1 shown, the method for remotely upgrading the configuration file of the present invention includes the following steps:

[0036] (1) The optical network terminal on the user side receives the upgrade message and creates an upgrade thread;

[0037] (2) Remotely receive the upgrade configuration file: The upgrade configuration file includes the configuration file to be upgraded and a marker file, and the marker file is used to drive the upgrade thread to execute the upgrade process;

[0038] The processing method of the upgrade thread is:

[0039] Verify the configuration file marker. If it exists, import the configuration file, and then restart to complete the upgrade of the configuration file. If not, upgrade the firmware normally.

[0040] Based on the original ONU firmware upgrade process, the present invention adds the function of upgrading the configuration file on the ONU side. After the configuration file is normally imported, the OAM module will report successful upgrade; otherwise, it will report a CRC check error. The present invention neither affects the normal upgrade process nor the normal use of the ONU. Through strict verification measures, it is ensured that the configuration file received by the ONU is legal and usable. As long as the EPON-OLT supports firmware upgrade, the configuration file can be sent down and then imported, and there is no compatibility problem with the OLT. By using the OLT to achieve remote transmission and import of the configuration file, the technical problem of being unable to remotely import the configuration file through the TR069 protocol due to environmental problems is solved.

[0041] The following details the specific implementation of the present invention.

[0042] In the EPON system, the OLT (optical line terminal) can remotely upgrade the firmware of the ONU. When the ONU side receives the upgrade message of the OAM, that is, after the message with the extended byte of the OAM being 0x06 and after receiving the OLT firmware transmission end message, an upgrade thread is created to independently process the upgrade task. This upgrade thread performs the upgrade process, first decompressing the file, matching the file, verifying the file, and then performing the firmware upgrade action. At the same time, to implement the process of importing the configuration, the following processes are mainly added:

[0043] The configuration file is marked with the TDE_BACKUP marker file and packed into a compressed file.

[0044] Add a process in the upgrade script to verify whether it is a configuration file and add an interface for importing the configuration file.

[0045] The implementation of the present invention is mainly divided into three key points:

[0046] 1. The configuration file is marked with the TDE_BACKUP marker file and packed into a compressed file

[0047] The original ONU firmware upgrade process does not have the function of importing the configuration file. When the configuration file is sent down, the ONU side will directly report a CRC check error. Therefore, a file with a field of TDE_BACKUP needs to be packed with the configuration file into a compressed file for the ONU side to identify the file after decompression.

[0048] 2. Verify whether the file has TDE_BACKUP

[0049] When the file transfer in the OAM file ends, unzip the script file, read all the files after unzipping, and check if there is a configuration file. If not, continue with the firmware upgrade process. If there is, for the configuration file, follow the upgrade configuration file process.

[0050] 3. Import the configuration file

[0051] After obtaining the configuration file, execute the loadconfig command to convert the configuration file into a real-time configuration file. After completion, perform a restart operation. After the restart is completed, the OAM module will report a successful upgrade message, and the OLT can then check that the upgrade is successful, indicating that the configuration file has been completely imported into the ONU, improving the robustness of the import mechanism. During the ONU restart process, the configuration file being executed is the remotely issued configuration file.

[0052] It is worth mentioning that there is no EPON protocol to support the upgrade of the configuration file. The function of the configuration file needs to be developed within the framework compliant with CTC3.0, otherwise compatibility issues will occur. Through the method of the present invention, it can be well compatible with the original firmware upgrade process, thus on the basis of the existing framework unchanged, solving the technical problem that the configuration file cannot be remotely imported via the TR069 protocol due to environmental problems. It does not require the maintenance personnel to go to the site, greatly facilitating the maintenance personnel to maintain the equipment and reducing the labor cost.

[0053] The above-mentioned specific implementation manner is the preferred implementation manner of the present invention, and does not limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to this specific implementation manner. All equivalent changes made in accordance with the present invention are within the protection scope of the present invention.

Claims

1. A method for remotely upgrading a configuration file, characterized in that, It includes the following steps: (1) The user-side optical network terminal receives the upgrade message and creates an upgrade thread; (2) Remotely receive the upgrade configuration file: The upgrade configuration file includes the configuration file to be upgraded and a marker file, and the marker file is used to drive the upgrade thread to execute the upgrade process; The processing method of the upgrade thread is as follows: Verify the configuration file marker. If it exists, import the configuration file and then restart to complete the upgrade of the configuration file. If not, upgrade the firmware normally. The marker file is a file with the TDE_BACKUP field. When the transmission of the upgrade configuration file ends, the user-side optical network terminal extracts the file through the upgrade script, reads all the extracted files, and retrieves whether there is a marker file. If not, it goes through the firmware upgrade process. If there is, it goes through the upgrade configuration file process.

2. The method for remotely upgrading a configuration file according to claim 1, wherein: In step (1), the marker file and the configuration file are packaged into a compressed file to facilitate file identification after extraction by the user-side optical network terminal.

3. The method for remotely upgrading a configuration file according to claim 2, wherein: The processing method of the upgrade configuration file process is as follows: After obtaining the configuration file, execute a command to convert the configuration file into a real-time configuration file. After completion, perform a restart operation. During the restart process, the configuration file executed is the remotely issued configuration file.

4. An optical network terminal for performing the method of remotely upgrading a configuration file according to any one of claims 1-3, characterized in that, It includes: Message receiving module: Used to receive the remote upgrade message; Thread creation module: Used to create an upgrade thread when receiving the remote upgrade message; Upgrade configuration file receiving module: Used to remotely receive the upgrade configuration file: The upgrade configuration file includes the configuration file to be upgraded and a marker file, and the marker file is used to drive the upgrade thread to execute the upgrade process; Upgrade module: Used to upgrade the configuration file through the upgrade thread.

5. An EPON system, comprising an optical network terminal as described in claim 4, characterized in that: It further includes an OAM module and an OLT module respectively connected to the user-side optical network terminal. The OAM module is used to issue the remote upgrade message, and the OLT module is used to transmit the upgrade configuration file to the user-side optical network terminal. The optical network terminal is used to start the upgrade operation by receiving the remote upgrade message and upgrade the firmware and configuration file through the upgrade configuration file.

Citation Information

Patent Citations

  • Automatic upgrading method and system of firmware version of optical network unit

    CN102098590A

  • Method for upgrading configuration file of optical network unit in GPON system

    CN103108262A