[go: up one dir, main page]

WO2024183676A1 - Channel terminal selection method and apparatus in optical access network, and communication device - Google Patents

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

Info

Publication number
WO2024183676A1
WO2024183676A1 PCT/CN2024/079822 CN2024079822W WO2024183676A1 WO 2024183676 A1 WO2024183676 A1 WO 2024183676A1 CN 2024079822 W CN2024079822 W CN 2024079822W WO 2024183676 A1 WO2024183676 A1 WO 2024183676A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel terminal
channel
terminal
terminals
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2024/079822
Other languages
French (fr)
Chinese (zh)
Inventor
李俊玮
张德朝
胡蕾雅
朱景龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Publication of WO2024183676A1 publication Critical patent/WO2024183676A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Definitions

  • the present disclosure 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.
  • Passive Optical Network is a telecommunication network that provides optical fiber and 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, Fiber to the Room (FTTR) master device, FFTR master gateway, Main FTTR Unit (MFU), FTTR master router).
  • OLT Optical Line Terminal
  • ODN Optical Distribution Network
  • ONU Optical Network Unit
  • gateway intelligent gateway
  • Fiber to the Room (FTTR) master device FFTR master gateway
  • MFU Main FTTR Unit
  • FTTR master router Main FTTR Unit
  • the PON interface may support at least one of a plurality of different standard interfaces, and the different standards may include but are not limited to: 10-Gigabit Passive Optical Network (XG-PON), symmetric 10-Gigabit Passive Optical Network (XGS-PON), Gigabit Passive Optical Network (GPON), 50G PON, Ethernet Passive Optical Network (EPON), 10G EPON, etc., and the PON interfaces of different standards usually have different upstream/downstream working wavelengths.
  • XG-PON 10-Gigabit Passive Optical Network
  • XGS-PON symmetric 10-Gigabit Passive Optical Network
  • GPON Gigabit Passive Optical Network
  • EPON Ethernet Passive Optical Network
  • 10G EPON 10G EPON
  • the PON interface of the OLT can share the ODN through a wavelength division multiplexing device, and ONUs of different rates can be accessed under the same ODN, but the ONU can only support access to one standard of PON, for example, 10G PON (including XG(S)-PON, 10G EPON, etc.) or GPON.
  • 10G PON including XG(S)-PON, 10G EPON, etc.
  • GPON GPON
  • the embodiments of the present disclosure 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 the related optical access network.
  • an embodiment of the present disclosure provides a method for selecting a channel terminal in an optical access network, which is applied to a first device, wherein the first device supports at least a first channel terminal and a second channel terminal, and includes:
  • 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.
  • an embodiment of the present disclosure 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:
  • 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.
  • an embodiment of the present disclosure 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, the device comprising:
  • the setting module is configured to set a channel terminal for connecting a second device to the first device, wherein the second device at least supports connecting to the first channel terminal and a second channel terminal.
  • an embodiment of the present disclosure provides a channel terminal selection device in an optical access network, which is applied to a second device, wherein the first device at least supports a first channel terminal and a second channel terminal, and the second device at least supports a first channel terminal and a second channel terminal connected to the first device, and the device includes:
  • 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.
  • an embodiment of the present disclosure provides a communication device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program is executed by the processor.
  • the steps of the channel terminal selection method in the optical access network described in the first aspect or the steps of the channel terminal selection method in the optical access network described in the second aspect are implemented.
  • an embodiment of the present disclosure 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.
  • 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
  • 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.
  • 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.
  • FIG1 is a schematic diagram of a PON system architecture in the related art
  • FIG. 2 is a second schematic diagram of a PON system architecture in the related art
  • FIG3 is a schematic diagram of a PON system in the related art
  • FIG4 is a schematic diagram of a PON system provided by an embodiment of the present disclosure.
  • FIG. 5 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present disclosure
  • FIG. 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 disclosure
  • FIG. 7 is an interactive diagram of a channel terminal selection method in an optical access network provided by an embodiment of the present disclosure.
  • FIG8 is a schematic diagram of a GPON system protocol stack
  • FIG9 is a diagram of a GRM frame structure
  • FIG10 is a diagram of a GPON downlink frame structure
  • FIG11 is a GPON uplink frame structure diagram
  • FIG. 12 is a module schematic diagram of a channel terminal selection device in an optical access network provided by an embodiment of the present disclosure
  • FIG. 13 is a module schematic diagram of another channel terminal selection device in an optical access network provided by an embodiment of the present disclosure.
  • FIG14 is a schematic diagram of the structure of a communication device provided by an embodiment of the present disclosure.
  • FIG. 15 is a schematic diagram of the structure of a communication device provided in an embodiment of the present disclosure.
  • 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.
  • XG-PON has 10-Gigabit XGS-PON: A 10-Gigabit-capable passive optical network that provides asymmetric 10G transmission.
  • the OLT of the PON system can share the ODN through wavelength division multiplexing (WDM) devices.
  • WDM wavelength division multiplexing
  • BOSA is an optical module (also known as a Bi-Directional Optical Sub-Assembly), and SoC is a system-on-chip (System on Chip).
  • Multiple PONs can be accessed under the same ODN, for example, GPON ONU and 10G PON ONU, where 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.
  • ONU can only support access to one standard PON, namely 10G PON or GPON.
  • the user-side ONU must be replaced with 10G PON ONU, otherwise the user service will be interrupted, affecting the transmission performance between ONU and 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.
  • 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 ONU to support the smooth evolution of future PON networks is a difficult problem that operators need to consider.
  • 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 embodiments of the present disclosure propose a mechanism that supports multi-type PON adaptation and a user-side ONU device that supports the mechanism.
  • the ONU device has the ability to connect to multiple PON interfaces, can flexibly access different PON interfaces on the OLT side, and realizes a fast and smooth upgrade from low to high bandwidth services accompanying the OLT.
  • a hybrid optical module i.e., Combo BOSA
  • 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.
  • 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 ONU Management and Control Interface (OMCI) message.
  • OMCI ONU Management and Control Interface
  • the user-side ONU After receiving the instruction, the user-side ONU can automatically restart and switch from working mode 1 (for example, GPON working mode) to the working mode 2. It is working mode 2 (for example, XG(S)-PON working mode). After the OLT PON interface upgrade is completed, the user-side ONU automatically restarts and switches to working mode 2. At this time, the optical path between the user-side ONU and the OLT is connected, that is, the user-side ONU can go online at the OLT, ensuring normal transmission between the ONU and the OLT, and supporting smooth upgrade of the OLT interface without replacing the user-side ONU.
  • working mode 1 for example, GPON working mode
  • working mode 2 for example, XG(S)-PON working mode
  • the first device and the second device are connected through a PON interface.
  • the second device can be connected to the first device.
  • the first device can be an OLT
  • 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.
  • 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).
  • FIG5 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present disclosure, which is applied to a first device, and the first device at least supports a first channel terminal and a second channel terminal.
  • the method for selecting a channel terminal in an optical access network provided by the present embodiment includes the following steps:
  • 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.
  • the first device communicates with the second device through a channel terminal.
  • the second device may include a connected hybrid optical module and a system-on-chip (SoC).
  • SoC system-on-chip
  • 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.
  • 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).
  • the second device 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 PON signals of a different standard (e.g., a PON signal of a different generation rate). For example, the second device can send PON signals of different generation rates through a hybrid optical module.
  • the second device may be set to connect to a channel terminal of the first device. It should be noted that the second device is connected to one of the channel terminals supported by the second device among the channel terminals of the first device.
  • the first device may be set to connect the second device to any channel terminal among the channel terminals of the first device, so that the second device can flexibly access the channel terminals of different PON standards of the first device.
  • 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
  • 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.
  • 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.
  • different channel terminals of the first device have at least one of different channel wavelengths, different rates, and different protocols.
  • 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.
  • 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.
  • 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, so as to ensure the normal transmission between the second device and the first device, and improve the transmission performance between the second device and the first device.
  • the first device may set the second device to connect to the channel terminal of the first device, including:
  • 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 sets the second device to select a channel terminal connected to the first device based on the first mode.
  • 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.
  • 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.
  • 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.
  • the N channel terminals are channel terminal 1, channel terminal 2, ..., channel terminal N-1 and channel terminal N.
  • 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).
  • the first device 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.
  • 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.
  • the first mode can be understood as an adaptive mode.
  • 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.
  • the second device 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 to connect to, and by connecting to the channel terminal, the transmission rate can be improved.
  • the number of channel terminals of the first device is N
  • the transmission rate can be increased.
  • a channel terminal with a higher rate among the other N-1 channel terminals may 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 may be connected to channel terminal 2.
  • the first mode supports a timeout mechanism
  • the timeout mechanism includes:
  • the second device 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.
  • 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.
  • 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, within the preset time, according to the above selected channel terminal, the second device cannot work.
  • 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.
  • timeout that is, the preset time expires
  • the second device switches to select another channel terminal among the remaining channel terminals.
  • 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 channel terminal 1 of the first device.
  • channel terminal 2 is a channel terminal with a higher rate among the other N-1 channel terminals.
  • the second device preferentially selects channel terminal 2 with a higher rate. If the second device The second device supports the selection of channel terminal 2, and the second device can access the selected channel terminal 2. If the second device does not support channel terminal 2, then within the preset time length, based on the selected channel terminal 2 of the first device, the second device does not enter the working state.
  • the second device switches to select the channel terminal 3 of the first device with a lower rate (its rate is lower than the rate of channel terminal 2, but channel terminal 3 is the channel terminal with a rate second only to channel terminal 2 among the other N-1 channel terminals). If the second device supports channel terminal 3, it can access channel terminal 3 for communication. If the second device does not support channel terminal 3, within the preset time length, based on the newly selected channel terminal 3 of the first device, the second device does not enter the working state. After the timeout, the second device can switch to select another channel terminal, and so on. 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.
  • the second device can select a channel terminal based on the first mode. In this way, the second device can give priority to selecting a channel terminal with a higher rate in the first device and support a timeout mechanism. In this way, the flexibility of the second device in selecting a channel terminal can be improved.
  • the method further includes: the first device acquiring the first device channel terminal information on the second device,
  • the first device may set the second device to be connected to other channel terminals on the first device, including:
  • the first device sets the second device to be connected to other channel terminals on the first device.
  • 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.
  • 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.
  • 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.
  • the first device based on the first device channel terminal information, sets the second device to connect to other channel terminals on the first device, including:
  • 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.
  • 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.
  • the channel terminals supported by the first device include the first channel terminal, the second channel terminal and the third channel terminal.
  • the control message indicates the second channel terminal, and the second device can be set to connect to the second channel terminal.
  • the control message indicates the third channel terminal, the second device can be set to connect to the third channel terminal.
  • 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.
  • the channel terminal of the first device to which the second device is connected can be set by a control message.
  • the control message can indicate the channel terminal of the first device to which the second device is connected.
  • the second device can be connected to the channel terminal of the first device indicated by the control message.
  • the control message can be an ONU Management and Control Interface (OMCI) message.
  • the control message is carried on a control channel between the first device and the second device.
  • the control channel can be an ONU Management and Control Channel (OMCC).
  • the first device channel terminal information on the second device includes at least one of the following:
  • 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 mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
  • the mode of connecting other channel terminals of the first device is the mode of connecting other channel terminals of the first device.
  • 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.
  • 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
  • it can be understood that it can indicate the final adaptively negotiated connection mode when the mode attribute is the adaptive mode.
  • FIG. 6 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present disclosure, which is applied to a second device, and the second device supports at least a first channel terminal and a second channel terminal.
  • the method for selecting a channel terminal in an optical access network provided by this embodiment includes the following steps:
  • 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.
  • different channel terminals of the first device have at least one of different channel wavelengths, different rates and different protocols.
  • 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:
  • 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;
  • the second device selects a channel terminal connected to the first device based on the first pattern.
  • 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.
  • the first mode supports a timeout mechanism
  • the timeout mechanism includes:
  • the second device 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.
  • 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.
  • the second device is connected to a channel terminal of the first device based on the setting of the first device, comprising:
  • the second device receives a control message sent by the first device based on the channel terminal information of the first device;
  • the second device 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.
  • the management and control message is carried on a management and control channel between the first device and the second device.
  • the first device channel terminal information on the second device includes at least one of the following:
  • 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 mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
  • the mode of connecting other channel terminals of the first device is the mode of connecting other channel terminals of the first device.
  • 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.
  • 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:
  • the second device switches to connect to the channel terminal corresponding to the setting of the first device.
  • the first device can set the channel terminal of the first device to which the second device is connected.
  • 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.
  • 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.
  • matching for example, the same
  • the mode attribute of the first device channel terminal of the second device connected to the first device 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 connected to the first channel terminal of the first device, that is, switch to the first channel terminal.
  • 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 on 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.
  • mode attribute matching is required.
  • 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.
  • the first device is an OLT
  • the second device is an ONU
  • the channel terminals supported by the first device include a first channel terminal (CT1) and a second channel terminal (CT2).
  • GPON Gigabit Capable PON
  • FSAN Full Service Access Network
  • the transmission convergence layer (TC layer) is the most critical protocol.
  • the TC layer is divided into two sublayers: TC framing sublayer and TC adaptation sublayer, as shown in Figure 8.
  • the TC adaptation sublayer of GPON can adopt two encapsulation methods: Asynchronous Transfer Mode (ATM) encapsulation and GPON Encapsulation Method (GEM) encapsulation.
  • ATM Asynchronous Transfer Mode
  • GEM GPON Encapsulation Method
  • the ATM encapsulation method follows the provisions of the G.983 series of standards, uses 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 the Generic Framing Procedure (GFP, ITU-T G.7041) and is very similar to GFP.
  • GFP Generic Framing Procedure
  • GPON introduces the concept of port number (Port ID).
  • 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 shown in Figure 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 is flexible in business.
  • GPON stipulates that the downstream frame length is 125us.
  • the GPON downstream frame structure is shown in Figure 10, and the upstream frame structure is shown in Figure 11.
  • the downstream frame consists of a downstream physical control block (PCBd) and ATM and GEM payload fields.
  • the upstream frame consists of multiplexed burst transmission time slots. Each upstream burst includes a minimum physical layer overhead (PLOu), in addition to the payload.
  • PLOu physical layer overhead
  • the downstream frame provides a common time reference for the PON and common control signals for the upstream.
  • 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.
  • the ranging principle of the GPON system is consistent with G.983, and its dynamic bandwidth allocation (DBA) and quality of service (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.
  • DBA dynamic bandwidth allocation
  • QoS quality of service
  • the TC layer of GPON also defines some new functions, such as forward error correction (FEC) and power control.
  • FEC forward error correction
  • ONU sets the working channel mode (adaptive or OLT specified) through preset or local configuration, connects to OLT CT1, completes the registration and authentication online process after connecting to OLT CT1, and then ONU enters the working state.
  • working channel mode adaptive or OLT specified
  • 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 (i.e., corresponding to the above-mentioned capability attributes, mode attributes, and status).
  • OLT CT1 sets the working channel mode of the ONU according to the OLT channel terminal information on the ONU, that is, sets the channel terminal of the OLT connected to the ONU.
  • OLT CT1 can send a control message to the ONU (for example, a message for setting the working channel mode). After receiving the message, the ONU returns a corresponding message response (for example, a message response for setting the working channel mode).
  • the ONU can determine whether the working channel mode set by the OLT matches the current working channel mode of the ONU. If the working channel mode set by the OLT does not match the current working channel mode of the ONU, the ONU switches to a new one.
  • the working channel mode for example, switches to OLT CT2 mode.
  • ONU connects to OLT CT2 through the new working channel mode (adaptive or OLT specified), completes the registration and authentication online process after connecting to OLT CT2, and ONU enters the working state.
  • new working channel mode adaptive or OLT specified
  • the disclosed embodiment proposes a mechanism that supports the adaptation of multiple PON standards, and has the ability to connect multiple PON interfaces. It can solve the synchronous evolution and upgrade capabilities of ONUs during the evolution from a lower-speed network (e.g., GPON network) to a higher-speed network (e.g., 10G PON), and 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, so as to achieve a fast and smooth upgrade from GPON to XG(S)-PON high-bandwidth services accompanying OLT.
  • a lower-speed network e.g., GPON network
  • 10G PON 10G PON
  • FIG. 12 is a schematic structural diagram of a channel terminal selection device 1200 in an optical access network provided by an embodiment of the present disclosure.
  • the channel terminal selection device 1200 in the optical access network is applied to a first device, the first device supports at least a first channel terminal and a second channel terminal, and the device includes:
  • 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.
  • the setting module 1201 is specifically configured to:
  • 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,
  • the second device is configured 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, 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.
  • the first mode supports a timeout mechanism
  • the timeout mechanism includes:
  • the second device 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.
  • the apparatus 1200 further includes:
  • An information acquisition module is used to acquire the first device channel terminal information on the second device,
  • the setting module 1201 is further specifically used for:
  • the second device is set to be connected to other channel terminals on the first device based on the first device channel terminal information.
  • setting the second device to be connected to other channel terminals on the first device based on the first device channel terminal information includes:
  • 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.
  • the management and control message is carried on a management and control channel between the first device and the second device.
  • the first device channel terminal information on the second device includes at least one of the following:
  • 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 mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
  • the mode of connecting other channel terminals of the first device is the mode of connecting other channel terminals of the first device.
  • 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.
  • 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.
  • FIG. 13 is a schematic diagram of the structure of a channel terminal selection device 1300 in an optical access network provided by an embodiment of the present disclosure.
  • the channel terminal selection device 1300 in the optical access network is applied to a second device, and the second device at least supports a first channel terminal and a second channel terminal connected to the first device.
  • the device includes:
  • 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.
  • connection module 1301 is specifically configured to:
  • the second device In the case where the second device is connected to the first target channel terminal, switching the second device to connect to other channel terminals on the first device according to the 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 is connected to the channel terminal of the first device selected based on the first mode.
  • 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.
  • the first mode supports a timeout mechanism
  • the timeout mechanism includes:
  • the second device 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.
  • the apparatus 1300 further includes:
  • 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.
  • connection module 1301 includes:
  • a control message receiving module used to receive a control message sent by the first device based on the first device channel terminal information
  • 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.
  • the management and control message is carried on a management and control channel between the first device and the second device.
  • the first device channel terminal information on the second device includes at least one of the following:
  • 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 mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
  • the mode of connecting other channel terminals of the first device is the mode of connecting other channel terminals of the first device.
  • 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.
  • 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;
  • connection module 1301 is specifically configured to switch the second device to connect to the signal 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. Road terminal.
  • 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.
  • the embodiments of the present disclosure also provide 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.
  • 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.
  • the program is executed by the processor, each process of the 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.
  • an embodiment of the present disclosure further provides a first device, including a bus 1401 , a transceiver 1402 , an antenna 1403 , a bus interface 1404 , a processor 1405 , and a memory 1406 .
  • the first device supports at least a first channel terminal and a second channel terminal
  • 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.
  • the processor 1405 is specifically configured to:
  • 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,
  • the second device is configured 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, 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.
  • the first mode supports a timeout mechanism
  • 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.
  • the processor 1405 is further configured to:
  • the second device is set to be connected to other channel terminals on the first device based on the first device channel terminal information.
  • setting the second device to be connected to other channel terminals on the first device based on the first device channel terminal information includes:
  • 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.
  • the management and control message is carried on a management and control channel between the first device and the second device.
  • the first device channel terminal information on the second device includes at least one of the following:
  • 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 mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
  • the mode of connecting other channel terminals of the first device is the mode of connecting other channel terminals of the first device.
  • 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.
  • Bus 1401 may include any number of interconnected buses and bridges that link together various circuits including one or more processors represented by processor 1405 and memory represented by memory 1406. Bus 1401 may also include a plurality of interconnected buses and bridges. The bus 1401 may be connected to a bus 1402 to link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are not further described herein.
  • the bus interface 1404 provides an interface between the bus 1401 and the transceiver 1402.
  • the 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.
  • the data processed by the processor 1405 is transmitted on a wireless medium via the antenna 1403. Further, the antenna 1403 also receives data and transmits the data to the processor 1405.
  • 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.
  • processor 1405 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD).
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • CPLD complex programmable logic device
  • the disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored.
  • a computer program is stored.
  • 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.
  • 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.
  • the embodiments of the present disclosure also provide 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.
  • 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.
  • the program is executed by the processor, each process of the 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.
  • an embodiment of the present disclosure further provides a second device, including a bus 1501 , a transceiver 1502 , an antenna 1503 , a bus interface 1504 , a processor 1505 , and a memory 1506 .
  • the second device at least supports a first channel terminal and a second channel terminal connected to the first device
  • 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.
  • the processor 1505 is specifically configured to:
  • the second device In the case where the second device is connected to the first target channel terminal, switching the second device to connect to other channel terminals on the first device according to the 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 is connected to the channel terminal of the first device selected based on the first mode.
  • 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.
  • the first mode supports a timeout mechanism
  • the timeout mechanism includes:
  • 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.
  • 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.
  • the management and control message is carried on a management and control channel between the first device and the second device.
  • the first device channel terminal information on the second device includes at least one of the following:
  • 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 mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:
  • the mode of connecting other channel terminals of the first device is the mode of connecting other channel terminals of the first device.
  • 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.
  • 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;
  • 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 a channel terminal mode attribute of the first device does not match a current mode attribute of the second device.
  • bus architecture 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 all 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 via antenna 1503. The transmission is performed on the wireless medium. Further, the antenna 1503 also receives the data and transmits the data to the processor 1505.
  • 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.
  • the processor 1505 may be a CPU, an ASIC, an FPGA or a CPLD.
  • the embodiment of the present disclosure 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 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.
  • the computer-readable storage medium can be, for example, a ROM, RAM, a magnetic disk, or an optical disk.
  • the technical solution of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, a magnetic 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 disclosure.
  • a storage medium such as ROM/RAM, a magnetic disk, or an optical disk
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)

