A multi-stage pon network management method and related apparatus

By introducing identification and configuration information from OMCI messages into the PON network, the master user terminal device can determine the configuration mode and process the slave user terminal devices, thus solving the unified management problem of multi-level PON network systems and improving management and configuration efficiency.

CN114531622BActive Publication Date: 2025-12-12HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011197591.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-30
Publication Date
2025-12-12
Estimated Expiration
2040-10-30

AI Technical Summary

Technical Problem

In multi-level PON network systems, existing technologies cannot achieve unified management of the network between the central office equipment and the first-level user terminal equipment, and between the first-level user terminal equipment and the second-level user terminal equipment, resulting in inconvenience in management and maintenance.

Method used

By introducing OMCI messages between the central office equipment and the user terminal equipment, which contain first identification information and configuration information, the master user terminal equipment determines the configuration mode and processes the configuration information based on the identification information, thereby achieving unified management of the slave user terminal equipment.

Benefits of technology

It enables unified management of multi-level user terminal devices, improves configuration efficiency and OMCI message processing efficiency, and reduces the processing complexity of the main user terminal device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114531622B_ABST
    Figure CN114531622B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a kind of multi-stage passive optical network PON management method and communication device, it is related to OLT master user terminal equipment and slave user terminal equipment.When OLT needs to configure a slave user terminal equipment under a master user terminal equipment, the master user terminal equipment will receive the first OMCI message from OLT, which contains first identification information and configuration information, the first identification information is used to indicate the slave user terminal equipment to be configured, and the configuration information is information used to configure the slave user terminal equipment.Then, the master user terminal equipment determines the configuration mode of the slave user terminal equipment according to the first identification information, processes the configuration information according to the configuration mode, and configures the slave user terminal equipment corresponding to the first identification information.Therefore, OLT can configure the slave user terminal equipment through the master user terminal equipment.As OLT can configure the master user terminal equipment, it can realize the unified management of multi-stage user terminal equipment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the field of optical network, and in particular, to a multi-stage PON network management method and related apparatus. BACKGROUND

[0002] Passive optical network (PON), referred to as passive optical network, is a kind of single fiber bidirectional optical access network with point to multiple point (P2MP) structure. The PON network system is composed of a central office device and one or more user terminal devices.

[0003] In a multi-stage PON network system, the network between the central office device and the first stage user terminal device and the network between the first stage user terminal device and the second stage user terminal device are managed by different management devices. Therefore, it is not conducive to manage and maintain the multi-stage PON network system. At present, seeking a scheme capable of uniformly managing the multi-stage PON network system is an urgent problem to be solved. SUMMARY

[0004] Embodiments of the present application provide a multi-stage PON network management method and related apparatus, for realizing the uniform management of the central office device to the multi-stage user terminal device.

[0005] In the first aspect, the present application provides a multi-stage passive optical network (PON) management method, which involves a central office device (for example, an optical line terminal (OLT)) and a user terminal device (for example, a master optical network terminal (ONT) and a slave optical network terminal (ONT)). When the OLT needs to configure a slave user terminal device under a master user terminal device, the master user terminal device will receive a first OMCI message from the optical line terminal (OLT). The first OMCI message includes first identification information and configuration information. The first identification information is used to indicate the slave user terminal device to be configured, and the configuration information is information used to configure the slave user terminal device. Then, the master user terminal device determines the configuration mode of the slave user terminal device according to the first identification information. Then, the master user terminal device processes the configuration information according to the configuration mode, and configures the slave user terminal device corresponding to the first identification information.

[0006] In the embodiment, the first OMCI message sent by the OLT to the master ONT contains the configuration information to be configured to the slave ONT and the first identification information indicating the slave ONT. Therefore, the master ONT can determine the slave ONT to which the configuration information is to be configured according to the first identification information. In addition, the master ONT can also determine the configuration mode for configuring the slave ONT according to the first identification information, process the configuration information according to the configuration mode, and send the processed configuration information to the slave ONT. Since the master ONT can process the first OMCI message containing the configuration information of the slave ONT, the OLT can send the OMCI message containing the configuration information of the slave ONT to the master ONT for processing when the OLT needs to configure the slave ONT. Since the OLT can configure the master ONT, the OLT can configure the slave ONT through the master ONT according to the method of the present application. Therefore, the method can realize the unified management of the multi-level ONTs.

[0007] In an alternative embodiment, the first identification information is used to indicate an instance associated with the slave ONT, and the first identification information is encapsulated in the message identifier field of the first OMCI message. That is, the first identification information indicating the slave ONT to be configured is an instance identifier. The master ONT can determine the configuration mode for processing the first OMCI message from the OLT according to the instance identifier. The value of the first identification information is different, and the determined configuration mode is also different.

[0008] If the instance indicated by the first identification information belongs to an entity in the slave ONT, that is, the first identification information indicates an instance of a specific entity in the slave ONT. At this time, the master ONT determines that the configuration mode is the first mode. In the first mode, the master ONT configures the slave ONT based on the first identification information and the configuration information carried in the message content field of the first OMCI message, and the first identification information is also used to indicate the instance of the slave ONT to which the configuration information is to be configured.

[0009] Optionally, in the first mode, the master ONT processes the configuration information according to one of the OMCI protocol, the Ethernet protocol and the Internet Protocol (IP) protocol.

[0010] If the entity to which the instance indicated by the first identification information is located in the master user-side device, that is, the first identification information indicates an instance of an entity in the master user-side device, but the instance is associated with the slave user-side device. At this time, the master user-side device determines that the aforementioned configuration mode is the second mode. In the second mode, the master user-side device configures the slave user-side device based on the configuration information carried by the message content field of the first OMCI message and the second identification information used to indicate the instance of the slave user-side device to which the configuration information is to be configured.

[0011] Optionally, in the second mode, the master user-side device processes the configuration information using the OMCI protocol.

[0012] In the embodiment, the first identification information is carried in the first OMCI message from the OLT. By identifying the value of the first identification information, it can be determined which mode the master user-side device uses to process the first OMCI message. Thus, the master user-side device can use different configuration modes to process the aforementioned configuration information. In addition, the first identification information is represented by an instance identifier. The master user-side device can determine whether the first OMCI message is used to configure an instance in the master user-side device or an instance in the slave user-side device according to the instance identifier. In addition, in the aforementioned first mode, the first identification information used to determine the configuration mode is also an instance identifier used to indicate the instance of the slave user-side device to which the configuration information is to be configured. Therefore, the master user-side device only needs to configure the slave user-side device based on the aforementioned first identification information and the configuration information. In the second mode, the first identification information used to determine the configuration mode is not the same as the instance identifier used to indicate the instance of the slave user-side device to which the configuration information is to be configured (i.e., the second identification information). Therefore, the master user-side device needs to configure the slave user-side device based on the second identification information and the configuration information. The embodiment distinguishes between the two processing modes using the aforementioned first identification information, which is beneficial for the master user-side device to configure the slave user-side device according to different configuration modes according to different first identification information. In addition, since the first identification information is encapsulated in the message identifier field of the first OMCI message, rather than the message content field of the first OMCI message, when the master user-side device sequentially parses each field of the aforementioned first OMCI message, the first identification information in the message identifier field can be obtained first, and then it can be determined which mode to use to process the content in the message content field according to the first identification information. Therefore, it is beneficial to improve the efficiency of the master user-side device in processing the first OMCI message.

[0013] In another optional embodiment, the manner in which the master user-side device processes the aforementioned first OMCI message can include:

[0014] The master ONU device parses the message content field of the first OMCI message by using the OMCI protocol to obtain the content in the message content field. The content in the message content field includes the configuration information or an OMCI message field carrying the configuration information. Then, the master ONU device encapsulates the content in the message content field into a first message according to the protocol indicated by the configuration mode. Then, the master ONU device sends the first message to the slave ONU device by using the protocol indicated by the configuration mode.

[0015] In the embodiment, the configuration information is encapsulated in the message content field of the first OMCI message, and the master ONU device needs to encapsulate the content in the message content field into a message (i.e., the first message) recognizable by the slave ONU device according to the configuration mode. Compared with the prior art, the OMCI message received by the master ONU device in the prior art is an OMCI message for configuring the master ONU device, and the master ONU device only needs to parse the configuration information for configuring the master ONU device from the message content field of the OMCI message. Since the method in the prior art does not need to interact with the slave ONT, it is not necessary to process the received OMCI message according to the mode.

[0016] In another optional embodiment, the entity to which the instance indicated by the first identification information belongs is located in the slave ONU device, the first message includes the first identification information and the configuration information, and the configuration information is used to configure the instance indicated by the first identification information.

[0017] In the embodiment, the instance of the slave ONU device to be configured by the configuration information is used as the instance of the slave ONU device, and the master ONU device determines the configuration mode of the master ONU device for processing the first OMCI message according to the instance of the slave ONU device to be configured by the configuration information.

[0018] In another optional embodiment, the entity to which the instance indicated by the first identification information belongs is located in the master ONU device, the first message includes the second identification information and the configuration information, and the configuration information is used to configure the instance indicated by the second identification information.

[0019] In the embodiment, the instance of the slave user-side equipment (i.e. the second identification information) to which the configuration information is configured is different from the instance of the slave user-side equipment (i.e. the first identification information). The instance of the entity of the proxy module of the master user-side equipment (i.e. the first identification information) indicates the slave user-side equipment. The first identification information and the second identification information are encapsulated respectively. The first identification information is encapsulated in the message identifier field of the first OMCI message, and the second identification information and the configuration information are encapsulated in the message content field of the first OMCI message. Thus, when the master user-side equipment processes the first OMCI message, the master user-side equipment can know that the proxy mode is used when the first identification information in the message identifier field is parsed, i.e. the content in the message content field of the first OMCI message is not further parsed, but the content in the message content field is added with a field and then forwarded to the slave user-side equipment.

[0020] In another optional embodiment, the configuration mode of processing the configuration information is the first mode, and the content in the message content field is the configuration information. The master user-side equipment encapsulates the content in the message content field into a first message according to the protocol indicated by the configuration mode, including: when it is determined that the OMCI channel is not established between the master user-side equipment and the slave user-side equipment, the master user-side equipment encapsulates the configuration information and the first identification information into the first message according to the Ethernet protocol or the IP protocol, and the first message is an IP message or an Ethernet message. The master user-side equipment sends the first message to the slave user-side equipment according to the protocol indicated by the configuration mode, including: the master user-side equipment sends the first message to the slave user-side equipment according to the Ethernet protocol or the IP protocol, so that the slave user-side equipment is configured according to the configuration information carried by the first message.

[0021] In the first mode, if the OMCI channel is not established between the master user-side equipment and the slave user-side equipment, the master user-side equipment and the slave user-side equipment cannot interact with each other through the OMCI message. Therefore, the master user-side equipment re-encapsulates the configuration information in the first OMCI message and the instance identification corresponding to the configuration information (i.e. the first identification information) into a first message, and sends the first message to the slave user-side equipment. The first message is a message that can be recognized by the slave user-side equipment, such as an Ethernet message or an IP message. In the embodiment, the configuration information is encapsulated into a message that can be recognized by the slave user-side equipment by the master user-side equipment, so that the slave user-side equipment can recognize the configuration information from the master user-side equipment, and then the slave user-side equipment is configured according to the configuration information.

[0022] In another alternative implementation, the configuration mode for processing the configuration information is the first mode, the content in the message content field is the configuration information, and the first message is a second OMCI message. The master CPE encapsulates the content in the message content field into the first message according to the protocol indicated by the configuration mode, including: when it is determined that an OMCI channel has been established between the master CPE and the slave CPE, the master CPE encapsulates the configuration information and the first identification information into the second OMCI message using the OMCI protocol, the configuration information being encapsulated into a message content field of the second OMCI message, and the first identification information being encapsulated into a message identifier field of the second OMCI message. The master CPE sends the first message to the slave CPE using the protocol indicated by the configuration mode, including: the master CPE sends the second OMCI message to the slave CPE using the OMCI protocol, so that the slave CPE is configured according to the configuration information carried by the second OMCI message.

[0023] In the first mode, an OMCI channel has been established between the master CPE and the slave CPE in the present embodiment, so that the master CPE and the slave CPE can exchange data through OMCI messages. Therefore, the master CPE re-encapsulates the configuration information in the first OMCI message and the instance identifier corresponding to the configuration information (i.e., the first identification information) into a second OMCI message, and sends the configuration information to the slave CPE through the second OMCI message.

[0024] In another alternative implementation, the configuration mode for processing the configuration information is the second mode, the protocol indicated by the configuration mode is the OMCI protocol, the content in the message content field is at least two OMCI message fields, the at least two OMCI message fields are encapsulated into a message content field of the first OMCI message by the OLT, and the at least two OMCI message fields carry the configuration information and the second identification information. The master CPE encapsulates the content in the message content field into the first message according to the protocol indicated by the configuration mode, including: the master CPE encapsulates a third OMCI message according to the at least two OMCI message fields using the OMCI protocol, a GEM header information field of the third OMCI message carrying third identification information, the third identification information being used to indicate an OMCI channel between the master CPE and the slave CPE. The master CPE sends the first message to the slave CPE using the protocol indicated by the configuration mode, including: the master CPE sends the third OMCI message to the slave CPE using the OMCI protocol, so that the slave CPE is configured according to the configuration information carried by the third OMCI message.

[0025] In the second mode, the master user-side equipment and the slave user-side equipment have established an OMCI channel, and the master user-side equipment and the slave user-side equipment can exchange data through OMCI messages. In addition, part of the third OMCI message to be sent by the master user-side equipment to the slave user-side equipment is encapsulated by the OLT device, and thus the master user-side equipment only needs to encapsulate the at least two fields into a complete OMCI message. Therefore, the complexity of the master user-side equipment in processing the OMCI message can be reduced, and the processing load of the master user-side equipment in encapsulating the OMCI message can be reduced.

[0026] In another optional implementation, the at least two OMCI message fields include a message identifier field and a message content field, the second identification information is located in the message identifier field of the at least two OMCI message fields, and the configuration information is located in the message content field of the at least two OMCI message fields.

[0027] In another optional implementation, the first identification information is an instance identifier of a proxy instance associated with the slave user-side equipment in the master user-side equipment.

[0028] In another optional implementation, the method further includes: the master user-side equipment establishing an OMCI channel between the master user-side equipment and the slave user-side equipment.

[0029] In the embodiment, if the master ONU needs to communicate with the slave ONU through the OMCI message, the master ONU and the slave ONU need to establish an OMCI channel for transmitting the OMCI message. Specifically, when the slave ONU is connected to the master ONU, the master ONU sends a broadcast message to the slave ONU, so that the slave ONU sends the information for authentication to the master ONU. Then, the master ONU authenticates the slave ONU, and if the authentication is passed, the master ONU allocates an ONT ID (or ONU ID) to the slave ONU. At the same time, the slave ONU immediately creates an OMCI GEM port, which is the port of the logical channel for carrying the OMCI message between the slave ONU and the master ONU. The identification of the OMCI GEM port (i.e. OMCI GEM port ID) is equal to the value of the ONT ID (or ONU ID). Thereafter, the OMCI message sent by the master ONU to the slave ONU needs to carry the OMCI GEM port ID. The process of establishing the OMCI channel between the master ONU and the slave ONU can also be understood as the process of establishing the OMCI GEM port by the slave ONU and providing the OMCI GEM port ID to the master ONU.

[0030] In another alternative embodiment, the slave ONU is connected to the master ONU through a PON dedicated interface for running the OMCI channel, and the PON dedicated interface includes a PON UNI port of the master ONU and an ANI port of the slave ONU, and the downstream PON UNI port of the master ONU is associated with the ANI port of the slave ONU.

[0031] In another alternative embodiment, before the master ONU receives the first OMCI message from the OLT, the method further includes that the master ONU sends the OLT the association relationship between the first identification information and the instance identification of the downstream PON port of the master ONU.

[0032] In the embodiment, since one OLT is usually connected to multiple ONUs, the OLT needs to distinguish the identification information from different ONUs. Therefore, the embodiment proposes that the master ONU provides the first identification information to the OLT in the form of the association relationship, so that the OLT can know which specific master ONU the first identification information is from.

[0033] In another alternative implementation, the configuration information includes any one of access node interface (ANI) management configuration information, user network interface (UNI) management configuration information, connection management configuration information, and user management configuration information.

[0034] In another alternative implementation, before the master ONT receives the first OMCI message from the OLT, the method further includes: the master ONT obtaining information of the slave ONT, the information of the slave ONT including connection information between the master ONT and the slave ONT, and information of instances that the slave ONT needs to be configured; and the master ONT sending a third OMCI message to the OLT, the third OMCI message carrying the information of the slave ONT, the information of the slave ONT being used to enable the OLT to encapsulate the first OMCI message according to the information of the slave ONT.

[0035] In this embodiment, it is proposed that the master ONT needs to provide the OLT with information about the slave ONT, so that the OLT can encapsulate the first OMCI message based on the information about the slave ONT.

[0036] In another alternative implementation, the third OMCI message further includes mode information, the mode information being used to indicate a mode in which the master ONT processes the first OMCI message.

[0037] In this embodiment, it is proposed that when the master ONT provides the OLT with the information about the slave ONT, the master ONT can carry a character or a variable to indicate a configuration mode in which the master ONT can process configuration information, so that the OLT encapsulates the first OMCI message according to the mode indicated by the mode information.

[0038] In a second aspect, the present application provides a multi-stage passive optical network (PON) management method, including: an optical line terminal (OLT) receiving first identification information sent by a master ONT, the first identification information being used to indicate a slave ONT to be configured; the OLT determining a configuration mode in which the master ONT configures the slave ONT according to the first identification information; the OLT encapsulating a first ONT / ONU management control interface (OMCI) message according to the configuration mode, the first OMCI message including the first identification information and configuration information, the configuration information being information used to configure the slave ONT; and the OLT sending the first OMCI message to the master ONT, so that the master ONT configures the slave ONT according to the first identification information and the configuration information carried by the first OMCI message.

[0039] In the embodiment, the local device can determine the configuration mode according to the first identification information sent by the master user device, and encapsulate the first OMCI message for the master user device according to the configuration mode, so that the master user device can determine the slave user device to which the configuration information is to be configured and the configuration mode according to the first identification information, and configure the slave user device according to the configuration mode. By using the scheme of the application, the local device can configure the slave user device through the master user device. Since the local device can configure the master user device, the unified management of the multi-level user devices can be realized.

[0040] In an optional embodiment, the first identification information is used to indicate an instance associated with the slave user device. The OLT determines the encapsulation mode of the first OMCI message according to the first identification information, including: when the entity to which the instance indicated by the first identification information belongs is located in the slave user device, the OLT determines that the configuration mode is a first mode, in which the OLT encapsulates the configuration information into the message content field of the first OMCI message, and the first identification information is used to indicate the instance of the slave user device to which the configuration information is to be configured; when the entity to which the instance indicated by the first identification information belongs is located in the master user device, the OLT determines that the configuration mode is a second mode, in which the OLT encapsulates the field encapsulated with the configuration information and the field encapsulated with second identification information into the message content field of the first OMCI message, and the second identification information is used to indicate the instance of the slave user device to which the configuration information is to be configured.

[0041] In an optional embodiment, the configuration mode of processing the configuration information is the first mode; and before the OLT encapsulates the first OMCI message according to the configuration mode, the method further includes: the OLT determines the configuration information according to the first identification information; and the OLT encapsulates the first OMCI message according to the configuration mode, including: the OLT encapsulates the first identification information into the message identifier field of the first OMCI message, and encapsulates the configuration information into the message content field of the first OMCI message.

[0042] In an optional implementation, the configuration mode of processing the configuration information is the second mode; before the OLT encapsulates the first OMCI message according to the configuration mode, the method further includes: the OLT receives second identification information sent by the master user terminal device; the OLT determines the configuration information according to the second identification information, the configuration information being used for configuring the instance indicated by the second identification information; the OLT encapsulates the first OMCI message according to the configuration mode, including: the OLT encapsulates the first identification information in a message identifier field of the first OMCI message, and encapsulates at least two OMCI message fields encapsulating the configuration information and the second identification information in a message content field of the first OMCI message.

[0043] In an optional implementation, the at least two OMCI message fields include a message identifier field and a message content field, the second identification information is located in the message identifier field in the at least two OMCI message fields, and the configuration information is located in the message content field in the at least two OMCI message fields.

[0044] In an optional implementation, the method further includes: the OLT receives an association relationship between the first identification information sent by the master user terminal device and an instance identifier of a downstream PON port of the master user terminal device; the OLT determines a connection relationship of the master user terminal device and the slave user terminal device according to the association relationship, and configures the slave user terminal device by sending the first OMCI message carrying the configuration information to the master user terminal device.

[0045] In an optional implementation, the configuration information includes any one of access point interface ANI management configuration information, user network interface UNI management configuration information, connection management configuration information, and user management configuration information.

[0046] It should be noted that the embodiments of the present application have various other specific implementation manners, and specific implementation manners and beneficial effects can be referred to the specific implementation manners and beneficial effects of the first aspect, which will not be described here.

[0047] In a third aspect, the present application provides a multi-stage passive optical network (PON) management method, including: receiving, by a slave user terminal device, a third OMCI message sent by a master user terminal device; parsing, by the slave user terminal device, the third OMCI message using an OMCI protocol to obtain configuration information used for configuring the slave user terminal device; and configuring, by the slave user terminal device, according to the configuration information.

[0048] In an optional implementation, the parsing, by the slave user terminal device, the third OMCI message using the OMCI protocol includes:

[0049] The slave user side equipment parses a message identifier field of the third OMCI message to obtain second identification information, the second identification information being used to indicate an instance of the slave user side equipment to which the configuration information is to be configured;

[0050] The slave user side equipment parses a message content field of the third OMCI message to obtain the configuration information.

[0051] It should be noted that the embodiments of the present application have various other specific implementation manners, and the specific implementation manners and advantages thereof can be referred to the specific implementation manners and advantages of the first aspect, which will not be described herein.

[0052] In a fourth aspect, the embodiments of the present application provide a communication apparatus. The communication apparatus can be the master user side equipment in the foregoing implementation manners, or can be a chip in the master user side equipment. The master user side equipment can be an optical network terminal (ONT) or an optical network unit (ONU). The communication apparatus can include a processing module and a transceiver module. When the communication apparatus is an authentication server, the processing module can be a processor, and the transceiver module can be a transceiver. The master user side equipment can further include a storage module, which can be a memory. The storage module is configured to store instructions, and the processing module is configured to execute the instructions stored in the storage module, so that the master user side equipment performs the method in the first aspect or any of the implementation manners of the first aspect. When the communication apparatus is a chip in the master user side equipment, the processing module can be a processor, and the transceiver module can be an input / output interface, a pin, a circuit, or the like. The processing module executes instructions stored in the storage module, so that the master user side equipment performs the method in the first aspect or any of the implementation manners of the first aspect. The storage module can be a storage module (for example, a register, a cache, or the like) in the chip, or can be a storage module (for example, a read-only memory, a random access memory, or the like) outside the chip in the master user side equipment.

[0053] In a fifth aspect, an embodiment of the present application provides a communication apparatus, which can be the OLT in the foregoing embodiments, or a chip in the OLT. The communication apparatus can include a processing module and a transceiver module. When the communication apparatus is the OLT, the processing module can be a processor, and the transceiver module can be a transceiver; the OLT can further include a storage module, which can be a memory; the storage module is configured to store instructions, and the processing module executes the instructions stored in the storage module, so that the OLT performs the method in the second aspect or any of the implementation forms of the second aspect. When the communication apparatus is a chip in the OLT, the processing module can be a processor, and the transceiver module can be an input / output interface, a pin, or a circuit, etc.; the processing module executes the instructions stored in the storage module, so that the OLT performs the method in the second aspect or any of the implementation forms of the second aspect. The storage module can be a storage module (e.g., a register, a cache, etc.) in the chip, or a storage module (e.g., a read-only memory, a random access memory, etc.) outside the chip in the OLT.

[0054] In a sixth aspect, an embodiment of the present application provides a communication apparatus, which can be the slave user-side device in the foregoing embodiments, or a chip in the slave user-side device. The slave user-side device can be an optical network terminal (ONT) or an optical network unit (ONU). The communication apparatus can include a processing module and a transceiver module. When the communication apparatus is the authentication server, the processing module can be a processor, and the transceiver module can be a transceiver; the slave user-side device can further include a storage module, which can be a memory; the storage module is configured to store instructions, and the processing module executes the instructions stored in the storage module, so that the slave user-side device performs the method in the third aspect or any of the implementation forms of the third aspect. When the communication apparatus is a chip in the slave user-side device, the processing module can be a processor, and the transceiver module can be an input / output interface, a pin, or a circuit, etc.; the processing module executes the instructions stored in the storage module, so that the slave user-side device performs the method in the third aspect or any of the implementation forms of the third aspect. The storage module can be a storage module (e.g., a register, a cache, etc.) in the chip, or a storage module (e.g., a read-only memory, a random access memory, etc.) outside the chip in the slave user-side device.

[0055] In a seventh aspect, an embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, cause the computer to perform the method in the foregoing first aspect to third aspect, and any of the implementation forms of the foregoing aspects.

[0056] In an eighth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program. When the computer program is executed on a computer, the computer is caused to perform the method introduced in the first aspect to the third aspect and any one of the various embodiments of the aspects.

[0057] In a ninth aspect, an embodiment of the present application provides a communication system, which comprises the communication apparatus of the fourth aspect and any one of the embodiments of the fourth aspect, and the communication device of the fifth aspect and any one of the embodiments of the fifth aspect, and the communication device of the sixth aspect and any one of the embodiments of the sixth aspect.

[0058] From the above technical solutions, it can be seen that the embodiments of the present application have the following advantages:

[0059] In the embodiments of the present application, since the first OMCI message sent by the CO device to the master ONT device comprises the configuration information to be configured to the slave ONT device and the first identification information for indicating the slave ONT device, the master ONT device can determine the slave ONT device to which the configuration information is to be configured according to the first identification information. In addition, the master ONT device will also determine the configuration mode for configuring the slave ONT device according to the first identification information, and process the configuration information by using the configuration mode, and send the processed configuration information to the slave ONT device. Since the master ONT device can process the first OMCI message carrying the configuration information of the slave ONT device, when the CO device needs to configure the slave ONT device, the CO device can send the OMCI message carrying the configuration information of the slave ONT device to the master ONT device for processing. Since the CO device can configure the master ONT device, by using the solution of the present application, the CO device can also configure the slave ONT device through the master ONT device. Therefore, the unified management of the multi-level ONT devices can be realized. BRIEF DESCRIPTION OF DRAWINGS

[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application.

[0061] Figure 1A Fig. 1 is an architecture diagram of a one-level PON;

[0062] Figure 1A Fig. 2 is an example diagram of a two-level PON architecture;

[0063] Figure 2 Fig. 3 is a flowchart of a multi-level PON network management method in the embodiments of the present application;

[0064] Figure 3 Another flow chart of the multi-level PON network management method in the embodiments of the present application;

[0065] Figure 4 Another flow chart of the multi-level PON network management method in the embodiments of the present application;

[0066] Figure 5 A schematic diagram of one embodiment of the communication device in the embodiments of the present application;

[0067] Figure 6 A schematic diagram of another embodiment of the communication device in the embodiments of the present application. DETAILED DESCRIPTION

[0068] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments of the present application.

[0069] The terms "first", "second", "third", "fourth" and the like (if any) in the description and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0070] The embodiments of the present application provide a multi-level PON network management method and related devices, for realizing the unified management of local end devices to multi-level user end devices.

[0071] In order to facilitate the understanding of the multi-level PON network management method proposed in the embodiments of the present application, the basic architecture of the PON network will be introduced first:

[0072] As shown in FIG. 1, the PON network includes a local end device and a plurality of user end devices. Figure 1AAs shown in FIG. 1, it is a basic architecture diagram of a PON network system. The PON network system includes a central office device and a user side device. The central office device can be an optical line terminal (OLT) 101, and the user side device can be an optical network unit (ONU) 103 or an optical network terminal (ONT) 104. The central office device and the user side device are generally connected through an optical distribution network (ODN) 102. The optical distribution network ODN 102 is a passive network, i.e., the optical distribution network ODN 102 does not contain active electronic devices and electronic power supplies, but is composed of optical fibers, optical distribution frames (ODFs), optical splitters (also known as optical splitters), and other passive optical devices. Specifically, the optical line terminal OLT 101 is connected to the operator network through a network side interface, and is connected to the optical distribution network ODN 102 through a PON dedicated interface. In addition, the optical distribution network ODN 102 is connected to the optical network unit ONU 103 or the optical network terminal ONT 104 through a PON dedicated interface.

[0073] It should be understood that when the user side device is an optical network terminal ONT 104, the optical network terminal ONT 104 is directly connected to the terminal device in the user's home. For example, the optical network terminal ONT 104 can be a router connected through an optical fiber to the home, and the terminal device can be a mobile phone, a tablet computer, and an Internet of Things device (such as an indoor temperature control device, an indoor monitoring device, and other artificial intelligence devices) connected to the foregoing router through wireless fidelity (Wi-Fi). When the user side device is an optical network unit ONU 103, there is still other networks, such as Ethernet, between the optical network unit ONU 103 and the terminal device in the user's home. For example, the optical network unit ONU 103 is an optical modem provided by the operator, which is connected to an indoor router and other optical network terminals ONTs.

[0074] It should be understood that the foregoing Figure 1A The PON network system shown in FIG. 1 is a one-level PON network system, and the multi-level PON network management method proposed in the embodiments of the present application is mainly applied to a multi-level PON network system. Next, a two-level PON network system is taken as an example for introduction, as shown in FIG. 2. Figure 1BAs shown, it is an example diagram of a two-level PON network system. In the two-level PON network system, an optical line terminal (OLT) is connected to a plurality of optical network terminals (ONTs) through a primary optical splitter. If there is a gateway-type optical network terminal (ONT) in the plurality of optical network terminals (ONTs), the gateway-type optical network terminal (ONT) can connect a plurality of optical network terminals (ONTs) through a secondary optical splitter. At this time, the gateway-type optical network terminal (ONT) is referred to as a master ONT, and the optical network terminals (ONTs) connected to the master ONT through the secondary optical splitter are referred to as slave ONTs (also referred to as edge ONTs). Generally, the network from the optical line terminal (OLT) to the master ONT is referred to as a first-level PON network, and the network from the secondary optical splitter to the slave ONTs is referred to as a second-level PON network.

[0075] In the prior art, the multi-level PON network system is managed in a hierarchical manner. For example, Figure 1B In the two-level PON network system as shown, the network from the optical line terminal (OLT) to the master ONT (i.e., the first-level PON network) is managed by a network management device, i.e., the network management device controls the optical line terminal (OLT) to send configuration information to the master ONT to configure the master ONT. The edge ONTs (i.e., the second-level PON network) connected after the master ONT are managed by a home network management platform, i.e., the home network management platform sends configuration information to the edge ONTs to configure the edge ONTs. Such a hierarchical management manner can affect the configuration efficiency of the ONTs in the multi-level PON network system.

[0076] The multi-level PON network management method proposed in the embodiments of the present application can overcome the defects caused by the hierarchical management by uniformly managing the multi-level PON network through an ONT / ONU management and control interface (OMCI) protocol.

[0077] It should be understood that, Figure 1B The optical network terminal (ONT) in the two-level PON network system can also be replaced by an optical network unit (ONU). In actual applications, part of the optical network units (ONUs) also have router functions, i.e., there are cases where a user-side device is both an optical network unit (ONU) and an optical network terminal (ONT). For ease of introduction, the multi-level PON network management method will be introduced below by taking a user-side device as an example.

[0078] It should also be understood that the multi-level PON network management method proposed in the embodiments of the present application can be applied not only to Figure 1B The two-level PON network system as shown can also be applied to a three-level PON network system, a four-level PON network system, etc., and the specific number of levels is not limited herein. For ease of introduction, the multi-level PON network management method will be introduced below based on the scenario of a two-level PON network.

[0079] It should be understood that the PON system involved in the embodiments of the present application can be a gigabit capability passive optical network (GPON) system. For example, a GPON system defined in the ITU-T G.984 series standards, an XG-PON system defined in the ITU-T G.987 series standards, an XGS-PON system defined in the ITU-T G.9807.1 standard, and the like. In the embodiments and subsequent embodiments, only the GPON system is taken as an example for description.

[0080] To facilitate understanding of the multi-level PON network management method proposed in the embodiments of the present application, the OMCI protocol and the management model defined in the OMCI protocol are introduced as follows:

[0081] The OMCI protocol is an interface specification defined in the GPON standard for a central office equipment (i.e., OLT) to manage user side equipment (i.e., ONT or ONU). When the user side equipment registers with the central office equipment, an OMCI channel can be established between the user side equipment and the central office equipment, so that the user side equipment and the central office equipment can transmit OMCI messages through the OMCI channel. In addition, the OMCI protocol is a master-slave management protocol, in which the master device issues commands and waits for the slave device to execute the commands and reply with responses. For example, when the OMCI protocol is used between the central office equipment and the user side equipment, the central office equipment (i.e., OLT) is the master device, and the user side equipment (e.g., master ONT) is the slave device, and the central office equipment controls multiple user side equipment connected below through the OMCI channel.

[0082] In the OMCI protocol, various resources and services of the user-side equipment managed by the office-side equipment are abstracted into a protocol-independent management information base (MIB). The basic information unit of the MIB is a managed entity (also referred to as a managed entity (ME)). The managed entity is an abstract representation of a resource and / or service of the user-side equipment, and is a management object abstracted from a plurality of resources and / or services to be managed. For example, common managed entities include an ANI-G entity for access node interface (ANI) management, a UNI-G entity for management of a user network interface (UNI) of a GPON encapsulation method (GEM) service, a transmission container (T-CONT) entity for management of dynamic bandwidth assignment (DBA), and an Ethernet port entity for management of different Ethernet ports. When the managed entity is embodied in a certain user-side equipment or a certain service, it becomes an instance. For example, an Ethernet port can be an entity, and the Ethernet port entity is an abstraction of all Ethernet function ports on an ONT. A certain specific Ethernet port on a certain ONT is an instance of the Ethernet port entity, for example, No. 1 Ethernet port of the ONT can be an instance. The OMCI management model is to abstract the aforementioned resources and / or services to be managed into managed entities, and to configure in units of instances. The office-side equipment implements configuration and management functions of each managed entity ME by configuring instances for the user-side equipment.

[0083] When the aforementioned OMCI protocol is adopted, the aforementioned office-side equipment and user-side equipment implement data interaction through OMCI messages. The format of the OMCI message is shown in Table 1 as follows:

[0084] Table 1

[0085]

[0086] The GPON encapsulation method header (GEM Header) includes information for distinguishing different OMCI GEM Ports (hereinafter referred to as GEM Port) on an ONT. The GEM Port is a logical port on the ONT and is used to carry data from a downstream PON port of an OLT. Different GEM Ports of different ONTs have different identities, and thus different ONTs can be distinguished according to the identities of the GEM Ports. Specifically, the GEM header is used to encapsulate a GEM Port ID of an ONT receiving the OMCI message, and the GEM Port ID is an identity of the GEM Port. In addition, the GEM header can also include information such as a GEM payload length and a forward error correction (FEC) code. The GEM payload length is used to indicate the length of a message after the GEM header, and the FEC code is used to increase data transmission reliability by adding redundant information. In addition, in actual applications, the aforementioned GEM header can also include other information, which will not be listed one by one in the present embodiment.

[0087] A transaction correlation identifier (TCI) is used to identify a same group of request messages and response messages, for example, to match a request message (or command) from an OLT to an ONT and a response message from the ONT to the OLT. Generally, the values of the transaction correlation identifier field in a group of corresponding request and response messages are consistent. For example, an OLT sends an OMCI message 1 to an ONT, and then the ONT replies to the OLT with an OMCI message 2 based on the aforementioned OMCI message 1. The value of the transaction correlation identifier field in the aforementioned OMCI message 1 should be consistent with the value of the transaction correlation identifier field in the aforementioned OMCI message 2. Thus, the OLT can determine that the aforementioned OMCI message 2 is a response message corresponding to the aforementioned OMCI message 1. Optionally, the highest bit of the transaction correlation identifier field can be used to indicate the priority of the OMCI message. For example, the highest bit of 0 indicates low priority, and the highest bit of 1 indicates high priority. Generally, the OLT determines whether the priority of a command is high or low.

[0088] Message Type (MT): used to indicate the purpose or action of the message. For example, the message type is create, indicating the creation of a management entity instance and its attributes; the message type is delete, indicating the deletion of a management entity instance; the message type is set, indicating the setting of one or more attributes of a management entity; the message type is get, indicating the obtaining of one or more attributes of a management entity, etc. In addition, the message type also includes information such as whether confirmation is required, whether it is a response message corresponding to an action request, and whether MIB data synchronization is required.

[0089] Device Identifier: for a GPON device, the field is fixed at 0x0A.

[0090] Message Identifier: contains the identification of a management entity and the identification of the instance corresponding to the management entity. Generally, the message identifier contains 4 bytes. The first 2 bytes are used to indicate the target management entity of the action specified in the message type, and the last 2 bytes are used to identify the management entity instance. Therefore, it can be understood that the message identifier contains 2 bytes of entity identification and 2 bytes of instance identification.

[0091] Message Contents: used to encapsulate the message payload, which is related to the specific message.

[0092] OMCI Trailer: used to carry the information required for cyclic redundancy check (CRC).

[0093] For example, if the OLT sends an OMCI message to one of the ONTs (e.g., the 2nd ONT) to configure a port switch of the 2nd Ethernet port of the 2nd ONT, the GEM header information of the OMCI message should carry the GEM Port ID of the corresponding GEM Port on the 2nd ONT; the message type of the OMCI message is set, indicating the corresponding value; the first 2 bytes of the entity ID carried in the message identifier in the OMCI message are the ID of the Ethernet port; the last 2 bytes of the instance ID carried in the message identifier in the OMCI message are 2 (representing the 2nd Ethernet port); and the aforementioned message contents field carries the port switch information of the Ethernet port.

[0094] Based on the foregoing multi-level PON network system and application scenarios, the main flow of the multi-level PON network management method in the embodiment is introduced as follows: Figure 2As shown, the central office device and the user-side device will perform the following steps:

[0095] Step 201, the master user-side device sends first identification information to the central office device.

[0096] In this embodiment, the central office device can be an optical line terminal (OLT) in the aforementioned multi-stage PON network architecture. The master user-side device can be an optical network terminal (ONT) or an optical network unit (ONU) in the aforementioned multi-stage PON network architecture. The slave user-side device to be introduced later can be an optical network terminal (ONT) or an optical network unit (ONU) in the aforementioned multi-stage PON network architecture. However, when the master user-side device is an optical network terminal (ONT), the slave user-side device is also an optical network terminal (ONT); when the master user-side device is an optical network unit (ONU), the slave user-side device is also an optical network unit (ONU).

[0097] The first identification information is used to indicate the slave user-side device to be configured. As can be known from the aforementioned multi-stage PON network architecture, one master user-side device is connected to multiple slave user-side devices. When the central office device receives the aforementioned first identification information, the central office device can know which slave user-side device connected to the master user-side device needs to be configured according to the first identification information.

[0098] In an optional embodiment, the first identification information is used to indicate an instance associated with the aforementioned slave user-side device, which can also be understood as that the first identification information is an instance identifier of a certain instance associated with the aforementioned slave user-side device. Since the instance identifier can reflect the identification of the slave user-side device, or the instance identifier contains the identification of the slave user-side device, the central office device can determine which specific slave user-side device connected to the master user-side device needs to be configured according to the aforementioned first identification information.

[0099] Further, although the instance indicated by the aforementioned first identification information is associated with the slave user-side device, the entity to which the instance indicated by the first identification information belongs can be located in the slave user-side device or in the master user-side device.

[0100] In an optional embodiment, if the entity to which the instance indicated by the aforementioned first identification information belongs is located in the slave user-side device, that is, the instance indicated by the first identification information is the instance that the slave user-side device needs to be configured. When the central office device receives the aforementioned first identification information, it can know which instance of which slave user-side device connected to the master user-side device needs to be configured.

[0101] In another alternative implementation, if the entity to which the instance indicated by the first identification information is located in the host user-side device. At this time, the host user-side device needs to not only send the first identification information to the local-side device, but also send second identification information to the local-side device, the second identification information indicates the instance that needs to be configured for the slave user-side device. Then, when the local-side device receives the first identification information and the second identification information, the local-side device can determine which slave user-side device needs to be configured according to the first identification information, and determine which instance of the slave user-side device needs to be configured according to the second identification information.

[0102] It should be noted that step 201 can be performed in the OMCI initialization process between the host user-side device and the local-side device, or the host user-side device can report the first identification information and / or the second identification information to the local-side device alone after the host user-side device and the local-side device complete the OMCI initialization process, and the specific implementation is not limited here.

[0103] Step 202, the local-side device determines the configuration mode of the host user-side device configuring the slave user-side device according to the first identification information.

[0104] In the embodiment, the first identification information also has the function of distinguishing the configuration mode. The configuration mode refers to the mode of the host user-side device configuring the slave user-side device. Since the local-side device can encapsulate the configuration information for configuring the slave user-side device into the first OMCI message, the configuration mode can be understood as the mode of the host user-side device processing the OMCI message from the local-side device, or as the mode of the host user-side device processing the configuration information. Generally, the local-side device encapsulates the OMCI message according to the mode in which the host user-side device can process the OMCI message.

[0105] In an alternative implementation, the local-side device and the host user-side device each store a correspondence between the first identification information and the configuration mode. When the first identification information is different instance identification, the configuration mode corresponding to the first identification information is different. Therefore, when the host user-side device sends the first identification information to the local-side device, it can also be understood that the host user-side device indirectly indicates the configuration mode adopted by the host user-side device, and then the local-side device will also adopt the configuration mode corresponding to the first identification information.

[0106] In an alternative implementation, the different configuration modes can be distinguished according to whether the entity to which the instance indicated by the first identification information is located in the host user-side device.

[0107] Exemplarily, when the entity to which the instance indicated by the first identification information belongs is located in the slave user-side equipment, it is determined that the configuration mode is the first mode. In the first mode, the master user-side equipment encapsulates the message carrying the configuration information to be sent to the slave user-side equipment. The master user-side equipment configures the slave user-side equipment based on the first identification information and the configuration information carried in the message content field of the first OMCI message, and the first identification information is also used to indicate the instance of the slave user-side equipment to which the configuration information is configured. The master user-side equipment can encapsulate the foregoing configuration information into a message recognizable by the slave user-side equipment by using any one of the OMCI protocol, the Ethernet protocol and the Internet Protocol (IP) protocol. Specifically, refer to the following Figure 3 Corresponding embodiments.

[0108] Exemplarily, when the entity to which the instance indicated by the first identification information belongs is located in the master user-side equipment, it is determined that the configuration mode is the second mode. In the second mode, the local-side equipment, the master user-side equipment and the slave user-side equipment communicate with each other by using the OMCI message. Specifically, the local-side equipment encapsulates part or all of the fields of the OMCI message to be sent by the master user-side equipment to the slave user-side equipment, wherein part of the fields of the foregoing OMCI message carry the configuration information and the second identification information. Then, the master user-side equipment supplements the foregoing fields into a complete OMCI message to send to the slave user-side equipment. That is, the master user-side equipment configures the slave user-side equipment based on the configuration information and the second identification information carried in the message content field of the first OMCI message, and the second identification information is used to indicate the instance of the slave user-side equipment to which the configuration information is configured. Specifically, refer to the following Figure 4 Corresponding embodiments.

[0109] In step 203, the local-side equipment encapsulates a first OMCI message according to the configuration mode.

[0110] The first OMCI message is a message to be sent by the local-side equipment to the master user-side equipment, and the first OMCI message is used to configure a slave user-side equipment connected to the master user-side equipment. The first OMCI message includes first identification information and configuration information. The value of the first identification information in the first OMCI message is the same as the value of the first identification information sent by the master user-side equipment to the local-side equipment. Since there is a corresponding relationship between the first identification information and the configuration mode, it can be understood that the mode in which the local-side equipment encapsulates the first OMCI message is the mode in which the master user-side equipment can process the first OMCI message.

[0111] In this embodiment, the local-side equipment can encapsulate the first OMCI message by using the first mode or encapsulate the first OMCI message by using the second mode.

[0112] In an alternative embodiment, when the CO determines to use the first mode, the CO encapsulates the first identification information in a message identifier field of the first OMCI message and encapsulates the configuration information in a message content field of the first OMCI message.

[0113] In another alternative embodiment, when the CO determines to use the second mode, the CO encapsulates the first identification information in a message identifier field of the first OMCI message and encapsulates at least two OMCI message fields encapsulating the configuration information and the second identification information in a message content field of the first OMCI message. The at least two OMCI message fields include a message identifier field and a message content field, and the second identification information is located in the message identifier field of the at least two OMCI message fields and the configuration information is located in the message content field of the at least two OMCI message fields. Optionally, the at least two OMCI message fields can further include other fields, such as a message type field, a transaction related identifier field, a device identifier field and an OMCI tail field. Details are described below. Figure 4 Corresponding embodiments are described below.

[0114] Step 204, the CO sends the first OMCI message to the master ONU.

[0115] In this embodiment, after the CO encapsulates the first OMCI message, the CO sends the first OMCI message to the master ONU through an OMCI channel between the CO and the master ONU. Then, the master ONU receives the first OMCI message from the CO through the OMCI channel.

[0116] Subsequently, the master ONU parses the first OMCI message using the OMCI protocol to obtain the first identification information and performs the following step 205.

[0117] Step 205, the master ONU determines the configuration mode for configuring the slave ONU according to the first identification information in the first OMCI message.

[0118] In an alternative embodiment, when the entity to which the instance indicated by the first identification information belongs is located in the slave user terminal device, the master user terminal device determines that the configuration mode is the first mode. In the first mode, the master user terminal device configures the slave user terminal device based on the first identification information and the configuration information carried by the message content field of the first OMCI message, and the first identification information is also used to indicate the instance of the slave user terminal device to which the configuration information is configured. Optionally, in the first mode, the master user terminal device processes the configuration information by using one of the OMCI protocol, the Ethernet protocol and the Internet Protocol (IP) protocol.

[0119] In another alternative embodiment, when the entity to which the instance indicated by the first identification information belongs is located in the master user terminal device, the master user terminal device determines that the configuration mode is the second mode. In the second mode, the master user terminal device configures the slave user terminal device based on the configuration information carried by the message content field of the first OMCI message and the second identification information, and the second identification information is used to indicate the instance of the slave user terminal device to which the configuration information is configured. Optionally, in the second mode, the master user terminal device processes the configuration information by using the OMCI protocol.

[0120] Specifically, please refer to the relevant description in the foregoing step 202.

[0121] In the embodiment, the first identification information is carried in the first OMCI message from the OLT, and the value of the first identification information is used to determine which mode is used by the master user terminal device to process the first OMCI message. Thus, the master user terminal device can process the foregoing configuration information in different configuration modes. In addition, the first identification information is represented by an instance identifier, and the master user terminal device can determine whether the first OMCI message is used to configure the instance in the master user terminal device or the instance in the slave user terminal device according to the instance identifier. The embodiment uses the foregoing first identification information to distinguish between the two processing modes, which is beneficial to the master user terminal device to configure the slave user terminal device in different configuration modes according to different first identification information. In addition, since the first identification information is encapsulated in the message identifier field of the first OMCI message instead of the message content field of the first OMCI message, when the master user terminal device sequentially analyzes each field of the foregoing first OMCI message, the first identification information in the message identifier field can be obtained first, and then the mode used to process the content in the message content field is determined according to the first identification information. Thus, the efficiency of the master user terminal device in processing the first OMCI message is improved.

[0122] Step 206, the master user-side equipment processes the configuration information carried by the first OMCI message according to the configuration mode, and configures the slave user-side equipment corresponding to the first identification information.

[0123] Specifically, the master user-side equipment parses the message content field of the first OMCI message by using the OMCI protocol, and obtains the content in the message content field, wherein the content in the message content field includes the aforementioned configuration information. Then, the master user-side equipment encapsulates the content in the message content field into a first message according to the protocol indicated by the configuration mode. Then, the master user-side equipment sends the first message to the slave user-side equipment by using the protocol indicated by the configuration mode.

[0124] The specific processing manner of the master user-side equipment under different configuration modes will be introduced as follows:

[0125] Mode one: if the configuration mode is the first mode, the content in the aforementioned message content field is the configuration information, and the content in the message content field does not contain the instance identifier of the instance corresponding to the configuration information. That is, the first identification information is not contained in the message content field, and at this time, the first identification information is encapsulated in the message identifier field of the first OMCI message. At this time, the master user-side equipment can send the aforementioned configuration information to the slave user-side equipment by using the OMCI protocol, or can send the aforementioned configuration information to the slave user-side equipment by using a non-OMCI protocol (for example, an Ethernet protocol or an IP protocol).

[0126] In an optional embodiment, the master user-side equipment uses a non-OMCI protocol. Specifically, when it is determined that the OMCI channel is not established between the master user-side equipment and the slave user-side equipment, the master user-side equipment encapsulates the configuration information and the first identification information into the first message by using the Ethernet protocol or the IP protocol, wherein the first message is an IP message or an Ethernet message. Then, the master user-side equipment sends the first message to the slave user-side equipment by using the Ethernet protocol or the IP protocol, so that the slave user-side equipment is configured according to the configuration information carried by the first message. For details, please refer to the related introduction in the corresponding embodiment. Figure 3 For details, please refer to the related introduction in the corresponding embodiment.

[0127] In another alternative embodiment, the master CPE employs the OMCI protocol. Specifically, when it is determined that the OMCI channel between the master CPE and the slave CPE has been established, the master CPE encapsulates the configuration information and the first identification information into a second OMCI message using the OMCI protocol, the configuration information being encapsulated into the message content field of the second OMCI message, and the first identification information being encapsulated into the message identifier field of the second OMCI message. Then, the master CPE sends the second OMCI message to the slave CPE using the OMCI protocol, so that the slave CPE is configured according to the configuration information carried by the second OMCI message. For details, please refer to the following Figure 3 For details, please refer to the following

[0128] Mode two: if the configuration mode is the second mode, if the configuration mode for processing the configuration information is the second mode, the protocol indicated by the configuration mode is the OMCI protocol, and the content in the message content field is at least two OMCI message fields, the at least two OMCI message fields being encapsulated into the message content field of the first OMCI message by the OLT, and the at least two OMCI message fields carrying the configuration information and the second identification information. That is, the content in the aforementioned message content field not only includes the configuration information, but also includes the instance identifier of the instance corresponding to the configuration information (i.e., the second identification information). However, the aforementioned configuration information and second identification information are not directly encapsulated into the message content field of the aforementioned first OMCI message, but are encapsulated into the message content field of the aforementioned first OMCI message in the form of OMCI message fields. For example, the at least two OMCI message fields include a message identifier field and a message content field, the second identification information being located in the message identifier field in the at least two OMCI message fields, and the configuration information being located in the message content field in the at least two OMCI message fields.

[0129] In an alternative embodiment, the master CPE encapsulates a third OMCI message according to the at least two OMCI message fields using the OMCI protocol. Then, the master CPE sends the third OMCI message to the slave CPE using the OMCI protocol, so that the slave CPE is configured according to the configuration information carried by the third OMCI message. Wherein, the GEM header information field of the third OMCI message carries third identification information, the third identification information being used to indicate the OMCI channel between the master CPE and the slave CPE. For details, please refer to the following Figure 4 For details, please refer to the following

[0130] In the embodiment, the first OMCI message sent by the CO device to the master ONU contains the configuration information to be configured to the slave ONUs and the first identification information of the slave ONUs, so the master ONU can determine the slave ONUs to which the configuration information is to be configured according to the first identification information. In addition, the master ONU will determine the configuration mode for configuring the slave ONUs according to the first identification information, process the configuration information according to the configuration mode, and send the processed configuration information to the slave ONUs. Since the master ONU can process the first OMCI message carrying the configuration information of the slave ONUs, the CO device can send the OMCI message carrying the configuration information of the slave ONUs to the master ONU for processing when the slave ONUs need to be configured. Since the CO device can configure the master ONU, the CO device can configure the slave ONUs through the master ONU according to the scheme of the present application. Therefore, the multi-level ONUs can be managed uniformly.

[0131] The two configuration modes based on the OMCI model are described below by taking the CO device as an OLT, the master ONU as a master ONT, and the slave ONU as a slave ONU. The first mode is a full OMCI mode, in which the master ONU and the slave ONU do not need to establish an OMCI channel, the master ONU extracts the configuration information of the slave ONUs from the OMCI message from the OLT, encapsulates the configuration information into a message (or packet) that can be recognized by the slave ONU, and sends the message to the slave ONU to configure the slave ONU. For details, please refer to the corresponding embodiment. Figure 3 The second mode is a proxy mode, in which the master ONU and the slave ONU need to establish an OMCI channel, the OLT sends an OMCI message to the master ONU, which has encapsulated two or more fields of an OMCI message to be sent to the slave ONU, the master ONU only needs to assemble the two or more fields of the OMCI message to be sent to the slave ONU into a complete OMCI message, and send the OMCI message to the slave ONU through the OMCI channel between the master ONU and the slave ONU to configure the slave ONU. For details, please refer to the corresponding embodiment. Figure 4 The specific processes of the two configuration modes are described below.

[0132] As Figure 3As shown, it is a multi-level PON network management method when full OMCI mode is adopted. The downlink PON port of the OLT is connected with the uplink PON port of the master ONT (i.e. the ANI port of the master ONT), and the downlink PON port of the master ONT (i.e. the PON UNI port) is connected with the uplink PON port of the slave ONT (i.e. the ANI port of the slave ONT) through an optical fiber. The OMCI model is adopted for data transmission between the OLT and the master ONT, i.e. the data interaction between the OLT and the master ONT adopts OMCI messages. The steps performed by the OLT, the master ONT and the slave ONT include:

[0133] In step 301, the master ONT acquires information of the slave ONT connected with the master ONT.

[0134] In this embodiment, when the master ONT is connected to the OLT for the first time, the master ONT triggers an OMCI initialization process to establish an OMCI channel between the OLT and the master ONT, so that the OLT and the master ONT can communicate through OMCI messages. Thereafter, when a slave ONT is connected with the master ONT, the master ONT will acquire information of the slave ONT.

[0135] The information of the slave ONT includes connection information between the master ONT and the slave ONT, and information of instances required to be configured by the slave ONT.

[0136] In an optional implementation, the connection information between the master ONT and the slave ONT includes a port number of the downlink PON port of the master ONT connected with the slave ONT and a port number of the uplink PON port of the slave ONT.

[0137] In this implementation, the port number of the downlink PON port of the master ONT connected with the slave ONT and the port number of the uplink PON port of the slave ONT are used to indicate that there is a physical connection relationship between the master ONT and the slave ONT. Therefore, after the port number of the downlink PON port of the master ONT connected with the slave ONT and the port number of the uplink PON port of the slave ONT are sent to the OLT, the OLT can know which slave ONT is physically connected with the master ONT, and further, the OLT can know the connection topology of the master ONT and the slave ONT. In a specific implementation, the port number of the downlink PON port of the master ONT can be represented by the PON UNI port identifier of the master ONT, and the port number of the uplink PON port of the slave ONT can be represented by the ANI port identifier of the slave ONT.

[0138] In another alternative implementation, the connection information between the master ONT and the slave ONT includes an instance identity of the master ONT and an instance identity of the slave ONT. Illustratively, the instance identity of the master ONT can be an instance identity of a downstream PON port of the master ONT, and the instance identity of the slave ONT can be an instance identity of an upstream PON port of the slave ONT. Illustratively, the instance identity of the downstream PON port of the master ONT can be represented by an instance identity of a PON UNI instance of the master ONT; and the instance identity of the upstream PON port of the slave ONT can be represented by an instance identity of an ANI-G instance of the slave ONT.

[0139] It should be appreciated that the instance identity of the slave ONT as mentioned above can also be other instance identities of the slave ONT, such as an instance identity of an Ethernet port of the slave ONT, an instance identity of a UNI port of the slave ONT, etc., which are not limited herein.

[0140] In this implementation, since the association between the configurations of the devices can be reflected by defining the association between the entities in the OMCI protocol, and the connection relationship between the devices can also be reflected by defining the association between the entities in the OMCI protocol. Therefore, the association relationship between the configuration of the master ONT and the configuration of the slave ONT can be represented by defining the association between a certain entity of the master ONT and a certain entity of the slave ONT. Taking the PON UNI instance of the master ONT and the ANI-G instance of the slave ONT as an example, the association relationship between the configuration of the master ONT and the configuration of the slave ONT can be represented by defining the association between the PON UNI entity of the master ONT and the ANI-G entity of the slave ONT. In a specific implementation, one or some attributes of the PON UNI entity of the master ONT are set as a pointer, and the pointer stores the instance identity of the ANI-G entity of the slave ONT, which is referred to as explicit association. In another specific implementation, the instance identity of the PON UNI instance of the master ONT is set to be the same as the instance identity of the ANI-G instance of the slave ONT, which is referred to as implicit association. Therefore, after the master ONT reports the association relationship to the OLT, the OLT can learn the connection relationship between the master ONT and the slave ONT.

[0141] In the embodiment, the connection information between the master ONT and the slave ONT can be represented by any of the above-mentioned implementation manners. In addition, the information of the instance that needs to be configured by the slave ONT includes the instance identifier of the instance that needs to be configured by the slave ONT. In the full OMCI mode, the instance identifier of the instance that needs to be configured by the slave ONT is the instance identifier of the slave ONT used to represent the connection information. In addition, in an optional implementation manner, the information of the slave ONT can further include the serial number (SN) of the slave ONT, the initial password of the slave ONT, the address information of the slave ONT, and other factory information of the slave ONT, etc. The serial number of the slave ONT is also referred to as the serial number of the slave ONT, which includes the identity document (ID) and / or version number. The address information of the slave ONT includes the internet protocol (IP) address of the slave ONT and / or the media access control (MAC) address of the slave ONT.

[0142] It should be understood that the master ONT is generally connected with a plurality of slave ONTs, and thus the master ONT will acquire information of a plurality of different slave ONTs. The information of each slave ONT is as described above.

[0143] In the embodiment, after the master ONT performs step 301, the master ONT will perform step 302.

[0144] In an optional implementation manner, before performing step 302, the OLT sends an acquisition request to the master ONT, and the acquisition request is used to instruct the master ONT to report the information of the slave ONT connected with the master ONT to the OLT.

[0145] Step 302: The master ONT sends the information of the slave ONT and mode information to the OLT.

[0146] The information of the slave ONT includes the connection information between the master ONT and the slave ONT, and the information of the instance that needs to be configured by the slave ONT. For details, refer to the related description in step 301.

[0147] The mode information is used to indicate the mode of the master ONT processing the OMCI message from the OLT. In the embodiment, the mode information can be represented by the instance identifier of the instance associated with the slave ONT, or represented by a newly defined character or variable.

[0148] If the mode information is represented by the instance identifier of the instance associated with the slave ONT, the mode information is the instance identifier of the instance of the slave ONT which needs to be configured, and the mode information is also the instance identifier of the slave ONT which is used to represent the connection information between the master ONT and the slave ONT. That is, in the full OMCI mode, the master ONT can send an instance identifier of an instance of a slave ONT which needs to be configured to the OLT, so that the OLT knows which slave ONT needs to be configured. And the master ONT also sends an instance identifier of the master ONT to the OLT, so that the OLT determines the connection between the master ONT and the slave ONT through the instance identifier of the slave ONT and the instance identifier of the master ONT. And the OLT internally stores the correspondence between the instance identifier of the slave ONT and the configuration mode, so that the OLT can determine the configuration mode according to the instance identifier of the slave ONT and the correspondence.

[0149] If the mode information is represented by a newly defined character or variable, the mode information includes mode capability and mode status. The mode capability is used to indicate the type of mode that the master ONT can use, and the mode capability can be the capability of only having the full OMCI mode; the capability of only having the proxy mode; the capability of having the full OMCI mode and the capability of having the proxy mode. In addition, the mode status is used to indicate the mode currently used by the master ONT. For example, in the embodiment, the master ONT can have the capability of the full OMCI mode and the capability of the proxy mode, but the mode currently used by the master ONT is the full OMCI mode. At this time, the mode indicated by the mode information is the full OMCI mode.

[0150] In the embodiment, the mode indicated by the mode information is the full OMCI mode. At this time, the OMCI channel is not established between the master ONT and the slave ONT, and the master ONT can parse the OMCI message encapsulating the configuration information from the OLT, and send the parsed configuration information to the slave ONT in the form of an IP packet or an Ethernet packet.

[0151] Since the OMCI channel is established between the master ONT and the OLT in the foregoing step, the master ONT can use the OMCI message to transmit the information of the slave ONT and the mode information to the OLT. Optionally, the information of the slave ONT and the mode information can be encapsulated in the content field of the OMCI message.

[0152] In step 303, the OLT encapsulates the OMCI message 1 according to the information of the slave ONT and the mode information sent by the master ONT.

[0153] Specifically, the OLT first determines the mode of transmitting data between the master ONT and the slave ONT according to the mode information, then determines the configuration information needed to be transmitted to the slave ONT, and finally encapsulates the configuration information of the slave ONT into the OMCI message 1 according to the mode indicated by the mode information.

[0154] In an optional implementation, if the mode information is represented by the instance identifier of the instance associated with the slave ONT, and the OLT internally stores the correspondence between the instance identifier of the slave ONT and the configuration mode, the OLT can determine the configuration mode as the full OMCI mode according to the instance identifier of the slave ONT and the correspondence.

[0155] In another optional implementation, if the mode information is represented by a newly defined character or variable, the OLT can directly determine the mode of transmitting data between the master ONT and the slave ONT as the full OMCI mode according to the mode information. For example, the OLT determines the mode of transmitting data between the master ONT and the slave ONT as the full OMCI mode according to the mode state in the mode information.

[0156] In another optional implementation, if the mode information is represented by a newly defined character or variable, the OLT can switch the mode state according to the mode capability of the master ONT. For example, if the mode capability in the mode information is the capability of the full OMCI mode and the capability of the proxy mode, and the mode state is the proxy mode. At this time, the OLT can switch the mode state from the proxy mode to the full OMCI mode.

[0157] In the embodiment, the OLT can determine the mode of transmitting data between the master ONT and the slave ONT by using any of the above two ways, which is not limited here. In the embodiment, only the case that the OLT determines to use the full OMCI mode according to the mode information is introduced.

[0158] Then, the OLT determines the configuration information needed to be transmitted to the slave ONT according to the instance identifier of the instance needed to be configured by the slave ONT. It should be understood that the instance identifier of the instance needed to be configured by the slave ONT is different, which means that the instance needed to be configured by the slave ONT is different, and the configuration information determined by the OLT is also different. For example, if the instance identifier of the instance needed to be configured by the slave ONT is the instance identifier of the ANI-G instance, the configuration information determined by the OLT is used to configure the ANI port. For another example, if the instance identifier of the instance needed to be configured by the slave ONT is the instance identifier of the Ethernet port instance, the configuration information determined by the OLT is used to configure the Ethernet port. For example, the configuration information includes any one of the ANI management configuration information, the UNI management configuration information, the connection management configuration information and the user management configuration information.

[0159] It should be understood that if the OLT receives multiple different instance identifiers, it means that the OLT needs to configure different instances for the slave ONT. In this case, the OLT sends configuration information in multiple OMCI messages, and each OMCI message carries configuration information for configuring a different instance. That is, the OMCI message sent by the OLT each time is only used to configure one instance of the slave ONT.

[0160] Since the aforementioned mode information indicates the full OMCI mode, the OLT encapsulates the configuration information of the slave ONT in the OMCI message 1 according to the full OMCI mode indicated by the mode information. In this case, when encapsulating the OMCI message 1, the OLT only needs to directly encapsulate the aforementioned configuration information of the slave ONT into the message content field of the OMCI message 1, without the need for additional encapsulation processing of the configuration information before encapsulating the configuration information into the content field. In addition, the instance identifier of the instance corresponding to the configuration information is the same as the instance identifier of the instance representing the connection relationship between the master ONT and the slave ONT, that is, the aforementioned first identifier information introduced in the corresponding embodiments. The OLT encapsulates the instance identifier into the message identifier field, so that the master ONT can learn the connection relationship between the master ONT and the slave ONT and the mode in which the master ONT should process the OMCI message 1 according to the instance identifier in the message identifier field. For example, the instance identifier in the message identifier field can be the instance identifier of the ANI-G instance of the slave ONT, and the entity identifier in the message identifier can be the ANI-G entity identifier; for example, the instance identifier in the message identifier field can be the instance identifier of the Ethernet port instance of the slave ONT, and the entity identifier in the message identifier can be the Ethernet port entity identifier of the slave ONT. In the following embodiments, only the case in which the instance identifier in the message identifier field is the instance identifier of the ANI-G instance of the slave ONT is introduced. Figure 2

[0161] As introduced in the aforementioned step 301, the information of the slave ONT includes the connection information between the master ONT and the slave ONT and the information of the instance that needs to be configured for the slave ONT.

[0162] ​In an alternative implementation, the connection information between the master ONT and the slave ONT includes a port number of a downstream PON port of the master ONT connected to the slave ONT and a port number of an upstream PON port of the slave ONT. Optionally, the port number of the downstream PON port of the master ONT can be represented by a PON UNI port identifier of the master ONT; and the port number of the upstream PON port of the slave ONT can be represented by an ANI port identifier of the slave ONT. In this case, the connection information between the master ONT and the slave ONT includes the PON UNI port identifier of the master ONT and the ANI port identifier of the slave ONT. In this case, the OLT converts the ANI port identifier of the slave ONT into an instance identifier of an ANI-G instance of the slave ONT, and encapsulates the instance identifier of the ANI-G instance into the message identifier field in the OMCI message 1.

[0163] In another alternative implementation, the connection information between the master ONT and the slave ONT includes an instance identifier of a downstream PON port of the master ONT connected to the slave ONT and an instance identifier of an upstream PON port of the slave ONT. Optionally, the instance identifier of the downstream PON port of the master ONT can be represented by an instance identifier of a PON UNI instance of the master ONT; and the instance identifier of the upstream PON port of the slave ONT can be represented by an instance identifier of an ANI-G instance of the slave ONT. In this case, the OLT directly encapsulates the instance identifier of the ANI-G instance of the slave ONT into the message identifier field in the OMCI message 1.

[0164] In this embodiment, the OLT can encapsulate the message identifier field in any of the above two manners, which is not limited here.

[0165] In addition, the OMCI message 1 is a message to be sent to the master ONT, and therefore, the OMCI message 1 should also carry an identifier for indicating the master ONT. Specifically, the identifier for indicating the master ONT can be represented by a GEM Port ID of the master ONT. Generally, the GEM Port ID of the master ONT is encapsulated in a GEM header information field of the OMCI message 1.

[0166] For example, the OMCI message 1 encapsulated by the OLT and to be sent to the master ONT has the format shown in Table 2:

[0167] Table 2

[0168]

[0169] The GEM header information field contains the GEM Port ID of the master ONT since the OMCI message 1 is sent to the master ONT. The message type field indicates the specific action or purpose of the OMCI message 1. For example, the message type is set, which means to set one or more attributes of the management entity, i.e. to perform a configuration operation on the instance of the management entity. The message identifier field carries the entity identifier (e.g. AIN-G entity identifier) corresponding to the configuration information of the slave ONT and the instance identifier (e.g. AIN-G instance identifier of the slave ONT) corresponding to the configuration information of the slave ONT. Taking the AIN-G instance identifier as an example, the AIN-G entity identifier is used to indicate that the master ONT is associated with the slave ONT through the ANI port and that the data transmission between the master ONT and the slave ONT adopts the full OMCI mode. Since the AIN-G instance identifier is associated with the slave ONT, the master ONT can know which slave ONT the OMCI message 1 is used to configure according to the AIN-G instance identifier of the slave ONT. Therefore, the AIN-G instance identifier is used to indicate the slave ONT to be configured by the OMCI message 1. The message content field contains the configuration information of the slave ONT, which is used to configure the AIN-G instance of the slave ONT, i.e. the configuration information is used to configure the instance corresponding to the instance identifier in the message identifier field.

[0170] For example, if the configuration information of the slave ONT is used to configure the port switch of the second Ethernet port of the second slave ONT, the first two bytes of the entity ID carried in the message identifier of the OMCI message are the ID of the Ethernet port entity, the last two bytes of the instance ID carried in the message identifier of the OMCI message are the ID of the second Ethernet port instance of the second slave ONT, and the message content field carries the port switch information, which indicates the port switch used to configure the second Ethernet port of the second slave ONT.

[0171] After the OLT encapsulates the OMCI message 1, the OLT will perform step 304.

[0172] Step 304, the OLT sends the OMCI message 1 to the master ONT.

[0173] Specifically, the OLT sends the OMCI message 1 through the OMCI channel between the OLT and the master ONT. After the master ONT receives the OMCI message 1, the master ONT will perform step 305.

[0174] Step 305, the master ONT parses the OMCI message 1 to obtain the configuration information of the slave ONT from the message content field of the OMCI message 1.

[0175] In this embodiment, the master ONT will parse each field in the OMCI message 1. Specifically, the master ONT will parse the message type field from the aforementioned OMCI message 1 to determine that the OMCI message 1 is to perform a configuration operation; parse the message identifier field to determine, according to the AIN-G entity identifier and the AIN-G instance identifier, that the slave ONT connected to the master ONT adopts the full OMCI mode between the master ONT and the slave ONT, and also determine that the OMCI message 1 is used to configure the AIN-G instance of the slave ONT; and parse the message content field to determine the configuration information required to configure the instance of the slave ONT.

[0176] Step 306, the master ONT encapsulates the configuration information of the slave ONT and the instance identifier corresponding to the configuration information into the message 1.

[0177] The aforementioned message 1 refers to a message in a format recognizable by the slave ONT. That is, the master ONT and the slave ONT can perform data transmission through the aforementioned message 1, and the message 1 can transmit the configuration information and the instance identifier. The message 1 can be an Ethernet message, an IP message, an OMCI message, and other messages recognizable by the slave ONT, which are not limited here.

[0178] If the OMCI channel is not established between the master ONT and the slave ONT, the master ONT and the slave ONT cannot perform data transmission through the OMCI message, and the master ONT can encapsulate the aforementioned configuration information and the instance identifier corresponding to the configuration information into an Ethernet message or an IP message.

[0179] In an optional embodiment, the master ONT encapsulates the configuration information and the instance identifier corresponding to the configuration information into an Ethernet message, i.e., the aforementioned message 1 is an Ethernet message. At this time, the address of the slave ONT carried in the aforementioned message 1 is the MAC address of the slave ONT.

[0180] For example, the format of the Ethernet message (i.e., the message 1) encapsulated by the master ONT and to be sent to the slave ONT is shown in Table 3 below:

[0181] Table 3

[0182]

[0183] The preamble is used for the synchronization of the sending and receiving rates of both parties during the data transmission process; the SFD is the start-of-frame delimiter, which is used to indicate the start of an Ethernet frame; the destination MAC address is used to indicate the receiver of the frame, which is used to encapsulate the MAC address of the slave ONT; the source MAC address is used to indicate the sender of the frame, which is used to encapsulate the MAC address of the master ONT; the data and padding are used to encapsulate the configuration information of the slave ONT and the instance identifier corresponding to the configuration information.

[0184] In another alternative embodiment, the master ONT encapsulates the configuration information and the instance identifier corresponding to the configuration information into an IP message, i.e., the aforementioned message 1 is an IP message. In this case, the address of the slave ONT carried in the aforementioned message 1 is the IP address of the slave ONT.

[0185] For example, the format of the IP message (i.e., message 1) encapsulated by the master ONT and to be sent to the slave ONT is shown in Table 4:

[0186] Table 4

[0187]

[0188] In the table, the source IP address is used to indicate the sender of the IP message and encapsulates the IP address of the master ONT; the destination IP address is used to indicate the receiver of the IP message and encapsulates the IP address of the slave ONT; and the data encapsulates the configuration information of the slave ONT and the instance identifier corresponding to the configuration information.

[0189] It should be noted that if the master ONT receives multiple OMCI messages for configuring a slave ONT in a period of time, the master ONT can encapsulate the configuration information and the instance identifier parsed from the multiple OMCI messages into one Ethernet message or IP message. That is, the Ethernet message or IP message in step 306 can carry the configuration information and the instance identifier in one OMCI message or the configuration information and the instance identifier in multiple OMCI messages, which is not limited herein. For example, the master ONT receives three OMCI messages for configuring the slave ONT No. 2, which are OMCI message A, OMCI message B and OMCI message C. The message content field of the OMCI message A carries the configuration information a and the instance identifier a; the message content field of the OMCI message B carries the configuration information b and the instance identifier b; and the message content field of the OMCI message C carries the configuration information c and the instance identifier c. In this case, the master ONT can encapsulate the configuration information and the instance identifier in each of the message content fields of the three OMCI messages into one Ethernet message. In this case, the data and padding field of the Ethernet message carry three sets of information, which are the configuration information a and the instance identifier a, the configuration information b and the instance identifier b, and the configuration information c and the instance identifier c.

[0190] If an OMCI channel has been established between the master ONT and the slave ONT, the master ONT and the slave ONT can perform data transmission through OMCI messages, and the master ONT can encapsulate the configuration information and the instance identifier corresponding to the configuration information into the OMCI messages.

[0191] For example, the format of the OMCI message 1' (i.e. message 1) to be sent by the master ONT to the slave ONT is shown in Table 5:

[0192] Table 5

[0193]

[0194] Since the OMCI message 1' is sent to the slave ONT, the GEM header information field contains the GEM Port ID of the slave ONT. The message type field indicates the specific action or purpose of the OMCI message 1'. For example, the message type is set, which means setting one or more attributes of the management entity, i.e. performing a configuration operation on the instance of the management entity. The message identifier field carries the entity identifier corresponding to the configuration information of the slave ONT and the instance identifier corresponding to the configuration information of the slave ONT. For example, the AIN-G entity identifier and the AIN-G instance identifier of the slave ONT. The message content field contains the configuration information of the slave ONT, which is used to configure the instance corresponding to the instance identifier in the message identifier field.

[0195] It should be understood that in this embodiment, an OMCI channel needs to be established between the master ONT and the slave ONT, and the specific method of establishing the channel can be referred to Figure 4 corresponding to step 401 in the embodiment.

[0196] In this embodiment, after the master ONT encapsulates the aforementioned message 1, the master ONT will perform step 307.

[0197] Step 307: The master ONT sends the message 1 to the slave ONT.

[0198] Step 308: The slave ONT parses the message 1 to obtain the configuration information in the message 1 and the instance identifier corresponding to the configuration information, and configures the instance corresponding to the instance identifier.

[0199] Step 309: The slave ONT sends a response message 1 to the master ONT.

