Method for determining network connection relationship and communication apparatus
Patent Information
- Application Number
- MYPI2025001932
- Authority / Receiving Office
- MY · MY
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-11-10
- Filing Date
- 2023-06-28
- Publication Date
- 2024-05-10
AI Technical Summary
In optical networks, how to effectively obtain the connection relationships of cascaded devices is an urgent problem that needs to be solved because existing methods cannot be applied to the topology structure in multi-level PON networks.
By obtaining the information of each optoelectronic optical equipment (OEO) in the optical network terminal equipment (OLT), including the online status and identification information of its subordinate equipment, the connection relationship of the cascade equipment in the optical network is determined. The method includes receiving and parsing information for physical layer management and maintenance, and determining device status by allocating time domain resource information, thereby simplifying the interaction process and reducing resource overhead.
It realizes the accurate connection relationship determination of cascaded devices in the optical network, simplifies the calculation process of OLT, reduces resource consumption, improves operating efficiency, and is suitable for multi-level PON network scenarios.
Smart Images

Figure PI2025001932_DRAWING_001 
Figure PI2025001932_DRAWING_002 
Figure PI2025001932_DRAWING_003
Abstract
Description
Network connection relationship determination method and communication device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on November 10, 2022, with application number 202211407813.3 and application name “Network Connection Relationship Determination Method and Communication Device”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communications, and in particular to a method for determining a network connection relationship and a communication device. Background Art
[0003] In an optical network, multiple devices can be cascaded to an optical line terminal (OLT). For example, an OLT can connect to an optical-electric-optical (OEO) device, and an OEO device can connect to an optical network terminal (ONT). In such a cascaded optical network, the OEO or ONT are considered subordinate devices to the OLT. Therefore, how to identify the device connection relationships in a cascaded optical network is a pressing issue.
[0004] Summary of the Invention
[0005] Embodiments of the present application provide a method for determining a network connection relationship and a communication device, which can be used to obtain a device connection relationship in a cascaded optical network.
[0006] To achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, a method for determining a network connection relationship is provided. The method includes: a first optoelectronic device obtaining first information corresponding to the first optoelectronic device. The first information corresponding to the first optoelectronic device indicates an online device among subordinate devices of the first optoelectronic device, wherein the subordinate devices of the first optoelectronic device include a second optoelectronic device and / or an optical network terminal. The first optoelectronic device transmits the first information corresponding to the first optoelectronic device to an optical line terminal in the optical network.
[0008] Based on the network connection relationship determination method provided in the first aspect, a first optoelectronic device can obtain first information corresponding to the first optoelectronic device and transmit the first information to an optical line terminal. The first information indicates online devices among the first optoelectronic device's downstream devices. In this manner, information about online devices among the first optoelectronic device's downstream devices can be transmitted to the optical line terminal to determine the connection relationship of cascaded devices in the optical network.
[0009] In one possible design, obtaining first information corresponding to the first optoelectronic device may include: the first optoelectronic device receiving at least one second information. The second information is information used for physical layer operation, management, and maintenance, and each second information item corresponds to a subordinate device of the first optoelectronic device. The first optoelectronic device obtains the first information based on the at least one second information item. In this way, the first optoelectronic device can determine the subordinate device corresponding to the first optoelectronic device using the information used for physical layer operation, management, and maintenance to obtain the first information. This allows the reuse of existing messages in the optical network, simplifying the interaction process.
[0010] Optionally, the first optoelectronic device obtaining the first information based on the second information may include: the first optoelectronic device parsing at least one second information to obtain identification information and status information of the device corresponding to each second information. The first optoelectronic device obtains the first information based on the identification information and status information of the device corresponding to each second information. The online devices among the subordinate devices of the first optoelectronic device indicated by the first information include: devices corresponding to at least one second information whose status information indicates that they are online. In this manner, the first optoelectronic device can parse the second information passing through the first optoelectronic device to obtain the identification information and status information of the device corresponding to the second information, thereby obtaining the first information.
[0011] In one possible design, obtaining first information corresponding to the first optoelectronic device may include: the first optoelectronic device receiving at least one second information and third information. The second information is used for physical layer operation, management, and maintenance, and each second information corresponds to a subordinate device of the first optoelectronic device. The third information is used to allocate time domain resources. The first optoelectronic device obtains the first information based on the second and third information. In this way, the first optoelectronic device can determine the subordinate device corresponding to the first optoelectronic device using the second and third information to obtain the first information. This allows the reuse of existing messages in the optical network and simplifies the interaction process.
[0012] Optionally, the first optoelectronic device obtains the first information based on the second information and the third information, which may include: the first optoelectronic device parsing each piece of second information to obtain identification information and status information of the device corresponding to each piece of second information. The first optoelectronic device parsing the third information to obtain offline devices among the subordinate devices of the first optoelectronic device. The first optoelectronic device determines the first information based on the identification information and status information of the device corresponding to each piece of second information, as well as offline devices among the subordinate devices of the first optoelectronic device. The online devices among the subordinate devices of the first optoelectronic device indicated by the first information include: devices corresponding to at least one piece of second information and having online status information, excluding offline devices among the subordinate devices of the first optoelectronic device. In this way, the first optoelectronic device can parse the second information and the third information passing through the first optoelectronic device to obtain the identification information and status information of the device corresponding to the second information, as well as devices that have gone offline or come online after receiving the second information, to obtain the first information.
[0013] In one possible design, obtaining first information corresponding to the first optoelectronic device may include: the first optoelectronic device receiving at least one fourth information. The fourth information is used to carry data packets exchanged between an optical line terminal and a downstream device of the first optoelectronic device, and the fourth information carries identification information of the device sending the fourth information. The first optoelectronic device receives third information from the optical line terminal. The third information is information used to allocate time domain resources. The first optoelectronic device obtains the first information based on the fourth and third information. In this way, the first optoelectronic device can determine the downstream device corresponding to the first optoelectronic device using the fourth and third information to obtain the first information, thereby reusing existing messages in the optical network and simplifying the interaction process.
[0014] Optionally, the first optoelectronic device obtains the first information based on the fourth information and the third information, which may include: the first optoelectronic device parsing the fourth information to obtain identification information of the subordinate devices of the first optoelectronic device corresponding to each piece of fourth information. The first optoelectronic device parsing each piece of third information to obtain offline devices among the subordinate devices of the first optoelectronic device. The first optoelectronic device determines the first information based on the identification information of the subordinate devices of the optical line terminal corresponding to each piece of fourth information, and the offline devices among the subordinate devices of the first optoelectronic device. The online devices among the subordinate devices of the first optoelectronic device indicated by the first information include: all devices among the subordinate devices of the first optoelectronic device corresponding to the fourth information, excluding the offline devices among the subordinate devices of the first optoelectronic device. In this way, the first optoelectronic device can obtain the identification information and status information of the device corresponding to the second information, as well as the devices that go offline or come online after receiving the second information, by parsing the fourth information and the third information, to obtain the first information.
[0015] In one possible design, the first optoelectronic device sending first information corresponding to the first optoelectronic device to an optical line terminal in the optical network may include: if the first optoelectronic device determines that an online device among its subordinate devices has changed, then the first optoelectronic device sending the first information corresponding to the first optoelectronic device to the optical line terminal in the optical network. In this way, the first optoelectronic device can proactively report the first information when an online device in the optical network has changed, thereby providing timely feedback of the first information and reducing interaction complexity.
[0016] In one possible design, the method provided in the first aspect may further include: the first optoelectronic device receiving a first acquisition request from the optical line terminal. The first acquisition request is used to instruct the first optoelectronic device to transmit first information. In this way, the optical line terminal can proactively acquire the first information. For example, the OLT can avoid transmitting the first information if no data is being transmitted in the optical network, depending on the data to be transmitted. This reduces the frequency of first information transmission and thus reduces resource overhead.
[0017] Optionally, before the first optoelectronic device receives the first acquisition request from the optical line terminal, the method provided in the first aspect further includes: the first optoelectronic device sending first alarm information to the optical line terminal. The first alarm information is used to instruct the optical line terminal to send the first acquisition request. In this manner, when a change occurs in a downstream device of the first optoelectronic device, the optical line terminal can be proactively notified to obtain the first information, thereby providing timely feedback of the first information.
[0018] In one possible design, the method provided in the first aspect may further include: the first optoelectronic device receiving a second acquisition request from an optical line terminal. The second acquisition request indicates: identification information of an online device among downstream devices of the first optoelectronic device is being transmitted. In this manner, the optical line terminal can proactively acquire the first information. For example, the OLT can avoid transmitting the first information if no data is being transmitted in the optical network, depending on the data to be transmitted. This reduces the frequency of first information transmission and thus reduces resource overhead. In this manner, the optical line terminal can proactively acquire the first information, for example, by reducing the frequency of first information reporting, thereby reducing resource overhead.
[0019] Optionally, before the first optoelectronic device receives the second acquisition request from the optical line terminal, the method provided in the first aspect may further include: the first optoelectronic device sending second alarm information to the optical line terminal. The second alarm information is used to instruct the optical line terminal to send the second acquisition request. In this manner, when a change occurs in a downstream device of the first optoelectronic device, the optical line terminal can be proactively notified to obtain the first information, thereby providing timely feedback of the first information.
[0020] In a second aspect, a method for determining network connection relationships is provided. The method includes: a first optical line terminal obtaining first information corresponding to each first optoelectronic device in at least one first optoelectronic device in an optical network. The first information corresponding to a first optoelectronic device indicates an online device among downstream devices of the first optoelectronic device, where the downstream devices of the first optoelectronic device include a second optoelectronic device and / or an optical network terminal. The optical line terminal determines the connection relationship of cascaded devices in the optical network based on the first information corresponding to each first optoelectronic device in the at least one first optoelectronic device.
[0021] Based on the method provided in the second aspect, the optical line terminal can obtain first information corresponding to each of the at least one first optoelectronic device and determine the connection relationship between cascaded devices in the optical network based on the first information corresponding to each of the at least one first optoelectronic device. In this way, the connection relationship between the cascaded devices in the optical network can be determined.
[0022] In one possible design, the optical line terminal obtaining first information corresponding to each first optoelectronic device in at least one first optoelectronic device in the optical network may include: the optical line terminal receiving the first information corresponding to each first optoelectronic device in the at least one first optoelectronic device. This simplifies the calculation process on the optical line terminal, reduces overhead on the optical line terminal, and improves operational efficiency.
[0023] Exemplarily, before the optical line terminal obtains first information corresponding to each first optoelectronic device in at least one first optoelectronic device in the optical network, the method provided in the second aspect may further include: the optical line terminal sending third information, wherein the third information is information for allocating time domain resources.
[0024] Optionally, the method provided in the second aspect may further include: the optical line terminal sending a first acquisition request to each of the at least one first optoelectronic device. The first acquisition request is used to instruct the first optoelectronic device to transmit the first information. In this manner, the optical line terminal can proactively acquire the first information, for example, reducing the reporting frequency of the first information, thereby reducing resource overhead.
[0025] Furthermore, the method provided in the second aspect may further include: the optical line terminal receiving first alarm information from each of the at least one first optoelectronic device. The first alarm information is used to instruct the transmission of third information. In this manner, when a downstream device of the first optoelectronic device changes, the optical line terminal can be proactively notified to obtain the first information, thereby providing timely feedback of the first information.
[0026] Optionally, the method provided in the second aspect further includes: the optical line terminal sending a second acquisition request to each first optoelectronic device in the at least one first optoelectronic device, wherein the second acquisition request is used to indicate: sending identification information of an online device in a subordinate device of the first optoelectronic device.
[0027] Furthermore, the method provided in the second aspect may further include: the optical line terminal receiving second alarm information from each of the at least one first optoelectronic device, wherein the second alarm information is used to instruct the optical line terminal to send a second acquisition request.
[0028] In one possible design, an optical line terminal obtains first information corresponding to each first optoelectronic device in at least one first optoelectronic device in an optical network. This may include: the optical line terminal sends fifth information to each first optoelectronic device in the at least one first optoelectronic device. The fifth information is used to instruct the first optoelectronic device to shut down an uplink optical module and / or a downlink optical module. The optical line terminal receives sixth information corresponding to the fifth information. The sixth information corresponding to the fifth information is used to indicate an online optical network terminal. The optical line terminal determines the first information corresponding to each first optoelectronic device based on the sixth information corresponding to each fifth information.
[0029] In a possible design solution, the method provided in the second aspect may further include: the optical line terminal determines the failed optoelectronic device and / or optical network terminal based on the connection relationship of the cascaded devices in the optical network.
[0030] In a third aspect, a method for determining a network connection relationship is provided. The method for determining a network connection relationship includes: at least one first optoelectronic device obtains first information corresponding to the first optoelectronic device. The first information corresponding to the first optoelectronic device is used to indicate: an online device among the subordinate devices of the first optoelectronic device, and the subordinate devices of the first optoelectronic device include: each of the at least one first optoelectronic device sends the first information corresponding to the first optoelectronic device to an optical line terminal in the optical network. The optical line terminal receives the first information corresponding to each of the at least one first optoelectronic device. The optical line terminal determines the cascade connection relationship of the devices in the optical network based on the first information corresponding to each of the at least one first optoelectronic device.
[0031] In one possible design, at least one first optoelectronic device obtains first information corresponding to the optoelectronic device, which may include: each of the at least one first optoelectronic device receives at least one second information. The second information is information used for operation, management, and maintenance of the physical layer, and each second information corresponds to a subordinate device of the first optoelectronic device. Each of the at least one first optoelectronic device obtains the first information based on the at least one second information.
[0032] Optionally, each of the at least one first optoelectronic device obtains the first information based on the at least one second information, which may include: each of the at least one first optoelectronic device parses the at least one second information to obtain identification information and status information of the device corresponding to each second information. Each of the at least one first optoelectronic device obtains the first information based on the identification information and status information of the device corresponding to each second information. The online devices among the subordinate devices of the first optoelectronic device indicated by the first information include: among the devices corresponding to the at least one second information, the devices whose status information indicates they are online.
[0033] In one possible design, at least one first optoelectronic device obtains first information corresponding to the first optoelectronic device, which may include: each of the at least one first optoelectronic device receives at least one second information and third information. The second information is information used for physical layer operation, management, and maintenance, and each second information corresponds to a subordinate device of the first optoelectronic device. The third information is information used for allocating time domain resources. Each of the at least one first optoelectronic device obtains the first information based on the second information and the third information.
[0034] Optionally, each of the at least one first optoelectronic device obtains the first information based on the second information and the third information, which may include: each of the at least one first optoelectronic device parses each second information to obtain the identification information and status information of the device corresponding to each second information. Each of the at least one first optoelectronic device parses the third information to obtain the offline devices among the subordinate devices of the first optoelectronic device. Each of the at least one first optoelectronic device determines the first information based on the identification information and status information of the device corresponding to each second information, as well as the offline devices among the subordinate devices of the first optoelectronic device. The online devices among the subordinate devices of the first optoelectronic device indicated by the first information include: devices corresponding to the at least one second information and whose status information indicates online, excluding the offline devices among the subordinate devices of the first optoelectronic device.
[0035] In one possible design, at least one first optoelectronic device obtains first information corresponding to the first optoelectronic device, which may include: each of the at least one first optoelectronic device receives at least one fourth information. The fourth information is used to carry data packets exchanged between an optical line terminal and a downstream device of the first optoelectronic device, and the fourth information carries identification information of the device sending the fourth information. Each of the at least one first optoelectronic device receives third information from the optical line terminal. The third information is information used to allocate time domain resources. Each of the at least one first optoelectronic device obtains the first information based on the fourth information and the third information.
[0036] Optionally, each first optoelectronic device in at least one optoelectronic device obtains the first information based on the fourth information and the third information, which may include: each first optoelectronic device in at least one first optoelectronic device parses the fourth information to obtain identification information of a subordinate device of the first optoelectronic device corresponding to each fourth information. Each first optoelectronic device in at least one first optoelectronic device parses each third information to obtain offline devices among the subordinate devices of the first optoelectronic device. Each first optoelectronic device in at least one first optoelectronic device determines the first information based on the identification information of the subordinate device of the optical line terminal corresponding to each fourth information and the offline devices among the subordinate devices of the first optoelectronic device. The online devices among the subordinate devices of the first optoelectronic device indicated by the first information include: all devices among the subordinate devices of the first optoelectronic device corresponding to the fourth information, excluding the offline devices among the subordinate devices of the first optoelectronic device.
[0037] In one possible design scheme, in at least one first optoelectronic device, each first optoelectronic device sends first information corresponding to the first optoelectronic device to an optical line terminal in the optical network, which may include: if the first optoelectronic device determines that an online device in a subordinate device of the first optoelectronic device has changed, then the first optoelectronic device sends the first information corresponding to the first optoelectronic device to the optical line terminal in the optical network.
[0038] In one possible design, the method provided in the third aspect may further include: the optical line terminal sending a first acquisition request to each of the at least one first optoelectronic device. The first acquisition request is used to instruct the first optoelectronic device to send first information. Each of the at least one first optoelectronic device receives the first acquisition request from the optical line terminal.
[0039] Optionally, the method provided in the third aspect further includes: each of the at least one first optoelectronic device sending first alarm information to the optical line terminal. The optical line terminal receives the first alarm information from each of the at least one first optoelectronic device. The alarm information is used to instruct the sending of the first acquisition request.
[0040] In one possible design, the method provided in the third aspect may further include: the optical line terminal sending a second acquisition request to each of the at least one first optoelectronic device. The second acquisition request indicates: identification information of an online device among downstream devices of the first optoelectronic device is being sent. Each of the at least one first optoelectronic device receives the second acquisition request from the optical line terminal.
[0041] Optionally, the method provided by the third method may further include: each of the at least one first optoelectronic device sending second alarm information to the optical line terminal. The optical line terminal receives the second alarm information from each of the at least one first optoelectronic device. The second alarm information is used to instruct the sending of the second acquisition request.
[0042] In a possible design scheme, the method provided in the third aspect may further include: the optical line terminal determines the failed optoelectronic device and / or optical network terminal based on the connection relationship of the cascaded devices in the optical network.
[0043] In a fourth aspect, a communication device is provided, which is configured to execute the network connection relationship determination method according to any one of the implementations of the first to second aspects.
[0044] In the present application, the communication device described in the fourth aspect can be the first optoelectronic device described in the first aspect or the optical line terminal described in the second aspect, or a chip (system) or other parts or components that can be set in the first optoelectronic device or optical line terminal, or a device including the first optoelectronic device or optical line terminal.
[0045] It should be understood that the communication device described in the fourth aspect includes a module, unit, or means corresponding to the method for determining a network connection relationship described in any one of the first to second aspects above. The module, unit, or means can be implemented by hardware, software, or hardware executing the corresponding software implementation. The hardware or software includes one or more modules or units for performing the functions involved in the above-mentioned method for determining a network connection relationship.
[0046] In a fifth aspect, a communication device is provided, comprising: a processor configured to execute the method for determining a network connection relationship according to any one of the possible implementations of the first to second aspects.
[0047] In one possible design solution, the communication device described in the fifth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be interconnected with the processor via a circuit, and the transceiver may be used for the communication device described in the fifth aspect to communicate with other communication devices.
[0048] In one possible design, the communication device described in the fifth aspect may further include a memory. The memory may be integrated with the processor or provided separately. Optionally, the memory may be used to store the computer program and / or data involved in the method for determining a network connection relationship described in any one of the first and second aspects.
[0049] In the present application, the communication device described in the fifth aspect can be the first optoelectronic device described in the first aspect or the optical line terminal described in the second aspect, or a chip (system) or other parts or components that can be set in the first optoelectronic device or optical line terminal, or a device including the first optoelectronic device or optical line terminal.
[0050] In a sixth aspect, a communication device is provided, comprising: a processor coupled to a memory, the processor being configured to execute the method for determining a network connection relationship according to any one of the first to second aspects.
[0051] A computer program stored in the memory enables the communication device to execute the network connection relationship determination method described in any possible implementation manner of the first aspect to the second aspect.
[0052] Optionally, the memory may be used to store computer programs and / or data involved in the method for determining a network connection relationship described in any one of the first aspect to the second aspect.
[0053] In one possible design solution, the communication device described in the sixth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the sixth aspect to communicate with other communication devices.
[0054] In the present application, the communication device described in the sixth aspect can be the first optoelectronic device described in the first aspect or the optical line terminal described in the second aspect, or a chip (system) or other parts or components that can be set in the first optoelectronic device or optical line terminal, or a device including the first optoelectronic device or optical line terminal.
[0055] In the seventh aspect, a communication device is provided, comprising: a processor and a memory; the memory is used to store a computer program, and when the processor executes the computer program, the communication device executes the network connection relationship determination method described in any one of the implementation methods of the first aspect to the second aspect.
[0056] In one possible design solution, the communication device described in the seventh aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the seventh aspect to communicate with other communication devices.
[0057] In the present application, the communication device described in the seventh aspect can be the first optoelectronic device described in the first aspect or the optical line terminal described in the second aspect, or a chip (system) or other parts or components that can be set in the first optoelectronic device or optical line terminal, or a device including the first optoelectronic device or optical line terminal.
[0058] In an eighth aspect, a communication device is provided, comprising: a processor; the processor is used to couple with a memory, and after reading a computer program in the memory, execute the network connection relationship determination method as described in any one of the implementation methods of the first aspect to the second aspect according to the computer program.
[0059] In one possible design solution, the communication device described in the eighth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the eighth aspect to communicate with other communication devices.
[0060] In the present application, the communication device described in the eighth aspect can be the first optoelectronic device described in the first aspect or the optical line terminal described in the second aspect, or a chip (system) or other parts or components that can be set in the first optoelectronic device or optical line terminal, or a device including the first optoelectronic device or optical line terminal.
[0061] In addition, the technical effects of the communication device described in the fourth to eighth aspects above can refer to the technical effects of the network connection relationship determination method described in the first to second aspects above, and will not be repeated here.
[0062] In a ninth aspect, a processor is provided, wherein the processor is configured to execute the network connection relationship determination method described in any possible implementation of the first to second aspects.
[0063] In a tenth aspect, a communication system is provided, which includes an optical line terminal and one or more optoelectronic devices.
[0064] The optoelectronic device may be used to execute any one of the methods described in the first aspect, and the optical line terminal may be used to execute any one of the methods described in the second aspect.
[0065] Optionally, the communication system may further include an optical network terminal.
[0066] In the eleventh aspect, a computer-readable storage medium is provided, comprising: a computer program or instruction; when the computer program or instruction is run on a computer, the computer executes the network connection relationship determination method described in any possible implementation method of the first aspect to the second aspect.
[0067] In the twelfth aspect, a computer program product is provided, comprising a computer program or instructions, which, when executed on a computer, enables the computer to execute the network connection relationship determination method described in any one of the possible implementations of the first to second aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] FIG1 is a schematic diagram of a connection architecture of an optical network provided in an embodiment of the present application;
[0069] FIG2 is a schematic diagram of the structure of an optoelectronic device provided in an embodiment of the present application;
[0070] FIG3 is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application;
[0071] FIG4 is a flow chart of a method for determining a network connection relationship provided in an embodiment of the present application;
[0072] FIG5 is a schematic diagram showing the relationship between a first optoelectronic device and a lower-level device provided in an embodiment of the present application;
[0073] FIG6 is a schematic diagram of the connection relationship of cascaded devices provided in an embodiment of the present application;
[0074] FIG7 is a schematic diagram of the connection relationship of devices in a communication system provided in an embodiment of the present application;
[0075] FIG8 is a flow chart of another method for determining a network connection relationship provided in an embodiment of the present application;
[0076] FIG9 is a schematic diagram of a frame structure of a message provided in an embodiment of the present application;
[0077] FIG10 is a flow chart of another method for determining a network connection relationship provided in an embodiment of the present application;
[0078] FIG11 is a flow chart of another method for determining a network connection relationship provided in an embodiment of the present application;
[0079] FIG12 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0080] FIG13 is a schematic structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0081] This application will present various aspects, embodiments, or features in the context of systems that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. Furthermore, combinations of these aspects may also be used.
[0082] Additionally, in the embodiments of this application, words such as "exemplarily" and "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as an "exemplary" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner.
[0083] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field will know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0084] The technical solution in this application will be described below with reference to the accompanying drawings.
[0085] With the ever-increasing demand for bandwidth, fiber-optic access has become the mainstream access network, with passive optical networks (PONs) being particularly competitive. Figure 1 shows a schematic diagram of a passive optical network (PON) communication system. The PON communication system includes an optical line terminal (OLT) and one or more optical network terminals (ONTs). The ONTs can also be optical network units (ONUs). Each ONT can establish a communication connection with the OLT.
[0086] In the communication system shown in FIG1 , the physical distance of each ONU can be calculated by measuring the round trip delay (RTD) between the OLT and the ONT.
[0087] Optionally, the passive optical network system shown in Figure 1 may further include an element management system (EMS), wherein a communication connection may be established between the EMS and the OLT.
[0088] To address the challenges of long-distance, multi-node, and unequal-ratio optical transmission in mining, power, and transportation networks, long-reach PON optical-electric-optical (LR PON OEO) equipment (also known as optical-electric-optical (OEO) equipment) has been proposed. Unless otherwise specified, OEO equipment is referred to below.
[0089] For example, as shown in Figure 2, an OEO may include an ONT system-on-chip (SOC), an ONT optical module, and an OLT optical module, and both the ONT optical module and the OLT optical module are communicatively connected to the ONT SOC. The ONT optical module is located in the upstream direction of the ONT SOC and is used to connect to the OLT or a higher-level OEO. The OLT optical module is located in the downstream direction of the ONT SOC and is used to connect to lower-level devices of the OEO, such as ONTs or other OEOs.
[0090] In some embodiments, for the scenario of a first-level PON device, the lower-level devices of the OLT in the optical network are directly connected to the OLT. Therefore, the OLT can obtain the connection relationship between the devices in the optical network, or in other words, the OLT can obtain the topology between the devices in the optical network. For the case of cascading multiple devices in the optical network, for example, when an optical-electric-optical (OEO) device is connected to the OLT, and an ONT is connected to the OEO, the network formed by the devices in the optical network is a daisy chain topology structure. The OEO and ONT are both lower-level devices of the OLT. The solution used by the OLT in the first-level PON to determine the connection relationship of the devices is not applicable. In other words, the solution for obtaining the topology of the first-level PON network cannot be used to obtain the topology of the multi-level PON cascade scenario. Therefore, how to obtain the connection relationship of devices in the cascaded optical network is an urgent problem to be solved.
[0091] To address the above technical issues, embodiments of the present application provide a method for determining network connection relationships. In this method, an OLT device can obtain first information corresponding to at least one first OEO in an optical network and, based on this first information, determine the connection relationships between cascaded devices in the optical network. The first information corresponding to the first OEO indicates online devices among the first OEO's subordinate devices, where the first OEO's subordinate devices include a second OEO and / or an ONT. In this way, a terminal device can determine the connection relationships between cascaded devices in the optical network, thereby obtaining the topology of the cascaded devices in the optical network. The method provided in this application is explained below with reference to specific embodiments.
[0092] The solution provided in the embodiments of the present application can be applied to a communication system. As shown in Figure 3, the communication system may include an OLT, at least one OEO (OEO1 to OEO3), and at least one ONT (ONT1 to ONT5). A communication connection can be established between the OLT and the OEO, a communication connection can be established between the OLT and the ONT, and a communication connection can be established between the OEO and the ONT. For example, ONT1 can establish a communication connection with the OLT, OEO1 can establish a communication connection with the OLT, OEO1 can also establish a communication connection with ONT2, ONT3, and OEO2, respectively, and OEO2 can also establish a communication connection with ONT4, ONT5, and OEO3, respectively.
[0093] The OLT is a device for connecting optical fiber trunk lines, and may also be a chip (system) or other components or assemblies that can be set in the device.
[0094] The OEO is a device for amplifying optical signals, and may also be a chip (system) or other component or assembly that can be provided in the device.
[0095] In the communication system of FIG3 , the network formed by the devices in the optical network is a daisy chain topology.
[0096] It should be noted that the network connection relationship determination method provided in the embodiment of the present application can be applied to the OLT shown in Figure 3, or can be applied between the OLT and OEO shown in Figure 3. The specific implementation can refer to the following method embodiment and will not be repeated here.
[0097] It should be noted that the solutions in the embodiments of the present application can also be applied to other communication systems, and the corresponding names can also be replaced by the names of corresponding functions in other communication systems.
[0098] It should be understood that FIG3 is only a simplified schematic diagram for ease of understanding, and the communication system may also include other devices that are not shown in FIG3 .
[0099] The communication system shown in FIG3 may also be referred to as an optical network communication system or an optical network system. The network structure used for communication between devices in the communication system may be referred to as an optical network.
[0100] The network connection relationship determination method provided in the embodiment of the present application will be specifically described below with reference to Figures 4 to 11.
[0101] For example, Figure 4 is a flowchart of a method for determining a network connection relationship provided in an embodiment of the present application. The method for determining a network connection relationship can be applied between the OLT shown in Figure 3 and any OEO.
[0102] As shown in FIG4 , the method for determining a network connection relationship includes the following steps:
[0103] S401: The OLT obtains first information corresponding to each first OEO in at least one first OEO in an optical network.
[0104] The first information corresponding to a first OEO is used to indicate the online devices among the first OEO's subordinate devices, where the first OEO's subordinate devices include a second OEO and / or an ONT. The at least one first OEO can be any OEO in the optical network that is online without disabling any upstream or downstream optical modules in the OEO.
[0105] The subordinate devices of a device include other devices that can receive downlink signals sent by the device. For example, the subordinate device of a first OEO may refer to a second OEO or ONT that can receive downlink information sent by the first OEO. Taking the communication system shown in Figure 3 as an example, if at least one first OEO includes OEO1 to OEO3, as well as ONT2, ONT4, and ONT5, then the first information corresponding to OEO1 indicates that the online devices among the subordinate devices of OEO1 include OEO2, OEO3, ONT2, ONT4, and ONT5; the first information corresponding to OEO2 indicates that the online devices among the subordinate devices of OEO2 include OEO3, ONT4, and ONT5, and the first information corresponding to OEO3 indicates that the OEO has no online subordinate devices.
[0106] It is understandable that in some possible embodiments, the lower-level device may also be referred to as a downstream device.
[0107] For the specific implementation principle of S401, please refer to the following S801 and S802, or the following S1001 to S1004, or the following S1101 and S1102.
[0108] S402: The OLT determines a connection relationship of cascaded devices in the optical network according to first information corresponding to each first OEO in at least one first OEO.
[0109] In other words, the OLT obtains the topology of the cascaded devices in the optical network based on the first information corresponding to each of the at least one first OEO. It is understood that the connection relationship can also be referred to as the topology, and obtaining the connection relationship can also be understood as obtaining the topology. In the following embodiments, unless otherwise specified, the connection relationship is used for description.
[0110] The cascaded devices in the optical network may refer to devices other than the OLT in the optical network that are connected to the OEO or ONT. For example, in the communication system shown in FIG3 , OEO1 and its subordinate devices are cascaded devices.
[0111] Taking the communication system shown in Figure 3 as an example, if OEO1 is the first OEO, the first information corresponding to OEO1 indicates that the online devices among OEO1's subordinate devices include OEO2 to OEO3, as well as ONT2, ONT4, and ONT5. The first information corresponding to OEO2 indicates that the online devices among OEO2's subordinate devices include OEO3, ONT4, and ONT5. The first information corresponding to OEO3 indicates that OEO3 has no online subordinate devices. Then, based on the first information corresponding to OEO1, the OLT can obtain the connection relationship shown in Figure 5 (a). Based on the first information corresponding to OEO2, the OLT can obtain the connection relationship shown in Figure 5 (b). Based on the first information corresponding to OEO3, the OLT can obtain the connection relationship shown in Figure 5 (c). Based on the relationships shown in Figures 5 (a) to 5 (c), the OLT can determine the connection relationship of the cascaded devices as shown in Figure 6.
[0112] Based on the network connection relationship determination method shown in Figure 4, the OLT can obtain first information corresponding to each of at least one first OEO and, based on the first information, determine the connection relationship between cascaded devices in the optical network. The first information indicates online devices in the first OEO's subordinate devices. In this way, the OLT can obtain information about online devices in the first OEO's subordinate devices and, consequently, determine the connection relationship between the cascaded devices in the optical network.
[0113] The OLT can obtain the identification information of all OEOs and / or ONTs connected to it. In other words, the OLT can identify all of its subordinate devices. Taking the communication system shown in Figure 3 as an example, the OLT can obtain the identification information of ONT1 through ONT5, as well as OEO1 through OEO3. In other words, the OLT can determine that its subordinate devices include ONT1 through ONT5, and OEO1 through OEO3. The OLT can obtain the identification information of its subordinate devices using existing technologies and will not be further described here.
[0114] In the embodiment of the present application, step 4.1 may also be included.
[0115] In step 4.1, the OLT receives uplink information from the ONT to which the OLT is directly connected. The uplink information may be carried in a 10-gigabit-capable passive optical network transmission convergence (XGTC) frame or a gigabit-capable passive optical network transmission convergence (GTC) frame. For example, the uplink information may include physical layer operations, administration, and maintenance (PLOAM) messages.
[0116] In the embodiments of the present application, the execution order between step 4.1 and S401, and the execution order between step 4.1 and S402 are not limited. For example, step 4.1 can be executed before S401, after S401, or during the execution of S401. Step 4.1 can be executed before S402, after S402, or during the execution of S402.
[0117] In step 4.2, the OLT determines an online ONT among the ONTs directly connected to the OLT based on the uplink information of the ONTs directly connected to the OLT.
[0118] For example, the OLT can parse the uplink information of the ONT to obtain the identification information and status information of the ONT. The specific implementation principle can refer to the existing implementation method of OLT parsing uplink information of the ONT. For example, if the uplink information is a PLOAM message, the implementation principle of step 8.2-1 can be referred to.
[0119] In the embodiments of the present application, the execution order of step 4.2 and S401, or the execution order of step 4.2 and S402, is not limited. For example, step 4.2 can be executed before S401, after S401, or during the execution of S401. Step 4.2 can be executed before S402, after S402, or during the execution of S402.
[0120] On this basis, based on the connection relationship of the cascaded devices in the optical network determined in S402 above, the OLT may further perform the following step 4.3.
[0121] In step 4.3, the OLT determines the connection relationship of the devices in the entire optical network by combining the connection relationship of the cascaded devices in the optical network and the uplink information of the ONTs directly connected to the OLT. This is explained below with reference to Figures 3, 10, and 11.
[0122] If the OLT's downstream devices include ONT1 to ONT5 and OEO1 to OEO3, the OLT determines the connection relationship of the cascaded devices as shown in Figure 6. If ONT1 is online, the OLT can further determine the connection relationship of the devices in the optical network as shown in Figure 7.
[0123] To reduce the complexity of the interaction process and minimize resource consumption, in some possible embodiments, the first OEO can parse at least part of the information (e.g., protocol messages) passing through it. This information can then be used to obtain identification information for the first OEO's subordinate devices, thereby obtaining first information and sending it to the OLT. The OLT then determines the connection relationships between devices in the optical network based on the first information from each first OEO in the optical network. This is explained below with reference to Figure 8.
[0124] FIG8 is a flow chart of another method for determining a network connection relationship provided by an embodiment of the present application. As shown in FIG8 , the method for determining a network connection relationship includes the following steps:
[0125] S801: Each first OEO in at least one first OEO obtains first information corresponding to the first OEO.
[0126] The first information corresponding to the first OEO is used to indicate an online device among subordinate devices of the first OEO. The subordinate devices of the first OEO include a second OEO and / or an ONT.
[0127] For the at least one first OEO, reference may be made to the relevant introduction about the at least one first OEO in S401 . For the relevant introduction about the lower-level device, reference may be made to the relevant introduction about the lower-level device in S401 , which will not be repeated here.
[0128] S801 includes: each first OEO in the optical network obtains first information corresponding to itself. That is, for each first OEO in at least one first OEO, the first OEO may perform the following steps: the first OEO obtains first information corresponding to the first OEO.
[0129] Taking the communication system shown in Figure 3 as an example, if OEOs 1 to 3 are all online, then the at least one first OEO includes OEOs 1 to 3. Each of the at least one first OEO obtains first information corresponding to the first OEO, which may include: OEO 1 obtaining the first information corresponding to OEO 1, OEO 2 obtaining the first information corresponding to OEO 2, and OEO 3 obtaining the first information corresponding to OEO 3.
[0130] The following uses different acquisition methods as examples to illustrate the principle of how the first OEO acquires the first information corresponding to the first OEO.
[0131] Acquisition method 1: The first OEO acquires the first information corresponding to the first OEO, which may include:
[0132] In step 8.1, the first OEO receives at least one second information.
[0133] The second information is information used for operation management and maintenance of the physical layer, and one piece of second information corresponds to one lower-level device of the first OEO.
[0134] Taking the communication system shown in FIG3 as an example, if the first OEO is OEO2, the at least one second information includes three second information, namely, the second information corresponding to ONT4, the second information corresponding to OEO3, and the second information corresponding to ONT5.
[0135] For example, the second information may include information including a physical layer operations, administration and maintenance (PLOAM) message. The second information may be carried in an XGTC frame or a GTC frame.
[0136] The PLOAM message may include one of the following: a message causing the device (ONT or OEO) to enter the initial state (O1) (e.g., broadcasting a request to disable ONU-ID, a request to disable ONU-ID, or a request to enable serial number); a message causing the device (ONT or OEO) to enter the serial number state (O2-3) (disabling serial number request); a message causing the device (ONT or OEO) to enter the ranging state (O4) (e.g., ID PLOAM); a message causing the device (ONT or OEO) to enter the working state (O5) (ranging time PLOAM); a message causing the device (ONT or OEO) to enter the intermittent loss of downstream synchronization (LODS) state (O6); or a message causing the device (ONT or OEO) to enter the emergency stop state (O7). The specific implementation principles of the PLOAM message can be found in Section 11 of protocol version G.987.3 and are not detailed here.
[0137] Step 8.2: The first OEO obtains the first information according to the at least one second information.
[0138] In this way, the first OEO can determine the lower-level device corresponding to the first OEO through the information used for operation management and maintenance of the physical layer to obtain the first information, thereby multiplexing existing messages in the optical network and simplifying the interaction process.
[0139] Optionally, step 8.2 may include: step 8.2-1 and step 8.2-2.
[0140] Step 8.2-1: The first OEO parses at least one second information to obtain identification information and status information of a device corresponding to each second information.
[0141] For example, the first OEO can parse the PLOAM message field in the XGTC frame to obtain a PLOAM message. The first OEO can determine whether the device is online or offline based on the device's current state indicated in the PLOAM message. For example, if the first OEO receives a message that causes the device (ONT or OEO) to enter the working state (O5), the device's status information can be considered online. If the first OEO receives a PLOAM message other than the message that causes the device (ONT or OEO) to enter the working state (O5), the device's status information can be considered offline.
[0142] Step 8.2-2: The first OEO obtains the first information according to the identification information and status information of the device corresponding to each piece of second information.
[0143] The online devices among the subordinate devices of the first OEO indicated by the first information include: a device whose status information indicates that the device is online among the devices corresponding to at least one of the second information.
[0144] Taking the communication system shown in FIG3 as an example, assuming that the first OEO is OEO2, if OEO2 parses the second information of OEO2's subordinate devices and obtains the status information of ONT4 as online, the status information of OEO3 as online, and the status information of ONT5 as offline, then the first information corresponding to OEO2 indicates that the online subordinate devices of OEO2 include ONT4 and OEO3.
[0145] In this way, the first OEO can parse the second information passing through the first OEO, thereby obtaining the identification information and status information of the device corresponding to the second information, and thus obtaining the first information.
[0146] The second acquisition method, in which the first OEO acquires the first information corresponding to the first OEO, may include: step 8.3 and step 8.4.
[0147] Step 8.3: The OLT sends the third information. The first OEO receives at least one second information and the third information.
[0148] The second information is information used for operation management and maintenance of the physical layer. One second information corresponds to one lower-level device of the first OEO. The third information is information used for allocating time domain resources.
[0149] For the implementation principle of the second information, please refer to the relevant introduction about the second information in step 8.1, which will not be repeated here.
[0150] The third information can be carried in an XGTC frame or a GTC frame. As shown in Figure 9, taking the case where the third information is carried in an XGTC frame as an example, the XGTC frame includes an XGTC header and an XGTC payload. The XGTC header may include a header length (Hlend) field (partition), a BWmap field, and a PLOAMd field. The third information can be carried in the BWmap field of the XGTC header. The BWmap field includes an allocation structure corresponding to each online device in the optical network, with each allocation structure corresponding to 8 bytes. Each allocation structure includes an allocation identification information (Alloc-ID) field (14 bits), a flag (Flags) field (2 bits), a start time (StartTime) field (16 bits), a grant size (GrantSize) field (16 bits), a forced wake-up indication (FWI) bit (1 bit), a burst profile (BurstProfile) field (2 bits), and a header error control (HEC) field (13 bits).
[0151] In step 8.4, the first OEO obtains the first information according to the second information and the third information.
[0152] In this way, the first OEO can determine the lower-level device corresponding to the first OEO through the second information and the third information to obtain the first information, thereby multiplexing existing messages in the optical network and simplifying the interaction process.
[0153] Optionally, the first OEO obtains the first information according to the second information and the third information, which may include: step 8.4-1 to step 8.4-3.
[0154] Step 8.4-1: The first OEO parses each second information to obtain identification information and status information of the device corresponding to each second information.
[0155] For the implementation principle of step 8.4-1, please refer to the relevant introduction of step 8.2-1, which will not be repeated here.
[0156] Step 8.4-2: The first OEO parses the third information to obtain the offline devices among the lower-level devices of the first OEO.
[0157] Taking an XGTC frame containing a BWmap message as an example, the first OEO can parse the allocation identification information field of the BWmap message in the XGTC frame to obtain the identification information of the device to which the OLT allocated time domain resources. This allows the first OEO to determine which devices have gone offline or have just come online.
[0158] Step 8.4-3: The first OEO determines the first information based on the identification information and status information of the device corresponding to each second information, and the offline devices among the subordinate devices of the first OEO.
[0159] The online devices in the subordinate devices of the first OEO indicated by the first information include: devices corresponding to at least one second information and with online status information, excluding the offline devices in the subordinate devices of the first OEO.
[0160] Taking the communication system shown in Figure 3 as an example, if at time T1, all downstream devices of the OLT are online. At time T2, a BWmap message allocates time domain resources (also called time slots) to ONT2 through ONT4 and OEO1 through OEO3. This allows us to determine that the offline devices in the communication system include ONT2 and ONT1. Thus, by combining the obtained second information about the downstream devices of each first OEO and the offline devices in the optical network, we can determine the first information corresponding to each first OEO. Taking OEO1 as an example, based on each piece of second information, OEO1 can determine that the devices connected to OEO1 at time T1 include ONT2 through ONT4, as well as OEO2 and OEO3. At time T2, based on the BWmap message, ONT2 is offline. This allows us to determine that among OEO1's downstream devices, ONT3 through ONT4, as well as OEO2 and OEO3, are online. Thus, we can obtain OEO1's first information.
[0161] In this way, the first OEO can parse the second information and the third information passing through the first OEO to obtain the identification information and status information of the device corresponding to the second information, as well as the device that goes offline or online after receiving the second information, to obtain the first information.
[0162] Acquisition method three, the first OEO acquires the first information corresponding to the first OEO, which may include: steps 8.5 to 8.7.
[0163] In step 8.5, the first OEO receives at least one fourth information.
[0164] The fourth information is used to carry data packets exchanged between the OLT and the lower-level device of the first OEO, and the fourth information carries identification information of the device sending the fourth information.
[0165] In step 8.6, the first OEO receives third information from the OLT.
[0166] The third information is information used to allocate time domain resources.
[0167] Step 8.7: The first OEO obtains the first information according to the fourth information and the third information.
[0168] In this way, the first OEO can determine the lower-level device corresponding to the first OEO through the fourth information and the third information to obtain the first information, thereby multiplexing existing messages in the optical network and simplifying the interaction process.
[0169] Optionally, the first OEO obtains the first information according to the fourth information and the third information, which may include: step 8.7-1 to step 8.7-3.
[0170] Step 8.7-1: The first OEO parses the fourth information to obtain identification information of a subordinate device of the first OEO corresponding to each piece of the fourth information.
[0171] Step 8.7-2: The first OEO parses each piece of third information to obtain offline devices among the lower-level devices of the first OEO.
[0172] Step 8.7-3: The first OEO determines the first information based on the identification information of the OLT's subordinate devices corresponding to each fourth information and the offline devices among the first OEO's subordinate devices.
[0173] For the specific implementation principle of step 8.7-3, please refer to the relevant introduction of the above steps 8.4-3, which will not be repeated here.
[0174] The online devices among the subordinate devices of the first OEO indicated by the first information include: all devices among the subordinate devices of the first OEO corresponding to the fourth information, except for the offline devices among the subordinate devices of the first OEO.
[0175] In this way, the first OEO can obtain the identification information and status information of the device corresponding to the second information, as well as the device that goes offline or online after receiving the second information, by parsing the fourth information and the third information to obtain the first information.
[0176] It should be noted that in the embodiment of the present application, the first OEO can also combine the fourth information and the second information to determine the first information, and the specific principle will not be repeated here.
[0177] S802: Each of the at least one first OEO sends first information corresponding to the first OEO to an OLT in the optical network. Accordingly, the OLT obtains the first information corresponding to each of the at least one first OEO in the optical network.
[0178] S802 includes: each first OEO in the optical network sends its corresponding first information to the OLT. That is, for each of the at least one first OEO, the first OEO may perform the following steps: the first OEO sends the first information corresponding to the first OEO to the OLT in the optical network. In response, the OLT receives the first information corresponding to each of the at least one first OEO in the optical network.
[0179] Taking the communication system shown in Figure 3 as an example, if the at least one first OEO includes OEO1 to OEO3, S802 includes: OEO1 sending the first information corresponding to OEO1 to the OLT, OEO2 sending the first information corresponding to OEO2 to the OLT, and OEO3 sending the first information corresponding to OEO3 to the OLT. Accordingly, the OLT receives the first information corresponding to OEO1, the first information corresponding to OEO2, and the first information corresponding to OEO3.
[0180] Exemplarily, each of the at least one first OEO may report the first information via an ONT management control interface (OMCI) message or a PLOAM message. The OMCI message may include one or more of the following: a get message, a get response message, an alarm message, an attribute value change (AVC) message, or a get next message.
[0181] The following describes how each of the at least one first OEO sends first information corresponding to the first OEO to the OLT, using any of the reporting methods 1 to 5. The reporting methods used by different first OEOs in the at least one first OEO can be the same or different.
[0182] The following describes how a first OEO reports first information to an OLT device in conjunction with reporting methods 1 to 3.
[0183] Reporting method 1: The first OEO can proactively report first information to the OLT when changes occur in its downstream devices, such as when a new downstream device comes online or when an already online downstream device goes offline. In this case, the first OEO sends the first information corresponding to the first OEO to the OLT in the optical network. This may include: if the first OEO determines that an online device among its downstream devices has changed, then the first OEO sends the first information corresponding to the first OEO to the OLT in the optical network. In response, the OLT obtains the first information corresponding to the first OEO.
[0184] The change in the online device in the subordinate device of the first OEO may refer to a change in the identification information of the online device in the subordinate device of the first OEO, for example, a new online device comes online in the optical network, or a device goes offline among the online devices.
[0185] Taking the communication system shown in Figure 3 as an example, assuming that the first device is OEO1, and OEO1 through OEO3, ONT2, ONT4, and ONT5 are all online, if OEO1 detects that ONT3 is online, then OEO1 can send a first message to the OLT. Alternatively, if OEO1 detects that any of OEO2, OEO3, ONT2, ONT4, and ONT5 is offline, then OEO1 can send a first message to the OLT. Accordingly, the OLT can receive the first message corresponding to OEO1.
[0186] It is understandable that the first information can be carried in an AVC message. In this case, the AVC message can include the identification information of the online devices in the subordinate devices of the first OEO. In the AVC message, the identification information of each device can be indicated by multiple bits, or in the form of a bitmap. For example, if the subordinate devices of a first OEO have devices 0 to 3 (the identification information is 145, 3, 5 and 8 respectively), and devices 0 and 1 are online, and devices 2 and 3 are offline, then the bitmaps corresponding to devices 0 to 3 in the AVC message are "10010001", "00000001", "00000000", and "00000000".
[0187] In this way, the first OEO can actively report the first information when there is a change in an online device in the optical network, thereby providing timely feedback of the first information and reducing interaction complexity.
[0188] In reporting mode 2, the OLT can proactively request the first OEO to report the first information. In this case, as shown in FIG8 (a), before S802, the method shown in FIG8 may further include S800-1: the OLT sends a first acquisition request to each of the at least one first OEO. In response, the first OEO receives the first acquisition request from the OLT.
[0189] The first acquisition request is used to instruct the first OEO to send the first information. Exemplarily, the first acquisition request may be a query message.
[0190] In this way, the first OEO can send the first information to the OLT after receiving the first acquisition request. In this way, the optical line terminal can actively obtain the first information. For example, the OLT can avoid transmitting the first information when there is no data transmission in the optical network based on the data to be transmitted, thereby reducing the transmission frequency of the first information and thus reducing resource overhead.
[0191] Reporting method 3, as shown in (a) of Figure 8 , includes the steps of reporting method 2. Before the first OEO receives the first acquisition request from the OLT, the method shown in Figure 8 may further include S800-2: the first OEO sends first alarm information to the OLT. In response, the OLT receives the first alarm information from the first OEO.
[0192] The first alarm information is used to instruct sending a first acquisition request.
[0193] The first warning information may be a warning message.
[0194] It can be understood that if the first OEO determines that an online device among the subordinate devices of the first OEO has changed, the first OEO sends the first alarm information to the OLT.
[0195] In this way, when a change occurs in a downstream device of the optoelectronic device, the optical line terminal can be actively notified to obtain the first information, thereby feeding back the first information in a timely manner.
[0196] Reporting mode 4, as shown in (b) of FIG8 , the method shown in FIG8 may further include S800 - 3 : the OLT sends a second acquisition request to the first OEO. Correspondingly, the first OEO receives the second acquisition request from the OLT.
[0197] The second acquisition request is used to instruct: sending identification information of online devices among the subordinate devices of the first OEO.
[0198] Exemplarily, the second acquisition request may be a query message or a query next message. If the first OEO acquires the identification information of the first online subordinate device of the first OEO in the first information, the second acquisition request may be a query message. If the first OEO acquires the identification information of a subordinate device other than the first online subordinate device of the first OEO in the first information, the second acquisition request may be a query next message.
[0199] In this way, the optical line terminal can actively obtain the first information. For example, the OLT can avoid transmitting the first information when there is no data transmission in the optical network according to the data that needs to be transmitted, thereby reducing the transmission frequency of the first information and thus reducing resource overhead.
[0200] It is understood that before S800-3, the OLT may also send a query message to the first OEO, indicating the number of online devices among the first OEO's subordinate devices. In this case, the number of second acquisition requests corresponding to the first OEO may be the same as the number of online devices among the first OEO's subordinate devices.
[0201] Each second acquisition request corresponds to the identification information of an online device. In other words, each second acquisition request is used to obtain the identification information of an online device.
[0202] Reporting method 5, as shown in (b) of Figure 8 , includes the steps of reporting method 4. Before the first OEO receives the second acquisition request from the OLT, the method shown in Figure 8 may further include S800-4: the first OEO sends second alarm information to the OLT. The OLT receives the second alarm information from each of the at least one first OEO. The second alarm information instructs the OLT to send the second acquisition request.
[0203] The second warning information may be a warning message.
[0204] The implementation principle of the second alarm information can refer to the implementation principle of the first alarm information, which will not be repeated here.
[0205] In this way, when a change occurs in a downstream device of the optoelectronic device, the optical line terminal can be actively notified to obtain the first information, thereby feeding back the first information in a timely manner.
[0206] It can be understood that different first OEOs in a communication network may adopt any one of the above-mentioned reporting methods 1 to 5 to report the first information.
[0207] S803: The OLT determines a connection relationship of cascaded devices in the optical network according to first information corresponding to each first OEO in the at least one first OEO.
[0208] The specific implementation principle of S803 can be referred to the above S402 and will not be repeated here.
[0209] The technical effects of the method shown in Figure 8 can be referred to the technical effects of the method shown in Figure 4 above, and will not be repeated here. In addition, the method shown in Figure 8 can also simplify the calculation process on the OLT, reduce the OLT's overhead, and improve operating efficiency.
[0210] In a possible design solution, the method shown in FIG8 may further include step 8.9: the OLT determines the faulty OEO and / or ONT according to the connection relationship between the devices in the optical network.
[0211] In the embodiment of the present application, step 8.10 may also be included.
[0212] In step 8.10, the OLT receives upstream information from the ONT directly connected to the OLT.
[0213] For the implementation principle of uplink information, please refer to the relevant introduction in step 4.1, which will not be repeated here.
[0214] The implementation principle of OLT-directly connected ONTs can be found in step 4.1 and will not be repeated here.
[0215] For the implementation principles of steps 8 and 10, please refer to the relevant introduction of step 4 and 1, which will not be repeated here.
[0216] In the embodiment of the present application, the execution order of step 8.10 and S801 to S803 is not limited and will not be repeated here.
[0217] In step 8.11, the OLT determines an online ONT among the ONTs directly connected to the OLT based on the uplink information of the ONTs directly connected to the OLT.
[0218] For the implementation principle of step 8.11, please refer to the relevant introduction of step 4.2, which will not be repeated here.
[0219] Based on the connection relationship of the cascaded devices in the optical network determined in S803 above, the OLT may further perform the following step 8.12.
[0220] In step 8.12, the OLT combines all lower-level devices of the OLT to determine the connection relationship of the devices in the entire optical network. The implementation principle of step 8.12 can be referred to the relevant introduction of step 4.3 and will not be repeated here.
[0221] To simplify the data processing flow of the first OEO, in some other embodiments, the OLT can automatically obtain the first information by actively controlling the working state (on or off) of each first OEO. This is explained below with reference to FIG10 .
[0222] FIG10 is a flow chart of another method for determining a network connection relationship provided in an embodiment of the present application. As shown in FIG10 , the method for determining a network connection relationship includes:
[0223] S1001: The OLT sends fifth information to each of at least one first OEO. Correspondingly, each of the at least one first OEO receives the fifth information from the OLT.
[0224] The fifth information is used to instruct the first OEO to turn off the uplink optical module and / or the downlink optical module.
[0225] For the at least one first OEO, reference may be made to the related introduction about the at least one first OEO in S401 above, which will not be repeated here.
[0226] The downlink optical module may be an OLT optical module in the first OEO. The uplink optical module may be an ONT optical module in the first OEO. The fifth information and S1001 are described below in conjunction with different situations.
[0227] Case 1: The OLT sends the fifth information to the first OEO alone.
[0228] In this case, each first OEO corresponds to one fifth information, and the fifth information is used to instruct the first OEO to turn off the downlink optical module.
[0229] Optionally, the fifth information may also be used to indicate the time when the first OEO turns off the downlink optical module.
[0230] At this time, S1001 may include: the OLT sends the fifth information corresponding to each first OEO to each first OEO respectively. Correspondingly, each first OEO in the at least one first OEO receives the fifth information from the OLT.
[0231] Take the communication system shown in Figure 3 as an example. If at least one first OEO includes OEO1 to OEO3, the OLT can send OEO1's fifth information #1 to OEO1, instructing OEO1 to shut down OEO1's downlink optical module. Accordingly, OEO1 receives OEO1's fifth information #1. The OLT can send OEO2's fifth information #2 to OEO2, instructing OEO2 to shut down OEO2's downlink optical module. Accordingly, OEO2 receives OEO2's fifth information #2. The OLT can send OEO3's fifth information #3 to OEO3, instructing OEO3 to shut down OEO3's downlink optical module. Accordingly, OEO3 receives OEO3's fifth information #3.
[0232] In case 2, the OLT sends multiple fifth messages in a broadcast or multicast manner, and each fifth message instructs a first OEO to shut down a downstream optical module.
[0233] In this case, the fifth information may be used to indicate identification information of the first OEO that needs to shut down the downlink optical module.
[0234] At this time, S1001 may include: the OLT sends each fifth information. Correspondingly, each first OEO in the at least one first OEO receives each fifth information from the OLT.
[0235] Taking the communication system shown in Figure 3 as an example, if at least one first OEO includes OEO1 through OEO3, the OLT may first send fifth information #4, indicating that the first OEO to shut down the downstream optical module is OEO1. Accordingly, OEO1 through OEO3 all receive fifth information #4. Subsequently, the OLT may send fifth information #5, indicating that the first OEO to shut down the downstream optical module is OEO2. Accordingly, OEO1 through OEO3 all receive fifth information #5. Subsequently, the OLT may send fifth information #6, indicating that the first OEO to shut down the downstream optical module is OEO3. Accordingly, OEO1 through OEO3 all receive fifth information #6.
[0236] In case 3, the OLT sends the fifth information in a broadcast or multicast manner, and all first OEOs correspond to the same fifth information.
[0237] In this case, the fifth information indicates the time when each of the at least one first OEO turns off the downlink optical module.
[0238] At this time, S1001 may include: the OLT sends the fifth information. Correspondingly, each of the at least one first OEO receives the fifth information from the OLT.
[0239] Taking the communication system shown in Figure 3 as an example, if at least one first OEO includes OEO1 through OEO3, the OLT can send a fifth message indicating that OEO1 is to shut down its downstream optical module during time period T1, OEO2 is to shut down its downstream optical module during time period T2, and OEO3 is to shut down its downstream optical module during time period T3. Time periods T1, T2, and T3 do not overlap, meaning they do not contain the same time points.
[0240] S1002: Each first OEO in the at least one first OEO turns off an uplink optical module and / or a downlink optical module according to the received fifth information.
[0241] Exemplarily, S1002 may include: each of the at least one first OEO shutting down a downlink optical module according to the received fifth information, each of the at least one first OEO shutting down an uplink optical module according to the received fifth information, or each of the at least one first OEO shutting down both the uplink optical module and the downlink optical module according to the received fifth information.
[0242] The principle of each of the at least one first OEO shutting down the downlink optical module according to the received fifth information will be described below in conjunction with Cases 1 to 3.
[0243] For case 1, each of the at least one first OEO may shut down the downstream optical module after receiving the fifth information. Each of the at least one first OEO may shut down the downstream optical module after receiving the fifth information for a first time threshold.
[0244] The interval duration threshold may be indicated by the fifth information, or may be pre-configured in the first OEO.
[0245] For example, the first duration threshold may be 1 millisecond.
[0246] It is understandable that the first duration thresholds of different first OEOs may be the same or different, and will not be described in detail here.
[0247] For scenario 2, after receiving the fifth information instructing the first OEO to shut down the downlink optical module, each first OEO in the at least one OEO may shut down the downlink optical module at intervals equal to a second duration threshold. The second duration threshold may be indicated by the fifth information or pre-configured in the first OEO. The second duration threshold may be the same as or different from the first duration threshold.
[0248] For situation 3, each of the at least one first OEO may shut down the downlink optical module according to the time indicated in the fifth information after receiving the fifth information.
[0249] Taking the communication system shown in Figure 3 as an example, assuming that at least one first OEO includes OEO1 through OEO3, if the fifth information indicates that OEO1 shuts down its downstream optical module during time period 1, OEO2 shuts down its downstream optical module during time period 2, and OEO3 shuts down its downstream optical module during time period 3, and time periods 1 through 3 do not overlap, then OEO1 shuts down its downstream optical module during time period 1, OEO2 shuts down its downstream optical module during time period 2, and OEO3 shuts down its downstream optical module during time period 3.
[0250] The principle of each of the at least one first OEO shutting down the uplink optical module according to the received fifth information, or the principle of each of the at least one first OEO shutting down the uplink optical module and the downlink optical module according to the received fifth information, can be referred to the relevant description of Cases 1 to 3, and will not be repeated here.
[0251] It is understood that when the uplink optical module of a first OEO is turned off and the downlink optical module is turned on, the first OEO is in an online state. When at least one downlink optical module of a first OEO is turned off, the first OEO is in an offline state.
[0252] It is understandable that in the embodiment of the present application, different first OEOs shut down the optical module for different time periods.
[0253] S1003: Each online first OEO of at least one first OEO sends sixth information to the OLT. Correspondingly, the OLT receives sixth information corresponding to the fifth information.
[0254] The sixth information corresponding to the fifth information is used to indicate an online ONT. In other words, the sixth information corresponding to the fifth information includes identification information of the online first OEO or identification information of the ONT device.
[0255] Taking the communication system shown in Figure 3 as an example, assume that of all the OEOs and ONTs in Figure 3, only ONT3 is offline. While OEO1's downlink optical module is off, OEO1 can send the sixth message to the OLT. Accordingly, the OLT can receive the sixth message from OEO1. However, the OLT cannot receive the sixth message from OEO2 to OEO3. While OEO2 is off, the OLT can receive the sixth message from OEO1, indicating that ONT2 and ONT3 are online. While OEO3 is off, the OLT can receive the sixth message from OEO2, indicating that ONT4 and ONT5 are online.
[0256] In this way, the connection relationship shown in FIG5 can be obtained.
[0257] S1004: The OLT determines first information corresponding to each first OEO according to sixth information corresponding to the fifth information.
[0258] The sixth information corresponding to each fifth information corresponds to the first OEO indicated by the fifth information to shut down the uplink optical module and / or the downlink optical module.
[0259] Determining the first information corresponding to each first OEO according to the sixth information corresponding to the fifth information may include: the OLT parsing the sixth information corresponding to the fifth information to obtain online devices in the optical network, and then determining the first information according to the online devices in the optical network before the first OEO shuts down the upstream optical module and / or the downstream optical module.
[0260] Regarding the principle of the OLT parsing the sixth information corresponding to the fifth information to obtain the online devices in the optical network, reference can be made to the relevant introduction in the above S801, which will not be repeated here.
[0261] The following description is made in conjunction with the communication system shown in FIG3 .
[0262] Assume that all devices in the communication system are online before time T3. At time T3, the OLT begins sending the fifth message, which instructs the downlink optical module of OEO2 to shut down. Thus, each online device can send the sixth message to the OLT, corresponding to the fifth message. Based on the sixth message corresponding to the fifth message, it can be determined that OEO1 and OEO2 are online, and that ONT1 through ONT3 are online. Thus, the online devices indicated by the first message corresponding to OEO2 include all devices online before T3, excluding those determined to be online based on the sixth message.
[0263] S1005: The OLT determines a connection relationship of cascaded devices in the optical network according to first information corresponding to each first OEO in the at least one first OEO.
[0264] For the implementation principle of S1005, please refer to the relevant introduction of S402 or S803, which will not be repeated here.
[0265] In a possible design solution, the method shown in FIG10 may further include step 10.1: the OLT determines a faulty OEO and / or ONT according to a connection relationship between devices in the optical network.
[0266] For the specific implementation principle of step 10.1, please refer to the relevant introduction of step 8.9 above, which will not be repeated here.
[0267] In the embodiment of the present application, step 10.2 may also be included.
[0268] In step 10.2, the OLT receives upstream information from the ONT directly connected to the OLT.
[0269] For the implementation principle of uplink information, please refer to the relevant introduction in step 4.1 or step 8.10, which will not be repeated here.
[0270] For the implementation principle of OLT directly connected to ONT, please refer to the relevant introduction in step 4.1 or step 8.10, which will not be repeated here.
[0271] For the implementation principle of step 10.2, please refer to the relevant introduction of step 4.1 or step 8.10, which will not be repeated here.
[0272] In the embodiment of the present application, the execution order of step 10.2 and S1001 to S1005 is not limited and will not be repeated here.
[0273] In step 10.3, the OLT determines an online ONT among the ONTs directly connected to the OLT based on the uplink information of the ONTs directly connected to the OLT.
[0274] For the implementation principle of step 10.3, please refer to the relevant introduction of step 4.2 or step 8.11, which will not be repeated here.
[0275] Based on the connection relationship of the cascaded devices in the optical network determined in S1005 above, the OLT may further perform the following step 10.4.
[0276] In step 10.4, the OLT determines the connection relationship between devices in the entire optical network in conjunction with all lower-level devices of the OLT. The implementation principle of step 10.4 can be referred to the relevant introduction of step 4.3 or step 8.12, and will not be repeated here.
[0277] In order to simplify the data processing flow of the first OEO and the data interaction flow, the OLT can obtain the first information by itself through the information exchanged in the optical network received by the OLT, such as PLOAM messages.
[0278] FIG11 is a flow chart of another method for determining a network connection relationship provided by an embodiment of the present application. As shown in FIG11 , the method includes:
[0279] S1101: The OLT receives seventh information of at least one first OEO.
[0280] The seventh information is information used for operation management and maintenance of the physical layer, and one piece of the seventh information corresponds to one first OEO or a lower-level device of the first OEO.
[0281] For example, the seventh information may be a PLOAM message. The seventh information carries identification information of the ONT that sends the seventh information and identification information of the OEO connected to the ONT that sends the seventh information.
[0282] For the specific implementation principle of the seventh information, please refer to the above introduction about the second information.
[0283] S1102: The OLT parses the seventh information, and determines first information corresponding to each first OEO in at least one first OEO according to parsing results of each seventh information.
[0284] The OLT determines, based on the parsing results of each seventh information, the first information corresponding to each first OEO in the at least one first OEO. This may include: the OLT determining the device indicated as being in an online state in the seventh information as an online device, and determining a connection relationship based on the online devices in the subordinate devices of each first OEO.
[0285] For the implementation principle of S1102, please refer to the relevant introduction of acquisition method 1 in S802, which will not be repeated here.
[0286] S1103: The OLT determines a connection relationship of cascaded devices in the optical network according to first information corresponding to each first OEO in the at least one first OEO.
[0287] For the implementation principle of S1103, please refer to the relevant introduction of S402, S803, or S1005, which will not be repeated here.
[0288] In the embodiment of the present application, “online” may mean that the device can communicate with the OLT when the optical line between the device and the OLT is connected.
[0289] The above describes in detail the network connection relationship determination method provided by the embodiment of the present application in conjunction with Figures 3 to 11. The following describes in detail the communication device for executing the network connection relationship determination method provided by the embodiment of the present application in conjunction with Figures 12 and 13.
[0290] For example, Figure 12 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. As shown in Figure 12, the communication device 1200 includes: a processing module 1201 and a transceiver module 1202. For ease of illustration, Figure 12 only shows the main components of the communication device 1200.
[0291] In some embodiments, the communication device 1200 may be applicable to the communication system shown in FIG. 3 , and perform the function of the first OEO in the network connection relationship determination method shown in FIG. 4 and FIG. 8 .
[0292] The processing module 1201 is configured to obtain first information corresponding to the communication device 1200 .
[0293] The first information corresponding to the communication device 1200 is used to indicate an online device among the subordinate devices of the communication device 1200 . The subordinate devices of the communication device 1200 include a second OEO and / or an ONT.
[0294] The transceiver module 1202 is configured to send first information corresponding to the communication device 1200 to the OLT in the optical network.
[0295] In one possible design, processing module 1201 is specifically configured to receive at least one second information via transceiver module 1202. The second information is information used for operation, management, and maintenance of the physical layer, and one piece of second information corresponds to one lower-level device of communication apparatus 1200. Processing module 1201 is specifically configured to obtain first information based on the at least one second information.
[0296] Optionally, processing module 1201 is further configured to parse at least one second information to obtain identification information and status information of a device corresponding to each second information. The first information is then obtained based on the identification information and status information of the device corresponding to each second information. The online devices among the lower-level devices of communication apparatus 1200 indicated by the first information include devices whose status information indicates they are online among the devices corresponding to the at least one second information.
[0297] In one possible design, processing module 1201 is specifically configured to receive at least one second information and third information via transceiver module 1202. The second information is information used for physical layer operation, management, and maintenance, with one piece of second information corresponding to one lower-level device of communication apparatus 1200. The third information is information used for allocating time domain resources. Processing module 1201 is specifically configured to obtain the first information based on the second information and the third information.
[0298] Optionally, processing module 1201 is further configured to parse each second information to obtain identification information and status information of the device corresponding to each second information. Furthermore, processing module 1201 is configured to parse third information to obtain offline devices among the lower-level devices of communication device 1200. First information is determined based on the identification information and status information of the device corresponding to each second information, as well as the offline devices among the lower-level devices of communication device 1200. The online devices among the lower-level devices of communication device 1200 indicated by the first information include: devices corresponding to at least one second information and indicating online status, excluding the offline devices among the lower-level devices of communication device 1200.
[0299] In one possible design, processing module 1201 is specifically configured to receive at least one fourth information via transceiver module 1202, as well as third information from the OLT. The fourth information carries data packets exchanged between the OLT and a downstream device of communication apparatus 1200, and includes identification information of the device sending the fourth information. The third information is information used to allocate time domain resources. Processing module 1201 is specifically configured to obtain the first information based on the fourth information and the third information.
[0300] Optionally, processing module 1201 is further configured to parse the fourth information to obtain identification information of a subordinate device of communication apparatus 1200 corresponding to each fourth information. Furthermore, processing module 1201 is configured to parse each third information to obtain offline devices among the subordinate devices of communication apparatus 1200. First information is then determined based on the identification information of the subordinate device of communication apparatus 1200 corresponding to each fourth information and the offline devices among the subordinate devices of communication apparatus 1200. The online devices among the subordinate devices of communication apparatus 1200 indicated by the first information include all devices among the subordinate devices of communication apparatus 1200 corresponding to the fourth information, excluding the offline devices among the subordinate devices of communication apparatus 1200.
[0301] In one possible design, the transceiver module 1202 is specifically configured to send first information corresponding to the communication device 1200 to the OLT in the optical network when it is determined that an online device in a lower-level device of the communication device 1200 has changed.
[0302] In one possible design solution, the transceiver module 1202 is further configured to receive a first acquisition request from the OLT, wherein the first acquisition request is used to instruct the communication device 1200 to send the first information.
[0303] Optionally, the transceiver module 1202 is further configured to send first alarm information to the OLT, wherein the first alarm information is used to instruct the OLT to send a first acquisition request.
[0304] In a possible design solution, the transceiver module 1202 is further configured to receive a second acquisition request from the OLT, wherein the second acquisition request is used to indicate: identification information of an online device among the lower-level devices of the sending communication apparatus 1200 .
[0305] Optionally, the transceiver module 1202 is further configured to send second alarm information to the OLT, wherein the second alarm information is used to instruct the OLT to send a second acquisition request.
[0306] Optionally, the transceiver module 1202 may include a receiving module and a sending module (not shown in FIG12 ). The transceiver module 1202 is used to implement the sending function and the receiving function of the communication device 1200 .
[0307] Optionally, the communication device 1200 may further include a storage module (not shown in FIG12 ) storing a program or instruction. When the processing module 1201 executes the program or instruction, the communication device 1200 may perform the function of the first OEO in the method for determining a network connection relationship shown in either FIG3 or FIG8 .
[0308] It should be understood that the processing module 1201 involved in the communication device 1200 can be implemented by a processor or a processor-related circuit component, which can be a processor or a processing unit; the transceiver module 1202 can be implemented by a transceiver or a transceiver-related circuit component, which can be a transceiver or a transceiver unit.
[0309] It should be noted that the communication device 1200 can be a terminal device or a network device, or a chip (system) or other parts or components that can be set in the terminal device or network device, or a device that includes a terminal device or a network device. This application does not limit this.
[0310] In addition, the technical effects of the communication device 1200 can refer to the technical effects of the network connection relationship determination method shown in any one of Figures 3 or 8, and will not be repeated here.
[0311] In other embodiments, the communication device 1200 may be applicable to the communication system shown in FIG. 3 , and perform the function of the OLT in the network connection relationship determination method shown in FIG. 3 , FIG. 8 , FIG. 10 , or FIG. 11 .
[0312] Processing module 1201 is configured to obtain, via transceiver module 1202, first information corresponding to each of at least one first OEO in the optical network. The first information corresponding to a first OEO indicates an online device among subordinate devices of the first OEO, where the subordinate devices of the first OEO include a second OEO and / or an ONT. Processing module 1201 is further configured to determine a connection relationship between cascaded devices in the optical network based on the first information corresponding to each of the at least one first OEO.
[0313] In a possible design solution, the processing module 1201 is specifically configured to receive, through the transceiver module 1202 , first information corresponding to each first OEO in the at least one first OEO.
[0314] Exemplarily, the transceiver module 1202 is further configured to send third information, where the third information is information for allocating time domain resources.
[0315] Optionally, the transceiver module 1202 is further configured to send a first acquisition request to each of the at least one first OEO, wherein the first acquisition request is used to instruct the first OEO to send the first information.
[0316] Furthermore, the transceiver module 1202 is further configured to receive first alarm information from each of the at least one first OEO, wherein the first alarm information is used to instruct the communication device 1200 to send third information.
[0317] Optionally, the transceiver module 1202 is further configured to send a second acquisition request to each of the at least one first OEO, wherein the second acquisition request is used to indicate: sending identification information of online devices among the subordinate devices of the first OEO.
[0318] Furthermore, the transceiver module 1202 is further configured to receive second alarm information from each of the at least one first OEO, wherein the second alarm information is used to instruct the communication device 1200 to send a second acquisition request.
[0319] In one possible design, processing module 1201 is specifically configured to send fifth information to each of at least one first OEO via transceiver module 1202. The fifth information instructs the first OEO to shut down an uplink optical module and / or a downlink optical module. Processing module 1201 is further configured to receive sixth information corresponding to the fifth information via transceiver module 1202. The sixth information indicates an online ONT. Processing module 1201 is specifically configured to determine first information corresponding to each first OEO based on each piece of sixth information.
[0320] In one possible design, the processing module 1201 is further configured to determine a faulty OEO and / or ONT based on a connection relationship among cascaded devices in the optical network.
[0321] Optionally, the transceiver module 1202 may include a receiving module and a sending module (not shown in FIG12 ). The transceiver module 1202 is used to implement the sending function and the receiving function of the communication device 1200 .
[0322] Optionally, the communication device 1200 may further include a storage module (not shown in FIG. 12 ) storing a program or instruction. When the processing module 1201 executes the program or instruction, the communication device 1200 may perform the OLT function in the method for determining a network connection relationship shown in any one of FIG. 3 , FIG. 8 , FIG. 10 , or FIG. 11 .
[0323] It should be understood that the processing module 1201 involved in the communication device 1200 can be implemented by a processor or a processor-related circuit component, which can be a processor or a processing unit; the transceiver module 1202 can be implemented by a transceiver or a transceiver-related circuit component, which can be a transceiver or a transceiver unit.
[0324] It should be noted that the communication device 1200 can be a terminal device or a network device, or a chip (system) or other parts or components that can be set in the terminal device or network device, or a device that includes a terminal device or a network device. This application does not limit this.
[0325] In addition, the technical effects of the communication device 1200 can refer to the technical effects of the network connection relationship determination method shown in any one of Figures 3, 8, 10, or 11, and will not be repeated here.
[0326] For example, FIG13 is a schematic diagram of the structure of another communication device provided in an embodiment of the present application. The communication device may be a terminal device or a network device, or may be a chip (system) or other component or assembly that can be provided in the terminal device or the network device. As shown in FIG13 , the communication device 1300 may include a processor 1301. Optionally, the communication device 1300 may further include a memory 1302 and / or a transceiver 1303. The processor 1301 is coupled to the memory 1302 and the transceiver 1303, such as by a communication bus.
[0327] The following is a detailed introduction to the various components of the communication device 1300 with reference to FIG13 :
[0328] The processor 1301 is the control center of the communication device 1300 and can be a single processor or a collective term for multiple processing elements. For example, the processor 1301 can be one or more central processing units (CPUs), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more digital signal processors (DSPs) or one or more field programmable gate arrays (FPGAs).
[0329] Optionally, the processor 1301 may execute various functions of the communication device 1300 by running or executing a software program stored in the memory 1302 and calling data stored in the memory 1302 .
[0330] In a specific implementation, as an embodiment, the processor 1301 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG13 .
[0331] In a specific implementation, as an embodiment, the communication device 1300 may also include multiple processors, such as the processor 1301 and the processor 1304 shown in FIG13 . Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0332] Among them, the memory 1302 is used to store the software program for executing the solution of this application, and the execution is controlled by the processor 1301. The specific implementation method can refer to the above method embodiment and will not be repeated here.
[0333] Alternatively, the memory 1302 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1302 may be integrated with the processor 1301 or exist independently and be coupled to the processor 1301 via an interface circuit (not shown in FIG. 13 ) of the communication device 1300. This embodiment of the present application does not specifically limit this.
[0334] Transceiver 1303 is used for communication with other communication devices. For example, if communication device 1300 is a terminal device, transceiver 1303 can be used to communicate with a network device or another terminal device. For another example, if communication device 1300 is a network device, transceiver 1303 can be used to communicate with a terminal device or another network device.
[0335] Optionally, the transceiver 1303 may include a receiver and a transmitter (not shown separately in FIG13 ), wherein the receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.
[0336] Optionally, the transceiver 1303 can be integrated with the processor 1301, or can exist independently and be coupled to the processor 1301 through the interface circuit of the communication device 1300 (not shown in Figure 13). This embodiment of the present application does not specifically limit this.
[0337] It should be noted that the structure of the communication device 1300 shown in FIG13 does not constitute a limitation on the communication device. An actual communication device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0338] In addition, the technical effects of the communication device 1300 can refer to the technical effects of the network connection relationship determination method described in the above method embodiment, and will not be repeated here.
[0339] It should be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), and the processor may also be other general-purpose processors, DSPs, application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0340] It should also be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a ROM, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrical EEPROM, or a flash memory. The volatile memory can be a RAM, which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0341] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (such as infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state drive.
[0342] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. A and B can be singular or plural. Furthermore, the character " / " as used herein generally indicates an "or" relationship between the associated objects, but it may also indicate an "and / or" relationship. For specific understanding, please refer to the context.
[0343] In this application, "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, ab, ac, bc, or abc, where a, b, and c can be single or plural.
[0344] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0345] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0346] Those skilled in the art will 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.
[0347] In the several embodiments provided in this 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 merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units 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 through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0348] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0349] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0350] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0351] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for determining a network connection relationship, characterized in that: The method comprises: The first optoelectronic device obtains first information corresponding to the first optoelectronic device; wherein the first information corresponding to the first optoelectronic device is used to indicate: an online device in a subordinate device of the first optoelectronic device, the subordinate device of the first optoelectronic device including: a second optoelectronic device and / or an optical network terminal; The first optoelectronic device sends first information corresponding to the first optoelectronic device to an optical line terminal in an optical network.
2. The method according to claim 1, characterized in that The first optoelectronic device obtains first information corresponding to the first optoelectronic device, including: The first optoelectronic device receives at least one second information; wherein the second information is information used for operation management and maintenance of the physical layer, and one second information corresponds to a lower-level device of the first optoelectronic device; The first optoelectronic device obtains the first information according to the at least one second information.
3. The method according to claim 2, characterized in that The first optoelectronic device acquiring the first information according to the second information includes: The first optoelectronic device parses the at least one second information to obtain identification information and status information of a device corresponding to each second information; The first optoelectronic device obtains the first information based on the identification information and status information of each device corresponding to the second information; wherein, the online devices in the subordinate devices of the first optoelectronic device indicated by the first information include: among the devices corresponding to at least one second information, the devices whose status information is online.
4. The method according to claim 1, wherein The first optoelectronic device obtaining first information corresponding to the first optoelectronic device includes: The first optoelectronic device receives at least one second information and third information; wherein the second information is information used for operation management and maintenance of the physical layer, one second information corresponds to a lower-level device of the first optoelectronic device, and the third information is information used for allocating time domain resources; The first optoelectronic device obtains the first information according to the second information and the third information.
5. The method according to claim 4, characterized in that The first optoelectronic device obtains the first information according to the second information and the third information, including: The first optoelectronic device parses each of the second information to obtain identification information and status information of the device corresponding to each of the second information; The first optoelectronic device parses the third information to obtain offline devices among the lower-level devices of the first optoelectronic device; The first optoelectronic device determines the first information based on the identification information and status information of each device corresponding to the second information, as well as the offline devices among the subordinate devices of the first optoelectronic device; wherein the online devices among the subordinate devices of the first optoelectronic device indicated by the first information include: devices corresponding to at least one second information and whose status information is online, except for the offline devices among the subordinate devices of the first optoelectronic device.
6. The method according to claim 1, characterized in that The first optoelectronic device obtaining first information corresponding to the first optoelectronic device includes: The first optoelectronic device receives at least one fourth information; wherein the fourth information is used to carry data packets exchanged between the optical line terminal and a lower-level device of the first optoelectronic device, and the fourth information carries identification information of the device sending the fourth information; The first optoelectronic device receives third information from the optical line terminal; wherein the third information is information for allocating time domain resources; The first optoelectronic device obtains the first information according to the fourth information and the third information.
7. The method according to claim 6, characterized in that The first optoelectronic device obtains the first information according to the fourth information and the third information, including: The first optoelectronic device parses the fourth information to obtain identification information of a lower-level device of the optical line terminal corresponding to each piece of the fourth information; The first optoelectronic device parses each of the third information to obtain the offline devices of the lower level devices of the first optoelectronic device. equipment; The first optoelectronic device determines the first information based on the identification information of the subordinate devices of the first optoelectronic device corresponding to each of the fourth information, and the devices that have been offline among the subordinate devices of the first optoelectronic device; wherein, the online devices among the subordinate devices of the first optoelectronic device indicated by the first information include: all the devices among the subordinate devices of the first optoelectronic device corresponding to the fourth information, except the devices that have been offline among the subordinate devices of the first optoelectronic device.
8. The method according to any one of claims 1 to 7, characterized in that The first optoelectronic device sending first information corresponding to the first optoelectronic device to an optical line terminal in the optical network includes: If the first optoelectronic device determines that an online device in a subordinate device of the first optoelectronic device has changed, the first optoelectronic device sends first information corresponding to the first optoelectronic device to an optical line terminal in the optical network.
9. The method according to any one of claims 1 to 7, characterized in that The method further comprises: The first optoelectronic device receives a first acquisition request from the optical line terminal; wherein the first acquisition request is used to instruct the first optoelectronic device to send the first information.
10. The method according to claim 9, characterized in that Before the first optoelectronic device receives the first acquisition request from the optical line terminal, the method further includes: The first optoelectronic device sends first alarm information to the optical line terminal; wherein the first alarm information is used to instruct the optical line terminal to send the first acquisition request.
11. The method according to any one of claims 1 to 7, characterized in that The method further comprises: The first optoelectronic device receives a second acquisition request from an optical line terminal, wherein the second acquisition request is used to instruct: sending identification information of an online device among subordinate devices of the first optoelectronic device.
12. The method according to claim 11, characterized in that Before the first optoelectronic device receives a second acquisition request from the optical line terminal, the method further includes: The first optoelectronic device sends second alarm information to the optical line terminal; wherein the second alarm information is used to instruct the optical line terminal to send the second acquisition request.
13. A method for determining a network connection relationship, characterized in that: The method comprises: The optical line terminal obtains first information corresponding to each first optoelectronic device of at least one first optoelectronic device in the optical network; wherein the first information corresponding to one of the first optoelectronic devices is used to indicate: an online device in a subordinate device of the first optoelectronic device, the subordinate device of the first optoelectronic device including a second optoelectronic device and / or an optical network terminal; The optical line terminal determines a connection relationship between cascaded devices in the optical network according to the first information corresponding to each of the at least one first optoelectronic device.
14. The method according to claim 13, characterized in that The optical line terminal obtains first information corresponding to each first optoelectronic device in at least one first optoelectronic device in the optical network, including: The optical line terminal receives first information corresponding to each first optoelectronic device of the at least one first optoelectronic device.
15. The method according to claim 14, characterized in that Before the optical line terminal obtains first information corresponding to each first optoelectronic device in at least one first optoelectronic device in the optical network, the method further includes: The optical line terminal sends third information; wherein the third information is information used to allocate time domain resources.
16. The method according to claim 14 or 15, characterized in that The method further comprises: The optical line terminal sends a first acquisition request to each of the at least one first optoelectronic device; wherein the first acquisition request is used to instruct the first optoelectronic device to send the first information.
17. The method according to claim 16, characterized in that The method further comprises: The optical line terminal receives first alarm information from each first optoelectronic device of the at least one first optoelectronic device; wherein the first alarm information is used to instruct sending the first acquisition request.
18. The method according to claim 14 or 15, characterized in that The method further comprises: The optical line terminal sends a second acquisition request to each first optoelectronic device in the at least one first optoelectronic device; wherein the second acquisition request is used to indicate: sending identification information of online devices in the subordinate devices of the first optoelectronic device.
19. The method according to claim 18, characterized in that The method further comprises: The optical line terminal receives second alarm information from each first optoelectronic device of the at least one first optoelectronic device; wherein the second alarm information is used to instruct the optical line terminal to send the second acquisition request.
20. The method according to claim 13, wherein The optical line terminal obtains first information corresponding to each first optoelectronic device in at least one first optoelectronic device in the optical network, including: The optical line terminal sends fifth information to each first optoelectronic device of the at least one first optoelectronic device; wherein the fifth information is used to instruct the first optoelectronic device to turn off the uplink optical module and / or the downlink optical module; The optical line terminal receives sixth information corresponding to the fifth information; the sixth information corresponding to the fifth information is used to indicate an online optical network terminal; The optical line terminal determines the first information corresponding to each of the first optoelectronic devices according to the sixth information corresponding to each of the fifth information.
21. The method according to any one of claims 13 to 20, characterized in that The method further comprises: The optical line terminal determines the failed optoelectronic device and / or optical network terminal according to the connection relationship of the cascaded devices in the optical network.
22. A method for determining a network connection relationship, characterized in that: The method comprises: At least one first optoelectronic device obtains first information corresponding to the first optoelectronic device; wherein the first information corresponding to the first optoelectronic device is used to indicate: an online device in a subordinate device of the first optoelectronic device, the subordinate device of the first optoelectronic device including a second optoelectronic device and / or an optical network terminal; Among the at least one first optoelectronic device, each of the first optoelectronic device sends first information corresponding to the first optoelectronic device to an optical line terminal in the optical network; The optical line terminal receives first information corresponding to each of the at least one first optoelectronic device; The optical line terminal determines a connection relationship between cascaded devices in the optical network according to the first information corresponding to each of the at least one first optoelectronic device.
23. The method according to claim 22, characterized in that The at least one first optoelectronic device obtaining first information corresponding to the first optoelectronic device includes: Each of the at least one first optoelectronic device receives at least one second information; wherein the second information is information used for operation management and maintenance of the physical layer, and one second information corresponds to a subordinate device of the first optoelectronic device; Each first optoelectronic device of the at least one first optoelectronic device obtains the first information according to the at least one second information.
24. The method according to claim 23, wherein Each first optoelectronic device of the at least one first optoelectronic device obtains the first information according to the at least one second information, including: Each first optoelectronic device of the at least one first optoelectronic device parses the at least one second information to obtain identification information and status information of a device corresponding to each second information; Each first optoelectronic device in the at least one first optoelectronic device obtains the first information based on the identification information and status information of the device corresponding to each second information; wherein, the online devices in the subordinate devices of the first optoelectronic device indicated by the first information include: among the devices corresponding to the at least one second information, the devices whose status information is online.
25. The method according to claim 22, wherein The at least one first optoelectronic device obtaining first information corresponding to the first optoelectronic device includes: Each of the at least one first optoelectronic device receives at least one second information and third information; wherein the second information is information used for operation management and maintenance of the physical layer, one second information corresponds to a subordinate device of the first optoelectronic device, and the third information is information used for allocating time domain resources; Each first optoelectronic device of the at least one first optoelectronic device obtains the first information based on the second information and the third information.
26. The method according to claim 25, characterized in that Each first optoelectronic device of the at least one first optoelectronic device obtains the first information according to the second information and the third information, including: Each first optoelectronic device in the at least one first optoelectronic device parses each second information to obtain each identification information and status information of the device corresponding to the second information; Each of the at least one first optoelectronic device parses the third information to obtain a device that has gone offline among subordinate devices of the first optoelectronic device; Each of the at least one first optoelectronic-optical devices determines the first information based on the identification information and status information of the device corresponding to each second information, and the offline devices among the subordinate devices of the first optoelectronic-optical device; wherein the online devices among the subordinate devices of the first optoelectronic-optical device indicated by the first information include: the devices corresponding to the at least one second information and whose status information is online, except the offline devices among the subordinate devices of the first optoelectronic-optical device.
27. The method according to claim 22, wherein The at least one first optoelectronic device obtaining first information corresponding to the first optoelectronic device includes: Each of the at least one first optoelectronic device receives at least one fourth message; wherein the fourth message is used to carry data packets exchanged between the optical line terminal and a downstream device of the first optoelectronic device, and the fourth message carries identification information of the device sending the fourth message; Each of the at least one first optoelectronic device receives third information from the optical line terminal; wherein the third information is information for allocating time domain resources; Each first optoelectronic device of the at least one first optoelectronic device obtains the first information according to the fourth information and the third information.
28. The method according to claim 27, characterized in that Each first optoelectronic device of the at least one first optoelectronic device obtains the first information according to the fourth information and the third information, including: Each first optoelectronic device of the at least one first optoelectronic device parses the fourth information to obtain identification information of a lower-level device of the optical line terminal corresponding to each fourth information; Each of the at least one first optoelectronic device parses each piece of the third information to obtain a device that has gone offline among subordinate devices of the first optoelectronic device; Each first optoelectronic-optical device of the at least one first optoelectronic-optical device determines the first information based on the identification information of the subordinate device of the first optoelectronic-optical device corresponding to each fourth information, and the offline devices among the subordinate devices of the first optoelectronic-optical device; wherein, the online devices among the subordinate devices of the first optoelectronic-optical device indicated by the first information include: all devices among the subordinate devices of the first optoelectronic-optical device corresponding to the fourth information, except the offline devices among the subordinate devices of the first optoelectronic-optical device.
29. The method according to any one of claims 22 to 28, wherein: The step of each of the at least one first optoelectronic device sending first information corresponding to the first optoelectronic device to an optical line terminal in the optical network includes: If the first optoelectronic device determines that an online device in a subordinate device of the first optoelectronic device has changed, the first optoelectronic device sends first information corresponding to the first optoelectronic device to an optical line terminal in the optical network.
30. The method according to any one of claims 22 to 28, wherein The method further comprises: The optical line terminal sends a first acquisition request to each first optoelectronic device of the at least one first optoelectronic device; wherein the first acquisition request is used to instruct the first optoelectronic device to send the first information; Each of the at least one first optoelectronic device receives the first acquisition request from the optical line terminal.
31. The method according to claim 30, wherein The method further comprises: Each of the at least one first optoelectronic device sends first alarm information to the optical line terminal; The optical line terminal receives first alarm information from each first optoelectronic device of the at least one first optoelectronic device; wherein the alarm information is used to instruct sending the first acquisition request.
32. The method according to any one of claims 22 to 28, wherein: The method further comprises: The optical line terminal sends a second acquisition request to each first optoelectronic device in the at least one first optoelectronic device; wherein the second acquisition request is used to indicate: sending identification information of an online device in a subordinate device of the first optoelectronic device; Each of the at least one first optoelectronic device receives the second acquired signal from the optical line terminal. Get request.
33. The method according to claim 32, characterized in that The method further comprises: Each of the at least one first optoelectronic device sends second alarm information to the optical line terminal; The optical line terminal receives second alarm information from each first optoelectronic device of the at least one first optoelectronic device; wherein the second alarm information is used to instruct sending the second acquisition request.
34. The method according to any one of claims 22 to 33, wherein: The method further comprises: The optical line terminal determines the failed optoelectronic device and / or optical network terminal according to the connection relationship of the cascaded devices in the optical network.
35. A communication system, characterized in that: The communication system comprises a first optoelectronic device and an optical line terminal, the first optoelectronic device is used to perform the method according to any one of claims 1 to 12, and the optical line terminal is used to perform the method according to any one of claims 13 to 21.
36. A communication device, characterized in that The communication device is configured to execute the method according to any one of claims 1 to 21.
37. A communication device, characterized in that: include: processor; The processor is configured to execute the method according to any one of claims 1 to 21.
38. A communication device, characterized in that: include: processor and interface circuit; wherein, The processor and the interface circuit are connected to each other via a line; The processor is configured to execute the method according to any one of claims 1 to 21.
39. A communication device, characterized in that: The communication device includes a processor and a transceiver, wherein the processor and the transceiver are connected to each other via a line, and the processor is configured to execute the method according to any one of claims 1 to 21.
40. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a computer program or instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 21.
41. A computer program product, characterized in that The computer program product comprises: a computer program or instructions, and when the computer program or instructions are run on a computer, the computer is caused to perform the method according to any one of claims 1 to 21.
