Channel terminal selection method and apparatus in optical access network, and communication device

By introducing multi-standard PON adaptive mechanisms and hybrid optical modules into the optical access network, ONU equipment is allowed to automatically switch channel terminals when the OLT interface is upgraded, which solves the problem of poor transmission performance and achieves smooth upgrade and transmission performance of the OLT interface. improvement.

WO2024183676A1PCT designated stage expired Publication Date: 2024-09-12CHINA MOBILE COMM LTD RES INST +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/079822
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-03
Filing Date
2024-03-04
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In the optical access network, the transmission performance between OLT and ONU is poor. Especially when the PON interface is upgraded, the ONU can only support one standard, causing user service interruption and being unable to flexibly adapt to changes in the OLT interface.

Method used

Provide a method and device for selecting channel terminals in an optical access network, allowing the second device to switch between different channel terminals of the OLT, supporting multiple PON interfaces, and realizing the reception and processing of signals of different formats through hybrid optical modules and system-level chips. Transmission, use the ONU management control interface for automatic switching to ensure stable transmission performance.

Benefits of technology

It achieves normal transmission between ONU and OLT, improves transmission performance, avoids user service interruption, supports smooth upgrade of OLT interface, and reduces operation and maintenance costs and broadband experience impact.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024079822_12092024_PF_FP_ABST
    Figure CN2024079822_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of communications. Provided are a channel terminal selection method and apparatus in an optical access network, and a communication device, wherein the method is applied to a first device, and the first device at least supports a first channel terminal and a second channel terminal. The method comprises: a first device being provided with a channel terminal, which channel terminal allows a second device to be connected to the first device, wherein the second device at least supports the connection to a first channel terminal and a second channel terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Channel terminal selection method, device and communication equipment in optical access network

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310197071.4 filed in China on March 3, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of network communication technology, and in particular to a method, apparatus, and communication equipment for selecting a channel terminal in an optical access network. Background Art

[0004] A Passive Optical Network (PON) is a telecommunications network that provides optical fiber. It may include a first device (e.g., an Optical Line Terminal (OLT)), an Optical Distribution Network (ODN), and a second device (e.g., an Optical Network Unit (ONU), a gateway, an intelligent gateway, a Fiber to the Room (FTTR) master device, a FFTR master gateway, a Main FTTR Unit (MFU), and a FTTR master router). The PON system has a multi-point-to-point topology, with multiple Optical Network Units (ONUs) sharing the trunk fiber.

[0005] Depending on the rate, wavelength, or protocol, the PON interface can support at least one of multiple different standard interfaces. The different standards may include but are not limited to: 10-Gigabit Passive Optical Network (XG-PON), 10-Gigabit Symmetric Passive Optical Network (XGS-PON), Gigabit Passive Optical Network (GPON), 50G PON, Ethernet Passive Optical Network (EPON), 10G EPON, etc. PON interfaces of different standards usually have different upstream / downstream operating wavelengths. For example, taking the first device as an OLT and the second device as an ONU, the PON interface of the OLT can share the ODN through a wavelength division multiplexing device. ONUs of different rates can be connected under the same ODN, but the ONU can only support access to one PON standard, for example, 10G PON (including XG(S)-PON, 10G EPON, etc.) or GPON. Once the OLT GPON interface is upgraded, ONU user services will be interrupted and the ONU and OLT will be unable to communicate and transmit, resulting in poor transmission performance between the ONU and OLT.

[0006] Summary of the Invention

[0007] Embodiments of the present disclosure provide a method, apparatus, and communication device for selecting a channel terminal in an optical access network to solve the problem of poor transmission performance between a first device and a second device in the related optical access network.

[0008] To solve the above technical problems, the present disclosure is implemented as follows:

[0009] In a first aspect, an embodiment of the present disclosure provides a method for selecting a channel terminal in an optical access network, which is applied to a first device, wherein the first device supports at least a first channel terminal and a second channel terminal, and includes:

[0010] The first device may configure a second device to connect to a channel terminal of the first device, wherein the second device at least supports connection to the first channel terminal and the second channel terminal.

[0011] In a second aspect, an embodiment of the present disclosure provides a method for selecting a channel terminal in an optical access network, which is applied to a second device, where the second device supports at least a first channel terminal and a second channel terminal connected to the first device. The method includes:

[0012] The second device is connected to the channel terminal of the first device based on the setting of the first device or the first mode of the second device.

[0013] In a third aspect, an embodiment of the present disclosure provides a channel terminal selection apparatus in an optical access network, applied to a first device, wherein the first device supports at least a first channel terminal and a second channel terminal, the apparatus comprising:

[0014] The setting module is configured to set a second device to connect to a channel terminal of the first device, wherein the second device at least supports connection to the first channel terminal and a second channel terminal.

[0015] In a fourth aspect, an embodiment of the present disclosure provides a channel terminal selection device in an optical access network, applied to a second device, wherein the first device supports at least a first channel terminal and a second channel terminal, and the second device supports at least the first channel terminal and the second channel terminal connected to the first device, the device comprising:

[0016] A connecting module is configured to connect the second device to the channel terminal of the first device based on the setting of the first device or the first mode of the second device.

[0017] In a fifth aspect, an embodiment of the present disclosure provides a communication device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the channel terminal selection method in the optical access network described in the first aspect or the steps of the channel terminal selection method in the optical access network described in the second aspect are implemented.

[0018] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the channel terminal selection method in the optical access network described in the first aspect are implemented; or when the computer program is executed by a processor, the steps of the channel terminal selection method in the optical access network described in the second aspect are implemented.

[0019] In the channel terminal selection method in the optical access network of this embodiment, the first device supports at least the first channel terminal and the second channel terminal, and the second device supports at least the first channel terminal and the second channel terminal connected to the first device. The first device can set the second device to connect to the channel terminal of the first device. In this way, the second device can have different PON interface docking capabilities and can flexibly access different channel terminals of the first device. Even if the PON port of the first device is upgraded, the channel terminal connected to the second device can be set to adapt to the upgrade of the PON port of the first device, thereby ensuring normal transmission between the second device and the first device and improving the transmission performance between the second device and the first device. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0021] FIG1 is a schematic diagram of a PON system architecture in the related art;

[0022] FIG2 is a second schematic diagram of a PON system architecture in the related art;

[0023] FIG3 is a schematic diagram of a PON system in the related art;

[0024] FIG4 is a schematic diagram of a PON system provided by an embodiment of the present disclosure;

[0025] FIG5 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present disclosure;

[0026] 6 is a flowchart of another method for selecting a channel terminal in an optical access network provided by an embodiment of the present disclosure;

[0027] 7 is an interactive diagram of a channel terminal selection method in an optical access network provided by an embodiment of the present disclosure;

[0028] FIG8 is a schematic diagram of a GPON system protocol stack;

[0029] FIG9 is a diagram of a GRM frame structure;

[0030] Figure 10 is a GPON downlink frame structure diagram;

[0031] FIG11 is a GPON uplink frame structure diagram;

[0032] 12 is a module diagram of a channel terminal selection device in an optical access network provided by an embodiment of the present disclosure;

[0033] 13 is a module diagram of another channel terminal selection device in an optical access network provided by an embodiment of the present disclosure;

[0034] FIG14 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure;

[0035] FIG15 is a schematic structural diagram of a communication device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0036] The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0037] The following describes the relevant contents of this disclosure:

