ONU equipment upgrading method and system based on multicast and storage medium

By adopting the multicast-based ONU device upgrade method in the optical network, the problems of low upgrade efficiency and network congestion in the prior art are solved, and efficient and reliable parallel upgrades are achieved.

CN120075051APending Publication Date: 2025-05-30SHENZHEN C-DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510227070.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-27
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The upgrade of ONU devices in existing optical networks usually adopts unicast mode, which is less efficient and easily causes network congestion.

Method used

The multicast-based ONU device upgrade method is adopted to send an upgrade request message to the ONU device through the OLT device. After the ONU device receives and verifys, the OLT device uses the multicast channel to send a multicast upgrade message to the ONU device to realize parallel upgrade.

Benefits of technology

Improve upgrade efficiency, reduce network congestion, and enhance the reliability of upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075051A_ABST
    Figure CN120075051A_ABST
Patent Text Reader

Abstract

The invention discloses an ONU (Optical Network Unit) equipment upgrading method based on multicast, which comprises the following steps: S1, OLT (Optical Line Terminal) equipment issues an upgrading request message to ONU equipment, and the upgrading request message comprises an ONU model, a manufacturer, an ONU ID (Identity), a multicast upgrading address, a file size and a file check code; s2, the ONU equipment receives the upgrading request message and verifies the ONU ID, the ONU model and the manufacturer; s3, the OLT equipment sends a multicast upgrading message to the ONU equipment by using a multicast channel; s4, receiving the multicast upgrading message by the ONU equipment, and after the ONU equipment receives a complete message once, sending the multicast upgrading message to the ONU equipment; and S5, the ONU equipment is upgraded, if upgrading fails, upgrading failure information is reported to the OLT equipment, and if upgrading succeeds, upgrading success information is reported to the OLT equipment. According to the invention, upgrading efficiency can be improved and network congestion can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of optical network units, and particularly to a method, system, and storage medium for upgrading an ONU device based on multicast. Background Art

[0002] In the existing optical network, the upgrade of ONU devices usually adopts the unicast method. This method has low efficiency in large-scale networks (the current method of upgrading ONUs by OLT is slow and can only upgrade ONUs one by one, and cannot upgrade them simultaneously), and it is easy to cause network congestion (using the OMCI channel for upgrading, the channel bandwidth is small and the upgrade is slow). To solve this problem, the present invention proposes a method for upgrading ONUs based on multicast. Summary of the Invention

[0003] The purpose of the present invention is to provide a method, system, and storage medium for upgrading an ONU device based on multicast, so as to improve the upgrade efficiency and reduce network congestion.

[0004] To achieve the above purpose, the following technical solutions are adopted:

[0005] A method for upgrading an ONU device based on multicast includes the following steps:

[0006] S1: The OLT device sends an upgrade request message to the ONU device, where the upgrade request message includes the ONU model, manufacturer, ONU ID, multicast upgrade address, file size, and file checksum;

[0007] S2: The ONU device receives the upgrade request message, and checks the ONU ID, ONU model, and manufacturer to determine whether to enter the multicast upgrade mode;

[0008] S3: The OLT device uses the multicast channel to send a multicast upgrade message to the ONU device, where the multicast upgrade message contains the upgrade file and a special message;

[0009] S4: The ONU device receives the multicast upgrade message, and after receiving a complete message, checks the upgrade file. If the check fails, it reports the check failure information to the OLT device. If the check is successful, it enters the upgrade stage;

[0010] S5: The ONU device performs the upgrade. If the upgrade fails, it reports the upgrade failure information to the OLT device. If the upgrade is successful, it reports the upgrade success information to the OLT device.

[0011] Further, in step S3, the number of times the OLT device uses the multicast channel to send the multicast upgrade message to the ONU device is 3 times.

[0012] Further, in S3, the special messages include a start message and an end message.

[0013] Further, in S1, the ONU ID adopts a mask format with a length of 8 bytes, and each bit corresponds to an ONU ID.

[0014] A multicast-based ONU device upgrade system includes an OLT device and an ONU device. Among them, the OLT device uses the above method to upgrade the ONU device.

[0015] A computer-readable storage medium stores a computer program, and the computer program is adapted to be loaded and executed by a processor so that a computer device with the processor executes the above method.

[0016] Adopting the above solution, the beneficial effects of the present invention are as follows:

[0017] 1) Improve the upgrade efficiency: All ONUs can be upgraded in parallel, greatly improving the upgrade efficiency and reducing the upgrade time;

[0018] 2) Reduce network congestion: Use the multicast channel for upgrading, with a larger bandwidth, faster file transfer, and reduced network congestion;

[0019] 3) Enhance reliability: By sending upgrade messages multiple times and a verification mechanism, the reliability of the upgrade is improved, and the probability of upgrade failure is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a flowchart of the present invention. DETAILED DESCRIPTION

[0021] The present invention will be described in detail below with reference to the drawings and specific embodiments.

[0022] Refer to Figure 1 As shown, the present invention provides a multicast-based ONU device upgrade method, including the following steps:

[0023] S1: The OLT device sends an upgrade request message to the ONU device. Among them, the upgrade request message includes the ONU model, manufacturer, ONU ID, multicast upgrade address, file size, and file checksum.

