Method and equipment for acquiring management information base of optical network unit
By establishing management control channels and management information database reset messages in the optical network unit, the problem of excessive MIB upload interaction between OLT and ONU is solved, and the effect of saving CPU resources and shortening ONU online time is achieved.
Patent Information
- Application Number
- CN202510366179.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-06-13
AI Technical Summary
During the acquisition of the management information database of existing optical network units, there is a lot of interaction between the OLT and the ONU, which leads to a large amount of CPU resources occupied by the optical circuit terminal and increases the ONU launch time.
By establishing a management control channel connected to the ONU, sending a management information library reset message and a key field request message, receiving a response message, and based on this information, searching the public MIB linked list in the public MIB table, copying it to the ONU cached MIB table to reduce the interaction of uploading MIBs.
It reduces the MIB upload interaction between OLT and ONU, saves CPU resources of optical circuit terminals, and shortens the ONU launch time.
Smart Images

Figure CN120151698A_ABST
Abstract
Description
Technical Field
[0001] This application relates to communication technologies, and specifically to a method and device for obtaining the management information base of an optical network unit. Background Art
[0002] The MIB (Management Information Base) is the core data model used to describe the management objects of an ONU (Optical Network Unit) in a GPON network. The MIB is based on the OMCI (ONU Management and Control Interface) protocol and structurally abstracts the hardware functions (such as ports and optical modules) and software configurations (such as VLAN and QoS policies) of the ONU through predefined MEs (Managed Entities).
[0003] The MIB is defined through standardized ME Classes, shielding the hardware differences of ONUs from different manufacturers. The OLT does not need to concern itself with the physical implementation details and only needs to operate on the logical objects in the MIB according to the protocol, that is, uniformly manage ONUs manufactured by different manufacturers.
[0004] Based on the MIB of the ONU, the OLT (Optical Line Terminal) obtains the management objects and capabilities of the ONU, manages the ONU, reads the ONU status, receives events from the ONU, configures dynamic configuration parameters for the ONU, and ensures that the actual configuration and status of the ONU are consistent with the expected values of the OLT. Summary of the Invention
[0005] The purpose of this application is to provide a method and device for obtaining the management information base of an optical network unit, so as to accelerate the online time of the optical network unit.
[0006] To achieve the above purpose, this application provides a method for obtaining the management information base of an optical network unit. The method includes: establishing a management control channel connecting to the first optical network unit ONU; sending a management information base reset message to the first ONU; sending a first keyword field request message to the first ONU; receiving a first keyword field response message from the first ONU; based on the management control protocol version information, device identifier, manufacturer identifier, and device version information carried in the first keyword field response message, finding the first common MIB linked list in the common management information base MIB table; and copying the found first common MIB linked list to the cached MIB table of the first ONU.
[0007] To achieve the above object, the present application also provides a device for obtaining the management information base of an optical network unit. The device includes a processor and a memory; the processor runs the instructions stored in the memory to perform the following processes: establish a management control channel connecting to the first optical network unit (ONU); send a management information base reset message to the first ONU; send a first key field request message to the first ONU; receive a first key field response message from the first ONU; based on the management control protocol version information, device identifier, manufacturer identifier, and device version information carried in the first key field response message, find the first common MIB linked list in the common management information base (MIB) table; copy the found first common MIB linked list to the cache MIB table of the first ONU.
[0008] The beneficial effects of the present application are as follows: reduce the interaction between the OLT and the ONU for uploading the ONU MIB, save the CPU resource occupancy of the optical line terminal, and reduce the online time of a large number of ONUs. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 It is a flowchart of an embodiment of a method for obtaining the management information base of an optical network unit provided by the present application;
[0010] Figure 2 It is a flowchart of another embodiment of a method for obtaining the management information base of an optical network unit provided by the present application;
[0011] Figures 3A - 3C It is a schematic diagram of the common management information base table of the optical line terminal provided by the present application;
[0012] Figure 4 It is a schematic diagram of an embodiment of a device for obtaining the management information base of an optical network unit provided by the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0013] Multiple examples shown in multiple drawings will be described in detail. In the following detailed description, multiple specific details are used to provide a comprehensive understanding of the present application. Known methods, steps, components, and circuits are not described in detail in the examples to avoid making these examples difficult to understand.
[0014] Among the terms used, the term "including" means including but not limited to; the term "containing" means including but not limited to; the terms "above", "within", and "below" include the number; the terms "greater than" and "less than" do not include the number. The term "based on" means at least based on a part of it.
[0015] Figure 1 It is a flowchart of an embodiment of a method for obtaining the management information base of an optical network unit provided by the present application; this embodiment includes:
[0016] Step 101: Establish a management control channel connected to the ONU;
[0017] Step 102: Send a management information base reset message to the ONU;
[0018] Step 103: Send a key field request message to the ONU;
[0019] Step 104: Receive a key field response message from the ONU;
[0020] Step 105: Locate the common MIB linked list of the ONU in the common MIB table;
[0021] Based on the key field response message sent by the ONU, the OLT obtains the management control protocol version information, device identifier, manufacturer identifier, and device version information carried in the message, and locates the matching common MIB linked list in the common MIB table of the OLT.
[0022] Step 106: Copy the located common MIB linked list to the cached MIB table of the ONU.
[0023] Figure 1 The beneficial effect of the embodiment is to reduce the interaction between the OLT and the ONU for uploading the ONU MIB, save the CPU resource occupancy of the optical line terminal, and reduce the online time of a large number of ONUs.
[0024] Figure 2 This is a flowchart of another embodiment of a method for obtaining the management information base of an optical network unit provided by this application;
[0025] Step 201: No matching common MIB linked list is located in the common MIB table.
[0026] After the OLT device is started, the common MIB table is initialized. The key fields of the common MIB table include: OMCC (ONT Management and Control Channel) version information, ONU device identifier (Equipment ID), ONU device manufacturer code (Vendor product code), and ONU software version.
[0027] In this application, four fields, namely the OMCC version information, ONU device identifier, ONU device manufacturer code, and ONU software version, are used as the unique identifier to jointly determine the uniqueness of the MIB configuration of an ONU device. Among them, different versions of the OMCC protocol may result in different MIB configurations for the same device. The OMCC protocol version information is used to clarify protocol compatibility. The ONU device identifier and ONU device manufacturer code are used to uniquely identify a type of ONU to avoid the same Equipment ID for ONUs produced by different device manufacturers. The software version of the same type of ONU device may also cause changes in the MIB configuration.
[0028] After the ONU device is powered on, the MIB is filled based on the preset configuration parameters of the ONU (such as hardware parameters and default capabilities) and local storage information (such as serial number and version number) to complete the initialization of the MIB.
[0029] The OLT sends an upstream overhead PLOAM (Upstream Over Head Physical Layer Operations, Administration, and Maintenance) message to the ONU to configure the ONU upstream transmission parameters to ensure the optical signal synchronization between the ONU and the OLT.
[0030] The OLT sends a ranging time PLOAM (Ranging Time PLOAM) message to the ONU to measure the round-trip delay (RTT) of the ONU and dynamically adjust the time slot allocation to avoid multi-ONU upstream data conflicts.
[0031] The OLT sends a configure port ID PLOAM (Configure Port Id PLOAM) message to the ONU to assign a unique logical port identifier (Port ID) to the ONU for the precise control and management of the ONU by the OLT.
[0032] The ONU sends an acknowledge PLOAM (Acknowledge PLOAM) message to the OLT. When the OLT receives the ACK PLOAM message from the ONU, it confirms the successful ranging. After the ACK PLOAM message interaction is completed, the OLT sends an OMCI (ONT Management Control Interface) configuration message to the ONU, and the OLT establishes an OMCC channel to connect to the ONU.
[0033] The OLT allocates a GEM Port for the ONU to carry OMCI messages, configures a TCONT (transmission container) for the ONU and allocates an Alloc-ID (logical bandwidth unit identifier), binds the GEM Port allocated to the ONU to the TCONT configured for the ONU, and sends the allocated GEM Port and Alloc-ID to the ONU device. The ONU successfully receives and applies the GEM Port and Alloc-ID configurations, and replies to the OLT with an OMCI ACK (OMCI response) message, establishing an OMCC management channel between the OLT and the ONU for transmitting OMCI protocol packets.
[0034] The OLT sends a MIB Reset (management information base reset) message to the ONU to clear the dynamic configuration parameters of the ONU device, ensuring that the MIB of the ONU is in its initial state.
[0035] The OLT sends an OMCI message requesting key fields to the ONU through the OMCC management channel, carrying the requested key fields: the OMCC protocol version field, the device identifier field, the manufacturer identifier field, and the device version field.
[0036] The ONU sends the OMCC version v1, device name E2, device manufacturer code P1, and software version v3 of this device to the OLT through the OMCI message responding with key fields.
[0037] The OLT receives the OMCI message responding with key fields and searches in the common MIB table 30 shown in Figure 3A and fails to find a matching common MIB linked list.
[0038] Figure 3A In, the common MIB linked list 301 of the common MIB table 30 stores 5 MIB node data, and the common MIB linked list 302 stores 4 MIB node data.
[0039] Step 202, establish a common MIB linked list in the common MIB table.
[0040] As Figure 3B shown, the OLT establishes a common MIB linked list 302 in the common MIB table 30, and records the OMCC version v1, device name E2, device manufacturer code P1, and software version v3 responded by the ONU in the key fields of the common MIB linked list 303; the data part of the common MIB linked list 301 is empty
[0041] Step 203, the OLT sends a MIB upload message to the ONU;
[0042] The OLT sends a MIB upload (Upload) OCMI message to the ONU.
[0043] Step 204, the OLT receives and stores the MIB uploaded by the ONU.
[0044] The complete MIB of the ONU includes four MIB node data: MIB node data 1, MIB node data 2, MIB node data 3, and MIB node data 4.
[0045] The ONU first responds to the OLT with an OMCI message carrying an indication that the number of MIB node data is 4.
[0046] The OLT clears the recorded number of uploaded MIB nodes of the ONU and sends an MIB Continue Upload (Upload Next) OMCI message to the ONU.
[0047] The ONU sends an MIB upload OMCI message carrying MIB node data 1 to the OLT; the OLT modifies the recorded number of uploaded MIB nodes of the ONU from 0 to 1 and records the MIB node data 1 uploaded by the ONU in the MIB information table of the cached ONU and the public MIB linked list 303 respectively.
[0048] The OLT determines that the recorded number of uploaded MIB nodes of the ONU, which is 1, is less than the recorded number of MIB node data, which is 4. It continues to send an MIB Continue Upload OMCI message to the ONU and records the MIB node data 2 uploaded by the ONU in the MIB information table of the cached ONU and the public MIB linked list 303 respectively. This is repeated until the OLT receives an MIB upload OMCI message carrying MIB node data 4 from the ONU; the OLT modifies the recorded number of uploaded MIB nodes to 4, records MIB node data 1 - 4 in the MIB information table of the cached ONU, and records MIB node inputs 1 - 4 in the public MIB linked list 303, as Figure 3C shown.
[0049] After the ONU device goes offline, the MIB information table of the ONU cached on the OLT is cleared. When the ONU goes online again, the OLT establishes an OMCC channel with the ONU, sends an MIB Reset message to the ONU to clear the dynamic configuration parameters of the ONU's MIB, and then sends a keyword field request OMCI message to the ONU. It receives a keyword field response OMCI message from the ONU, which carries the ONU's OMCC version v1, device name E2, device manufacturer code P1, and software version v3.
[0050] Based on the received keyword fields, the OLT Figure 3C finds the public MIB linked list 303 in the public MIB table 30 as shown, and copies the MIB node inputs 1 - 4 recorded in the public MIB linked list 303 to the MIB table of the cached ONU.
[0051] In this way, the interaction for uploading the ONU MIB between the OLT and the ONU is reduced, the CPU resource occupancy of the optical line terminal is saved, and the MIB data between the OLT and the ONU is strictly synchronized to configure dynamic parameters for the ONU, reducing the online time of the ONU. In a network environment with a large number of deployed ONUs, the online time of a large number of ONUs can be reduced.
[0052] Figure 4 FIG. is a schematic diagram of an apparatus embodiment for obtaining the management information base of an optical network unit provided by the present application. The apparatus 40 includes a processor and a memory; the memory stores instructions executed by the processor; wherein, the processor is configured to perform the following processes by running the above instructions: establish a management control channel connecting to a first optical network unit ONU; send a management information base reset message to the first ONU; send a first key field request message to the first ONU; receive a first key field response message from the first ONU; based on the management control protocol version information, device identifier, manufacturer identifier, and device version information carried in the first key field response message, find a first common MIB linked list in the common management information base MIB table; copy the found first common MIB linked list to the cache MIB table of the first ONU.
[0053] The processor is further configured to perform the following processes by running the above instructions: establish a management control channel connecting to a second ONU; send a management information base reset message to the second ONU; send a second key field request message to the second ONU; receive a second key field response message from the second ONU; based on the management control protocol version information, device identifier, manufacturer identifier, and device version information carried in the second key field response message, no matching common MIB linked list is found in the common MIB table; send a MIB upload message to the second ONU.
[0054] Before the processor performs the process of sending a MIB upload message to the second ONU by running the above instructions, the following processes are further performed: establish a second common MIB linked list of the second ONU in the common MIB table; wherein the key is the management control protocol version information, device identifier, manufacturer identifier, and device version of the second ONU, and the data is empty.
[0055] The processor is further configured to perform the following processes by running the above instructions: receive and record the number of MIB node data responded by the second ONU; clear the number of uploaded MIB nodes of the second ONU; send a MIB continue upload message to the second ONU; receive the MIB nodes uploaded by the second ONU, increment the number of uploaded MIB nodes by one, record in the cached MIB table of the second ONU and the second common MIB linked list; determine that the number of uploaded MIB nodes is less than the recorded number of MIB node data, and then continue to send a MIB continue upload message to the second ONU.
[0056] The processor also performs the following processing by running the above instructions: continue to receive the MIB nodes uploaded by the second ONU, increment the number of uploaded MIB nodes by one, and record them in the MIB table of the second ONU and the second common MIB linked list cached; determine that the number of uploaded MIB nodes is equal to the number of recorded MIB node data, and then continue to send a message to the second ONU to continue uploading the MIB.
[0057] In this application, the machine-readable storage medium can be any electronic, magnetic, optical, or other physical storage device used to store or contain information (such as executable instructions, data, etc.). For example, any machine-readable storage medium herein can be any type of random access memory (RAM), volatile memory, non-volatile memory, flash memory, storage drive (such as a hard disk drive), solid-state drive, any type of storage optical disc (such as a CD, DVD, etc.), and similar devices, or a combination thereof. In addition, any machine-readable storage medium described herein can be a non-transitory machine-readable storage medium.
[0058] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included within the scope of protection of the present application.
Claims
1. A method for obtaining a management information base of an optical network unit, characterized in that: The method comprises: Establishing a management control channel connected to the first optical network unit ONU; Sending a management information base reset message to the first ONU; Sending a first key field request message to the first ONU; Receiving a first key field response message from the first ONU; Finding a first public MIB linked list in a public management information base MIB table based on the management control protocol version information, device identification, manufacturer identification, and device version information carried in the first key field response message; The found first public MIB linked list is copied to the cache MIB table of the first ONU.
2. The method according to claim 1, characterized in that The method further comprises: Establishing a management control channel connected to the second ONU; Sending a management information base reset message to the second ONU; Sending a second key field request message to the second ONU; Receiving a second key field response message from the second ONU; Based on the management control protocol version information, device identification, manufacturer identification, and device version information carried in the second key field response message, no matching public MIB linked list is found in the public MIB table; Send a MIB upload message to the second ONU.
3. The method according to claim 2, characterized in that Before sending the MIB upload message to the second ONU, the method further includes: Establishing a second public MIB linked list of the second ONU in the public MIB table; The keywords are the management control protocol version information, device identification, manufacturer identification, and device version of the second ONU, and the data is empty.
4. The method according to claim 3, characterized in that The method comprises: Receive and record the number of MIB node data responded by the second ONU; Clear the number of uploaded MIB nodes of the second ONU; Sending a MIB continuation upload message to the second ONU; Receive the MIB node uploaded by the second ONU, increase the number of uploaded MIB nodes by one, and record it in the cache MIB table of the second ONU and the second public MIB linked list; If it is determined that the number of uploaded MIB nodes is less than the number of recorded MIB node data, the MIB continuation upload message continues to be sent to the second ONU.
5. The method according to claim 4, characterized in that The method further comprises, Continue to receive the MIB nodes uploaded by the second ONU, increase the number of uploaded MIB nodes by one, and record them in the cache MIB table of the second ONU and the second public MIB linked list; If it is determined that the number of uploaded MIB nodes is equal to the number of recorded MIB node data, the MIB continuation upload message continues to be sent to the second ONU.
6. A device for obtaining a management information base of an optical network unit, characterized in that: The device includes a processor and a memory; the memory stores instructions executed by the processor; wherein the processor executes the instructions to perform the following processing: Establishing a management control channel connected to the first optical network unit ONU; Sending a management information base reset message to the first ONU; Sending a first key field request message to the first ONU; Receiving a first key field response message from the first ONU; Finding a first public MIB linked list in a public management information base MIB table based on the management control protocol version information, device identification, manufacturer identification, and device version information carried in the first key field response message; The found first public MIB linked list is copied to the cache MIB table of the first ONU.
7. The device according to claim 6, characterized in that The processor is further configured to execute the following processing by executing the instructions: Establishing a management control channel connected to the second ONU; Sending a management information base reset message to the second ONU; Sending a second key field request message to the second ONU; Receiving a second key field response message from the second ONU; Based on the management control protocol version information, device identification, manufacturer identification, and device version information carried in the second key field response message, no matching public MIB linked list is found in the public MIB table; Send a MIB upload message to the second ONU.
8. The device according to claim 7, characterized in that Before the processor executes the instruction to send the MIB upload message to the second ONU, the processor further performs the following processing: A second public MIB linked list of the second ONU is established in the public MIB table; wherein the keywords are the management control protocol version information, device identification, manufacturer identification, and device version of the second ONU, and the data is empty.
9. The device according to claim 8, characterized in that The processor further executes the processing by executing the instructions including: Receive and record the number of MIB node data responded by the second ONU; Clear the number of uploaded MIB nodes of the second ONU; Sending a MIB continuation upload message to the second ONU; Receive the MIB node uploaded by the second ONU, increase the number of uploaded MIB nodes by one, and record it in the cache MIB table of the second ONU and the second public MIB linked list; If it is determined that the number of uploaded MIB nodes is less than the number of recorded MIB node data, the MIB continuation upload message continues to be sent to the second ONU.
10. The device according to claim 9, characterized in that The processor further performs the following processing by running the instruction: continuing to receive the MIB nodes uploaded by the second ONU, increasing the number of uploaded MIB nodes by one, and recording them in the cache MIB table of the second ONU and the second public MIB linked list; If it is determined that the number of uploaded MIB nodes is equal to the number of recorded MIB node data, the MIB continuation upload message continues to be sent to the second ONU.