Abstract

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

Description

光接入网中信道终端选择方法、装置及通信设备Channel terminal selection method, device and communication equipment in optical access network

相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS

本申请主张在2023年3月3日在中国提交的中国专利申请号No.202310197071.4的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202310197071.4 filed in China on March 3, 2023, the entire contents of which are incorporated herein by reference.

技术领域Technical Field

本公开涉及网络通信技术领域,尤其涉及一种光接入网中信道终端选择方法、装置及通信设备。The present disclosure 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

无源光网络(Passive Optical Network,PON)是一种提供光纤的电信网络,可包括第一设备(例如,光线路终端(Optical Line Terminal,OLT))、光分配网络(Optical Distribution Network,ODN)以及第二设备(例如,光网络单元(Optical Network Unit,ONU)、网关、智能网关、光纤到房间(Fiber to The Room,FTTR)主设备、FFTR主网关、主FTTR单元(Main FTTR Unit,MFU)、FTTR主路由),PON系统上行为多点到点拓扑,多个光网络单元(ONU)共享主干段光纤。Passive Optical Network (PON) is a telecommunication network that provides optical fiber and 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, Fiber to the Room (FTTR) master device, FFTR master gateway, Main FTTR Unit (MFU), FTTR master router). The upstream of the PON system is a multi-point-to-point topology, and multiple Optical Network Units (ONU) share the trunk section of optical fiber.

根据速率或波长或协议的不同,PON接口可支持多种不同制式接口中的至少一种,不同制式可包括但不限于:10吉比特无源光网络(10-Gigabit Passive Optical Network,XG-PON)、对称的10吉比特无源光网络(10-Gigabit Symmetric Passive Optical Network,XGS-PON)、吉比特无源光网络(Gigabit Passive Optical Network,GPON)、50G PON、以太网无源光网络(Ethernet Passive Optical Network,EPON)、10G EPON等,不同制式的PON接口通常情况下由于上行/下行工作波长不同,以第一设备为OLT,第二设备为ONU为例,OLT的PON接口可以通过波分复用器件共用ODN,在同一ODN下可以接入不同速率的ONU,但ONU只能支持接入一种制式的PON,例如,10G PON(包括XG(S)-PON、10G EPON等)或GPON。一旦OLT GPON接口升级,ONU用户业务会中断,ONU与OLT无法通信传输,导致ONU与OLT 之间的传输性能较差。Depending on the rate, wavelength or protocol, the PON interface may support at least one of a plurality of different standard interfaces, and the different standards may include but are not limited to: 10-Gigabit Passive Optical Network (XG-PON), symmetric 10-Gigabit Passive Optical Network (XGS-PON), Gigabit Passive Optical Network (GPON), 50G PON, Ethernet Passive Optical Network (EPON), 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 the OLT can share the ODN through a wavelength division multiplexing device, and ONUs of different rates can be accessed under the same ODN, but the 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 will be unable to communicate and transmit. The transmission performance between them is poor.

发明内容Summary of the invention

本公开实施例提供一种光接入网中信道终端选择方法、装置及通信设备,以解决相关光接入网络中第一设备与第二设备之间的传输性能较差的问题。The embodiments of the present disclosure 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 the related optical access network.

为解决上述技术问题,本公开是这样实现的:To solve the above technical problems, the present disclosure is implemented as follows:

第一方面,本公开实施例提供了一种光接入网中信道终端选择方法,应用于第一设备,所述第一设备至少支持第一信道终端和第二信道终端,所述包括:In a first aspect, an embodiment of the present disclosure provides a method for selecting a channel terminal in an optical access network, which is applied to a first device, wherein the first device supports at least a first channel terminal and a second channel terminal, and includes:

所述第一设备可设置第二设备连接到所述第一设备的信道终端,其中,所述第二设备至少支持连接到所述第一信道终端和所述第二信道终端。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.

第二方面,本公开实施例提供一种光接入网中信道终端选择方法,应用于第二设备,所述第二设备至少支持连接到第一设备的第一信道终端和第二信道终端,所述方法包括:In a second aspect, an embodiment of the present disclosure 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:

所述第二设备基于所述第一设备的设置或所述第二设备的第一模式连接到所述第一设备的信道终端。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.

第三方面,本公开实施例提供一种光接入网中信道终端选择装置应用于第一设备,所述第一设备至少支持第一信道终端和第二信道终端,所述装置包括:In a third aspect, an embodiment of the present disclosure 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, the device comprising:

设置模块,用于设置第二设备连接到所述第一设备的信道终端,其中,所述第二设备至少支持连接到所述第一信道终端和第二信道终端。The setting module is configured to set a channel terminal for connecting a second device to the first device, wherein the second device at least supports connecting to the first channel terminal and a second channel terminal.

第四方面,本公开实施例提供一种光接入网中信道终端选择装置,应用于第二设备,所述第一设备至少支持第一信道终端和第二信道终端,所述第二设备至少支持连接到所述第一设备的第一信道终端和第二信道终端,所述装置包括:In a fourth aspect, an embodiment of the present disclosure provides a channel terminal selection device in an optical access network, which is applied to a second device, wherein the first device at least supports a first channel terminal and a second channel terminal, and the second device at least supports a first channel terminal and a second channel terminal connected to the first device, and the device includes:

连接模块,用于基于所述第一设备的设置或所述第二设备的第一模式,将所述第二设备连接到所述第一设备的信道终端。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.

第五方面,本公开实施例提供一种通信设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理 器执行时实现上述第一方面所述的光接入网中信道终端选择方法的步骤,或者第二方面所述的光接入网中信道终端选择方法的步骤。In a fifth aspect, an embodiment of the present disclosure provides a communication device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program is executed by the processor. When executed by the device, the steps of the channel terminal selection method in the optical access network described in the first aspect or the steps of the channel terminal selection method in the optical access network described in the second aspect are implemented.

第六方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面所述的光接入网中信道终端选择方法的步骤;或者所述计算机程序被处理器执行时实现上述第二方面所述的光接入网中信道终端选择方法的步骤。In a sixth aspect, an embodiment of the present disclosure 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.

在本实施例的光接入网中信道终端选择方法中,第一设备至少支持第一信道终端和第二信道终端,第二设备至少支持连接到第一设备的第一信道终端和第二信道终端,第一设备可设置第二设备连接到第一设备的信道终端,这样,可使第二设备具有不同PON接口对接能力,可灵活地接入第一设备不同信道终端,即使第一设备的PON端口升级,可设置第二设备切换连接的信道终端,适应第一设备的PON端口升级,以确保第二设备与第一设备之间的正常传输,提高第二设备与第一设备之间的传输性能。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

为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the description of the embodiments of the present disclosure will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

图1是相关技术中一种PON系统架构示意图之一;FIG1 is a schematic diagram of a PON system architecture in the related art;

图2是相关技术中一种PON系统架构示意图之二;FIG. 2 is a second schematic diagram of a PON system architecture in the related art;

图3是相关技术中一种PON系统的原理图;FIG3 is a schematic diagram of a PON system in the related art;

图4是本公开实施例提供的一种PON系统的原理图;FIG4 is a schematic diagram of a PON system provided by an embodiment of the present disclosure;

图5是本公开实施例提供的一种光接入网中信道终端选择方法的流程图;5 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present disclosure;

图6是本公开实施例提供的另一种光接入网中信道终端选择方法的流程图;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 disclosure;

图7是本公开实施例提供的一种光接入网中信道终端选择方法的交互图;7 is an interactive diagram of a channel terminal selection method in an optical access network provided by an embodiment of the present disclosure;

图8是一种GPON系统协议栈示意图; FIG8 is a schematic diagram of a GPON system protocol stack;

图9是一种GRM帧结构图;FIG9 is a diagram of a GRM frame structure;

图10是一种GPON下行帧结构图;FIG10 is a diagram of a GPON downlink frame structure;

图11是一种GPON上行帧结构图;FIG11 is a GPON uplink frame structure diagram;

图12是本公开实施例提供的一种光接入网中信道终端选择装置的模块示意图;12 is a module schematic diagram of a channel terminal selection device in an optical access network provided by an embodiment of the present disclosure;

图13是本公开实施例提供的另一种光接入网中信道终端选择装置的模块示意图;13 is a module schematic diagram of another channel terminal selection device in an optical access network provided by an embodiment of the present disclosure;

图14是本公开实施例提供的一种通信设备的结构示意图;FIG14 is a schematic diagram of the structure of a communication device provided by an embodiment of the present disclosure;

图15是本公开实施例提供的一种通信设备的结构示意图。FIG. 15 is a schematic diagram of the structure of a communication device provided in an embodiment of the present disclosure.

具体实施方式DETAILED DESCRIPTION

下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

以下对本公开涉及的相关内容进行说明:The following is a description of the relevant contents of this disclosure:

如图1和图2所示,由于PON系统上行为多点到点拓扑,多个ONU共享主干段光纤,为正确安排各ONU上行发送起止时刻、把各ONU发送时隙在光合路器/光耦合器合路后时间上互不重叠地“复用”起来,必须首先知道各ONU距OLT的时延,也就是距离,不然各个ONU到达OLT的上行传输延时差异可能造成各ONU时隙交叠,导致来自不同ONU的时隙发生碰撞。即相关技术的PON系统中,下行连续广播,上行容易发生时分复用(Time Division Multiplexing,TDM)突发,因此必须引入测距技术对由于物理传输机制引发的时延差异进行补偿,以确保不同ONU所发出的信号能够在OLT处准确地复用在一起。例如,如图2所示,GPON/XG(S)-PON(即XG-PON、XGS-PON)的上行是通过时分复用的方式传输数据,上行链路被分成不同的时隙,根据下行帧的上行带宽图(upstream bandwidth map)字段来给每个ONU分配上行时隙,这样,各ONU可以按照一定的秩序发送自己的数据,避免为争夺时隙而产生的冲突。其中,需要说明的是,XG-PON:具有10-Gigabit 能力的无源光网络,提供非对称10G传输,XGS-PON:具有10-Gigabit能力的对称无源光网络,可提供对称10G传输。As shown in Figures 1 and 2, since the upstream of the PON system is a multi-point-to-point topology, multiple ONUs share the trunk section 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 art, the downstream is continuously broadcasted, 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, as shown in Figure 2, 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: has 10-Gigabit XGS-PON: A 10-Gigabit-capable passive optical network that provides asymmetric 10G transmission.

如图3所示,相关技术中,10G PON和GPON由于上行/下行波长不同,PON系统的OLT可以通过波分复用(Wavelength Division Multiplexing,WDM)器件共用ODN,图3中,BOSA为光模块(也称光发射接收组件,Bi-DirectionalOpticalSub-Assembly),SoC为系统级芯片(System on Chip)。在同一ODN下可以接入多种PON,例如,GPON ONU和10G PON ONU,其中,对于GPON,下行/上行带宽:2.5G/1.24G,对于10G PON,下行/上行带宽:10G/2.5G、10G/10G。但ONU只能支持接入一种制式PON,即10G PON或GPON。特别是GPON ONU,一旦OLT GPON接口升级到10G PON,用户侧ONU就必须更换到10G PON ONU,否则用户业务即中断,影响ONU与OLT之间的传输性能,且无论是用户体验,还是上门更换用户侧ONU,都将对宽带体验和运维成本带来冲击。当前GPON接口仍然占有一定的比例,且未来一段时间内OLT线路侧会存在GPON、XG(S)-PON或Combo PON等多种制式的PON接口,如何部署ONU来支持未来PON网络平滑演进是运营商需要考虑的难题。As shown in Figure 3, in the related technology, since 10G PON and GPON have different upstream/downstream wavelengths, the OLT of the PON system can share the ODN through wavelength division multiplexing (WDM) devices. In Figure 3, BOSA is an optical module (also known as a Bi-Directional Optical Sub-Assembly), and SoC is a system-on-chip (System on Chip). Multiple PONs can be accessed under the same ODN, for example, GPON ONU and 10G PON ONU, where 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 standard PON, namely 10G PON or GPON. Especially for GPON ONU, once the OLT GPON interface is upgraded to 10G PON, the user-side ONU must be replaced with 10G PON ONU, otherwise the user service will be interrupted, affecting the transmission performance between ONU and 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 ONU to support the smooth evolution of future PON networks is a difficult problem that operators need to consider.

相关技术中,一个ONU只支持一种制式PON接入,不支持灵活接入多种制式PON,容易导致传输性能降低的问题,本公开实施例提出一种支持多制式PON自适应的机制以及支持该机制的用户侧ONU设备,具备多种PON接口的对接能力,可以灵活地接入OLT侧的不同的PON接口,实现伴随OLT从低到高带宽业务的快速平滑升级。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 embodiments of the present disclosure propose a mechanism that supports multi-type PON adaptation and a user-side ONU device that supports the mechanism. The ONU device has the ability to connect to multiple PON interfaces, can flexibly access different PON interfaces on the OLT side, and realizes a fast and smooth upgrade from low to high bandwidth services accompanying the OLT.

如图4所示,在本公开实施例中,可在用户侧ONU设备中引入混合光模块(即Combo BOSA),混合光模块可接收和发送不同制式PON的信号,例如,可接收和发送GPON信号和XG(S)-PON信号等,用户侧ONU芯片向下兼容,具备接收处理不同制式PON的信号的能力。在OLT的PON接口确定要变化时(例如,从GPON接口升级为XG(S)-PON接口等),在变化之前,OLT可通过ONU管理控制接口(ONU Management and Control Interface,OMCI)消息发送给用户侧ONU设备切换工作模式的指令,用户侧ONU接收到指令后,可通过自动重启,从工作模式1(例如GPON工作模式)切换 为工作模式2(例如XG(S)-PON工作模式)。OLT PON接口升级完成,用户侧ONU自动重启且切换为工作模式2后,此时,用户侧ONU与OLT之间的光路连通,即用户侧ONU可在OLT上线,确保ONU与OLT之间的正常传输,无需更换用户侧ONU即可支持OLT接口平滑升级。As shown in FIG. 4 , in the embodiment of the present disclosure, a hybrid optical module (i.e., Combo BOSA) can be introduced into the user-side ONU device. The hybrid optical module can receive and send signals of different PON standards, for example, it can receive and send GPON signals and XG(S)-PON signals, etc. The user-side ONU chip is 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 ONU Management and Control Interface (OMCI) message. After receiving the instruction, the user-side ONU can automatically restart and switch from working mode 1 (for example, GPON working mode) to the working mode 2. It is working mode 2 (for example, XG(S)-PON working mode). After the OLT PON interface upgrade is completed, the user-side ONU automatically restarts and switches to working mode 2. At this time, the optical path between the user-side ONU and the OLT is connected, that is, the user-side ONU can go online at the OLT, ensuring normal transmission between the ONU and the OLT, and supporting smooth upgrade of the OLT interface without replacing the user-side ONU.

在本公开以下各实施例中,第一设备和第二设备通过PON接口连接,当第二设备和第一设备之间PON接口制式匹配时,第二设备即可连接到第一设备。第一设备可以是OLT,第二设备可以是ONU、网关、智能网关、FTTR主设备、FTTR主网关、MFU、FTTR主路由等。根据速率或波长或协议的不同,PON接口可以支持多种不同制式中的至少一种,PON接口制式可包括但不限于包括XG-PON、XGS-PON、GPON、50G PON、EPON、10G EPON等。第一信道终端和第二信道终端是第一设备上不同制式的PON接口,第一设备可以支持多个信道终端(PON接口)。In the following embodiments of the present disclosure, the first device and the second device are connected through a PON interface. When the PON interface standards between the second device and the first device match, the second device can be connected to the first device. The first device can be an OLT, and the second device can be an ONU, a gateway, an intelligent gateway, a FTTR main device, a FTTR main gateway, an MFU, a FTTR main router, etc. Depending on the rate or 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).