[0024] In this step, the OLT device first communicates with the ONU device group to ensure that the hardware link is okay. Subsequently, the OLT device sends an upgrade request message, and the message content includes:

[0025] ONU model identifier;

[0026] Device manufacturer identifier;

[0027] ONU ID mask format data;

[0028] Multicast upgrade address;

[0029] Upgrade file size and checksum;

[0030] Among them, the ONU ID adopts the mask format, with a length of 8 bytes, and each bit corresponds to an ONU ID.

[0031] S2: The ONU device receives the upgrade request message, and checks the ONU ID, ONU model, and manufacturer to determine whether to enter the multicast upgrade mode.

[0032] In this step, after receiving the message, the ONU device performs a multi-level check operation, including:

[0033] Check whether the ONU ID matches the mask format;

[0034] Check whether the model and manufacturer identification are legal;

[0035] Activate the multicast upgrade mode after passing the check;

[0036] And determine whether to enter the multicast upgrade mode. If the check fails, the ONU device does not enter the upgrade mode; if the check is successful, the ONU enters the multicast upgrade mode.

[0037] S3: The OLT device uses the multicast channel to send a multicast upgrade message to the ONU device. Among them, the multicast upgrade message contains an upgrade file and a special message.

[0038] In this step, the OLT device uses the multicast channel to send the upgrade message 3 times. The multicast message contains special messages (start message and end message). Among them, the start message is used to notify the ONU to start receiving the upgrade file, and the end message is used to notify the ONU to stop receiving the upgrade file.

[0039] S4: The ONU device receives the multicast upgrade message, and after receiving a complete message, checks the upgrade file. If the check fails, it reports the check failure information to the OLT device. If the check is successful, it enters the upgrade stage.

[0040] In this step, after receiving the multicast upgrade message, the ONU device performs the following operations:

[0041] After receiving a complete message, check the upgrade file;

[0042] The ONU checks the upgrade file by checking the integrity and accuracy of the message.

[0043] S5: The ONU device performs an upgrade. If the upgrade fails, it reports the upgrade failure information to the OLT device. If the upgrade is successful, it reports the upgrade success information to the OLT device.

[0044] Upgrade phase:

[0045] When the upgrade fails, report the upgrade failure information;

[0046] After the upgrade is successful, report the upgrade success information;

[0047] After the upgrade is successful, the ONU automatically restarts and applies the new upgrade file, and at the same time reports the upgrade success information to the OLT.

[0048] In addition, in S3, the multicast channel is a high - bandwidth transmission channel independent of the OMCI management channel, and the sending interval of each upgrade message does not exceed the preset network delay threshold. The integrity check in S4 includes CRC check and file size comparison. If the check fails 3 times in a row, the upgrade process is terminated and the abnormal state is marked. And in S5, after receiving the upgrade failure feedback, the OLT automatically triggers the re - transmission mechanism, and the upper limit of the re - transmission times is 3 times.

[0049] At the same time, the multicast upgrade address is a dynamically allocated IPv4 / IPv6 multicast address, and is bound to the physical port of the ONU to achieve isolated transmission. The multi - level check operation in S2 also includes version compatibility verification. Only when the ONU firmware version is lower than the upgrade file version is it allowed to enter the upgrade mode.

[0050] In addition, a multicast - based ONU device upgrade system is also provided, including an OLT device and an ONU device. Among them, the OLT device uses the above - mentioned method to upgrade the ONU device.

[0051] Meanwhile, a computer-readable storage medium is also provided. The computer-readable storage medium stores a computer program, which is adapted to be loaded and executed by a processor so that a computer device having the processor executes the above method. The computer-readable storage medium may be the image processing module provided in any of the foregoing embodiments or an internal storage unit of the computer device, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0052] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A multicast-based ONU device upgrade method, characterized in that: The steps include: S1: The OLT device sends an upgrade request message to the ONU device, wherein the upgrade request message includes the ONU model, manufacturer, ONU ID, multicast upgrade address, file size and file check code; S2: The ONU device receives the upgrade request message, verifies the ONU ID, ONU model, and manufacturer, and determines whether to enter the multicast upgrade mode; S3: The OLT device sends a multicast upgrade message to the ONU device using a multicast channel, wherein the multicast upgrade message includes an upgrade file and a special message; S4: The ONU device receives the multicast upgrade message, and after receiving a complete message, verifies the upgrade file. If the verification fails, it reports the verification failure information to the OLT device. If the verification succeeds, it enters the upgrade phase; S5: The ONU device is upgraded. If the upgrade fails, the upgrade failure information is reported to the OLT device. If the upgrade succeeds, the upgrade success information is reported to the OLT device.

2. The multicast-based ONU device upgrade method according to claim 1, characterized in that: In S3, the OLT device uses the multicast channel to send the multicast upgrade message to the ONU device three times.

3. The ONU device upgrade method based on multicast according to claim 1, characterized in that: In S3, the special message includes a start message and an end message.

4. The multicast-based ONU device upgrade method according to claim 1, characterized in that: In S1, the ONU ID adopts a mask format with a length of 8 bytes, wherein each bit corresponds to an ONU ID.

5. A multicast-based ONU device upgrade system, characterized in that: The method comprises an OLT device and an ONU device, wherein the OLT device uses the method described in any one of claims 1 to 4 to upgrade the ONU device.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method of claims 1 to 4.