CN113507656A - Method and device for managing edge ONT (optical network terminal) by OLT (optical line terminal) - Google Patents

Method and device for managing edge ONT (optical network terminal) by OLT (optical line terminal) Download PDF

Info

Publication number
CN113507656A
CN113507656A CN202110770438.8A CN202110770438A CN113507656A CN 113507656 A CN113507656 A CN 113507656A CN 202110770438 A CN202110770438 A CN 202110770438A CN 113507656 A CN113507656 A CN 113507656A
Authority
CN
China
Prior art keywords
edge
ont
message
omci message
omci
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110770438.8A
Other languages
Chinese (zh)
Other versions
CN113507656B (en
Inventor
田磊
陈瑞
韩涛
赵海涛
程海峰
钱程
黄胜玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202110770438.8A priority Critical patent/CN113507656B/en
Publication of CN113507656A publication Critical patent/CN113507656A/en
Application granted granted Critical
Publication of CN113507656B publication Critical patent/CN113507656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Abstract

The invention discloses a method and a device for managing edge ONTs by an OLT.A warning message is sent to the OLT by an optical gateway when sensing the edge ONTs so that the OLT can acquire the edge ONT identifications of the current edge ONTs and generate private OMCI messages for the edge ONTs; the optical gateway receives the private OMCI message sent by the OLT, converts the private OMCI message into a standard OMCI message, and sends the converted standard OMCI message to a corresponding edge ONT according to an edge ONT identifier carried by the private OMCI message; the optical gateway receives the standard OMCI message replied by the edge ONT, converts the standard OMCI message into a private OMCI message, and returns the converted private OMCI message to the OLT. The scheme realizes the OMCI message proxy and forwarding through the optical gateway, so that the OLT can manage the edge ONT through the OMCI protocol, and the problem that the OLT cannot sense and manage the edge ONT in the FTTR system is solved.

Description

Method and device for managing edge ONT (optical network terminal) by OLT (optical line terminal)
[ technical field ] A method for producing a semiconductor device
The present invention belongs to the technical field of optical communication, and more particularly, to a method and an apparatus for managing an edge ONT by an OLT.
[ background of the invention ]
In a mainstream FTTR (Fiber to The Room) device, networking is performed by hanging a plurality of edge ONTs (Optical Network terminals) under an Optical gateway. The Optical gateway adds the function of a small OLT (Optical Line Terminal) on the basis of a common household Optical modem, so that the Optical gateway can manage an edge ONT; however, the OLT can only sense and manage the Optical gateway, and cannot sense and manage the edge ONT, because an OMCI (Optical-Network-Unit Management and Control Interface) message cannot be directly transmitted between the OLT and the edge ONT.
No solution related To OLT management edge ONT in FTTR system has been found, and most FTTR systems are essentially extensions To FTTH (Fiber To The Home), so further research on FTTH extension is carried out. The retrieval shows that, in the prior art, the FTTH network is extended by a master-slave ONT, and the technical scheme includes an OLT, a master ONT and a plurality of slave ONTs; on the software, the master ONT manages the slave ONT in a mode of virtualizing the whole slave ONT software. In the technical scheme, a master-slave relationship needs to be established first, that is, the slave ONT actively reports to the master ONT, and the master ONT virtually generates a PON device corresponding to the slave ONT in software; the second step is that the main ONT uses the virtual PON device to perform interactive authentication with the OLT; the third step is that the virtual PON device on the main ONT forwards data for the auxiliary ONT. However, this solution has high software requirements for the primary ONT, and the apparatus is complex and not easy to manage and maintain.
In view of this, how to enable the OLT to sense and manage the edge ONTs in the FTTR system is an urgent problem to be solved in the art.
[ summary of the invention ]
Aiming at the defects or improvement requirements in the prior art, the invention provides a method and a device for managing an edge ONT by an OLT (optical line terminal), aiming at realizing OMCI (optical network management interface) message proxy and forwarding through an optical gateway, so that the OLT can manage the edge ONT through an OMCI protocol, thereby solving the technical problem that the OLT in the existing FTTR (fiber to the home) system cannot sense and manage the edge ONT.
To achieve the above object, according to an aspect of the present invention, there is provided a method for an OLT to manage edge ONTs, including:
the optical gateway sends an alarm message to the OLT when sensing the edge ONT so that the OLT acquires the edge ONT identification of each current edge ONT and respectively generates a private OMCI message for each edge ONT according to the acquired edge ONT identification;
after receiving the private OMCI message sent by the OLT, the optical gateway converts the private OMCI message into a standard OMCI message, and sends the converted standard OMCI message to a corresponding edge ONT according to an edge ONT identifier carried in the private OMCI message;
and after receiving the standard OMCI message replied by the edge ONT, the optical gateway converts the standard OMCI message into a private OMCI message and returns the converted private OMCI message to the OLT.
Preferably, the optical gateway sends an alarm message to the OLT when sensing the edge ONT, so that the OLT acquires the edge ONT identifier of each current edge ONT, and generates a private OMCI message for each edge ONT according to the acquired edge ONT identifier, specifically:
when the edge ONT is on line or off line, the optical gateway senses the on line and the off line of the edge ONT and sends an alarm message to the OLT;
after receiving the alarm message, the OLT uploads the MIB to the optical gateway again so as to acquire the edge ONT identifier of each current edge ONT;
and for each edge ONT, the OLT adds a corresponding edge ONT identifier on a first zone bit of the standard OMCI message, and modifies a first message type identifier on a second zone bit in the standard OMCI message into a corresponding second message type identifier to form a corresponding private OMCI message.
Preferably, after receiving the private OMCI message sent by the OLT, the optical gateway converts the private OMCI message into a standard OMCI message, and sends the converted standard OMCI message to a corresponding edge ONT according to an edge ONT identifier carried in the private OMCI message, which specifically includes:
after receiving the OMCI message sent by the OLT, the optical gateway judges the type of the OMCI message according to a message type identifier on a second marker bit in the OMCI message;
if the second flag bit is the second message type identifier, determining that the OMCI message is a private OMCI message, and determining, by the optical gateway, a corresponding edge ONT according to the edge ONT identifier on the first flag bit in the private OMCI message;
the optical gateway deletes the edge ONT identifier on the first zone bit in the private OMCI message, and restores the second message type identifier on the second zone bit in the private OMCI message to the corresponding first message type identifier to obtain the corresponding standard OMCI message;
and the optical gateway recalculates the check value of the standard OMCI message, and sends the standard OMCI message to the corresponding edge ONT after the calculation is finished.
Preferably, if the second flag bit of the OMCI message is the first message type identifier, it is determined that the OMCI message is a standard OMCI message, and at this time, the optical gateway directly processes the standard OMCI message.
Preferably, after determining that the OMCI message is a private OMCI message, the method further comprises:
judging whether the private OMCI message contains hardware related configuration issued by the OLT;
if yes, the optical gateway performs parameter replacement on the hardware related configuration according to the actual hardware resource of the optical gateway, and stores the mapping relation among the actual hardware resource, the hardware related configuration and the edge ONT identifier.
Preferably, after receiving the standard OMCI message replied by the edge ONT, the optical gateway converts the standard OMCI message into a private OMCI message, and returns the converted private OMCI message to the OLT, which specifically includes:
after receiving the standard OMCI message replied by the edge ONT, the optical gateway sets the corresponding edge ONT identifier to a first zone bit of the standard OMCI message, and modifies a first message type identifier on a second zone bit in the standard OMCI message into a corresponding second message type identifier to obtain a corresponding private OMCI message;
and the optical gateway recalculates the check value of the private OMCI message, and sends the private OMCI message to the OLT after the calculation is finished.
Preferably, after the optical gateway receives the standard OMCI message replied by the edge ONT, the method further includes:
the optical gateway checks whether the standard OMCI message contains hardware related configuration;
if yes, the optical gateway restores the parameters of the hardware related configuration in the standard OMCI message according to the mapping relation among the actual hardware resources, the hardware related configuration and the edge ONT identification which are pre-stored by the optical gateway.
Preferably, the first message type identifier includes a first basic identifier and a first extended identifier, which respectively represent a basic OMCI message and an extended OMCI message sent to the optical gateway;
the second message type identifier includes a second basic identifier and a second extended identifier, which respectively represent a basic OMCI message and an extended OMCI message sent to the edge ONT.
Preferably, the standard OMCI message and the private OMCI message each include a device identifier field, and the first flag bit and the second flag bit are both located in the corresponding device identifier field;
the size of the device identifier field occupies one byte, the first flag bit corresponds to the first four bits of the byte, and the second flag bit corresponds to the second four bits of the byte.
According to another aspect of the present invention, there is provided an apparatus for an OLT managing an edge ONT, comprising at least one processor and a memory, the at least one processor and the memory being connected via a data bus, the memory storing instructions executable by the at least one processor, the instructions being configured to perform the method for the OLT managing the edge ONT according to the first aspect after being executed by the processor.
Generally, compared with the prior art, the technical scheme of the invention has the following beneficial effects: in the method for managing the edge ONT by the OLT, the information of the edge ONT can be reported to the OLT through the optical gateway, so that the OLT can sense the existence, specific quantity and the like of the edge ONT; the optical gateway realizes the OMCI message proxy and forwarding, the OLT and the optical gateway interact through private OMCI messages, the optical gateway interacts with each edge ONT through standard OMCI messages, and the OLT can manage the edge ONTs through an OMCI protocol, so that the problem that the OLT cannot sense and manage the edge ONTs in the existing FTTR system is solved, and the maintenance of the FTTR system by an operator is facilitated. In addition, the private OMCI message can be obtained by finely adjusting the standard OMCI message, and the optical gateway does not need to change the message payload when processing and forwarding the OMCI message between the edge ONT and the OLT.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic diagram of OMCI message interaction among an OLT, an optical gateway, and an edge ONT in an FTTR system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of conversion between a standard OMCI message and a private OMCI message according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for an OLT to manage edge ONTs according to an embodiment of the present invention;
fig. 4 is a flow chart of a processing of a downlink OMCI message according to an embodiment of the present invention;
fig. 5 is a flowchart of processing an uplink OMCI message according to an embodiment of the present invention;
fig. 6 is a diagram of a device architecture for an OLT managing edge ONTs according to an embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the embodiments of the present invention, the symbol "/" indicates the meaning of having both functions, and the symbol "a and/or B" indicates that the combination between the preceding and following objects connected by the symbol includes three cases of "a", "B", "a and B".
In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other. The invention will be described in detail below with reference to the figures and examples.
Example 1
In order to solve the problem that an OLT cannot sense and manage an edge ONT in the existing FTTR system, the invention provides a method for the OLT to manage the edge ONT in the FTTR system. In the method for managing edge ONTs by an OLT, the OLT interacts with the optical gateway through private OMCI messages, and the optical gateway interacts with each edge ONT through standard OMCI messages, as shown in fig. 1.
It should be noted that the private OMCI message is obtained by performing fine adjustment on the standard OMCI message, and the message payload is unchanged before and after the adjustment. As shown in fig. 2, the header of the standard OMCI message includes a Device identifier (i.e., Device identifier) field for distinguishing whether the message type is a basic OMCI message (i.e., a basic OMCI message) or an Extended OMCI message (i.e., an Extended OMCI message), and the size of the Device identifier field occupies one byte (i.e., 1 byte). For convenience of description, the present invention introduces a description method of a first flag bit and a second flag bit for an OMCI message (including the standard OMCI message and the private OMCI message), both of which are located in the device identifier field. The size of the device identifier field occupies one byte, and in a specific embodiment, the first flag bit may correspond to the first four bits of the byte, and the second flag bit corresponds to the last four bits of the byte.
For the standard OMCI message, a second flag bit of the device identifier field is filled with a first message type identifier, where the first message type identifier includes a first basic identifier and a first extended identifier, which respectively represent a basic OMCI message and an extended OMCI message sent to the optical gateway, and the first flag bit is 0. For the private OMCI message, a second flag bit of the device identifier field is filled with a second message type identifier, where the second message type identifier includes a second basic identifier and a second extended identifier, which respectively represent a basic OMCI message and an extended OMCI message sent to the edge ONT; the first zone bit is filled with an edge ONT identifier for identifying a specific edge ONT.
The following introduces the setting principle of the flag bit division and the message type identifier as follows:
with reference to fig. 2, in the device identifier field of the standard OMCI message, as specified by the g.998 protocol, only two values 0x0A and 0x0B currently have meanings, corresponding to the basic OMCI message and the extended OMCI message, respectively; where 0x represents hexadecimal, and 0A and 0B correspond to 10 and 11 hexadecimal, respectively. That is, only the last four bits of the current byte have two meaningful values, namely 0xA and 0xB, which respectively correspond to the basic OMCI message and the extended OMCI message; the first four bits are also utilized, but always 0, i.e., 0x0, has no practical significance.
Therefore, in order to facilitate the optical gateway to implement proxy forwarding of the OMCI message, in the embodiment of the present invention, the first four bits (i.e., bits 7 to bit4 in fig. 2) of the byte are fully utilized to set the identifier of the edge ONT, and the second four bits (i.e., bits 3 to bit0 in fig. 2) are added with two other meaningful values respectively used to represent the basic OMCI message and the extended OMCI message sent to the edge ONT, so that the private OMCI message can be obtained after adjustment, as shown in fig. 2. That is, the private OMCI message can be obtained only by performing fine adjustment on the device identifier field of the standard OMCI message, and all the other fields do not need to be changed, that is, all the other fields of the standard OMCI message and the private OMCI message are completely consistent, as shown in fig. 2, and therefore, the contents of all the other fields are not described herein.
Based on the structure of the device identifier field in the standard OMCI message, the description of the first flag bit and the second flag bit is introduced, and the first four bits and the second four bits of the device identifier field are respectively corresponding. As shown in fig. 2, in a specific embodiment, for the standard OMCI message, all 8 bits (i.e., the first flag bit plus the second flag bit) of the device identifier field are padded with 0x0A or 0x 0B; the second flag bit is filled with a first message type identifier, wherein the first message type identifier is a first basic identifier 0xA or a first extended identifier 0xB, and respectively represents a basic OMCI message and an extended OMCI message sent to the optical gateway; the first flag is always filled with 0x 0. For the private OMCI message, a second flag bit of the device identifier field is filled with a second message type identifier, where the second message type identifier is a second basic identifier 0xC or a second extended identifier 0xD, and respectively represents a basic OMCI message and an extended OMCI message sent to the edge ONT; and the first flag bit of the equipment identifier field is filled with an edge ONT identifier for identifying a specific edge ONT.
It should be noted that, in the above embodiment, the first basic identifier and the first extended identifier are respectively taken as 0xA and 0xB according to the specification of the g.998 protocol; in an alternative embodiment, other two different identifiers may be respectively selected according to actual protocol requirements, which is not specifically limited herein. The second basic identifier and the second extended identifier are 0xC and 0xD, respectively, but in an alternative embodiment, other identifiers such as 0xE, 0xF, 0x1, 0x2 may also be selected, and are not specifically limited herein.
For convenience of storage, in the embodiment of the present invention, the ONT ID of the edge ONT minus 1 is filled on the first flag as the edge ONT identifier; thus, the four binary bits corresponding to the first flag bit in the device identifier field may represent 16 numbers of 0-15 at most, i.e. may identify 16 edge ONTs at most. In a special case, if the number of edge ONTs in the FTTR system exceeds the maximum value 16, the edge ONT id may be continuously set by adding one byte of message content at a previous position adjacent to the device identifier field in the private OMCI message, as shown by the dotted line in fig. 2, using the added one byte position.
It should be noted that, in the embodiment of the present invention, the first flag bit corresponds to the first four bits of the device identifier field, and the second flag bit corresponds to the second four bits of the device identifier field, which is not intended to limit the present invention. In an optional embodiment, the size of the most occupied bits of the first message type identifier may be flexibly adjusted to meet the use requirement. For example, if the first message type identifier occupies only three bits at most, the first flag bit may also correspond to the first five bits of the device identifier field, and the second flag bit corresponds to the last three bits of the device identifier field; the rest of the cases are analogized, and the description is omitted here.
By the method provided by the embodiment of the invention, the private OMCI message can be obtained by finely adjusting the standard OMCI message, and correspondingly, the private OMCI message can be restored to the standard OMCI message after being finely adjusted, and the message payload is unchanged before and after each adjustment. The private OMCI message carries an edge ONT identifier and a second message type identifier, the second message type identifier indicates that the message is sent to the edge ONT, and the optical gateway can effectively realize proxy and forwarding of the OMCI message based on the identifier information. The specific proxy forwarding process will be developed in embodiment 2, and will not be described herein.
Example 2
Based on the conversion principle between the standard OMCI message and the private OMCI message provided in embodiment 1, an embodiment of the present invention provides a method for an OLT to manage an edge ONT, as shown in fig. 3, which mainly includes the following steps:
step 10, the optical gateway sends an alarm message to the OLT when sensing the edge ONTs, so that the OLT acquires the edge ONT identifiers of the current edge ONTs and generates private OMCI messages for the edge ONTs according to the acquired edge ONT identifiers.
The step mainly includes the perception of the edge ONT by the OLT and the conversion of the private OMCI message, and the approximate process is as follows: when the edge ONT is on line or off line, the optical gateway senses the on line and the off line of the edge ONT and sends an alarm message to the OLT; after receiving the alarm message, the OLT uploads a Management Information Base (MIB) to the optical gateway again to obtain Information such as the edge ONT identifier of each current edge ONT; after the OLT acquires the information of each edge ONT, aiming at each edge ONT, the OLT adds a corresponding edge ONT identifier on a first zone bit of a standard OMCI message, modifies a first message type identifier on a second zone bit in the standard OMCI message into a corresponding second message type identifier, and forms a corresponding private OMCI message. It should be noted that the alarm message is a message generated when the optical gateway senses that the edge ONT is on or off line, and may be directly sent to the OLT through an OMCI channel. That is, the alarm message also belongs to an OMCI message, but since the message is generated by the optical gateway itself, rather than being forwarded from the edge ONT, the message format does not need to be modified, and the message is directly sent to the OLT in the format of a standard OMCI message; only when the OMCI message from the edge ONT is forwarded, the message format needs to be modified and then the message is sent to the OLT in the format of the private OMCI message.
In general, an edge ONT reports only one ONT-G instance when the MIB is uploaded. In the embodiment of the present invention, the optical gateway may sense the existence of each edge ONT, and when the OLT uploads the MIB to the optical gateway, the optical gateway may report a plurality of ONT-G instances, representing a plurality of edge ONTs, to the OLT, where the instance number represents the ONT ID of the edge ONT; when the OLT receives a plurality of ONT-G instances, the ONT IDs of the respective edge ONTs may be stored according to the corresponding instance numbers. For the OMCI message to be sent to the optical gateway, the OLT may directly send the OMCI message to the optical gateway in the form of a standard OMCI message, so that no modification is required to the standard OMCI message. For the OMCI message to be sent to the edge ONT, the OLT needs to send the message to the optical gateway in the form of a private OMCI message, so that the standard OMCI message needs to be modified to be converted into a corresponding private OMCI message: referring to fig. 2, on one hand, the ONT ID minus 1 is set on the first flag bit of the corresponding device identifier field, and on the other hand, the original first message type identifier on the second flag bit of the device identifier field is modified into the corresponding second message type identifier. The first basic identifier and the first extended identifier are 0xA and 0xB respectively, the second basic identifier and the second extended identifier are 0xC and 0xD respectively, if the second flag bit is 0xA, the corresponding modification is 0xC, and if the second flag bit is 0xB, the corresponding modification is 0 xD.
Step 20, after receiving the private OMCI message sent by the OLT, the optical gateway converts the private OMCI message into a standard OMCI message, and sends the converted standard OMCI message to a corresponding edge ONT according to an edge ONT identifier carried in the private OMCI message.
The OLT manages the edge ONT through OMCI messages in the FTTR system, and the optical gateway and the edge ONT are interacted mainly through standard OMCI messages, so that the optical gateway needs to convert the received private OMCI messages into standard OMCI messages and then forwards the standard OMCI messages to the edge ONT. The step mainly introduces a processing process of the OMCI message sent by the OLT, that is, a processing flow of the downlink OMCI message, which is approximately as follows:
after receiving the OMCI message sent by the OLT, the optical gateway judges the type of the OMCI message according to a message type identifier on a second marker bit in the OMCI message; if the second flag bit is the second message type identifier, determining that the OMCI message is a private OMCI message, and determining, by the optical gateway, a corresponding edge ONT according to the edge ONT identifier on the first flag bit in the private OMCI message; then the optical gateway deletes the edge ONT identifier on the first flag bit in the private OMCI message, which is equivalent to 0x0, and restores the second message type identifier on the second flag bit in the private OMCI message to the corresponding first message type identifier to obtain the corresponding standard OMCI message; and finally, the optical gateway recalculates the check value of the standard OMCI message, and sends the standard OMCI message to the corresponding edge ONT after the calculation is finished.
And step 30, after receiving the standard OMCI message replied by the edge ONT, the optical gateway converts the standard OMCI message into a private OMCI message, and returns the converted private OMCI message to the OLT.
The OLT manages the edge ONT through OMCI messages in the FTTR system, and the optical gateway and the OLT are interacted mainly through private OMCI messages, so that the optical gateway needs to convert the received standard OMCI messages into private OMCI messages and then forwards the private OMCI messages to the OLT. The step mainly introduces a processing procedure of the OMCI message sent by the edge ONT to the OLT, that is, a processing flow of the uplink OMCI message, which is approximately as follows:
after receiving the standard OMCI message replied by the edge ONT, the optical gateway sets the corresponding edge ONT identifier to a first zone bit of the standard OMCI message, and modifies a first message type identifier on a second zone bit in the standard OMCI message into a corresponding second message type identifier to obtain a corresponding private OMCI message; and then the optical gateway recalculates the check value of the private OMCI message, and sends the private OMCI message to the OLT after the calculation is finished. It should be noted that the edge ONT identifier itself is defined by an optical gateway, and when each edge ONT is online at the optical gateway, the optical gateway creates a corresponding OMCI channel and an edge ONT identifier for the edge ONT, that is, the edge ONT identifier and the OMCI channel are in one-to-one correspondence, and the OMCI message corresponding to each edge ONT is transmitted through the corresponding OMCI channel. Therefore, after receiving the standard OMCI message replied by the edge ONT, the optical gateway can determine which edge ONT sent the message through the corresponding OMCI channel, determine the corresponding edge ONT identifier, and set the corresponding edge ONT identifier to the first flag bit of the standard OMCI message.
In the method for managing the edge ONT by the OLT according to the embodiment of the present invention, information of the edge ONT can be reported to the OLT through the optical gateway, so that the OLT can sense the existence, specific number, and the like of the edge ONT; realize OMCI message agent and forwardding through the optical gateway, make OLT can be through OMCI agreement management edge ONT to solve the problem that OLT can't perceive and manage edge ONT in the current FTTR system, development work load is little moreover, has made things convenient for the maintenance of operator to the FTTR system, still can be applicable to some FTTH systems. The optical gateway interacts with each edge ONT through standard OMCI messages, the standard OMCI messages are finely adjusted to obtain the private OMCI messages, and the optical gateway does not need to change message payloads when processing and forwarding the OMCI messages between the edge ONTs and the OLT.
Example 3
On the basis of the above embodiment 2, the embodiment of the present invention further introduces the processing procedure of the downlink OMCI message and the uplink OMCI message.
Referring to fig. 4, the processing procedure of the downlink OMCI message (i.e., the step 20) is specifically as follows:
step 201, after receiving the OMCI message sent by the OLT, the optical gateway determines the type of the OMCI message according to the message type identifier on the second flag bit in the OMCI message.
There may be two OMCI messages received by the optical gateway from the OLT, one is a standard OMCI message, that is, an OMCI message sent by the OLT to the optical gateway, and the OMCI message does not need to be sent to the edge ONT; the other is a private OMCI message, that is, an OMCI message sent by the OLT to the edge ONT, and the OMCI message needs to be forwarded by the optical gateway to the edge ONT. Therefore, after receiving the OMCI message sent by the OLT, the optical gateway needs to perform type judgment first, and then performs corresponding processing according to the type.
Step 202, if the second flag bit is the second message type identifier, determining that the OMCI message is a private OMCI message, and at this time, the optical gateway determines a corresponding edge ONT according to the edge ONT identifier on the first flag bit in the private OMCI message.
Specifically, if the second flag bit of the device identifier field of the OMCI message is the second message type identifier 0xC or 0xD, it is determined that the OMCI message is a private OMCI message and needs to be sent to the edge ONT, and the optical gateway further determines, according to the edge ONT identifier on the first flag bit of the device identifier field, to which edge ONT the OMCI message is specifically sent. If the second flag bit of the device identifier field of the OMCI message is the first message type identifier 0xA or 0xB, it is determined that the OMCI message is a standard OMCI message and does not need to be sent to the edge ONT, and at this time, the optical gateway directly processes the standard OMCI message without performing the subsequent step 203-.
Step 203, judging whether the private OMCI message contains hardware related configuration issued by the OLT; if yes, the optical gateway performs parameter replacement on the hardware related configuration according to the actual hardware resource of the optical gateway, and stores the mapping relation among the actual hardware resource, the hardware related configuration and the edge ONT identifier.
The hardware-related configuration includes, for example, a GEM (Gigabit-Capable Passive Optical network Encapsulation Method) port, a T-CONT (Transmission Container), and the like. It should be noted that the order of step 203 and step 204 may be exchanged, and is not limited to this, and steps 203 and 204 may be executed after the OMCI message is determined to be a private OMCI message.
Step 204, the optical gateway deletes the edge ONT identifier on the first flag bit in the private OMCI message, and restores the second message type identifier on the second flag bit in the private OMCI message to the corresponding first message type identifier, so as to obtain the corresponding standard OMCI message.
Because the optical gateway and the edge ONT need to interact through a standard OMCI message, after determining that the OMCI message is a private OMCI message, the optical gateway needs to convert the private OMCI message into a standard OMCI message before forwarding the private OMCI message to the edge ONT. Specifically, with reference to fig. 2, if the second flag bit of the device identifier field of the private OMCI message is 0xC, the private OMCI message is reduced to 0xA, and if the second flag bit is 0xD, the private OMCI message is reduced to 0 xB; and deleting the edge ONT identity added on the first flag bit of the device identifier field, which is equivalent to restoring the first flag bit to 0x0, so that the private OMCI message is restored to the standard OMCI message, and the message payload is kept unchanged.
Step 205, the optical gateway recalculates the check value of the standard OMCI message, and sends the standard OMCI message to the corresponding edge ONT after the calculation is completed.
The check value generally needs to be recalculated after the OMCI message is processed, and here, the private OMCI message is processed in steps 203 and 204, and then the check value also needs to be recalculated for the standard OMCI message obtained by conversion, and then the check value is sent to the edge ONT corresponding to the edge ONT identifier.
Referring to fig. 5, the processing procedure of the uplink OMCI message (i.e., step 30) is specifically as follows:
step 301, after receiving a standard OMCI message replied by the edge ONT, the optical gateway checks whether the standard OMCI message contains hardware related configuration; if yes, according to the mapping relation between the actual hardware resource, the hardware related configuration and the edge ONT identification stored in advance, the hardware related configuration in the standard OMCI message is subjected to parameter restoration.
Because the optical gateway and the edge ONT are interacted through a standard OMCI message, the edge ONT replies a standard OMCI message to the optical gateway after receiving the standard OMCI message forwarded by the optical gateway; after receiving the standard OMCI message, if the standard OMCI message includes hardware-related configurations, such as a GEM port, a T-CONT, and the like, the optical gateway performs parameter restoration according to the mapping relationship stored in step 203.
Step 302, the optical gateway sets the corresponding edge ONT identifier to the first flag bit of the standard OMCI message, and modifies the first message type identifier on the second flag bit in the standard OMCI message to the corresponding second message type identifier, so as to obtain the corresponding private OMCI message.
Since the optical gateway and the OLT need to interact through the private OMCI message, the standard OMCI message needs to be converted into the private OMCI message before being forwarded to the OLT. With reference to fig. 2, the optical gateway sets the ONT ID of the edge ONT minus 1 at the first flag bit of the device identifier field of the standard OMCI message; and for the second zone bit of the equipment identifier field, if the second zone bit is originally 0xA, the corresponding modification is 0xC, and if the second zone bit is originally 0xB, the corresponding modification is 0xB, so that the standard OMCI message is converted into a corresponding private OMCI message, and the message payload is kept unchanged.
Step 303, the optical gateway recalculates the check value of the private OMCI message, and sends the private OMCI message to the OLT after the calculation is completed.
The check value generally needs to be recalculated after the OMCI message is processed, and here, after the standard OMCI message is processed in the steps 301 and 302, the check value also needs to be recalculated for the private OMCI message obtained by conversion, and then the check value is sent to the OLT.
Example 4
On the basis of the method for managing edge ONT by OLT provided in embodiments 2 to 3, the present invention further provides a device for managing edge ONT by OLT, which can be used to implement the method described above, as shown in fig. 6, is a schematic diagram of a device architecture in an embodiment of the present invention. The arrangement of the OLT managing the edge ONTs of this embodiment comprises one or more processors 21 and a memory 22. In fig. 6, one processor 21 is taken as an example.
The processor 21 and the memory 22 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The memory 22, which is a non-volatile computer-readable storage medium for a method of managing the edge ONTs by the OLT, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the method of managing the edge ONTs by the OLT in embodiments 2 and 3. The processor 21 executes various functional applications and data processing of the apparatus for managing the edge ONT by the OLT by executing the nonvolatile software programs, instructions and modules stored in the memory 22, that is, implements the method of managing the edge ONT by the OLT of embodiments 2 and 3.
The memory 22 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 22 may optionally include memory located remotely from the processor 21, and these remote memories may be connected to the processor 21 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The program instructions/modules are stored in the memory 22 and when executed by the one or more processors 21, perform the method for the OLT to manage the edge ONTs in embodiments 2-3, e.g. perform the steps described above and shown in fig. 3-5.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the embodiments may be implemented by associated hardware as instructed by a program, which may be stored on a computer-readable storage medium, which may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for an OLT to manage edge ONTs, comprising:
the optical gateway sends an alarm message to the OLT when sensing the edge ONT so that the OLT acquires the edge ONT identification of each current edge ONT and respectively generates a private OMCI message for each edge ONT according to the acquired edge ONT identification;
after receiving the private OMCI message sent by the OLT, the optical gateway converts the private OMCI message into a standard OMCI message, and sends the converted standard OMCI message to a corresponding edge ONT according to an edge ONT identifier carried in the private OMCI message;
and after receiving the standard OMCI message replied by the edge ONT, the optical gateway converts the standard OMCI message into a private OMCI message and returns the converted private OMCI message to the OLT.
2. The method for managing edge ONTs by an OLT according to claim 1, wherein the optical gateway sends an alarm message to the OLT when sensing the edge ONTs, so that the OLT acquires edge ONT identifiers of current edge ONTs and generates private OMCI messages for the edge ONTs according to the acquired edge ONT identifiers, specifically:
when the edge ONT is on line or off line, the optical gateway senses the on line and the off line of the edge ONT and sends an alarm message to the OLT;
after receiving the alarm message, the OLT uploads the MIB to the optical gateway again so as to acquire the edge ONT identifier of each current edge ONT;
and for each edge ONT, the OLT adds a corresponding edge ONT identifier on a first zone bit of the standard OMCI message, and modifies a first message type identifier on a second zone bit in the standard OMCI message into a corresponding second message type identifier to form a corresponding private OMCI message.
3. The method for managing edge ONTs by an OLT according to claim 2, wherein the optical gateway converts a private OMCI message into a standard OMCI message after receiving the private OMCI message sent by the OLT, and sends the converted standard OMCI message to a corresponding edge ONT according to an edge ONT identifier carried in the private OMCI message, specifically:
after receiving the OMCI message sent by the OLT, the optical gateway judges the type of the OMCI message according to a message type identifier on a second marker bit in the OMCI message;
if the second flag bit is the second message type identifier, determining that the OMCI message is a private OMCI message, and determining, by the optical gateway, a corresponding edge ONT according to the edge ONT identifier on the first flag bit in the private OMCI message;
the optical gateway deletes the edge ONT identifier on the first zone bit in the private OMCI message, and restores the second message type identifier on the second zone bit in the private OMCI message to the corresponding first message type identifier to obtain the corresponding standard OMCI message;
and the optical gateway recalculates the check value of the standard OMCI message, and sends the standard OMCI message to the corresponding edge ONT after the calculation is finished.
4. The method of claim 3, wherein if the second flag bit of the OMCI message is the first message type identifier, the OMCI message is determined to be a standard OMCI message, and the optical gateway directly processes the standard OMCI message.
5. The method of an OLT managing an edge ONT of claim 3, wherein after determining that the OMCI message is a private OMCI message, the method further comprises:
judging whether the private OMCI message contains hardware related configuration issued by the OLT;
if yes, the optical gateway performs parameter replacement on the hardware related configuration according to the actual hardware resource of the optical gateway, and stores the mapping relation among the actual hardware resource, the hardware related configuration and the edge ONT identifier.
6. The method for an OLT to manage an edge ONT according to claim 5, wherein the optical gateway receives a standard OMCI message replied by the edge ONT, converts the standard OMCI message into a private OMCI message, and returns the converted private OMCI message to the OLT, specifically:
after receiving the standard OMCI message replied by the edge ONT, the optical gateway sets the corresponding edge ONT identifier to a first zone bit of the standard OMCI message, and modifies a first message type identifier on a second zone bit in the standard OMCI message into a corresponding second message type identifier to obtain a corresponding private OMCI message;
and the optical gateway recalculates the check value of the private OMCI message, and sends the private OMCI message to the OLT after the calculation is finished.
7. The method of claim 6, wherein after the optical gateway receives a standard OMCI message returned by the edge ONT, the method further comprises:
the optical gateway checks whether the standard OMCI message contains hardware related configuration;
if yes, the optical gateway restores the parameters of the hardware related configuration in the standard OMCI message according to the mapping relation among the actual hardware resources, the hardware related configuration and the edge ONT identification which are pre-stored by the optical gateway.
8. The method of any of claims 2 to 7, wherein the first message type identifier comprises a first basic identifier and a first extended identifier, which respectively represent a basic OMCI message and an extended OMCI message sent to the optical gateway;
the second message type identifier includes a second basic identifier and a second extended identifier, which respectively represent a basic OMCI message and an extended OMCI message sent to the edge ONT.
9. The method of any of claims 2 to 7, wherein the standard OMCI message and the private OMCI message each comprise a device identifier field, and wherein the first flag bit and the second flag bit are each located in the corresponding device identifier field;
the size of the device identifier field occupies one byte, the first flag bit corresponds to the first four bits of the byte, and the second flag bit corresponds to the second four bits of the byte.
10. An arrangement for an OLT to manage edge ONTs, comprising at least one processor and a memory, said at least one processor and said memory being coupled via a data bus, said memory storing instructions executable by said at least one processor, said instructions, upon execution by said processor, performing the method for an OLT to manage edge ONTs according to any of claims 1-9.
CN202110770438.8A 2021-07-07 2021-07-07 Method and device for managing edge ONT (optical network terminal) by OLT (optical line terminal) Active CN113507656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110770438.8A CN113507656B (en) 2021-07-07 2021-07-07 Method and device for managing edge ONT (optical network terminal) by OLT (optical line terminal)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110770438.8A CN113507656B (en) 2021-07-07 2021-07-07 Method and device for managing edge ONT (optical network terminal) by OLT (optical line terminal)

Publications (2)

Publication Number Publication Date
CN113507656A true CN113507656A (en) 2021-10-15
CN113507656B CN113507656B (en) 2022-05-13

Family

ID=78012081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110770438.8A Active CN113507656B (en) 2021-07-07 2021-07-07 Method and device for managing edge ONT (optical network terminal) by OLT (optical line terminal)

Country Status (1)

Country Link
CN (1) CN113507656B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025262A (en) * 2021-11-05 2022-02-08 烽火通信科技股份有限公司 Data intercommunication method between edge ONTs in FTTR system, optical gateway and edge ONT equipment
CN114257889A (en) * 2021-12-22 2022-03-29 中兴通讯股份有限公司 Network element management method and system, network element and storage medium thereof
CN116208875A (en) * 2023-04-28 2023-06-02 深圳市新蕾电子有限公司 ONU (optical network Unit) management method for FTTR (fiber to the Home)
CN117241165A (en) * 2023-11-14 2023-12-15 中兴通讯股份有限公司 Master-slave device communication method, storage medium and electronic apparatus for fiber-to-room FTTR
CN117544876A (en) * 2024-01-05 2024-02-09 广东朝歌智慧互联科技有限公司 Optical fiber access network system based on MINI-OLT (MINI-optical line terminal) server and control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459656A (en) * 2007-12-13 2009-06-17 华为技术有限公司 Passive optical network aggregation node device and system
EP2161943A1 (en) * 2008-09-08 2010-03-10 Alcatel, Lucent Method for remotely managing devices, devices and systems related thereto
CN103701628A (en) * 2013-10-12 2014-04-02 华为技术有限公司 Home gateway configuration management method, virtual home gateway and optical network terminal
CN104244117A (en) * 2013-06-24 2014-12-24 鼎点视讯科技有限公司 Cascading method and system for optical network units
CN113014324A (en) * 2021-05-25 2021-06-22 武汉长光科技有限公司 Networking method, device, equipment, system and storage medium
CN113068086A (en) * 2020-01-02 2021-07-02 上海诺基亚贝尔股份有限公司 Method, device and system for transmitting OMCI (open multimedia interface) message

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459656A (en) * 2007-12-13 2009-06-17 华为技术有限公司 Passive optical network aggregation node device and system
EP2161943A1 (en) * 2008-09-08 2010-03-10 Alcatel, Lucent Method for remotely managing devices, devices and systems related thereto
CN104244117A (en) * 2013-06-24 2014-12-24 鼎点视讯科技有限公司 Cascading method and system for optical network units
CN103701628A (en) * 2013-10-12 2014-04-02 华为技术有限公司 Home gateway configuration management method, virtual home gateway and optical network terminal
CN113068086A (en) * 2020-01-02 2021-07-02 上海诺基亚贝尔股份有限公司 Method, device and system for transmitting OMCI (open multimedia interface) message
CN113014324A (en) * 2021-05-25 2021-06-22 武汉长光科技有限公司 Networking method, device, equipment, system and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ZIXU WU: "A Fast Two-Step Topology Reconfiguration Algorithm for Core-Level Fault Tolerance in NoCs", 《2012 FIFTH INTERNATIONAL SYMPOSIUM ON PARALLEL ARCHITECTURES, ALGORITHMS AND PROGRAMMING》 *
华为技术有限公司: "FTTR全光房间打造家庭和中小企业真千兆宽带体验", 《通信世界》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025262A (en) * 2021-11-05 2022-02-08 烽火通信科技股份有限公司 Data intercommunication method between edge ONTs in FTTR system, optical gateway and edge ONT equipment
CN114257889A (en) * 2021-12-22 2022-03-29 中兴通讯股份有限公司 Network element management method and system, network element and storage medium thereof
CN116208875A (en) * 2023-04-28 2023-06-02 深圳市新蕾电子有限公司 ONU (optical network Unit) management method for FTTR (fiber to the Home)
CN116208875B (en) * 2023-04-28 2023-07-07 深圳市新蕾电子有限公司 ONU (optical network Unit) management method for FTTR (fiber to the Home)
CN117241165A (en) * 2023-11-14 2023-12-15 中兴通讯股份有限公司 Master-slave device communication method, storage medium and electronic apparatus for fiber-to-room FTTR
CN117241165B (en) * 2023-11-14 2024-03-19 中兴通讯股份有限公司 Master-slave device communication method, storage medium and electronic apparatus for fiber-to-room FTTR
CN117544876A (en) * 2024-01-05 2024-02-09 广东朝歌智慧互联科技有限公司 Optical fiber access network system based on MINI-OLT (MINI-optical line terminal) server and control method thereof
CN117544876B (en) * 2024-01-05 2024-03-26 广东朝歌智慧互联科技有限公司 Optical fiber access network system based on MINI-OLT (MINI-optical line terminal) server and control method thereof

Also Published As

Publication number Publication date
CN113507656B (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN113507656B (en) Method and device for managing edge ONT (optical network terminal) by OLT (optical line terminal)
CN105099898B (en) A kind of PPPOE message forwarding methods and BRAS servers
CN110048927A (en) Communication means and communication device
US10148565B2 (en) OPENFLOW communication method and system, controller, and service gateway
EP3491835A1 (en) Method and apparatus for controlling data forwarding in pon
CN109525566B (en) LoRaWan data exchange method based on enhanced MQTT message mechanism
CN111786867B (en) Data transmission method and server
RU2012156035A (en) METHOD AND SYSTEM FOR IDENTIFICATION AND ENSURING ACCESS TO HOME GATEWAY NETWORK
CN110166857B (en) Method for realizing dynamic configuration of fiber channel switch
CN112492409B (en) Service configuration method and device
CN109787849A (en) A kind of OLT logical network test method
CN104243608A (en) Communication method, cloud management server and virtual switch
CN105591956B (en) Flow control methods and equipment based on User-Network Interface UNI
CN110798897B (en) Network resource scheduling method and device
CN116801138A (en) Control method, device, communication equipment and computer storage medium
CN107872343B (en) Flow forwarding control method and device and software defined network controller
CN114025262A (en) Data intercommunication method between edge ONTs in FTTR system, optical gateway and edge ONT equipment
CN114465788A (en) Multi-fusion gateway information encryption publishing method and device
US20180159798A1 (en) Packet relay apparatus and packet relay method
CN103475506A (en) Multi-equipment management control method and multi-equipment management control system
CN111147269B (en) Access point configuration method, networking system, access point and storage medium
US20240048644A1 (en) Message transmission method and system, and network device and storage medium
CN112333574B (en) Method and system for rapidly discovering and managing communication access terminal product
CN111510511A (en) Data reporting network creating method, data reporting method and related equipment
CN110943897A (en) PPPoE data message transmission method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant