A method and device for OLT to manage edge ONT through multiple channels
By setting up an independent message channel for each edge ONT, the problem that OLT cannot manage edge ONT is solved, the management efficiency and message transmission rate are improved, and a flexible management method is achieved.
Patent Information
- Application Number
- CN202210846492.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-19
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2042-07-19
AI Technical Summary
In existing FTTR systems, OLTs cannot perceive and manage edge ONTs, and the existing management efficiency is low.
By setting an independent message channel for each edge ONT, the OLT can manage the corresponding edge ONT through an independent message channel, and use the main ONT for message transmission and forwarding, so as to realize the message connection between the OLT and the edge ONT.
It realizes true batch management of edge ONT by OLT, improves packet transmission rate, simplifies the management process, and supports flexible management mode switching.
Smart Images

Figure CN115209250B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method and device for an OLT to manage an edge ONT through multiple channels. Background Art
[0002] In mainstream FTTR (Fiber to the Room) devices, multiple edge ONTs (Optical Network Terminals) are connected to the optical gateway for networking. The optical gateway is based on the ordinary home optical modem, adding the function of a small OLT (Optical Line Terminal) to enable it to manage edge ONTs; however, the OLT can only sense and manage the optical gateway, but not the edge ONT, because the OLT and the edge ONT cannot directly transmit OMCI (Optical-Network-Unit Management and Control Interface) messages.
[0003] At present, no relevant scheme for OLT to manage edge ONT in FTTR system has been found. Since most FTTR systems are essentially an extension of FTTH (Fiber To The Home), further research is conducted on FTTH extension. After searching, it is found that there are currently two technologies for OLT to manage edge ONT. One is that the master ONT manages the slave ONT by virtualizing the entire slave ONT PON system. This technical scheme has high requirements for the software of the master ONT, and the system is complex and not easy to manage and maintain. The other is to extend the standard OMCI message header field, carry the edge ONT identification information, manage the edge ONT through the OMCI channel agent of the master ONT, modify and reorganize the private OMCI message sent by the OLT into a standard OMCI message, and then forward it to the edge ONT, so as to realize the management of the edge ONT by the OLT. This technical scheme requires the reorganization of the OMCI message and two forwardings, which is inefficient for the OLT to realize the OMCI upgrade management of the edge ONT.
[0004] In view of this, overcoming the defects of the prior art is an urgent problem to be solved in the field of this technology. Summary of the invention
[0005] In view of the above defects or improvement needs of the prior art, the technical problem to be solved by the present invention is to provide a method and device for OLT to manage edge ONTs through multiple channels, the purpose of which is to set an independent message channel for each edge ONT so that the OLT can manage the corresponding edge ONT through an independent message channel, thereby solving the technical problem that the OLT in the existing FTTR system cannot perceive and manage the edge ONT and the management efficiency problem.
[0006] To achieve the above object, the present invention provides a method for an OLT to manage edge ONTs through multiple channels, the method comprising:
[0007] The master ONT sets up a message channel for each edge ONT to communicate independently with the OLT;
[0008] The master ONT transparently transmits and forwards messages between the OLT and the edge ONTs through the message channel, and the OLT and each edge ONT are connected through the message channel through the master ONT.
[0009] Preferably, the OLT sets an independent message channel for each edge ONT, and the specific method includes:
[0010] The master ONT creates channels GEM1 to GEMn for edge ONT-1 to edge ONT-n to communicate independently with the OLT respectively;
[0011] The master ONT creates channels GEM-E1 to GEM-En for edge ONT-1 to edge ONT-n respectively, and sets a PON1 port and a PON2 port at both ends of the master ONT respectively, the GEMn connects the PON1 port of the master ONT with the OLT, and the GEM-En connects the PON2 port of the master ONT with the edge ONT-n;
[0012] A forwarding table is maintained on the master ONT. The forwarding table uses the ID information of the edge ONT as a keyword, stores and associates the GEMn with the GEM-En, so that the master ONT transparently transmits and forwards messages between the OLT and the edge ONT; wherein n is a natural number greater than or equal to 2.
[0013] Preferably, the method further comprises: adding an Edged-ONT entity, wherein the Edged-ONT entity represents the attribute information of the edge ONT, and the Edged-ONT uses each instance number generated when creating the entity instance to represent the corresponding edge ONTID, wherein:
[0014] The attribute information of the Edged-ONT entity includes: online status, GEM channel configuration information of the OLT and management mode of the edge ONT;
[0015] An instance of the Edge-ONT entity is generated when the master ONT determines an edge ONT within its jurisdiction.
[0016] Preferably, the master ONT transparently transmits and forwards messages between the OLT and the edge ONT through the message channel in a downstream direction and an upstream direction, wherein:
[0017] The downstream direction is that the PON1 port of the master ONT receives the downstream message sent by the OLT, the PON1 port forwards the downstream message to the PON2 port, and the PON2 port sends the downstream message to the edge ONT;
[0018] In the uplink direction, the PON2 port of the master ONT receives the uplink message sent by the edge ONT, the PON2 port forwards the uplink message to the PON1 port, and the PON1 port sends the uplink message to the OLT.
[0019] Preferably, the method for forwarding a message between the PON1 port and the PON2 port includes:
[0020] The PON1 port receives the downlink message forwarded by the OLT, and the OLT adds a downlink Ethernet header to the downlink message, or the PON1 port adds a downlink Ethernet header to the downlink message, and the PON1 port forwards the downlink message including the downlink Ethernet header to the PON2 port according to the hardware acceleration forwarding table, and the PON2 port strips the downlink Ethernet header, or the PON2 port forwards the downlink message to the edge ONT, and the edge ONT strips the downlink Ethernet header;
[0021] The PON2 port receives the uplink message forwarded by the edge ONT, and the edge ONT adds an uplink Ethernet header to the uplink message, or the PON2 port adds an uplink Ethernet header to the uplink message, and the PON2 port forwards the uplink message including the uplink Ethernet header to the PON1 port according to the hardware acceleration forwarding table, and the PON1 port strips off the uplink Ethernet header, or the PON1 port forwards the uplink message to the OLT, and the OLT strips off the uplink Ethernet header.
[0022] Preferably, the method for forwarding a message between the PON1 port and the PON2 port further includes:
[0023] The PON1 port receives the downlink message forwarded by the OLT, the PON1 port forwards the downlink message to the PON2 port according to the GEM mapping forwarding table in the kernel state, and the PON2 port then forwards the downlink message to the edge ONT;
[0024] The PON2 port receives the uplink message forwarded by the edge ONT, and the PON2 port forwards the uplink message to the PON1 port according to the GEM mapping forwarding table in the core state, and the PON1 port then forwards the uplink message to the OLT.
[0025] Preferably, the downlink Ethernet message header or the uplink Ethernet message header includes:
[0026] Destination Address, Source Address, VLAN field, Type field, and Data field, where:
[0027] Destination Address is the destination MAC address; Source Address is the source MAC address; wherein: the destination MAC address and the source MAC address are fixed MAC addresses;
[0028] The VLAN ID in the VLAN field is the edge ONT ID; the type field is filled with the type of the message; and the Data field is filled with the message content.
[0029] Preferably, the OLT and each edge ONT complete the message channel connection through the master ONT, and the specific method includes:
[0030] The master ONT authorizes the OLT to report the capability information of supporting the edge ONT;
[0031] After the edge ONT authorizes the OLT on the master ONT, the master ONT creates a corresponding GEM-En channel for the edge ONT, and the OLT records the online status of the edge ONT;
[0032] After the edge ONT goes online, the master ONT sets the management mode of the edge ONT according to the management mode attribute issued by the OLT;
[0033] The OLT creates a GEMn channel for the edge ONT, the OLT sends the GEMn channel attributes to the master ONT, and the master ONT records and establishes a correspondence between the edge ONT ID, the GEMn channel, and GEM-En for use by the master ONT;
[0034] After the GEMn channel is created, the OLT obtains and manages the edge ONT according to the capability information of the edge ONT.
[0035] Preferably, the OLT sets an independent message channel for each edge ONT, and the specific method includes:
[0036] After the GEM channel corresponding to the message is created, the OLT obtains the capability information of the edge ONT through a Mib upload message or a Get message;
[0037] The capability information of the edge ONT includes one or more of various port types, quantities, service types and service models supported by the edge ONT.
[0038] In a second aspect, the present invention provides a device for an OLT to manage an edge ONT through multiple channels, comprising at least one processor and a memory, wherein the at least one processor and the memory are connected via a data bus, and the memory stores instructions executable by the at least one processor, wherein the instructions, after being executed by the processor, are used to complete the method for the OLT to manage an edge ONT through multiple channels.
[0039] The present invention has the following beneficial effects:
[0040] The present invention provides a method and device for managing edge ONTs through multiple channels by OLT, in which each edge ONT has an independent message channel on the OLT, thus realizing real batch management; and the existing message interaction process can be reused, without modifying the message format, and the implementation and operation are simple. When the main ONT adds forwarding rules to realize message transparent transmission, the message transmission rate is greatly improved, and management time is saved; at the same time, the switching of the edge ONT management mode is supported, and local ONT management or remote OLT management is flexible in management mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0042] Figure 1 It is a flow chart of a method for OLT to manage edge ONTs through multiple channels in the present invention;
[0043] Figure 2 It is a general schematic diagram of OMCI message interaction between OLT and edge ONT in the present invention;
[0044] Figure 3 It is a step diagram of the OLT creating a message channel for the edge ONT in the present invention;
[0045] Figure 4 It is a flow chart of the OLT creating a message channel for the edge ONT in the present invention;
[0046] Figure 5 It is a schematic diagram of an OMCI message including an Ethernet message format in the present invention;
[0047] Figure 6 This is a schematic diagram of implementing the first forwarding of messages between two GEM channels on the master ONT in the present invention;
[0048] Figure 7 This is a schematic diagram of implementing a second forwarding of messages between two GEM channels on a master ONT in the present invention;
[0049] Figure 8 It is a third schematic diagram of forwarding messages between two GEM channels implemented on the master ONT in the present invention;
[0050] Fig. 9 This is a fourth schematic diagram of forwarding messages between two GEM channels implemented on a master ONT in the present invention;
[0051] Fig.10 It is a fifth schematic diagram of forwarding messages between two GEM channels implemented on the master ONT in the present invention;
[0052] Fig.11 It is a schematic diagram of a device for managing edge ONTs through multiple channels by OLT in the present invention. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0054] Embodiment one:
[0055] In order to solve the technical problem that the OLT in the existing FTTR system cannot sense and manage the edge ONT, this embodiment 1 provides a method for the OLT to manage the edge ONT through multiple channels, such as Figure 1 As shown, the steps in the method include:
[0056] S101: The master ONT sets a message channel for each edge ONT to communicate independently with the OLT.
[0057] like Figure 2 As shown, independent message channels are set between edge ONT-1 and edge ONT-2 and OLT, which do not affect each other, so that OLT can manage the corresponding edge ONT ID through independent message channels, and each edge ONT uses an independent message channel, so that OLT can obtain and manage the edge ONT according to the capability information of the edge ONT. This solves the technical problem that OLT cannot perceive and manage edge ONTs and the management efficiency problem in the existing FTTR system.
[0058] S201: The master ONT transparently transmits and forwards messages between the OLT and the edge ONTs through the message channel, and the OLT and each edge ONT are connected through the message channel through the master ONT.
[0059] like Figure 2 As shown, a master ONT is arranged between the edge ONT-n and the OLT, and a GEM-En message channel is arranged between the master ONT and the edge ONT, and a GEMn message channel is arranged between the master ONT and the OLT. The GEMn and GEM-En message channels correspond to each other and are associated with the edge ONT. The GEMn and GEM-En message channels transmit OMCI messages between the corresponding edge ONT and the OLT, so that the OLT perceives and manages the edge ONT.
[0060] In order to complete the transparent transmission and forwarding of messages between the OLT and the edge ONT, in combination with the embodiment of the present invention, there is also a preferred implementation scheme, specifically, as follows: Figure 2 As shown, each edge ONT sets an independent message channel on the OLT, and the specific method includes:
[0061] The master ONT creates channels GEM1 to GEMn for edge ONT-1 to edge ONT-n to communicate independently with the OLT respectively.
[0062] In the first embodiment, the channel GEMn corresponds to an edge ONT-n, and the OLT and the master ONT transmit OMCI messages in the channel GEMn.
[0063] The master ONT creates channels GEM-E1 to GEM-En for edge ONT-1 to edge ONT-n respectively, and sets a PON1 port and a PON2 port at both ends of the master ONT respectively. The GEMn connects the PON1 port of the master ONT with the OLT, and the GEM-En connects the PON2 port of the master ONT with the edge ONT-n.
[0064] When the OLT creates a GEMn channel for the edge ONT-n, the master ONT is configured with the negotiated kernel-state GEM mapping forwarding table item or hard acceleration forwarding table item. A GEM-En channel is set between the master ONT and each edge ONT, and each edge ONT and the master ONT are transmitted through OMCI messages. The PON1 port and PON2 port respectively set at both ends of the master ONT are used to forward OMCI messages in the upstream or downstream direction through the hard acceleration forwarding table item, and to add an Ethernet message header to the OMCI message or strip the Ethernet message header, so as to complete the message transparent transmission and forwarding between the OLT and the edge ONT, or the PON1 port and PON2 port can also be used to forward OMCI messages in the upstream or downstream direction through the kernel-state GEM mapping forwarding table item to realize the message forwarding of OMCI messages between the OLT and the edge ONT.
[0065] A forwarding table is maintained on the master ONT. The forwarding table uses the ID information of the edge ONT as a key to store and associate the GEMn with the GEM-En so that the master ONT transparently transmits and forwards messages between the OLT and the edge ONT. Wherein, n is a natural number greater than or equal to 2.
[0066] The forwarding table can be a kernel-state GEM mapping forwarding table or a hard-accelerated forwarding table entry. The kernel-state GEM mapping forwarding table is used to forward OMCI messages, and the ID information of the edge ONT corresponds to GEMn and GEM-En one-to-one. The hard-accelerated forwarding table entry is used to forward OMCI messages with Ethernet headers, with the edge ONT ID, fixed source MAC address and destination MAC address as key information to achieve a one-to-one correspondence between GEMn and GEM-En. When messages are transmitted between the OLT and the edge ONT, since the edge ONT ID is unique, the selected GEMn and GEM-En message channels are also unique.
[0067] In order to obtain the necessary channel information, management mode, and online status of the edge ONT, in combination with the embodiment of the present invention, there is also a preferred implementation scheme, specifically, as follows: Figure 1 As shown, the method further includes: adding an Edged-ONT entity, wherein the Edged-ONT entity represents the attribute information of the edge ONT, and the Edged-ONT uses each instance number generated when creating the entity instance to represent the corresponding edge ONT ID, wherein:
[0068] The attribute information of the Edge-ONT entity includes: online status, GEM channel configuration information of the OLT and management mode of the edge ONT. In addition, the attribute information of the Edge-ONT entity can also be expanded according to demand.
[0069] An instance of the Edge-ONT entity is generated when the master ONT determines an edge ONT within its jurisdiction.
[0070] The newly added Edged-ONT entity is used to configure the necessary channel information, management mode, and online status for the edge ONT. The existing OMCI protocol does not support setting the attribute information of the Edged-ONT entity. The addition of the Edged-ONT entity does not affect the existing OMCI protocol, and there is no need to modify the existing entity.
[0071] In order to allow the OLT to perceive the edge ONT, in combination with the embodiment of the present invention, there is also a preferred implementation scheme. Specifically, the main ONT transparently transmits and forwards messages between the OLT and the edge ONT through the message channel in a downstream direction and an upstream direction, wherein:
[0072] The downstream direction is that the PON1 port of the master ONT receives the downstream message sent by the OLT, the PON1 port forwards the downstream message to the PON2 port, and the PON2 port sends the downstream message to the edge ONT;
[0073] In the uplink direction, the PON2 port of the master ONT receives the uplink message sent by the edge ONT, the PON2 port forwards the uplink message to the PON1 port, and the PON1 port sends the uplink message to the OLT.
[0074] In order to improve the efficiency of message transmission, in combination with the embodiment of the present invention, there is also a preferred implementation scheme. Specifically, the method for forwarding a message between the PON1 port and the PON2 port includes:
[0075] The PON1 port receives the downlink message forwarded by the OLT, and the OLT adds a downlink Ethernet header to the downlink message, or the PON1 port adds a downlink Ethernet header to the downlink message, and the PON1 port forwards the downlink message including the downlink Ethernet header to the PON2 port according to the hard acceleration forwarding table, and the PON2 port strips off the downlink Ethernet header, or the PON2 port forwards the downlink message to the edge ONT, and the edge ONT strips off the downlink Ethernet header.
[0076] In the first embodiment, in the downstream direction, the OLT sends a downstream message to the main ONT. When the PON1 port forwards the downstream message to the PON2 port, a downstream Ethernet header is added to the downstream message. The downstream Ethernet header is added by the OLT or the PON1 port. The PON1 port forwards the downstream message including the downstream Ethernet header to the PON2 port according to the hard acceleration forwarding table. After receiving the downstream message including the downstream Ethernet header, the PON2 port transmits it to the edge ONT. The PON2 port finds the edge ONT ID from the downstream Ethernet header and then maps it to the corresponding GEM-En. The PON2 port or the edge ONT strips the downstream Ethernet header.
[0077] The PON2 port receives the uplink message forwarded by the edge ONT, and the edge ONT adds an uplink Ethernet header to the uplink message, or the PON2 port adds an uplink Ethernet header to the uplink message, and the PON2 port forwards the uplink message including the uplink Ethernet header to the PON1 port according to the hard acceleration forwarding table, and the PON1 port strips off the uplink Ethernet header, or the PON1 port forwards the uplink message to the OLT, and the OLT strips off the uplink Ethernet header.
[0078] In the first embodiment, in the upstream direction, the edge ONT sends an upstream message to the main ONT. When the PON2 port forwards the upstream message to the PON1 port, an upstream Ethernet header is added to the upstream message. The upstream Ethernet header is added by the edge ONT or the PON2 port. The PON2 port forwards the downstream message including the downstream Ethernet header to the PON1 port according to the hard acceleration forwarding table. After receiving the upstream message including the upstream Ethernet header, the PON1 port transmits it to the OLT. The PON1 port or the OLT strips the upstream Ethernet header from the upstream message, and the OLT performs a message processing flow on the upstream message.
[0079] In the first embodiment, the PON1 port and the PON2 port use a standard Ethernet message format when performing hard accelerated message forwarding interaction. Since the OMCI message does not carry Ethernet message header information, it is necessary to support the function of adding an Ethernet message header to the OMCI message and stripping the Ethernet message header.
[0080] The PON1 port and PON2 port of the main ONT support the ability to add / strip Ethernet message headers. In the specific implementation, the chip of the PON1 port or the PON2 port can support this function, or FPGA / DSP can be used to implement this function. Hardware forwarding is performed between the PON1 port and the PON2 port. The hardware forwarding Ethernet message format realizes automatic forwarding. During automatic forwarding, forwarding is performed according to the message characteristics and the hard acceleration forwarding table items, which can effectively improve the message forwarding efficiency of the main ONT.
[0081] In order to improve the efficiency of message transmission, in combination with the embodiment of the present invention, there is also a preferred implementation scheme. Specifically, the method for forwarding a message between the PON1 port and the PON2 port further includes:
[0082] The PON1 port receives the downlink message forwarded by the OLT, and the PON1 port forwards the downlink message to the PON2 port according to the GEM mapping forwarding table in the kernel state, and the PON2 port then forwards the downlink message to the edge ONT.
[0083] In the first embodiment, in the downstream direction, the PON1 port of the master ONT receives the downstream message sent by the OLT, and the PON1 port forwards the message from the PON1 port to the PON2 port according to the GEM mapping forwarding table entry in the kernel state. The PON2 port then sends the message to the edge ONT, and the edge ONT processes the downstream message.
[0084] The PON2 port receives the uplink message forwarded by the edge ONT, and the PON2 port forwards the uplink message to the PON1 port according to the GEM mapping forwarding table in the core state, and the PON1 port then forwards the uplink message to the OLT.
[0085] In the first embodiment, in the upstream direction, the PON2 port of the master ONT receives the upstream message sent by the edge ONT, and the PON2 port forwards the message from the PON2 port to the PON1 port according to the GEM mapping forwarding table entry in the kernel state. The PON1 port then sends the message to the OLT, and the OLT processes the upstream message.
[0086] In the first embodiment, the soft accelerated forwarding message interaction between the PON1 port and the PON2 port does not require modification of the message format in the message, and is simple to implement and operate. When the PON1 port and the PON2 port perform soft forwarding message interaction, an OMCI message or a data message is selected, and there is no need to add an Ethernet message header to the message or strip off the Ethernet message header. Compared with the existing user-mode forwarding message method, the use of the kernel-mode GEM forwarding rule table to implement message transparent transmission greatly improves the message transmission rate and saves management time.
[0087] In order to achieve hard accelerated forwarding between PON1 and PON2 ports, such as Figure 5 As shown, the downlink Ethernet message header or the uplink Ethernet message header includes:
[0088] Destination Address, Source Address, VLAN field, Type field, and Data field, where:
[0089] Destination Address is the destination MAC address; Source Address is the source MAC address; wherein: the destination MAC address and the source MAC address are fixed MAC addresses;
[0090] The VLAN ID in the VLAN field is the edge ONT ID; the type field is filled with the type of the message; and the Data field is filled with the message content.
[0091] In the first embodiment, the source MAC address and the destination MAC address are described by taking the current mainstream implementation as an example, and the specific MAC address is not limited to the part shown in the figure. The Data field can be filled with OMCI message or data message, and the Type field is filled with the type of OMCI message or data message.
[0092] The format of the OMCI message with Ethernet header is as follows: Figure 5 As shown in the figure, the DA (Destination Address) and SA (Source Address) fields each occupy 6 bytes and are negotiated to be a fixed special MAC address (the figure is only an example, and any legal, pre-agreed value is acceptable); the VLAN field of 8021Q (type 0x8100) occupies 2 bytes and is filled with the edge ONT ID; the type field occupies 2 bytes and is not used by default and filled with 0x0000; the Data field is filled with OMCI messages.
[0093] In order to implement the batch management method of the OLT to the edge ONT, in combination with the embodiment of the present invention, there is also a preferred implementation scheme, specifically, as follows: Figure 3 and Figure 4 As shown, the OLT and each edge ONT complete the message channel connection through the main ONT, and the specific method includes:
[0094] S301: The master ONT authorizes on the OLT, and the master ONT reports capability information supporting the edge ONT.
[0095] The OLT obtains the number of supported edge ONTs and entity information through the master ONT. Figure 4 As shown, in step ①, the master ONT authorizes on the OLT, and the OLT sends Mib upload and Mib upload Next Request messages. In step ②, the master ONT sends a corresponding Response message to the OLT, and reports the number of edge ONTs supported by extending a capability type through the circuit pack and card holder entities, and reports the newly added Edged-ONT entity and instance number.
[0096] S302: After the edge ONT authorizes the OLT on the master ONT, the master ONT creates a corresponding GEM-En channel for the edge ONT, and the OLT records the online status of the edge ONT.
[0097] like Figure 4 As shown in the figure, in step ③, after the edge ONT-1 is authorized to go online on the master ONT, the master ONT creates a GEM-E1 channel corresponding to the OMCI message for the edge ONT-1. In step ④, the master ONT reports an alarm message (Alarm message) to the OLT through the Edged-ONT entity to notify the edge ONT-1 to go online. Only when the edge ONT is online on the master ONT can the OLT manage the edge ONT.
[0098] S303: After the edge ONT comes online, the master ONT sets the management mode of the edge ONT according to the management mode attribute sent by the OLT.
[0099] When the OLT sends the management mode, the edge ONT can support OLT remote management or master ONT local management, such as Figure 4 As shown, in step ⑤, the OLT sets the management mode of the edge ONT-1 to OLT remote management through the SET message (Edged-ONT, 1). In step ⑥, the master ONT replies with a SET response (Edged-ONT, 1) message to return successfully, indicating that the management mode of the edge ONT-1 has been set.
[0100] S304: The OLT creates a GEMn channel for the edge ONT, and the OLT sends the GEMn channel attributes to the master ONT. The master ONT records and establishes a correspondence between the edge ONT ID, the GEMn channel, and GEM-En for use by the master ONT.
[0101] like Figure 4 As shown, in step ⑦, the OLT creates a GEM1 channel for the edge ONT-1. The OLT first sends a SET message (Edged-ONT, 1) to the master ONT to set the OMCI message channel GEM1 of the edge ONT-1 on the OLT. In step ⑧, the master ONT replies with a SET message (Edged-ONT, 1) to the OLT. After a success is returned, the GEM1 channel setting is completed.
[0102] S305: After the GEMn channel is created, the OLT obtains and manages the edge ONT according to the capability information of the edge ONT.
[0103] like Figure 4As shown, in step ⑨, when the OLT and the edge ONT-1 perform standard OMCI message interaction, the channel is GEM1. In step ⑩, the master ONT forwards the standard OMCI message of the OLT to the edge ONT-1, and the channel is GEM-E1.
[0104] In order to manage the edge ONT according to the actual use status of the edge ONT, in combination with the embodiment of the present invention, there is also a preferred implementation scheme, specifically, as follows: Figure 1 As shown, the OLT sets an independent message channel for each edge ONT, and the specific method includes:
[0105] After the GEM channel corresponding to the message is created, the OLT obtains the capability information of the edge ONT through a Mib upload message or a Get message;
[0106] The capability information of the edge ONT includes one or more of various port types, quantities, service types and service models supported by the edge ONT.
[0107] Since there are many types of ONTs managed by OLT, the capabilities supported by each ONT are different in actual use. After obtaining the capabilities of each edge ONT, management can be performed based on the actual support status of the edge ONT.
[0108] In order to improve the efficiency of upgrade management, in combination with the embodiment of the present invention, there is also a preferred implementation scheme, specifically, as follows: Figure 1 As shown, when the OLT performs batch upgrade on edge ONT-1 to edge ONT-n, the specific method includes:
[0109] OLT starts n tasks for parallel processing;
[0110] Among them, upgrade task 1 executes the upgrade process of edge ONT-1, and the corresponding upgrade message goes through the GEM1 channel; upgrade task 2 executes the upgrade process of edge ONT-2, and the corresponding upgrade message goes through the GEM2 channel; and so on, the corresponding upgrade task n executes the upgrade process of edge ONT-n, and the corresponding upgrade message goes through the GEMn channel.
[0111] In the first embodiment of the present invention, for example, when the OLT performs a batch upgrade of OMCI messages from edge ONT-1 to edge ONT-n, the OLT starts n tasks for parallel processing, wherein upgrade task 1 executes the upgrade processing flow of edge ONT-1, and the corresponding OMCI upgrade message goes through the GEM1 channel; upgrade task 2 executes the upgrade processing flow of edge ONT-2, and the corresponding OMCI upgrade message goes through the GEM2 channel; until the corresponding upgrade task n executes the upgrade processing flow of edge ONT-n, and the corresponding OMCI upgrade message goes through the GEMn channel.
[0112] Embodiment 2:
[0113] Based on the first embodiment, the second embodiment provides a first forwarding method between the OLT and the edge ONT, which is implemented on the main ONT through the OMCI message.
[0114] like Figure 6 As shown, the specific method of the first forwarding includes:
[0115] In the downstream direction, the first message sent by the OLT to the master ONT includes a first Ethernet header, and the first message is transmitted to the master ONT through the GEM1, wherein: the PON1 port forwards the first message to the PON2 port, and the PON2 port strips the first Ethernet header included in the first message, finds the edge ONT ID from the first Ethernet header, and maps it to the corresponding GEM-En.
[0116] The OLT marks the OMCI message sent to the edge ONT-1 with Figure 5 The first Ethernet message header shown is sent through GEM1. GEM1 of the master ONT receives the first OMCI message with the first Ethernet message header, and automatically forwards from PON1 port to PON2 port through the hard acceleration forwarding table entry in the forwarding module on the master ONT. PON2 port strips the Ethernet header of the OMCI message in the first Ethernet message header, finds the edge ONT ID according to the VLAN field in the first Ethernet message header, sends it to the GEM E1 channel corresponding to the edge ONT ID, and then sends it to the edge ONT-1.
[0117] In the upstream direction, the edge ONT-1 sends a second message to the main ONT through the GEM-E1, and the PON2 port adds a second Ethernet header to the second message, wherein the PON2 port forwards the second message to the PON1 port, and the PON1 port sends the second message to the OLT, and the OLT removes the second Ethernet header in the second message and performs message flow processing.
[0118] The edge ONT-1 sends a standard OMCI message through GEM E1. The GEM E1 of the main ONT receives the second OMCI message. The PON2 port automatically adds the following to the second OMCI message: Figure 5The second Ethernet message header shown is automatically forwarded from the PON2 port to the PON1 port through the hardware acceleration forwarding table item in the forwarding module on the main ONT. The PON1 port receives the second OMCI message, maps it to GEM1 according to the VLAN field in the second Ethernet message header, and sends the second OMCI message with the second Ethernet message header to the OLT. The OLT receives the second OMCI message from GEM1, knows that it is a message from the edge ONT-1, removes the second Ethernet message header, and then performs standard OMCI process processing.
[0119] Embodiment three:
[0120] Based on the first embodiment, the third embodiment provides a second forwarding method between the OLT and the edge ONT, which is implemented on the main ONT through the OMCI message.
[0121] like Figure 7 As shown, the specific method of the second forwarding includes:
[0122] In the downstream direction, the OLT sends a third message to the master ONT, and the third message is transmitted to the master ONT through the GEM1, wherein: the third message is added with a third Ethernet header at the PON1 port, and after the PON1 port forwards the third message to the PON2 port, the PON2 port strips the third Ethernet header contained in the third message, finds the edge ONT ID information from the third Ethernet header, and maps it to the corresponding GEM-En.
[0123] The OLT sends the third OMCI message through GEM1. When the GEM1 of the master ONT receives the third OMCI message, the PON1 port will automatically add the following to the OMCI message: Figure 5 The third Ethernet header is shown, and the forwarding from PON1 to PON2 port is automatically realized through the hard acceleration forwarding table entry in the forwarding module on the main ONT. The PON2 port strips the OMCI message of the third Ethernet header, finds the edge ONT ID according to the VLAN field of the third Ethernet header, sends it to the corresponding GEME1 channel, and then sends it to the edge ONT-1.
[0124] In the upstream direction, the edge ONT-1 sends a fourth message to the main ONT through the GEM E1, the PON2 port adds a fourth Ethernet header to the fourth message, the PON2 port forwards the fourth message to the PON1 port, the PON1 port strips off the fourth Ethernet header after receiving the fourth message, and maps it to the GEM1 according to the fourth Ethernet header, the PON1 port sends the fourth message to the OLT, and the OLT performs message flow processing on the fourth message.
[0125] The edge ONT-1 sends the fourth OMCI message through GEM E1. The GEM E1 of the main ONT receives the fourth OMCI message, and the PON2 port automatically adds the following to the fourth OMCI message: Figure 5 The fourth Ethernet header information shown is automatically forwarded from the PON2 port to the PON1 port through the hardware acceleration forwarding table item in the forwarding module. When the PON1 port receives the fourth OMCI message message with the fourth Ethernet header, the fourth Ethernet header will be automatically stripped off, and the VLAN field in the fourth Ethernet header will be mapped to GEM1, and the fourth OMCI message will be sent to the OLT. The OLT receives the fourth OMCI message from GEM1 and performs standard OMCI process processing.
[0126] Embodiment 4:
[0127] Based on the first embodiment, the fourth embodiment provides a third forwarding method between the OLT and the edge ONT, which is implemented on the master ONT through the OMCI message.
[0128] like Figure 8 As shown, the specific method of the third forwarding includes:
[0129] In the downstream direction, the OLT marks the OMCI message sent to the edge ONT-1 with Figure 5 The fifth Ethernet header shown is sent through GEM1. GEM1 of the master ONT receives the fifth OMCI message with the fifth Ethernet header, and automatically forwards from PON1 to PON2 port through the hard acceleration forwarding table entry in the forwarding module on the master ONT. The PON2 port of the master ONT finds the edge ONT ID according to the VLAN field in the fifth Ethernet header, sends it to the GEM E1 channel corresponding to the edge ONT ID, and then sends it to the edge ONT-1. The edge ONT-1 strips the Ethernet header of the OMCI message with the fifth Ethernet header, and then performs the standard OMCI message process.
[0130] In the upstream direction, edge ONT-1 adds the following to the sixth OMCI message: Figure 5 The sixth Ethernet message header shown is sent through GEME1, and the GEM E1 of the main ONT receives the sixth OMCI message. Through the hardware acceleration forwarding table item in the forwarding module, the forwarding from the PON2 port to the PON1 port is automatically realized. The PON1 port receives the sixth OMCI message, and maps it to GEM1 according to the VLAN field in the sixth Ethernet message header, and sends the sixth OMCI message with the sixth Ethernet message header to the OLT. The OLT receives the sixth OMCI message from GEM1, knows that it is a message from the edge ONT-1, removes the sixth Ethernet message header, and then performs standard OMCI process processing.
[0131] Embodiment five:
[0132] Based on the first embodiment, the fourth embodiment provides a fourth forwarding method implemented on the master ONT through OMCI messages between the OLT and the edge ONT.
[0133] like Fig. 9 As shown, the specific method of the fourth forwarding includes:
[0134] In the downstream direction, the OLT sends the seventh OMCI message through GEM1. When the GEM1 of the master ONT receives the seventh OMCI message, the PON1 port will automatically add the following to the OMCI message: Figure 5 The seventh Ethernet header is shown, and the forwarding from PON1 to PON2 port is automatically realized through the hard acceleration forwarding table entry in the forwarding module on the main ONT. The PON2 port of the main ONT finds the edge ONT ID according to the VLAN field of the seventh Ethernet header, and sends it to the corresponding GEM E1 channel. The edge ONT-1 strips the seventh Ethernet header of the OMCI message of the seventh Ethernet header, and then performs standard OMCI message process processing.
[0135] In the upstream direction, edge ONT-1 adds the following to the eighth OMCI message: Figure 5 The eighth Ethernet message header information shown is sent through GEM E1. The GEM E1 of the master ONT receives the eighth OMCI message, and automatically realizes forwarding from the PON2 port to the PON1 port through the hardware acceleration forwarding table item in the forwarding module. The PON1 port receives the eighth OMCI message message with the eighth Ethernet message header, and automatically strips off the eighth Ethernet message header. The eighth OMCI message is mapped to GEM1 according to the VLAN field in the eighth Ethernet message header, and the eighth OMCI message is sent to the OLT. The OLT receives the eighth OMCI message from GEM1 and performs standard OMCI process processing.
[0136] Embodiment six:
[0137] This embodiment 6 provides a fifth forwarding method for implementing the method on the master ONT through the OMCI message between the OLT and the edge ONT, such as Fig.10 shown.
[0138] When the OLT creates a GEM1 channel for the edge ONT-1, the forwarding module on the master ONT generates a GEM mapping forwarding table for the edge ONT ID, GEM1, and GEM-E1. The GEM mapping forwarding table is directly maintained in the kernel state. The GEM mapping forwarding table includes mappings in both the upstream and downstream directions.
[0139] In the downstream direction, when the OLT sends the ninth message to the master ONT, after the PON1 port receives the ninth message from the GEM1, the PON1 port forwards the ninth message to the PON2 port, and the ninth message is sent by the GEM-E1 to the edge ONT-1.
[0140] When OLT sends the ninth OMCI message through GEM1, after the master ONT's PON1 receives the ninth OMCI message from GEM1, it searches the GEM mapping forwarding table in the forwarding module and forwards the ninth OMCI message received by GEM1 to GEM-E1 of PON2 for sending. The edge ONT-1 receives the ninth OMCI message sent from OLT through GEM-E1.
[0141] In the upstream direction, when the edge ONT-1 sends the tenth message to the main ONT, after the PON2 port receives the tenth message from the GEM-E1, the PON2 port forwards the tenth message to the PON1 port, and the tenth message is sent by the GEM1 to the OLT.
[0142] When edge ONT-1 sends the tenth OMCI message, after PON2 of the main ONT receives the tenth OMCI message from GEM-E1, it searches the GEM mapping forwarding table in the forwarding module, forwards the tenth OMCI message received by GEM-E1 to GEM1 of PON1 for sending, and OLT receives the tenth OMCI message sent from edge ONT-1 through GEM1.
[0143] The main ONT forwards the OMCI message between the OLT and the edge ONT-1, and realizes the mapping of GEM1 and GEM-E1 through the GEM mapping forwarding table in the kernel state of the forwarding module, and does not enter the user state OMCI module for forwarding processing, which greatly improves the forwarding efficiency.
[0144] Embodiment seven:
[0145] This embodiment seven provides a device for an OLT to manage an edge ONT through multiple channels, including at least one processor and a memory, wherein the at least one processor and the memory are connected via a data bus, and the memory stores instructions that can be executed by the at least one processor. After being executed by the processor, the instructions are used to complete the method for the OLT to manage the edge ONT through multiple channels described in the embodiment one.
[0146] like Fig.11 , which is a schematic diagram of an apparatus for managing edge ONTs through multiple channels by an OLT according to an embodiment of the present invention. The apparatus for managing edge ONTs through multiple channels by an OLT according to this embodiment includes one or more processors 21 and a memory 22. Fig.11 A processor 21 is taken as an example.
[0147] The processor 21 and the memory 22 may be connected via a bus or other means. Fig.11 The example of connecting through bus is taken in the following.
[0148] The memory 22 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs and non-volatile computer executable programs, such as the method for the OLT to manage edge ONTs through multiple channels in Embodiment 1. The processor 21 executes the method for the OLT to manage edge ONTs through multiple channels by running the non-volatile software programs and instructions stored in the memory 22.
[0149] The memory 22 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 22 may optionally include a memory remotely arranged relative to the processor 21, and these remote memories may be connected to the processor 21 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0150] The program instructions / modules are stored in the memory 22, and when executed by the one or more processors 21, the method for managing edge ONTs through multiple channels in the above-mentioned embodiments 1 to 6 is executed, for example, the method described above is executed. Figures 1 to 10 The steps shown.
[0151] It is worth noting that the information interaction, execution process, etc. between the modules and units within the above-mentioned devices and systems are based on the same concept as the processing method embodiment of the present invention. The specific contents can be found in the description of the method embodiment of the present invention and will not be repeated here.
[0152] A person skilled in the art may understand that all or part of the steps in the various methods of the embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0153] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. 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 present invention.
Claims
1. A method for OLT to manage edge ONTs through multiple channels, characterized in that the method include: The master ONT sets up a message channel for each edge ONT to communicate independently with the OLT; Specifically, the master ONT creates channels GEM1 to GEMn for edge ONT-1 to edge ONT-n to communicate independently with the OLT respectively; The master ONT creates channels GEM-E1 to GEM-En for edge ONT-1 to edge ONT-n, respectively, and sets a PON1 port and a PON2 port at both ends of the master ONT, respectively. The GEMn connects the PON1 port of the master ONT with the OLT, and the GEM-En connects the PON2 port of the master ONT with the edge ONT-n; Maintaining a forwarding table on the master ONT, wherein the forwarding table uses the ID information of the edge ONT as a keyword, stores and associates the GEMn with the GEM-En, so that the master ONT transparently transmits and forwards messages between the OLT and the edge ONT; wherein n is a natural number greater than or equal to 2; The master ONT transparently transmits and forwards messages between the OLT and the edge ONTs through the message channel, and the OLT and each edge ONT are connected through the message channel through the master ONT.
2. The method for managing edge ONTs by OLT through multiple channels according to claim 1, characterized in that: The method also includes: adding an Edged-ONT entity, wherein the Edged-ONT entity represents attribute information of the edge ONT, and the Edged-ONT uses each instance number generated when creating an entity instance to represent a corresponding edge ONT ID, wherein: The attribute information of the Edged-ONT entity includes: online status, GEM channel configuration information of the OLT and management mode of the edge ONT; An instance of the Edge-ONT entity is generated when the master ONT determines an edge ONT within its jurisdiction.
3. The method for managing edge ONTs by OLT through multiple channels according to claim 1, characterized in that: The master ONT transparently transmits and forwards messages between the OLT and the edge ONT through the message channel in a downstream direction and an upstream direction, wherein: The downstream direction is that the PON1 port of the master ONT receives the downstream message sent by the OLT, the PON1 port forwards the downstream message to the PON2 port, and the PON2 port sends the downstream message to the edge ONT; In the uplink direction, the PON2 port of the master ONT receives the uplink message sent by the edge ONT, the PON2 port forwards the uplink message to the PON1 port, and the PON1 port sends the uplink message to the OLT.
4. The method for managing edge ONTs by OLT through multiple channels according to claim 3, characterized in that: The method for forwarding a message between the PON1 port and the PON2 port includes: The PON1 port receives the downlink message forwarded by the OLT, and the OLT adds a downlink Ethernet header to the downlink message, or the PON1 port adds a downlink Ethernet header to the downlink message, and the PON1 port forwards the downlink message including the downlink Ethernet header to the PON2 port according to the hardware acceleration forwarding table, and the PON2 port strips the downlink Ethernet header, or the PON2 port forwards the downlink message to the edge ONT, and the edge ONT strips the downlink Ethernet header; The PON2 port receives the uplink message forwarded by the edge ONT, and the edge ONT adds an uplink Ethernet header to the uplink message, or the PON2 port adds an uplink Ethernet header to the uplink message, and the PON2 port forwards the uplink message including the uplink Ethernet header to the PON1 port according to the hardware acceleration forwarding table, and the PON1 port strips off the uplink Ethernet header, or the PON1 port forwards the uplink message to the OLT, and the OLT strips off the uplink Ethernet header.
5. The method for managing edge ONTs by OLT through multiple channels according to claim 3, characterized in that: The method for forwarding a message between the PON1 port and the PON2 port further includes: The PON1 port receives the downlink message forwarded by the OLT, the PON1 port forwards the downlink message to the PON2 port according to the GEM mapping forwarding table in the kernel state, and the PON2 port then forwards the downlink message to the edge ONT; The PON2 port receives the uplink message forwarded by the edge ONT, and the PON2 port forwards the uplink message to the PON1 port according to the GEM mapping forwarding table in the core state, and the PON1 port then forwards the uplink message to the OLT.
6. The method for managing edge ONTs by OLT through multiple channels according to claim 4, characterized in that: The downstream Ethernet message header or the upstream Ethernet message header includes: Destination Address, Source Address, VLAN field, Type field, and Data field, where: Destination Address is the destination MAC address; Source Address is the source MAC address; wherein: the destination MAC address and the source MAC address are fixed MAC addresses; The VLAN ID in the VLAN field is the edge ONT ID; the type field is filled with the type of the message; and the Data field is filled with the message content.
7. The method for managing edge ONTs by OLT through multiple channels according to claim 1, characterized in that: The OLT and each edge ONT complete a message channel connection through the main ONT, and the specific method includes: The master ONT authorizes the OLT to report the capability information of supporting the edge ONT; After the edge ONT authorizes the OLT on the master ONT, the master ONT creates a corresponding GEM-En channel for the edge ONT, and the OLT records the online status of the edge ONT; After the edge ONT goes online, the master ONT sets the management mode of the edge ONT according to the management mode attribute issued by the OLT; The OLT creates a GEMn channel for the edge ONT, the OLT sends the GEMn channel attributes to the master ONT, and the master ONT records and establishes a correspondence between the edge ONT ID, the GEMn channel, and GEM-En for use by the master ONT; After the GEMn channel is created, the OLT obtains and manages the edge ONT according to the capability information of the edge ONT.
8. The method for managing edge ONTs by OLT through multiple channels according to claim 7, characterized in that: The OLT sets an independent message channel for each edge ONT, and the specific method includes: After the GEM channel corresponding to the message is created, the OLT obtains the capability information of the edge ONT through a Mib upload message or a Get message; The capability information of the edge ONT includes one or more of various port types, quantities, service types and service models supported by the edge ONT.
9. A device for managing edge ONTs by OLT through multiple channels, characterized in that: The method comprises at least one processor and a memory, wherein the at least one processor and the memory are connected via a data bus, wherein the memory stores instructions executable by the at least one processor, and wherein the instructions, after being executed by the processor, are used to complete the method for managing edge ONTs through multi-channels by an OLT as described in any one of claims 1 to 8.