参见图5,图5是本公开实施例提供的一种光接入网中信道终端选择方法的流程图,应用于第一设备,第一设备至少支持第一信道终端和第二信道终端。如图5所示,本实施例提供的光接入网中信道终端选择方法包括以下步骤:Referring to FIG5 , FIG5 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present disclosure, which is applied to a first device, and the first device at least supports a first channel terminal and a second channel terminal. As shown in FIG5 , the method for selecting a channel terminal in an optical access network provided by the present embodiment includes the following steps:

步骤501:第一设备可设置第二设备连接到第一设备的信道终端,其中,第二设备至少支持连接到第一信道终端和第二信道终端。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.

第一设备通过信道终端与第二设备通信,在本实施例中,第二设备中可包括连接的混合光模块和系统级芯片(SoC),第二设备通过混合光模块与第二设备通信,可以理解,第二设备的系统级芯片通过混合光模块连接第二设备的信道终端,以实现第二设备与第一设备的通信。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.

另外,可以理解的是,第一信道终端和第二信道终端为不同制式的PON接口,第一设备可支持不同制式的至少两个信道终端,如此,第一设备可支持不同制式(即不同波长或不同速率或不同协议)的PON信号的接入,第二设备连接在不同制式PON(例如,不同代际速率PON)的信道终端下工作的情况下,可发送不同制式PON的信号(例如,不同代际速率PON信号)。例如,第二设备可通过混合光模块发送不同代际速率PON信号。第二设备具体连接到第一设备的哪一个信道终端,可通过第一设备设置,也即是,第一设 备可设置第二设备连接到第一设备的信道终端,需要说明的是,第二设备连接到第一设备的信道终端中第二设备支持连接到的信道终端之一,例如,第一设备可设置第二设备连接到第一设备的信道终端中的任一信道终端,可使第二设备灵活接入第一设备的不同PON制式的信道终端。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 PON signals of a different standard (e.g., a PON signal of a different generation rate). For example, the second device can send PON signals of different generation rates through a hybrid optical module. Which channel terminal of the first device the second device is specifically connected to can be set by the first device, that is, the first device is set The second device may be set to connect to a channel terminal of the first device. It should be noted that the second device is connected to one of the channel terminals supported by the second device among the channel terminals of the first device. For example, the first device may be set to connect the second device to any channel terminal among the channel terminals of the first device, so that the second device can flexibly access the channel terminals of different PON standards of the first device.

在本实施例的光接入网中信道终端选择方法中,第一设备至少支持第一信道终端和第二信道终端,第二设备至少支持连接到第一设备的第一信道终端和第二信道终端,第一设备可设置第二设备连接到第一设备的信道终端,这样,可使第二设备具有不同PON接口对接能力,可灵活地接入第一设备不同信道终端,即使第一设备的PON端口升级,可设置第二设备切换连接的信道终端,适应第一设备的PON端口升级,以确保第二设备与第一设备之间的正常传输,提高第二设备与第一设备之间的传输性能。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.

在一个示例中,第一设备的不同信道终端至少具有不同信道波长、不同速率和不同协议中的至少一项。例如,不同信道终端可传输不同波长的光信号,第一设备可支持不同PON信号传输;不同信道终端也可传输不同速率的光信号,如此,在连接到不同信道终端的情况下,可进行不同速率的PON信号传输,由于第一设备的不同信道终端具有不同的速率,第一设备可设置第二设备连接不同速率的信道终端,可使第二设备具有多种PON速率对接能力,使第二设备可灵活地接入不同PON速率;不同信道终端可传输不同协议的光信号,第一设备可支持不同协议PON信号传输。在本示例中,第一设备可设置第二设备连接到第一设备的信道终端,这样,可使第二设备具有不同PON接口对接能力,可灵活地接入第一设备不同信道终端,即使第一设备的PON接口升级,可设置第二设备切换连接的信道终端,适应第一设备的PON接口升级,以确保第二设备与第一设备之间的正常传输,提高第二设备与第一设备之间的传输性能。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, so as to ensure the normal transmission between the second device and the first device, and improve the transmission performance between the second device and the first device.

在一个实施例中,第一设备可设置第二设备连接到第一设备的信道终端,包括:In one embodiment, the first device may set the second device to connect to the 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 sets the second device to select a channel terminal connected to the first device based on the first mode.

需要说明的是,上述第一信道终端可以理解为第一设备支持的信道终端中任一信道终端,第二设备是支持连接到第一设备上的其它信道终端,在第二设备连接在第一信道终端的情况下第一设备可设置第二设备连接到第一设备上的其它信道终端中之一的信道终端。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.

在本实施例中,通过第一设备设置,可将第二设备从连接第一信道终端切换连接到其它信道终端中之一的信道终端,或者通过第一设备设置,可使第二设备基于第二设备的第一模式选择连接到第一设备的一信道终端。这样,可提高设置第二设备连接信道终端的灵活性。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.

例如,以第一设备支持的信道终端的数量为N为例进行说明,N个信道终端为信道终端1、信道终端2、……、信道终端N-1和信道终端N,在第二设备连接在信道终端1的情况下,第一设备可设置第二设备连接其它N-1个信道终端(即信道终端2、……、信道终端N)中之一的信道终端。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).

示例性地,以N为2,第一设备支持的信道终端包括第一信道终端和第二信道终端为例,在第二设备连接在第一信道终端的情况下,第一设备可设置第二设备连接到第二信道终端;或者,在第二设备连接在第二信道终端的情况下,第一设备可设置第二设备连接到第一信道终端;或者,第一设备可设置第二设备基于第一模式选择连接到第一信道终端或第二信道终端。可提高设置第二设备连接信道终端的灵活性。For example, taking N as 2, and the channel terminals supported by the first device including the first channel terminal and the second channel terminal, when the second device is connected to the first channel terminal, the first device 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.

在一个实施例中,第二设备当前连接到第一信道终端上,第一模式至少支持第二设备优先选择第一设备的其它信道终端中速率更高的信道终端。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.

需要说明的是,第一模式可以理解是自适应模式。在有多个信道终端可选的情况下,可优选选择速率更高的信道终端,在第二设备支持选择的信道终端的情况下,第二设备可与其连接,以便通信。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.

示例性地,在第二设备连接在第一信道终端的情况下,在第一模式下,第二设备可从第一设备上的其它信道终端中选择第二设备支持的最大速率的信道终端连接,通过与该信道终端连接,可提高传输速率。如上述第一设备的信道终端的数量为N的举例,在第二设备连接在信道终端1的情况下,基 于第一模式选择第二设备连接的信道终端过程中,可优先选择其它N-1个信道终端中速率更高的信道终端。例如,其它N-1个信道终端中信道终端2速率最高,若第二设备支持信道终端2,第二设备即可接入到该信道终端2上。For example, 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 to connect to, and by connecting to the channel terminal, the transmission rate can be improved. For example, in the case where the number of channel terminals of the first device is N, when the second device is connected to channel terminal 1, the transmission rate can be increased. In the process of selecting a channel terminal to be connected to the second device in the first mode, a channel terminal with a higher rate among the other N-1 channel terminals may 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 may be connected to channel terminal 2.

在一个实施例中,第一模式支持超时机制;In one embodiment, the first mode supports a timeout mechanism;

其中,超时机制包括: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.

需要说明的是,第二设备具有多种制式PON接口对接能力。第一设备可设置第二设备基于第一模式选择连接到第一设备的信道终端,第二设备当前连接在第一信道终端上,第二设备基于第一模式可切换连接到其它的一信道终端,第二设备的第一模式可至少支持:第二设备优先选择第一设备的其它信道终端中速率更高的信道终端,且支持超时机制。可以理解,第二设备优选选择其它信道终端中速率更高的信道终端,但若选择的信道终端与第二设备支持的信道终端不匹配的情况下,第二设备可在选择的信道终端下预设时长内不进入工作状态,即在预设时长内根据上述选择的信道终端,第二设备无法工作,一旦预设时长到期,即可从其余信道终端中选择其他速率更高的信道终端,即在预设时长到期的情况下,第二设备可切换选择其余信道终端中的一信道终端,而在切换选择的信道终端和第二设备支持的信道终端不匹配的情况下,在预设时长内不进入工作状态,在超时(即预设时长到期)的情况下,第二设备再切换选择其余信道终端中另一个信道终端。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, within the preset time, according to the above selected channel terminal, 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. In the case of timeout (that is, the preset time expires), the second device switches to select another channel terminal among the remaining channel terminals.

举例说明,以第一设备支持的信道终端的数量为N,N个信道终端为信道终端1、信道终端2、……、信道终端N-1和信道终端N为例,第二设备当前连接在第一设备的信道终端1上,在基于第二设备的第一模式选择连接到第一设备的信道终端的过程中,信道终端2是其它N-1个信道终端中速率更高的信道终端,第二设备优先选择其中速率较高的信道终端2,若第二设 备支持选择信道终端2,第二设备可接入选择的信道终端2,若第二设备不支持信道终端2,则在预设时长内基于选择的第一设备的信道终端2,第二设备不进入工作状态,超时后第二设备切换选择较低速率的第一设备的信道终端3(其速率小于信道终端2的速率,但信道终端3在其它N-1个信道终端中是速率仅次于信道终端2的信道终端),若第二设备支持信道终端3,即可接入信道终端3进行通信,若第二设备不支持信道终端3,在预设时长内基于最新选择的第一设备的信道终端3,第二设备不进入工作状态,超时后第二设备可切换选择到另一个信道终端,如此循环,直到选择到速率匹配的信道终端,第二设备进入工作状态,连接到速率匹配的信道终端,与第一设备进行通信。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 channel terminal 1 of the first device. In the process of selecting a channel terminal to be connected to the first device based on the first mode of the second device, channel terminal 2 is a channel terminal with a higher rate among the other N-1 channel terminals. The second device preferentially selects channel terminal 2 with a higher rate. If the second device The second device supports the selection of channel terminal 2, and the second device can access the selected channel terminal 2. If the second device does not support channel terminal 2, then within the preset time length, based on the selected channel terminal 2 of the first device, the second device does not enter 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 channel terminal 2, but channel terminal 3 is the channel terminal with a rate second only to channel terminal 2 among the other N-1 channel terminals). If the second device supports channel terminal 3, it can access channel terminal 3 for communication. If the second device does not support channel terminal 3, within the preset time length, based on the newly selected channel terminal 3 of the first device, the second device does not enter the working state. After the timeout, the second device can switch to select another channel terminal, and so on. 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.

在本实施例中,第二设备可基于第一模式进行信道终端选择,如此,第二设备可优先选择第一设备中速率更高的信道终端,且支持超时机制,如此,可提高第二设备选择信道终端的灵活性。In this embodiment, the second device can select a channel terminal based on the first mode. In this way, the second device can give priority to selecting a channel terminal with a higher rate in the first device and support a timeout mechanism. In this way, the flexibility of the second device in selecting a channel terminal can be improved.

在一个实施例中,方法还包括:第一设备获取第二设备上的第一设备信道终端信息,In one embodiment, 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.

示例性地,第二设备可向第一设备发送第一设备信道终端信息,即第一设备接收第二设备发送的第一设备信道终端信息,以获取第二设备上的第一设备信道终端信息。第一设备在获取第二设备上的第一设备信道终端信息之后,可基于第二设备上的第一设备信道终端信息,来设置第二设备连接到的第一设备的信道终端,例如,在第二设备连接在第一信道终端的情况下,基于第一设备信道终端信息,第一设备可设置第二设备连接到其它信道终端中之一的信道终端。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.

在本实施中,第一设备可根据第二设备上的第一设备信道终端信息,来设置第二设备连接到的第一设备的信道终端,以提高设置的第二设备连接的信道终端与第二设备的适配性。 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.

在一个实施例中,基于第一设备信道终端信息,第一设备设置第二设备连接到第一设备上的其它信道终端,包括: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:

第一设备基于第一设备信道终端信息,向第二设备发送管控消息,管控消息用于设置第二设备连接到第一设备上的其它信道终端。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.