[0038] As shown in Figures 1 and 2, since the upstream transmission of a PON system uses a multi-point-to-point topology, with multiple ONUs sharing the trunk fiber, in order to correctly schedule the start and end times of each ONU's upstream transmission and to "multiplex" each ONU's transmission time slots without overlapping after the optical combiner / optical coupler combines them, the time delay (that is, the distance) between each ONU and the OLT must be known. Otherwise, the difference in the upstream transmission delay between each ONU and the OLT may cause the ONU's time slots to overlap, resulting in collisions between time slots from different ONUs. Specifically, in related art PON systems, the downstream broadcast is continuous, while the upstream is prone to time division multiplexing (TDM) bursts. Therefore, ranging technology must be introduced to compensate for the time delay differences caused by the physical transmission mechanism to ensure that the signals sent by different ONUs can be accurately multiplexed together at the OLT. For example, as shown in Figure 2, the uplink of GPON / XG(S)-PON (i.e., XG-PON, XGS-PON) transmits data via time division multiplexing. The uplink is divided into different time slots, and each ONU is assigned an uplink time slot based on the upstream bandwidth map field of the downlink frame. This allows each ONU to send its data in a certain order, avoiding conflicts caused by competing for time slots. It should be noted that XG-PON: A 10-Gigabit-capable passive optical network that provides asymmetric 10G transmission, while XGS-PON: A 10-Gigabit-capable symmetric passive optical network that provides symmetric 10G transmission.

[0039] As shown in Figure 3, in related technologies, since 10G PON and GPON have different upstream / downstream wavelengths, the OLT of the PON system can share the ODN through wavelength division multiplexing (WDM) devices. In Figure 3, BOSA is an optical module (also known as a Bi-Directional Optical Sub-Assembly) and SoC is a system-on-chip (SoC). Multiple PONs can be connected under the same ODN, for example, GPON ONU and 10G PON ONU. For GPON, the downstream / upstream bandwidth is: 2.5G / 1.24G, and for 10G PON, the downstream / upstream bandwidth is: 10G / 2.5G and 10G / 10G. However, the ONU can only support access to one type of PON, namely 10G PON or GPON. Especially for GPON ONUs, once the OLT GPON interface is upgraded to 10G PON, the user-side ONUs must be replaced with 10G PON ONUs. Otherwise, user services will be interrupted, affecting the transmission performance between the ONU and the OLT. This will impact both the user experience and the on-site replacement of the user-side ONU, which will have an impact on the broadband experience and operation and maintenance costs. Currently, GPON interfaces still account for a certain proportion, and in the future, the OLT line side will have multiple PON interfaces such as GPON, XG(S)-PON, and Combo PON. How to deploy ONUs to support the smooth evolution of future PON networks is a difficult problem that operators need to consider.

[0040] In the related art, an ONU only supports one type of PON access and does not support flexible access to multiple types of PONs, which can easily lead to reduced transmission performance. The embodiments of the present disclosure propose a mechanism that supports multi-type PON adaptation and a user-side ONU device that supports this mechanism. The ONU device has the ability to connect to multiple PON interfaces and can flexibly access different PON interfaces on the OLT side, realizing a fast and smooth upgrade from low- to high-bandwidth services accompanying the OLT.

[0041] As shown in Figure 4, in the embodiment of the present disclosure, a hybrid optical module (i.e., Combo BOSA) can be introduced into the user-side ONU device. The hybrid optical module can receive and send signals of different PON standards, for example, it can receive and send GPON signals and XG(S)-PON signals, etc. The user-side ONU chip is downward compatible and has the ability to receive and process signals of different PON standards. When the PON interface of the OLT is determined to be changed (for example, from a GPON interface to an XG(S)-PON interface, etc.), before the change, the OLT can send an instruction to the user-side ONU device to switch the working mode through an ONU Management and Control Interface (OMCI) message. After receiving the instruction, the user-side ONU can automatically restart and switch from working mode 1 (for example, GPON working mode) to working mode 2 (for example, XG(S)-PON working mode). After the OLT PON interface upgrade is completed, the user-side ONU automatically restarts and switches to working mode 2. At this time, the optical path between the user-side ONU and the OLT is connected. That is, the user-side ONU can go online at the OLT, ensuring normal transmission between the ONU and the OLT. This supports a smooth upgrade of the OLT interface without replacing the user-side ONU.

[0042] In the following embodiments of the present disclosure, the first device and the second device are connected through a PON interface. When the PON interface standards between the second device and the first device match, the second device can be connected to the first device. The first device can be an OLT, and the second device can be an ONU, a gateway, an intelligent gateway, an FTTR master device, an FTTR master gateway, an MFU, an FTTR master router, etc. Depending on the rate, wavelength, or protocol, the PON interface can support at least one of a variety of different standards. The PON interface standards may include but are not limited to XG-PON, XGS-PON, GPON, 50G PON, EPON, 10G EPON, etc. The first channel terminal and the second channel terminal are PON interfaces of different standards on the first device, and the first device can support multiple channel terminals (PON interfaces).

[0043] Referring to Figure 5, Figure 5 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present disclosure, which is applied to a first device that supports at least a first channel terminal and a second channel terminal. As shown in Figure 5, the method for selecting a channel terminal in an optical access network provided by this embodiment includes the following steps:

[0044] Step 501: A first device may configure a second device to connect to a channel terminal of the first device, wherein the second device at least supports connection to the first channel terminal and the second channel terminal.

[0045] The first device communicates with the second device through a channel terminal. In this embodiment, the second device may include a connected hybrid optical module and a system-on-chip (SoC). The second device communicates with the second device through the hybrid optical module. It can be understood that the system-on-chip of the second device is connected to the channel terminal of the second device through the hybrid optical module to realize communication between the second device and the first device.

[0046] In addition, it can be understood that the first channel terminal and the second channel terminal are PON interfaces of different standards, and the first device can support at least two channel terminals of different standards. In this way, the first device can support the access of PON signals of different standards (i.e., different wavelengths or different rates or different protocols). When the second device is connected to a channel terminal of a PON of a different standard (e.g., a PON of a different generation rate), it can send a PON signal of a different standard (e.g., a PON signal of a different generation rate). For example, the second device can send PON signals of different generation rates through a hybrid optical module. Which channel terminal of the first device the second device is specifically connected to can be set by the first device, that is, the first device can set the second device to be connected to the channel terminal of the first device. It should be noted that the second device is connected to one of the channel terminals of the first device that the second device supports connecting to. For example, the first device can set the second device to be connected to any channel terminal of the channel terminal of the first device, so that the second device can flexibly access the channel terminals of different PON standards of the first device.

[0047] In the channel terminal selection method in the optical access network of this embodiment, the first device supports at least the first channel terminal and the second channel terminal, and the second device supports at least the first channel terminal and the second channel terminal connected to the first device. The first device can set the second device to connect to the channel terminal of the first device. In this way, the second device can have different PON interface docking capabilities and can flexibly access different channel terminals of the first device. Even if the PON port of the first device is upgraded, the channel terminal connected to the second device can be set to adapt to the upgrade of the PON port of the first device, thereby ensuring normal transmission between the second device and the first device and improving the transmission performance between the second device and the first device.

[0048] In one example, different channel terminals of a first device have at least one of different channel wavelengths, different rates, and different protocols. For example, different channel terminals can transmit optical signals of different wavelengths, and the first device can support different PON signal transmissions. Different channel terminals can also transmit optical signals of different rates. Thus, when connected to different channel terminals, PON signal transmissions of different rates can be performed. Because the different channel terminals of the first device have different rates, the first device can configure the second device to connect to channel terminals of different rates, enabling the second device to interface with multiple PON rates and flexibly access different PON rates. Different channel terminals can transmit optical signals of different protocols, and the first device can support PON signal transmissions of different protocols. In this example, the first device can configure the second device to connect to the channel terminal of the first device. This allows the second device to interface with different PON interfaces and flexibly access different channel terminals of the first device. Even if the PON interface of the first device is upgraded, the second device can be configured to switch its channel terminal to accommodate the upgrade of the first device's PON interface, ensuring normal transmission between the second device and the first device and improving transmission performance between the second device and the first device.

[0049] In one embodiment, the first device may configure a channel terminal for connecting the second device to the first device, including:

[0050] In the case where the second device is connected to the first channel terminal, the first device may configure the second device to be connected to other channel terminals on the first device, where the other channel terminals are channel terminals on the first device other than the first channel terminal, and the other channel terminals are supported by both the first device and the second device; or

[0051] The first device sets the second device to select a channel terminal connected to the first device based on the first mode.

[0052] It should be noted that the above-mentioned first channel terminal can be understood as any channel terminal among the channel terminals supported by the first device, and the second device supports other channel terminals connected to the first device. When the second device is connected to the first channel terminal, the first device can set the second device to be connected to a channel terminal of one of the other channel terminals on the first device.

[0053] In this embodiment, the first device can be configured to switch the second device from connecting to the first channel terminal to one of the other channel terminals. Alternatively, the first device can be configured to select a channel terminal of the first device to connect to based on the second device's first mode. This improves the flexibility of configuring the channel terminal to which the second device is connected.

[0054] For example, taking the number of channel terminals supported by the first device as N as an example, the N channel terminals are channel terminal 1, channel terminal 2, ..., channel terminal N-1 and channel terminal N. When the second device is connected to channel terminal 1, the first device can be set to connect the second device to a channel terminal of one of the other N-1 channel terminals (i.e., channel terminal 2, ..., channel terminal N).

[0055] For example, taking N as 2 and the channel terminals supported by the first device including the first channel terminal and the second channel terminal, when the second device is connected to the first channel terminal, the first device can set the second device to be connected to the second channel terminal; or, when the second device is connected to the second channel terminal, the first device can set the second device to be connected to the first channel terminal; or, the first device can set the second device to select either the first channel terminal or the second channel terminal based on the first mode. This improves the flexibility of setting the channel terminal to which the second device is connected.

[0056] In one embodiment, the second device is currently connected to the first channel terminal, and the first mode at least supports the second device to preferentially select a channel terminal with a higher rate among other channel terminals of the first device.

[0057] It should be noted that the first mode can be understood as an adaptive mode. When there are multiple channel terminals to choose from, a channel terminal with a higher rate can be preferably selected. If the second device supports the selected channel terminal, the second device can connect to it for communication.

[0058] For example, when a second device is connected to a first channel terminal, in the first mode, the second device may select a channel terminal with the highest rate supported by the second device from among the other channel terminals on the first device. By connecting to this channel terminal, the transmission rate can be increased. For example, in the example above where the number of channel terminals on the first device is N, when the second device is connected to channel terminal 1, the process of selecting a channel terminal for connection to the second device based on the first mode may prioritize selecting a channel terminal with a higher rate among the other N-1 channel terminals. For example, if channel terminal 2 has the highest rate among the other N-1 channel terminals, the second device may connect to channel terminal 2 if it supports it.

[0059] In one embodiment, the first mode supports a timeout mechanism;

[0060] The timeout mechanism includes:

[0061] When a second device is connected to a first channel terminal, if a channel terminal selected by the second device from other channel terminals of the first device does not match a channel terminal supported by the second device, the second device does not enter an operating state based on the selected channel terminal for a preset duration. When the preset duration expires, the second device switches to another channel terminal with a higher rate among the remaining channel terminals of the first device, where the remaining channel terminals are channel terminals other than the selected channel terminal from the other channel terminals of the first device.

[0062] It should be noted that the second device has the ability to connect to multiple PON interfaces. The first device can be configured to select a channel terminal connected to the first device based on a first mode. The second device is currently connected to the first channel terminal, and the second device can switch to another channel terminal based on the first mode. The first mode of the second device can at least support: the second device preferentially selects a channel terminal with a higher rate among the other channel terminals of the first device, and supports a timeout mechanism. It is understood that the second device preferentially selects a channel terminal with a higher rate among the other channel terminals. However, if the selected channel terminal does not match the channel terminals supported by the second device, the second device may not enter the working state for a preset time period under the selected channel terminal. That is, the second device cannot operate according to the selected channel terminal for the preset time period. Once the preset time period expires, the second device can select another channel terminal with a higher rate from the remaining channel terminals. That is, when the preset time period expires, the second device can switch to select a channel terminal from the remaining channel terminals. If the switched channel terminal does not match the channel terminal supported by the second device, the second device will not enter the working state for a preset time period. When the timeout (i.e., the preset time period expires), the second device switches to select another channel terminal from the remaining channel terminals.

[0063] For example, the number of channel terminals supported by the first device is N, and the N channel terminals are channel terminal 1, channel terminal 2, ..., channel terminal N-1 and channel terminal N. The second device is currently connected to the channel terminal 1 of the first device. In the process of selecting a channel terminal to be connected to the first device based on the first mode of the second device, channel terminal 2 is a channel terminal with a higher rate among the other N-1 channel terminals. The second device preferentially selects the channel terminal 2 with the higher rate. If the second device supports the selection of channel terminal 2, the second device can access the selected channel terminal 2. If the second device does not support channel terminal 2, the second device will not access the selected channel terminal 2 of the first device within a preset time period. The second device enters the working state. After a timeout, the second device switches to select the channel terminal 3 of the first device with a lower rate (its rate is lower than the rate of channel terminal 2, but channel terminal 3 is the channel terminal with the second highest rate after channel terminal 2 among the other N-1 channel terminals). If the second device supports channel terminal 3, it can access channel terminal 3 for communication. If the second device does not support channel terminal 3, the second device will not enter the working state based on the newly selected channel terminal 3 of the first device within a preset time period. After a timeout, the second device can switch to another channel terminal, and the cycle continues until a channel terminal with a matching rate is selected. The second device then enters the working state, connects to the channel terminal with the matching rate, and communicates with the first device.

[0064] In this embodiment, the second device can select a channel terminal based on the first mode. In this way, the second device can give priority to selecting a channel terminal with a higher rate in the first device and support a timeout mechanism. In this way, the flexibility of the second device in selecting a channel terminal can be improved.

[0065] In one embodiment, the method further includes: the first device acquiring the first device channel terminal information on the second device,

[0066] In the case where the second device is connected to the first channel terminal, the first device may configure the second device to be connected to other channel terminals on the first device, including:

[0067] In the case where the second device is connected to the first channel terminal, based on the first device channel terminal information, the first device sets the second device to be connected to other channel terminals on the first device.

[0068] For example, the second device may send the first device channel terminal information to the first device, that is, the first device receives the first device channel terminal information sent by the second device, to obtain the first device channel terminal information on the second device. After obtaining the first device channel terminal information on the second device, the first device may set the channel terminal of the first device to which the second device is connected based on the first device channel terminal information on the second device. For example, if the second device is connected to the first channel terminal, the first device may set the channel terminal of the second device to which the second device is connected to one of the other channel terminals based on the first device channel terminal information.

[0069] In this embodiment, the first device can set the channel terminal of the first device to which the second device is connected based on the first device channel terminal information on the second device, so as to improve the compatibility of the set second device channel terminal with the second device.

[0070] In one embodiment, based on the first device channel terminal information, the first device sets the second device to connect to other channel terminals on the first device, including:

[0071] The first device sends a control message to the second device based on the first device channel terminal information, where the control message is used to set the second device to connect to other channel terminals on the first device.

[0072] It can be understood that the control message can be used to set the second device to connect to a channel terminal indicated by the control message among other channel terminals. For example, the channel terminals supported by the first device include the first channel terminal, the second channel terminal and the third channel terminal. When the second device is connected to the first channel terminal, the control message indicates the second channel terminal, then the second device can be set to connect to the second channel terminal. If the control message indicates the third channel terminal, then the second device can be set to connect to the third channel terminal. In addition, it should be noted that the control message can also be used to set the second device to select the channel terminal connected to the first device based on the first mode of the second device, that is, the control message can instruct the second device to select the channel terminal connected to the first device using the first mode.

[0073] In this embodiment, the channel terminal of the first device to which the second device is connected can be set by a control message. It can be understood that the control message can indicate the channel terminal of the first device to which the second device is connected. After the second device receives the control message, it can be connected to the channel terminal of the first device indicated by the control message. In one example, the control message can be an ONU Management and Control Interface (OMCI) message. In one embodiment, the control message is carried on a control channel between the first device and the second device. Exemplarily, the control channel can be an ONU Management and Control Channel (OMCC).

[0074] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:

[0075] A capability attribute of the second device to connect to the channel terminal of the first device;

[0076] Mode attribute of the channel terminal of the second device connected to the first device;

[0077] Status attributes of the channel terminal of the first device to which the second device is currently connected.

[0078] In one embodiment, the capability attribute of the second device to connect to the channel terminal of the first device includes at least one of the following:

[0079] First Mode Capabilities;

[0080] A capability of connecting to a first channel terminal of a first device;

[0081] The ability to connect to other channel terminals of the first device.

[0082] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

[0083] First mode;

[0084] a mode of connecting a first channel terminal of a first device;

[0085] The mode of connecting other channel terminals of the first device.

[0086] In one embodiment, the status attribute includes at least one of the following:

[0087] The second device is currently connected to the first channel terminal of the first device;

[0088] The second device is currently connected to the other channel terminal of the first device.

[0089] It should be noted that the capability attribute can indicate the channel terminal mode supported by the second device for connecting to the first device, the mode attribute can indicate the current connection mode state, and the state attribute can indicate the negotiated connection mode when the mode attribute is the first mode. It can be understood that it can indicate the final adaptively negotiated connection mode when the mode attribute is the adaptive mode.

[0090] Referring to Figure 6, Figure 6 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present disclosure, which is applied to a second device that supports at least a first channel terminal and a second channel terminal. As shown in Figure 6, the method for selecting a channel terminal in an optical access network provided by this embodiment includes the following steps:

[0091] Step 601: The second device is connected to the channel terminal of the first device based on the setting of the first device or the first mode of the second device.

[0092] In one embodiment, different channel terminals of the first device have at least one of different channel wavelengths, different rates, and different protocols.

[0093] In one embodiment, the second device is connected to the channel terminal of the first device based on the setting of the first device or the first mode of the second device, including:

[0094] In the case where the second device is connected to the first channel terminal, the second device switches to connect to other channel terminals on the first device according to the settings of the first device, wherein the other channel terminals are channel terminals other than the first channel terminal on the first device, and the second device supports the other channel terminals; or

[0095] The second device selects a channel terminal connected to the first device based on the first pattern.

[0096] In one embodiment, the second device is currently connected to the first channel terminal, and the first mode at least supports the second device to preferentially select a channel terminal with a higher rate among other channel terminals on the first device.

[0097] In one embodiment, the first mode supports a timeout mechanism;

[0098] The timeout mechanism includes:

[0099] When a second device is connected to a first channel terminal, if a channel terminal selected by the second device from other channel terminals of the first device does not match a channel terminal supported by the second device, the second device does not enter an operating state based on the selected channel terminal for a preset duration. When the preset duration expires, the second device switches to another channel terminal with a higher rate among the remaining channel terminals of the first device, where the remaining channel terminals are channel terminals other than the selected channel terminal from the other channel terminals of the first device.

[0100] In one embodiment, the method further includes: sending first device channel terminal information on the second device to the first device; the first device channel terminal information is used by the first device to set the second device to connect to other channel terminals of the first device when the second device is connected to the first channel terminal.

[0101] In one embodiment, the second device is connected to a channel terminal of the first device based on the settings of the first device, including:

[0102] The second device receives the control message sent by the first device based on the channel terminal information of the first device;

[0103] In response to the control message, the second device connects to the channel terminal indicated by the control message among other channel terminals of the first device.

[0104] In one embodiment, the control message is carried on a control channel between the first device and the second device.

[0105] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:

[0106] A capability attribute of the second device to connect to the channel terminal of the first device;

[0107] Mode attribute of the channel terminal of the second device connected to the first device;

[0108] Status attributes of the channel terminal of the first device to which the second device is currently connected.

[0109] In one embodiment, the capability attribute of the second device to connect to the channel terminal of the first device includes at least one of the following:

[0110] First Mode Capabilities;

[0111] A capability of connecting to a first channel terminal of a first device;

[0112] The ability to connect to other channel terminals of the first device.

[0113] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

[0114] First mode;

[0115] a mode of connecting a first channel terminal of a first device;

[0116] The mode of connecting other channel terminals of the first device.

[0117] In one embodiment, the status attribute includes at least one of the following:

[0118] The second device is currently connected to the first channel terminal of the first device;

[0119] The second device is currently connected to the other channel terminal of the first device.

[0120] In one embodiment, the setting of the first device includes setting a first device channel terminal mode attribute of the second device, and the second device connecting to the channel terminal of the first device based on the setting of the first device includes:

[0121] In the case that the channel terminal mode attribute of the first device does not match the current mode attribute of the second device, the second device switches to connect to the channel terminal corresponding to the setting of the first device.

[0122] That is, in this embodiment, the first device can set the channel terminal of the first device to which the second device is connected. In this way, the second device can obtain the mode attribute of the channel terminal of the first device to which it needs to connect through the setting of the first device, and then compare it with the current mode attribute. If the mode attribute of the first device's channel terminal for the second device to be connected does not match (e.g., is not the same as) the current mode attribute of the second device, the second device switches to connect to the channel terminal set by the first device. If they match (e.g., are the same), it means that the channel terminal currently connected to the first and second devices is the same, and the second device does not need to switch channel terminals. For example, if the mode attribute of the first device's channel terminal for the second device to be connected is set by the first device as the first mode attribute (e.g., the mode for connecting to the first channel terminal of the first device), while the current mode attribute of the second device is the mode for connecting to the second channel terminal of the first device (i.e., the second channel terminal currently connected to the second device), and the two do not match, the second device can switch to a new channel terminal mode, for example, switch to the mode set by the first device for the second device to be connected to the first channel terminal of the first device, i.e., switch to the first channel terminal. In one example, when the mode attribute of the channel terminal for connecting the second device to the first device set on the first device does not match the current mode attribute of the second device, the second device switches to connect to the channel terminal corresponding to the setting of the first device, which may include: when the mode attribute of the channel terminal for connecting the second device to the first device set on the first device does not match the current mode attribute of the second device, and when the setting is successful, the second device switches to connect to the channel terminal corresponding to the setting of the first device.

