Information generation method and related device

By obtaining and generating topology information in the FTTR network, the problem of difficulty in visualizing the topological relationship between the master gateway device, slave gateway devices and optical splitters is solved, and the efficiency of system operation and maintenance is improved.

CN118158573BActive Publication Date: 2024-09-24HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211559570.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-06
Publication Date
2024-09-24
Estimated Expiration
2042-12-06

AI Technical Summary

Technical Problem

In the existing FTTR network, the topological relationship between the master gateway device, slave gateway device and optical splitter is difficult to visualize, which affects the efficiency of system operation and maintenance.

Method used

Obtain connection information and classification information through the master gateway device, including the connection relationship between the slave gateway device and the optical splitter port, received optical power and round-trip time, and generate topology information to realize the connection between the master gateway device, the slave gateway device and the optical splitter. Visualize the topological relationships between them.

Benefits of technology

It realizes the visualization of FTTR network topology relationships, facilitates system operation and maintenance, and improves the efficiency of network management and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118158573B
    Figure CN118158573B
Patent Text Reader

Abstract

The present application discloses an information generation method and related devices, which are used to realize the visualization of the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, so as to facilitate system operation and maintenance. The method provided by the present application includes: the master gateway device obtains connection information and hierarchical information, the connection information includes the connection relationship between at least one slave gateway device and the optical splitter port of at least one optical splitter, and the hierarchical information is used to indicate the cascade level corresponding to each optical splitter in at least one optical splitter; the master gateway device generates topological information according to the connection information and hierarchical information, and the topological information includes the connection relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, and the connection relationship between at least one slave gateway device and the optical splitter port of at least one optical splitter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical communication technology, and in particular to an information generation method and related devices. Background Art

[0002] With the popularization of fixed access broadband, various smart terminals and various emerging network services have begun to appear and become an indispensable part of people's daily lives. For example, 4K or 8K high-definition video, augmented reality (AR) or virtual reality (VR) services, interactive games, home cloud, remote online education, online teleconferencing, telemedicine, etc. These network services have provided great convenience for the public's work and life, and also enriched people's daily leisure and entertainment life. In order to have a better network service experience, users' requirements for network quality (for example, bandwidth, latency, reliability, etc.) have also been further improved. In order to solve the coverage problem of wireless fidelity (WIFI) in home networks, fiber to the room (FTTR) technology has been proposed and received widespread attention. FTTR technology mainly extends the optical fiber further to the residents' rooms and installs WIFI access equipment inside the rooms, thereby reducing the distance between the user's terminal equipment and the WIFI equipment, ensuring the quality of the WIFI signal.

[0003] At present, the FTTR network includes a master gateway device, at least one slave gateway device and at least one optical splitter. The optical splitter is a device used to connect the master gateway device with at least one slave gateway device. The optical splitter has a multi-level splitting capability and is used to provide optical signals and power input for the slave gateway device. However, the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter is information that the system operation and maintenance urgently needs to obtain. Therefore, how to realize the visualization requirement of the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter is an urgent problem to be solved. Summary of the invention

[0004] The present application provides an information generation method and related devices for a master gateway device to determine topology information, realize visualization of the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, and facilitate system operation and maintenance.

[0005] In a first aspect, the present application provides an information generation method, which is applied to an optical communication system, wherein the optical communication system includes a master gateway device, at least one slave gateway device and at least one optical splitter, wherein the master gateway device is connected to the at least one optical splitter in a cascade manner; the method includes: the master gateway device obtains connection information and classification information, wherein the connection information includes a connection relationship between at least one slave gateway device and an optical splitter port of at least one optical splitter, and the classification information is used to indicate the cascade level corresponding to each optical splitter in at least one optical splitter; the master gateway device generates topology information according to the connection information and the classification information, wherein the topology information includes a connection relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, and a connection relationship between at least one slave gateway device and an optical splitter port of at least one optical splitter.

[0006] It can be seen from the above technical solution that the master gateway device can obtain connection information and classification information, and determine topology information based on the connection information and classification information, thereby realizing the visualization of the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, and facilitating the operation and maintenance of the optical communication system.

[0007] Based on the first aspect, in a possible implementation manner, the connection information includes a correspondence between each slave gateway device in at least one slave gateway device and a port number of the optical splitter.

[0008] In this implementation, the connection relationship between the at least one slave gateway device and the optical splitter port can be represented by the corresponding relationship between the slave gateway device and the optical splitter port number, so as to facilitate the master gateway device to determine the connection relationship between the at least one slave gateway device and the optical splitter port of at least one optical splitter.

[0009] Based on the first aspect, in a possible implementation, the grading information includes the received optical power, round-trip time (RTT), or the distance between the slave gateway device and the master gateway device of each slave gateway device in at least one slave gateway device; wherein the received optical power of the slave gateway device is the received optical power of the optical signal sent by the master gateway device received by the gateway device; the RTT of the slave gateway device refers to the time required for the optical signal to travel from the master gateway device to the slave gateway device and then from the slave gateway device to the master gateway device, and the received optical power or RTT of the slave gateway device is used to indicate the cascade level corresponding to the optical splitter connected to the slave gateway device.

[0010] In this implementation, a possible implementation of the hierarchical information is provided. The cascade level corresponding to the optical splitter connected to each slave gateway device is indirectly indicated by the received optical power, RTT or distance between the slave gateway device and the master gateway device of each slave gateway device. This facilitates determining the connection relationship between the master gateway device, at least one slave gateway device and at least one optical splitter.

[0011] Based on the first aspect, in a possible implementation, at least one slave gateway device includes a first slave gateway device; the master gateway device obtains connection information and classification information, including: the master gateway device receives the connection relationship between the first slave gateway device and the optical splitter port from the first slave gateway device, and receives the received optical power, RTT or the distance between the first slave gateway device and the master gateway device from the first slave gateway device.

[0012] In this implementation, the master gateway device can obtain connection information and classification information from the at least one slave gateway device, so as to facilitate the master gateway device to determine topology information. This enables visualization of the topological relationship between the master gateway device, at least one slave gateway device, and at least one optical splitter, and facilitates operation and maintenance of the optical communication system.

[0013] Based on the first aspect, in a possible implementation method, the connection relationship between the first slave gateway device and the optical splitter port is carried in an optical network unit management and control interface (ONU management and control interface, OMCI) message, an operation and maintenance management (operations administration and maintenance, OAM) message, or an Ethernet message; the received optical power, RTT or distance between the first slave gateway device and the master gateway device of the first slave gateway device are carried in an OMCI message, an OAM message, or an Ethernet message.

[0014] In this implementation, some possible messages carrying the connection relationship between the first slave gateway device and the optical splitter port, as well as some possible messages carrying the received optical power of the first slave gateway device, RTT, or the distance between the first slave gateway device and the master gateway device are shown. No new messages need to be redefined, which is conducive to convenient implementation.

[0015] Based on the first aspect, in a possible implementation method, before the master gateway device receives the connection relationship between the first slave gateway device and the optical splitter port from the first slave gateway device, the method also includes: the master gateway device sends a first request to the first slave gateway device, and the first request is used to request the connection relationship between the first slave gateway device and the optical splitter port.

[0016] In this implementation, the master gateway device may actively request the first slave gateway device to report the connection relationship between the first slave gateway device and the optical splitter port, thereby facilitating the master gateway device to determine the topology information.

[0017] Based on the first aspect, in a possible implementation, before the master gateway device receives the received optical power or RTT from the first slave gateway device, the method further includes: the master gateway device sends a second request to the first slave gateway device, and the second request is used to request the received optical power, RTT or the distance between the first slave gateway device and the master gateway device of the first slave gateway device. In this implementation, the master gateway device can actively request the first slave gateway device to report the received optical power, RTT or the distance between the first slave gateway device and the master gateway device of the first slave gateway device. This facilitates the master gateway device to determine the topology information.

[0018] Based on the first aspect, in a possible implementation, the hierarchical information includes upper-level device information and lower-level device information of each optical splitter in at least one optical splitter. In this implementation, another implementation of the hierarchical information is shown, so as to facilitate the master gateway device to determine the connection relationship between the master gateway device and the at least one optical splitter.

[0019] Based on the first aspect, in a possible implementation, the master gateway device obtains connection information and classification information, including: the master gateway device receives connection information and classification information from a first-level optical splitter in at least one optical splitter. In this implementation, the master gateway device can obtain the connection information and classification information from the first-level optical splitter, thereby quickly and efficiently obtaining the connection information and classification information. This facilitates the master gateway device to determine topology information.

[0020] Based on the first aspect, in a possible implementation, the connection information and the classification information are carried in the communication electrical signal. In this implementation, the connection information and the classification information can be carried in the communication electrical signal, thereby realizing the communication transmission between the main gateway device and the first-level optical splitter.

[0021] Based on the first aspect, in a possible implementation, before the master gateway device receives the connection information and the classification information from the first-level optical splitter in the at least one optical splitter, the method further includes: the master gateway device sends a third request to the first-level optical splitter, the third request being used to request the connection information and the classification information. In this implementation, the master gateway device can actively request the connection information and the classification information from the first-level optical splitter, thereby facilitating the master gateway device to determine the topology information.

[0022] Based on the first aspect, in a possible implementation, the master gateway device obtains connection information and hierarchical information, including: the master gateway device receives the connection relationship between the optical splitter port of each optical splitter in at least one optical splitter and the slave gateway device, the upper-level device information of the optical splitter, and the lower-level device information of the optical splitter. In this implementation, the master gateway device can obtain the connection relationship between the optical splitter port of each optical splitter and the slave gateway device, the upper-level device information of the optical splitter, and the lower-level device information of the optical splitter from each optical splitter, respectively, so as to facilitate the master gateway device to determine the topology information.

[0023] Based on the first aspect, in a possible implementation, the connection information and the classification information are carried in a wireless communication signal or a communication optical signal, so as to realize the communication transmission between the main gateway device and each optical splitter.

[0024] A second aspect of the present application provides an information generation method, which is applied to an optical communication system, wherein the optical communication system includes a master gateway device, at least one slave gateway device and at least one optical splitter, wherein the master gateway device is connected to the at least one optical splitter in a cascade manner, and the at least one slave gateway device includes a first slave gateway device; the method includes: the first slave gateway device sends the connection relationship between the first slave gateway device and the optical splitter port, as well as the received optical power, round-trip time (RTT) or the distance from the first slave gateway device to the master gateway device to the master gateway device; wherein the received optical power of the first slave gateway device is the received optical power of the optical signal sent by the master gateway device received by the first slave gateway device; the RTT of the first slave gateway device refers to the time required for the optical signal to pass from the master gateway device to the first slave gateway device and then from the first slave gateway device to the master gateway device, and the received optical power, RTT or the distance from the first slave gateway device to the master gateway device of the first slave gateway device are used to indicate the cascade level corresponding to the optical splitter connected to the first slave gateway device.

[0025] In the above technical solution, the first slave gateway device can report the connection relationship between the first slave gateway device and the optical splitter port, as well as the received optical power, round-trip time RTT, or the distance from the first slave gateway device to the master gateway device to the master gateway device. Thus, the master gateway device determines the topology information. The topological relationship between the master gateway device, at least one slave gateway device, and at least one optical splitter is visualized, which facilitates the operation and maintenance of the optical communication system.

[0026] Based on the second aspect, in a possible implementation method, before the first slave gateway device sends the connection relationship between the first slave gateway device and the optical splitter port to the master gateway device, the method also includes: the first slave gateway device receives a first request from the master gateway device, and the first request is used to request the connection relationship between the first slave gateway device and the optical splitter port.

[0027] In this implementation, the first slave gateway device may receive the first request from the master gateway device, thereby reporting the connection relationship between the first slave gateway device and the optical splitter port to the master gateway device, thereby facilitating the master gateway device to determine topology information.

[0028] Based on the second aspect, in a possible implementation, before the first slave gateway device sends the received optical power, RTT or the distance from the first slave gateway device to the master gateway device, the method also includes: the first slave gateway device receives a second request from the master gateway device, and the second request is used to request the received optical power, RTT or the distance from the first slave gateway device to the master gateway device.