可以理解,管控消息可用于设置第二设备连接到其它信道终端中该管控消息指示的一信道终端。举例说明,第一设备支持的信道终端包括第一信道终端、第二信道终端和第三信道终端,在第二设备连接在第一信道终端的情况下,管控消息指示第二信道终端,则可设置第二设备连接到第二信道终端,管控消息指示第三信道终端,则可设置第二设备连接到第三信道终端。另外,需要说明的是,管控消息也可以用于设置第二设备基于第二设备的第一模式选择连接到第一设备的信道终端,也即是管控消息可指示第二设备采用第一模式选择连接到第一设备的信道终端。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.

在本实施例中,可通过管控消息来设置第二设备连接到的第一设备的信道终端,可以理解,管控消息可指示第二设备连接到的第一设备的信道终端,第二设备接收管控消息后,可连接到第一设备的信道终端中管控消息指示的信道终端。一个示例中,管控消息可以是ONU管理控制接口(ONU Management and Control Interface,OMCI)消息。在一个实施例中,管控消息承载在第一设备与第二设备之间的管控通道上。示例性地,管控通道可以是ONU管理控制通道(ONU Management and Control Channel,OMCC)。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 receiving the control message, the second device can be connected to the channel terminal of the first device indicated by the control message. In one example, the control message can be an ONU Management and Control Interface (OMCI) message. In one embodiment, the control message is carried on a control channel between the first device and the second device. Exemplarily, the control channel can be an ONU Management and Control Channel (OMCC).

在一个实施例中,第二设备上的第一设备信道终端信息,包括以下至少一项:In one embodiment, 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 a second device connected to a first device;

第二设备当前连接的第一设备的信道终端的状态属性。The status attribute of the channel terminal of the first device to which the second device is currently connected.

在一个实施例中,第二设备连接第一设备的信道终端的能力属性包括以下至少一项: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:

第一模式的能力;The capabilities of the first mode;

连接第一设备的第一信道终端的能力;A capability of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的能力。 The ability to connect to other channel terminals of the first device.

在一个实施例中,第二设备连接第一设备信道终端的模式属性包括以下至少一项:In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

第一模式;First mode;

连接第一设备的第一信道终端的模式;a mode of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的模式。The mode of connecting other channel terminals of the first device.

在一个实施例中,状态属性包括以下至少一项:In one embodiment, 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.

需要说明的是,能力属性可以表示第二设备所支持连接第一设备的信道终端的方式,模式属性可表示当前处在哪种连接方式的状态下,状态属性可表示模式属性为第一模式情况下,协商到的连接方式,可以理解,可表示模式属性为自适应模式情况下,最终自适应协商到的连接方式。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.

参见图6,图6是本公开实施例提供的一种光接入网中信道终端选择方法的流程图,应用于第二设备,第二设备至少支持第一信道终端和第二信道终端。如图6所示,本实施例提供的光接入网中信道终端选择方法包括以下步骤:Referring to FIG. 6 , FIG. 6 is a flow chart of a method for selecting a channel terminal in an optical access network provided by an embodiment of the present disclosure, which is applied to a second device, and the second device supports at least a first channel terminal and a second channel terminal. As shown in FIG. 6 , the method for selecting a channel terminal in an optical access network provided by this embodiment includes the following steps:

步骤601:第二设备基于第一设备的设置或第二设备的第一模式连接到第一设备的信道终端。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.

在一个实施例中,第一设备的不同信道终端至少具有不同信道波长、不同速率和不同协议中的至少一项。In one embodiment, different channel terminals of the first device have at least one of different channel wavelengths, different rates and different protocols.

在一个实施例中,第二设备基于第一设备的设置或第二设备的第一模式连接到第一设备的信道终端,包括: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:

在第二设备连接在第一信道终端的情况下,第二设备根据第一设备的设置切换连接到第一设备上的其它信道终端,其中,其它信道终端为第一设备上除第一信道终端之外的信道终端,第二设备支持其它信道终端;或者,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.

在一个实施例中,第二设备当前连接到第一信道终端上,第一模式至少支持第二设备优先选择第一设备上的其它信道终端中速率更高的信道终端。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.

在一个实施例中,第一模式支持超时机制; In one embodiment, the first mode supports a timeout mechanism;

其中,超时机制包括: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.

在一个实施例中,方法还包括:向第一设备发送第二设备上的第一设备信道终端信息;第一设备信道终端信息用于第一设备在第二设备连接在第一信道终端的情况下设置第二设备连接到第一设备的其它信道终端。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.

在一个实施例中,所述第二设备基于第一设备的设置连接到第一设备的信道终端,包括:In one embodiment, the second device is connected to a channel terminal of the first device based on the setting of the first device, comprising:

第二设备接收第一设备基于第一设备信道终端信息发送的管控消息;The second device receives a 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 connects to the channel terminal indicated by the control message among other channel terminals of the first device.

在一个实施例中,管控消息承载在第一设备与第二设备之间的管控通道上。In one embodiment, the management and control message is carried on a management and control channel between the first device and the second device.

在一个实施例中,第二设备上的第一设备信道终端信息,包括以下至少一项:In one embodiment, 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 a second device connected to a first device;

第二设备当前连接的第一设备的信道终端的状态属性。The status attribute of the channel terminal of the first device to which the second device is currently connected.

在一个实施例中,第二设备连接第一设备的信道终端的能力属性包括以下至少一项: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:

第一模式的能力;The capabilities of the first mode;

连接第一设备的第一信道终端的能力;A capability of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的能力。The ability to connect to other channel terminals of the first device.

在一个实施例中,第二设备连接第一设备信道终端的模式属性包括以下至少一项: In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

第一模式;First mode;

连接第一设备的第一信道终端的模式;a mode of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的模式。The mode of connecting other channel terminals of the first device.

在一个实施例中,状态属性包括以下至少一项:In one embodiment, 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.

在一个实施例中,第一设备的设置包括设置的第二设备的第一设备信道终端模式属性,第二设备基于第一设备的设置连接到第一设备的信道终端的,包括: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:

在第一设备信道终端模式属性与第二设备当前的模式属性不匹配的情况下,第二设备切换连接到第一设备的设置对应的信道终端。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.

也即是在本实施例中,第一设备可设置第二设备连接到的第一设备的信道终端,如此,第二设备通过第一设备的设置,可获知需要连接到的第一设备的信道终端的模式属性,然后与当前的模式属性进行比较,在第一设备设置的第二设备连接的第一设备信道终端的模式属性与第二设备当前的模式属性不匹配(例如,不相同)的情况下,第二设备切换连接到第一设备设置的信道终端,在匹配(例如,相同)的情况下,表示第一设备和第二设备当前连接的信道终端一致,第二设备无需切换信道终端。例如,第一设备设置的第二设备连接到的第一设备信道终端的模式属性为第一模式属性(例如,连接第一设备的第一信道终端的模式),而第二设备当前的模式属性为连接到第一设备的第二信道终端的模式(即第二设备当前连接的第二信道终端),两者不匹配,则第二设备可切换到新的信道终端模式,例如,切换到第一设备设置的第二设备连接到第一设备的第一信道终端的模式,即切换到第一信道终端。一个示例中,在第一设备设置的第二设备连接第一设备的信道终端的模式属性与第二设备当前的模式属性不匹配的情况下,第二设备切换连接到第一设备的设置对应的信道终端可以包括:在第一设备设置的第二设备连接第一设备的信道终端的模式属性与第二设备当前的模式属性不匹配,且设置成功的情况下,第二设备切换连接到第一设备的设置对应的信道终端。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 of the second device connected to the first device 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 connected 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 on 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 on 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.

即在本实施例中,信道终端切换过程中,需要进行模式属性匹配,是在 第一设备设置的第二设备连接第一设备的信道终端的模式属性与第二设备当前的模式属性不匹配的情况下,第二设备切换连接到第一设备的设置对应的信道终端,以提高信道终端切换准确性。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.

如图7所示,以一个具体实施例对上述方法的过程加以具体说明。本实施例中,以第一设备为OLT,第二设备为ONU,第一设备支持的信道终端包括第一信道终端(CT1)和第二信道终端(CT2)为例进行说明。As shown in Figure 7, the process of the above method is specifically described by 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).

首先,对PON的相关技术原理进行说明。First, the relevant technical principles of PON are explained.

1.1、GPON技术1.1 GPON Technology

GPON(Gigabit Capable PON)的概念最早由全业务接入网联盟(full service access network,FSAN)在2001年提出。The concept of GPON (Gigabit Capable PON) was first proposed by the Full Service Access Network (FSAN) in 2001.

1.1.1、协议分层1.1.1 Protocol Layering

在GPON系统协议栈中,传输汇聚层(Transmission Convergence Layer,TC层)是最关键的协议。TC层又分为两个子层:TC成帧子层和TC适配子层,如图8所示。In the GPON system protocol stack, the transmission convergence layer (TC layer) is the most critical protocol. The TC layer is divided into two sublayers: TC framing sublayer and TC adaptation sublayer, as shown in Figure 8.

1.1.2、帧结构1.1.2 Frame structure