[0123] That is, in this embodiment, during the channel terminal switching process, mode attribute matching is required. When the mode attribute of the channel terminal of the second device connected to the first device set by the first device does not match the current mode attribute of the second device, the second device switches to connect to the channel terminal corresponding to the setting of the first device to improve the accuracy of channel terminal switching.

[0124] As shown in Figure 7, the above method is described in detail using a specific embodiment. In this embodiment, the first device is an OLT, the second device is an ONU, and the channel terminals supported by the first device include a first channel terminal (CT1) and a second channel terminal (CT2).

[0125] First, the relevant technical principles of PON are explained.

[0126] 1.1 GPON Technology

[0127] The concept of GPON (Gigabit Capable PON) was first proposed by the Full Service Access Network (FSAN) Alliance in 2001.

[0128] 1.1.1 Protocol Layering

[0129] In the GPON system protocol stack, the Transmission Convergence Layer (TC) is the most critical protocol. The TC layer is divided into two sublayers: the TC framing sublayer and the TC adaptation sublayer, as shown in Figure 8.

[0130] 1.1.2 Frame Structure

[0131] The GPON TC adaptation sublayer can use various Asynchronous Transfer Mode (ATM) encapsulation methods and the GPON Encapsulation Method (GEM) encapsulation method. The ATM encapsulation method follows the G.983 series of standards, using ATM cells to carry data traffic and supporting a variety of services. The GEM encapsulation method is a GPON-specific encapsulation protocol, derived from the Generic Framing Procedure (GFP, ITU-T G.7041) and very similar to GFP. Considering the multiple ONUs and multiple ports in PON networks, GPON introduces the concept of port IDs. Furthermore, GEM draws on GFP's frame synchronization mechanism and uses a self-describing method to determine frame boundaries. The GEM frame structure is shown in Figure 9. GEM is the primary adaptation method in GPON systems. Compared to ATM, it offers higher encapsulation efficiency, improved system bandwidth utilization, and more flexible services.

[0132] To achieve the clock synchronization and latency required to carry TDM services, GPON specifies a downstream frame length of 125µs. Figure 10 shows the GPON downstream frame structure, and Figure 11 shows the upstream frame structure. The downstream frame consists of a downstream physical control block (PCBd) and ATM and GEM payload fields. The upstream frame consists of multiplexed burst transmission time slots. Each upstream burst includes a minimal physical layer overhead (PLOu). In addition to the payload field, it may also include upstream physical layer operations, administration, and maintenance (OAM) (PLOAMu), upstream power leveling sequence (PLSu), and upstream dynamic bandwidth report (DBRu). The downstream frame provides a common time reference for the PON and common control signals for the upstream.

[0133] In a GPON system, the maximum logical distance difference between ONUs can reach 20 km, and the maximum supported split ratio is 16, 32, or 64. The GPON system can achieve a downstream rate of 1.244 or 2.488 Gbit / s, and an upstream rate of 0.155, 0.622, 1.244, or 2.488 Gbit / s.

[0134] The GPON system's ranging principle is consistent with G.983. Its dynamic bandwidth assignment (DBA) and quality of service (QoS) follow the principles of G.983.4. Services are categorized into five types, each with its own parameters. These parameters are used to detect congestion, allocate bandwidth, and authorize ONUs. Furthermore, the GPON TC layer defines new features, such as forward error correction (FEC) and power control.

[0135] GPON focuses more on supporting multiple services and QoS guarantees, and can support simultaneous access to various services such as voice, ATM, and IP.

[0136] As shown in FIG7 , the specific process of this embodiment is as follows:

[0137] The ONU sets the working channel mode (adaptive or OLT specified) through pre-setting or local configuration, connects to the OLT CT1, completes the registration and authentication online process, and enters the working state.

[0138] The OLT CT1 can obtain the OLT channel terminal information on the ONU through messages in the working channel, such as working channel capability, working channel mode, and working channel status (ie, corresponding to the above-mentioned capability attribute, mode attribute, and status).

[0139] OLT CT1 sets the mode of the ONU's working channel according to the OLT channel terminal information on the ONU, that is, sets the channel terminal of the OLT to which the ONU is connected. For example, OLT CT1 can send a control message to the ONU (for example, a message for setting the mode of the working channel). After receiving the message, the ONU returns a corresponding message response (for example, a message response for setting the mode of the working channel). The ONU can determine whether the mode of the working channel set by the OLT matches the current working channel mode of the ONU. If the mode of the working channel set by the OLT does not match the current working channel mode of the ONU, the ONU switches to a new working channel mode, for example, switching to the OLT CT2 mode.

[0140] The ONU connects to the OLT CT2 through the new working channel mode (adaptive or OLT specified). After the registration and authentication process is completed, the ONU enters the working state.

[0141] In summary, the disclosed embodiments propose a mechanism that supports multi-standard PON adaptation and has the ability to connect to multiple PON interfaces. This addresses the simultaneous evolution and upgrade of ONUs during the evolution from lower-speed networks (e.g., GPON networks) to higher-speed networks (e.g., 10G PON), thereby avoiding the waste of resources caused by large-scale equipment replacement in the future. Furthermore, the mechanism supports flexible access to multiple PONs, enabling flexible access to different PON interfaces on the OLT side, enabling a rapid and smooth upgrade from GPON to XG(S)-PON high-bandwidth services accompanying the OLT.

[0142] As shown in FIG12 , FIG12 is a schematic structural diagram of a channel terminal selection device 1200 in an optical access network provided by an embodiment of the present disclosure. The channel terminal selection device 1200 in the optical access network is applied to a first device, and the first device supports at least a first channel terminal and a second channel terminal. The device includes:

[0143] The setting module 1201 is configured to set a channel terminal for connecting a second device to a first device, wherein the second device at least supports connection to the first channel terminal and the second channel terminal.

[0144] In one embodiment, the setting module 1201 is specifically configured to:

[0145] In the case where the second device is connected to the first channel terminal, the second device may be configured to be connected to other channel terminals on the first device, where the other channel terminals are channel terminals on the first device other than the first channel terminal, and the other channel terminals are supported by both the first device and the second device; or

[0146] The second device is configured to select a channel terminal connected to the first device based on the first mode.

[0147] In one embodiment, the second device is currently connected to the first channel terminal, and the first mode at least supports the second device to preferentially select a channel terminal with a higher rate among other channel terminals of the first device.

[0148] In one embodiment, the first mode supports a timeout mechanism;

[0149] The timeout mechanism includes:

[0150] When a second device is connected to a first channel terminal, if a channel terminal selected by the second device from other channel terminals of the first device does not match a channel terminal supported by the second device, the second device does not enter an operating state based on the selected channel terminal for a preset duration. When the preset duration expires, the second device switches to another channel terminal with a higher rate among the remaining channel terminals of the first device, where the remaining channel terminals are channel terminals other than the selected channel terminal from the other channel terminals of the first device.

[0151] In one embodiment, the apparatus 1200 further includes:

[0152] An information acquisition module is used to acquire the first device channel terminal information on the second device,

[0153] The setting module 1201 is further specifically configured to:

[0154] In the case where the second device is connected to the first channel terminal, the second device is set to be connected to other channel terminals on the first device based on the first device channel terminal information.

[0155] In one embodiment, setting the second device to connect to other channel terminals on the first device based on the channel terminal information of the first device includes:

[0156] Based on the channel terminal information of the first device, a management and control message is sent to the second device, where the management and control message is used to set the second device to connect to other channel terminals on the first device.