[0029] In this implementation, the first slave gateway device can receive the second request of the master gateway device, thereby reporting the received optical power, RTT or distance of the first slave gateway device to the master gateway device to the master gateway device, thereby facilitating the master gateway device to determine the topology information.

[0030] Based on the second aspect, in a possible implementation, the connection relationship between the first slave gateway device and the optical splitter port includes a corresponding relationship between the first slave gateway device and the optical splitter port number. In this implementation, the connection relationship between the first slave gateway device and the optical splitter port can be characterized by the corresponding relationship between the first slave gateway device and the optical splitter port number. This facilitates the master gateway device to determine the connection relationship between the first slave gateway device and the optical splitter port.

[0031] Based on the second aspect, in a possible implementation method, the connection relationship between the first slave gateway device and the optical splitter port is carried in an OMCI message, an OAM message, or an Ethernet message, and the received optical power, RTT, or the distance from the first slave gateway device to the master gateway device of the first slave gateway device is carried in an OMCI message, an OAM message, or an Ethernet message.

[0032] In this implementation, some possible messages carrying the connection relationship between the first slave gateway device and the optical splitter port, as well as some possible messages carrying the received optical power of the first slave gateway device, RTT, or the distance between the first slave gateway device and the master gateway device are shown. No new messages need to be redefined, which is conducive to convenient implementation.

[0033] A third aspect of the present application provides an information generation method, which is applied to an optical communication system, wherein the optical communication system includes a master gateway device, at least one slave gateway device and at least one optical splitter, wherein the master gateway device is connected to the at least one optical splitter in a cascade manner; the at least one optical splitter includes a first-level optical splitter; the method includes: the first-level optical splitter obtains connection information and classification information, the connection information includes a connection relationship between at least one slave gateway device and an optical splitter port of at least one optical splitter, and the classification information is used to indicate the cascade level corresponding to each optical splitter in the at least one optical splitter; the first-level optical splitter sends the connection information and classification information to the master gateway device.

[0034] In the above technical solution, the first slave gateway device can report connection information and classification information to the master gateway device, thereby enabling the master gateway device to determine topology information, and realizing visualization of the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, thereby facilitating the operation and maintenance of the optical communication system.

[0035] Based on the third aspect, in a possible implementation, the hierarchical information includes upper-level device information and lower-level device information of each optical splitter in at least one optical splitter. In this implementation, another implementation of the hierarchical information is shown, so as to facilitate the master gateway device to determine the connection relationship between the master gateway device and the at least one optical splitter.

[0036] Based on the third aspect, in a possible implementation, at least one optical splitter also includes a second-level optical splitter; the first-level optical splitter obtains connection information and classification information, including: the first-level optical splitter receives first information from the second-level optical splitter, wherein the first information includes the connection relationship between the optical splitter port of each optical splitter in the optical splitters other than the first-level optical splitter in at least one optical splitter and the slave gateway device, the upper-level device information of each optical splitter, and the lower-level device information. In this implementation, the first-level optical splitter can obtain the first information from the second-level optical splitter, so as to facilitate the first-level optical splitter to obtain the connection information and classification information, and send the connection information and classification information to the master gateway device.

[0037] Based on the third aspect, in a possible implementation, the connection information and the classification information are carried in the communication electrical signal. In this implementation, the connection information and the classification information can be carried in the communication electrical signal, thereby realizing the communication transmission between the main gateway device and the first-level optical splitter.

[0038] In a fourth aspect, the present application provides an information generation method, which is applied to an optical communication system, wherein the optical communication system includes a master gateway device, at least one slave gateway device and at least one optical splitter, wherein the master gateway device is connected to the at least one optical splitter in a cascade manner, and the at least one optical splitter includes M-level optical splitters, where M is an integer greater than or equal to 2; the method includes: the N-th level optical splitter obtains second information, the second information includes a connection relationship between the optical splitter ports from the N-th level optical splitter to the M-th level optical splitter in the M-level optical splitters and the slave gateway device, and the upper-level device information and the lower-level device information of each level of optical splitter from the N-th level optical splitter to the M-th level optical splitter, where N is an integer greater than or equal to 2 and less than or equal to M; the N-th level optical splitter sends the second information to the N-1-th level optical splitter.

[0039] In the above technical solution, the Nth-level optical splitter can send the second information to the N-1th-level optical splitter, so that the first-level optical splitter can collect the connection relationship between each optical splitter and the slave gateway device, the upper-level device information and the lower-level device information of each optical splitter. The master gateway device determines the topology information. The topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter is visualized, which facilitates the operation and maintenance of the optical communication system.

[0040] Based on the fourth aspect, in a possible implementation, the second information is carried in a communication electrical signal. In this implementation, communication transmission between optical splitters of different levels is implemented to achieve transmission of the second information.

[0041] Based on the fourth aspect, in a possible implementation method, the N-th level optical splitter obtains the second information, including: the N-th level optical splitter receives the third information from the N+1-th level optical splitter, wherein the third information includes the connection relationship between the optical splitter ports from the N+1-th level optical splitter to the M-th level optical splitter in the M-level optical splitter and the slave gateway device, the previous level device information and the next level device information of each level of optical splitter from the N+1-th level optical splitter to the M-th level optical splitter.

[0042] Based on the fourth aspect, in a possible implementation, the third information is carried in a communication electrical signal. In this implementation, communication transmission between optical splitters of different levels is implemented to achieve transmission of the third information.

[0043] In a fifth aspect, the present application provides a master gateway device, which is applied to an optical communication system. The optical communication system includes a master gateway device, at least one slave gateway device and at least one optical splitter, and the master gateway device is connected to the at least one optical splitter in a cascade manner; the master gateway device includes an acquisition module and a generation module; the acquisition module is used to acquire connection information and classification information, the connection information includes a connection relationship between at least one slave gateway device and an optical splitter port of at least one optical splitter, and the classification information is used to indicate the cascade level corresponding to each optical splitter in at least one optical splitter; the generation module is used to generate topology information according to the connection information and the classification information, the topology information includes a connection relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, and a connection relationship between at least one slave gateway device and an optical splitter port of at least one optical splitter.

[0044] Based on the fifth aspect, in a possible implementation manner, the connection information includes a correspondence between each slave gateway device in at least one slave gateway device and a port number of the optical splitter.

[0045] Based on the fifth aspect, in a possible implementation method, the hierarchical information includes the received optical power, RTT, or the distance between the slave gateway device and the master gateway device of each slave gateway device in at least one slave gateway device; wherein the received optical power of the slave gateway device is the received optical power of the optical signal sent by the master gateway device received by the gateway device; the RTT of the slave gateway device refers to the time required for the optical signal to travel from the master gateway device to the slave gateway device and then from the slave gateway device to the master gateway device, and the received optical power or RTT of the slave gateway device is used to indicate the cascade level corresponding to the optical splitter connected to the slave gateway device.

[0046] Based on the fifth aspect, in a possible implementation method, at least one slave gateway device includes a first slave gateway device; the acquisition module is specifically used to: receive the connection relationship between the first slave gateway device and the optical splitter port from the first slave gateway device, and receive the received optical power, RTT or the distance between the first slave gateway device and the master gateway device from the first slave gateway device.

[0047] Based on the fifth aspect, in a possible implementation method, the connection relationship between the first slave gateway device and the optical splitter port is carried in an OMCI message, an OAM message, or an Ethernet message; the received optical power, RTT or the distance between the first slave gateway device and the master gateway device of the first slave gateway device are carried in an OMCI message, an OAM message, or an Ethernet message.

[0048] Based on the fifth aspect, in a possible implementation, the master gateway device also includes a sending module; the sending module is used to send a first request to the first slave gateway device, and the first request is used to request a connection relationship between the first slave gateway device and the optical splitter port.

[0049] Based on the fifth aspect, in a possible implementation method, the master gateway device also includes a sending module; the sending module is used to send a second request to the first slave gateway device, and the second request is used to request the received optical power, RTT or distance between the first slave gateway device and the master gateway device of the first slave gateway device.

[0050] Based on the fifth aspect, in a possible implementation manner, the hierarchical information includes upper-level device information and lower-level device information of each optical splitter in at least one optical splitter.

[0051] Based on the fifth aspect, in a possible implementation manner, the acquisition module is specifically used to: receive connection information and classification information from a first-level optical splitter in at least one optical splitter.

[0052] Based on the fifth aspect, in a possible implementation manner, the connection information and the classification information are carried in the communication electrical signal.

[0053] Based on the fifth aspect, in a possible implementation, the main gateway device also includes a sending module; the sending module is used to send a third request to the first-level optical splitter, and the third request is used to request connection information and classification information.

[0054] Based on the fifth aspect, in a possible implementation, the acquisition module is specifically used to: receive the connection relationship between the optical splitter port of each optical splitter in at least one optical splitter and the slave gateway device, the upper-level device information of the optical splitter, and the lower-level device information of the optical splitter.

[0055] Based on the fifth aspect, in a possible implementation manner, the connection information and the classification information are carried in a wireless communication signal or a communication optical signal.

[0056] In a sixth aspect of the present application, there is provided a first slave gateway device, which is applied to an optical communication system. The optical communication system includes a master gateway device, at least one slave gateway device and at least one optical splitter. The master gateway device is connected to the at least one optical splitter in a cascade manner, and the at least one slave gateway device includes a first slave gateway device; the first slave gateway device includes a sending module; the sending module is used to send the connection relationship between the first slave gateway device and the optical splitter port, as well as the received optical power, round-trip time RTT or the distance from the first slave gateway device to the master gateway device to the master gateway device; wherein the received optical power of the first slave gateway device is the received optical power of the optical signal sent by the master gateway device received by the first slave gateway device; the RTT of the first slave gateway device refers to the time required for the optical signal to pass from the master gateway device to the first slave gateway device and then from the first slave gateway device to the master gateway device, and the received optical power, RTT or the distance from the first slave gateway device to the master gateway device of the first slave gateway device are used to indicate the cascade level corresponding to the optical splitter connected to the first slave gateway device.

[0057] Based on the sixth aspect, in a possible implementation, the first slave gateway device also includes a receiving module; the receiving module is used to receive a first request from the master gateway device, and the first request is used to request a connection relationship between the first slave gateway device and the optical splitter port.

[0058] Based on the sixth aspect, in a possible implementation, the first slave gateway device also includes a receiving module; the receiving module receives a second request from the master gateway device, and the second request is used to request the received optical power, RTT or distance from the first slave gateway device to the master gateway device of the first slave gateway device.

[0059] Based on the sixth aspect, in a possible implementation manner, the connection relationship between the first slave gateway device and the optical splitter port includes a corresponding relationship between the first slave gateway device and the optical splitter port number.

[0060] Based on the sixth aspect, in a possible implementation method, the connection relationship between the first slave gateway device and the optical splitter port is carried in an OMCI message, an OAM message, or an Ethernet message, and the received optical power, RTT, or the distance from the first slave gateway device to the master gateway device of the first slave gateway device is carried in an OMCI message, an OAM message, or an Ethernet message.

[0061] In a seventh aspect, the present application provides a first-level optical splitter, which is applied to an optical communication system. The optical communication system includes a master gateway device, at least one slave gateway device and at least one optical splitter, wherein the master gateway device is connected to the at least one optical splitter in a cascade manner; the at least one optical splitter includes a first-level optical splitter; the first-level optical splitter includes an acquisition module and a sending module; the acquisition module is used to acquire connection information and classification information, the connection information includes a connection relationship between at least one slave gateway device and an optical splitter port of at least one optical splitter, and the classification information is used to indicate the cascade level corresponding to each optical splitter in at least one optical splitter; the sending module is used to send the connection information and classification information to the master gateway device.

[0062] Based on the seventh aspect, in a possible implementation manner, the hierarchical information includes upper-level device information and lower-level device information of each optical splitter in at least one optical splitter.

[0063] Based on the seventh aspect, in a possible implementation method, at least one optical splitter also includes a second-level optical splitter; the acquisition module is specifically used to: receive first information from the second-level optical splitter, wherein the first information includes a connection relationship between an optical splitter port of each optical splitter in at least one optical splitter except the first-level optical splitter and a slave gateway device, an upper-level device information of each optical splitter, and a lower-level device information.

[0064] Based on the seventh aspect, in a possible implementation manner, the connection information and the classification information are carried in the communication electrical signal.

[0065] In an eighth aspect of the present application, there is provided an N-th level optical splitter, which is applied to an optical communication system. The optical communication system includes a master gateway device, at least one slave gateway device and at least one optical splitter. The master gateway device is connected to the at least one optical splitter in a cascade manner. The at least one optical splitter includes an M-level optical splitter, where M is an integer greater than or equal to 2; the N-th level optical splitter includes an acquisition module and a sending module; the acquisition module is used to acquire second information, the second information includes a connection relationship between the optical splitter port from the N-th level optical splitter to the M-th level optical splitter in the M-level optical splitters and the slave gateway device, the upper-level device information and the lower-level device information of each level of optical splitter from the N-th level optical splitter to the M-th level optical splitter, and N is an integer greater than or equal to 2 and less than or equal to M; the sending module is used to send the second information to the N-1-th level optical splitter.

[0066] Based on the eighth aspect, in a possible implementation manner, the second information is carried in a communication electrical signal.

[0067] Based on the eighth aspect, in a possible implementation method, the acquisition module is specifically used to: receive third information from the N+1th level optical splitter, wherein the third information includes the connection relationship between the optical splitter ports from the N+1th level optical splitter to the Mth level optical splitter in the Mth level optical splitter and the slave gateway device, the previous level device information and the next level device information of each level optical splitter from the N+1th level optical splitter to the Mth level optical splitter.

[0068] Based on the eighth aspect, in a possible implementation manner, the third information is carried in the communication electrical signal.

[0069] In a ninth aspect, the present application provides an optical communication device, comprising a processor and a transceiver, wherein the processor and the transceiver are interconnected via a line; the processor is used to execute any one of the implementation methods in the first aspect, the second aspect, the third aspect or the fourth aspect.

[0070] Optionally, the processor is used to call and run a computer program stored in the memory, so that the processor implements any one of the implementation methods of the first aspect, the second aspect, the third aspect or the fourth aspect.

[0071] Optionally, the processor is used to control the transceiver to send and receive signals.

[0072] Optionally, the optical communication device further comprises a memory in which a computer program is stored.

[0073] In a tenth aspect, the present application provides an optical communication system, the optical communication system comprising a master gateway device and a first slave gateway device, the master gateway device is used to execute the method described in the corresponding item of the first aspect, and the first slave gateway device is used to execute any one of the methods described in the second aspect; or,

[0074] The optical communication system includes a main gateway device and a first-level optical splitter. The main gateway device is used to execute the method described in the corresponding item of the first aspect, and the first-level optical splitter is used to execute any method described in the third aspect; optionally, the optical communication system also includes an N-th level optical splitter, and the N-th level optical splitter is used to execute any method described in the fourth aspect.

[0075] In an eleventh aspect of the present application, a processing chip is provided, the processing chip includes a processor, and the processor is used to call computer instructions or computer programs stored in a memory to execute any method described in any one of the first to fourth aspects above.

[0076] Based on the eleventh aspect, in a possible implementation, the processing chip also includes a memory, and the memory and the processor are interconnected through a line.

[0077] A twelfth aspect of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enables the computer to execute any of the methods described in any of the first to fourth aspects above.

[0078] A thirteenth aspect of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the methods described in any of the first to fourth aspects above.

[0079] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0080] It can be seen from the above technical solution that the method provided by the present application is applied to an optical communication system, which includes a master gateway device, at least one slave gateway device and at least one optical splitter. The master gateway device is connected to the at least one optical splitter in a cascade manner. The master gateway device obtains connection information and hierarchical information. The connection information includes the connection relationship between the at least one slave gateway device and the optical splitter port of the at least one optical splitter. The hierarchical information is used to indicate the cascade level corresponding to each optical splitter in the at least one optical splitter. Then, the master gateway device generates topology information based on the connection information and hierarchical information. The topology information includes the connection relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, and the connection relationship between at least one slave gateway device and the optical splitter port of at least one optical splitter. It can be seen that the master gateway device can obtain connection information and hierarchical information, and determine topology information based on the connection information and hierarchical information. Thereby, the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter is visualized, which facilitates the operation and maintenance of the optical communication system. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 A schematic diagram of a communication system used in an embodiment of the present application;

[0082] Figure 2 A schematic diagram of the structure of the FTTR network in the embodiment of the present application;

[0083] Figure 3 Another structural diagram of the FTTR network used in the embodiment of the present application;

[0084] Figure 4 This is a first structural diagram of a main gateway device according to an embodiment of the present application;

[0085] Figure 5 A schematic diagram of the structure of an active optical splitter according to an embodiment of the present application;

[0086] Figure 6This is a schematic diagram of a first embodiment of the information generation method of the present application embodiment;

[0087] Figure 7 This is a schematic diagram of a second embodiment of the information generation method of the embodiment of the present application;

[0088] Figure 8 This is a schematic diagram of a third embodiment of the information generation method of the embodiment of the present application;

[0089] Fig. 9 This is a second structural diagram of the main gateway device in the embodiment of the present application;

[0090] Fig.10 Another structural schematic diagram of the active optical splitter according to an embodiment of the present application;

[0091] Fig.11 This is a third structural diagram of the main gateway device of the embodiment of the present application;

[0092] Fig.12 A structural diagram of a first slave gateway device according to an embodiment of the present application;

[0093] Fig.13 A schematic diagram of the structure of an optical splitter according to an embodiment of the present application;

[0094] Fig.14 A schematic diagram of the structure of an optical communication device according to an embodiment of the present application. DETAILED DESCRIPTION

[0095] The present application provides an information generation method and related devices for a master gateway device to determine topology information, realize visualization of the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, and facilitate system operation and maintenance.

[0096] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0097] References to "one embodiment" or "some embodiments" etc. described in this application mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0098] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c; a and b; a and c; b and c; or a, b, and c. Among them, a, b, and c can be single or multiple.

[0099] Figure 1 A schematic diagram of a communication system used in an embodiment of the present application. Figure 1 , this application is mainly used in passive optical networks (PON). Under the overall situation of the full popularization of optical networks, a huge number of communication devices are needed. The PON network includes an optical line terminal (OLT), an optical network terminal (ONT), and an optical distribution network (ODN) between the OLT and the ONT. The ODN network is a fiber-to-the-home optical cable network based on PON equipment. Its function is to provide an optical transmission channel between the OLT and the ONT.

[0100] Multiple ONTs can be connected to the PON port of the same OLT through the ODN network. The OLT performs downstream transmission with the ONT through broadcasting. Multiple ONTs perform upstream transmission with the OLT through time division multiplexing.

[0101] The technical solution of the embodiment of the present application can be applied to the compatibility between various passive optical network (PON) systems, and the PON systems include, for example, next-generation PON (NG-PON), NG-PON1, NG-PON2, gigabit PON (GPON), 10 gigabit per second PON (XG-PON), 10-gigabit-capable symmetric passive optical network (XGS-PON), Ethernet PON (EPON), 10 gigabit per second EPON (10G-EPON), next-generation EPON (NG-EPON), wavelength-division multiplexing (WDM) PON, time-and wavelength-division stacking multiplexing (TD-SPL) PON, and 10-gigabit-capable symmetric passive optical network (XGS-PON). The present invention relates to the present invention to a plurality of PONs, such as high-speed multiplexing (TWDM) PON, point-to-point (P2P) WDM PON (P2P-WDM PON), asynchronous transfer mode PON (APON), broadband PON (BPON), etc., as well as 25 gigabit per second PON (25G-PON), 50 gigabit per second PON (50G-PON), 100 gigabit per second PON (100G-PON), 25 gigabit per second EPON (25G-EPON), 50 gigabit per second EPON (50G-EPON), 100 gigabit per second EPON (100G-EPON), and GPON, EPON of other rates.

[0102] In order to solve the problem of wireless fidelity (WIFI) coverage in home networks, FTTR technology has been proposed and has received widespread attention. FTTR technology mainly extends optical fibers further into residents' rooms and installs WIFI access devices inside the rooms, thereby shortening the distance between the user's terminal device and the WIFI device and ensuring the quality of the WIFI signal.

[0103] The FTTR network used in the embodiment of the present application includes: a master gateway device, at least one slave gateway device and at least one optical splitter. The master gateway device is connected to the at least one optical splitter in a cascade manner. That is, the master gateway device is connected to the first-level optical splitter in the at least one optical splitter, and the first-level optical splitter is connected to the second-level optical splitter in the at least one optical splitter, and so on. The penultimate optical splitter in the at least one optical splitter is connected to the last-level optical splitter in the at least one optical splitter. For example, Figure 2 As shown, the main gateway device 210 is connected to the active optical splitter 220. The active optical splitter 220 can be called a first-level active optical splitter. The active optical splitter 220 is connected to the active optical splitter 221, and the active optical splitter 221 can be called a second-level active optical splitter. The active optical splitter 221 is connected to the active optical splitter 222, and the active optical splitter 222 can be called a third-level active optical splitter. The active optical splitter 222 is connected to the active optical splitter 223, and the active optical splitter 223 can be called a fourth-level active optical splitter. That is, the main gateway device 210 and the active optical splitter 220 to the active optical splitter 223 are connected in a cascade manner. The at least one slave gateway device is connected to the optical splitter port of the at least one optical splitter. For specific connection methods, please refer to the following Figure 2 and Figure 3 Understand the structure shown.

[0104] Optionally, the master gateway device is a device having related functions of both OLT and ONT. The slave gateway device may be ONT. The master gateway device and the slave gateway device may also be referred to as FTTR devices. For example, the master gateway device is a master optical modem, and the slave gateway device is a slave optical modem.

[0105] Two possible FTTR networks to which this application is applied are introduced below.

[0106] Figure 2 This is a schematic diagram of the structure of the FTTR network used in the embodiment of this application. Figure 2 The FTTR network includes: a master gateway device 210 , active optical splitters 220 to 223 , and slave gateway devices 230 to 265 .

[0107] The main gateway device 210 is connected to the active optical splitter 220 to the active optical splitter 223 in a cascade manner. Among them, the active optical splitter 220 is a first-level optical splitter, the active optical splitter 221 is a second-level optical splitter, the active optical splitter 222 is a third-level optical splitter, and the active optical splitter 223 is a fourth-level optical splitter.

[0108] The main gateway device 210 and the active optical splitter 220 may be connected via a common optical cable or a power on fiber (POF) trunk cable.

[0109] For example, the active optical splitter 220 is connected to the main gateway device 210 via a common optical cable. The active optical splitter 220 can be powered locally. In this implementation, the active optical splitter 220 is connected to the main gateway device 210 via an optical interface. Optionally, the optical interface can be a square connector (SC) interface or a small connector (LC) interface.

[0110] For example, the active optical splitter 220 is connected to the main gateway device 210 via a POF trunk cable. The active optical splitter 220 may be powered by the main gateway device 210. In this implementation, the active optical splitter 220 is connected to the main gateway device 210 via an optoelectronic composite interface. Optionally, the optoelectronic composite interface may be referred to as an any connector (XC) interface.

[0111] The active optical splitters 220 to 223 are not equal to each other, that is, the splitting ratios of different branch cables of each active splitter are different.

[0112] like Figure 2 As shown, the lower-level cascade interface of the active optical splitter 220 is connected to the active optical splitter 221 through a POF branch cable. The eight local branch ports of the active optical splitter 220 are respectively connected to the slave gateway device 230 to the slave gateway device 238 through a POF branch cable. The active optical splitter 220 is connected to the slave gateway device through an optoelectronic composite interface to power the slave gateway device. The same is true for the active optical splitter 221, the active optical splitter 222 and the active optical splitter 223, which will not be described one by one here. The local branch port can also be called an optical splitter port.

[0113] Figure 3 This is another structural diagram of the FTTR network used in the embodiment of the present application. Figure 3 The FTTR network includes: a master gateway device 310 , an active optical splitter 320 , an active optical splitter 321 , and slave gateway devices 330 to 339 .

[0114] The main gateway device 310 is connected to the active optical splitter 320 and the active optical splitter 321 in a cascade manner, wherein the active optical splitter 320 is a first-level optical splitter and the active optical splitter 321 is a second-level optical splitter.

[0115] The main gateway device 310 and the active optical splitter 320 can be connected via a common optical cable. The active optical splitter 320 can be powered locally. In this implementation, the active optical splitter 320 is connected to the main gateway device 310 via an optical interface. Optionally, the optical interface can be an SC interface or an LC interface.

[0116] like Figure 3 As shown, the lower-level cascade interface of the active optical splitter 320 is connected to the active optical splitter 221 through a common optical cable. That is, the active optical splitter 320 and the active optical splitter 321 are connected through an optical interface. The five local branch ports of the active optical splitter 320 are respectively connected to the slave gateway device 330 to the slave gateway device 334 through a POF branch cable. The active optical splitter 320 is connected to the slave gateway device through an optoelectronic composite interface, thereby providing power to the slave gateway device. Optionally, the optoelectronic composite interface is an XC interface. The same is true for the active optical splitter 321, which will not be described one by one here.

[0117] It should be noted that the above Figure 2 and Figure 3 The FTTR network device includes at least one active optical splitter. In practical applications, the FTTR network device may also include at least one passive optical splitter. Each passive optical splitter and each slave gateway device are powered locally.

[0118] Combine the following Figure 4 The first structural diagram of the main gateway device of the embodiment of the present application is introduced.

[0119] Figure 4 This is a schematic diagram of the structure of the main gateway device in the embodiment of the present application. Figure 4 The main gateway device 400 includes a central processing unit (CPU) 401, an uplink optical module or a bi-directional optical sub-assembly (BOSA) directly encapsulated on the device (bosa on board, BOB) 402, an uplink media access control MAC module 403, a forwarding unit 404, a downlink MAC module 405, and a downlink optical module or BOB 406.

[0120] The CPU 401 is used to control other units or modules to process signals and transmit signals. The forwarding unit 404 is used to forward service messages to the uplink MAC module 403 or the downlink MAC module 405 .

[0121] In one possible implementation, the forwarding unit 404 sends the first service message to the uplink MAC module. The uplink MAC module 403 encapsulates the first service message accordingly, and sends the encapsulated first service message to the uplink optical module or BOB402. The encapsulated first service message is carried on the first electrical signal. The uplink optical module or BOB402 is used to perform photoelectric conversion on the first electrical signal to obtain a first optical signal, and send the first optical signal through the optical fiber 407.

[0122] In another possible implementation, the forwarding unit 404 sends the second service message to the downlink MAC module. The downlink MAC module 405 encapsulates the second service message accordingly, and sends the encapsulated second service message to the downlink optical module or BOB406. The encapsulated second service message is carried on the second electrical signal. The uplink optical module or BOB406 is used to perform photoelectric conversion on the second electrical signal to obtain a second optical signal, and send the second optical signal through the optical fiber 408.

[0123] Combine the following Figure 5 A structural schematic diagram of an active optical splitter according to an embodiment of the present application is introduced.

[0124] Figure 5 This is a schematic diagram of the structure of an active optical splitter according to an embodiment of the present application. Figure 5 The active optical splitter includes an optical splitter 501 , a power supply 502 and a power distribution unit 503 .

[0125] The optical splitter 501 is connected to the optical splitter of the next level through the lower level cascade port. The optical splitter 501 is connected to the slave gateway device through multiple branch ports of the current level. It should be noted that the branch ports of the current level can also be called ports.

[0126] The first end of the power distribution unit 503 is connected to the power supply 502. The second end of the power distribution unit 503 is connected to the lower-level cascade port, so as to power the next-level optical splitter through the lower-level cascade port. The other ends of the power distribution unit 503 except the first end and the second end are respectively connected to the local branch port, so as to power the slave gateway device connected to the local branch port.

[0127] It should be noted that the above Figure 5 The active optical splitter shown includes a power supply 502. In practical applications, the power supply 502 may not belong to the active optical splitter, and this application does not make any specific limitation.

[0128] In an FTTR network, the topological relationship between a master gateway device, at least one slave gateway device, and at least one optical splitter is information that system operation and maintenance urgently needs to obtain. Therefore, how to realize the visualization requirement of the topological relationship between a master gateway device, at least one slave gateway device, and at least one optical splitter is an urgent problem to be solved.

[0129] This application provides a corresponding technical solution for a master gateway device to determine topology information. It realizes visualization of the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, which is convenient for system operation and maintenance. Please refer to the following for details. Figure 6 , Figure 7 and Figure 8 Related introduction of the illustrated embodiment.

[0130] The technical solution of the present application is introduced below in conjunction with specific embodiments.

[0131] Figure 6 This is a schematic diagram of the first embodiment of the information generation method of the present application. Figure 6 The method is applied to an optical communication system, the optical communication system comprising a master gateway device, at least one slave gateway device and at least one optical splitter. The master gateway device is connected to the at least one optical splitter in a cascade manner. The method comprises:

[0132] 601. The main gateway device obtains connection information and classification information.

[0133] The connection information includes a connection relationship between the at least one slave gateway device and an optical splitter port of the at least one optical splitter. The classification information is used to indicate a cascade level corresponding to each optical splitter in the at least one optical splitter.

[0134] Optionally, the connection information includes a corresponding relationship between the at least one slave gateway device and the optical splitter port. Figure 3 The connection information is introduced in Table 1. The connection information includes the following contents:

[0135] Table 1

[0136] From the gateway device Optical splitter port number Slave gateway device 330 and slave gateway device 335 Optical splitter port 1 Slave gateway device 331 and slave gateway device 336 Optical splitter port 2 Slave gateway device 332 and slave gateway device 337 Optical splitter port 3 Slave gateway device 333 and slave gateway device 338 Optical splitter port 4 Slave gateway device 334 and slave gateway device 339 Optical splitter port 5

[0137] As shown in Table 1, the connection information includes: the correspondence between the slave gateway device 330 and the slave gateway device 335 and the optical splitter port 1 respectively, the correspondence between the slave gateway device 331 and the slave gateway device 336 and the optical splitter port 2 respectively, the correspondence between the slave gateway device 332 and the slave gateway device 337 and the optical splitter port 3 respectively, the correspondence between the slave gateway device 333 and the slave gateway device 338 and the optical splitter port 4 respectively, and the correspondence between the slave gateway device 334 and the slave gateway device 339 and the optical splitter port 5 respectively.

[0138] From Table 1, since every two slave gateway devices correspond to one optical splitter port number, it can be known that the at least one optical splitter includes two optical splitters. That is, the number of slave gateway devices corresponding to each optical splitter port number can be represented as the number of optical splitters included in the at least one optical splitter.

[0139] It should be noted that, optionally, in this embodiment, the at least one optical splitter may be a passive optical splitter or an active optical splitter, and the specific details are not limited. The following mainly introduces the at least one optical splitter as an active optical splitter as an example.

[0140] Optionally, the master gateway device may obtain the connection information from the at least one slave gateway device. Figure 7 The embodiment shown introduces the technical solution of the present application by taking the master gateway device obtaining the connection relationship between the first slave gateway device and the optical splitter port from the first slave gateway device among the at least one slave gateway device as an example. The process for the master gateway device to obtain the connection relationship between the other slave gateway devices and the optical splitter port from other slave gateway devices is similar, and will not be described in detail below.

[0141] Optionally, the main gateway device may obtain the connection information from the at least one optical splitter.

[0142] For example, the main gateway device obtains the connection information from the first-level optical splitter in the at least one optical splitter. For details, please refer to the following text. Figure 8 Related introduction of the illustrated embodiment.

[0143] For example, the master gateway device obtains the connection relationship between the optical splitter port of the optical splitter and the slave gateway device from each optical splitter in the at least one optical splitter.

[0144] Optionally, the connection information and the classification information are sent simultaneously. For details, please refer to the example shown in Table 4 below.

[0145] The classification information is used to indicate the cascade level corresponding to each optical splitter in the at least one optical splitter. That is, the level to which each optical splitter belongs. For example, Figure 2 As shown, the main gateway device 210 is connected to the active optical splitter 220 to the active optical splitter 223 in a cascade manner. Among them, the active optical splitter 220 is a first-level optical splitter, the active optical splitter 221 is a second-level optical splitter, the active optical splitter 222 is a third-level optical splitter, and the active optical splitter 223 is a fourth-level optical splitter.

[0146] In a possible implementation manner, the classification information is used to indirectly indicate a cascade level corresponding to each optical splitter in the at least one optical splitter.

[0147] In this implementation, optionally, the classification information includes the received optical power, RTT, or the distance between the slave gateway device and the master gateway device of each slave gateway device in at least one slave gateway device.

[0148] The received optical power of each slave gateway device is the received optical power of the slave gateway device receiving the optical signal sent by the master gateway device. Alternatively, the received optical power of each slave gateway device is the received optical power of the master gateway device receiving the optical signal sent by the slave gateway device.

[0149] The RTT of each slave gateway device refers to the time required for the optical signal to travel from the master gateway device to the slave gateway device and then from the slave gateway device to the master gateway device. Therefore, the distance between each slave gateway device and the master gateway device is equal to the RTT of the slave gateway device divided by two, multiplied by the speed of light. It should be noted that the distance between each slave gateway device and the master gateway device can be understood as the length of the optical fiber connecting the slave gateway device and the master gateway device.

[0150] The received optical power, RTT of each slave gateway device or the distance between the slave gateway device and the master gateway device is used to indirectly indicate the cascade level corresponding to the optical splitter connected to the slave gateway device.

[0151] For example, combined with Figure 3 For the FTTR network shown, the classification information includes the contents shown in Table 2 below.

[0152] Table 2

[0153] From the gateway device Optical Received Power From the gateway device 330 X1 From the gateway device 335 X2 From the gateway device 331 X3 From the gateway device 336 X4 From the gateway device 332 X5 From the gateway device 337 X6 From the gateway device 333 X7 From the gateway device 338 X8 From the gateway device 334 X9 From the gateway device 339 X10

[0154] Combined with the above Table 1, it can be seen that the slave gateway device 330 and the slave gateway device 335 are both connected to the optical splitter port 1. As shown in Table 2, the optical receiving power of the slave gateway device 330 is X1, and the optical receiving power of the slave gateway device 335 is X2. Among them, X1 is greater than X2, so it can be seen that the slave gateway device 330 is connected to Figure 3 The optical splitter port 1 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 1 of the first-stage active optical splitter (i.e., active optical splitter 320), and the optical splitter port 1 of the first-stage active optical splitter (i.e., active optical splitter 320) connected to the gateway device 335 is connected to the gateway device 335. Figure 3 The optical splitter port 1 of the second-stage active optical splitter (ie, the active optical splitter 321).

[0155] The slave gateway device 331 and the slave gateway device 336 are both connected to the optical splitter port 2. As shown in Table 2, the received optical power of the slave gateway device 331 is X3, and the received optical power of the slave gateway device 336 is X4. Among them, X3 is greater than X4, so it can be seen that the slave gateway device 331 is connected to Figure 3The optical splitter port 2 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 2 of the first-stage active optical splitter (i.e., active optical splitter 320), and the optical splitter port 2 of the first-stage active optical splitter (i.e., active optical splitter 320) connected to the gateway device 336 is connected to the gateway device 336. Figure 3 The optical splitter port 2 of the second-stage active optical splitter (ie, the active optical splitter 321).

[0156] The slave gateway device 332 and the slave gateway device 337 are both connected to the optical splitter port 3. As shown in Table 2, the received optical power of the slave gateway device 332 is X5, and the received optical power of the slave gateway device 337 is X6. Among them, X5 is greater than X6, so it can be seen that the slave gateway device 332 is connected to Figure 3 The optical splitter port 3 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 3 of the first-stage active optical splitter (i.e., active optical splitter 320), and the optical splitter port 3 of the first-stage active optical splitter (i.e., active optical splitter 320) connected to the gateway device 337 is Figure 3 The optical splitter port 3 of the second-stage active optical splitter (ie, the active optical splitter 321).

[0157] The slave gateway device 333 and the slave gateway device 338 are both connected to the optical splitter port 4. As shown in Table 2, the received optical power of the slave gateway device 333 is X7, and the received optical power of the slave gateway device 338 is X8. Among them, X7 is greater than X8, so it can be seen that the slave gateway device 333 is connected to Figure 3 The optical splitter port 4 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 4 of the first-stage active optical splitter (i.e., active optical splitter 320), and the optical splitter port 4 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 4 of the first-stage active Figure 3 The optical splitter port 4 of the second-stage active optical splitter (ie, the active optical splitter 321).

[0158] The slave gateway device 334 and the slave gateway device 339 are both connected to the optical splitter port 5. As shown in Table 2, the received optical power of the slave gateway device 334 is X9, and the received optical power of the slave gateway device 339 is X10. Among them, X9 is greater than X10, so it can be seen that the slave gateway device 334 is connected to Figure 3 The optical splitter port 5 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 5 of the first-stage active optical splitter (i.e., active optical splitter 320), and the optical splitter port 5 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 5 of the first-stage active Figure 3 The optical splitter port 5 of the second-stage active optical splitter (ie, the active optical splitter 321).

[0159] For example, combined with Figure 3 For the FTTR network shown, the classification information includes the contents shown in Table 3 below.

[0160] Table 3

[0161] From the gateway device Optical Received Power From the gateway device 330 RTT1 From the gateway device 335 RTT2 From the gateway device 331 RTT3 From the gateway device 336 RTT4 From the gateway device 332 RTT5 From the gateway device 337 RTT6 From the gateway device 333 RTT7 From the gateway device 338 RTT8 From the gateway device 334 RTT9 From the gateway device 339 RTT10

[0162] Combined with the above Table 1, it can be seen that the slave gateway device 330 and the slave gateway device 335 are both connected to the optical splitter port 1. As shown in Table 3, the RTT of the slave gateway device 330 is RTT1, and the RTT of the slave gateway device 335 is RTT2. Among them, RTT1 is less than RTT2, so it can be seen that the slave gateway device 330 is connected to Figure 3 The optical splitter port 1 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 1 of the first-stage active optical splitter (i.e., active optical splitter 320), and the optical splitter port 1 of the first-stage active optical splitter (i.e., active optical splitter 320) connected to the gateway device 335 is connected to the gateway device 335. Figure 3 The optical splitter port 1 of the second-stage active optical splitter (ie, the active optical splitter 321).

[0163] The slave gateway device 331 and the slave gateway device 336 are both connected to the optical splitter port 2. As shown in Table 3, the RTT of the slave gateway device 331 is RTT3, and the RTT of the slave gateway device 336 is RTT4. Among them, RTT3 is less than RTT4, so it can be known that the slave gateway device 331 is connected to Figure 3 The optical splitter port 2 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 2 of the first-stage active optical splitter (i.e., active optical splitter 320), and the optical splitter port 2 of the first-stage active optical splitter (i.e., active optical splitter 320) connected to the gateway device 336 is connected to the gateway device 336. Figure 3 The optical splitter port 2 of the second-stage active optical splitter (ie, the active optical splitter 321).

[0164] The slave gateway device 332 and the slave gateway device 337 are both connected to the optical splitter port 3. As shown in Table 3, the RTT of the slave gateway device 332 is RTT5, and the RTT of the slave gateway device 337 is RTT6. Among them, RTT5 is less than RTT6, so it can be seen that the slave gateway device 332 is connected to Figure 3 The optical splitter port 3 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 3 of the first-stage active optical splitter (i.e., active optical splitter 320), and the optical splitter port 3 of the first-stage active optical splitter (i.e., active optical splitter 320) connected to the gateway device 337 is Figure 3 The optical splitter port 3 of the second-stage active optical splitter (ie, the active optical splitter 321).

[0165] The slave gateway device 333 and the slave gateway device 338 are both connected to the optical splitter port 4. As shown in Table 3, the RTT of the slave gateway device 333 is RTT7, and the RTT of the slave gateway device 338 is RTT8. Among them, RTT7 is less than RTT8, so it can be known that the slave gateway device 333 is connected to Figure 3 The optical splitter port 4 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 4 of the first-stage active optical splitter (i.e., active optical splitter 320), and the optical splitter port 4 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 4 of the first-stage active Figure 3 The optical splitter port 4 of the second-stage active optical splitter (ie, the active optical splitter 321).

[0166] The slave gateway device 334 and the slave gateway device 339 are both connected to the optical splitter port 5. As shown in Table 3, the RTT of the slave gateway device 334 is RTT9, and the RTT of the slave gateway device 339 is RTT10. Among them, RTT9 is less than RTT10, so it can be seen that the slave gateway device 334 is connected to Figure 3 The optical splitter port 5 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 5 of the first-stage active optical splitter (i.e., active optical splitter 320), and the optical splitter port 5 of the first-stage active optical splitter (i.e., active optical splitter 320) in the embodiment of the present invention is connected to the optical splitter port 5 of the first-stage active Figure 3 The optical splitter port 5 of the second-stage active optical splitter (ie, the active optical splitter 321).

[0167] It can be seen that the master gateway device can determine the cascade level corresponding to the optical splitter connected to the slave gateway device through the received optical power, RTT or the distance between the slave gateway device and the master gateway device.

[0168] In this implementation, optionally, the master gateway device may obtain the classification information from the at least one slave gateway device. Figure 7 The embodiment shown introduces the technical solution of the present application by taking the example of the master gateway device obtaining the received optical power, RTT or the distance between the first slave gateway device and the master gateway device from the first slave gateway device among the at least one slave gateway device. The process for the master gateway device to obtain the received optical power, RTT or the distance between the other slave gateway devices and the master gateway device from other slave gateway devices is similar and will not be described in detail below.

[0169] In another possible implementation manner, the classification information is used to directly indicate the cascade level corresponding to each optical splitter in the at least one optical splitter.

[0170] In this implementation, optionally, the hierarchical information includes upper-level device information and lower-level device information of each optical splitter in at least one optical splitter.

[0171] Optionally, in this implementation, the master gateway device may obtain the classification information from the at least one optical splitter.

[0172] For example, the master gateway device can obtain the classification information from the first-level optical splitter in the at least one optical splitter. Figure 8 Related introduction of the illustrated embodiment.

[0173] For example, the main gateway device obtains the upper-level device information and the lower-level device information of each optical splitter in the at least one optical splitter.

[0174] A possible form of the connection information and classification information provided by the at least one optical splitter is shown below. For example, the first-level optical splitter in the at least one optical splitter can send the connection information and classification information to the main gateway device. The connection information and classification information include the content shown in Table 4.

[0175] Table 4

[0176]

[0177] It can be seen from Table 4 that optical splitter 1 is a first-level optical splitter, optical splitter 2 is a second-level optical splitter, and optical splitter 3 is a third-level optical splitter.

[0178] 602. The main gateway device generates topology information according to the connection information and the classification information.

[0179] The topology information includes a connection relationship between a master gateway device, at least one slave gateway device and at least one optical splitter, and a connection relationship between the at least one slave gateway device and an optical splitter port of the at least one optical splitter.

[0180] The master gateway device can determine the connection relationship between the at least one slave gateway device and the optical splitter port of the at least one optical splitter according to the connection information. For example, the relevant introduction of the example shown in Table 1 above is not repeated here. The master gateway device determines the connection relationship between the master gateway device, at least one slave gateway device and at least one optical splitter according to the connection information and the classification information.

[0181] Optionally, the grading information includes the received optical power, the round-trip time RTT, or the distance between the slave gateway device and the master gateway device of each slave gateway device in at least one slave gateway device. The master gateway device determines multiple groups of slave gateway devices based on the connection information. The slave gateway devices in each group of the multiple groups of slave gateway devices are connected to the same optical splitter port number. The slave gateway devices in different groups of slave gateway devices are connected to different optical splitter port numbers. Then, the master gateway device determines the cascade level corresponding to the optical splitter connected to each slave gateway device in each group of slave gateway devices based on the grading information. The master gateway device determines the connection relationship between the master gateway device, at least one slave gateway device and at least one optical splitter based on the cascade level corresponding to the optical splitter connected to each slave gateway device. For example, the master gateway device determines four groups of slave gateway devices through Table 1. The first group of slave gateway devices includes slave gateway device 330 and slave gateway device 335. The second group of slave gateway devices includes slave gateway device 331 and slave gateway device 336. The third group of slave gateway devices includes slave gateway device 332 and slave gateway device 337. The fourth group of slave gateway devices includes slave gateway device 333 and slave gateway device 338. The fifth group of slave gateway devices includes slave gateway device 334 and slave gateway device 339. The master gateway device can be determined in combination with Table 2: the optical splitters connected to slave gateway device 330, slave gateway device 331, slave gateway device 332, slave gateway device 333 and slave gateway device 334 are first-level optical splitters. The optical splitters connected to slave gateway device 335, slave gateway device 336, slave gateway device 337, slave gateway device 338 and slave gateway device 339 are second-level optical splitters. The master gateway device is connected to the first-level optical splitter, and the first-level optical splitter is connected to the second-level optical splitter. Thus, the master gateway device can determine the connection relationship between the master gateway device, at least one slave gateway device and at least one optical splitter.

[0182] For example, the master gateway device can be determined through Table 4: the master gateway device is connected to optical splitter 1, the optical splitter 1 is connected to optical splitter 2, and the optical splitter 2 is connected to optical splitter 3. Optical splitter 1 is connected to slave gateway device 1 and slave gateway device 2. Optical splitter 2 is connected to slave gateway device 3 and slave gateway device 4. Optical splitter 3 is connected to slave gateway device 5 and slave gateway device 6.

[0183] In an embodiment of the present application, the master gateway device obtains connection information and hierarchical information. The connection information includes the connection relationship between the at least one slave gateway device and the optical splitter port of the at least one optical splitter. The hierarchical information is used to indicate the cascade level corresponding to each optical splitter in the at least one optical splitter. Then, the master gateway device generates topology information based on the connection information and hierarchical information. The topology information includes the connection relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, and the connection relationship between at least one slave gateway device and the optical splitter port of at least one optical splitter. It can be seen that the master gateway device can obtain connection information and hierarchical information, and determine the topology information based on the connection information and hierarchical information. Thereby, the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter is visualized, which facilitates the operation and maintenance of the optical communication system.

[0184] Figure 7 This is a schematic diagram of the second embodiment of the information generation method of the present application embodiment. Figure 7 , methods include:

[0185] 701. A first slave gateway device sends a connection relationship between the first slave gateway device and an optical splitter port to a master gateway device. Correspondingly, the master gateway device receives the connection relationship between the first slave gateway device and the optical splitter port from the first slave gateway device.

[0186] Optionally, the connection relationship between the first slave gateway device and the optical splitter port includes a corresponding relationship between the first slave gateway device and the optical splitter port number. For example, as shown in Table 1, the first slave gateway device is slave gateway device 330, and slave gateway device 330 sends the corresponding relationship between the slave gateway device 330 and optical splitter port 1 to the master gateway device.

[0187] Optionally, the connection relationship between the first slave gateway device and the optical splitter port can be carried in a communication optical signal, a wireless communication signal, or an Ethernet message, which is not specifically limited in this application.

[0188] Regarding the implementation method in which the connection relationship between the first slave gateway device and the optical splitter port is carried by the communication optical signal or Ethernet message, the structures of the master gateway device and the first slave gateway device do not need to be improved.

[0189] In the implementation mode of the wireless communication signal, the connection relationship between the first slave gateway device and the optical splitter port is carried, and the master gateway device should be integrated with a corresponding receiving antenna, and the master gateway device receives the wireless communication signal through the receiving antenna. The first slave gateway device should be integrated with a corresponding transmitting antenna, and the first slave gateway device sends the wireless communication signal through the transmitting antenna.

[0190] Optionally, the connection relationship between the first slave gateway device and the optical splitter port is carried in an OMCI message or an OEM message.

[0191] For example, when the master gateway device and the first slave gateway device use the GPON standard, the master gateway device and the first slave gateway device can transmit the connection relationship between the first slave gateway device and the optical splitter port through an OMCI message. A possible format of the OMCI message is described below. Please refer to Table 5:

[0192] Table 5

[0193]

[0194]

[0195] For example, when the EPON standard is used between the master gateway device and the first slave gateway device, the master gateway device and the first slave gateway device can transmit the connection relationship between the first slave gateway device and the optical splitter port through an OEM message. A possible format of the OEM message is described below. Please refer to Table 6:

[0196] Table 6

[0197]

[0198]

[0199] Optional, Figure 7 The illustrated embodiment further includes step 701a. Step 701a may be performed before step 701.

[0200] 701a, the master gateway device sends a first request to the first slave gateway device. Correspondingly, the first slave gateway device receives the first request from the master gateway device.

[0201] The first request is used to request a connection relationship between the first slave gateway device and the optical splitter port.

[0202] In this implementation, the master gateway device may actively request the first slave gateway device for the connection relationship between the first slave gateway device and the optical splitter port.

[0203] Optionally, the first request may be carried in a communication optical signal, a wireless communication signal, or an Ethernet message, which is not specifically limited in this application.

[0204] 702. The first slave gateway device sends at least one of the received optical power of the first slave gateway device, the RTT, and the distance between the first slave gateway device and the master gateway device to the master gateway device.

[0205] Among them, at least one of the received optical power, RTT and the distance between the first slave gateway device and the master gateway device of the first slave gateway device can be carried by an optical signal, a wireless signal, or an Ethernet message, which is not limited in this application. For different carrying modes, please refer to the aforementioned related introduction for the structural improvement requirements of the master gateway device and the first slave gateway device.

[0206] Optionally, at least one of the received optical power of the first slave gateway device, the RTT, and the distance between the first slave gateway device and the master gateway device may be carried in an OMCI message or an OEM message.

[0207] Optional, Figure 7 The illustrated embodiment further includes step 702a. Step 702a may be performed before step 702.

[0208] 702a, the master gateway device sends a second request to the first slave gateway device. Correspondingly, the first slave gateway device receives the second request from the master gateway device.

[0209] The second request is used to request at least one of the received optical power, RTT, and the distance between the first slave gateway device and the master gateway device of the first slave gateway device.

[0210] Optionally, the second request may be carried in a communication optical signal, a wireless communication signal, or an Ethernet message, which is not specifically limited in this application.

[0211] It should be noted that there is no fixed execution order between step 702a and step 701a. Step 702a may be executed first, and then step 701a; or, step 701a may be executed first, and then step 702a; or, step 702a and step 701a may be executed simultaneously according to the circumstances, and this application does not make any specific limitation.

[0212] Optionally, in the case where step 702a and step 701a are performed simultaneously, the first request and the second request may be the same request.

[0213] Depend on Figure 7It can be seen from the illustrated embodiment that the master gateway device can obtain from the first slave gateway device the connection relationship between the first slave gateway device and the optical splitter port, as well as at least one of the received optical power, RTT, and distance between the first slave gateway device and the master gateway device. For other slave gateway devices, the master gateway device adopts a similar process to obtain from other slave gateway devices the connection relationship between the other slave gateway devices and the optical splitter port, as well as at least one of the received optical power, RTT, and distance between the other slave gateway devices and the master gateway device. Thereby, the master gateway device acquires topology information. The topology information includes the connection relationship between the master gateway device, at least one slave gateway device, and at least one optical splitter, and the connection relationship between the at least one slave gateway device and the optical splitter port of the at least one optical splitter. Thereby, the topological relationship between the master gateway device, at least one slave gateway device, and at least one optical splitter is visualized, which facilitates the operation and maintenance of the optical communication system.

[0214] Figure 8 This is a schematic diagram of the third embodiment of the information generation method of the present application. Figure 8 , methods include:

[0215] 801. The first-level optical splitter sends connection information and classification information to the main gateway device. Correspondingly, the main gateway device receives the connection information and classification information sent by the first-level optical splitter.

[0216] For connection information and classification information, please refer to the above introduction, which will not be repeated here.

[0217] Optionally, the connection information and the classification information may be carried in a communication electrical signal, a communication optical signal, or a wireless communication signal, which is not specifically limited in this application.

[0218] Optionally, in the case where the connection information and the classification information are carried in the communication electrical signal, the main gateway device and each of the at least one optical splitter may be integrated with a corresponding electrical signal communication unit.

[0219] A possible structure of the main gateway device and the optical splitter is introduced below.

[0220] Fig. 9 This is a second structural diagram of the main gateway device in the embodiment of the present application. Fig. 9 , the main gateway device 900 and the aforementioned Figure 4 Compared with the main gateway device shown in FIG. 1 , the main gateway device 900 further includes an electrical signal communication unit 911. The electrical signal communication unit 911 is connected to the CPU 901, and the CPU 901 can control the electrical signal communication unit 911 to send or receive communication electrical signals. The electrical signal communication unit 911 is used to transmit communication electrical signals with the optical splitter.

[0221] Fig.10 This is another structural schematic diagram of the active optical splitter according to the embodiment of the present application. Fig.10 , Fig.10 The structure of the active optical splitter shown is similar to the above Figure 5 The structure of the active optical splitter shown is similar, except that the active optical splitter further includes an electrical signal communication unit 1004, a microcontroller unit (MCU) 1005 and an electrical signal communication unit 1006. The electrical signal communication unit 1004 is used to send a communication electrical signal to an upper level device, and the electrical signal communication unit 1006 is used to send a communication electrical signal to a lower level device. The MCU 1005 is used to control the electrical signal communication unit 1004 to send a communication electrical signal, and to control the electrical signal communication unit 1004 to receive a communication electrical signal.

[0222] For example, Fig.10 The structure shown is a schematic diagram of the structure of the first-level optical splitter. The main gateway device 900 receives the communication electrical signal sent by the electrical signal communication unit 1004 of the first-level optical splitter through the electrical signal communication unit 911. The communication electrical signal carries connection information and classification information.

[0223] Optionally, in the case where the connection information and the classification information are carried in the wireless communication signal, a receiving antenna is integrated in the main gateway device. A transmitting antenna is integrated in the first-level optical splitter. The first-level optical splitter sends a wireless communication signal to the main gateway device through the transmitting antenna. The wireless communication signal carries the connection information and the classification information. The main gateway device receives the wireless communication signal through the receiving antenna.

[0224] Optionally, in the case where the connection information and the classification information are carried in the communication optical signal, the main gateway device and the first-level optical splitter may be connected via an optical fiber. The communication optical signal is transmitted between the main gateway device and the first-level optical splitter via the optical fiber.

[0225] Optional, Figure 8 The illustrated embodiment further includes step 801a. Step 801a may be performed before step 801.

[0226] 801a, the master gateway device sends a third request to the first-level optical splitter. Correspondingly, the first-level optical splitter receives the third request from the master gateway device.

[0227] The third request is used to request the first-level optical splitter to send the connection information and classification information to the main gateway device.

[0228] Optionally, the third request may be carried in a communication electrical signal, a communication optical signal, or a wireless communication signal, which is not specifically limited in this application.

[0229] For example, combining Fig. 9 and Fig.10 In the structure shown, the master gateway device 900 sends a third request to the first-level optical splitter through the electrical signal communication unit 911. The first-level optical splitter receives the third request through the electrical signal communication unit 1004.

[0230] Optional, Figure 8 The illustrated embodiment further includes step 801b. Step 801b may be performed before step 801.

[0231] 801b, the second-level optical splitter sends the first information to the first-level optical splitter. Correspondingly, the first-level optical splitter receives the first information from the second-level optical splitter.

[0232] The first information includes the connection relationship between the optical splitter port of each optical splitter in the at least one optical splitter except the first-level optical splitter and the slave gateway device, the upper-level device information and the lower-level device information of each optical splitter.

[0233] For example, Figure 2 As shown, the active optical splitter 221 is a second-level optical splitter. The first information includes: the connection relationship between the optical splitter end of the active optical splitter 221 and the slave gateway device, the connection relationship between the optical splitter port of the active optical splitter 222 and the slave gateway device; the connection relationship between the optical splitter end of the active optical splitter 223 and the slave gateway device; the upper-level device information of the active optical splitter 221, that is, the active optical splitter 220; the lower-level device information of the active optical splitter 221, that is, the active optical splitter 222; the upper-level device information of the active optical splitter 222, that is, the active optical splitter 221; the lower-level device information of the active optical splitter 222, that is, the active optical splitter 223; the upper-level device information of the active optical splitter 223, that is, the active optical splitter 222. Since the active optical splitter 223 is the last-stage optical splitter, the first information does not include the next-stage device information of the active optical splitter 223 .

[0234] Optionally, the first information is carried in a communication electrical signal, a communication optical signal, or a wireless communication signal, which is not specifically limited in this application.

[0235] For example, the structures corresponding to the first-stage optical splitter and the second-stage optical splitter are respectively Fig.10 The structure shown is similar, the second optical splitter sends the first information to the first optical splitter through the electrical signal communication unit of the second optical splitter. Correspondingly, the first optical splitter receives the first information from the second optical splitter through the electrical signal communication unit of the first optical splitter.

[0236] Optional, Figure 8 The illustrated embodiment further includes step 801c. Step 801c may be performed before step 801b.

[0237] 801c: The first-level optical splitter sends a fourth request to the second-level optical splitter. Correspondingly, the second-level optical splitter receives the fourth request from the first-level optical splitter.

[0238] The fourth request is used to request the first information from the second-level optical splitter.

[0239] Optionally, the fourth request may be carried in a communication electrical signal, a communication optical signal, or a wireless communication signal, which is not specifically limited in this application.

[0240] For example, the structures of the first-stage optical splitter and the second-stage optical splitter are respectively Fig.10 The structure shown is similar. The first-level optical splitter sends a fourth request to the second-level optical splitter through the electrical signal communication unit of the first-level optical splitter. The second-level optical splitter receives the fourth request through the electrical signal communication unit of the second-level optical splitter.

[0241] Optionally, the at least one optical splitter includes M-level optical splitters, where M is an integer greater than or equal to 2. An interaction process between the N-1-th level optical splitter and the N-th level optical splitter is described below, where N is an integer greater than or equal to 2 and less than or equal to M. Optionally, Figure 8 The illustrated embodiment further includes step 801d. Step 801d may be performed before step 801b.

[0242] 801d: The Nth optical splitter sends the second information to the N-1th optical splitter. Correspondingly, the N-1th optical splitter receives the second information from the Nth optical splitter.

[0243] The second information includes the connection relationship between the optical splitter ports from the Nth to the Mth optical splitters in the Mth optical splitters and the slave gateway device, and the upper-level device information and the lower-level device information of each optical splitter from the Nth to the Mth optical splitters.

[0244] For example, the Nth-order optical splitter is the third-order optical splitter. Figure 2As shown, the Nth-level optical splitter is a third-level optical splitter, namely, active optical splitter 222. The second information includes: the connection relationship between the optical splitter port of active optical splitter 222 and the slave gateway device; the upper-level device information of active optical splitter 222, namely, active optical splitter 221; the lower-level device information of active optical splitter 222, namely, active optical splitter 223; the connection relationship between the optical splitter port of active optical splitter 223 and the slave gateway device; the upper-level device information of active optical splitter 223, namely, active optical splitter 222. Since active optical splitter 223 is the last-level optical splitter, the second information does not include the lower-level device information of the active optical splitter 223.

[0245] Optionally, the second information is carried in a communication electrical signal, a communication optical signal, or a wireless communication signal, which is not specifically limited in this application.

[0246] For example, the N-1th level optical splitter is a second level optical splitter, and the Nth level optical splitter is a third level optical splitter. The structures of the second level optical splitter and the third level optical splitter are respectively Fig.10 The structure shown is similar, the third optical splitter sends the second information to the second optical splitter through the electrical signal communication unit of the third optical splitter, and the second optical splitter receives the second information from the third optical splitter through the electrical signal communication unit of the second optical splitter.

[0247] Optional, Figure 8 The illustrated embodiment also includes step 801e, which may be performed before step 801d.

[0248] 801e, the N-1th optical splitter sends a fifth request to the Nth optical splitter. Correspondingly, the Nth optical splitter receives the fifth request from the N-1th optical splitter.

[0249] The fifth request is used to request the second information.

[0250] Optionally, the fifth request may be carried in a communication electrical signal, a communication optical signal, or a wireless communication signal, which is not specifically limited in this application.

[0251] For example, the structures of the N-1th level optical splitter and the Nth level optical splitter are respectively Fig.10 The structure shown is similar. The N-1th optical splitter sends a fourth request to the Nth optical splitter through the electrical signal communication unit of the N-1th optical splitter. The Nth optical splitter receives the fourth request through the electrical signal communication unit of the Nth optical splitter.

[0252] Optional, Figure 8 The illustrated embodiment further includes step 801f. Step 801f is performed before step 801d.

[0253] 801f, the N+1th optical splitter sends the third information to the Nth optical splitter. Correspondingly, the Nth optical splitter receives the third information from the N+1th optical splitter.

[0254] Among them, the third information includes the connection relationship between the optical splitter ports from the N+1th level optical splitter to the Mth level optical splitter in the M-level optical splitters and the slave gateway device, the previous level device information and the next level device information of each level optical splitter from the N+1th level optical splitter to the Mth level optical splitter.

[0255] Step 801f is similar to the aforementioned step 801d. Please refer to the relevant introduction of the aforementioned step 801d for details.

[0256] Optional, Figure 8 The illustrated embodiment further includes step 801g. Step 801g may be performed before step 801f.

[0257] 801g: The Nth optical splitter sends a fifth request to the N+1th optical splitter. Correspondingly, the N+1th optical splitter receives the fifth request from the Nth optical splitter.

[0258] The fifth request is used to request the third information. Step 801g is similar to the aforementioned step 801e, and the details can refer to the relevant introduction of the aforementioned step 801e.

[0259] It should be noted that the above steps 801d and 801f respectively introduce the interaction process between two adjacent optical splitters. The interaction process between any two adjacent optical splitters in the at least one optical splitter is similar and will not be described here one by one. Please refer to the relevant introduction of the above steps 801d or 801f for details.

[0260] 802. The main gateway device generates topology information according to the connection information and the classification information.

[0261] Step 802 is similar to the above Figure 6 Step 602 in the embodiment shown is similar, and specific details can be found in the aforementioned Figure 6 Related introduction of step 602 in the illustrated embodiment.

[0262] Depend on Figure 8As can be seen from the illustrated embodiment, the master gateway device obtains connection information and hierarchical information from at least one optical splitter. Then, the master gateway device generates topology information based on the connection information and hierarchical information. The topology information includes the connection relationship between the master gateway device, at least one slave gateway device and at least one optical splitter, and the connection relationship between the at least one slave gateway device and the optical splitter port of the at least one optical splitter. Thus, the topological relationship between the master gateway device, at least one slave gateway device and at least one optical splitter is visualized, which facilitates the operation and maintenance of the optical communication system.

[0263] It should be noted that the above Figure 8 The embodiment shown is a possible implementation. In practical applications, the master gateway device can receive the connection relationship between the optical splitter port of each optical splitter in at least one optical splitter and the slave gateway device, the upper-level device information of the optical splitter, and the lower-level device information of the optical splitter. Optionally, the master gateway device and each optical splitter can communicate and transmit via communication optical signals or wireless communication signals.

[0264] The above describes the information generation method in the embodiment of the present application. The following describes the main gateway device in the embodiment of the present application. Fig.11 The master gateway device 1100 includes an acquisition module 1101 and a generation module 1102. Optionally, the master gateway device 1100 also includes a sending module 1103.

[0265] An acquisition module 1101 is used to acquire connection information and classification information, wherein the connection information includes a connection relationship between at least one slave gateway device and an optical splitter port of at least one optical splitter, and the classification information is used to indicate a cascade level corresponding to each optical splitter in the at least one optical splitter;

[0266] The generation module 1102 is used to generate topology information based on the connection information and the classification information, wherein the topology information includes the connection relationship between the master gateway device 1100, at least one slave gateway device and at least one optical splitter, and the connection relationship between at least one slave gateway device and the optical splitter port of at least one optical splitter.

[0267] In a possible implementation manner, the connection information includes a correspondence between each slave gateway device in at least one slave gateway device and a port number of the optical splitter.

[0268] In another possible implementation, the grading information includes the received optical power, RTT, or the distance between the slave gateway device and the master gateway device 1100 of each slave gateway device in at least one slave gateway device; wherein the received optical power of the slave gateway device is the received optical power of the optical signal sent by the master gateway device 1100 received by the gateway device; the RTT of the slave gateway device refers to the time required for the optical signal to travel from the master gateway device 1100 to the slave gateway device and then from the slave gateway device to the master gateway device 1100, and the received optical power or RTT of the slave gateway device is used to indicate the cascade level corresponding to the optical splitter connected to the slave gateway device.

[0269] In another possible implementation, at least one slave gateway device includes a first slave gateway device; the acquisition module 1101 is specifically used to: receive the connection relationship between the first slave gateway device and the optical splitter port from the first slave gateway device, and receive the received optical power, RTT or the distance between the first slave gateway device and the master gateway device 1100 from the first slave gateway device.

[0270] In another possible implementation, the connection relationship between the first slave gateway device and the optical splitter port is carried in an OMCI message, an OAM message, or an Ethernet message; the received optical power, RTT, or the distance between the first slave gateway device and the master gateway device 1100 of the first slave gateway device is carried in an OMCI message, an OAM message, or an Ethernet message.

[0271] In another possible implementation, the sending module 1103 is used to send a first request to the first slave gateway device, where the first request is used to request a connection relationship between the first slave gateway device and the optical splitter port.

[0272] In another possible implementation, the sending module 1103 is used to send a second request to the first slave gateway device, where the second request is used to request the received optical power, RTT or distance between the first slave gateway device and the master gateway device 1100 of the first slave gateway device.

[0273] In another possible implementation manner, the hierarchical information includes upper-level device information and lower-level device information of each optical splitter in at least one optical splitter.

[0274] In another possible implementation manner, the acquisition module 1101 is specifically configured to receive connection information and classification information from a first-level optical splitter in at least one optical splitter.

[0275] In another possible implementation, the connection information and the classification information are carried in a communication electrical signal.

[0276] In another possible implementation, the sending module 1103 is used to send a third request to the first-level optical splitter, where the third request is used to request connection information and classification information.

[0277] In another possible implementation, the acquisition module 1101 is specifically used to receive the connection relationship between the optical splitter port of each optical splitter in at least one optical splitter and the slave gateway device, the upper-level device information of the optical splitter, and the lower-level device information of the optical splitter.

[0278] In another possible implementation, the connection information and the classification information are carried in a wireless communication signal or a communication optical signal.

[0279] The following describes the first slave gateway device in the embodiment of the present application. Fig.12 The first slave gateway device 1200 includes a sending module 1201. Optionally, the first slave gateway device 1200 also includes a receiving module 1202.

[0280] The sending module 1201 is used to send the connection relationship between the first slave gateway device 1200 and the optical splitter port, as well as the received optical power, round-trip time RTT or the distance from the first slave gateway device 1200 to the master gateway device to the master gateway device; wherein, the received optical power of the first slave gateway device 1200 is the received optical power of the optical signal sent by the master gateway device received by the first slave gateway device 1200; the RTT of the first slave gateway device 1200 refers to the time required for the optical signal to pass from the master gateway device to the first slave gateway device 1200 and then from the first slave gateway device 1200 to the master gateway device, and the received optical power, RTT or the distance from the first slave gateway device 1200 to the master gateway device are used to indicate the cascade level corresponding to the optical splitter connected to the first slave gateway device 1200.

[0281] In a possible implementation, the receiving module 1202 is used to receive a first request from a master gateway device, where the first request is used to request a connection relationship between the first slave gateway device 1200 and the optical splitter port.

[0282] In another possible implementation, the receiving module 1202 is used to receive a second request from the master gateway device, where the second request is used to request the received optical power, RTT, or distance from the first slave gateway device 1200 to the master gateway device.

[0283] In another possible implementation, the connection relationship between the first slave gateway device 1200 and the optical splitter port includes a corresponding relationship between the first slave gateway device 1200 and the optical splitter port number.

[0284] In another possible implementation, the connection relationship between the first slave gateway device 1200 and the optical splitter port is carried in an OMCI message, an OAM message, or an Ethernet message, and the received optical power, RTT, or the distance from the first slave gateway device 1200 to the master gateway device are carried in an OMCI message, an OAM message, or an Ethernet message.

[0285] The optical splitter in the embodiment of the present application is described below. Fig.13 , the optical splitter 1300 includes an acquisition module 1301 and a sending module 1302;

[0286] In a possible implementation, the optical splitter performs the above Figure 8 The operations performed by the first-stage optical splitter in the embodiment shown are as follows:

[0287] The acquisition module 1301 is used to acquire connection information and classification information, wherein the connection information includes a connection relationship between at least one slave gateway device and an optical splitter port of at least one optical splitter, and the classification information is used to indicate the cascade level corresponding to each optical splitter in at least one optical splitter; the sending module 1302 is used to send the connection information and classification information to the master gateway device.

[0288] Optionally, the hierarchical information includes upper-level device information and lower-level device information of each optical splitter in at least one optical splitter.

[0289] Optionally, at least one optical splitter also includes a second-level optical splitter; the acquisition module 1301 is specifically used to: receive first information from the second-level optical splitter, wherein the first information includes the connection relationship between the optical splitter port of each optical splitter in at least one optical splitter except optical splitter 1300 and the slave gateway device, the upper-level device information of each optical splitter, and the lower-level device information.

[0290] Optionally, the connection information and the classification information are carried in the communication electrical signal.

[0291] In another possible implementation, the optical splitter performs the above Figure 8 The operations performed by the Nth-order optical splitter in the embodiment shown are as follows:

[0292] The acquisition module 1301 is used to acquire the second information, and the second information includes the connection relationship between the optical splitter 1300 in the M-level optical splitters to the optical splitter port in the M-th level optical splitter and the slave gateway device, the previous level device information and the next level device information of each level of optical splitter in the optical splitter 1300 to the M-th level optical splitter, where N is an integer greater than or equal to 2 and less than or equal to M; the sending module 1302 is used to send the second information to the N-1-th level optical splitter.

[0293] Optionally, the second information is carried in the communication electrical signal.

[0294] Optionally, the acquisition module 1301 is specifically used to: receive third information from the N+1th level optical splitter, wherein the third information includes the connection relationship between the optical splitter ports from the N+1th level optical splitter to the Mth level optical splitter in the Mth level optical splitter and the slave gateway device, the previous level device information and the next level device information of each level optical splitter from the N+1th level optical splitter to the Mth level optical splitter.

[0295] Optionally, the third information is carried in the communication electrical signal.

[0296] The present application also provides another optical communication device. Fig.14 The optical communication device 1400 may be a master gateway device, a first slave gateway device, a first-level optical splitter or an N-th-level optical splitter in the above method embodiment.

[0297] Specifically, the optical communication device 1400 shown in this embodiment includes: a processor 1401 and a transceiver 1402, and the processor 1401 and the transceiver 1402 are connected to each other through a line. The processor 1401 is used to perform the method operation of any side in the above method embodiments.

[0298] Optionally, the optical communication device 1400 further includes a memory 1404 .

[0299] Optionally, the processor 1401 , the transceiver 1402 , and the memory 1404 are respectively connected to the bus 1403 .

[0300] Specifically, the memory 1404 may include computer storage media in the form of volatile and / or nonvolatile memory, such as read-only memory and / or random access memory. The memory 1404 may store an operating system, application programs, other program modules, executable code, and program data.

[0301] The transceiver 1402 may be used to input commands and information to the optical communication device 1400, and the transceiver 1402 may be connected to the processor 1401 via a bus 1403. The transceiver 1402 may also be used for the optical communication device 1400 to output or input information.

[0302] Optionally, when the processor 1401 executes the executable code or application stored in the memory 1404, the optical communication device 1400 can perform the method operation on any side of the above method embodiments. The specific execution process refers to the above method embodiments and will not be repeated here.

[0303] For example, the above Fig.11The acquisition module 1101 and the sending module 1103 in the main gateway device 1100 shown in the figure can be used as the above Fig.14 The transceiver 1402 is shown. Fig.11 The generation module 1102 in the main gateway device 1100 shown in the figure can be used as the above Fig.14 Processor 1401 is shown.

[0304] For example, the above Fig.12 The sending module 1201 and the receiving module 1202 in the first slave gateway device 1200 shown in the figure can be used as the above Fig.14 Transceiver 1402 is shown.

[0305] For example, the above Fig.13 The sending module 1302 in the optical splitter 1300 shown in the figure can be used as the above Fig.14 The transceiver 1402 is shown. Fig.13 The acquisition module 1301 in the optical splitter 1300 shown in the figure can be used as the above Fig.14 Processor 1401 is shown.

[0306] The embodiment of the present application also provides an optical communication system, which includes a master gateway device and a first slave gateway device. The master gateway device is used to execute the above Figure 6 and Figure 7 In the embodiment shown, the master gateway device performs all or part of the steps, and the first slave gateway device is used to perform the above Figure 7 In the embodiment shown, all or part of the steps performed by the first slave gateway device,

[0307] The embodiment of the present application also provides an optical communication system, which includes a main gateway device, a first-level optical splitter and an N-th-level optical splitter. The main gateway device is used to perform the above Figure 6 and 8 In the embodiment shown, the master gateway device performs all or part of the steps, and the first-level optical splitter is used to perform the above Figure 8 In the embodiment shown, the first-stage optical splitter performs all or part of the steps, and the Nth-stage optical splitter is used to perform the above steps. Figure 8 In the illustrated embodiment, all or part of the steps are performed by the Nth-order optical splitter.

[0308] The present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the above Figure 6 , Figure 7 and Figure 8 The method of the embodiment shown.

[0309] The embodiment of the present application also provides a computer-readable storage medium, including computer instructions, which, when executed on a computer, causes the computer to execute the above Figure 6 , Figure 7 and Figure 8 The method of the embodiment shown.

[0310] The present application also provides a chip, including a processor, for calling a program stored in a memory so that the processor executes the above Figure 6 , Figure 7 and Figure 8 The method of the embodiment shown.

[0311] Optionally, the chip also includes a memory, and the memory and the processor are interconnected via lines.

[0312] The processor mentioned in any of the above places can be a general-purpose central processing unit, a microprocessor, an application-specific integrated circuit (ASIC), or one or more processors for controlling the above Figure 6 , Figure 7 and Figure 8 The integrated circuit for executing the program of the method of the embodiment shown. The memory mentioned in any of the above places can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.

[0313] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0314] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0315] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for generating information, characterized in that: The method is applied to an optical communication system, the optical communication system comprising a master gateway device, at least one slave gateway device and at least one optical splitter, the master gateway device and the at least one optical splitter being connected in a cascade manner; the method comprising: The master gateway device acquires connection information and hierarchical information, wherein the connection information includes a connection relationship between the at least one slave gateway device and an optical splitter port of the at least one optical splitter, and the hierarchical information is used to indicate a cascade level corresponding to each optical splitter in the at least one optical splitter; The master gateway device generates topology information based on the connection information and the hierarchical information, and the topology information includes the connection relationship between the master gateway device, at least one slave gateway device and the at least one optical splitter, and the connection relationship between the at least one slave gateway device and the optical splitter port of the at least one optical splitter.

2. The method according to claim 1, characterized in that: The connection information includes a correspondence between each slave gateway device in the at least one slave gateway device and a port number of the optical splitter.

3. The method according to claim 1 or 2, characterized in that: The classification information includes a received optical power, a round trip time (RTT) of each slave gateway device in the at least one slave gateway device, or a distance between the slave gateway device and the master gateway device; Among them, the received optical power of the slave gateway device is the received optical power of the optical signal sent by the master gateway device received by the slave gateway device; the RTT of the slave gateway device refers to the time required for the optical signal to travel from the master gateway device to the slave gateway device and then from the slave gateway device to the master gateway device. The received optical power or RTT of the slave gateway device is used to indicate the cascade level corresponding to the optical splitter connected to the slave gateway device.

4. The method according to claim 3, characterized in that The at least one slave gateway device comprises a first slave gateway device; The master gateway device obtains connection information and classification information, including: The master gateway device receives the connection relationship between the first slave gateway device and the optical splitter port from the first slave gateway device, and receives the received optical power, RTT or the distance between the first slave gateway device and the master gateway device from the first slave gateway device.

5. The method according to claim 4, characterized in that The connection relationship between the first slave gateway device and the optical splitter port is carried in an optical network unit management and control interface OMCI message, an operation and maintenance management OAM message, or an Ethernet message; The received optical power, RTT of the first slave gateway device or the distance between the first slave gateway device and the master gateway device is carried in an OMCI message, an OAM message or an Ethernet message.

6. The method according to claim 4 or 5, characterized in that: Before the master gateway device receives the connection relationship between the first slave gateway device and the optical splitter port from the first slave gateway device, the method further includes: The master gateway device sends a first request to the first slave gateway device, where the first request is used to request a connection relationship between the first slave gateway device and an optical splitter port.

7. The method according to any one of claims 4 to 6, characterized in that Before the master gateway device receives the received optical power or RTT from the first slave gateway device, the method further includes: The master gateway device sends a second request to the first slave gateway device, where the second request is used to request the received optical power, RTT, or the distance between the first slave gateway device and the master gateway device of the first slave gateway device.

8. The method according to claim 1 or 2, characterized in that: The hierarchical information includes upper-level device information and lower-level device information of each optical splitter in the at least one optical splitter.

9. The method according to claim 8, characterized in that The master gateway device obtains connection information and classification information, including: The master gateway device receives the connection information and the classification information from a first-stage optical splitter among the at least one optical splitter.

10. The method according to claim 9, characterized in that The connection information and the classification information are carried in a communication electrical signal.

11. The method according to claim 9 or 10, characterized in that: Before the master gateway device receives the connection information and the classification information from the first-level optical splitter in the at least one optical splitter, the method further includes: The master gateway device sends a third request to the first-level optical splitter, where the third request is used to request the connection information and the classification information.

12. A method for generating information, characterized in that: The method is applied to an optical communication system, the optical communication system comprising a master gateway device, at least one slave gateway device and at least one optical splitter, the master gateway device is connected to the at least one optical splitter in a cascade manner, and the at least one slave gateway device comprises a first slave gateway device; the method comprises: The first slave gateway device determines the connection relationship between the first slave gateway device and the optical splitter port, as well as the received optical power, round-trip time RTT, or the distance from the first slave gateway device to the master gateway device of the first slave gateway device; wherein the received optical power of the first slave gateway device is the received optical power of the optical signal sent by the master gateway device received by the first slave gateway device; the RTT of the first slave gateway device refers to the time required for the optical signal to pass from the master gateway device to the first slave gateway device and then from the first slave gateway device to the master gateway device, and the received optical power, RTT, or the distance from the first slave gateway device to the master gateway device of the first slave gateway device are used to indicate the cascade level corresponding to the optical splitter connected to the first slave gateway device; The first slave gateway device sends to the master gateway device the connection relationship between the first slave gateway device and the optical splitter port, as well as the received optical power, round-trip time RTT or the distance from the first slave gateway device to the master gateway device of the first slave gateway device.

13. The method according to claim 12, characterized in that Before the first slave gateway device sends the connection relationship between the first slave gateway device and the optical splitter port to the master gateway device, the method further includes: The first slave gateway device receives a first request from the master gateway device, where the first request is used to request a connection relationship between the first slave gateway device and an optical splitter port.

14. The method according to claim 12 or 13, characterized in that Before the first slave gateway device sends the received optical power, the round-trip time RTT, or the distance from the first slave gateway device to the master gateway device to the master gateway device, the method further includes: The first slave gateway device receives a second request from the master gateway device, where the second request is used to request the received optical power, RTT, or the distance from the first slave gateway device to the master gateway device of the first slave gateway device.

15. The method according to any one of claims 12 to 14, characterized in that The connection relationship between the first slave gateway device and the optical splitter port includes a corresponding relationship between the port numbers of the first slave gateway device and the optical splitter port.

16. The method according to any one of claims 13 to 15, characterized in that The connection relationship between the first slave gateway device and the optical splitter port is carried in the optical network unit management control interface OMCI message, the operation and maintenance management OAM message, or the Ethernet message; the received optical power, RTT or the distance from the first slave gateway device to the master gateway device of the first slave gateway device is carried in the OMCI message, the OAM message, or the Ethernet message.

17. A method for generating information, characterized in that: The method is applied to an optical communication system, the optical communication system comprising a master gateway device, at least one slave gateway device and at least one optical splitter, the master gateway device and the at least one optical splitter being connected in a cascade manner; The at least one optical splitter comprises a first-stage optical splitter; the method comprising: The first-level optical splitter acquires connection information and classification information, wherein the connection information includes a connection relationship between the at least one slave gateway device and an optical splitter port of the at least one optical splitter, and the classification information is used to indicate a cascade level corresponding to each optical splitter in the at least one optical splitter; The first-level optical splitter sends the connection information and the classification information to the main gateway device.

18. The method according to claim 17, characterized in that The hierarchical information includes upper-level device information and lower-level device information of each optical splitter in the at least one optical splitter.

19. The method according to claim 17 or 18, characterized in that The at least one optical splitter further comprises a second optical splitter; The first-level optical splitter obtains connection information and classification information, including: The first-level optical splitter receives first information from the second-level optical splitter, wherein the first information includes a connection relationship between an optical splitter port of each optical splitter in the at least one optical splitter except the first-level optical splitter and a slave gateway device, and upper-level device information and lower-level device information of each optical splitter.

20. The method according to any one of claims 17 to 19, characterized in that The connection information and the classification information are carried in a communication electrical signal.

21. The method according to any one of claims 17 to 20, characterized in that Before the first-level optical splitter sends the connection information and the classification information to the main gateway device, the method further includes: The first-level optical splitter receives a third request from the master gateway device, where the third request is used to request the connection information and the classification information.

22. An optical communication system, characterized in that: The optical communication system comprises a master gateway device and a first slave gateway device, the master gateway device is used to execute the method according to any one of claims 1 to 7, and the first slave gateway device is used to execute the method according to any one of claims 12 to 16; or, The optical communication system comprises a main gateway device and a first-level optical splitter, the main gateway device is used to execute any one of methods 1, 2, 8 to 11, and the first-level optical splitter is used to execute any one of the methods according to claims 17 to 21.

23. An optical communication device, characterized in that: The optical communication device includes a processor and a transceiver, wherein the processor and the transceiver are interconnected via a line, and the processor is used to execute the method as described in any one of claims 1 to 11, or to execute the method as described in any one of claims 12 to 16, or to execute the method as described in any one of claims 17 to 21.

24. The optical communication device according to claim 23, characterized in that: The optical communication device further includes a memory.

25. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a communication device, the communication device executes the method as described in any one of claims 1 to 11, or the communication device executes the method as described in any one of claims 12 to 16, or the communication device executes the method as described in any one of claims 17 to 21.