GPON的TC适配子层可采用多种异步转移模式(Asynchronous Transfer Mode,ATM)封装和GPON封装方式(GPON Encapsulation Method,GEM)封装两种方式。ATM封装方式沿用了G.983系列标准的规定,以ATM信元承载数据流量,可支持各种业务。GEM封装方式是GPON特有的封装协议,形成源于通用成帧协议(Generic Framing Procedure,GFP,ITU-T G.7041),同GFP非常相似。考虑到PON网络多ONU、多端口复用的情况,GPON引入了端口号(Port ID)的概念。此外,GEM借鉴了GFP的帧同步机制,采用自描述方式确定帧边界。GEM帧结构如图9所示。GEM是GPON系统中主要的适配方式,与ATM适配方式相比,封装效率高,提高了系统带宽利用率,业务灵活。The TC adaptation sublayer of GPON can adopt two encapsulation methods: Asynchronous Transfer Mode (ATM) encapsulation and GPON Encapsulation Method (GEM) encapsulation. The ATM encapsulation method follows the provisions of the G.983 series of standards, uses 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 the Generic Framing Procedure (GFP, ITU-T G.7041) and is very similar to GFP. Considering the multiplexing of multiple ONUs and multiple ports in the PON network, GPON introduces the concept of port number (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 shown in Figure 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 is flexible in business.

为了实现承载TDM业务所需要的时钟同步和延时,GPON规定下行帧长为125us。GPON下行帧结构如图10所示,上行帧结构如图11所示。下行帧由下行物理控制块(PCBd)和ATM、GEM净荷域组成。上行帧由复用的突发传输时隙组成,每个上行突发包括最小的物理层开销(PLOu),除了净荷 域,还可能包括上行物理层操作维护管理(Operation Administration and Maintenance,OAM)(PLOAMu)、上行功率电平序列(Power Levelling Sequenceupstream,PLSu)和上行动态带宽报告(Dynamic Bandwidth Report upstream,DBRu)部分。下行帧提供PON的公共时间参考和上行流的公共控制信号。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 shown in Figure 10, and the upstream frame structure is shown in Figure 11. The downstream frame consists of a downstream physical control block (PCBd) and ATM and GEM payload fields. The upstream frame consists of multiplexed burst transmission time slots. Each upstream burst includes a minimum physical layer overhead (PLOu), in addition to the payload. The downstream frame provides a common time reference for the PON and common control signals for the upstream.

在GPON系统中,ONU的最大逻辑距离差可达20km,支持的最大分路比为16、32或64。GPON系统的下行速率可达到1.244或2.488Gbit/s,上行速率可达到0.155、0.622、1.244或2.488Gbit/s。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.

GPON系统的测距原理与G.983一致,其动态带宽分配(Dynamic Bandwidth Assignment,DBA)和服务质量(Quality of Service,QoS)则沿用了G.983.4的思路,将业务分为5种类型,不同的业务设置不同的参数,根据参数检测拥塞状态,分配带宽,对ONU进行授权。此外,GPON的TC层还定义了一些新的功能,如前向纠错(Forward Error Correction,FEC)、功率控制等。The ranging principle of the GPON system is consistent with G.983, and its dynamic bandwidth allocation (DBA) and quality of service (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 forward error correction (FEC) and power control.

GPON更注重对多业务的支持和QoS保证,可支持同时接入话音、ATM、IP等各类业务。GPON focuses more on multi-service support and QoS guarantee, and can support simultaneous access to various services such as voice, ATM, IP, etc.

如图7所示,本实施例的具体流程如下:As shown in FIG. 7 , the specific process of this embodiment is as follows:

ONU通过预置或本地配置设置工作信道模式(自适应或OLT指定),连接到OLT CT1,连接到OLT CT1完成注册认证上线流程,ONU进入工作状态。ONU sets the working channel mode (adaptive or OLT specified) through preset or local configuration, connects to OLT CT1, completes the registration and authentication online process after connecting to OLT CT1, and then ONU enters the working state.

OLT CT1可通过工作信道中的消息获取ONU上的OLT信道终端信息,例如,工作信道能力、工作信道模式、工作信道状态(即对应上述能力属性、模式属性和状态)。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 (i.e., corresponding to the above-mentioned capability attributes, mode attributes, and status).

OLT CT1根据ONU上的OLT信道终端信息,设置ONU的工作信道的模式,即设置ONU连接的OLT的信道终端,例如,OLT CT1可向ONU发送管控消息(例如,设置工作信道的模式消息),ONU接收该消息后,返回相应的消息响应(例如,设置工作信道的模式消息响应),ONU可判断OLT设置的工作信道的模式与ONU当前的工作信道模式是否匹配,若OLT设置的工作信道的模式与ONU当前的工作信道模式不匹配,ONU则切换到新的 工作信道模式,例如,切换到OLT CT2模式。OLT CT1 sets the working channel mode of the ONU according to the OLT channel terminal information on the ONU, that is, sets the channel terminal of the OLT connected to the ONU. For example, OLT CT1 can send a control message to the ONU (for example, a message for setting the working channel mode). After receiving the message, the ONU returns a corresponding message response (for example, a message response for setting the working channel mode). The ONU can determine whether the working channel mode set by the OLT matches the current working channel mode of the ONU. If the working channel mode set by the OLT does not match the current working channel mode of the ONU, the ONU switches to a new one. The working channel mode, for example, switches to OLT CT2 mode.

ONU通过新的工作信道模式(自适应或OLT指定),连接到OLT CT2,连接到OLT CT2完成注册认证上线流程,ONU进入工作状态。ONU connects to OLT CT2 through the new working channel mode (adaptive or OLT specified), completes the registration and authentication online process after connecting to OLT CT2, and ONU enters the working state.

综上,本公开实施例提出了一种支持多种制式PON自适应的机制,具备多种制式PON接口的对接能力,可解决较低速网络(例如,GPON网络)向较高速网络(例如,10G PON)演进过程中,ONU的同步演进升级能力,可避免未来大量更换设备造成的资源浪费。且支持灵活接入多种制式PON,可以灵活地接入OLT侧的不同的PON接口,实现伴随OLT从GPON向XG(S)-PON高带宽业务的快速平滑升级。In summary, the disclosed embodiment proposes a mechanism that supports the adaptation of multiple PON standards, and has the ability to connect multiple PON interfaces. It can solve the synchronous evolution and upgrade capabilities of ONUs during the evolution from a lower-speed network (e.g., GPON network) to a higher-speed network (e.g., 10G PON), and 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, so as to achieve a fast and smooth upgrade from GPON to XG(S)-PON high-bandwidth services accompanying OLT.

如图12所示,图12是本公开实施例提供的一种光接入网中信道终端选择装置1200的结构示意图,该光接入网中信道终端选择装置1200应用于第一设备,第一设备至少支持第一信道终端和第二信道终端,装置包括:As shown in FIG. 12 , FIG. 12 is a schematic structural diagram of a channel terminal selection device 1200 in an optical access network provided by an embodiment of the present disclosure. The channel terminal selection device 1200 in the optical access network is applied to a first device, the first device supports at least a first channel terminal and a second channel terminal, and the device includes:

设置模块1201,用于设置第二设备连接到第一设备的信道终端,其中,第二设备至少支持连接到第一信道终端和第二信道终端。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.

在一个实施例中,设置模块1201,具体用于:In one embodiment, the setting module 1201 is specifically configured to:

在第二设备连接在第一信道终端的情况下,可设置第二设备连接到第一设备上的其它信道终端,其中,其它信道终端为第一设备上除第一信道终端之外的信道终端,其它信道终端在第一设备和第二设备上均支持;或者,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,

设置第二设备基于第一模式选择连接到第一设备的信道终端。The second device is configured to select a channel terminal connected to the first device based on the first mode.

在一个实施例中,第二设备当前连接到第一信道终端上,第一模式至少支持第二设备优先选择第一设备的其它信道终端中速率更高的信道终端。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.

在一个实施例中,第一模式支持超时机制;In one embodiment, the first mode supports a timeout mechanism;

其中,超时机制包括: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.

在一个实施例中,装置1200还包括:In one embodiment, the apparatus 1200 further includes:

信息获取模块,用于获取第二设备上的第一设备信道终端信息,An information acquisition module is used to acquire the first device channel terminal information on the second device,

设置模块1201,还具体用于:The setting module 1201 is further specifically used for:

在第二设备连接在第一信道终端的情况下,基于第一设备信道终端信息,设置第二设备连接到第一设备上的其它信道终端。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.

在一个实施例中,基于第一设备信道终端信息,设置第二设备连接到第一设备上的其它信道终端,包括: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:

基于第一设备信道终端信息,向第二设备发送管控消息,管控消息用于设置第二设备连接到第一设备上的其它信道终端。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.

在一个实施例中,管控消息承载在第一设备与第二设备之间的管控通道上。In one embodiment, the management and control message is carried on a management and control channel between the first device and the second device.

在一个实施例中,第二设备上的第一设备信道终端信息,包括以下至少一项:In one embodiment, 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 a second device connected to a first device;

第二设备当前连接的第一设备的信道终端的状态属性。The status attribute of the channel terminal of the first device to which the second device is currently connected.

在一个实施例中,第二设备连接第一设备的信道终端的能力属性包括以下至少一项: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:

第一模式的能力;The capabilities of the first mode;

连接第一设备的第一信道终端的能力;A capability of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的能力。The ability to connect to other channel terminals of the first device.

在一个实施例中,第二设备连接第一设备信道终端的模式属性包括以下至少一项:In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

第一模式;First mode;

连接第一设备的第一信道终端的模式;a mode of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的模式。The mode of connecting other channel terminals of the first device.

在一个实施例中,状态属性包括以下至少一项:In one embodiment, 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.

本实施例提供的光接入网中信道终端选择装置能实现上述应用于第一设备的光接入网中信道终端选择方法的各实施例的各个过程,技术特征一一对应,且能达到相同的技术效果,为避免重复,这里不再赘述。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.

参见图13,图13是本公开实施例提供的一种光接入网中信道终端选择装置1300的结构示意图,该光接入网中信道终端选择装置1300应用于第二设备,第二设备至少支持连接到第一设备的第一信道终端和第二信道终端,装置包括:Referring to FIG. 13 , FIG. 13 is a schematic diagram of the structure of a channel terminal selection device 1300 in an optical access network provided by an embodiment of the present disclosure. The channel terminal selection device 1300 in the optical access network is applied to a second device, and the second device at least supports a first channel terminal and a second channel terminal connected to the first device. The device includes:

连接模块1301,用于基于第一设备的设置或第二设备的第一模式,将第二设备连接到第一设备的信道终端。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.

在一个实施例中,连接模块1301,具体用于:In one embodiment, the connection module 1301 is specifically configured to:

在第二设备连接在第一目标信道终端的情况下,根据第一设备的设置将第二设备切换连接到第一设备上的其它信道终端,其中,其它信道终端为第一设备上除第一信道终端之外的信道终端,第二设备支持其它信道终端;或者,In the case where the second device is connected to the first target channel terminal, switching the second device to connect to other channel terminals on the first device according to the 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 is connected to the channel terminal of the first device selected based on the first mode.

在一个实施例中,第二设备当前连接到第一信道终端上,第一模式至少支持第二设备优先选择第一设备上的其它信道终端中速率更高的信道终端。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.

在一个实施例中,第一模式支持超时机制;In one embodiment, the first mode supports a timeout mechanism;

其中,超时机制包括: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.

在一个实施例中,装置1300还包括:In one embodiment, the apparatus 1300 further includes:

信息发送模块,用于向第一设备发送第二设备上的第一设备信道终端信息;第一设备信道终端信息用于第一设备在第二设备连接在第一信道终端的情况下设置第二设备连接到第一设备的其它信道终端。 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.

在一个实施例中,连接模块1301,包括:In one embodiment, the connection module 1301 includes:

管控消息接收模块,用于接收第一设备基于第一设备信道终端信息发送的管控消息;A control message receiving module, used to receive a control message sent by the first device based on the first device channel terminal information;

连接子模块,用于响应于管控消息,第二设备连接到第一设备的其它信道终端中管控消息指示的信道终端。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.

在一个实施例中,管控消息承载在第一设备与第二设备之间的管控通道上。In one embodiment, the management and control message is carried on a management and control channel between the first device and the second device.

在一个实施例中,第二设备上的第一设备信道终端信息,包括以下至少一项:In one embodiment, 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 a second device connected to a first device;

第二设备当前连接的第一设备的信道终端的状态属性。The status attribute of the channel terminal of the first device to which the second device is currently connected.

在一个实施例中,第二设备连接第一设备的信道终端的能力属性包括以下至少一项: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:

第一模式的能力;The capabilities of the first mode;

连接第一设备的第一信道终端的能力;A capability of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的能力。The ability to connect to other channel terminals of the first device.

在一个实施例中,第二设备连接第一设备信道终端的模式属性包括以下至少一项:In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

第一模式;First mode;

连接第一设备的第一信道终端的模式;a mode of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的模式。The mode of connecting other channel terminals of the first device.

在一个实施例中,状态属性包括以下至少一项:In one embodiment, 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.

在一个实施例中,第一设备的设置包括第一设备设置的第二设备连接第一设备的信道终端的模式属性;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;

连接模块1301,具体用于在第一设备信道终端模式属性与第二设备当前的模式属性不匹配的情况下,第二设备切换连接到第一设备的设置对应的信 道终端。The connection module 1301 is specifically configured to switch the second device to connect to the signal 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. Road terminal.

本实施例提供的光接入网中信道终端选择装置为能实现上述应用于第二设备的光接入网中信道终端选择方法的各实施例的各个过程,技术特征一一对应,且能达到相同的技术效果,为避免重复,这里不再赘述。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.

本公开实施例还提供了一种通信设备,可以是第一设备,包括:处理器、存储器及存储在存储器上并可在处理器上运行的程序,程序被处理器执行时实现上述应用于第一设备的光接入网中信道终端选择方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present disclosure also provide 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 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.

具体的,参见图14,本公开实施例还提供了一种第一设备,包括总线1401、收发机1402、天线1403、总线接口1404、处理器1405和存储器1406。Specifically, referring to FIG. 14 , an embodiment of the present disclosure further provides a first device, including a bus 1401 , a transceiver 1402 , an antenna 1403 , a bus interface 1404 , a processor 1405 , and a memory 1406 .

其中,第一设备至少支持第一信道终端和第二信道终端;Wherein, the first device supports at least a first channel terminal and a second channel terminal;

处理器1405:用于设置第二设备连接到第一设备的信道终端,其中,第二设备至少支持连接到第一信道终端和第二信道终端。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.

在一个实施例中,处理器1405,具体用于:In one embodiment, the processor 1405 is specifically configured to:

在第二设备连接在第一信道终端的情况下,可设置第二设备连接到第一设备上的其它信道终端,其中,其它信道终端为第一设备上除第一信道终端之外的信道终端,其它信道终端在第一设备和第二设备上均支持;或者,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,

设置第二设备基于第一模式选择连接到第一设备的信道终端。The second device is configured to select a channel terminal connected to the first device based on the first mode.

在一个实施例中,第二设备当前连接到第一信道终端上,第一模式至少支持第二设备优先选择第一设备的其它信道终端中速率更高的信道终端。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.

在一个实施例中,第一模式支持超时机制;In one embodiment, the first mode supports a timeout mechanism;

其中,超时机制包括:在第二设备连接在第一信道终端的情况下,若第二设备从第一设备的其它信道终端中选择的信道终端与第二设备支持的信道终端不匹配,则在预设时长内,第二设备基于选择的信道终端不进入工作状态,在预设时长到期的情况下,第二设备切换选择到第一设备的其余信道终端中速率更高的另一个信道终端,其余信道终端为第一设备的其它信道终端中除选择的信道终端之外的信道终端。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.

在一个实施例中,处理器1405,还用于:In one embodiment, the processor 1405 is further configured to:

获取第二设备上的第一设备信道终端信息; Acquire 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 second device is set to be connected to other channel terminals on the first device based on the first device channel terminal information.

在一个实施例中,基于第一设备信道终端信息,设置第二设备连接到第一设备上的其它信道终端,包括: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:

基于第一设备信道终端信息,向第二设备发送管控消息,管控消息用于设置第二设备连接到第一设备上的其它信道终端。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.

在一个实施例中,管控消息承载在第一设备与第二设备之间的管控通道上。In one embodiment, the management and control message is carried on a management and control channel between the first device and the second device.

在一个实施例中,第二设备上的第一设备信道终端信息,包括以下至少一项:In one embodiment, 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 a second device connected to a first device;

第二设备当前连接的第一设备的信道终端的状态属性。The status attribute of the channel terminal of the first device to which the second device is currently connected.

在一个实施例中,第二设备连接第一设备的信道终端的能力属性包括以下至少一项: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:

第一模式的能力;The capabilities of the first mode;

连接第一设备的第一信道终端的能力;A capability of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的能力。The ability to connect to other channel terminals of the first device.

在一个实施例中,第二设备连接第一设备信道终端的模式属性包括以下至少一项:In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

第一模式;First mode;

连接第一设备的第一信道终端的模式;a mode of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的模式。The mode of connecting other channel terminals of the first device.

在一个实施例中,状态属性包括以下至少一项:In one embodiment, 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.

在图14中,总线架构(用总线1401来代表),总线1401可以包括任意数量的互联的总线和桥,总线1401将包括由处理器1405代表的一个或多个处理器和存储器1406代表的存储器的各种电路链接在一起。总线1401还可 以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口1404在总线1401和收发机1402之间提供接口。收发机1402可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器1405处理的数据通过天线1403在无线介质上进行传输,进一步,天线1403还接收数据并将数据传送给处理器1405。In FIG. 14 , a bus architecture (represented by bus 1401) is shown. Bus 1401 may include any number of interconnected buses and bridges that link together various circuits including one or more processors represented by processor 1405 and memory represented by memory 1406. Bus 1401 may also include a plurality of interconnected buses and bridges. The bus 1401 may be connected to a bus 1402 to link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are not further described herein. The bus interface 1404 provides an interface between the bus 1401 and the transceiver 1402. The 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. The data processed by the processor 1405 is transmitted on a wireless medium via the antenna 1403. Further, the antenna 1403 also receives data and transmits the data to the processor 1405.

处理器1405负责管理总线1401和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器1406可以被用于存储处理器1405在执行操作时所使用的数据。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.

可选的,处理器1405可以是中央处理器(Central Processing Unit,CPU)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程逻辑门阵列(Field Programmable Gate Array,FPGA)或复杂可编程逻辑器件(Complex Programmable logic device,CPLD)。Optionally, processor 1405 can be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD).

本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述应用于第一设备的光接入网中信道终端选择方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored. 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.

本公开实施例还提供了一种通信设备,可以是第二设备,包括:处理器、存储器及存储在存储器上并可在处理器上运行的程序,程序被处理器执行时实现上述应用于第二设备的光接入网中信道终端选择方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present disclosure also provide 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 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.

具体的,参见图15所示,本公开实施例还提供了一种第二设备,包括总线1501、收发机1502、天线1503、总线接口1504、处理器1505和存储器1506。Specifically, as shown in FIG. 15 , an embodiment of the present disclosure further provides a second device, including a bus 1501 , a transceiver 1502 , an antenna 1503 , a bus interface 1504 , a processor 1505 , and a memory 1506 .

其中,第二设备至少支持连接到第一设备的第一信道终端和第二信道终端; Wherein, the second device at least supports a first channel terminal and a second channel terminal connected to the first device;

处理器1505,用于基于第一设备的设置或第二设备的第一模式,将第二设备连接到第一设备的信道终端。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.

在一个实施例中,处理器1505,具体用于:In one embodiment, the processor 1505 is specifically configured to:

在第二设备连接在第一目标信道终端的情况下,根据第一设备的设置将第二设备切换连接到第一设备上的其它信道终端,其中,其它信道终端为第一设备上除第一信道终端之外的信道终端,第二设备支持其它信道终端;或者,In the case where the second device is connected to the first target channel terminal, switching the second device to connect to other channel terminals on the first device according to the 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 is connected to the channel terminal of the first device selected based on the first mode.

在一个实施例中,第二设备当前连接到第一信道终端上,第一模式至少支持第二设备优先选择第一设备上的其它信道终端中速率更高的信道终端。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.

在一个实施例中,第一模式支持超时机制;In one embodiment, the first mode supports a timeout mechanism;

其中,超时机制包括: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.

在一个实施例中,收发机1502,用于向第一设备发送第二设备上的第一设备信道终端信息;第一设备信道终端信息用于第一设备在第二设备连接在第一信道终端的情况下设置第二设备连接到第一设备的其它信道终端。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.

在一个实施例中,收发机1502,还用于接收第一设备基于第一设备信道终端信息发送的管控消息;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;

处理器1505,具体用于:响应于管控消息,第二设备连接到第一设备的其它信道终端中管控消息指示的信道终端。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.

在一个实施例中,管控消息承载在第一设备与第二设备之间的管控通道上。In one embodiment, the management and control message is carried on a management and control channel between the first device and the second device.

在一个实施例中,第二设备上的第一设备信道终端信息,包括以下至少一项: In one embodiment, 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 a second device connected to a first device;

第二设备当前连接的第一设备的信道终端的状态属性。The status attribute of the channel terminal of the first device to which the second device is currently connected.

在一个实施例中,第二设备连接第一设备的信道终端的能力属性包括以下至少一项: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:

第一模式的能力;The capabilities of the first mode;

连接第一设备的第一信道终端的能力;A capability of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的能力。The ability to connect to other channel terminals of the first device.

在一个实施例中,第二设备连接第一设备信道终端的模式属性包括以下至少一项:In one embodiment, the mode attribute of the second device connecting to the first device channel terminal includes at least one of the following:

第一模式;First mode;

连接第一设备的第一信道终端的模式;a mode of connecting a first channel terminal of a first device;

连接第一设备的其它信道终端的模式。The mode of connecting other channel terminals of the first device.

在一个实施例中,状态属性包括以下至少一项:In one embodiment, 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.

在一个实施例中,第一设备的设置包括第一设备设置的第二设备连接第一设备的信道终端的模式属性;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;

处理器1505,具体用于在第一设备信道终端模式属性与第二设备当前的模式属性不匹配的情况下,第二设备切换连接到第一设备的设置对应的信道终端。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 a channel terminal mode attribute of the first device does not match a current mode attribute of the second device.

在图15中,总线架构(用总线1501来代表),总线1501可以包括任意数量的互联的总线和桥,总线1501将包括由处理器1505代表的一个或多个处理器和存储器1506代表的存储器的各种电路链接在一起。总线1501还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口1504在总线1501和收发机1502之间提供接口。收发机1502可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器1505处理的数据通过天线1503 在无线介质上进行传输,进一步,天线1503还接收数据并将数据传送给处理器1505。In Figure 15, the bus architecture (represented by 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 all 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 via antenna 1503. The transmission is performed on the wireless medium. Further, the antenna 1503 also receives the data and transmits the data to the processor 1505.

处理器1505负责管理总线1501和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器1506可以被用于存储处理器1505在执行操作时所使用的数据。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.

可选的,处理器1505可以是CPU、ASIC、FPGA或CPLD。Optionally, the processor 1505 may be a CPU, an ASIC, an FPGA or a CPLD.

本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述应用于第二设备的光接入网中信道终端选择方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,可以是如ROM、RAM、磁碟或者光盘等。The embodiment of the present disclosure 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 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. The computer-readable storage medium can be, for example, a ROM, RAM, a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。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.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例的方法。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 can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, a magnetic 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 disclosure.

上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。 The embodiments of the present disclosure are described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present disclosure, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present disclosure and the claims, all of which are within the protection of the present disclosure.

Claims (27)

一种光接入网中信道终端选择方法,应用于第一设备,所述第一设备至少支持第一信道终端和第二信道终端,所述方法包括:A method for selecting a channel terminal in an optical access network is applied to a first device, wherein the first device supports at least a first channel terminal and a second channel terminal, and the method comprises: 所述第一设备可设置第二设备连接到所述第一设备的信道终端,其中,所述第二设备至少支持连接到所述第一信道终端和所述第二信道终端。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. 根据权利要求1所述的光接入网中信道终端选择方法,其中,所述第一设备可设置第二设备连接到所述第一设备的信道终端,包括:The method for selecting a channel terminal in an optical access network according to claim 1, wherein the first device can set a second device to connect to a channel terminal of the first device, comprising: 在所述第二设备连接在所述第一信道终端的情况下,所述第一设备可设置所述第二设备连接到所述第一设备上的其它信道终端,其中,所述其它信道终端为所述第一设备上除所述第一信道终端之外的信道终端,所述其它信道终端在所述第一设备和所述第二设备上均支持;或者,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. 根据权利要求2所述的光接入网中信道终端选择方法,其中,所述第二设备当前连接到所述第一信道终端上,所述第一模式至少支持所述第二设备优先选择所述第一设备的其它信道终端中速率更高的信道终端。The channel terminal selection method in an optical access network according to claim 2, wherein the second device is currently connected to the first channel terminal, and the first mode at least supports the second device to preferentially select a channel terminal with a higher rate among other channel terminals of the first device. 根据权利要求3所述的光接入网中信道终端选择方法,其中,所述第一模式支持超时机制;The method for selecting a channel terminal in an optical access network according to claim 3, wherein the first mode supports a timeout mechanism; 其中,所述超时机制包括:Wherein, the timeout mechanism includes: 在所述第二设备连接在所述第一信道终端的情况下,若所述第二设备从所述第一设备的其它信道终端中选择的信道终端与所述第二设备支持的信道终端不匹配,则在预设时长内,所述第二设备基于选择的信道终端不进入工作状态,在所述预设时长到期的情况下,所述第二设备切换选择到所述第一设备的其余信道终端中速率更高的另一个信道终端,所述其余信道终端为所述第一设备的其它信道终端中除所述选择的信道终端之外的信道终端。In the case where the second device is connected to the first channel terminal, if the channel terminal selected by the second device from other channel terminals of the first device does not match the channel terminal supported by the second device, then within a preset time period, the second device does not enter a working state based on the selected channel terminal, and when the preset time period expires, the second device switches to another channel terminal with a higher rate among the remaining channel terminals of the first device, and the remaining channel terminals are channel terminals other than the selected channel terminal among the other channel terminals of the first device. 根据权利要求2所述的光接入网中信道终端选择方法,其中,所述方法还包括:所述第一设备获取所述第二设备上的第一设备信道终端信息,The channel terminal selection method in an optical access network according to claim 2, wherein the method further comprises: the first device acquires the first device channel terminal information on the second device, 在所述第二设备连接在所述第一信道终端的情况下,所述第一设备可设 置所述第二设备连接到所述第一设备上的其它信道终端,包括:When the second device is connected to the first channel terminal, the first device may be configured The method of configuring the second device to be connected to other channel terminals on the first device includes: 在所述第二设备连接在所述第一信道终端的情况下,基于所述第一设备信道终端信息,所述第一设备设置所述第二设备连接到所述第一设备上的其它信道终端。In the case where the second device is connected to the first channel terminal, based on the first device channel terminal information, the first device sets the second device to be connected to other channel terminals on the first device. 根据权利要求5所述的光接入网中信道终端选择方法,其中,所述基于所述第一设备信道终端信息,所述第一设备设置所述第二设备连接到所述第一设备上的其它信道终端,包括:The method for selecting a channel terminal in an optical access network according to claim 5, wherein, based on the channel terminal information of the first device, the first device sets the second device to be connected to other channel terminals on the first device, comprising: 所述第一设备基于所述第一设备信道终端信息,向所述第二设备发送管控消息,所述管控消息用于设置所述第二设备连接到所述第一设备上的其它信道终端。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. 根据权利要求6所述的光接入网中信道终端选择方法,其中,所述管控消息承载在所述第一设备与所述第二设备之间的管控通道上。The channel terminal selection method in an optical access network according to claim 6, wherein the control message is carried on a control channel between the first device and the second device. 根据权利要求5所述的光接入网中信道终端选择方法,其中,所述第二设备上的第一设备信道终端信息,包括以下至少一项:The channel terminal selection method in an optical access network according to claim 5, wherein the first device channel terminal information on the second device includes at least one of the following: 所述第二设备连接所述第一设备的信道终端的能力属性;A capability attribute of the second device to connect to a channel terminal of the first device; 所述第二设备连接所述第一设备的信道终端的模式属性;a mode attribute of a channel terminal of the second device connected to the first device; 所述第二设备当前连接的所述第一设备的信道终端的状态属性。A status attribute of a channel terminal of the first device to which the second device is currently connected. 根据权利要求8所述的光接入网中信道终端选择方法,其中,所述第二设备连接所述第一设备的信道终端的能力属性包括以下至少一项:The method for selecting a channel terminal in an optical access network according to claim 8, wherein the capability attribute of the channel terminal of the second device connected to 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. 根据权利要求8所述的光接入网中信道终端选择方法,其中,所述第二设备连接所述第一设备的信道终端的模式属性包括以下至少一项:The method for selecting a channel terminal in an optical access network according to claim 8, wherein the mode attribute of the channel terminal of the second device connected to the first device includes at least one of the following: 所述第一模式;the first mode; 连接所述第一设备的第一信道终端的模式;a mode of connecting a first channel terminal of the first device; 连接所述第一设备的其它信道终端的模式。A mode for connecting other channel terminals of the first device. 根据权利要求8所述的光接入网中信道终端选择方法,其中,所述状态属性包括以下至少一项: The method for selecting a channel terminal in an optical access network according to claim 8, wherein the state attribute includes at least one of the following: 所述第二设备当前连接在所述第一设备的第一信道终端;The second device is currently connected to the first channel terminal of the first device; 所述第二设备当前连接在所述第一设备的其它信道终端。The second device is currently connected to the other channel terminal of the first device. 一种光接入网中信道终端选择方法,应用于第二设备,所述第二设备至少支持连接到第一设备的第一信道终端和第二信道终端,所述方法包括:A method for selecting a channel terminal in an optical access network, applied to a second device, wherein the second device at least supports a first channel terminal and a second channel terminal connected to a first device, the method comprising: 所述第二设备基于所述第一设备的设置或所述第二设备的第一模式连接到所述第一设备的信道终端。The second device is connected to a channel terminal of the first device based on a setting of the first device or a first mode of the second device. 根据权利要求12所述的光接入网中信道终端选择方法,其中,所述第二设备基于所述第一设备的设置或所述第二设备的第一模式连接到所述第一设备的信道终端,包括:The method for selecting a channel terminal in an optical access network according to claim 12, wherein the second device is connected to the channel terminal of the first device based on the setting of the first device or the first mode of the second device, comprising: 在所述第二设备连接在所述第一信道终端的情况下,所述第二设备根据所述第一设备的设置切换连接到所述第一设备上的其它信道终端,其中,所述其它信道终端为所述第一设备上除所述第一信道终端之外的信道终端,所述第二设备支持所述其它信道终端;或者,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. 根据权利要求13所述的光接入网中信道终端选择方法,其中,所述第二设备当前连接到所述第一信道终端上,所述第一模式至少支持所述第二设备优先选择所述第一设备上的其它信道终端中速率更高的信道终端。The channel terminal selection method in an optical access network according to claim 13, wherein the second device is currently connected to the first channel terminal, and the first mode at least supports the second device to preferentially select a channel terminal with a higher rate among other channel terminals on the first device. 根据权利要求14所述的光接入网中信道终端选择方法,其中,所述第一模式支持超时机制;The method for selecting a channel terminal in an optical access network according to claim 14, wherein the first mode supports a timeout mechanism; 其中,所述超时机制包括:Wherein, the timeout mechanism includes: 在所述第二设备连接在所述第一信道终端的情况下,若所述第二设备从所述第一设备的其它信道终端中选择的信道终端与所述第二设备支持的信道终端不匹配,则在预设时长内,所述第二设备基于选择的信道终端不进入工作状态,在所述预设时长到期的情况下,所述第二设备切换选择到所述第一设备的其余信道终端中速率更高的另一个信道终端,所述其余信道终端为所述第一设备的其它信道终端中除所述选择的信道终端之外的信道终端。In the case where the second device is connected to the first channel terminal, if the channel terminal selected by the second device from other channel terminals of the first device does not match the channel terminal supported by the second device, then within a preset time period, the second device does not enter a working state based on the selected channel terminal, and when the preset time period expires, the second device switches to another channel terminal with a higher rate among the remaining channel terminals of the first device, and the remaining channel terminals are channel terminals other than the selected channel terminal among the other channel terminals of the first device. 根据权利要求13所述的光接入网中信道终端选择方法,其中,所述方法还包括:向所述第一设备发送所述第二设备上的第一设备信道终端信息;所述第一设备信道终端信息用于所述第一设备在所述第二设备连接在所述第 一信道终端的情况下设置所述第二设备连接到所述第一设备的其它信道终端。The method for selecting a channel terminal in an optical access network according to claim 13, wherein the method further comprises: sending the first device channel terminal information on the second device to the first device; the first device channel terminal information is used for the first device to select a channel terminal when the second device is connected to the first device. In the case of one channel terminal, the second device is set to be connected to the other channel terminal of the first device. 根据权利要求16所述的光接入网中信道终端选择方法,其中,所述第二设备基于所述第一设备的设置连接到所述第一设备的信道终端,包括:The method for selecting a channel terminal in an optical access network according to claim 16, wherein the second device is connected to the channel terminal of the first device based on the setting of the first device, comprising: 所述第二设备接收所述第一设备基于所述第一设备信道终端信息发送的管控消息;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. 根据权利要求17所述的光接入网中信道终端选择方法,其中,所述管控消息承载在所述第一设备与所述第二设备之间的管控通道上。The channel terminal selection method in an optical access network according to claim 17, wherein the control message is carried on a control channel between the first device and the second device. 根据权利要求16所述的光接入网中信道终端选择方法,其中,所述第二设备上的第一设备信道终端信息,包括以下至少一项:The channel terminal selection method in an optical access network according to claim 16, wherein the first device channel terminal information on the second device includes at least one of the following: 所述第二设备连接所述第一设备的信道终端的能力属性;A capability attribute of the second device to connect to a channel terminal of the first device; 所述第二设备连接所述第一设备的信道终端的模式属性;a mode attribute of a channel terminal of the second device connected to the first device; 所述第二设备当前连接的所述第一设备的信道终端的状态属性。A status attribute of a channel terminal of the first device to which the second device is currently connected. 根据权利要求19所述的光接入网中信道终端选择方法,其中,所述第二设备连接所述第一设备的信道终端的能力属性包括以下至少一项:The method for selecting a channel terminal in an optical access network according to claim 19, wherein the capability attribute of the channel terminal of the second device connected to 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. 根据权利要求19所述的光接入网中信道终端选择方法,其中,所述第二设备连接所述第一设备的信道终端的模式属性包括以下至少一项:The method for selecting a channel terminal in an optical access network according to claim 19, wherein the mode attribute of the channel terminal of the second device connected to the first device includes at least one of the following: 所述第一模式;the first mode; 连接所述第一设备的第一信道终端的模式;a mode of connecting a first channel terminal of the first device; 连接所述第一设备的其它信道终端的模式。A mode for connecting other channel terminals of the first device. 根据权利要求19所述的光接入网中信道终端选择方法,其中,所述状态属性包括以下至少一项:The method for selecting a channel terminal in an optical access network according to claim 19, wherein the state attribute includes at least one of the following: 所述第二设备当前连接在所述第一设备的第一信道终端;The second device is currently connected to the first channel terminal of the first device; 所述第二设备当前连接在所述第一设备的其它信道终端。The second device is currently connected to the other channel terminal of the first device. 根据权利要求12-22中任一项所述的光接入网中信道终端选择方法, 其中,所述第一设备的设置包括设置的所述第二设备的第一设备信道终端模式属性,所述第二设备基于所述第一设备的设置连接到所述第一设备的信道终端的,包括:The method for selecting a channel terminal in an optical access network according to any one of claims 12 to 22, 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. 一种光接入网中信道终端选择装置,应用于第一设备,所述第一设备至少支持第一信道终端和第二信道终端,所述装置包括:A channel terminal selection device in an optical access network is applied to a first device, the first device at least supports a first channel terminal and a second channel terminal, and the device 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. 一种光接入网中信道终端选择装置,应用于第二设备,所述第二设备至少支持连接到第一设备的第一信道终端和第二信道终端,所述装置包括:A channel terminal selection device in an optical access network, applied to a second device, the second device at least supporting a first channel terminal and a second channel terminal connected to a first device, the device comprising: 连接模块,用于基于所述第一设备的设置或所述第二设备的第一模式,将所述第二设备连接到所述第一设备的信道终端。A connection module is used to connect the second device to the channel terminal of the first device based on the setting of the first device or the first mode of the second device. 一种通信设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求1至23中任一项所述的方法的步骤。A communication device comprises: 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 as claimed in any one of claims 1 to 23 when executed by the processor. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-23中任一所述的方法的步骤。 A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any one of the methods described in claims 1-23.
PCT/CN2024/079822 2023-03-03 2024-03-04 Channel terminal selection method and apparatus in optical access network, and communication device Ceased WO2024183676A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310197071.4A CN118590792A (en) 2023-03-03 2023-03-03 Channel terminal selection method, device and communication equipment in optical access network
CN202310197071.4 2023-03-03

Publications (1)

Publication Number Publication Date
WO2024183676A1 true WO2024183676A1 (en) 2024-09-12

Family

ID=92527328

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/079822 Ceased WO2024183676A1 (en) 2023-03-03 2024-03-04 Channel terminal selection method and apparatus in optical access network, and communication device

Country Status (2)

Country Link
CN (1) CN118590792A (en)
WO (1) WO2024183676A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015139218A1 (en) * 2014-03-19 2015-09-24 华为技术有限公司 Communication method, apparatus, and system for passive optical network (pon)
CN105594143A (en) * 2014-05-12 2016-05-18 华为技术有限公司 A method, device and system for optical network unit ONU registration
CN108156538A (en) * 2016-12-02 2018-06-12 中兴通讯股份有限公司 A passive optical network system and its implementation method
CN110049386A (en) * 2018-01-17 2019-07-23 华为技术有限公司 Communication network and relevant device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015139218A1 (en) * 2014-03-19 2015-09-24 华为技术有限公司 Communication method, apparatus, and system for passive optical network (pon)
CN105594143A (en) * 2014-05-12 2016-05-18 华为技术有限公司 A method, device and system for optical network unit ONU registration
CN108156538A (en) * 2016-12-02 2018-06-12 中兴通讯股份有限公司 A passive optical network system and its implementation method
CN110049386A (en) * 2018-01-17 2019-07-23 华为技术有限公司 Communication network and relevant device

Also Published As

Publication number Publication date
CN118590792A (en) 2024-09-03

Similar Documents

Publication Publication Date Title
CN103650422B (en) Wavelength negotiation method, system, and device for multi-wavelength passive optical network
JP5114268B2 (en) Passive optical network system and operation method thereof
EP2770675B1 (en) Access system communication method and device of optical fiber network
TWI725274B (en) Data communication system, optical line terminal and baseband unit
KR101690853B1 (en) Optical line terminal device and implementation method thereof
JP4676517B2 (en) Optical access system, optical communication path switching device and optical line device
EP2312780A1 (en) A packet add/drop multiplexing device and a data transmission method of a packet add/drop multiplexing device
JP2017516406A (en) Method, apparatus and system for wavelength switching
RU2765991C1 (en) Communication network and associated apparatuses
CN101778314A (en) Optical communication system and method for operating the same
CN102413386A (en) Passive optical network system, optical line terminator and communication method for passive optical network system
CN101677415A (en) Optical network system data link switching method, optical network unit and system
EP3985893A1 (en) Method for reducing uplink time delay of passive optical network, and related device
US9426547B2 (en) PON system, station side device and method for operating the same, and access control device
EP2101449A1 (en) Optical communication system, its optical communication method, and communication device
JP6459588B2 (en) Access control system, access control method, master station device, and slave station device
WO2025146050A1 (en) Optical network unit, service data transmission method, and passive optical network system
WO2024183676A1 (en) Channel terminal selection method and apparatus in optical access network, and communication device
CN119675816B (en) Optical communication device, system and optical communication processing method
CN106464385A (en) A communication method, device and system
JP2013046132A (en) Communication system and master station device
JP5942751B2 (en) Station side apparatus and optical communication network system for WDM / TDM-PON system
CN110121124B (en) PON aggregation remote DCN ring prevention method
CN118740271A (en) Communication method, device and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24766391

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE