Channel terminal selection method and device in optical access network and communication equipment
By introducing a variety of PON interfaces and flexible switching capabilities into the optical access network, the channel terminal selection method in the optical access network solves the problem of poor ONU transmission performance when the OLT interface is upgraded, and achieves efficient channel terminal adaptation and transmission performance. promote.
Patent Information
- Application Number
- CN202310197071.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-03
- Publication Date
- 2024-09-03
AI Technical Summary
In the existing optical access network, the transmission performance between OLT and ONU is poor. Especially when the OLT interface is upgraded, the ONU cannot adapt flexibly, resulting in service interruption and reduced transmission performance.
Provide a method and device for selecting channel terminals in an optical access network, allowing the first device to support multiple PON interfaces, and the second device to have flexible switching connection capabilities, through hybrid optical modules and system-level chips, automatically according to the settings or modes of the OLT Switch channel terminals to ensure normal transmission between ONU and OLT.
It realizes normal transmission between ONU and OLT, improves transmission performance, avoids service interruption during interface upgrade, supports smooth evolution of multiple PON standards, and reduces operation and maintenance costs.
Smart Images

Figure CN118590792A
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to a method, device and communication equipment for selecting a channel terminal in an optical access network. Background Art
[0002] Passive Optical Network (PON) is a telecommunications network that provides optical fiber, which may include a first device (e.g., Optical Line Terminal (OLT)), an Optical Distribution Network (ODN), and a second device (e.g., Optical Network Unit (ONU), gateway, intelligent gateway, FTTR (Fiber to The Room) master device, FFTR master gateway, MFU (Main FTTR Unit), FTTR main router). The upstream of the PON system is a multi-point-to-point topology, and multiple Optical Network Units (ONUs) share the trunk section of optical fiber.
[0003] According to the difference in rate, wavelength or protocol, the PON interface can support at least one of a plurality of different standard interfaces, and the different standards may include but are not limited to: XG-PON, XGS-PON, GPON, 50G PON, EPON (Ethernet Passive Optical Network), 10G EPON, etc., and the PON interfaces of different standards usually have different upstream / downstream working wavelengths. Taking the first device as OLT and the second device as ONU as an example, the PON interface of OLT can share ODN through wavelength division multiplexing devices, and ONUs of different rates can be accessed under the same ODN, but ONU can only support access to one standard of PON, for example, 10G PON (including XG(S)-PON, 10G EPON, etc.) or GPON. Once the OLT GPON interface is upgraded, the ONU user service will be interrupted, and the ONU and OLT cannot communicate and transmit, resulting in poor transmission performance between ONU and OLT. Summary of the invention
[0004] The embodiments of the present application provide a method, an apparatus and a communication device for selecting a channel terminal in an optical access network, so as to solve the problem of poor transmission performance between a first device and a second device in an existing optical access network.
[0005] To solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application 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:
[0007] 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.
[0008] In a second aspect, an embodiment of the present application provides a channel terminal selection method in an optical access network, which is applied to a second device, wherein the second device at least supports a first channel terminal and a second channel terminal connected to the first device, and the method includes:
[0009] 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.
[0010] In a third aspect, an embodiment of the present application provides a channel terminal selection device 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, and the device includes:
[0011] 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.
[0012] In a fourth aspect, an embodiment of the present application provides a channel terminal selection device in an optical access network, which is 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 a first channel terminal and a second channel terminal connected to the first device, and the device includes:
[0013] 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.
[0014] In a fifth aspect, an embodiment of the present application 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 above are implemented, or the steps of the channel terminal selection method in the optical access network described in the second aspect are implemented.
[0015] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and 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.
[0016] In the channel terminal selection method in the optical access network of the present embodiment, the first device supports at least the first channel terminal and the second channel terminal, the second device supports at least the first channel terminal and the second channel terminal connected to the first device, and the first device can set the second device to connect to the channel terminal of the first device, so that 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 switched to the connection of the second device can be set to adapt to the upgrade of the PON port of the first device, so as to ensure normal transmission between the second device and the first device and improve the transmission performance between the second device and the first device. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0018] Figure 1 It is one of the schematic diagrams of a PON system architecture in the related art;
[0019] Figure 2 This is the second schematic diagram of a PON system architecture in the related art;
[0020] Figure 3 It is a schematic diagram of a PON system in the related art;
[0021] Figure 4 is a schematic diagram of a PON system provided in an embodiment of the present application;
[0022] Figure 5 It is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present application;
[0023] Figure 6 is a flow chart of another method for selecting a channel terminal in an optical access network provided by an embodiment of the present application;
[0024] Figure 7 It is an interactive diagram of a channel terminal selection method in an optical access network provided by an embodiment of the present application;
[0025] Figure 8 It is a schematic diagram of the GPON system protocol stack;
[0026] Fig. 9 It is a GRM frame structure diagram;
[0027] Fig.10 This is a GPON downstream frame structure diagram;
[0028] Fig.11 It is a GPON upstream frame structure diagram;
[0029] Fig.12 It is a module schematic diagram of a channel terminal selection device in an optical access network provided by an embodiment of the present application;
[0030] Fig.13 It is a module schematic diagram of another channel terminal selection device in an optical access network provided by an embodiment of the present application;
[0031] Fig.14 It is a structural diagram of a communication device provided in an embodiment of the present application;
[0032] Fig.15 It is a structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0034] The following is a description of the relevant contents of this application:
[0035] like Figure 1 and Figure 2As shown, since the upstream of the PON system is a multi-point-to-point topology, and multiple ONUs share the trunk section of optical fiber, in order to correctly arrange the start and end time of each ONU's upstream transmission and "multiplex" each ONU's transmission time slot without overlapping in time after the optical combiner / optical coupler is combined, it is necessary to first know the delay of each ONU from the OLT, that is, the distance. Otherwise, the difference in the upstream transmission delay of each ONU to the OLT may cause the overlap of each ONU's time slot, resulting in a collision of time slots from different ONUs. That is, in the PON system of the related technology, the downstream is continuously broadcast, and the upstream is prone to time division multiplexing (TDM) bursts. Therefore, the ranging technology must be introduced to compensate for the delay difference 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, Figure 2 As shown in the figure, the uplink of GPON / XG(S)-PON (i.e. XG-PON, XGS-PON) transmits data by time division multiplexing. The uplink is divided into different time slots. The uplink time slot is allocated to each ONU according to the upstream bandwidth map field of the downlink frame. In this way, each ONU can send its own data in a certain order to avoid conflicts caused by competing for time slots. Among them, it should be noted that XG-PON: a passive optical network with 10-Gigabit capability, providing asymmetric 10G transmission, and XGS-PON: a symmetric passive optical network with 10-Gigabit capability, providing symmetric 10G transmission.
[0036] like Figure 3 As shown, in the related art, since the upstream / downstream wavelengths of 10G PON and GPON are different, the OLT of the PON system can share the ODN through wavelength division multiplexing (WDM) devices. Figure 3In ODN, BOSA is an optical module (also called Bi-Directional Optical Sub-Assembly), and SoC is a system-level chip. Multiple PONs can be accessed under the same ODN, for example, GPON ONU and 10GPON ONU. For GPON, the downstream / upstream bandwidth is 2.5G / 1.24G, and for 10G PON, the downstream / upstream bandwidth is 10G / 2.5G, 10G / 10G. However, ONU can only support access to one type of PON, namely 10G PON or GPON. In particular, for GPON ONU, once the OLT GPON interface is upgraded to 10GPON, the user-side ONU must be replaced with a 10G PON ONU, otherwise the user service will be interrupted, affecting the transmission performance between the ONU and the OLT, and both the user experience and the on-site replacement of the user-side ONU 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, there will be multiple PON interfaces such as GPON, XG(S)-PON or Combo PON on the OLT line side. How to deploy ONUs to support the smooth evolution of future PON networks is a difficult problem that operators need to consider.
[0037] 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 easily leads to the problem of reduced transmission performance. The embodiment of the present application proposes a mechanism that supports multi-type PON adaptation and a user-side ONU device that supports the mechanism, which has the ability to connect to multiple PON interfaces and can flexibly access different PON interfaces on the OLT side, thereby realizing a fast and smooth upgrade from low to high bandwidth services accompanying the OLT.
[0038] like Figure 4As shown, in an embodiment of the present application, a hybrid optical module (i.e., ComboBOSA) can be introduced into the user-side ONU device, and 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 backward 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, upgraded 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 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 OLTPON 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. The OLT interface can be smoothly upgraded without replacing the user-side ONU.
[0039] In the following embodiments of the present application, 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, a FTTR main device, a FTTR main gateway, an MFU, a FTTR main router, etc. Depending on the rate, wavelength, or protocol, the PON interface can support at least one of a variety of different standards, and the PON interface standard may include but is 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).
[0040] See also Figure 5 , Figure 5 1 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present application, which is applied to a first device, and the first device supports at least a first channel terminal and a second channel terminal. Figure 5 As shown, the channel terminal selection method in the optical access network provided by this embodiment includes the following steps:
[0041] Step 501: A 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.
[0042] 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 achieve communication between the second device and the first device.
[0043] 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 a PON signal of a different generation rate 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 connect 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 connect 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.
[0044] In the channel terminal selection method in the optical access network of the present embodiment, the first device supports at least the first channel terminal and the second channel terminal, the second device supports at least the first channel terminal and the second channel terminal connected to the first device, and the first device can set the second device to connect to the channel terminal of the first device, so that 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 switched to the connection of the second device can be set to adapt to the upgrade of the PON port of the first device, so as to ensure normal transmission between the second device and the first device and improve the transmission performance between the second device and the first device.
[0045] In one example, different channel terminals of the 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, so that when connected to different channel terminals, PON signal transmissions of different rates can be performed. Since different channel terminals of the first device have different rates, the first device can set the second device to connect to channel terminals of different rates, so that the second device can have multiple PON rate docking capabilities, so that the second device can 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 set the second device to connect to the channel terminal of the first device, so that 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 interface of the first device is upgraded, the channel terminal of the second device switching connection can be set to adapt to the upgrade of the PON interface of the first device to ensure normal transmission between the second device and the first device, and improve the transmission performance between the second device and the first device.
[0046] In one embodiment, the first device may set the second device to connect to the channel terminal of the first device, including:
[0047] 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,
[0048] The first device sets the second device to select a channel terminal connected to the first device based on the first mode.
[0049] 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.
[0050] In this embodiment, the second device can be switched from being connected to the first channel terminal to being connected to one of the other channel terminals through the setting of the first device, or the second device can be selected to be connected to a channel terminal of the first device based on the first mode of the second device through the setting of the first device. In this way, the flexibility of setting the channel terminal connected to the second device can be improved.
[0051] For example, taking the number of channel terminals supported by the first device as N, 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 set the second device to connect to a channel terminal of one of the other N-1 channel terminals (i.e., channel terminal 2, ..., channel terminal N).
[0052] Exemplarily, taking N as 2, and the channel terminals supported by the first device including the first channel terminal and the second channel terminal as an example, when the second device is connected to the first channel terminal, the first device may 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 may set the second device to be connected to the first channel terminal; or, the first device may set the second device to be connected to the first channel terminal or the second channel terminal based on the first mode selection. The flexibility of setting the second device to be connected to the channel terminal can be improved.
[0053] 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.
[0054] 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, and when the second device supports the selected channel terminal, the second device can be connected to it for communication.
[0055] Exemplarily, when the second device is connected to the first channel terminal, in the first mode, the second device can select a channel terminal with the maximum rate supported by the second device from other channel terminals on the first device for connection, and by connecting to the channel terminal, the transmission rate can be improved. For example, in the above example, the number of channel terminals of the first device is N. When the second device is connected to channel terminal 1, in the process of selecting a channel terminal to be connected to the second device based on the first mode, a channel terminal with a higher rate among the other N-1 channel terminals can be preferentially selected. For example, among the other N-1 channel terminals, channel terminal 2 has the highest rate. If the second device supports channel terminal 2, the second device can be connected to channel terminal 2.
[0056] In one embodiment, the first mode supports a timeout mechanism;
[0057] The timeout mechanism includes:
[0058] 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.
[0059] It should be noted that the second device has the capability of interfacing with multiple PON interfaces. The first device can be set to select a channel terminal connected to the first device based on the first mode. The second device is currently connected to the first channel terminal. The second device can be switched 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 other channel terminals of the first device, and supports a timeout mechanism. It can be understood that the second device preferably selects a channel terminal with a higher rate among other channel terminals, but if the selected channel terminal does not match the channel terminal supported by the second device, the second device may not enter the working state within the preset time under the selected channel terminal, that is, according to the above selected channel terminal within the preset time, the second device cannot work, once the preset time expires, other channel terminals with higher rates can be selected from the remaining channel terminals, that is, when the preset time expires, the second device can switch to select a channel terminal among the remaining channel terminals, and when the switched selected channel terminal does not match the channel terminal supported by the second device, it does not enter the working state within the preset time, and when the timeout (that is, the preset time expires), the second device switches to select another channel terminal among the remaining channel terminals.
[0060] 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 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 a 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, then 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 the 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 the channel terminal 2, but the channel terminal 3 is the channel terminal with the rate second only to the channel terminal 2 among the other N-1 channel terminals). If the second device supports the channel terminal 3, the channel terminal 3 can be connected to communicate. If the second device does not support the channel terminal 3, the second device does not enter the working state based on the channel terminal 3 of the first device that is most recently selected within the preset time. After the timeout, the second device can switch to select another channel terminal, and the cycle continues until a channel terminal with matching rate is selected. The second device enters the working state, connects to the channel terminal with matching rate, and communicates with the first device.
[0061] In this embodiment, the second device can select a channel terminal based on the first mode, so that the second device can give priority to selecting a channel terminal with a higher rate in the first device and support a timeout mechanism, so that the flexibility of the second device in selecting a channel terminal can be improved.
[0062] In one embodiment, the method further includes: the first device acquiring the first device channel terminal information on the second device,
[0063] 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, including:
[0064] 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.
[0065] Exemplarily, 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, when the second device is connected to the first channel terminal, based on the first device channel terminal information, the first device may set the second device to connect to the channel terminal of one of the other channel terminals.
[0066] In this embodiment, the first device can set the channel terminal of the first device to which the second device is connected according to the first device channel terminal information on the second device, so as to improve the compatibility of the set second device connected channel terminal with the second device.
[0067] 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:
[0068] 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.
[0069] 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, and the second device can be set to connect to the second channel terminal. If the control message indicates the third channel terminal, 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.
[0070] 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 OMCI (ONU Management and Control Interface) message. In one embodiment, the control message is carried on the control channel between the first device and the second device. Exemplarily, the control channel can be an OMCC (ONU Management and Control Channel).
[0071] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:
[0072] A capability attribute of the second device to connect to a channel terminal of the first device;
[0073] A mode attribute of a channel terminal of a second device connected to a first device;
[0074] The status attribute of the channel terminal of the first device to which the second device is currently connected.
[0075] 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:
[0076] First mode capabilities;
[0077] A capability of connecting a first channel terminal of a first device;
[0078] The ability to connect to other channel terminals of the first device.
[0079] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
[0080] First mode;
[0081] a mode of connecting a first channel terminal of a first device;
[0082] The mode of connecting other channel terminals of the first device.
[0083] In one embodiment, the state attribute includes at least one of the following:
[0084] The second device is currently connected to the first channel terminal of the first device;
[0085] The second device is currently connected to the other channel terminal of the first device.
[0086] 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, the state attribute can indicate the negotiated connection mode when the mode attribute is the first mode, and it can be understood that it can indicate the final adaptively negotiated connection mode when the mode attribute is the adaptive mode.
[0087] See also Figure 6 , Figure 6 1 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present application, which is applied to a second device, and the second device supports at least a first channel terminal and a second channel terminal. Figure 6 As shown, the channel terminal selection method in the optical access network provided by this embodiment includes the following steps:
[0088] 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.
[0089] In one embodiment, different channel terminals of the first device have at least one of different channel wavelengths, different rates and different protocols.
[0090] 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:
[0091] 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
[0092] The second device selects a channel terminal connected to the first device based on the first pattern.
[0093] 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.
[0094] In one embodiment, the first mode supports a timeout mechanism;
[0095] The timeout mechanism includes:
[0096] 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.
[0097] 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.
[0098] In one embodiment, the second device is connected to the channel terminal of the first device based on the setting of the first device, including:
[0099] The second device receives a control message sent by the first device based on the channel terminal information of the first device;
[0100] 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.
[0101] In one embodiment, the management and control message is carried on a management and control channel between the first device and the second device.
[0102] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:
[0103] A capability attribute of the second device to connect to a channel terminal of the first device;
[0104] A mode attribute of a channel terminal of a second device connected to a first device;
[0105] The status attribute of the channel terminal of the first device to which the second device is currently connected.
[0106] 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:
[0107] First mode capabilities;
[0108] A capability of connecting a first channel terminal of a first device;
[0109] The ability to connect to other channel terminals of the first device.
[0110] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
[0111] First mode;
[0112] a mode of connecting a first channel terminal of a first device;
[0113] The mode of connecting other channel terminals of the first device.
[0114] In one embodiment, the state attribute includes at least one of the following:
[0115] The second device is currently connected to the first channel terminal of the first device;
[0116] The second device is currently connected to the other channel terminal of the first device.
[0117] 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 is connected to the channel terminal of the first device based on the setting of the first device, including:
[0118] 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.
[0119] 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 learn the mode attribute of the channel terminal of the first device to be connected through the setting of the first device, and then compare it with the current mode attribute. In the case that the mode attribute of the first device channel terminal of the second device connected to the first device set by the first device does not match (for example, not the same) with the current mode attribute of the second device, the second device switches to connect to the channel terminal set by the first device. In the case of matching (for example, the same), it means that the channel terminal currently connected to the first device and the second device is consistent, and the second device does not need to switch the channel terminal. For example, the mode attribute of the first device channel terminal to which the second device is connected set by the first device is the first mode attribute (for example, the mode of connecting to the first channel terminal of the first device), and the current mode attribute of the second device is the mode of connecting to the second channel terminal of the first device (that is, the second channel terminal currently connected to the second device). If the two do not match, the second device can switch to a new channel terminal mode, for example, switch to the mode of the first device setting the second device to connect to the first channel terminal of the first device, that is, 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 by the first device does not match the current mode attribute of the second device, switching the second device to connect to the channel terminal corresponding to the setting of the first device may include: when the mode attribute of the channel terminal for connecting the second device to the first device set by the first device does not match the current mode attribute of the second device, and the setting is successful, the second device switches to connect to the channel terminal corresponding to the setting of the first device.
[0120] 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.
[0121] like Figure 7 As shown, the process of the above method is specifically described with 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).
[0122] First, the relevant technical principles of PON are explained.
[0123] 1.1 GPON Technology
[0124] The concept of GPON (Gigabit Capable PON) was first proposed by FSAN (full service access network) in 2001.
[0125] 1.1.1 Protocol Layering
[0126] In the GPON system protocol stack, the TC layer (Transmission Convergence Layer) is the most critical protocol. The TC layer is divided into two sublayers: TC framing sublayer and TC adaptation sublayer. Figure 8 shown.
[0127] 1.1.2 Frame structure
[0128] The TC adaptation sublayer of GPON can adopt two encapsulation methods: ATM encapsulation and GEM (GPON Encapsulation Method). The ATM encapsulation method follows the provisions of the G.983 series of standards, using ATM cells to carry data traffic and can support various services. The GEM encapsulation method is a GPON-specific encapsulation protocol, which is derived from GFP (Generic Framing Protocol, ITU-TG.7041) and is very similar to GFP. Taking into account the multiplexing of multiple ONUs and multiple ports in the PON network, GPON introduces the concept of Port ID. In addition, GEM draws on the frame synchronization mechanism of GFP and uses a self-description method to determine the frame boundary. The GEM frame structure is as follows Fig. 9 GEM is the main adaptation method in the GPON system. Compared with the ATM adaptation method, it has high encapsulation efficiency, improves system bandwidth utilization, and provides flexible services.
[0129] In order to achieve the clock synchronization and delay required for carrying TDM services, GPON stipulates that the downstream frame length is 125us. The GPON downstream frame structure is as follows Fig.10 As shown, the uplink frame structure is as follows Fig.11 As shown. The downstream frame consists of the downstream physical control block (PCBd) and the ATM and GEM payload fields. The upstream frame consists of multiplexed burst transmission time slots. Each upstream burst includes a minimum physical layer overhead (PLOu). In addition to the payload field, it may also include the upstream physical layer OAM (PLOAMu), upstream power level sequence (PLSu) and upstream dynamic bandwidth report (DBRu). The downstream frame provides a common time reference for the PON and a common control signal for the upstream flow.
[0130] In the GPON system, the maximum logical distance difference of ONU can reach 20km, and the maximum split ratio supported is 16, 32 or 64. The downstream rate of the GPON system can reach 1.244 or 2.488Gbit / s, and the upstream rate can reach 0.155, 0.622, 1.244 or 2.488Gbit / s.
[0131] The ranging principle of the GPON system is consistent with G.983, and its DBA and QoS follow the idea of G.983.4, dividing the services into five types, setting different parameters for different services, detecting congestion status based on the parameters, allocating bandwidth, and authorizing ONUs. In addition, the TC layer of GPON also defines some new functions, such as FEC (forward error correction) and power control.
[0132] GPON focuses more on supporting multiple services and QoS guarantees, and can support simultaneous access to various services such as voice, ATM, and IP.
[0133] like Figure 7 As shown, the specific process of this embodiment is as follows:
[0134] The ONU sets the working channel mode (adaptive or OLT specified) through preset or local configuration, connects to the OLT CT1, completes the registration and authentication online process, and the ONU enters the working state.
[0135] OLT CT1 can obtain 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 attributes, mode attributes, and status).
[0136] 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 management and 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.
[0137] The ONU connects to the OLT CT2 through the new working channel mode (adaptive or OLT specified), completes the registration and authentication online process after connecting to the OLT CT2, and the ONU enters the working state.
[0138] In summary, the embodiment of the present application proposes a mechanism that supports the adaptation of multiple PON standards, and has the ability to connect multiple PON interfaces, which can solve the synchronous evolution and upgrade capabilities of ONUs during the evolution of lower-speed networks (e.g., GPON networks) to higher-speed networks (e.g., 10G PON), and can avoid the waste of resources caused by the replacement of a large number of equipment in the future. It also supports flexible access to multiple PON standards, and can flexibly access different PON interfaces on the OLT side, realizing a fast and smooth upgrade of the high-bandwidth service from GPON to XG(S)-PON accompanying the OLT.
[0139] like Fig.12 As shown, Fig.12 1 is a schematic diagram of a structure of a channel terminal selection device 1200 in an optical access network provided in an embodiment of the present application. The channel terminal selection device 1200 in the optical access network is applied to a first device, the first device supports at least a first channel terminal and a second channel terminal, and the device includes:
[0140] The setting module 1201 is used to set a channel terminal for connecting a second device to a first device, wherein the second device at least supports connecting to a first channel terminal and a second channel terminal.
[0141] In one embodiment, the setting module 1201 is specifically configured to:
[0142] In the case where the second device is connected to the first channel terminal, the second device may be set 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,
[0143] The second device is configured to select a channel terminal connected to the first device based on the first mode.
[0144] 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.
[0145] In one embodiment, the first mode supports a timeout mechanism;
[0146] The timeout mechanism includes:
[0147] 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.
[0148] In one embodiment, the apparatus 1200 further includes:
[0149] An information acquisition module is used to acquire the first device channel terminal information on the second device,
[0150] The setting module 1201 is further specifically used for:
[0151] 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.
[0152] In one embodiment, setting the second device to be connected to other channel terminals on the first device based on the first device channel terminal information includes:
[0153] 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.
[0154] In one embodiment, the management and control message is carried on a management and control channel between the first device and the second device.
[0155] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:
[0156] A capability attribute of the second device to connect to a channel terminal of the first device;
[0157] A mode attribute of a channel terminal of a second device connected to a first device;
[0158] The status attribute of the channel terminal of the first device to which the second device is currently connected.
[0159] 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:
[0160] First mode capabilities;
[0161] A capability of connecting a first channel terminal of a first device;
[0162] The ability to connect to other channel terminals of the first device.
[0163] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
[0164] First mode;
[0165] a mode of connecting a first channel terminal of a first device;
[0166] The mode of connecting other channel terminals of the first device.
[0167] In one embodiment, the state attribute includes at least one of the following:
[0168] The second device is currently connected to the first channel terminal of the first device;
[0169] The second device is currently connected to the other channel terminal of the first device.
[0170] 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.
[0171] See also Fig.13 , Fig.13 1 is a schematic diagram of a structure of a channel terminal selection device 1300 in an optical access network provided by an embodiment of the present application. The channel terminal selection device 1300 in the optical access network is applied to a second device, and the second device at least supports a first channel terminal and a second channel terminal connected to the first device. The device includes:
[0172] The connection 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.
[0173] In one embodiment, the connection module 1301 is specifically configured to:
[0174] In the case where the second device is connected to the first target channel terminal, the second device is switched 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
[0175] The second device is connected to the channel terminal of the first device selected based on the first mode.
[0176] 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.
[0177] In one embodiment, the first mode supports a timeout mechanism;
[0178] The timeout mechanism includes:
[0179] 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.
[0180] In one embodiment, the apparatus 1300 further includes:
[0181] 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.
[0182] In one embodiment, the connection module 1301 includes:
[0183] A control message receiving module, used to receive a control message sent by the first device based on the first device channel terminal information;
[0184] The connection submodule is used 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.
[0185] In one embodiment, the management and control message is carried on a management and control channel between the first device and the second device.
[0186] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:
[0187] A capability attribute of the second device to connect to a channel terminal of the first device;
[0188] A mode attribute of a channel terminal of a second device connected to a first device;
[0189] The status attribute of the channel terminal of the first device to which the second device is currently connected.
[0190] 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:
[0191] First mode capabilities;
[0192] A capability of connecting a first channel terminal of a first device;
[0193] The ability to connect to other channel terminals of the first device.
[0194] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
[0195] First mode;
[0196] a mode of connecting a first channel terminal of a first device;
[0197] The mode of connecting other channel terminals of the first device.
[0198] In one embodiment, the state attribute includes at least one of the following:
[0199] The second device is currently connected to the first channel terminal of the first device;
[0200] The second device is currently connected to the other channel terminal of the first device.
[0201] In one embodiment, the setting of the first device includes a mode attribute of the second device connected to the channel terminal of the first device set by the first device;
[0202] 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.
[0203] The channel terminal selection device in the optical access network provided in this embodiment can implement the various processes of the various embodiments of the 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 effect. To avoid repetition, they will not be repeated here.
[0204] An embodiment of the present application also provides a communication device, which may be a first device, comprising: a processor, a memory, and a program stored in the memory and executable 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.
[0205] For details, see Fig.14 The embodiment of the present application also 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.
[0206] Wherein, the first device supports at least a first channel terminal and a second channel terminal;
[0207] Processor 1405: configured to set a channel terminal for connecting a second device to a first device, wherein the second device at least supports connecting to a first channel terminal and a second channel terminal.
[0208] In one embodiment, the processor 1405 is specifically configured to:
[0209] In the case where the second device is connected to the first channel terminal, the second device may be set 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,
[0210] The second device is configured to select a channel terminal connected to the first device based on the first mode.
[0211] 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.
[0212] In one embodiment, the first mode supports a timeout mechanism;
[0213] 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 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.
[0214] In one embodiment, the processor 1405 is further configured to:
[0215] Acquire the first device channel terminal information on the second device;
[0216] 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.
[0217] In one embodiment, setting the second device to be connected to other channel terminals on the first device based on the first device channel terminal information includes:
[0218] 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.
[0219] In one embodiment, the management and control message is carried on a management and control channel between the first device and the second device.
[0220] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:
[0221] A capability attribute of the second device to connect to a channel terminal of the first device;
[0222] A mode attribute of a channel terminal of a second device connected to a first device;
[0223] The status attribute of the channel terminal of the first device to which the second device is currently connected.
[0224] 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:
[0225] First mode capabilities;
[0226] A capability of connecting a first channel terminal of a first device;
[0227] The ability to connect to other channel terminals of the first device.
[0228] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
[0229] First mode;
[0230] a mode of connecting a first channel terminal of a first device;
[0231] The mode of connecting other channel terminals of the first device.
[0232] In one embodiment, the state attribute includes at least one of the following:
[0233] The second device is currently connected to the first channel terminal of the first device;
[0234] The second device is currently connected to the other channel terminal of the first device.
[0235] exist Fig.14In the embodiment, the bus architecture (represented by bus 1401) may include any number of interconnected buses and bridges, and bus 1401 links various circuits including one or more processors represented by processor 1405 and memory represented by memory 1406. Bus 1401 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 1404 provides an interface between bus 1401 and transceiver 1402. Transceiver 1402 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 1405 is transmitted on a wireless medium via antenna 1403, and further, antenna 1403 also receives data and transmits the data to processor 1405.
[0236] 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.
[0237] Optionally, the processor 1405 may be a CPU, an ASIC, an FPGA or a CPLD.
[0238] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a 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 is not repeated here. Among them, 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, etc.
[0239] An embodiment of the present application also provides a communication device, which may be a second device, comprising: a processor, a memory, and a program stored in the memory and executable 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.
[0240] For details, see Fig.15 As shown, an embodiment of the present application 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.
[0241] Wherein, the second device at least supports a first channel terminal and a second channel terminal connected to the first device;
[0242] 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.
[0243] In one embodiment, the processor 1505 is specifically configured to:
[0244] In the case where the second device is connected to the first target channel terminal, the second device is switched 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
[0245] The second device is connected to the channel terminal of the first device selected based on the first mode.
[0246] 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.
[0247] In one embodiment, the first mode supports a timeout mechanism;
[0248] The timeout mechanism includes:
[0249] 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.
[0250] 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.
[0251] 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;
[0252] 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.
[0253] In one embodiment, the management and control message is carried on a management and control channel between the first device and the second device.
[0254] In one embodiment, the first device channel terminal information on the second device includes at least one of the following:
[0255] A capability attribute of the second device to connect to a channel terminal of the first device;
[0256] A mode attribute of a channel terminal of a second device connected to a first device;
[0257] The status attribute of the channel terminal of the first device to which the second device is currently connected.
[0258] 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:
[0259] First mode capabilities;
[0260] A capability of connecting a first channel terminal of a first device;
[0261] The ability to connect to other channel terminals of the first device.
[0262] In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
[0263] First mode;
[0264] a mode of connecting a first channel terminal of a first device;
[0265] The mode of connecting other channel terminals of the first device.
[0266] In one embodiment, the state attribute includes at least one of the following:
[0267] The second device is currently connected to the first channel terminal of the first device;
[0268] The second device is currently connected to the other channel terminal of the first device.
[0269] In one embodiment, the setting of the first device includes a mode attribute of the second device connected to the channel terminal of the first device set by the first device;
[0270] The processor 1505 is specifically configured to switch the second device to connect to a channel terminal corresponding to a 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.
[0271] exist Fig.15In the embodiment, the bus architecture (represented by bus 1501) is shown, and bus 1501 may include any number of interconnected buses and bridges, and bus 1501 links various circuits including one or more processors represented by processor 1505 and memory represented by memory 1506. Bus 1501 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 1504 provides an interface between bus 1501 and transceiver 1502. Transceiver 1502 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 1505 is transmitted on a wireless medium via antenna 1503, and further, antenna 1503 also receives data and transmits the data to processor 1505.
[0272] The processor 1505 is responsible for managing the bus 1501 and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 1506 can be used to store data used by the processor 1505 when performing operations.
[0273] Optionally, the processor 1505 may be a CPU, an ASIC, an FPGA or a CPLD.
[0274] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a 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 is not repeated here. Among them, the computer-readable storage medium, such as ROM, RAM, magnetic disk or optical disk, etc.
[0275] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0276] 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 a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, 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, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0277] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application 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 application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for selecting a channel terminal in an optical access network, characterized in that: Applied to a first device, 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: The method further includes: the first device acquiring the first device channel terminal information on the second device, 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, including: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: Applied to a second device, the second device at least supports a first channel terminal and a second channel terminal connected to the 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: Applied to a first device, the first device at least supports a first channel terminal and a second channel terminal, the apparatus comprises: 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, characterized in that: Applied to a second device, the second device at least supports a first channel terminal and a second channel terminal connected to a first device, the apparatus 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, characterized in that: include: 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, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the methods of claims 1-23 are implemented.