[0157] In one embodiment, the control message is carried on a control channel between the first device and the second device.

[0158] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:

[0159] A capability attribute of the second device to connect to the channel terminal of the first device;

[0160] Mode attribute of the channel terminal of the second device connected to the first device;

[0161] Status attributes of the channel terminal of the first device to which the second device is currently connected.

[0162] In one embodiment, the capability attribute of the second device to connect to the channel terminal of the first device includes at least one of the following:

[0163] First Mode Capabilities;

[0164] A capability of connecting to a first channel terminal of a first device;

[0165] The ability to connect to other channel terminals of the first device.

[0166] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

[0167] First mode;

[0168] a mode of connecting a first channel terminal of a first device;

[0169] The mode of connecting other channel terminals of the first device.

[0170] In one embodiment, the status attribute includes at least one of the following:

[0171] The second device is currently connected to the first channel terminal of the first device;

[0172] The second device is currently connected to the other channel terminal of the first device.

[0173] The channel terminal selection device in the optical access network provided in this embodiment can implement each process of each embodiment of the channel terminal selection method in the optical access network applied to the first device. The technical features correspond one to one and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0174] Referring to FIG. 13 , FIG. 13 is a schematic structural diagram of a channel terminal selection device 1300 in an optical access network provided by an embodiment of the present disclosure. The channel terminal selection device 1300 in the optical access network is applied to a second device, and the second device supports at least a first channel terminal and a second channel terminal connected to the first device. The device includes:

[0175] The connecting module 1301 is configured to connect the second device to the channel terminal of the first device based on the setting of the first device or the first mode of the second device.

[0176] In one embodiment, the connection module 1301 is specifically configured to:

[0177] In the case where the second device is connected to the first target channel terminal, switching the second device to connect to other channel terminals on the first device according to the settings of the first device, wherein the other channel terminals are channel terminals on the first device other than the first channel terminal, and the second device supports the other channel terminals; or

[0178] The second device is connected to the channel terminal of the first device selected based on the first mode.

[0179] In one embodiment, the second device is currently connected to the first channel terminal, and the first mode at least supports the second device to preferentially select a channel terminal with a higher rate among other channel terminals on the first device.

[0180] In one embodiment, the first mode supports a timeout mechanism;

[0181] The timeout mechanism includes:

[0182] When a second device is connected to a first channel terminal, if a channel terminal selected by the second device from other channel terminals of the first device does not match a channel terminal supported by the second device, the second device does not enter an operating state based on the selected channel terminal for a preset duration. When the preset duration expires, the second device switches to another channel terminal with a higher rate among the remaining channel terminals of the first device, where the remaining channel terminals are channel terminals other than the selected channel terminal from the other channel terminals of the first device.

[0183] In one embodiment, the apparatus 1300 further includes:

[0184] The information sending module is used to send the first device channel terminal information on the second device to the first device; the first device channel terminal information is used by the first device to set the second device to connect to other channel terminals of the first device when the second device is connected to the first channel terminal.

[0185] In one embodiment, the connection module 1301 includes:

[0186] A management and control message receiving module, configured to receive a management and control message sent by the first device based on the first device channel terminal information;

[0187] The connection submodule is configured to connect the second device to the channel terminal indicated by the control message among other channel terminals of the first device in response to the control message.

[0188] In one embodiment, the control message is carried on a control channel between the first device and the second device.

[0189] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:

[0190] A capability attribute of the second device to connect to the channel terminal of the first device;

[0191] Mode attribute of the channel terminal of the second device connected to the first device;

[0192] Status attributes of the channel terminal of the first device to which the second device is currently connected.

[0193] In one embodiment, the capability attribute of the second device to connect to the channel terminal of the first device includes at least one of the following:

[0194] First Mode Capabilities;

[0195] A capability of connecting to a first channel terminal of a first device;

[0196] The ability to connect to other channel terminals of the first device.

[0197] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

[0198] First mode;

[0199] a mode of connecting a first channel terminal of a first device;

[0200] The mode of connecting other channel terminals of the first device.

[0201] In one embodiment, the status attribute includes at least one of the following:

[0202] The second device is currently connected to the first channel terminal of the first device;

[0203] The second device is currently connected to the other channel terminal of the first device.

[0204] In one embodiment, the setting of the first device includes a mode attribute of a channel terminal of the second device connected to the first device, which is set by the first device;

[0205] The connection module 1301 is specifically configured to switch the second device to connect to the channel terminal corresponding to the setting of the first device when the channel terminal mode attribute of the first device does not match the current mode attribute of the second device.

[0206] The channel terminal selection device in the optical access network provided in this embodiment is capable of implementing the various processes of the various embodiments of the above-mentioned channel terminal selection method in the optical access network applied to the second device. The technical features correspond one to one and can achieve the same technical effects. To avoid repetition, they will not be described here.

[0207] An embodiment of the present disclosure also provides a communication device, which can be a first device, including: a processor, a memory, and a program stored in the memory and runnable on the processor. When the program is executed by the processor, each process of the above-mentioned embodiment of the channel terminal selection method in the optical access network applied to the first device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0208] Specifically, referring to FIG. 14 , an embodiment of the present disclosure further provides a first device, including a bus 1401 , a transceiver 1402 , an antenna 1403 , a bus interface 1404 , a processor 1405 , and a memory 1406 .

[0209] The first device supports at least a first channel terminal and a second channel terminal;

[0210] Processor 1405: configured to set a channel terminal for connecting a second device to a first device, wherein the second device at least supports connection to the first channel terminal and the second channel terminal.

[0211] In one embodiment, the processor 1405 is specifically configured to:

[0212] In the case where the second device is connected to the first channel terminal, the second device may be configured to be connected to other channel terminals on the first device, where the other channel terminals are channel terminals on the first device other than the first channel terminal, and the other channel terminals are supported by both the first device and the second device; or

[0213] The second device is configured to select a channel terminal connected to the first device based on the first mode.

[0214] In one embodiment, the second device is currently connected to the first channel terminal, and the first mode at least supports the second device to preferentially select a channel terminal with a higher rate among other channel terminals of the first device.

[0215] In one embodiment, the first mode supports a timeout mechanism;

[0216] The timeout mechanism includes: when the second device is connected to the first channel terminal, if the channel terminal selected by the second device from other channel terminals of the first device does not match the channel terminals supported by the second device, then within a preset time period, the second device does not enter a working state based on the selected channel terminal; when the preset time period expires, the second device switches to another channel terminal with a higher rate among the remaining channel terminals of the first device, and the remaining channel terminals are channel terminals other than the selected channel terminal among the other channel terminals of the first device.

[0217] In one embodiment, the processor 1405 is further configured to:

[0218] Obtaining the first device channel terminal information on the second device;

[0219] In the case where the second device is connected to the first channel terminal, the second device is set to be connected to other channel terminals on the first device based on the first device channel terminal information.

[0220] In one embodiment, setting the second device to connect to other channel terminals on the first device based on the channel terminal information of the first device includes:

[0221] Based on the channel terminal information of the first device, a management and control message is sent to the second device, where the management and control message is used to set the second device to connect to other channel terminals on the first device.

[0222] In one embodiment, the control message is carried on a control channel between the first device and the second device.

[0223] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:

[0224] A capability attribute of the second device to connect to the channel terminal of the first device;

[0225] Mode attribute of the channel terminal of the second device connected to the first device;

[0226] Status attributes of the channel terminal of the first device to which the second device is currently connected.

[0227] In one embodiment, the capability attribute of the second device to connect to the channel terminal of the first device includes at least one of the following:

[0228] First Mode Capabilities;

[0229] A capability of connecting to a first channel terminal of a first device;

[0230] The ability to connect to other channel terminals of the first device.

[0231] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

[0232] First mode;

[0233] a mode of connecting a first channel terminal of a first device;

[0234] The mode of connecting other channel terminals of the first device.

[0235] In one embodiment, the status attribute includes at least one of the following:

[0236] The second device is currently connected to the first channel terminal of the first device;

[0237] The second device is currently connected to the other channel terminal of the first device.

[0238] In Figure 14, a bus architecture (represented by bus 1401) is shown. Bus 1401 may include any number of interconnected buses and bridges. Bus 1401 links various circuits together, including one or more processors represented by processor 1405 and memory represented by memory 1406. Bus 1401 may also link various other circuits together, such as peripheral devices, voltage regulators, and power management circuits, all of which are well known in the art and, therefore, will not be described further herein. Bus interface 1404 provides an interface between bus 1401 and transceiver 1402. Transceiver 1402 may be a single component or multiple components, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 1405 is transmitted over a wireless medium via antenna 1403. Antenna 1403 also receives data and transmits it to processor 1405.

[0239] The processor 1405 is responsible for managing the bus 1401 and general processing, and may also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 1406 may be used to store data used by the processor 1405 when performing operations.

[0240] Optionally, the processor 1405 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a complex programmable logic device (CPLD).

[0241] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements the various processes of the embodiment of the channel terminal selection method in the optical access network applied to the first device, and can achieve the same technical effect. To avoid repetition, the details are not described here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0242] An embodiment of the present disclosure also provides a communication device, which can be a second device, including: a processor, a memory, and a program stored in the memory and runnable on the processor. When the program is executed by the processor, each process of the above-mentioned embodiment of the channel terminal selection method in the optical access network applied to the second device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0243] Specifically, as shown in FIG. 15 , an embodiment of the present disclosure further provides a second device, including a bus 1501 , a transceiver 1502 , an antenna 1503 , a bus interface 1504 , a processor 1505 , and a memory 1506 .

[0244] wherein the second device supports at least a first channel terminal and a second channel terminal connected to the first device;

[0245] The processor 1505 is configured to connect the second device to the channel terminal of the first device based on the setting of the first device or the first mode of the second device.

[0246] In one embodiment, the processor 1505 is specifically configured to:

[0247] In the case where the second device is connected to the first target channel terminal, switching the second device to connect to other channel terminals on the first device according to the settings of the first device, wherein the other channel terminals are channel terminals on the first device other than the first channel terminal, and the second device supports the other channel terminals; or

[0248] The second device is connected to the channel terminal of the first device selected based on the first mode.

[0249] In one embodiment, the second device is currently connected to the first channel terminal, and the first mode at least supports the second device to preferentially select a channel terminal with a higher rate among other channel terminals on the first device.

[0250] In one embodiment, the first mode supports a timeout mechanism;

[0251] The timeout mechanism includes:

[0252] When a second device is connected to a first channel terminal, if a channel terminal selected by the second device from other channel terminals of the first device does not match a channel terminal supported by the second device, the second device does not enter an operating state based on the selected channel terminal for a preset duration. When the preset duration expires, the second device switches to another channel terminal with a higher rate among the remaining channel terminals of the first device, where the remaining channel terminals are channel terminals other than the selected channel terminal from the other channel terminals of the first device.

[0253] In one embodiment, the transceiver 1502 is used to send the first device channel terminal information on the second device to the first device; the first device channel terminal information is used by the first device to set the second device to connect to other channel terminals of the first device when the second device is connected to the first channel terminal.

[0254] In one embodiment, the transceiver 1502 is further configured to receive a control message sent by the first device based on the first device channel terminal information;

[0255] The processor 1505 is specifically configured to: in response to the management and control message, connect the second device to the channel terminal indicated by the management and control message among other channel terminals of the first device.

[0256] In one embodiment, the control message is carried on a control channel between the first device and the second device.

[0257] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:

[0258] A capability attribute of the second device to connect to the channel terminal of the first device;

[0259] Mode attribute of the channel terminal of the second device connected to the first device;

[0260] Status attributes of the channel terminal of the first device to which the second device is currently connected.

[0261] In one embodiment, the capability attribute of the second device to connect to the channel terminal of the first device includes at least one of the following:

[0262] First Mode Capabilities;

[0263] A capability of connecting to a first channel terminal of a first device;

[0264] The ability to connect to other channel terminals of the first device.

[0265] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

[0266] First mode;

[0267] a mode of connecting a first channel terminal of a first device;

[0268] The mode of connecting other channel terminals of the first device.

[0269] In one embodiment, the status attribute includes at least one of the following:

[0270] The second device is currently connected to the first channel terminal of the first device;

[0271] The second device is currently connected to the other channel terminal of the first device.

[0272] In one embodiment, the setting of the first device includes a mode attribute of a channel terminal of the second device connected to the first device, which is set by the first device;

[0273] The processor 1505 is specifically configured to, when the channel terminal mode attribute of the first device does not match the current mode attribute of the second device, switch the second device to connect to the channel terminal corresponding to the setting of the first device.

[0274] In Figure 15 , a bus architecture (represented by bus 1501) is shown. Bus 1501 can include any number of interconnected buses and bridges. Bus 1501 links various circuits, including one or more processors represented by processor 1505 and memory represented by memory 1506. Bus 1501 can also link various other circuits, such as peripherals, voltage regulators, and power management circuits. These are all well known in the art and, therefore, will not be described further herein. Bus interface 1504 provides an interface between bus 1501 and transceiver 1502. Transceiver 1502 can be a single component or multiple components, such as multiple receivers and transmitters, providing a means for communicating with various other devices over a transmission medium. Data processed by processor 1505 is transmitted over a wireless medium via antenna 1503. Antenna 1503 also receives data and transmits it to processor 1505.

[0275] The processor 1505 is responsible for managing the bus 1501 and general processing, and may also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 1506 may be used to store data used by the processor 1505 when performing operations.

[0276] Optionally, the processor 1505 may be a CPU, an ASIC, an FPGA, or a CPLD.

[0277] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements the various processes of the aforementioned embodiment of the method for selecting a channel terminal in an optical access network applied to a second device, achieving the same technical effects. To avoid repetition, the description thereof is omitted here. The computer-readable storage medium may be, for example, a ROM, RAM, magnetic disk, or optical disk.

[0278] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0279] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of the various embodiments of the present disclosure.

[0280] The embodiments of the present disclosure are described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present disclosure, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present disclosure and the claims, all of which are protected by the present disclosure.

Claims

1. A method for selecting a channel terminal in an optical access network, applied to a first device, wherein the first device at least supports a first channel terminal and a second channel terminal, the method comprising: The first device may set a second device to connect to a channel terminal of the first device, wherein the second device at least supports connection to the first channel terminal and the second channel terminal.

2. The method for selecting a channel terminal in an optical access network according to claim 1, wherein: The first device may set a second device to be connected to a channel terminal of the first device, including: In the case where the second device is connected to the first channel terminal, the first device may set the second device to be connected to other channel terminals on the first device, wherein the other channel terminals are channel terminals on the first device other than the first channel terminal, and the other channel terminals are supported by both the first device and the second device; or The first device configures the second device to select a channel terminal connected to the first device based on a first mode.

3. The method for selecting a channel terminal in an optical access network according to claim 2, wherein: The second device is currently connected to the first channel terminal, and the first mode at least supports the second device to preferentially select a channel terminal with a higher rate among other channel terminals of the first device.

4. The method for selecting a channel terminal in an optical access network according to claim 3, wherein: The first mode supports a timeout mechanism; Wherein, the timeout mechanism includes: In the case where the second device is connected to the first channel terminal, if the channel terminal selected by the second device from other channel terminals of the first device does not match the channel terminal supported by the second device, then within a preset time period, the second device does not enter a working state based on the selected channel terminal, and when the preset time period expires, the second device switches to another channel terminal with a higher rate among the remaining channel terminals of the first device, and the remaining channel terminals are channel terminals other than the selected channel terminal among the other channel terminals of the first device.

5. The method for selecting a channel terminal in an optical access network according to claim 2, wherein: The method further includes: the first device acquiring the first device channel terminal information on the second device, When the second device is connected to the first channel terminal, the first device may be configured The method of configuring the second device to be connected to other channel terminals on the first device includes: In the case where the second device is connected to the first channel terminal, based on the first device channel terminal information, the first device sets the second device to be connected to other channel terminals on the first device.

6. The method for selecting a channel terminal in an optical access network according to claim 5, wherein: The first device setting the second device to connect to other channel terminals on the first device based on the first device channel terminal information includes: The first device sends a management and control message to the second device based on the channel terminal information of the first device, where the management and control message is used to set the second device to connect to other channel terminals on the first device.

7. The method for selecting a channel terminal in an optical access network according to claim 6, wherein: The management and control message is carried on a management and control channel between the first device and the second device.

8. The method for selecting a channel terminal in an optical access network according to claim 5, wherein: The first device channel terminal information on the second device includes at least one of the following: A capability attribute of the second device to connect to a channel terminal of the first device; a mode attribute of a channel terminal of the second device connected to the first device; A status attribute of a channel terminal of the first device to which the second device is currently connected.

9. The method for selecting a channel terminal in an optical access network according to claim 8, wherein: The capability attribute of the second device to connect to the channel terminal of the first device includes at least one of the following: the capabilities of the first mode; a capability of connecting a first channel terminal of said first device; The ability to connect to other channel terminals of the first device.

10. The method for selecting a channel terminal in an optical access network according to claim 8, wherein: The mode attribute of the channel terminal of the second device connected to the first device includes at least one of the following: the first mode; a mode of connecting a first channel terminal of the first device; A mode for connecting other channel terminals of the first device.

11. The method for selecting a channel terminal in an optical access network according to claim 8, wherein: The state attribute includes at least one of the following: The second device is currently connected to the first channel terminal of the first device; The second device is currently connected to the other channel terminal of the first device.

12. A method for selecting a channel terminal in an optical access network, applied to a second device, the second device at least supporting a first channel terminal and a second channel terminal connected to a first device, the method comprising: The second device is connected to a channel terminal of the first device based on a setting of the first device or a first mode of the second device.

13. The method for selecting a channel terminal in an optical access network according to claim 12, wherein: The second device is connected to the channel terminal of the first device based on the setting of the first device or the first mode of the second device, including: In the case where the second device is connected to the first channel terminal, the second device switches to connect to other channel terminals on the first device according to the setting of the first device, wherein the other channel terminals are channel terminals on the first device other than the first channel terminal, and the second device supports the other channel terminals; or The second device selects a channel terminal connected to the first device based on the first pattern.

14. The method for selecting a channel terminal in an optical access network according to claim 13, wherein: The second device is currently connected to the first channel terminal, and the first mode at least supports the second device to preferentially select a channel terminal with a higher rate among other channel terminals on the first device.

15. The method for selecting a channel terminal in an optical access network according to claim 14, wherein: The first mode supports a timeout mechanism; Wherein, the timeout mechanism includes: In the case where the second device is connected to the first channel terminal, if the channel terminal selected by the second device from other channel terminals of the first device does not match the channel terminal supported by the second device, then within a preset time period, the second device does not enter a working state based on the selected channel terminal, and when the preset time period expires, the second device switches to another channel terminal with a higher rate among the remaining channel terminals of the first device, and the remaining channel terminals are channel terminals other than the selected channel terminal among the other channel terminals of the first device.

16. The method for selecting a channel terminal in an optical access network according to claim 13, wherein: The method further includes: sending first device channel terminal information on the second device to the first device; the first device channel terminal information is used by the first device to set the second device to connect to other channel terminals of the first device when the second device is connected to the first channel terminal.

17. The method for selecting a channel terminal in an optical access network according to claim 16, wherein: The second device is connected to a channel terminal of the first device based on the setting of the first device, including: The second device receives a management and control message sent by the first device based on the channel terminal information of the first device; In response to the control message, the second device is connected to the channel terminal indicated by the control message among other channel terminals of the first device.

18. The method for selecting a channel terminal in an optical access network according to claim 17, wherein: The management and control message is carried on a management and control channel between the first device and the second device.

19. The method for selecting a channel terminal in an optical access network according to claim 16, wherein: The first device channel terminal information on the second device includes at least one of the following: A capability attribute of the second device to connect to a channel terminal of the first device; a mode attribute of a channel terminal of the second device connected to the first device; A status attribute of a channel terminal of the first device to which the second device is currently connected.

20. The method for selecting a channel terminal in an optical access network according to claim 19, wherein: The capability attribute of the second device to connect to the channel terminal of the first device includes at least one of the following: the capabilities of the first mode; a capability of connecting a first channel terminal of said first device; The ability to connect to other channel terminals of the first device.

21. The method for selecting a channel terminal in an optical access network according to claim 19, wherein: The mode attribute of the channel terminal of the second device connected to the first device includes at least one of the following: the first mode; a mode of connecting a first channel terminal of the first device; A mode for connecting other channel terminals of the first device.

22. The method for selecting a channel terminal in an optical access network according to claim 19, wherein: The state attribute includes at least one of the following: The second device is currently connected to the first channel terminal of the first device; The second device is currently connected to the other channel terminal of the first device.

23. The method for selecting a channel terminal in an optical access network according to any one of claims 12 to 22, wherein: The setting of the first device includes setting a first device channel terminal mode attribute of the second device, and the second device is connected to the channel terminal of the first device based on the setting of the first device, including: In the case that the channel terminal mode attribute of the first device does not match the current mode attribute of the second device, the second device switches to connect to the channel terminal corresponding to the setting of the first device.

24. A channel terminal selection device in an optical access network, applied to a first device, the first device at least supporting a first channel terminal and a second channel terminal, the device comprising: The setting module is configured to set a channel terminal for connecting a second device to the first device, wherein the second device at least supports connecting to the first channel terminal and a second channel terminal.

25. A channel terminal selection device in an optical access network, applied to a second device, the second device at least supporting a first channel terminal and a second channel terminal connected to a first device, the device comprising: A connection module is used to connect the second device to the channel terminal of the first device based on the setting of the first device or the first mode of the second device.

26. A communication device comprising: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the steps of the method according to any one of claims 1 to 23 when executed by the processor.

27. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 23.

Citation Information

Patent Citations

  • Method for producing aphal -halogenoacetophenon compound, and aphal-bromoacetophenon compound

    CN105594143A

  • Passive optical network (PON) system and implementation method thereof

    CN108156538A

  • Communication network and related equipment

    CN110049386A

  • Communication method, apparatus, and system for passive optical network (PON)

    WO2015139218A1