Fault OLT equipment rapid replacement method and system, and computer storage medium

By using the publish/subscribe message mode of the MQTT protocol in the network management system, the configuration information of the OLT device is saved in real time, and the configuration is automatically issued when the failed OLT is replaced, the inefficiency and configuration consistency of manual configuration during the fault replacement of OLT devices in the prior art is solved, and the rapid replacement of OLT devices and rapid network recovery are achieved.

CN119854108APending Publication Date: 2025-04-18GUANGZHOU XINDE COMMUNICATION TECHNOLOGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411967693.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the event of an OLT device failure, the prior art requires operation and maintenance personnel to manually configure the replaced OLT into the same configuration as the failed OLT, resulting in increased operational costs, inefficiency and configuration consistency problems.

Method used

By obtaining the configuration information of the OLT device and saving it, the latest configuration of OLT is saved in real time using the MQTT protocol publish/subscribe message mode of the network management system. When the failed OLT device is replaced, the network management system will automatically send the configuration information of the failed OLT to the replaced OLT device to realize rapid replacement and network recovery.

Benefits of technology

It realizes rapid replacement of OLT equipment and rapid network recovery, reduces operation and maintenance costs, improves efficiency and configuration consistency, and reduces the risk of manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854108A_ABST
    Figure CN119854108A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a system for quickly replacing faulted OLT (Optical Line Terminal) equipment and a computer storage medium. The method comprises the following steps of: acquiring and storing configuration information of the OLT equipment; when the OLT equipment has a fault, acquiring the MAC address of the faulted OLT equipment; according to the MAC address of the faulted OLT equipment, searching configuration information of the faulted OLT equipment in stored configuration information of the OLT equipment; obtaining the MAC address of the OLT equipment to be replaced; and according to the MAC address of the OLT equipment to be replaced, the configuration information of the OLT equipment with the fault is sent to the OLT equipment to be replaced. According to the invention, the latest current configuration of the OLT is stored in real time by using an MQTT protocol publishing / subscribing message mode of the network management system. And when the faulty OLT equipment is replaced, the network manager quickly issues the configuration of the faulty OLT to the replaced OLT, thereby realizing quick replacement of the OLT and quickly recovering network use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fast replacement of faulty OLT, and more specifically, to a method and system for fast replacement of faulty OLT equipment and a computer storage medium. Background Art

[0002] During engineering maintenance, when an OLT fails and the device cannot be started, maintenance personnel go to the site to replace the OLT. Since the faulty OLT cannot be started normally, the configuration cannot be copied from the faulty OLT to the replacement device. Therefore, the operation and maintenance personnel need to manually configure the replacement OLT to the same configuration as the faulty OLT or import the configuration file when it was deployed to restore network use. However, manually reconfiguring the device and restoring the network requires additional manpower and material resources, especially in large networks, which increases operating costs. In addition, it not only requires high professional skills for maintenance personnel, but also has low efficiency, which is easy to cause various hidden risks such as missing configurations. There is also a configuration consistency problem by importing the deployed configuration file. In the existing network, OLT devices will add or modify configurations as business needs. If the operation and maintenance personnel forget to back up again, the configuration file is not the latest, and configuration inconsistency is likely to occur. Inconsistent configuration will lead to management confusion and increase maintenance difficulty. At the same time, it may cause the traffic management policy to fail, causing network congestion and performance degradation. The priority setting of key services may be lost, resulting in reduced service quality and affecting user experience. It may cause the device to fail to work properly, which in turn causes network interruption and service unavailability. Network interruption will cause business interruption and economic losses. Service unavailability affects customer satisfaction and may result in customer churn. Summary of the invention

[0003] One of the purposes of the present invention is to provide a method for quickly replacing a faulty OLT device, so as to solve the technical problem in the prior art that the operation and maintenance personnel need to manually configure the replaced OLT to the same configuration as the faulty OLT or import the configuration file during deployment in order to restore network use; the second purpose of the present invention is to provide a system for quickly replacing a faulty OLT device; the third purpose of the present invention is to provide a computer storage medium.

[0004] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0005] A first aspect of the present invention provides a method for quickly replacing a faulty OLT device, comprising the following steps:

[0006] Obtain and save the configuration information of the OLT device;

[0007] When an OLT device fails, obtain the MAC address of the failed OLT device;

[0008] According to the MAC address of the faulty OLT device, searching for the configuration information of the faulty OLT device in the saved configuration information of the OLT device;

[0009] Obtain the MAC address of the OLT device to be replaced;

[0010] According to the MAC address of the OLT device to be replaced, the configuration information of the failed OLT device is sent to the OLT device to be replaced.

[0011] In the above technical means, by obtaining and saving the configuration information of the OLT device, it is ensured that the configuration information of the OLR device is the latest configuration information. When replacing, the consistency of the configuration before and after the replacement can be ensured. At the same time, through the faulty OLT MAC and the replacement OLT MAC, the corresponding configuration information is automatically configured and sent to the replaced OLT, so that the network can be quickly restored to use.

[0012] Furthermore, it also includes deploying a network management system on the server, and the network management system obtains the configuration information of the OLT device, saves it, and sends the configuration information of the faulty OLT device to the OLT device to be replaced.

[0013] Further, the obtaining of configuration information of the OLT device includes:

[0014] When the OLT device is installed and deployed, the OLT device uploads the configuration information;

[0015] When the OLT device configuration is changed, the OLT sends a configuration change message to the network management system. After receiving the configuration change message, the network management system sends a query message to the OLT device. After receiving the query message, the OLT device uploads the configuration information to the network management system.

[0016] Further, the obtaining of the configuration information of the OLT device includes:

[0017] The OLT device encapsulates the configuration information into JSON data exchange format and uploads it to the network management system.

[0018] Furthermore, the OLT device is connected to the network management system through the MQTT protocol.

[0019] Furthermore, the network management system parses the configuration information of the OLT device according to the configuration information encapsulated in the JSON data exchange format and saves the configuration information.

[0020] Further, obtaining the MAC address of the failed OLT device and the MAC address of the OLT device to be replaced includes:

[0021] The MAC address of the faulty OLT device and the MAC address of the OLT device to be replaced are input through the mobile terminal, and the mobile terminal sends the MAC address of the faulty OLT device and the MAC address of the OLT device to be replaced to the network management system through the http protocol.

[0022] Further, sending the configuration information of the faulty OLT device to the OLT device to be replaced includes:

[0023] The network management system encapsulates the configuration information of the faulty OLT device into JSON data exchange format, and sends it to the OLT device to be replaced through the MQTT protocol. After receiving the configuration information encapsulated in JSON data exchange format, the OLT device to be replaced parses and obtains the configuration information.

[0024] A second aspect of the present invention provides a system for quickly replacing a faulty OLT device, comprising:

[0025] A configuration information acquisition module, wherein the first acquisition module acquires and saves configuration information of the OLT device;

[0026] A first MAC acquisition module, wherein the first MAC acquisition module acquires the MAC address of the faulty OLT device when the OLT device fails;

[0027] A search module, wherein the search module searches for configuration information of the faulty OLT device in the saved configuration information of the OLT device according to the MAC address of the faulty OLT device;

[0028] A second MAC acquisition module, wherein the second MAC acquisition module acquires a MAC address of the OLT device to be replaced;

[0029] A replacement module, wherein the replacement module sends the configuration information of the failed OLT device to the OLT device to be replaced according to the MAC address of the OLT device to be replaced.

[0030] A third aspect of the present invention provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the method for quickly replacing a faulty OLT device is completed.

[0031] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:

[0032] The present invention utilizes the MQTT protocol publish / subscribe message mode of the network management system to save the latest current configuration of the OLT in real time. When replacing a faulty OLT device, the network management quickly sends the configuration of the faulty OLT to the replacement OLT, so as to achieve rapid replacement of the OLT and rapid restoration of network use. There are certain improvements and enhancements in reliability, maintainability, and user experience. At the same time, the present invention does not require manual intervention in the OLT configuration, which solves the technical problem that manual configuration not only requires high professional skills of maintenance personnel, but also has low efficiency, is prone to omission of configuration, and causes the risk of unavailability of some network services. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic diagram of a process for quickly replacing a faulty OLT device provided by an embodiment of the present invention;

[0034] Figure 2 A schematic diagram of an application network diagram of a method for quickly replacing a faulty OLT device provided by an embodiment of the present invention;

[0035] Figure 3 A schematic diagram of a specific implementation process of uploading configuration information of an OLT device provided in an embodiment of the present invention;

[0036] Figure 4 A schematic diagram of a specific implementation process of quickly replacing an OLT device provided in an embodiment of the present invention;