[0200] The response message 1 is the same type of message as the aforementioned message 1. For example, if the message 1 is an Ethernet message, the response message 1 is also an Ethernet message. For another example, if the message 1 is an IP message, the response message 1 is also an IP message.

[0201] If the slave ONT successfully configures the instance corresponding to the aforementioned instance identifier, the response message 1 will carry the instance identifier and the indication information indicating the successful configuration.

[0202] Step 310: The master ONT sends a response message 2 to the OLT.

[0203] The response message 2 is an OMCI message. The GEM header information field in the OMCI message 2 contains the GEM Port ID of the OLT. The entity identifier and the instance identifier carried by the message identifier field are the same as those carried by the OMCI message 1. The message content field contains the instance identifier carried by the response message 1 (i.e. the instance identifier corresponding to the configuration information) and the indication information indicating the success of the configuration. Therefore, the OLT can determine that the instance corresponding to the instance identifier has been successfully configured according to the instance identifier and the indication information indicating the success of the configuration carried by the response message 2. Thus, the OLT can continue to configure other instances for the slave ONT.

[0204] In the embodiment, the OLT can encapsulate the configuration information for the slave ONT into the OMCI message 1 according to the information about the slave ONT reported by the master ONT and send the OMCI message 1 to the master ONT, and the master ONT can parse the OMCI message 1 to obtain the configuration information of the slave ONT carried by the OMCI message 1 and send the configuration information to the slave ONT through the message (i.e. message 1) recognizable by the slave ONT. Therefore, the OLT can realize the configuration of the slave ONT. Since the OLT can realize the configuration of the master ONT, the OLT can realize the unified management of the multi-level ONTs.

[0205] As shown in Figure 4 Fig. 1, a multi-level PON network management method in the proxy mode. The downlink PON port of the OLT is connected to the uplink PON port (i.e. the ANI port of the master ONT) of the master ONT, and the downlink PON port (i.e. the PON UNI port) of the master ONT is connected to the uplink PON port (i.e. the ANI port of the master ONT) of the slave ONT through an optical fiber. The OLT and the master ONT adopt the OMCI model for data transmission, i.e. the data interaction between the OLT and the master ONT adopts the OMCI message.

[0206] In the embodiment, the master ONT and the slave ONT can also establish an OMCI channel, and the master ONT contains an OMCI proxy module for converting OMCI messages, which can convert the OMCI message from the OLT into an OMCI message recognizable by the slave ONT and transmit the OMCI message to the slave ONT through the OMCI channel between the master ONT and the slave ONT. Specifically, the steps performed by the OLT, the master ONT and the slave ONT include:

[0207] Step 401, the master ONT establishes an OMCI channel with the slave ONT.

[0208] In the embodiment, when the master ONT is connected to the OLT for the first time, the master ONT triggers an OMCI initialization process to establish an OMCI channel between the OLT and the master ONT, so that the OLT and the master ONT can exchange data through OMCI messages. After that, when a slave ONT is connected to the master ONT, the master ONT sends a broadcast message to the slave ONT, so that the slave ONT sends authentication information to the master ONT. Then, the master ONT authenticates the slave ONT, and if the authentication is passed, the master ONT allocates an ONT ID to the slave ONT. Meanwhile, the slave ONT immediately creates an OMCI GEM port, which is a port of a logical channel between the slave ONT and the master ONT for carrying OMCI messages. The identification of the OMCI GEM port (i.e., OMCI GEM port ID) is equal to the value of the ONT ID. Thus, the OMCI channel between the master ONT and the slave ONT is established, and the master ONT and the slave ONT can exchange data through OMCI messages. The authentication information includes a serial number (SN) of the slave ONT, an initial password of the slave ONT, address information of the slave ONT, and other factory information of the slave ONT. For details, refer to the related description in step 301.

[0209] In step 402, the master ONT acquires information of the slave ONT connected to the master ONT.

[0210] The information of the slave ONT includes connection information between the master ONT and the slave ONT, and information of an instance to be configured for the slave ONT.

[0211] In a specific implementation, the connection information between the master ONT and the slave ONT includes an instance identifier of a downlink PON port of the master ONT connected to the slave ONT, and an instance identifier of an instance of a proxy entity corresponding to the slave ONT. Specifically, the instance identifier of the downlink PON port of the master ONT can be represented by an instance identifier of a PON UNI instance of the master ONT; and the instance identifier of the instance of the proxy entity corresponding to the slave ONT can be represented by an instance identifier of a proxy instance of the slave ONT.

[0212] In particular, one or some attributes of the PON UNI entity of the master ONT can be set as a pointer, which stores the instance identifier of the instance of the proxy entity corresponding to the slave ONT, and this is referred to as explicit association. The instance identifier of the PON UNI entity of the master ONT can also be set as the same as the instance identifier of the proxy entity corresponding to the slave ONT, and this is referred to as implicit association. Therefore, after the master ONT reports the association relationship to the OLT, the OLT can learn that the master ONT adopts the proxy mode, and the OLT will encapsulate the configuration information of the slave ONT according to the proxy mode.

[0213] Optionally, the information of the slave ONT can further include the serial number SN of the slave ONT, the initial password of the slave ONT, the address information of the slave ONT, and other factory information of the slave ONT, etc., which are not limited here.

[0214] In an optional embodiment, since the OMCI channel is established between the master ONT and the slave ONT, the master ONT can acquire the information of the slave ONT by using the OMCI message.

[0215] For example, the master ONT can send an OMCI message a to the slave ONT, wherein the GEM header information field of the OMCI message a carries the GEM Port ID of the slave ONT, and the message content field of the OMCI message a carries the indication information for indicating the acquisition of the information of the slave ONT. Then, the slave ONT replies to the master ONT with an OMCI message b, wherein the GEM header information field of the OMCI message b carries the GEM Port ID of the master ONT, and the message content field of the OMCI message b carries the information of the slave ONT. Then, the master ONT acquires the information of the slave ONT from the message content field of the OMCI message b.

[0216] In another optional embodiment, the master ONT can also acquire the information of the slave ONT by using a message or packet recognizable by the slave ONT, for example, an Ethernet packet or an IP packet, which are not limited here.

[0217] In step 403, the master ONT sends the information of the slave ONT and the mode information to the OLT.

[0218] In particular, the information of the slave ONT includes the connection information between the master ONT and the slave ONT, and the information of the instance to be configured by the slave ONT. For details, please refer to the relevant description in the foregoing step 301, which will not be repeated here.

[0219] The mode information is used to indicate a mode in which the master ONT processes the OMCI message from the OLT. The mode information in the embodiment can be represented by the instance identifier of the instance associated with the slave ONT or a newly defined character or variable.

[0220] If the mode information is represented by the instance identifier of the instance associated with the slave ONT, the mode information is the instance identifier of the proxy instance of the proxy module in the master ONT, i.e. the instance identifier of the proxy instance. Different slave user equipments correspond to different instance identifiers of proxy instances. The instance identifier of the proxy instance is also the instance identifier of the slave ONT used to indicate the connection information between the master ONT and the slave ONT. That is, in the proxy mode, the master ONT can send the instance identifier of the proxy instance to the OLT so that the OLT knows which slave ONT needs to be configured. In addition, the master ONT also sends an instance identifier of the master ONT to the OLT so that the OLT determines the connection between the master ONT and the slave ONT through the instance identifier of the proxy instance and the instance identifier of the master ONT. In addition, the OLT internally stores a correspondence between the instance identifier of the proxy instance and the configuration mode, so the OLT can determine the configuration mode according to the instance identifier of the proxy instance and the correspondence.

[0221] If the mode information is represented by a newly defined character or variable, the mode information includes mode capability and mode status. The mode capability is used to indicate the type of mode that the master ONT can use, which can be the capability of only full OMCI mode; the capability of only proxy mode; the capability of full OMCI mode and the capability of proxy mode. In addition, the mode status is used to indicate the mode currently used by the master ONT. For example, in the embodiment, the master ONT can have the capability of full OMCI mode and the capability of proxy mode, but the mode currently used by the master ONT is proxy mode. At this time, the mode information indicates that the mode in which the master ONT and the slave ONT transmit data is proxy mode.

[0222] In the embodiment, the mode in which the master ONT and the slave ONT transmit data is proxy mode. At this time, the OMCI channel has been established between the master ONT and the slave ONT, and the master ONT encapsulates the configuration information in the message content field of the OMCI message from the OLT to convert it into an OMCI message that the slave ONT can recognize and sends it to the slave ONT.

[0223] In addition, since the proxy mode is adopted, the instance identifier of the proxy instance of the slave ONT can be used to indicate the connection information between the master ONT and the slave ONT in the information sent by the master ONT to the OLT about the slave ONT. Specifically, please refer to the related description in the foregoing step 401, which will not be described here again.

[0224] Since the OMCI channel has been established between the master ONT and the OLT in the foregoing step, the master ONT can transmit the information and mode information of the slave ONT to the OLT by using the OMCI message. Alternatively, the information and mode information of the slave ONT can be encapsulated in the content field of the OMCI message.

[0225] Step 404, the OLT encapsulates the OMCI message 2 according to the information and mode information of the slave ONT transmitted by the master ONT.

[0226] Specifically, the OLT first determines the mode of the master ONT processing the OMCI message 2 according to the mode information, then determines the configuration information needed to be transmitted to the slave ONT, and finally encapsulates the configuration information of the slave ONT into the OMCI message 2 according to the mode indicated by the mode information.

[0227] In the proxy mode, the OLT determines the mode of transmitting data between the master ONT and the slave ONT according to the mode information.

[0228] Then, the OLT determines the configuration information needed to be transmitted to the slave ONT according to the instance identifier of the instance needed to be configured by the slave ONT. It should be understood that the instance identifier of the instance needed to be configured by the slave ONT is different, which means that the instance needed to be configured by the slave ONT is different, and the configuration information determined by the OLT is also different. For example, the configuration information includes any one of ANI management configuration information, UNI management configuration information, connection management configuration information and user management configuration information. Specifically, please refer to the related description in the foregoing step 303, which will not be repeated here.

[0229] Then, in the proxy mode, the OLT determines at least two fields of the OMCI message 3 needed to be transmitted to the slave ONT according to the information of the slave ONT, the configuration information and the instance identifier corresponding to the configuration information, and encapsulates the at least two fields in the message content field of the OMCI message 2 to be transmitted to the master ONT. The at least two fields include the message content field, the message identifier field and the message type field, etc. The OLT encapsulates the configuration information into the message content field, and encapsulates the entity identifier and the instance identifier corresponding to the configuration information into the message identifier field.

[0230] Alternatively, the at least two fields of the OMCI message 3 further include one or more of the transaction-related identifier field, the device identifier field, the OMCI tail field and the GEM header information field.

[0231] In an alternative embodiment, the at least two fields of the OMCI message 3 include a message type field, a message identifier field, and a message content field. For example, the at least two fields of the OMCI message 3 to be sent to the slave ONT are shown in Table 6-1 below:

[0232] Table 6-1

[0233]

[0234] The message type field is used to carry the specific action or purpose of the OMCI message 3. It can be understood that the message type field is used to indicate the operation performed by the OLT on the slave ONT. For example, the message type is set, indicating that one or more attributes of a management entity are set, i.e., a configuration operation is performed on an instance of the management entity. The message identifier carries the entity identifier corresponding to the configuration information of the slave ONT and the instance identifier corresponding to the configuration information of the slave ONT. The message content contains the configuration information of the slave ONT, which is used to configure the instance corresponding to the instance identifier.

[0235] In another alternative embodiment, the at least two fields include, in addition to the message type field, the message identifier field, and the message content field, a transaction-related identifier field, a device identifier field, and an OMCI tail field. For example, the at least two fields of the OMCI message to be sent by the OLT to the slave ONT are shown in Table 6-2 below:

[0236] Table 6-2

[0237]

[0238] The transaction-related identifier field, the device identifier field, and the OMCI tail field are described in the foregoing Table 1 or Table 2, and will not be described again here.

[0239] After the OLT determines the at least two fields of the OMCI message to be sent to the slave ONT, the OLT encapsulates the at least two fields of the OMCI message 3 (e.g., the fields shown in the foregoing Table 6-1 or Table 6-2) to be sent to the slave ONT into the OMCI message 2 to be sent by the OLT to the master ONT.

[0240] For example, the OMCI message 2 to be sent by the OLT to the master ONT can be shown in Table 7 below:

[0241] Table 7

[0242]

[0243] Wherein, since the OMCI message 2 is sent to the master ONT, the GEM header information field contains the GEM Port ID of the master ONT. The message type field indicates the specific action or purpose of the OMCI message 2. The message identifier field carries the proxy entity identifier and the proxy instance identifier. Wherein, the proxy entity identifier is used to indicate that the master ONT is associated with the slave ONT through the proxy entity, and the data transmission between the master ONT and the slave ONT adopts the proxy mode. Since the proxy instance identifier is associated with the slave ONT, the master ONT can know which slave ONT the OMCI message 2 is used to configure by parsing the proxy instance identifier of the slave ONT. Therefore, the proxy instance identifier is used to indicate the slave ONT to be configured by the OMCI message 2. The message content contains at least two fields of the OMCI message 3 to be sent to the slave ONT, for example, the main fields shown in the foregoing Table 6-1 or Table 6-2.

[0244] After the OLT encapsulates the OMCI message 2, the OLT will perform step 405.

[0245] Step 405, the OLT sends the OMCI message 2 to the master ONT.

[0246] Specifically, the OLT sends the foregoing OMCI message 2 through the OMCI channel between the OLT and the master ONT. After the master ONT receives the foregoing OMCI message 2, the master ONT will perform step 406.

[0247] Step 406, the master ONT parses the OMCI message 2 to obtain at least two fields from the message content field of the foregoing OMCI message 2.

[0248] In the embodiment, the master ONT parses the message type field from the foregoing OMCI message 2 to determine that the OMCI message is to perform a configuration operation; parses the message identifier field to determine that the master ONT is associated with the slave ONT through the proxy entity and adopts the proxy mode according to the proxy entity identifier, and determines which slave ONT connected to the master ONT the OMCI message 2 is to configure according to the proxy instance identifier. The message content field is parsed to obtain the foregoing at least two fields, which carry the configuration information. However, in the proxy mode, the master ONT does not continue to parse the foregoing at least two fields, so the master ONT cannot determine the instance to be configured by the configuration information in the at least two fields. That is, the master ONT can only know which slave ONT connected to the master ONT the OMCI message 2 is used to configure, but cannot determine which instance of the slave ONT the OMCI message 2 is used to configure.

[0249] Step 407, the master ONT encapsulates the OMCI message 3 based on the information from the slave ONT and the at least two fields.

[0250] In this embodiment, since the at least two fields obtained from the aforementioned OMCI message 2 contain the information from the slave ONT, and the at least two fields are based on the fields of the OMCI message. Therefore, the master ONT will add fields based on the information from the slave ONT in the at least two fields to obtain the OMCI message 3.

[0251] Specifically, the master ONT encapsulates the GEM port ID of the slave ONT into the GEM header information field, and adds the aforementioned GEM header information field to the at least two fields. In addition, the master ONT also adds other fields according to the information from the slave ONT until the at least two fields and other fields are assembled into a complete OMCI message (i.e. the OMCI message 3).

[0252] For example, if the at least two fields are as shown in the aforementioned Table 6-2, the master ONT only needs to add the GEM header information field to obtain the OMCI message 3, which can be shown in Table 8 as follows:

[0253] Table 8

[0254]

[0255] For example, if the at least two fields are as shown in the aforementioned Table 6-1, the master ONT needs to add the GEM header information field, the transaction related identifier field, the message type field, the device identifier field, and the OMCI tail field, etc. in addition. Then, the master ONT can obtain the OMCI message 3 as shown in Table 8 above.

[0256] Since the OMCI message 3 is sent to the slave ONT, the GEM header information field contains the GEM Port ID of the slave ONT. The message type field indicates the specific action or purpose of the OMCI message 3. The message identifier field carries the entity identifier corresponding to the configuration information of the slave ONT and the instance identifier of the instance corresponding to the configuration information of the slave ONT. The message content field contains the configuration information of the slave ONT.

[0257] Step 408, the master ONT sends the OMCI message 3 to the slave ONT.

[0258] Specifically, the master ONT sends the aforementioned OMCI message 3 through the OMCI channel established between the master ONT and the slave ONT.

[0259] Step 409, parsing the OMCI message 3 from the slave ONT to obtain the configuration information from the slave ONT and the instance identifier corresponding to the configuration information, and configuring the instance according to the configuration information.

[0260] Specifically, the slave ONT parses each field in the OMCI message 3 in sequence, and obtains the instance identifier corresponding to the configuration information in the message identifier field in the OMCI message 3, and the configuration information in the message content field in the OMCI message 3. Then, the slave ONT configures the instance corresponding to the instance identifier according to the aforementioned configuration information.

[0261] Step 410, sending a response message 3 from the slave ONT to the master ONT.

[0262] The response message 3 can be an OMCI message, or an Ethernet packet or an IP packet, which is not limited here. The response message 3 carries the identifier of the instance and the indication information indicating the success of the configuration.

[0263] In an optional embodiment, when the response message 3 is an OMCI message, the GEM header information field in the OMCI message 3 contains the GEM Port ID of the master ONT. The entity identifier and the instance identifier carried by the message identifier field in the response message 3 are consistent with the entity identifier and the instance identifier carried by the identifier field in the aforementioned OMCI message 3. The message content field contains the identifier of the aforementioned instance and the indication information indicating the success of the configuration.

[0264] Step 411, the master ONT sends a response message 4 to the OLT.

[0265] The response message 4 is an OMCI message. The GEM header information field in the OMCI message 4 contains the GEM Port ID of the OLT. The entity identifier and the instance identifier carried by the message identifier field in the response message 4 are consistent with the entity identifier and the instance identifier carried by the identifier field in the aforementioned OMCI message 2. The message content field contains the instance identifier carried by the response message 3 and the indication information indicating the success of the configuration. Therefore, the OLT can determine that the instance corresponding to the instance identifier has been successfully configured according to the instance identifier and the indication information indicating the success of the configuration carried by the response message 4. Then, the OLT can continue to configure other instances for the slave ONT.

[0266] In this embodiment, the OLT encapsulates an OMCI message 2 for configuring at least two fields of the slave ONT into the message for sending to the master ONT according to the information about the slave ONT reported by the master ONT, and the master ONT is capable of parsing the OMCI message 2 to obtain the at least two fields of the slave ONT carried in the OMCI message 2, assembling the at least two fields into an OMCI message 3 recognizable by the slave ONT, and sending the OMCI message 3 to the slave ONT. Since the at least two fields contain the information of the slave ONT, the slave ONT is capable of performing configuration operation according to the configuration information. Therefore, the OLT is capable of realizing configuration of the slave ONT. Since the OLT is already capable of realizing configuration of the master ONT, the OLT is capable of realizing unified management of the multi-level ONTs.

[0267] In addition, the embodiment of the present application further provides a communication device 50, as shown in Figure 5 , Figure 5 a structural schematic diagram of the communication device provided by the embodiment of the present application.

[0268] The communication device 50 can be used to execute the method in the above Figure 2 、 Figure 3 and Figure 4 corresponding embodiments.

[0269] As shown in Figure 5 , the communication device 50 can include a processor 510, a memory 520 and a transceiver 530. Wherein, the processor 510 is coupled with the memory 520, and the processor 510 is coupled with the transceiver 530.

[0270] Wherein, the transceiver 530 can also be referred to as a transceiving unit, a transceiver, a transceiving device, etc. Optionally, the devices in the transceiving unit for realizing receiving function can be regarded as a receiving unit, and the devices in the transceiving unit for realizing sending function can be regarded as a sending unit, that is, the transceiving unit includes a receiving unit and a sending unit, the receiving unit can also be referred to as a receiver, an input port, a receiving circuit, etc., and the sending unit can be referred to as a transmitter, a transmitter or a transmitting circuit, etc. Exemplarily, the transceiver 530 can be an optical module.

[0271] The processor 510 can be a central processing unit (CPU), a network processor (NP), or a combination thereof. The processor 510 can also be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. The processor 510 can be a single processor or can include multiple processors.

[0272] The memory 520 can be a standalone memory, or can be integrated with the processor 510, for example, in one or more chips. The memory 520 can store program codes of the technical solutions of the embodiments of the present application and be controlled by the processor 510 to execute. The executed computer program codes can also be regarded as a driver of the processor 510. The memory 520 can include a volatile memory, for example, a random-access memory (RAM), and can also include a non-volatile memory, for example, a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD), or a combination thereof. The memory 520 can be a single memory or can include multiple memories.

[0273] In an implementation manner, the memory 520 stores computer readable instructions, which include a plurality of software modules, for example, a sending module 521, a processing module 522, and a receiving module 523. The processor 510 executes the software modules and performs corresponding operations according to the instructions of the software modules. In the embodiment, the operation performed by a software module is actually the operation performed by the processor 510 according to the instructions of the software module.

[0274] It should be understood that the aforementioned Figure 2 , Figure 3 as well as Figure 4 The central office equipment or OLT in the corresponding method embodiment can be based on this embodiment. Figure 5 The structure of the communication device 50 shown.

[0275] For example, when the communication device 50 is used to perform the above... Figure 2 When using the method of the central office equipment in the corresponding embodiment, the receiving module 523 is used to receive first identification information sent by the master user terminal equipment; the processing module 522 is used to determine the configuration mode of the master user terminal equipment for configuring the slave user terminal equipment according to the first identification information; the processing module 522 is also used to encapsulate a first ONT / ONU management control interface OMCI message according to the configuration mode; the sending module 521 is used to send the first OMCI message to the master user terminal equipment so that the master user terminal equipment configures the slave user terminal equipment according to the first identification information and the configuration information carried in the first OMCI message.

[0276] For example, when the communication device 50 is used to perform the above... Figure 3 In the method corresponding to the OLT in the embodiment, the receiving module 523 is used to receive information and mode information of the slave ONT sent by the master ONT. The processing module 522 is used to encapsulate OMCI message 1 according to the information and mode information of the slave ONT sent by the master ONT. The sending module 521 is used to send the aforementioned OMCI message 1 to the master ONT.

[0277] For example, when the communication device 50 is used to perform the above... Figure 4 In the method corresponding to the OLT in the embodiment, the receiving module 523 is used to receive information and mode information of the slave ONT sent by the master ONT. The processing module 522 is used to encapsulate OMCI message 2 according to the information and mode information of the slave ONT sent by the master ONT. The sending module 521 is used to send the aforementioned OMCI message 2 to the master ONT.

[0278] The rest can be referenced. Figure 2 , Figure 3 as well as Figure 4 The methods used by the central office equipment or OLT in the corresponding embodiments will not be described in detail here.

[0279] It should also be understood that the aforementioned Figure 2 , Figure 3 as well as Figure 4 The main user terminal device or main ONT in the corresponding method embodiment can also be based on this embodiment. Figure 5 The structure of the communication device 50 shown.

[0280] For example, when the communication device 50 is used to perform the above... Figure 2 In the method of the primary user terminal device in the corresponding embodiment, the receiving module 523 is used to receive a first ONT / ONU management control interface OMCI message from the optical line terminal (OLT). The first OMCI message includes first identification information and configuration information. The first identification information indicates the slave user terminal device to be configured, and the configuration information is information used to configure the slave user terminal device. The processing module 522 is used to determine the configuration mode for configuring the slave user terminal device based on the first identification information, and the primary user terminal device processes the configuration information according to the configuration mode and configures the slave user terminal device corresponding to the first identification information.

[0281] For example, when the communication device 50 is used to perform the above... Figure 3 In the corresponding embodiment of the main ONT method, processing module 522 is used to obtain information about the slave ONT connected to the main ONT. Sending module 521 is used to send the slave ONT's information and mode information to the OLT. Receiving module 523 is used to receive OMCI message 1 sent by the OLT. Processing module 522 is used to parse OMCI message 1 to obtain the slave ONT's configuration information from the message content field of the aforementioned OMCI message 1, and to encapsulate the slave ONT's configuration information and the instance identifier corresponding to the configuration information into message 1. Sending module 521 is also used to send message 1 to the slave ONT.

[0282] For example, when the communication device 50 is used to perform the above... Figure 4 In the corresponding embodiment of the master ONT method, processing module 522 is used to establish an OMCI channel with the slave ONT and obtain information about the slave ONT connected to the master ONT. Sending module 521 is used to send information and mode information of the slave ONT to the OLT. Receiving module 523 is used to receive OMCI message 2 sent by the OLT. Processing module 522 is used to parse OMCI message 2 to obtain at least two fields from the message content fields of the aforementioned OMCI message 1, and to encapsulate OMCI message 3 according to the information of the slave ONT and the at least two fields. Sending module 521 is also used to send OMCI message 3 to the slave ONT.

[0283] The rest can be referenced. Figure 2 , Figure 3 as well as Figure 4 The methods of the main user terminal device or the main ONT in the corresponding embodiments will not be described in detail here.

[0284] It should also be understood that the aforementioned Figure 2 , Figure 3 as well as Figure 4 The corresponding method embodiment, where the user terminal device or the ONT is used, can also be based on this embodiment.Figure 5 structure of the communication apparatus 50.

[0285] For example, when the communication apparatus 50 is configured to perform the method of the master user terminal device or the master ONT as described above, Figure 3 corresponding to the method from the ONT in the embodiment, the receiving module 523 is configured to receive the message 1 sent by the master ONT. The processing module 522 is configured to parse the message 1 to obtain the configuration information in the message 1 and the instance identifier corresponding to the configuration information, and configure the instance corresponding to the instance identifier. The sending module 521 is configured to send a response message 1 to the master ONT.

[0286] For example, when the communication apparatus 50 is configured to perform the method of the master user terminal device or the master ONT as described above, Figure 4 corresponding to the method from the ONT in the embodiment, the receiving module 523 is configured to receive the OMCI message 3 sent by the master ONT. The processing module 522 is configured to parse the OMCI message 3 to obtain the configuration information in the OMCI message 3 and the instance identifier corresponding to the configuration information, and configure the instance corresponding to the instance identifier. The sending module 521 is configured to send a response message 3 to the master ONT.

[0287] The remaining can refer to Figure 2 , Figure 3 and Figure 4 the method from the user terminal device or from the ONT in the embodiment, which will not be repeated here.

[0288] As shown in Figure 6 , a structure diagram of a communication apparatus 60 is provided for the embodiments of the present application. The foregoing Figure 2 , Figure 3 and Figure 4 corresponding method embodiments can be based on Figure 6 the structure of the communication apparatus 60.

[0289] The communication apparatus 60 includes a plurality of functional modules. The foregoing various functional modules can be integrated in one processing unit, or each module can exist physically alone, or two or more modules can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0290] Specifically, the communication apparatus 60 includes a transceiver module 601 and a processing module 602.

[0291] When the communication apparatus 60 performs the method of the master user terminal device or the master ONT as described above,

[0292] The transceiving module 601 is configured to receive a first ONT / ONU management control interface (OMCI) message from an optical line terminal (OLT), the first OMCI message comprising first identification information and configuration information, the first identification information being used to indicate a slave user-side device to be configured, and the configuration information being information used to configure the slave user-side device.

[0293] The processing module 602 is configured to determine a configuration mode for configuring the slave user-side device according to the first identification information, and process the configuration information according to the configuration mode, and configure the slave user-side device corresponding to the first identification information.

[0294] In an optional implementation, the first identification information is used to indicate an instance associated with the slave user-side device, and the first identification information is encapsulated in a message identifier field of the first OMCI message. The processing module 602 is configured to determine that the configuration mode is a first mode when an entity to which the instance indicated by the first identification information belongs is located in the slave user-side device. In the first mode, the processing module 602 is configured to configure the slave user-side device based on the first identification information and the configuration information carried in a message content field of the first OMCI message, the first identification information being further used to indicate an instance of the slave user-side device to which the configuration information is to be configured. The processing module 602 is configured to determine that the configuration mode is a second mode when the entity to which the instance indicated by the first identification information belongs is located in the master user-side device. In the second mode, the processing module 602 is configured to configure the slave user-side device based on the configuration information carried in the message content field of the first OMCI message and second identification information, the second identification information being used to indicate an instance of the slave user-side device to which the configuration information is to be configured.

[0295] In another optional implementation, the processing module 602 is configured to parse a message content field of the first OMCI message by using an OMCI protocol to obtain content in the message content field, encapsulate the content in the message content field into a first message according to a protocol indicated by the configuration mode, and send the first message to the slave user-side device by using the protocol indicated by the configuration mode.

[0296] In another optional implementation, the processing module 602 is configured to encapsulate the configuration information and the first identification information into the first message by using the Ethernet protocol or the IP protocol when it is determined that no OMCI channel is established between the master user-side device and the slave user-side device, the first message being an IP message or an Ethernet message. The processing module 602 is further configured to send the first message to the slave user-side device by using the Ethernet protocol or the IP protocol, so that the slave user-side device is configured according to the configuration information carried in the first message.

[0297] In another alternative implementation, the processing module 602 is configured to encapsulate the configuration information and the first identification information into the second OMCI message using the OMCI protocol when it is determined that the OMCI channel between the master CPE and the slave CPE is established, the configuration information being encapsulated into the message content field of the second OMCI message, and the first identification information being encapsulated into the message identifier field of the second OMCI message. The processing module 602 is further configured to send the second OMCI message to the slave CPE using the OMCI protocol, so that the slave CPE is configured according to the configuration information carried by the second OMCI message.

[0298] In another alternative implementation, the processing module 602 comprises a proxy sub-module configured to re-encapsulate the content in the message content field of the first OMCI message, and add a message header and other fields on the basis of the content in the message content field to assemble a complete OMCI message. Through the foregoing proxy sub-module, the foregoing processing module 602 is capable of encapsulating a third OMCI message according to the at least two OMCI message fields using the OMCI protocol, the GEM header information field of the third OMCI message carrying third identification information, the third identification information being used to indicate the OMCI channel between the master CPE and the slave CPE. The processing module 602 is further configured to send the third OMCI message to the slave CPE using the OMCI protocol, so that the slave CPE is configured according to the configuration information carried by the third OMCI message.