[0037] Figure 5 A schematic diagram of modules of a system for quickly replacing a faulty OLT device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;

[0039] In order to better illustrate the present embodiment, some parts in the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product;

[0040] It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.

[0041] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0042] Example 1

[0043] This embodiment provides a method for quickly replacing a faulty OLT device. Figure 1 As shown, the following steps are included:

[0044] Obtain and save the configuration information of the OLT device;

[0045] When an OLT device fails, obtain the MAC address of the failed OLT device;

[0046] According to the MAC address of the faulty OLT device, searching for the configuration information of the faulty OLT device in the saved configuration information of the OLT device;

[0047] Obtain the MAC address of the OLT device to be replaced;

[0048] According to the MAC address of the OLT device to be replaced, the configuration information of the failed OLT device is sent to the OLT device to be replaced.

[0049] In a further embodiment, the obtaining the configuration information of the OLT device includes:

[0050] When the OLT device is installed and deployed, the OLT device uploads the configuration information;

[0051] When the OLT device configuration is changed, the OLT sends a configuration change message to the network management system. After receiving the configuration change message, the network management system sends a query message to the OLT device. After receiving the query message, the OLT device uploads the configuration information to the network management system.

[0052] In a further embodiment, the obtaining the configuration information of the OLT device includes:

[0053] The OLT device encapsulates the configuration information into JSON data exchange format and uploads it to the network management system.

[0054] In a further embodiment, the OLT device is communicatively connected to the network management system via the MQTT protocol.

[0055] In a further embodiment, the network management system parses the configuration information of the OLT device according to the configuration information encapsulated in the JSON data exchange format and saves the configuration information.

[0056] In a further embodiment, obtaining the MAC address of the failed OLT device and the MAC address of the OLT device to be replaced includes:

[0057] The MAC address of the faulty OLT device and the MAC address of the OLT device to be replaced are input through the mobile terminal, and the mobile terminal sends the MAC address of the faulty OLT device and the MAC address of the OLT device to be replaced to the network management system through the http protocol.

[0058] In a further embodiment, sending the configuration information of the failed OLT device to the OLT device to be replaced includes:

[0059] The network management system encapsulates the configuration information of the faulty OLT device into JSON data exchange format, and sends it to the OLT device to be replaced through the MQTT protocol. After receiving the configuration information encapsulated in JSON data exchange format, the OLT device to be replaced parses and obtains the configuration information.

[0060] In a specific embodiment, in order to achieve fast and efficient replacement of faulty OLT devices and restore network use. A new method is added, that is, when the OLT device is installed, it is connected to the network management system through the MQTT protocol, and the OLT device encapsulates the configuration into the JSON data exchange format and actively sends it to the network management through MQTT. When the OLT fails, the maintenance personnel replaces it with a normal OLT, logs in to the APP, enters the faulty OLT MAC and the replacement OLT MAC on the fault replacement page, and submits the information to the network management system. The network management system automatically sends the configuration of the faulty OLT to the replacement OLT, so that the network can be quickly restored to use.

[0061] In addition, by subscribing to the MQTT topic, when the OLT device configuration changes, the OLT will actively report it to the network management, and the network management will send and obtain the OLT configuration, so as to achieve real-time update and save the OLT configuration, ensuring the consistency of the OLT configuration.

[0062] The technical solution of the present invention consists of five parts, namely: the network management system is deployed to the cloud server; the OLT device uploads the configuration to the network management system; the network management updates the OLT configuration in real time; the network management system obtains the fault and replaces the OLT MAC; the network management system sends the configuration to the replacement OLT to realize the rapid recovery of the network.

[0063] The following is a detailed description:

[0064] 1. Deploy the network management system to the cloud server:

[0065] The cloud service builds an MQTT server (or MQTT broker) for forwarding MQTT messages. The publish / subscribe message mode used by MQTT designs the topic of device configuration changes as: PP_(config_file_change).

[0066] 2. Upload the OLT device configuration to the network management system:

[0067] After the network management system is deployed to the cloud server, when the OLT device is installed and deployed, log in to the OLT web interface to configure the network management system address. The OLT device is connected to the network management system through the MQTT protocol. The OLT device encapsulates the configuration into JSON data exchange format and actively sends it to the network management through MQTT. The network management receives the data, parses the device configuration through the JSON format data, and saves it on the network management system.

[0068] 3. The network management obtains the current configuration of OLT in real time

[0069] In the existing network, OLT devices will add or modify configurations as business needs demand. When the OLT device configuration is changed, in order to ensure that the OLT configuration saved by the network management system is the latest configuration, a message is sent to the network management system through the MQTT publishing topic PP_(config_file_change). When the network management system receives the subscribed topic, it actively sends a query message to the OLT. The OLT receives the query message and also reports the configuration in JSON format through MQTT. The network management receives the data, parses the device configuration through the JSON format data, and saves it on the network management system.

[0070] 4. The network management system obtains fault information and replaces OLT MAC

[0071] Install the network management APP on your mobile phone, enter the network management system server address on the APP, and the APP communicates with the network management system through the HTTP protocol. When the OLT fails, the maintenance personnel replace it with a normal OLT, and then install the replaced OLT in step 2 to connect to the network management system. At the same time, enter the faulty OLT MAC and the replacement OLT MAC on the fault replacement page of the APP. The APP submits the information to the network management system through the http protocol.

[0072] 5. The network management system sends configuration to the replacement OLT to achieve rapid network recovery

[0073] The network management system receives the fault and replacement OLT MAC sent by the APP, finds the corresponding configuration file through the faulty OLT MAC, encapsulates the configuration into JSON format, and sends the configuration to the replacement OLT through MQTT. The replacement OLT receives the MQTT message, parses the JSON data, and performs configuration.

[0074] Realize the application networking of fast recovery of faulty OLT network Figure 2 As shown, the method is as Figure 3 and Figure 4 As shown below:

[0075] The first step is to deploy the network management system to the cloud server: the cloud service builds an MQTT server (or MQTT broker) for forwarding MQTT messages; the publish / subscribe message mode used by MQTT designs the topic of device configuration changes as: PP_(config_file_change);

[0076] The second step is to upload the OLT device configuration to the network management system: After the network management system is deployed to the cloud server, when the OLT device is installed and deployed, log in to the OLT web interface to configure the network management system address. The OLT device is connected to the network management system through the MQTT protocol. The OLT device encapsulates the configuration into JSON data exchange format and actively sends it to the network management through MQTT. The network management receives the data, parses the device configuration through the JSON format data, and saves it on the network management system.

[0077] Step 3: The network management obtains the current configuration of the OLT in real time: In the existing network, the OLT device will add or modify the configuration as the business needs. When the OLT device configuration is changed, in order to ensure that the OLT configuration saved by the network management system is the latest configuration, a message is sent to the network management system through the MQTT publishing topic PP_(config_file_change). When the network management system receives the subscription topic, it actively sends a query message to the OLT. The OLT receives the query message and also reports the configuration in JSON format through MQTT. The network management receives the data, parses the device configuration through the JSON format data, and saves it on the network management system.

[0078] Step 4: The network management system obtains the fault and replacement OLT MAC: Install the network management APP on the mobile phone, enter the network management system server address on the APP, and the APP communicates with the network management system through the HTTP protocol. When the OLT fails, the maintenance personnel replace it with a normal OLT, and then install the replaced OLT in step 2 and connect it to the network management system. At the same time, enter the fault OLT MAC and the replacement OLT MAC on the fault replacement page of the APP. The APP submits the information to the network management system through the http protocol.

[0079] Step 5: The network management system sends the configuration to the replacement OLT to achieve rapid network recovery: The network management system receives the fault and replacement OLT MAC sent by the APP, finds the corresponding configuration file through the faulty OLT MAC, encapsulates the configuration into JSON format, and sends the configuration to the replacement OLT through MQTT. The replacement OLT receives the MQTT message, parses the JSON data, and performs configuration.

[0080] Example 2

[0081] This embodiment provides a system for quickly replacing a faulty OLT device. Figure 5 As shown, the system applies a method for quickly replacing a faulty OLT device provided in Example 1, including:

[0082] A configuration information acquisition module, wherein the first acquisition module acquires and saves configuration information of the OLT device;

[0083] A first MAC acquisition module, wherein the first MAC acquisition module acquires the MAC address of the faulty OLT device when the OLT device fails;

[0084] A search module, wherein the search module searches for configuration information of the faulty OLT device in the saved configuration information of the OLT device according to the MAC address of the faulty OLT device;

[0085] A second MAC acquisition module, wherein the second MAC acquisition module acquires a MAC address of the OLT device to be replaced;

[0086] A replacement module, wherein the replacement module sends the configuration information of the failed OLT device to the OLT device to be replaced according to the MAC address of the OLT device to be replaced.

[0087] Example 3

[0088] This embodiment provides a computer storage medium, wherein the computer storage medium stores a computer program. When the computer program is executed by a processor, the method for quickly replacing a faulty OLT device described in Embodiment 1 is completed.

[0089] The same or similar reference numerals correspond to the same or similar components;

[0090] The terms used in the drawings to describe positional relationships are only used for illustrative purposes and should not be construed as limiting this patent;

[0091] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A method for quickly replacing a faulty OLT device, characterized in that: The following steps are involved: Obtain and save the configuration information of the OLT device; When an OLT device fails, obtain the MAC address of the failed OLT device; According to the MAC address of the faulty OLT device, searching for the configuration information of the faulty OLT device in the saved configuration information of the OLT device; Obtain the MAC address of the OLT device to be replaced; According to the MAC address of the OLT device to be replaced, the configuration information of the failed OLT device is sent to the OLT device to be replaced.

2. The method for quickly replacing a faulty OLT device according to claim 1, characterized in that: The method also includes deploying a network management system on a server, wherein the network management system obtains configuration information of the OLT device, saves the configuration information, and sends the configuration information of the faulty OLT device to the OLT device to be replaced.

3. The method for quickly replacing a faulty OLT device according to claim 2, characterized in that: The obtaining of the configuration information of the OLT device includes: When the OLT device is installed and deployed, the OLT device uploads the configuration information; When the OLT device configuration is changed, the OLT sends a configuration change message to the network management system. After receiving the configuration change message, the network management system sends a query message to the OLT device. After receiving the query message, the OLT device uploads the configuration information to the network management system.

4. The method for quickly replacing a faulty OLT device according to claim 3, characterized in that: The obtaining of the configuration information of the OLT device includes: The OLT device encapsulates the configuration information into JSON data exchange format and uploads it to the network management system.

5. The method for quickly replacing a faulty OLT device according to claim 4, characterized in that: The OLT device is connected to the network management system through the MQTT protocol.

6. The method for quickly replacing a faulty OLT device according to claim 5, characterized in that: The network management system parses the configuration information of the OLT device according to the configuration information encapsulated in the JSON data exchange format and saves the configuration information.

7. The method for quickly replacing a faulty OLT device according to claim 6, characterized in that: Obtain the MAC address of the faulty OLT device and the MAC address of the OLT device to be replaced, including: The MAC address of the faulty OLT device and the MAC address of the OLT device to be replaced are input through the mobile terminal, and the mobile terminal sends the MAC address of the faulty OLT device and the MAC address of the OLT device to be replaced to the network management system through the http protocol.

8. The method for quickly replacing a faulty OLT device according to claim 7, characterized in that: The configuration information of the failed OLT device is sent to the OLT device to be replaced, comprising: The network management system encapsulates the configuration information of the faulty OLT device into the JSON data exchange format, and sends it to the OLT device to be replaced through the MQTT protocol. After receiving the configuration information encapsulated in the JSON data exchange format, the OLT device to be replaced parses and obtains the configuration information.

9. A system for quickly replacing a faulty OLT device, characterized in that: include: A configuration information acquisition module, wherein the first acquisition module acquires and saves configuration information of the OLT device; A first MAC acquisition module, wherein the first MAC acquisition module acquires the MAC address of the faulty OLT device when the OLT device fails; A search module, wherein the search module searches for configuration information of the faulty OLT device in the saved configuration information of the OLT device according to the MAC address of the faulty OLT device; A second MAC acquisition module, wherein the second MAC acquisition module acquires a MAC address of the OLT device to be replaced; A replacement module, wherein the replacement module sends the configuration information of the failed OLT device to the OLT device to be replaced according to the MAC address of the OLT device to be replaced.

10. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method for quickly replacing a faulty OLT device according to any one of claims 1 to 8 is completed.

Citation Information

Patent Citations

  • Network device management method, network device management apparatus and server

    CN108429644A

  • Registration method of optical network unit and optical line terminal

    CN116248186A

  • ONU local connection rapid copying and replacing method, medium and ONU equipment

    CN116528095A

  • Link-up control method, station-side device, and olt

    JP2024070927A

  • Passive optical network protection method, switchover control device, and passive optical network protection system

    US20110317995A1