[0299] In another alternative implementation, the transceiver module 601 is further configured to send, to the OLT, an association relationship between the first identification information and an instance identifier of a downstream PON port of the master CPE.

[0300] The remaining can refer to Figure 2 、 Figure 3 and Figure 4 the method of the master CPE or master ONT in the corresponding embodiments, which will not be described herein again.

[0301] When the communication apparatus 60 performs the method of the local device or OLT:

[0302] The transceiver module 601 is configured to receive first identification information sent by a master CPE, the first identification information being used to indicate a slave CPE to be configured;

[0303] The processing module 602 is configured to determine, according to the first identification information, a configuration mode of the master CPE for configuring the slave CPE.

[0304] The processing module 602 is further configured to encapsulate a first ONT / ONU management control interface (OMCI) message according to the configuration mode, the first OMCI message comprising the first identification information and configuration information, the configuration information being information used for configuring the slave user-side device.

[0305] The transceiver module 601 is further configured to send the first OMCI message to the master user-side device, so that the master user-side device configures the slave user-side device according to the first identification information and the configuration information carried by the first OMCI message.

[0306] In an optional implementation, the processing module 602 is further configured to determine that the configuration mode is a first mode when the entity to which the instance indicated by the first identification information belongs is located in the slave user-side device. The processing module 602 is further configured to determine that the configuration mode is a second mode when the entity to which the instance indicated by the first identification information belongs is located in the master user-side device.

[0307] In another optional implementation, the processing module 602 is further configured to determine the configuration information according to the first identification information, encapsulate the first identification information in a message identifier field of the first OMCI message, and encapsulate the configuration information in a message content field of the first OMCI message.

[0308] In another optional implementation, the transceiver module 601 is further configured to receive second identification information sent by the master user-side device, the second identification information being used for indicating an instance of the slave user-side device to which the configuration information is to be configured. The processing module 602 is further configured to determine the configuration information according to the second identification information, the configuration information being used for configuring the instance indicated by the second identification information, encapsulate the first identification information in a message identifier field of the first OMCI message, and encapsulate at least two OMCI message fields encapsulating the configuration information and the second identification information in a message content field of the first OMCI message.

[0309] The rest can be referred to Figure 2 , Figure 3 and Figure 4 corresponding embodiments of the method of the local device or OLT, which will not be described herein again.

[0310] In the implementation process, each step of the above method can be completed by integrated logic circuit of hardware in the processor or instruction in the form of software. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as hardware processor execution completion, or executed by hardware and software module combination in the processor. The software module can be located in the mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register, etc. The storage medium is located in the memory, and the processor reads the information in the memory, and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here. It should also be understood that the first, second, third, fourth and various numerical numbers involved herein are only for the convenience of differentiation, and do not limit the scope of the embodiments of the present application.

[0311] It should be understood that the term "and / or" herein is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone. In addition, the character " / " herein generally represents that the front and rear associated objects are in an "or" relationship.

[0312] It should be understood that in various embodiments of the present application, the size of the sequence number of each process described above does not mean the execution order, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0313] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be described here.

[0314] The above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A multi-stage passive optical network (PON) management method, characterized by, The application relates to a method for configuring a slave optical network terminal (ONT / ONU) by a master optical network terminal (ONT / ONU). The master optical network terminal (ONT / ONU) receives a first ONT / ONU management control interface (OMCI) message from an optical line terminal (OLT), wherein the first OMCI message comprises first identification information and configuration information, the first identification information is used for indicating a slave optical network terminal (ONT / ONU) to be configured, and the configuration information is information used for configuring the slave optical network terminal (ONT / ONU). The master optical network terminal (ONT / ONU) determines a configuration mode for configuring the slave optical network terminal (ONT / ONU) according to the first identification information. The master optical network terminal (ONT / ONU) processes the configuration information according to the configuration mode and configures the slave optical network terminal (ONT / ONU) corresponding to the first identification information.

2. The method of claim 1, wherein, The first identification information is used for indicating an instance associated with the slave optical network terminal (ONT / ONU), and the first identification information is encapsulated in a message identifier field of the first OMCI message. When an entity to which the instance indicated by the first identification information belongs is located in the slave optical network terminal (ONT / ONU), the master optical network terminal (ONT / ONU) determines that the configuration mode is a first mode, in the first mode, the master optical network terminal (ONT / ONU) configures the slave optical network terminal (ONT / ONU) based on the first identification information and the configuration information carried by a message content field of the first OMCI message, and the first identification information is also used for indicating an instance of the slave optical network terminal (ONT / ONU) to which the configuration information is configured. When the entity to which the instance indicated by the first identification information belongs is located in the master optical network terminal (ONT / ONU), the master optical network terminal (ONT / ONU) determines that the configuration mode is a second mode, in the second mode, the master optical network terminal (ONT / ONU) configures the slave optical network terminal (ONT / ONU) based on the configuration information carried by the message content field of the first OMCI message and second identification information, and the second identification information is used for indicating an instance of the slave optical network terminal (ONT / ONU) to which the configuration information is configured. The master optical network terminal (ONT / ONU) processes the configuration information according to the configuration mode and configures the slave optical network terminal (ONT / ONU) corresponding to the first identification information.

3. The method of claim 2, wherein, The master optical network terminal (ONT / ONU) parses a message content field of the first OMCI message by using an OMCI protocol to obtain content in the message content field, the content in the message content field comprises the configuration information or an OMCI message field carrying the configuration information. The master optical network terminal (ONT / ONU) encapsulates the content in the message content field into a first message according to a protocol indicated by the configuration mode. The master optical network terminal (ONT / ONU) sends the first message to the slave optical network terminal (ONT / ONU) by using the protocol indicated by the configuration mode. When the entity to which the instance indicated by the first identification information belongs is located in the slave optical network terminal (ONT / ONU), the first message comprises the first identification information and the configuration information, and the configuration information is used for configuring the instance indicated by the first identification information.

4. The method of claim 3, wherein, When the entity to which the instance indicated by the first identification information belongs is located in the master optical network terminal (ONT / ONU), the first message comprises the second identification information and the configuration information, and the configuration information is used for configuring the instance indicated by the second identification information.

5. The method of claim 3, wherein, ​ 6. The method of claim 4, wherein, The content in the message content field is the configuration information; The master user-side equipment encapsulates the content in the message content field into a first message according to the protocol indicated by the configuration mode, including: When it is determined that the OMCI channel between the master user-side equipment and the slave user-side equipment is not established, the master user-side equipment encapsulates the configuration information and the first identification information into the first message in an Ethernet protocol or an IP protocol, and the first message is an IP message or an Ethernet message; The master user-side equipment sends the first message to the slave user-side equipment in the protocol indicated by the configuration mode, including: The master user-side equipment sends the first message to the slave user-side equipment in the Ethernet protocol or the IP protocol, so that the slave user-side equipment is configured according to the configuration information carried by the first message.

7. The method of claim 4, wherein, The content in the message content field is the configuration information, and the first message is a second OMCI message; The master user-side equipment encapsulates the content in the message content field into a first message according to the protocol indicated by the configuration mode, including: When it is determined that the OMCI channel between the master user-side equipment and the slave user-side equipment is established, the master user-side equipment encapsulates the configuration information and the first identification information into the second OMCI message in the OMCI protocol, the configuration information is encapsulated into a message content field of the second OMCI message, and the first identification information is encapsulated into a message identifier field of the second OMCI message; The master user-side equipment sends the first message to the slave user-side equipment in the protocol indicated by the configuration mode, including: The master user-side equipment sends the second OMCI message to the slave user-side equipment in the OMCI protocol, so that the slave user-side equipment is configured according to the configuration information carried by the second OMCI message.

8. The method of claim 5, wherein, The protocol indicated by the configuration mode is an OMCI protocol, the content in the message content field is at least two OMCI message fields, the at least two OMCI message fields are encapsulated by the OLT into a message content field of the first OMCI message, and the at least two OMCI message fields carry the configuration information and the second identification information; The master user-side equipment encapsulates the content in the message content field into a first message according to the protocol indicated by the configuration mode, including: The master user-side equipment encapsulates a third OMCI message according to the at least two OMCI message fields in the OMCI protocol, a GEM header information field of the third OMCI message carries third identification information, and the third identification information is used to indicate the OMCI channel between the master user-side equipment and the slave user-side equipment; The master user-side equipment sends the first message to the slave user-side equipment in the protocol indicated by the configuration mode, including: The master ONT sends the third OMCI message to the slave ONT by using the OMCI protocol, so that the slave ONT is configured according to the configuration information carried in the third OMCI message.

9. The method of claim 8, wherein, The at least two OMCI message fields include a message identifier field and a message content field, the second identification information is located in the message identifier field in the at least two OMCI message fields, and the configuration information is located in the message content field in the at least two OMCI message fields.

10. The method according to any one of claims 7 to 9, characterized in that, The method further comprises: The master ONT establishes an OMCI channel between the master ONT and the slave ONT.

11. The method according to any one of claims 1 to 9, characterized in that, Before the master ONT receives the first OMCI message from the OLT, the method further comprises: The master ONT sends, to the OLT, an association relationship between the first identification information and an instance identifier of a downstream PON port of the master ONT.

12. The method according to any one of claims 1 to 9, characterized in that, The configuration information includes any one of access point interface (ANI) management configuration information, user network interface (UNI) management configuration information, connection management configuration information and user management configuration information.

13. A management method for a multi-level passive optical network (PON), characterized in that, The method further comprises: An optical line terminal (OLT) receives first identification information sent by a master ONT, the first identification information being used to indicate a slave ONT to be configured; The OLT determines a configuration mode in which the master ONT configures the slave ONT according to the first identification information; The OLT encapsulates a first ONT / ONU management control interface (OMCI) message according to the configuration mode, the first OMCI message including the first identification information and configuration information, the configuration information being information used to configure the slave ONT; The OLT sends the first OMCI message to the master ONT, so that the master ONT configures the slave ONT according to the first identification information and the configuration information carried in the first OMCI message.

14. The method of claim 13, wherein, The first identification information is used to indicate an instance associated with the slave ONT; The OLT determines an encapsulation mode of encapsulating the first ONT / ONU management control interface (OMCI) message according to the first identification information, including: When an entity to which the instance indicated by the first identification information belongs is located in the slave ONT, the OLT determines that the configuration mode is a first mode, in the first mode, the OLT encapsulates the configuration information into a message content field of the first OMCI message, and the first identification information is further used to indicate an instance of the slave ONT to which the configuration information is to be configured; When an entity to which the instance indicated by the first identification information belongs is located in the master ONT, the OLT determines that the configuration mode is a second mode, in the second mode, the OLT encapsulates a field encapsulated with the configuration information and a field encapsulated with second identification information into the message content field of the first OMCI message, and the second identification information is used to indicate an instance of the slave ONT to which the configuration information is to be configured.

15. The method of claim 14, wherein, The configuration mode for processing the configuration information is the first mode; Before the OLT encapsulates the first OMCI message according to the configuration mode, the method further comprises: The OLT determines the configuration information according to the first identification information; The OLT encapsulates the first OMCI message according to the configuration mode, comprising: The OLT encapsulates the first identification information in a message identifier field of the first OMCI message, and encapsulates the configuration information in a message content field of the first OMCI message.

16. The method of claim 14, wherein, The configuration mode for processing the configuration information is the second mode; Before the OLT encapsulates the first OMCI message according to the configuration mode, the method further comprises: The OLT receives the second identification information sent by the master user terminal device; The OLT determines the configuration information according to the second identification information, the configuration information being used for configuring the instance indicated by the second identification information; The OLT encapsulates the first OMCI message according to the configuration mode, comprising: The OLT encapsulates the first identification information in a message identifier field of the first OMCI message, and encapsulates at least two OMCI message fields encapsulating the configuration information and the second identification information in a message content field of the first OMCI message.

17. The method of claim 16, wherein, The at least two OMCI message fields comprise a message identifier field and a message content field, the second identification information being located in the message identifier field of the at least two OMCI message fields, and the configuration information being located in the message content field of the at least two OMCI message fields.

18. The method according to any one of claims 13 to 17, characterized in that, The method further comprises: The OLT receives an association relationship between the first identification information sent by the master user terminal device and an instance identifier of a downstream PON port of the master user terminal device; The OLT determines a connection relationship between the master user terminal device and the slave user terminal device according to the association relationship, and configures the slave user terminal device by sending the first OMCI message carrying the configuration information to the master user terminal device.

19. The method according to any one of claims 13 to 17, characterized in that, The configuration information comprises any one of access point interface (ANI) management configuration information, user network interface (UNI) management configuration information, connection management configuration information, and user management configuration information.

20. A method of managing a multi-stage passive optical network (PON), the method comprising: Comprise: The slave user terminal device receives a third OMCI message sent by a master user terminal device, the third OMCI message being encapsulated by the master user terminal device according to at least two OMCI message fields using an OMCI protocol, the at least two OMCI message fields being encapsulated in a message content field of a first OMCI message by an optical line terminal (OLT), the at least two OMCI message fields carrying configuration information and second identification information; the first OMCI message being a message received by the master user terminal device from the OLT, the first OMCI message comprising first identification information and the configuration information, the first identification information being used for indicating the slave user terminal device to be configured, and the configuration information being information used for configuring the slave user terminal device; The first identification information is used by the master user-side device to determine a configuration mode for configuring the slave user-side device, and the configuration mode is used by the master user-side device to process the configuration information and configure the slave user-side device corresponding to the first identification information. The slave user-side device parses the third OMCI message using the OMCI protocol to obtain the configuration information used to configure the slave user-side device. The slave user-side device is configured according to the configuration information.

21. The method of claim 20, wherein, The slave user-side device parses the third OMCI message using the OMCI protocol, including: The slave user-side device parses a message identifier field of the third OMCI message to obtain second identification information, and the second identification information is used to indicate an instance of the slave user-side device to which the configuration information is to be configured. The slave user-side device parses a message content field of the third OMCI message to obtain the configuration information.

22. A master user terminal device, characterized by The master user-side device comprises a processor and a memory, the memory stores a program, and when the program instruction stored in the memory is executed by the processor, the master user-side device implements the method in any one of claims 1 to 12.

23. An OLT, characterized by, The OLT comprises a processor and a memory, the memory stores a program, and when the program instruction stored in the memory is executed by the processor, the OLT implements the method in any one of claims 13 to 19.

24. A client device from a user, characterized in that, The slave user-side device comprises a processor and a memory, the memory stores a program, and when the program instruction stored in the memory is executed by the processor, the slave user-side device implements the method in claim 20 or 21.

25. A computer readable storage medium comprising a computer program, the computer program being executed by a processor to implement the method in any one of claims 1 to 12, 13 to 19, 20 to 21.

26. A computer program product comprising instructions, the computer program product comprising computer program code to, when run on a computer, cause the computer to perform the method in any one of claims 1 to 12, 13 to 19, 20 to 21.

27. A communication system, characterized by The master user-side device in claim 22, the OLT in claim 23, and the slave user-side device in claim 24.

Citation Information

Patent Citations

  • Passive optical network system and method for allocating slave to main controller in system

    CN101047445A

  • A PON terminal management method and system

    CN101060370A

  • Method, device and system of distributing service

    EP2106064A1