WO2024230211A1 - Access mode switching method and device, storage medium, and electronic device - Google Patents
Access mode switching method and device, storage medium, and electronic device Download PDFInfo
- Publication number
- WO2024230211A1 WO2024230211A1 PCT/CN2024/070673 CN2024070673W WO2024230211A1 WO 2024230211 A1 WO2024230211 A1 WO 2024230211A1 CN 2024070673 W CN2024070673 W CN 2024070673W WO 2024230211 A1 WO2024230211 A1 WO 2024230211A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- access mode
- pon port
- mode
- optical module
- onu
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0086—Network resource allocation, dimensioning or optimisation
Definitions
- the present disclosure relates to the field of communications, and in particular, to a method, device, storage medium and electronic device for switching an access mode.
- passive optical network equipment can be divided into the following modes according to different working mechanisms: Ethernet-based passive optical network equipment (Ethernet Passive Optical Network, referred to as EPON), 10G Ethernet-based passive optical network equipment (10G Ethernet Passive Optical Network, referred to as 10G EPON), Gigabit passive optical network equipment (Gigabit-capable Passive Optical Network, referred to as GPON), 10G passive optical network equipment (10-Gigabit-capable Passive Optical Networks, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as X
- XGSPON 0-Gigabit-capable Symmetric Passive Optical Networks
- 40G passive optical network equipment 40-Gigabit-capable Passive Optical Networks, abbreviated as NGPON2
- 50G passive optical network equipment 50-Gigabit-capable Passive Optical Network, abbreviated as 50G PON
- 200G next generation high-density point-to-multipoint passive optical network 200Gigabit-capable Virtualized Hybrid Service Provider, abbreviated as 200G PON (VHSP)
- These passive optical network system architectures generally include Optical Line Terminal, abbreviated as OLT), Optical Distribution Network and Optical Network Unit (ONU).
- OLT Optical Line Terminal
- ONU Optical Distribution Network
- ONU Optical Network Unit
- FTTH fiber to the home
- FTTR networking solution adopts a mode in which a single master gateway matches one or more slave gateways.
- the master and slave gateways are connected by optical fiber, which has stronger data transmission and anti-interference capabilities and longer life, achieving true high-speed Wi-Fi coverage without blind spots throughout the house.
- FIG1 is a schematic diagram of wavelengths of PON access technologies in different modes.
- GPON and EPON ONUs operate in the upstream 1310nm and downstream 1490nm bands;
- XEPON (symmetric and asymmetric), XGPON and XGSPON ONUs operate in the upstream 1270nm and downstream 1577nm bands;
- NGPON2ONUs operate in the upstream 1532.68 ⁇ 1538.19nm and downstream 1596.34 ⁇ 1602.31nm bands (up to 8 bands for upstream and downstream);
- 50G PON operates in the upstream ⁇ 1 nm and downstream ⁇ 1 nm bands;
- 200G PON operates in the upstream ⁇ 2 nm and downstream ⁇ 2 nm bands.
- the cost of the main gateway equipment for FTTR to complete the networking is relatively high.
- the existing related technologies do not provide an effective solution for the FTTR main gateway and slave gateway to be widely compatible with multiple PON modes running in the existing network and to achieve automatic or active switching of multiple PON modes.
- the embodiments of the present disclosure provide a method, device, storage medium and electronic device for switching an access mode, so as to at least solve the problem in the related art that the FTTR master gateway and slave gateway cannot realize the switching of multiple PON modes.
- a method for switching an access mode comprising: determining a first access mode adopted by an uplink passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and determining a second access mode adopted by an optical network terminal OLT PON port and/or a downlink PON port of the main gateway; when it is determined that the first access mode and the second access mode are inconsistent, switching the first access mode to the second access mode.
- an access mode switching device including: a determination module, configured to determine a first access mode adopted by an uplink passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and to determine a second access mode adopted by an optical network terminal OLT PON port and/or a downlink PON port of the main gateway; a switching module, configured to switch the first access mode to the second access mode when it is determined that the first access mode and the second access mode are inconsistent.
- a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned access mode switching method when running.
- an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the access mode switching method through the computer program.
- the first access mode adopted by the uplink passive optical fiber network PON port and/or the optical network unit ONU PON port of the main gateway is determined, and when the second access mode adopted by the optical network terminal OLT PON port and/or the downlink PON port of the main gateway is determined; it is further determined whether the first access mode and the second access mode are consistent, and when it is determined that the first access mode and the second access mode are inconsistent, the first access mode is switched to the second access mode.
- the technical problem in the related art that the FTTR main gateway and the slave gateway cannot realize the switching of multiple PON modes is solved.
- FIG1 is a schematic diagram of wavelengths of PON access technologies of different modes in the related art
- FIG. 2 is a hardware structure block diagram of a computer terminal of the access mode switching method according to an embodiment of the present disclosure
- FIG3 is a flow chart of a method for switching access modes according to an embodiment of the present disclosure (I);
- FIG4 is a schematic diagram of active switching of the access mode switching method according to an embodiment of the present disclosure (I);
- FIG5 is a schematic diagram of active switching of the access mode switching method according to an embodiment of the present disclosure (II);
- FIG6 is a flow chart (II) of a method for switching an access mode according to an embodiment of the present disclosure
- FIG7 is a flow chart (III) of a method for switching an access mode according to an embodiment of the present disclosure
- FIG8 is a structural block diagram of a device for switching access modes according to an embodiment of the present disclosure.
- FIG2 is a hardware structure block diagram of a computer terminal of the access mode switching method of the embodiment of the present disclosure.
- the computer terminal may include one or more (only one is shown in FIG2) processors 202 (the processor 202 may include but is not limited to a microprocessor (Microprocessor Unit, referred to as MPU) or a programmable logic device (Programmable logic device, referred to as PLD)) and a memory 204 configured to store data.
- MPU Microprocessor Unit
- PLD programmable logic device
- the above-mentioned computer terminal may also include a transmission device 206 and an input and output device 208 configured to have a communication function.
- a transmission device 206 and an input and output device 208 configured to have a communication function.
- the structure shown in FIG2 is only for illustration and does not limit the structure of the above-mentioned computer terminal.
- the computer terminal may also include more or fewer components than those shown in FIG2, or have a different configuration with the same function as that shown in FIG2 or more functions than those shown in FIG2.
- the memory 204 may be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the access mode switching method in the embodiment of the present disclosure.
- the processor 202 executes various functional applications and data processing by running the computer program stored in the memory 204, that is, to implement the above method.
- the memory 204 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
- the memory 204 may further include a memory remotely arranged relative to the processor 202, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- the transmission device 206 is configured to receive or send data via a network.
- Specific examples of the above-mentioned network may include a wireless network provided by a communication provider of a computer terminal.
- the transmission device 206 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet.
- the transmission device 206 can be a radio frequency (Radio Frequency, referred to as RF) module, which is configured to communicate with the Internet wirelessly.
- RF Radio Frequency
- FIG3 is a flow chart (I) of a method for switching an access mode according to an embodiment of the present disclosure. As shown in FIG3 , the steps of the method include:
- Step S302 determining a first access mode adopted by an uplink passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and determining a second access mode adopted by an optical network terminal OLT PON port and/or a downlink PON port of a main gateway.
- the OLT PON port corresponds to the uplink PON port
- the downlink PON port corresponds to the ONU PON port
- the corresponding PON ports interact with each other through information and instructions such as registration information, and coordinate and switch access modes, so that the access modes adopted by the OLT PON port and the uplink PON port are unified, and the access modes adopted by the downlink PON port and the ONU PON port are unified.
- Step S304 When it is determined that the first access mode and the second access mode are inconsistent, switch the first access mode to the second access mode.
- the embodiment of the present disclosure determines the first access mode adopted by the uplink passive optical fiber network PON port and/or the optical network unit ONU PON port of the main gateway, and determines the second access mode adopted by the optical network terminal OLT PON port and/or the downlink PON port of the main gateway; further determines whether the first access mode and the second access mode are consistent, and when it is determined that the first access mode and the second access mode are inconsistent, the first access mode is switched to the second access mode.
- the first access mode adopted by the uplink PON port and the second access mode adopted by the OLT PON port are consistent, if they are inconsistent, the first access mode adopted by the uplink PON port is switched to the second access mode adopted by the OLT PON port; and by determining whether the first access mode adopted by the ONU PON port and the second access mode adopted by the downlink PON port are consistent, if they are inconsistent, the first access mode adopted by the ONU PON port is switched to the second access mode adopted by the downlink PON port.
- determining a second access mode adopted by an optical network terminal OLT PON port and/or a downstream PON port of a main gateway includes: when the upstream PON port and/or the ONU PON port receives registration information sent by the OLT PON port and/or the downstream PON port, determining the second access mode according to the registration information.
- OLT usually performs interactive authentication on the newly connected master gateway in the form of PLOAM or MPCP messages
- the master gateway usually also performs interactive authentication on the newly connected slave gateway (which can be equivalent to the ONU in the above embodiment) in the form of PLOAM or MPCP messages
- the PLOAM or MPCP message can be the registration information. Due to the differences in the definition of PLOAM or MPCP messages in different PON technical standards. Therefore, the second access mode currently adopted by the OLT PON port and/or the downlink PON port can be determined based on the registration information sent by the OLT PON port and/or the downlink PON port of the master gateway to the uplink PON port and/or the ONU PON port.
- PLOAM physical layer operations, administration and maintenance
- MPCP multi-point control protocol
- the registration information corresponding to GPON is simply determined as Upstream Overhead
- the registration information corresponding to EPON is determined as Discovery Gate: 1) If the second access mode adopted by the OLT is GPON, and the first access mode adopted by the uplink port of the main gateway after power-on initialization is EPON, then: the second access mode is GPON, then the registration information that the OLT PON port should send to the uplink PON port is Upstream Overhead, and then the uplink PON port can determine the OLT according to the registration information Upstream Overhead.
- the second access mode adopted by the PON port is GPON, and since the first access mode adopted by the upstream PON port is EPON after initialization, the first access mode does not match the second access mode, and the first access mode needs to be switched to the second access mode to re-initiate the registration process.
- the registration information sent by the downstream port of the main gateway to the ONU PON port is Upstream Overhead
- the ONU PON port determines that the second access mode adopted by the downstream PON port of the main gateway is GPON based on the received Upstream Overhead registration information, which does not match the first access mode adopted by the ONU PON port, and then the EPON adopted by the ONU PON port can be switched to the second access mode.
- the mode switching operation is generally performed on the uplink PON port; and in the process of interaction between the downlink PON port and the ONU PON port, you can choose to switch the access mode adopted by the ONU PON port, or you can choose to switch the access mode adopted by the downlink PON port, that is, in the above example 2), you can also choose to switch the second access mode GPON adopted by the downlink PON port to the first access mode EPON adopted by the ONU PON port. It should also be noted that, if the optical module supports it, the uplink PON port and the downlink PON port of the main gateway can adopt different access modes without interfering with each other. It should also be noted that the above-mentioned scheme of mode switching based on registration information is generally applicable to the case where the optical module is a multi-mode optical module.
- the method before switching the first access mode to the second access mode, the method also includes: determining a first working band corresponding to the first access mode, and determining a second working band corresponding to the second access mode; when the first working band and the second working band are inconsistent, determining that the first access mode and the second access mode are inconsistent.
- the working bands corresponding to different access modes may be different. Therefore, it is possible to determine whether the first access mode and the second access mode are the same access mode by determining whether the working bands corresponding to the first access mode and the second access mode are the same. If the first working band and the second working band are the same, the first access mode and the second access mode may be the same, but further determination is required. However, if the first working band and the second working band are different, the first access mode and the second access mode must be different, and the corresponding PON port mode switching can be performed directly.
- the corresponding first working band is: upstream wavelength 1310nm, downstream wavelength 1490nm
- the second access mode is XEPON asymmetric
- the corresponding working band is: upstream wavelength 1270nm, downstream wavelength 1577nm. It can be determined that the first working band and the second working band are inconsistent. Therefore, the first access mode and the second access mode must be inconsistent, and a switching operation is required.
- the method further includes: when the first working band and the second working band are inconsistent, determining the first optical module corresponding to the first access mode and the second optical module corresponding to the second access mode; when the module types of the first optical module and the second optical module are both single-mode optical modules, sending a prompt message to the target object, wherein the prompt message is used to prompt that the module type of the first optical module or the module type of the second optical module is incorrectly selected.
- the mode switching operation cannot be performed because the single-mode optical module only supports one access mode. You can choose to send a prompt message to the target object to prompt that the optical module type selection is wrong.
- the target object is generally a staff member who can perform optical module replacement operations, or it can be a user.
- the prompt information can indicate which PON port optical module needs to be replaced, and provide optional replacement solutions, such as: indicating that the optical module of the upstream PON port needs to be switched, and providing the type of optical module to be switched to, or providing the access mode to be switched to by the upstream PON port, and then instructing the target object to switch the optical module type to the upstream PON port according to the optical module type, or the optical module type determined by the access mode to be switched to. Replace the optical module originally connected to the PON port.
- the method further includes: in a case where the first working band and the second working band are inconsistent, determining the first optical module corresponding to the first access mode and the second optical module corresponding to the second access mode; in a case where one of the first optical module and the second optical module is a multi-mode optical module and the other optical module is a single-mode optical module, determining the third access mode adopted by the target PON port corresponding to the multi-mode optical module and determining the fourth access mode of the single-mode optical module; switching the third access mode corresponding to the target PON port to the fourth access mode.
- the third access mode corresponding to the target PON port is switched to the fourth access mode, including: obtaining multiple access modes allowed to be supported by the multi-mode optical module; when it is determined that the multiple access modes include the fourth access mode, switching the third access mode adopted by the target PON port to the fourth access mode.
- the third access mode currently adopted by the target PON port using the multi-mode optical module and the fourth access mode adopted by the PON port using the single-mode optical module are further determined; when the multi-mode optical module supports the fourth access mode, the third access mode currently adopted by the target PON port is switched to the fourth access mode.
- the condition may be set as follows: switching the access mode between the ONU PON port and the main gateway downstream PON port to unify the access modes adopted by the ONU PON port and the main gateway downstream PON port, wherein the ONU PON port adopts a single-mode optical module supporting the GPON access mode, and the downstream PON port adopts a multi-mode optical module supporting the XGPON/GPON access mode.
- the working band adopted by GPON is an upstream wavelength of 1310nm and a downstream wavelength of 1490nm
- the working band adopted by XGPON is an upstream wavelength of 1270nm and a downstream wavelength of 1577nm
- the working bands of the access modes adopted by the ONU PON port and the downstream PON port are inconsistent, and thus the first access mode and the second access mode are inconsistent.
- the XGPON/GPON optical module is a multi-mode optical module
- the downstream PON port is the target PON port
- the XGPON adopted by the downstream PON port is determined as the third access mode
- the GPON adopted by the ONU PON port is the fourth access mode. Since the multi-mode optical module XGPON/GPON optical module adopted by the downstream PON port also supports the fourth access mode GPON, the third access mode is switched to the fourth access mode.
- the method before switching the first access mode to the second access mode, the method further includes: upon detecting that the OLT PON port and/or the downstream PON port receives a mode switching instruction, sending a target signaling to the upstream PON port and/or the ONU PON port, wherein the target signaling includes: a physical layer operation administration and maintenance PLOAM message, or an ONU management and control interface OMCI message; the target signaling carries a fifth access mode to which the OLT PON port and/or the downstream PON port is expected to switch.
- the mode switch can be actively initiated through a mobile phone APP, network management, NFC or web page.
- the mode switch instruction can be sent to the OLT PON port and/or the downlink PON port.
- the mode switch instruction can be a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message, which is used to indicate that the OLT PON port and/or the downlink PON port expects the uplink The fifth access mode to which the PON port and/or the ONU PON port switches.
- PLOAM Physical Layer Operations, Administration and Maintenance
- OMCI ONU Management and Control Interface
- the method further includes: parsing the target signaling through the upstream PON port and/or the ONU PON port to obtain the fifth access mode; determining the sixth access mode currently adopted by the upstream PON port and/or the ONU PON port; when it is determined that the upstream PON port and/or the ONU PON port support the fifth access mode, switching the sixth access mode to the fifth access mode; when it is determined that the upstream PON port and/or the ONU PON port do not support the fifth access mode, sending feedback signaling to the OLT PON port and/or the downstream PON port through the upstream PON port and/or the ONU PON port, wherein the feedback signaling includes: the feedback signaling carries multiple access modes supported by the upstream PON port and/or the ONU PON port and the sixth access mode.
- the upstream PON port and/or ONU PON port when the upstream PON port and/or ONU PON port receives a mode switching instruction, it parses the mode switching instruction, and then obtains the access mode that the OLT PON port and/or downstream PON port is expected to switch to as indicated by the mode switching instruction, that is, the fifth access mode.
- the upstream PON port and/or ONU PON port also needs to determine the sixth access mode currently adopted by itself. Then 1) when it is determined that the optical module used by the upstream PON port and/or ONU PON port is a multi-mode optical module and also supports the fifth access mode, the sixth access mode is switched to the fifth access mode.
- the optical module used by the upstream PON port and/or ONU PON port is a single-mode optical module
- feedback notification signaling is sent, and the feedback notification signaling carries the sixth access mode supported by the upstream PON port and/or ONU PON port.
- the OLT and/or the downlink port can decide whether to switch to the fifth access mode currently adopted by itself according to the received feedback notification signaling, or inform the target object that the optical module adopted by the uplink PON port and/or the ONU PON port is a single-mode optical module.
- the uplink PON port and/or the ONU PON port sends feedback signaling to the OLT PON port and/or the downlink PON port, and the feedback signaling includes all access modes (i.e., capability sets) supported by the uplink PON port and/or the ONU PON port and the sixth access mode currently adopted.
- the capability set of the upstream PON port and/or the ONU PON port can be parsed from the feedback signaling, and then the seventh access mode to which the upstream PON port and/or the ONU PON port can be switched can be determined from the capability set; based on the seventh access mode, a mode switching instruction is sent to the upstream PON port and/or the ONU PON port, so that the upstream PON port and/or the ONU PON port switches the sixth access mode to the seventh access mode.
- the OLT and/or MFU sends a mode switching instruction to the MFU and/or SFU to instruct the MFU and/or SFU to switch the access mode, and can request the MFU and/or SFU to report its own capability set.
- the MFU and/or SFU can switch the currently used access mode based on the mode switching instruction, the access mode is switched, and the access mode currently used by the MFU and/or SFU, the capability set of the MFU and/or SFU, and the access mode that the MFU and/or SFU can switch to indicated by the mode switching instruction are fed back to the OLT and/or MFU; if the optical module accessed by the MFU and/or SFU does not support the access mode to be switched to indicated by the mode switching instruction, the MFU and/or SFU sends feedback signaling to the OLT and/or MFU, and the feedback signaling includes the capability set of the MFU and/or SFU and the currently used access mode.
- SFU Single Family Unit
- MFU Multi-family User Unit Multi Family Unit
- the mode switching instruction can be a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message
- the feedback signaling and feedback notification signaling can also be a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message.
- determining a first access mode adopted by an upstream passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and determining a second access mode adopted by an optical network terminal OLT PON port and/or a downstream PON port of the main gateway includes: determining a first optical module accessed by the upstream PON port of the main gateway and/or the ONU PON port, and determining a second optical module accessed by the OLT PON port and/or the downstream PON port, wherein the access modes supported by the first optical module include the first access mode, and the access modes supported by the second optical module include the second access mode; determining that the upstream PON port and/or the ONU PON port adopt the first access mode according to the first optical module, and determining that the OLT PON port and/or the downstream PON port adopt the second access mode according to the second optical module.
- all access modes supported by the first optical module connected to the upstream PON port and/or the ONU PON port include the first access mode currently adopted by the upstream PON port and/or the ONU PON port
- all access modes supported by the second optical module connected to the OLT PON port and/or the downstream PON port include the second access mode currently adopted by the OLT PON port and/or the downstream PON port.
- the first access mode and the second access mode can be determined according to the first optical module and the second optical module.
- the current access mode can be directly determined according to the access mode supported by the single-mode optical module.
- the hardware layer needs to be able to identify the access modes supported by the upstream PON port and/or the ONU PON port, and the optical modules connected to the OLT PON port and/or the downstream PON port, and notify the software layer.
- An optional embodiment of the present disclosure provides a method for switching the access mode of the FTTR system, which is divided into two methods, passive and active.
- the upper and lower PON ports of the main gateway implement PON port mode switching according to methods such as optical module bands and registration phase message content matching;
- the active switching method the PON port mode switching process is triggered by external instructions, and then the collection of upper and lower PON port capability set reporting and PON port switching according to the PON mode of the upper and lower devices are implemented through PLOAM or OMCI message interaction, so as to realize the FTTR main gateway's wide compatibility with existing PON standards and scalability for future evolution.
- the present disclosure provides the following solutions according to the embodiments, specifically including:
- Passive switching method During the registration and authentication phase, the passive mode switching method is used between the OLT and the uplink PON port of the main gateway, and between the downlink PON port of the main gateway and the ONU.
- the uplink PON port is connected to an XGPON single-mode optical module and the downlink PON port is connected to an XGPON/GPON combined optical module, the software layer master gateway is notified to register in XGPON mode and the slave gateway is registered in XGPON or GPON mode;
- the uplink PON port is connected to an XGPON/GPON multi-mode optical module and the downlink PON port is connected to an EPON optical module,
- the software layer master gateway is registered in XGPON or GPON mode, and the slave gateway is registered in EPON mode;
- the software layer is notified to register the master gateway in EPON mode and the slave gateway in XGPON or GPON mode;
- the FTTR equipment needs to preliminarily identify the working bands of the OLT PON port, the upper and lower PON ports of the main gateway, and the ONU PON port in turn after power-on.
- the master gateway registration process is stopped and the staff is notified that the master gateway and OLT modes do not match;
- the slave gateway registration process is stopped and the staff is notified that the master gateway and slave gateway modes do not match; since current ONU chips generally support all modes, when the optical module only supports one mode, the number of ONU mode switching times can be significantly reduced by preliminarily identifying the working bands of the OLT PON port, the upper and lower PON ports of the main gateway, and the ONU PON port.
- the OLT PON port and the main gateway uplink PON port have the same band and are both multi-mode optical modules
- the downlink PON port and ONU PON have the same band and are both multi-mode optical modules (such as EPON and GPON share the Up 1310nm Down 1490nm band)
- the optical module is single-mode or multi-mode, it needs to be identified based on the registration authentication message.
- OLT usually performs interactive authentication on the newly connected master gateway in the form of PLOAM or MPCP messages
- the master gateway usually also performs interactive authentication on the newly connected slave gateway in the form of PLOAM or MPCP messages. Due to the differences in the definitions of PLOAM or MPCP messages (defined as "registration information" in this disclosure) in different PON technical standards, this difference can be used to identify the current access mode.
- registration information of different PON access technologies is shown in Table 2 below:
- the master gateway/slave gateway After the preliminary identification and matching of the above optical module band information and capability set, the master gateway/slave gateway further determines whether the received registration information matches the currently initialized PON mode. If it matches, the registration process continues; if it does not match, it switches to the PON mode that matches the registration information and re-initiates the registration process.
- the initialization mode of the main gateway uplink port after power-on is EPON
- the initialization mode of the slave gateway after power-on is EPON. If the initialization mode of the main gateway uplink port after power-on is EPON, and no Discovery Gate message is detected after initialization, switch the working mode of the main gateway uplink port to GPON, re-initiate the registration process, receive the Upstream Overhead message sent by the OLT, and continue the registration process.
- the main gateway uplink port receives the Upstream Overhead message sent by the OLT after initialization, and continues the registration process; if the initialization mode of the main gateway downlink port is GPON after power-on, and the slave gateway PON port is initialized but no Upstream Overhead message sent by the main gateway downlink port is detected, the working mode of the main gateway downlink port is switched to EPON, and the registration process is reinitiated. After initialization is completed again, the Discovery Gate message is detected and the registration process continues.
- the OLT access mode is GPON
- the initialization mode of the main gateway uplink port after power-on is GPON
- the initialization mode of the slave gateway after power-on is EPON
- the main gateway uplink port is initialized, it receives the Upstream Overhead message sent by the OLT to continue the registration process; if the initialization mode of the main gateway downlink port is GPON after power-on, and the slave gateway cannot detect the Discovery Gate message sent by the main gateway after initialization, the slave gateway working mode is switched to GPON, and the registration process is re-initiated; after the initialization is completed again, the Upstream Overhead message is detected and the registration process continues.
- Active switching method After registration and going online, the active mode switching method between the OLT and the uplink PON port of the main gateway, the downlink PON port of the main gateway and the ONU.
- the OLT and the downstream PON port of the main gateway need to obtain the capability set of the upstream PON port of the main gateway and the PON port of the slave gateway.
- the capability set can be obtained by sending a message (equivalent to the mode switching instruction in the above embodiment) to the upstream PON port of the main gateway and the PON port of the slave gateway.
- the mode switching instruction indicates the access mode that the uplink PON port of the main gateway and the downlink PON port of the main gateway should switch to. If the uplink PON port of the main gateway and the downlink PON port of the main gateway can switch to the access mode indicated by the mode switching instruction, then there is no need to feed back their own capabilities to the OLT and the downlink PON port of the main gateway.
- the message (equivalent to the mode switching instruction in the above embodiment) is defined as shown in Table 3, Table 4 and Table 5 below:
- Table 3-5 shows the formats of the messages for obtaining the capability sets of the uplink PON port of the master gateway and the PON port of the slave gateway in different standards.
- the master gateway upstream PON port and the slave gateway PON port need to report their own capability set to the upper-level PON port.
- the reporting message (equivalent to the feedback signaling in the above embodiment) is defined as shown in Table 6, Table 7, and Table 8 below:
- Table 6-8 is a feedback message that the master gateway uplink PON port and the slave gateway PON port need to report their own capability set to the upper PON port after receiving the above-defined message (equivalent to the feedback message in the above embodiment). Signaling) in different standards.
- the above PLOAM message can complete the functions of reporting the PON port capability set and transmitting the PON port mode switching instruction.
- the above functions can also be implemented through OMCI messages.
- the message format is defined as shown in Table 9 below:
- the above ONU mode processing method is applicable to most of the current PON systems, including GPON, EPON, XGPON, XGSPON, XEPON asymmetric, XEPON symmetric, NGPON2 and future 50G PON and 200G PON systems.
- FIG6 is a flow chart (II) of a method for switching access modes according to an embodiment of the present disclosure, which shows a flow chart of passive mode matching between an OLT and an uplink PON port of a main gateway, a downlink PON port of a main gateway and an ONU in the registration and authentication phase of the present disclosure, as shown in FIG6 :
- S601 The main gateway uplink port initializes the PON MAC mode
- step S602 The uplink port of the main gateway determines whether the wavelength matches. If so, the process proceeds to step S603; if not, the process proceeds to step S604;
- step S603 Determine whether the received registration information matches the PON mode of the uplink port of the primary gateway, if so, proceed to step S605, if not, proceed to step S604;
- S605 Complete the registration of the uplink PON port, and initialize the PON MAC mode of the downlink port of the main gateway;
- step S606 The downlink port of the main gateway determines whether the wavelength matches, if so, proceeds to step S607, if not, proceeds to step S608;
- step S607 The ONU determines whether the registration information is received. If so, the process proceeds to step S609; if not, the process proceeds to step S608;
- FIG7 is a flow chart (III) of the access mode switching method according to an embodiment of the present disclosure, which shows the process of active mode matching between the OLT and the uplink PON port of the main gateway, the downlink PON port of the main gateway and the ONU after registration and going online, as shown in FIG7:
- S701 Initiate a mode switching process on the OLT side through network management ⁇ APP ⁇ WEB ⁇ NFC and other methods;
- OLT sends a PLOAM or OMCI message to request the master gateway and slave gateway PON port capability set;
- S703 The slave gateway and the master gateway report the capability set in turn through PLOAM or OMCI messages.
- OLT sends a PLOAM or OMCI message, and the master gateway and slave gateway parse the message and switch to the corresponding PON port mode;
- both the request capability set and the mode switching instruction are sent by the OLT through a PLOAM or OMCI message, based on the above steps: the OLT can simultaneously request the capability set and the access mode switching by sending a PLOAM or OMCI message. If the master gateway and the ONU (equivalent to the slave gateway) can perform the access mode switching, it is not necessary to report the capability set, otherwise, it is necessary to report its own capability set, so that the OLT can send the PLOAM or OMCI message again based on the reported capability set, so that the master gateway and the slave gateway can parse the message and switch the corresponding PON port mode.
- the present invention realizes the switching of FTTR uplink and downlink PON port modes through active and passive methods; improves the compatibility of FTTR system with existing PON equipment and the extensibility of future evolution standards, reduces the equipment procurement and maintenance costs of operators, and improves the resource utilization efficiency of existing communication equipment. It is suitable for home or enterprise networking applications of FTTR system, and may be combined with 100G PON or 200G PON technology in the future to provide wider bandwidth and better user experience.
- a switching device for access mode is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated.
- the term "module” can implement a combination of software and/or hardware for a predetermined function.
- the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
- FIG8 is a structural block diagram of a switching device for access mode according to an embodiment of the present disclosure. As shown in FIG8 , the switching device for access mode includes:
- a determination module 82 is configured to determine a first access mode adopted by an uplink passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and to determine a second access mode adopted by an optical network terminal OLT PON port and/or a downlink PON port of the main gateway;
- the switching module 84 is configured to switch the first access mode to the second access mode when it is determined that the first access mode and the second access mode are inconsistent.
- the first access mode is switched to the second access mode.
- the first access mode adopted by the uplink PON port and the second access mode adopted by the OLT PON port are consistent, if they are inconsistent, the first access mode adopted by the uplink PON port is switched to the second access mode adopted by the OLT PON port; and by determining whether the first access mode adopted by the ONU PON port and the second access mode adopted by the downlink PON port are consistent, if they are inconsistent, the first access mode adopted by the ONU PON port is switched to the second access mode adopted by the downlink PON port.
- the determination module 82 is further configured to determine the second access mode according to the registration information when the upstream PON port and/or the ONU PON port receives the registration information sent by the OLT PON port and/or the downstream PON port.
- OLT usually performs interactive authentication on the newly connected master gateway in the form of PLOAM or MPCP messages
- the master gateway usually also performs interactive authentication on the newly connected slave gateway (which can be equivalent to the ONU in the above embodiment) in the form of PLOAM or MPCP messages
- the PLOAM or MPCP message can be the registration information. Due to the differences in the definition of PLOAM or MPCP messages in different PON technical standards. Therefore, the second access mode currently adopted by the OLT PON port and/or the downlink PON port can be determined based on the registration information sent by the OLT PON port and/or the downlink PON port of the master gateway to the uplink PON port and/or the ONU PON port.
- PLOAM physical layer operations, administration and maintenance
- MPCP multi-point control protocol
- the OLT, the main gateway uplink port, the downlink port, and the ONU all support the GPON/EPON working modes.
- the registration information in the form of PLOAM or MPCP message corresponding to GPON is Upstream Overhead PLOAM message
- the registration information corresponding to GPON is simply determined as Upstream Overhead
- the registration information corresponding to EPON is determined as Discovery Gate.
- the second access mode adopted by the OLT is GPON and the first access mode adopted by the main gateway upstream port after power-on initialization is EPON, then: the second access mode is GPON, and the registration information that the OLT PON port should send to the upstream PON port is Upstream Overhead, and then the upstream PON port can determine that the second access mode adopted by the OLT PON port is GPON based on the registration information Upstream Overhead. Since the first access mode adopted by the upstream PON port is EPON after initialization, the first access mode does not match the second access mode, and it is necessary to switch the first access mode to the second access mode and re-initiate the registration process.
- the registration information sent by the downstream port of the main gateway to the ONU PON port is Upstream Overhead
- the ONU PON port determines that the second access mode adopted by the downstream PON port of the main gateway is GPON based on the received Upstream Overhead registration information, which does not match the first access mode adopted by the ONU PON port, and then the EPON adopted by the ONU PON port can be switched to the GPON mode corresponding to the second access mode, and the registration process can be re-initiated.
- the mode switching operation is generally performed on the uplink PON port; and in the process of interaction between the downlink PON port and the ONU PON port, you can choose to switch the access mode adopted by the ONU PON port, or you can choose to switch the access mode adopted by the downlink PON port, that is, in the above example 2), you can also choose to switch the second access mode GPON adopted by the downlink PON port to the first access mode EPON adopted by the ONU PON port. It is noted that, if the optical module supports it, the uplink PON port and the downlink PON port of the main gateway can adopt different access modes without interfering with each other. It is also necessary to note that the above scheme of switching modes according to registration information is generally applicable to the case where the optical module is a multi-mode optical module.
- the determination module 82 is also configured to determine a first working band corresponding to the first access mode, and to determine a second working band corresponding to the second access mode; when the first working band and the second working band are inconsistent, it is determined that the first access mode and the second access mode are inconsistent.
- the working bands corresponding to different access modes may be different. Therefore, it is possible to determine whether the first access mode and the second access mode are the same access mode by determining whether the working bands corresponding to the first access mode and the second access mode are the same. If the first working band and the second working band are the same, then the first access mode and the second access mode may be the same, but further determination is required. However, if the first working band and the second working band are different, then the first access mode and the second access mode must be different, and the corresponding PON port mode switching can be performed directly.
- the corresponding first working band is: upstream wavelength 1310nm, downstream wavelength 1490nm
- the second access mode is XEPON asymmetric
- the corresponding working band is: upstream wavelength 1270nm, downstream wavelength 1577nm. It can be determined that the first working band and the second working band are inconsistent. Therefore, the first access mode and the second access mode must be inconsistent, and a switching operation is required.
- the device also includes a prompt module, which is configured to determine a first optical module corresponding to the first access mode and a second optical module corresponding to the second access mode when the first working band and the second working band are inconsistent; when the module types of the first optical module and the second optical module are both single-mode optical modules, send a prompt message to the target object, wherein the prompt message is used to prompt that the module type of the first optical module or the module type of the second optical module is incorrectly selected.
- a prompt module which is configured to determine a first optical module corresponding to the first access mode and a second optical module corresponding to the second access mode when the first working band and the second working band are inconsistent; when the module types of the first optical module and the second optical module are both single-mode optical modules, send a prompt message to the target object, wherein the prompt message is used to prompt that the module type of the first optical module or the module type of the second optical module is incorrectly selected.
- the mode switching operation cannot be performed because the single-mode optical module only supports one access mode. You can choose to send a prompt message to the target object to prompt that the optical module type selection is wrong.
- the target object is generally a staff member who can perform optical module replacement operations, or it can be a user.
- the prompt information can indicate which specific PON port optical module needs to be replaced, and provide optional replacement solutions, such as: indicating that the optical module of the upstream PON port needs to be switched, and providing the type of optical module to be switched to, or providing the access mode to which the upstream PON port needs to be switched, and then instructing the target object to replace the optical module originally connected to the upstream PON port according to the optical module type, or the optical module type determined by the access mode to be switched to.
- the switching module 84 is also configured to determine, when the first working band and the second working band are inconsistent, a first optical module corresponding to the first access mode and a second optical module corresponding to the second access mode; when one of the first optical module and the second optical module is a multi-mode optical module and the other optical module is a single-mode optical module, determine a third access mode adopted by the target PON port corresponding to the multi-mode optical module, and determine a fourth access mode of the single-mode optical module; and switch the third access mode corresponding to the target PON port to the fourth access mode.
- the switching module 84 is further configured to obtain the multiple interfaces supported by the multi-mode optical module. access mode; when it is determined that the plurality of access modes include the fourth access mode, the third access mode adopted by the target PON port is switched to the fourth access mode.
- the third access mode currently adopted by the target PON port using the multi-mode optical module and the fourth access mode adopted by the PON port using the single-mode optical module are further determined; when the multi-mode optical module supports the fourth access mode, the third access mode currently adopted by the target PON port is switched to the fourth access mode.
- the condition may be set as follows: switching the access mode between the ONU PON port and the downstream PON port of the main gateway to unify the access modes adopted by the ONU PON port and the downstream PON port of the main gateway, wherein the ONU PON port adopts a single-mode optical module supporting the GPON access mode, and the downstream PON port adopts a multi-mode optical module supporting the XGPON/GPON access mode, then:
- the working bands of GPON are 1310nm for upstream wavelength and 1490nm for downstream wavelength, and 1270nm for upstream wavelength and 1577nm for downstream wavelength, the working bands of the access modes adopted by the ONU PON port and the downstream PON port are inconsistent, and thus the first access mode and the second access mode are inconsistent.
- the XGPON/GPON optical module is a multi-mode optical module
- the downstream PON port is the target PON port
- the XGPON adopted by the downstream PON port is determined as the third access mode
- the GPON adopted by the ONU PON port is the fourth access mode. Since the multi-mode optical module XGPON/GPON optical module adopted by the downstream PON port also supports the fourth access mode GPON, the third access mode is switched to the fourth access mode.
- the device also includes a sending module, which is configured to send target signaling to the upstream PON port and/or the ONU PON port when it is detected that the OLT PON port and/or the downstream PON port receives a mode switching instruction, wherein the target signaling includes: a physical layer operation administration and maintenance PLOAM message, or an ONU management and control interface OMCI message; the target signaling carries a fifth access mode to which the OLT PON port and/or the downstream PON port expects to switch.
- a sending module which is configured to send target signaling to the upstream PON port and/or the ONU PON port when it is detected that the OLT PON port and/or the downstream PON port receives a mode switching instruction, wherein the target signaling includes: a physical layer operation administration and maintenance PLOAM message, or an ONU management and control interface OMCI message; the target signaling carries a fifth access mode to which the OLT PON port and/or the downstream PON port expects to switch.
- the mode switch can be actively initiated through a mobile phone APP, network management, NFC or web page.
- the mode switching instruction can be sent to the OLT PON port and/or the downstream PON port.
- the mode switching instruction can be a physical layer operation, administration and maintenance PLOAM message, or an ONU management and control interface OMCI message, which is used to indicate that the OLT PON port and/or the downstream PON port expects the upstream PON port and/or the ONU PON port to switch to the fifth access mode.
- PLOAM Physical Layer Operations, Administration and Maintenance
- OMCI ONU Management and Control Interface
- the switching module 84 is further configured to parse the target signaling through the upstream PON port and/or the ONU PON port to obtain the fifth access mode; determine the sixth access mode currently adopted by the upstream PON port and/or the ONU PON port; when it is determined that the upstream PON port and/or the ONU PON port support the fifth access mode, switch the sixth access mode to the fifth access mode; when it is determined that the upstream PON port and/or the ONU PON port do not support the fifth access mode, send feedback signaling to the OLT PON port and/or the downstream PON port through the upstream PON port and/or the ONU PON port, wherein the feedback signaling includes: the feedback signaling carries multiple access modes supported by the upstream PON port and/or the ONU PON port and the sixth access mode.
- the upstream PON port and/or ONU PON port when the upstream PON port and/or ONU PON port receives a mode switching instruction, it parses the mode switching instruction, and then obtains the access mode that the OLT PON port and/or downstream PON port is expected to switch to as indicated by the mode switching instruction, that is, the fifth access mode.
- the upstream PON port and/or ONU PON port also needs to determine the sixth access mode currently adopted by itself. Then 1) when it is determined that the optical module used by the upstream PON port and/or ONU PON port is a multi-mode optical module and also supports the fifth access mode, the sixth access mode is switched to the fifth access mode.
- the optical module used by the upstream PON port and/or ONU PON port is a single-mode optical module
- feedback notification signaling is sent, and the feedback notification signaling carries the sixth access mode supported by the upstream PON port and/or ONU PON port.
- the OLT and/or the downlink port can decide whether to switch to the fifth access mode currently adopted by itself according to the received feedback notification signaling, or inform the target object that the optical module adopted by the uplink PON port and/or the ONU PON port is a single-mode optical module.
- the uplink PON port and/or the ONU PON port sends feedback signaling to the OLT PON port and/or the downlink PON port, and the feedback signaling includes all access modes (i.e., capability sets) supported by the uplink PON port and/or the ONU PON port and the sixth access mode currently adopted.
- the capability set of the upstream PON port and/or the ONU PON port can be parsed from the feedback signaling, and then the seventh access mode to which the upstream PON port and/or the ONU PON port can be switched can be determined from the capability set; based on the seventh access mode, a mode switching instruction is sent to the upstream PON port and/or the ONU PON port, so that the upstream PON port and/or the ONU PON port switches the sixth access mode to the seventh access mode.
- the OLT and/or MFU sends a mode switching instruction to the MFU and/or SFU to instruct the MFU and/or SFU to switch the access mode, and can request the MFU and/or SFU to report its own capability set.
- the MFU and/or SFU can switch the currently used access mode based on the mode switching instruction, the access mode is switched, and the access mode currently used by the MFU and/or SFU, the capability set of the MFU and/or SFU, and the access mode that the MFU and/or SFU can switch to indicated by the mode switching instruction are fed back to the OLT and/or MFU; if the optical module accessed by the MFU and/or SFU does not support the access mode to be switched to indicated by the mode switching instruction, the MFU and/or SFU sends feedback signaling to the OLT and/or MFU, and the feedback signaling includes the capability set of the MFU and/or SFU and the currently used access mode.
- the mode switching instruction can be a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message
- the feedback signaling and feedback notification signaling can also be a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message.
- the determination module 82 is further configured to determine the first optical module to which the upstream PON port of the main gateway and/or the ONU PON port is connected, and to determine the second optical module to which the OLT PON port and/or the downstream PON port is connected, wherein the access modes supported by the first optical module include the first access mode, and the access modes supported by the second optical module include the second access mode; it is determined that the upstream PON port and/or the ONU PON port adopts the first access mode according to the first optical module, and it is determined that the OLT PON port and/or the downstream PON port adopts the second access mode according to the second optical module.
- all access modes supported by the first optical module accessed by the uplink PON port and/or the ONU PON port include the first access mode currently adopted by the uplink PON port and/or the ONU PON port
- all access modes supported by the second optical module accessed by the OLT PON port and/or the downlink PON port include the second access mode currently adopted by the OLT PON port and/or the downlink PON port.
- the first access mode and the second access mode can then be determined based on the first optical module and the second optical module.
- the current access mode can be directly determined based on the access mode supported by the single-mode optical module.
- the hardware layer needs to be able to identify the access modes supported by the optical modules accessed by the uplink PON port and/or the ONU PON port, and the OLT PON port and/or the downlink PON port, and notify the software layer.
- the method according to the above embodiment 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.
- 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 readable storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present disclosure.
- a readable storage medium such as ROM/RAM, a disk, or an optical disk
- the above-mentioned computer-readable storage medium may include, but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
- An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
- the processor may be configured to perform the following steps through a computer program:
- the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
- the above-mentioned electronic device can also be configured to execute the above-mentioned step S1 through a computer program, determine the first access mode adopted by the uplink passive optical fiber network PON port and/or the optical network unit ONU PON port of the main gateway, and determine the second access mode adopted by the optical network terminal OLT PON port and/or the downlink PON port of the main gateway; S2, when it is determined that the first access mode and the second access mode are inconsistent, switch the first access mode to the second access mode.
- modules or steps of the present disclosure described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by program codes executable by the computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than herein, or They are made into individual integrated circuit modules respectively, or multiple modules or steps therein are made into a single integrated circuit module for implementation.
- the present disclosure is not limited to any specific combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Small-Scale Networks (AREA)
- Optical Communication System (AREA)
Abstract
Description
本公开要求于2023年05月08日提交中国专利局、申请号为:202310516635.6、发明名称“接入模式的切换方法、装置、存储介质及电子装置”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of the Chinese patent application filed with the China Patent Office on May 8, 2023, with application number: 202310516635.6, and invention name “Access mode switching method, device, storage medium and electronic device”, all contents of which are incorporated by reference in this disclosure.
本公开涉及通信领域,具体而言,涉及一种接入模式的切换方法、装置、存储介质及电子装置。The present disclosure relates to the field of communications, and in particular, to a method, device, storage medium and electronic device for switching an access mode.
在无源光网络系统中,无源光网络设备根据工作机制不同可以划分为以下几种模式:基于以太网的无源光网络设备(Ethernet Passive Optical Network,简称为EPON)、基于10G以太网的无源光网络设备(10G Ethernet Passive Optical Network,简称为10G EPON)、千兆无源光网络设备(Gigabit-capable Passive Optical Network,简称为GPON)、10G无源光网络设备(10-Gigabit-capable Passive Optical Networks,简称为XGPON)、10G对称无源光网络设备(10-Gigabit-capable Symmetric Passive Optical Networks,简称为XGSPON)、40G无源光网络设备(40-Gigabit-capable Passive Optical Networks,简称为NGPON2)以及目前正在研究的50G无源光网络设备(50-Gigabit-capable Passive Optical Network,简称为50G PON)和200G下一代高密度点对多点无源光网络(200Gigabit-capable Virtualized Hybrid Service Provider,简称为200G PON(VHSP))等。这些无源光网络系统架构一般都包含光网络终端(Optical Line Terminal,简称为OLT),光分配网络(Optical Distribution Network)和光网络单元(Optical Network Unit,简称为ONU)。随着光网络的不断发展,光纤到户(Fiber to the Home,简称为FTTH)已经全面铺开,其终端产品ONU也得到了广泛应用。但传统组网方案由于网线传输速率受限和建筑承重墙对Wi-Fi信号的削弱,信号质量和网速衰减严重,无法实现全屋的高速Wi-Fi网络覆盖。而FTTR组网方案采用单个主网关匹配一个或多个从网关的模式,主从网关使用光纤连接,数据传输和抗干扰能力更强、寿命更长,实现真正的全屋高速Wi-Fi无盲区覆盖。In the passive optical network system, passive optical network equipment can be divided into the following modes according to different working mechanisms: Ethernet-based passive optical network equipment (Ethernet Passive Optical Network, referred to as EPON), 10G Ethernet-based passive optical network equipment (10G Ethernet Passive Optical Network, referred to as 10G EPON), Gigabit passive optical network equipment (Gigabit-capable Passive Optical Network, referred to as GPON), 10G passive optical network equipment (10-Gigabit-capable Passive Optical Networks, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as XGPON), 10G symmetric passive optical network equipment (10G symmetric passive optical network, referred to as ... 0-Gigabit-capable Symmetric Passive Optical Networks, abbreviated as XGSPON), 40G passive optical network equipment (40-Gigabit-capable Passive Optical Networks, abbreviated as NGPON2), and 50G passive optical network equipment (50-Gigabit-capable Passive Optical Network, abbreviated as 50G PON) and 200G next generation high-density point-to-multipoint passive optical network (200Gigabit-capable Virtualized Hybrid Service Provider, abbreviated as 200G PON (VHSP)) which are being researched at the moment. These passive optical network system architectures generally include Optical Line Terminal, abbreviated as OLT), Optical Distribution Network and Optical Network Unit (ONU). With the continuous development of optical networks, fiber to the home (FTTH) has been fully rolled out, and its terminal product ONU has also been widely used. However, due to the limited transmission rate of network cables and the weakening of Wi-Fi signals by building load-bearing walls, the signal quality and network speed of traditional networking solutions are seriously attenuated, and it is impossible to achieve high-speed Wi-Fi network coverage throughout the house. The FTTR networking solution adopts a mode in which a single master gateway matches one or more slave gateways. The master and slave gateways are connected by optical fiber, which has stronger data transmission and anti-interference capabilities and longer life, achieving true high-speed Wi-Fi coverage without blind spots throughout the house.
无源光网络系统中,不同模式的无源光纤网络(Passive Optical Network,简称为PON)接入技术上下行波长和速率不太一样,具体区别如下表1所示:In the passive optical network system, the upstream and downstream wavelengths and rates of different modes of passive optical network (PON) access technology are different. The specific differences are shown in Table 1 below:
表1
Table 1
示例性的,图1为不同模式的PON接入技术波长示意图。Exemplarily, FIG1 is a schematic diagram of wavelengths of PON access technologies in different modes.
如图1所示,GPON和EPON ONU工作在上行1310nm,下行1490nm波段;XEPON(对称和非对称)、XGPON和XGSPON ONU工作在上行1270nm,下行1577nm波段;NGPON2ONU工作在上行1532.68~1538.19nm,下行1596.34~1602.31nm波段(上下行最多8个波段);50G PON工作在上行λ1nm,下行β1nm波段;200G PON工作在上行λ2nm,下行β2nm波段。As shown in Figure 1, GPON and EPON ONUs operate in the upstream 1310nm and downstream 1490nm bands; XEPON (symmetric and asymmetric), XGPON and XGSPON ONUs operate in the upstream 1270nm and downstream 1577nm bands; NGPON2ONUs operate in the upstream 1532.68~1538.19nm and downstream 1596.34~1602.31nm bands (up to 8 bands for upstream and downstream); 50G PON operates in the upstream λ 1 nm and downstream β 1 nm bands; 200G PON operates in the upstream λ 2 nm and downstream β 2 nm bands.
FTTR完成组网的主网关设备成本较高,现有的相关技术中并没有提供FTTR主网关和从网关广泛兼容现网中运行着的多种PON模式并实现多种PON模式的自动或者主动切换的有效方案。The cost of the main gateway equipment for FTTR to complete the networking is relatively high. The existing related technologies do not provide an effective solution for the FTTR main gateway and slave gateway to be widely compatible with multiple PON modes running in the existing network and to achieve automatic or active switching of multiple PON modes.
针对相关技术中,在FTTR实际应用中,FTTR主网关和从网关无法实现多种PON模式的切换的问题,目前尚未提出有效的解决方案。In the related art, in actual FTTR applications, the FTTR master gateway and the slave gateway cannot implement the switching of multiple PON modes, and no effective solution has been proposed yet.
因此,有必要对相关技术予以改良以克服相关技术中的所述缺陷。Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology.
发明内容Summary of the invention
本公开实施例提供了一种接入模式的切换方法、装置、存储介质及电子装置,以至少解决相关技术中,FTTR主网关和从网关无法实现多种PON模式的切换的问题。The embodiments of the present disclosure provide a method, device, storage medium and electronic device for switching an access mode, so as to at least solve the problem in the related art that the FTTR master gateway and slave gateway cannot realize the switching of multiple PON modes.
根据本公开实施例的一方面,提供一种接入模式的切换方法,包括:确定主网关的上联无源光纤网络PON口和/或光网络单元ONU PON口采用的第一接入模式,以及确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式;在确定所述第一接入模式和所述第二接入模式不一致的情况下,将所述第一接入模式切换为所述第二接入模式。According to one aspect of an embodiment of the present disclosure, there is provided a method for switching an access mode, comprising: determining a first access mode adopted by an uplink passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and determining a second access mode adopted by an optical network terminal OLT PON port and/or a downlink PON port of the main gateway; when it is determined that the first access mode and the second access mode are inconsistent, switching the first access mode to the second access mode.
根据本公开实施例的又一方面,还提供了一种接入模式的切换装置,包括:确定模块,设置为确定主网关的上联无源光纤网络PON口和/或光网络单元ONU PON口采用的第一接入模式,以及确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式;切换模块,设置为在确定所述第一接入模式和所述第二接入模式不一致的情况下,将所述第一接入模式切换为所述第二接入模式。 According to another aspect of the embodiment of the present disclosure, there is also provided an access mode switching device, including: a determination module, configured to determine a first access mode adopted by an uplink passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and to determine a second access mode adopted by an optical network terminal OLT PON port and/or a downlink PON port of the main gateway; a switching module, configured to switch the first access mode to the second access mode when it is determined that the first access mode and the second access mode are inconsistent.
根据本公开实施例的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述接入模式的切换方法。According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned access mode switching method when running.
根据本公开实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述接入模式的切换方法。According to another aspect of an embodiment of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the access mode switching method through the computer program.
通过本公开,在确定主网关的上联无源光纤网络PON口和/或光网络单元ONU PON口采用的第一接入模式,以及确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式的情况下;进一步确定所述第一接入模式和所述第二接入模式是否一致,在确定所述第一接入模式和所述第二接入模式不一致的情况下,将所述第一接入模式切换为所述第二接入模式。也就是说,通过确定所述上联PON口采用的第一接入模式和所述OLT PON口采用的第二接入模式是否一致,在不一致的情况下,将所述上联PON口采用的第一接入模式切换为所述OLT PON口采用的第二接入模式;以及通过确定所述ONU PON口采用的第一接入模式和所述下联PON口采用的第二接入模式是否一致,在不一致的情况下,将所述ONU PON口采用的第一接入模式切换为所述下联PON口采用的第二接入模式;解决了相关技术中,FTTR主网关和从网关无法实现多种PON模式的切换的技术问题。Through the present disclosure, when the first access mode adopted by the uplink passive optical fiber network PON port and/or the optical network unit ONU PON port of the main gateway is determined, and when the second access mode adopted by the optical network terminal OLT PON port and/or the downlink PON port of the main gateway is determined; it is further determined whether the first access mode and the second access mode are consistent, and when it is determined that the first access mode and the second access mode are inconsistent, the first access mode is switched to the second access mode. That is to say, by determining whether the first access mode adopted by the uplink PON port and the second access mode adopted by the OLT PON port are consistent, if they are inconsistent, the first access mode adopted by the uplink PON port is switched to the second access mode adopted by the OLT PON port; and by determining whether the first access mode adopted by the ONU PON port and the second access mode adopted by the downlink PON port are consistent, if they are inconsistent, the first access mode adopted by the ONU PON port is switched to the second access mode adopted by the downlink PON port; the technical problem in the related art that the FTTR main gateway and the slave gateway cannot realize the switching of multiple PON modes is solved.
此处所说明的附图用来提供对本公开的进一步理解,构成本公开的一部分,本公开的示例性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure. In the drawings:
图1是相关技术中不同模式的PON接入技术波长示意图;FIG1 is a schematic diagram of wavelengths of PON access technologies of different modes in the related art;
图2是本公开实施例的接入模式的切换方法的计算机终端的硬件结构框图;2 is a hardware structure block diagram of a computer terminal of the access mode switching method according to an embodiment of the present disclosure;
图3是根据本公开实施例的接入模式的切换方法的流程图(一);FIG3 is a flow chart of a method for switching access modes according to an embodiment of the present disclosure (I);
图4是根据本公开实施例的接入模式的切换方法的主动切换示意图(一);FIG4 is a schematic diagram of active switching of the access mode switching method according to an embodiment of the present disclosure (I);
图5是根据本公开实施例的接入模式的切换方法的主动切换示意图(二);FIG5 is a schematic diagram of active switching of the access mode switching method according to an embodiment of the present disclosure (II);
图6是根据本公开实施例的接入模式的切换方法的流程图(二);FIG6 is a flow chart (II) of a method for switching an access mode according to an embodiment of the present disclosure;
图7是根据本公开实施例的接入模式的切换方法的流程图(三);FIG7 is a flow chart (III) of a method for switching an access mode according to an embodiment of the present disclosure;
图8是根据本公开实施例的接入模式的切换装置的结构框图。FIG8 is a structural block diagram of a device for switching access modes according to an embodiment of the present disclosure.
为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分的实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开保护的范围。In order to enable those skilled in the art to better understand the scheme of the present disclosure, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only 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 the field without creative work should fall within the scope of protection of the present disclosure.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二” 等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used interchangeably. The like are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
本公开实施例中所提供的方法实施例可以在计算机终端或者类似的运算装置中执行。以运行在计算机终端上为例,图2是本公开实施例的接入模式的切换方法的计算机终端的硬件结构框图。如图2所示,计算机终端可以包括一个或多个(图2中仅示出一个)处理器202(处理器202可以包括但不限于微处理器(Microprocessor Unit,简称是MPU)或可编程逻辑器件(Programmable logic device,简称是PLD))和设置为存储数据的存储器204,在一个示例性实施例中,上述计算机终端还可以包括设置为通信功能的传输设备206以及输入输出设备208。本领域普通技术人员可以理解,图2所示的结构仅为示意,其并不对上述计算机终端的结构造成限定。例如,计算机终端还可包括比图2中所示更多或者更少的组件,或者具有与图2所示等同功能或比图2所示功能更多的不同的配置。The method embodiments provided in the embodiments of the present disclosure can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, FIG2 is a hardware structure block diagram of a computer terminal of the access mode switching method of the embodiment of the present disclosure. As shown in FIG2, the computer terminal may include one or more (only one is shown in FIG2) processors 202 (the processor 202 may include but is not limited to a microprocessor (Microprocessor Unit, referred to as MPU) or a programmable logic device (Programmable logic device, referred to as PLD)) and a memory 204 configured to store data. In an exemplary embodiment, the above-mentioned computer terminal may also include a transmission device 206 and an input and output device 208 configured to have a communication function. It can be understood by those skilled in the art that the structure shown in FIG2 is only for illustration and does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include more or fewer components than those shown in FIG2, or have a different configuration with the same function as that shown in FIG2 or more functions than those shown in FIG2.
存储器204可设置为存储计算机程序,例如,应用软件的软件程序以及模块,如本公开实施例中的接入模式的切换方法对应的计算机程序,处理器202通过运行存储在存储器204内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器204可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器204可进一步包括相对于处理器202远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 204 may be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the access mode switching method in the embodiment of the present disclosure. The processor 202 executes various functional applications and data processing by running the computer program stored in the memory 204, that is, to implement the above method. The memory 204 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include a memory remotely arranged relative to the processor 202, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
传输设备206设置为经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端的通信供应商提供的无线网络。在一个实例中,传输设备206包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输设备206可以为射频(Radio Frequency,简称为RF)模块,其设置为通过无线方式与互联网进行通讯。The transmission device 206 is configured to receive or send data via a network. Specific examples of the above-mentioned network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 206 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 206 can be a radio frequency (Radio Frequency, referred to as RF) module, which is configured to communicate with the Internet wirelessly.
图3是根据本公开实施例的接入模式的切换方法的流程图(一),如图3所示,该方法的步骤包括:FIG3 is a flow chart (I) of a method for switching an access mode according to an embodiment of the present disclosure. As shown in FIG3 , the steps of the method include:
步骤S302,确定主网关的上联无源光纤网络PON口和/或光网络单元ONU PON口采用的第一接入模式,以及确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式。Step S302, determining a first access mode adopted by an uplink passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and determining a second access mode adopted by an optical network terminal OLT PON port and/or a downlink PON port of a main gateway.
需要说明的是,一般情况下,所述OLT PON口与所述上联PON口相对应,所述下联PON口和所述ONU PON口相对应,彼此对应的PON口之间进行如注册信息等的信息、指令交互,并进行接入模式的协调和切换,以使得所述OLT PON口与所述上联PON口采用的接入模式统一、所述下联PON口和所述ONU PON口采用的接入模式统一。 It should be noted that, generally, the OLT PON port corresponds to the uplink PON port, and the downlink PON port corresponds to the ONU PON port, and the corresponding PON ports interact with each other through information and instructions such as registration information, and coordinate and switch access modes, so that the access modes adopted by the OLT PON port and the uplink PON port are unified, and the access modes adopted by the downlink PON port and the ONU PON port are unified.
步骤S304,在确定所述第一接入模式和所述第二接入模式不一致的情况下,将所述第一接入模式切换为所述第二接入模式。Step S304: When it is determined that the first access mode and the second access mode are inconsistent, switch the first access mode to the second access mode.
本公开实施例通过上述步骤,在确定主网关的上联无源光纤网络PON口和/或光网络单元ONU PON口采用的第一接入模式,以及确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式的情况下;进一步确定所述第一接入模式和所述第二接入模式是否一致,在确定所述第一接入模式和所述第二接入模式不一致的情况下,将所述第一接入模式切换为所述第二接入模式。也就是说,通过确定所述上联PON口采用的第一接入模式和所述OLT PON口采用的第二接入模式是否一致,在不一致的情况下,将所述上联PON口采用的第一接入模式切换为所述OLT PON口采用的第二接入模式;以及通过确定所述ONU PON口采用的第一接入模式和所述下联PON口采用的第二接入模式是否一致,在不一致的情况下,将所述ONU PON口采用的第一接入模式切换为所述下联PON口采用的第二接入模式。采用上述技术方案,解决了相关技术中,FTTR主网关和从网关无法实现多种PON模式的切换的技术问题。Through the above steps, the embodiment of the present disclosure determines the first access mode adopted by the uplink passive optical fiber network PON port and/or the optical network unit ONU PON port of the main gateway, and determines the second access mode adopted by the optical network terminal OLT PON port and/or the downlink PON port of the main gateway; further determines whether the first access mode and the second access mode are consistent, and when it is determined that the first access mode and the second access mode are inconsistent, the first access mode is switched to the second access mode. That is, by determining whether the first access mode adopted by the uplink PON port and the second access mode adopted by the OLT PON port are consistent, if they are inconsistent, the first access mode adopted by the uplink PON port is switched to the second access mode adopted by the OLT PON port; and by determining whether the first access mode adopted by the ONU PON port and the second access mode adopted by the downlink PON port are consistent, if they are inconsistent, the first access mode adopted by the ONU PON port is switched to the second access mode adopted by the downlink PON port. The above technical solution solves the technical problem in the related art that the FTTR main gateway and the slave gateway cannot realize the switching of multiple PON modes.
在一个示例性实施例中,确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式,包括:所述上联PON口和/或所述ONU PON口接收到所述OLT PON口和/或所述下联PON口发送的注册信息的情况下,根据所述注册信息确定所述第二接入模式。In an exemplary embodiment, determining a second access mode adopted by an optical network terminal OLT PON port and/or a downstream PON port of a main gateway includes: when the upstream PON port and/or the ONU PON port receives registration information sent by the OLT PON port and/or the downstream PON port, determining the second access mode according to the registration information.
需要说明的是:OLT通常以PLOAM或者MPCP消息的形式对新入网的主网关进行交互认证,主网关通常也以PLOAM或者MPCP消息的形式对新入网的从网关(可以相当于上述实施例中的ONU)进行交互认证,进而PLOAM或者MPCP消息可以为所述注册信息。由于不同PON技术标准对PLOAM或者MPCP消息的定义存在差异。因此,可以根据OLT PON口和/或主网关下联PON口发送到上联PON口和/或ONU PON口的注册信息确定OLT PON口和/或下联PON口当前采用的第二接入模式。其中,物理层操作管理和维护(Physical Layer Operations,Administration and Maintenance,简称为PLOAM),多点控制协议(Multi-Point Control Protocol,简称为MPCP)。It should be noted that: OLT usually performs interactive authentication on the newly connected master gateway in the form of PLOAM or MPCP messages, and the master gateway usually also performs interactive authentication on the newly connected slave gateway (which can be equivalent to the ONU in the above embodiment) in the form of PLOAM or MPCP messages, and then the PLOAM or MPCP message can be the registration information. Due to the differences in the definition of PLOAM or MPCP messages in different PON technical standards. Therefore, the second access mode currently adopted by the OLT PON port and/or the downlink PON port can be determined based on the registration information sent by the OLT PON port and/or the downlink PON port of the master gateway to the uplink PON port and/or the ONU PON port. Among them, physical layer operations, administration and maintenance (PLOAM for short), multi-point control protocol (MPCP for short).
示例性的,在OLT、主网关上联口、下联口、ONU均支持GPON/EPON两种工作模式,其中,GPON对应的PLOAM或者MPCP消息形式的注册信息为Upstream Overhead PLOAM message,EPON对应的PLOAM或者MPCP消息形式的注册信息为MPCP Broadcast Discovery Gate Capable&&Window=1G,这里简略的将GPON对应的注册信息确定为Upstream Overhead、EPON对应的注册信息确定为Discovery Gate的情况下:1)如果OLT采用的第二接入模式为GPON、主网关上联口上电初始化后采用的第一接入模式为EPON,则:第二接入模式为GPON,则OLT PON口应发送到上联PON口的注册信息为Upstream Overhead,进而上联PON口可以根据Upstream Overhead这个注册信息确定OLT PON口采用的第二接入模式为GPON,而由于初始化后,上联PON口采用的第一接入模式为EPON,因此,第一接入模式与第二接入模式不匹配,需要将第一接入模式切换为第二接入模式,重新发起注册流程。2)如果主网关下联PON口上电后初始化采用的第二接入模式为GPON,而ONU PON口上电后初始化采用的第一接入模式为EPON,则:主网关下联口发送到ONU PON口的注册信息为Upstream Overhead,ONU PON口根据接收到的Upstream Overhead注册信息确定主网关下联PON口采用的第二接入模式为GPON,与ONU PON口采用的第一接入模式不匹配,进而可以选择将ONU PON口采用的EPON切换为第二接入模式 对应的GPON模式,并重新发起注册流程。Exemplarily, the OLT, the uplink port, the downlink port, and the ONU all support the GPON/EPON working modes, wherein the registration information in the form of PLOAM or MPCP message corresponding to GPON is Upstream Overhead PLOAM message, and the registration information in the form of PLOAM or MPCP message corresponding to EPON is MPCP Broadcast Discovery Gate Capable&&Window=1G. Here, the registration information corresponding to GPON is simply determined as Upstream Overhead, and the registration information corresponding to EPON is determined as Discovery Gate: 1) If the second access mode adopted by the OLT is GPON, and the first access mode adopted by the uplink port of the main gateway after power-on initialization is EPON, then: the second access mode is GPON, then the registration information that the OLT PON port should send to the uplink PON port is Upstream Overhead, and then the uplink PON port can determine the OLT according to the registration information Upstream Overhead. The second access mode adopted by the PON port is GPON, and since the first access mode adopted by the upstream PON port is EPON after initialization, the first access mode does not match the second access mode, and the first access mode needs to be switched to the second access mode to re-initiate the registration process. 2) If the second access mode adopted by the downstream PON port of the main gateway after power-on is initialized to GPON, and the first access mode adopted by the ONU PON port after power-on is initialized to EPON, then: the registration information sent by the downstream port of the main gateway to the ONU PON port is Upstream Overhead, and the ONU PON port determines that the second access mode adopted by the downstream PON port of the main gateway is GPON based on the received Upstream Overhead registration information, which does not match the first access mode adopted by the ONU PON port, and then the EPON adopted by the ONU PON port can be switched to the second access mode. The corresponding GPON mode and re-initiate the registration process.
需要说明的是,在OLT与主网关上联PON口交互的过程中,一般为上联PON口进行模式切换操作;而在下联PON口与ONU PON口交互的过程中,可以选择切换ONU PON口采用的接入模式,也可以选择切换下联PON口采用的接入模式,即在上述示例2)中,也可以选择将下联PON口采用的第二接入模式GPON切换为ONU PON口采用的第一接入模式EPON。还需要说明的是,在光模块支持的情况下,主网关上联PON口和下联PON口可以采用不同的接入模式,彼此不互相干扰。还需要说明的是,上述根据注册信息进行模式切换的方案一般情况下适用于光模块为多模光模块的情况下。It should be noted that, in the process of interaction between the OLT and the uplink PON port of the main gateway, the mode switching operation is generally performed on the uplink PON port; and in the process of interaction between the downlink PON port and the ONU PON port, you can choose to switch the access mode adopted by the ONU PON port, or you can choose to switch the access mode adopted by the downlink PON port, that is, in the above example 2), you can also choose to switch the second access mode GPON adopted by the downlink PON port to the first access mode EPON adopted by the ONU PON port. It should also be noted that, if the optical module supports it, the uplink PON port and the downlink PON port of the main gateway can adopt different access modes without interfering with each other. It should also be noted that the above-mentioned scheme of mode switching based on registration information is generally applicable to the case where the optical module is a multi-mode optical module.
在一个示例性实施例中,将所述第一接入模式切换为所述第二接入模式之前,所述方法还包括:确定所述第一接入模式对应的第一工作波段,以及确定所述第二接入模式对应的第二工作波段;在所述第一工作波段和所述第二工作波段不一致的情况下,确定所述第一接入模式和所述第二接入模式不一致。In an exemplary embodiment, before switching the first access mode to the second access mode, the method also includes: determining a first working band corresponding to the first access mode, and determining a second working band corresponding to the second access mode; when the first working band and the second working band are inconsistent, determining that the first access mode and the second access mode are inconsistent.
需要说明的是,不同接入模式对应的工作波段可能不同,因此,可以通过确定第一接入模式和第二接入模式对应的工作波段是否相同,以确定第一接入模式和第二接入模式是否为同一接入模式。第一工作波段和第二工作波段相同,则第一接入模式和第二接入模式可能相同,但需要进一步确定,但如果第一工作波段和第二工作波段不同,则第一接入模式和第二接入模式一定不同,可以直接进行相应的PON口的模式切换。It should be noted that the working bands corresponding to different access modes may be different. Therefore, it is possible to determine whether the first access mode and the second access mode are the same access mode by determining whether the working bands corresponding to the first access mode and the second access mode are the same. If the first working band and the second working band are the same, the first access mode and the second access mode may be the same, but further determination is required. However, if the first working band and the second working band are different, the first access mode and the second access mode must be different, and the corresponding PON port mode switching can be performed directly.
示例性的,如果第一接入模式为GPON,则对应的第一工作波段为:上行波长1310nm、下行波长1490nm,而第二接入模式为XEPON非对称,对应的工作波段为:上行波长1270nm、下行波长1577nm,则可以确定第一工作波段和第二工作波段不一致,因此,第一接入模式和第二接入模式必定不一致,需要进行切换操作。For example, if the first access mode is GPON, the corresponding first working band is: upstream wavelength 1310nm, downstream wavelength 1490nm, and the second access mode is XEPON asymmetric, and the corresponding working band is: upstream wavelength 1270nm, downstream wavelength 1577nm. It can be determined that the first working band and the second working band are inconsistent. Therefore, the first access mode and the second access mode must be inconsistent, and a switching operation is required.
可选的,确定第一工作波段和第二工作波段之后,包括如下方案:Optionally, after determining the first working band and the second working band, the following scheme is included:
1)在一个示例性实施例中,确定所述第一接入模式对应的第一工作波段,以及确定所述第二接入模式对应的第二工作波段之后,所述方法还包括:在所述第一工作波段和所述第二工作波段不一致的情况下,确定所述第一接入模式对应的第一光模块,以及所述第二接入模式对应的第二光模块;在所述第一光模块和所述第二光模块的模块类型均为单模光模块的情况下,向目标对象发送提示信息,其中,所述提示信息用于提示第一光模块的模块类型或所述第二光模块的模块类型选择错误。1) In an exemplary embodiment, after determining the first working band corresponding to the first access mode and determining the second working band corresponding to the second access mode, the method further includes: when the first working band and the second working band are inconsistent, determining the first optical module corresponding to the first access mode and the second optical module corresponding to the second access mode; when the module types of the first optical module and the second optical module are both single-mode optical modules, sending a prompt message to the target object, wherein the prompt message is used to prompt that the module type of the first optical module or the module type of the second optical module is incorrectly selected.
在确定第一工作波段和第二工作波段不一致的情况下,如果OLT、主网关上联口、下联口、ONU所采用的接入模式对应的光模块均为单模光模块,由于单模光模块仅支持一种接入模式,则无法进行模式切换操作。可以选择向目标对象发送提示信息的方法,提示光模块类型选择错误。When it is determined that the first working band and the second working band are inconsistent, if the optical modules corresponding to the access modes adopted by the OLT, the main gateway uplink port, the downlink port, and the ONU are all single-mode optical modules, the mode switching operation cannot be performed because the single-mode optical module only supports one access mode. You can choose to send a prompt message to the target object to prompt that the optical module type selection is wrong.
目标对象一般是可以进行光模块替换操作的工作人员,也可以是用户。提示信息可以提示具体哪个PON口的光模块需要替换,并给出可选的替换方案,如:指示上联PON口光模块需要切换,并给出期望切换到的光模块类型、或者给出上联PON口需要切换到的接入模式,进而指示目标对象根据光模块类型,或通过需要切换到的接入模式确定出的光模块类型对上 联PON口原接入的光模块进行替换操作。The target object is generally a staff member who can perform optical module replacement operations, or it can be a user. The prompt information can indicate which PON port optical module needs to be replaced, and provide optional replacement solutions, such as: indicating that the optical module of the upstream PON port needs to be switched, and providing the type of optical module to be switched to, or providing the access mode to be switched to by the upstream PON port, and then instructing the target object to switch the optical module type to the upstream PON port according to the optical module type, or the optical module type determined by the access mode to be switched to. Replace the optical module originally connected to the PON port.
2)在一个示例性实施例中,确定所述第一接入模式对应的第一工作波段,以及确定所述第二接入模式对应的第二工作波段之后,所述方法还包括:在所述第一工作波段和所述第二工作波段不一致的情况下,确定所述第一接入模式对应的第一光模块,以及所述第二接入模式对应的第二光模块;在所述第一光模块和所述第二光模块中的一个光模块为多模光模块,且另外一个光模块为单模光模块的情况下,确定采用所述多模光模块对应的目标PON口所采用的第三接入模式,以及确定所述单模光模块的第四接入模式;将所述目标PON口对应的所述第三接入模式切换为所述第四接入模式。2) In an exemplary embodiment, after determining the first working band corresponding to the first access mode and determining the second working band corresponding to the second access mode, the method further includes: in a case where the first working band and the second working band are inconsistent, determining the first optical module corresponding to the first access mode and the second optical module corresponding to the second access mode; in a case where one of the first optical module and the second optical module is a multi-mode optical module and the other optical module is a single-mode optical module, determining the third access mode adopted by the target PON port corresponding to the multi-mode optical module and determining the fourth access mode of the single-mode optical module; switching the third access mode corresponding to the target PON port to the fourth access mode.
在一个示例性实施例中,将所述目标PON口对应的所述第三接入模式切换为所述第四接入模式,包括:获取所述多模光模块允许支持的多种接入模式;在确定所述多种接入模式中包括所述第四接入模式的情况下,将所述目标PON口采用的所述第三接入模式切换为所述第四接入模式。In an exemplary embodiment, the third access mode corresponding to the target PON port is switched to the fourth access mode, including: obtaining multiple access modes allowed to be supported by the multi-mode optical module; when it is determined that the multiple access modes include the fourth access mode, switching the third access mode adopted by the target PON port to the fourth access mode.
即,在第一工作波段和第二工作波段不一致的情况下,如果第一接入模式和第二接入模式对应的光模块存在至少一个多模光模块的情况下,进一步确定采用多模光模块的目标PON口目前采用的第三接入模式、采用单模光模块的PON口所采用的第四接入模式,在多模光模块支持所述第四接入模式的情况下,将目标PON口当前采用的第三接入模式切换为第四接入模式。That is, when the first working band and the second working band are inconsistent, if there is at least one multi-mode optical module in the optical modules corresponding to the first access mode and the second access mode, the third access mode currently adopted by the target PON port using the multi-mode optical module and the fourth access mode adopted by the PON port using the single-mode optical module are further determined; when the multi-mode optical module supports the fourth access mode, the third access mode currently adopted by the target PON port is switched to the fourth access mode.
示例性的,可以设定条件为:在ONU PON口和主网关下联PON口之间进行接入模式切换,以统一ONU PON口和主网关下联PON口采用的接入模式,其中,ONU PON口采用支持GPON接入模式的单模光模块,下联PON口采用支持XGPON/GPON接入模式的多模光模块,则:在ONU PON口的第一接入模式为GPON,下联PON口的第二接入模式为XGPON的情况下,由于GPON采用的工作波段为上行波长1310nm、下行波长1490nm,而XGPON采用的工作波段为上行波长1270nm、下行波长1577nm,则ONU PON口和下联PON口采用的接入模式的工作波段不一致,进而第一接入模式和第二接入模式不一致。此时确定ONU PON口和下联PON口是否为采用了一个单模光模块和一个多模光模块。进而XGPON/GPON光模块即为多模光模块、下联PON口即为目标PON口,下联PON口采用的XGPON即确定为第三接入模式,ONU PON口采用的GPON即为第四接入模式,由于下联PON口采用的多模光模块XGPON/GPON光模块同样支持第四接入模式GPON,则将第三接入模式切换为第四接入模式。Exemplarily, the condition may be set as follows: switching the access mode between the ONU PON port and the main gateway downstream PON port to unify the access modes adopted by the ONU PON port and the main gateway downstream PON port, wherein the ONU PON port adopts a single-mode optical module supporting the GPON access mode, and the downstream PON port adopts a multi-mode optical module supporting the XGPON/GPON access mode. Then: when the first access mode of the ONU PON port is GPON and the second access mode of the downstream PON port is XGPON, since the working band adopted by GPON is an upstream wavelength of 1310nm and a downstream wavelength of 1490nm, and the working band adopted by XGPON is an upstream wavelength of 1270nm and a downstream wavelength of 1577nm, the working bands of the access modes adopted by the ONU PON port and the downstream PON port are inconsistent, and thus the first access mode and the second access mode are inconsistent. At this time, it is determined whether the ONU PON port and the downstream PON port adopt a single-mode optical module and a multi-mode optical module. Then, the XGPON/GPON optical module is a multi-mode optical module, the downstream PON port is the target PON port, the XGPON adopted by the downstream PON port is determined as the third access mode, and the GPON adopted by the ONU PON port is the fourth access mode. Since the multi-mode optical module XGPON/GPON optical module adopted by the downstream PON port also supports the fourth access mode GPON, the third access mode is switched to the fourth access mode.
在一个示例性实施例中,将所述第一接入模式切换为所述第二接入模式之前,所述方法还包括:在检测到所述OLT PON口和/或所述下联PON口接收到模式切换指令的情况下,向所述上联PON口和/或所述ONU PON口发送目标信令,其中,所述目标信令包括:物理层操作管理和维护PLOAM消息,或者ONU管理与控制接口OMCI消息;所述目标信令中携带有所述OLT PON口和/或所述下联PON口期望切换的第五接入模式。In an exemplary embodiment, before switching the first access mode to the second access mode, the method further includes: upon detecting that the OLT PON port and/or the downstream PON port receives a mode switching instruction, sending a target signaling to the upstream PON port and/or the ONU PON port, wherein the target signaling includes: a physical layer operation administration and maintenance PLOAM message, or an ONU management and control interface OMCI message; the target signaling carries a fifth access mode to which the OLT PON port and/or the downstream PON port is expected to switch.
可选的,在注册认证后,如果确定第一接入模式和第二接入模式不一致,则:可以通过手机APP、网管、NFC或者Web页面等方式主动发起模式切换。可选地,可以选择将模式切换指令发送到OLT PON口和/或下联PON口。模式切换指令可以是物理层操作管理和维护PLOAM消息,或者ONU管理与控制接口OMCI消息,用于指示OLT PON口和/或下联PON口期望上联 PON口和/或ONU PON口切换到的第五接入模式。需要说明的是:物理层操作管理和维护(Physical Layer Operations,Administration and Maintenance,简称为PLOAM);ONU管理与控制接口(ONU Management and Control Interface,简称为OMCI)。Optionally, after registration and authentication, if it is determined that the first access mode and the second access mode are inconsistent, then: the mode switch can be actively initiated through a mobile phone APP, network management, NFC or web page. Optionally, the mode switch instruction can be sent to the OLT PON port and/or the downlink PON port. The mode switch instruction can be a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message, which is used to indicate that the OLT PON port and/or the downlink PON port expects the uplink The fifth access mode to which the PON port and/or the ONU PON port switches. It should be noted that: Physical Layer Operations, Administration and Maintenance (PLOAM for short); ONU Management and Control Interface (OMCI for short).
在一个示例性实施例中,向所述上联PON口和/或所述ONU PON口发送目标信令之后,所述方法还包括:通过所述上联PON口和/或所述ONU PON口解析所述目标信令,以获取所述第五接入模式;确定所述上联PON口和/或所述ONU PON口当前采用的第六接入模式;在确定所述上联PON口和/或所述ONU PON口支持所述第五接入模式的情况下,将所述第六接入模式切换为所述第五接入模式;在确定所述上联PON口和/或所述ONU PON口不支持所述第五接入模式的情况下,通过所述上联PON口和/或所述ONU PON口向所述OLT PON口和/或所述下联PON口发送反馈信令,其中,所述反馈信令包括:所述反馈信令中携带有所述上联PON口和/或所述ONU PON口支持的多个接入模式和所述第六接入模式。In an exemplary embodiment, after sending the target signaling to the upstream PON port and/or the ONU PON port, the method further includes: parsing the target signaling through the upstream PON port and/or the ONU PON port to obtain the fifth access mode; determining the sixth access mode currently adopted by the upstream PON port and/or the ONU PON port; when it is determined that the upstream PON port and/or the ONU PON port support the fifth access mode, switching the sixth access mode to the fifth access mode; when it is determined that the upstream PON port and/or the ONU PON port do not support the fifth access mode, sending feedback signaling to the OLT PON port and/or the downstream PON port through the upstream PON port and/or the ONU PON port, wherein the feedback signaling includes: the feedback signaling carries multiple access modes supported by the upstream PON port and/or the ONU PON port and the sixth access mode.
可选的,上联PON口和/或ONU PON口在接收到模式切换指令的情况下,解析所述模式切换指令,进而获取所述OLT PON口和/或下联PON口通过所述模式切换指令指示的期望切换到的接入模式,即第五接入模式。此外,上联PON口和/或ONU PON口还需要确定自身当前采用的第六接入模式。进而1)确定所述上联PON口和/或ONU PON口采用的光模块为多模光模块,并且也支持第五接入模式的情况下,将第六接入模式切换为第五接入模式。2)在检测到所述上联PON口和/或ONU PON口采用的光模块为单模光模块的情况下,发送反馈告知信令,反馈告知信令携带有上联PON口和/或ONU PON口支持的所述第六接入模式。OLT和/或下联口可以根据收到的反馈告知信令决定是否切换自身当前采用的第五接入模式,或者告知目标对象上联PON口和/或ONU PON口采用的光模块为单模光模块。3)在确定所述上联PON口和/或ONU PON口采用的光模块为多模光模块,但不支持第五接入模式的情况下,上联PON口和/或所述ONU PON口向所述OLT PON口和/或所述下联PON口发送反馈信令,反馈信令包括上联PON口和/或所述ONU PON口支持的全部接入模式(即能力集)和当前采用的第六接入模式。进一步的,所述OLT PON口和/或所述下联PON口接收到反馈信令的情况下,可以从反馈信令中解析出所述上联PON口和/或ONU PON口的能力集,进而从所述能力集中确定出所述上联PON口和/或ONU PON口可以切换到的第七接入模式;基于所述第七接入模式发送模式切换指令到上联PON口和/或ONU PON口,以使得上联PON口和/或ONU PON口将第六接入模式切换为第七接入模式。Optionally, when the upstream PON port and/or ONU PON port receives a mode switching instruction, it parses the mode switching instruction, and then obtains the access mode that the OLT PON port and/or downstream PON port is expected to switch to as indicated by the mode switching instruction, that is, the fifth access mode. In addition, the upstream PON port and/or ONU PON port also needs to determine the sixth access mode currently adopted by itself. Then 1) when it is determined that the optical module used by the upstream PON port and/or ONU PON port is a multi-mode optical module and also supports the fifth access mode, the sixth access mode is switched to the fifth access mode. 2) When it is detected that the optical module used by the upstream PON port and/or ONU PON port is a single-mode optical module, feedback notification signaling is sent, and the feedback notification signaling carries the sixth access mode supported by the upstream PON port and/or ONU PON port. The OLT and/or the downlink port can decide whether to switch to the fifth access mode currently adopted by itself according to the received feedback notification signaling, or inform the target object that the optical module adopted by the uplink PON port and/or the ONU PON port is a single-mode optical module. 3) When it is determined that the optical module adopted by the uplink PON port and/or the ONU PON port is a multi-mode optical module, but does not support the fifth access mode, the uplink PON port and/or the ONU PON port sends feedback signaling to the OLT PON port and/or the downlink PON port, and the feedback signaling includes all access modes (i.e., capability sets) supported by the uplink PON port and/or the ONU PON port and the sixth access mode currently adopted. Furthermore, when the OLT PON port and/or the downstream PON port receives feedback signaling, the capability set of the upstream PON port and/or the ONU PON port can be parsed from the feedback signaling, and then the seventh access mode to which the upstream PON port and/or the ONU PON port can be switched can be determined from the capability set; based on the seventh access mode, a mode switching instruction is sent to the upstream PON port and/or the ONU PON port, so that the upstream PON port and/or the ONU PON port switches the sixth access mode to the seventh access mode.
基于上述实施例,注册认证后,主动进行接入模式切换的过程如图4、5所示,OLT和/或MFU发送模式切换指令到MFU和/或SFU,以指示MFU和/或SFU进行接入模式切换,并可以请求MFU和/或SFU上报自身能力集。如果MFU和/或SFU可以基于模式切换指令切换当前采用的接入模式,则进行接入模式切换,并向OLT和/或MFU反馈MFU和/或SFU当前采用的接入模式、MFU和/或SFU的能力集、以及MFU和/或SFU可以切换到模式切换指令指示的接入模式;如果MFU和/或SFU接入的光模块不支持模式切换指令所指示的待切换到的接入模式,则MFU和/或SFU发送反馈信令到OLT和/或MFU,反馈信令包括MFU和/或SFU的能力集、当前采用的接入模式。Based on the above embodiment, after registration and authentication, the process of actively switching the access mode is shown in Figures 4 and 5. The OLT and/or MFU sends a mode switching instruction to the MFU and/or SFU to instruct the MFU and/or SFU to switch the access mode, and can request the MFU and/or SFU to report its own capability set. If the MFU and/or SFU can switch the currently used access mode based on the mode switching instruction, the access mode is switched, and the access mode currently used by the MFU and/or SFU, the capability set of the MFU and/or SFU, and the access mode that the MFU and/or SFU can switch to indicated by the mode switching instruction are fed back to the OLT and/or MFU; if the optical module accessed by the MFU and/or SFU does not support the access mode to be switched to indicated by the mode switching instruction, the MFU and/or SFU sends feedback signaling to the OLT and/or MFU, and the feedback signaling includes the capability set of the MFU and/or SFU and the currently used access mode.
需要说明的是:单个家庭用户单元(Single Family Unit,简称为SFU),多家庭用户单 元(Multi Family Unit,简称为MFU)。It should be noted that: Single Family Unit (SFU), Multi-family User Unit Multi Family Unit (MFU for short).
需要说明的是,模式切换指令可以是物理层操作管理和维护PLOAM消息,或者ONU管理与控制接口OMCI消息,反馈信令、反馈告知信令也可以是物理层操作管理和维护PLOAM消息,或者ONU管理与控制接口OMCI消息。It should be noted that the mode switching instruction can be a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message, and the feedback signaling and feedback notification signaling can also be a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message.
在一个示例性实施例中,确定主网关的上联无源光纤网络PON口和/或光网络单元ONU PON口采用的第一接入模式,以及确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式,包括:确定主网关的上联PON口和/或所述ONU PON口接入的第一光模块,以及确定所述OLT PON口和/或所述下联PON口接入的第二光模块,其中,所述第一光模块支持的接入模式包括第一接入模式,所述第二光模块支持的接入模式包括第二接入模式;根据所述第一光模块确定所述上联PON口和/或所述ONU PON口采用所述第一接入模式,以及根据所述第二光模块确定所述OLT PON口和/或所述下联PON口采用所述第二接入模式。In an exemplary embodiment, determining a first access mode adopted by an upstream passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and determining a second access mode adopted by an optical network terminal OLT PON port and/or a downstream PON port of the main gateway, includes: determining a first optical module accessed by the upstream PON port of the main gateway and/or the ONU PON port, and determining a second optical module accessed by the OLT PON port and/or the downstream PON port, wherein the access modes supported by the first optical module include the first access mode, and the access modes supported by the second optical module include the second access mode; determining that the upstream PON port and/or the ONU PON port adopt the first access mode according to the first optical module, and determining that the OLT PON port and/or the downstream PON port adopt the second access mode according to the second optical module.
可以理解的是,上联PON口和/或ONU PON口接入的第一光模块所支持的全部接入模式包括上联PON口和/或ONU PON口当前采用的第一接入模式,OLT PON口和/或所述下联PON口接入的第二光模块所支持的全部接入模式包括OLT PON口和/或所述下联PON口当前采用的第二接入模式。进而可以根据第一光模块和第二光模块确定第一接入模式和第二接入模式。可选的,在第一光模块和第二光模块均为单模光模块的情况下,可以直接根据单模光模块支持的接入模式确定当前接入模式。可选的,硬件层需要能够识别上联PON口和/或ONU PON口,以及OLT PON口和/或所述下联PON口接入的光模块各自所支持的接入模式,并通知到软件层。It can be understood that all access modes supported by the first optical module connected to the upstream PON port and/or the ONU PON port include the first access mode currently adopted by the upstream PON port and/or the ONU PON port, and all access modes supported by the second optical module connected to the OLT PON port and/or the downstream PON port include the second access mode currently adopted by the OLT PON port and/or the downstream PON port. Then, the first access mode and the second access mode can be determined according to the first optical module and the second optical module. Optionally, in the case where the first optical module and the second optical module are both single-mode optical modules, the current access mode can be directly determined according to the access mode supported by the single-mode optical module. Optionally, the hardware layer needs to be able to identify the access modes supported by the upstream PON port and/or the ONU PON port, and the optical modules connected to the OLT PON port and/or the downstream PON port, and notify the software layer.
接下来结合以下实施例对接入模式的切换方法进行进一步说明。Next, the access mode switching method is further described in conjunction with the following embodiments.
本公开可选实施例要提供一种针对于FTTR系统的接入模式的切换方法,分为被动与主动两种方法,被动切换方法中主网关上下联PON口根据光模块波段、注册阶段消息内容匹配等方法实现PON口模式切换;主动切换方法中通过外部指令触发PON口模式切换流程,之后通过PLOAM或者OMCI消息交互实现采集上下联PON口能力集上报、PON口根据上下联设备PON模式切换,实现FTTR主网关对既有PON标准的广泛兼容和未来演进的可扩展性。An optional embodiment of the present disclosure provides a method for switching the access mode of the FTTR system, which is divided into two methods, passive and active. In the passive switching method, the upper and lower PON ports of the main gateway implement PON port mode switching according to methods such as optical module bands and registration phase message content matching; in the active switching method, the PON port mode switching process is triggered by external instructions, and then the collection of upper and lower PON port capability set reporting and PON port switching according to the PON mode of the upper and lower devices are implemented through PLOAM or OMCI message interaction, so as to realize the FTTR main gateway's wide compatibility with existing PON standards and scalability for future evolution.
具体而言,为了解决相关技术中,FTTR主网关和从网关无法实现多种PON模式的切换的技术问题,本公开可循实施例提供了如下方案,具体包括:Specifically, in order to solve the technical problem in the related art that the FTTR master gateway and the slave gateway cannot implement the switching of multiple PON modes, the present disclosure provides the following solutions according to the embodiments, specifically including:
1、被动切换方法:注册认证阶段OLT与主网关上联PON口、主网关下联PON口与ONU间被动模式切换方法。1. Passive switching method: During the registration and authentication phase, the passive mode switching method is used between the OLT and the uplink PON port of the main gateway, and between the downlink PON port of the main gateway and the ONU.
需要说明的是,不同PON接入技术匹配的光模块存在区别,尽管现阶段已有GPON/XGPON合一等类型的光模块,但由于制造成本等原因,目前4模甚至更多模合一的光模块尚未广泛应用,因而为了兼容既有PON技术及后续演进,硬件层需要能够识别接入的上联PON口和下联PON口光模块各自所支持的PON模式,并通知到软件层。It should be noted that there are differences in the optical modules that match different PON access technologies. Although there are GPON/XGPON integrated optical modules at this stage, due to reasons such as manufacturing costs, 4-mode or even more-mode integrated optical modules have not yet been widely used. Therefore, in order to be compatible with existing PON technology and subsequent evolution, the hardware layer needs to be able to identify the PON modes supported by the optical modules of the upstream and downstream PON ports, and notify the software layer.
示例性地:1)如上联PON口接入的是XGPON单模光模块,下联PON口接入XGPON/GPON合一光模块,则通知软件层主网关按照XGPON模式注册,从网关按照XGPON或GPON模式注册;Exemplarily: 1) If the uplink PON port is connected to an XGPON single-mode optical module and the downlink PON port is connected to an XGPON/GPON combined optical module, the software layer master gateway is notified to register in XGPON mode and the slave gateway is registered in XGPON or GPON mode;
2)如上联PON口接入的是XGPON/GPON多模光模块,下联PON口接入EPON光模块,则通 知软件层主网关按照XGPON或GPON模式注册,从网关按照EPON模式注册;2) If the uplink PON port is connected to an XGPON/GPON multi-mode optical module and the downlink PON port is connected to an EPON optical module, The software layer master gateway is registered in XGPON or GPON mode, and the slave gateway is registered in EPON mode;
3)如上联PON口接入的是EPON单模光模块,下联PON口接入XGPON/GPON光模块,则通知软件层主网关按照EPON模式注册,从网关按照XGPON或GPON模式注册;3) If the uplink PON port is connected to an EPON single-mode optical module and the downlink PON port is connected to an XGPON/GPON optical module, the software layer is notified to register the master gateway in EPON mode and the slave gateway in XGPON or GPON mode;
可选的,由于部分PON接入技术工作的波段存在差别,FTTR设备上电后需要依次对OLT PON口、主网关上、下联PON口、ONU PON口工作波段初步识别,当OLT PON口和主网关上联PON口均为单模光模块且波段不一致时停止主网关注册流程并通知工作人员主网关与OLT模式不匹配;当下联PON口和ONU PON口均为单模光模块且波段不一致时,停止从网关注册流程并通知工作人员主网关与从网关模式不匹配;由于当前ONU芯片普遍支持全模式,当光模块仅支持一种模式时,通过对OLT PON口、主网关上、下联PON口、ONU PON口工作波段初步识别可以显著减少ONU模式的切换次数。Optionally, due to differences in the working bands of some PON access technologies, the FTTR equipment needs to preliminarily identify the working bands of the OLT PON port, the upper and lower PON ports of the main gateway, and the ONU PON port in turn after power-on. When the OLT PON port and the upper PON port of the main gateway are both single-mode optical modules and the bands are inconsistent, the master gateway registration process is stopped and the staff is notified that the master gateway and OLT modes do not match; when the lower PON port and the ONU PON port are both single-mode optical modules and the bands are inconsistent, the slave gateway registration process is stopped and the staff is notified that the master gateway and slave gateway modes do not match; since current ONU chips generally support all modes, when the optical module only supports one mode, the number of ONU mode switching times can be significantly reduced by preliminarily identifying the working bands of the OLT PON port, the upper and lower PON ports of the main gateway, and the ONU PON port.
进而当OLT PON口和主网关上联PON口波段相同且均为多模光模块、下联PON口和ONU PON波段相同且均为多模光模块时,(如EPON和GPON共用Up 1310nm Down 1490nm波段),这种情况下无论光模块单模还是多模,都需要依据注册认证消息进行识别。Furthermore, when the OLT PON port and the main gateway uplink PON port have the same band and are both multi-mode optical modules, and the downlink PON port and ONU PON have the same band and are both multi-mode optical modules (such as EPON and GPON share the Up 1310nm Down 1490nm band), in this case, whether the optical module is single-mode or multi-mode, it needs to be identified based on the registration authentication message.
关于依据注册认证消息进行识别:Regarding identification based on registration authentication messages:
需要说明的是:OLT通常以PLOAM或者MPCP消息的形式对新入网的主网关进行交互认证,主网关通常也以PLOAM或者MPCP消息的形式对新入网的从网关进行交互认证,由于不同PON技术标准对PLOAM或者MPCP消息(本公开中定义为“注册信息”)的定义存在差异,这部分差异可以用于识别当前接入模式,不同PON接入技术的注册信息如下表2所示:It should be noted that: OLT usually performs interactive authentication on the newly connected master gateway in the form of PLOAM or MPCP messages, and the master gateway usually also performs interactive authentication on the newly connected slave gateway in the form of PLOAM or MPCP messages. Due to the differences in the definitions of PLOAM or MPCP messages (defined as "registration information" in this disclosure) in different PON technical standards, this difference can be used to identify the current access mode. The registration information of different PON access technologies is shown in Table 2 below:
表2
Table 2
经过上述光模块波段信息和能力集的初步识别匹配后,主网关/从网关进一步判断接收到的注册信息是否与当前初始化的PON模式相匹配,如匹配继续注册流程;如不匹配则切换至与注册信息相匹配的PON模式重新发起注册流程。After the preliminary identification and matching of the above optical module band information and capability set, the master gateway/slave gateway further determines whether the received registration information matches the currently initialized PON mode. If it matches, the registration process continues; if it does not match, it switches to the PON mode that matches the registration information and re-initiates the registration process.
示例性的:以GPON和EPON切换为例,假设OLT、主网关上联口、下联口、从网关均支持GPON/EPON两种工作模式。Exemplary: Taking the switching between GPON and EPON as an example, it is assumed that the OLT, the uplink port, the downlink port, and the slave gateway all support the GPON/EPON working modes.
(1)主网关上联口切换(1) Switching the uplink port of the main gateway
当OLT接入模式为GPON,主网关上联口上电后初始化模式为EPON,从网关上电后初始化模式为EPON,如主网关上联口上电后初始化模式为EPON,在初始化后未检测到Discovery Gate消息,切换主网关上联口工作模式为GPON,重新发起注册流程,接收到OLT发送的Upstream Overhead消息,继续注册流程。When the OLT access mode is GPON, the initialization mode of the main gateway uplink port after power-on is EPON, and the initialization mode of the slave gateway after power-on is EPON. If the initialization mode of the main gateway uplink port after power-on is EPON, and no Discovery Gate message is detected after initialization, switch the working mode of the main gateway uplink port to GPON, re-initiate the registration process, receive the Upstream Overhead message sent by the OLT, and continue the registration process.
(2)主网关下联口切换(2) Switching the downlink port of the main gateway
当OLT接入模式为GPON,主网关上联口上电后初始化模式为GPON,从网关上电后初始化模式为EPON,主网关上联口初始化完成后收到OLT发送的Upstream Overhead消息,继续注册流程;如主网关下联口上电后初始化模式为GPON,从网关PON口初始化完成后未检测到主网关下联口发送的Upstream Overhead消息,切换主网关下联口工作模式为EPON,重新发起注册流程,再次初始化完成后检测到Discovery Gate消息,继续注册流程。When the OLT access mode is GPON, the initialization mode of the main gateway uplink port after power-on is GPON, and the initialization mode of the slave gateway after power-on is EPON, the main gateway uplink port receives the Upstream Overhead message sent by the OLT after initialization, and continues the registration process; if the initialization mode of the main gateway downlink port is GPON after power-on, and the slave gateway PON port is initialized but no Upstream Overhead message sent by the main gateway downlink port is detected, the working mode of the main gateway downlink port is switched to EPON, and the registration process is reinitiated. After initialization is completed again, the Discovery Gate message is detected and the registration process continues.
(3)从网关切换(3) Switching from Gateway
当OLT接入模式为GPON,主网关上联口上电后初始化模式为GPON,从网关上电后初始化模式为EPON,主网关上联口初始化完成后收到OLT发送的Upstream Overhead消息继续注册流程;如主网关下联口上电后初始化模式为GPON,从网关初始化完成后检测不到主网关发送的Discovery Gate消息,切换从网关工作模式为GPON,重新发起注册流程;再次初始化完成后检测到Upstream Overhead消息,继续注册流程。When the OLT access mode is GPON, the initialization mode of the main gateway uplink port after power-on is GPON, and the initialization mode of the slave gateway after power-on is EPON, after the main gateway uplink port is initialized, it receives the Upstream Overhead message sent by the OLT to continue the registration process; if the initialization mode of the main gateway downlink port is GPON after power-on, and the slave gateway cannot detect the Discovery Gate message sent by the main gateway after initialization, the slave gateway working mode is switched to GPON, and the registration process is re-initiated; after the initialization is completed again, the Upstream Overhead message is detected and the registration process continues.
2、主动切换方法:注册上线后OLT与主网关上联PON口、主网关下联PON口与ONU间主动模式切换方法。2. Active switching method: After registration and going online, the active mode switching method between the OLT and the uplink PON port of the main gateway, the downlink PON port of the main gateway and the ONU.
除上述注册认证阶段自动协商切换模式的方法外,还可以在注册上线后通过手机APP、网管、NFC或者Web页面等方式主动发起模式切换,下发PLOAM消息实现主从网关模式的主 动切换。为此需要设计一系列的PLOAM消息,以实现对既有PON标准的兼容和后续演进。In addition to the above-mentioned method of automatically negotiating the switching mode during the registration and authentication phase, you can also actively initiate mode switching through mobile phone APP, network management, NFC or Web pages after registration and going online, and send PLOAM messages to implement the master-slave gateway mode. Therefore, a series of PLOAM messages need to be designed to achieve compatibility with existing PON standards and subsequent evolution.
当外部方式发起模式切换时,OLT、主网关下联PON口需要获取主网关上联PON口、从网关PON口能力集,可选地,可以通过向主网关上联PON口、从网关PON口发送消息(相当于上述实施例中的模式切换指令)以获取所述能力集。When mode switching is initiated externally, the OLT and the downstream PON port of the main gateway need to obtain the capability set of the upstream PON port of the main gateway and the PON port of the slave gateway. Optionally, the capability set can be obtained by sending a message (equivalent to the mode switching instruction in the above embodiment) to the upstream PON port of the main gateway and the PON port of the slave gateway.
但需要说明的是,模式切换指令指示主网关上联PON口、从网关PON口应当切换到的接入模式,如果主网关上联PON口、从网关PON口可以切换到模式切换指令指示的接入模式,则可以不反馈自身能力集到OLT、主网关下联PON口。However, it should be noted that the mode switching instruction indicates the access mode that the uplink PON port of the main gateway and the downlink PON port of the main gateway should switch to. If the uplink PON port of the main gateway and the downlink PON port of the main gateway can switch to the access mode indicated by the mode switching instruction, then there is no need to feed back their own capabilities to the OLT and the downlink PON port of the main gateway.
其中,消息(相当于上述实施例中的模式切换指令)定义如下表3、表4、表5所示:The message (equivalent to the mode switching instruction in the above embodiment) is defined as shown in Table 3, Table 4 and Table 5 below:
表3:G.984.3 Get_Set_PonMode message(Downstream)
Table 3: G.984.3 Get_Set_PonMode message(Downstream)
表4:G.987.3 Get_Set_PonMode message(Downstream)
Table 4: G.987.3 Get_Set_PonMode message(Downstream)
表5:G.9804.2 Get_Set_PonMode message(Downstream)
Table 5: G.9804.2 Get_Set_PonMode message(Downstream)
需要说明的是,上述表3-5为获取主网关上联PON口、从网关PON口能力集的消息在不同标准中的格式。It should be noted that the above Table 3-5 shows the formats of the messages for obtaining the capability sets of the uplink PON port of the master gateway and the PON port of the slave gateway in different standards.
主网关上联PON口、从网关PON口接收到上述定义的消息后需要将自身能力集关上报至上级PON口,上报消息(相当于上述实施例中的反馈信令)定义如下表6、表7、表8所示: After receiving the above-defined message, the master gateway upstream PON port and the slave gateway PON port need to report their own capability set to the upper-level PON port. The reporting message (equivalent to the feedback signaling in the above embodiment) is defined as shown in Table 6, Table 7, and Table 8 below:
表6:G.984.3 Pon_Capability notify message(Upstream)
Table 6: G.984.3 Pon_Capability notify message(Upstream)
表7:G.987.3 Pon_Capability notify message(Upstream)
Table 7: G.987.3 Pon_Capability notify message(Upstream)
表8:G.9804.2 Pon_Capability notify message(Upstream)
Table 8: G.9804.2 Pon_Capability notify message(Upstream)
需要说明的是,上述表6-8为主网关上联PON口、从网关PON口接收到前述定义的消息后需要将自身能力集上报至上级PON口所需要上报的反馈消息(相当于上述实施例中的反馈 信令)的在不同标准中的格式。It should be noted that the above Table 6-8 is a feedback message that the master gateway uplink PON port and the slave gateway PON port need to report their own capability set to the upper PON port after receiving the above-defined message (equivalent to the feedback message in the above embodiment). Signaling) in different standards.
可选的,上述PLOAM消息可以完成PON口能力集上报、PON口模式切换指令传递等功能,上述功能还可以通过OMCI消息实现,消息格式定义如下表9所示:Optionally, the above PLOAM message can complete the functions of reporting the PON port capability set and transmitting the PON port mode switching instruction. The above functions can also be implemented through OMCI messages. The message format is defined as shown in Table 9 below:
表9
Table 9
上述ONU模式的处理方法适用于当前大部分的PON系统,包括GPON、EPON、XGPON、XGSPON、XEPON非对称、XEPON对称、NGPON2以及未来的50G PON和200G PON系统。The above ONU mode processing method is applicable to most of the current PON systems, including GPON, EPON, XGPON, XGSPON, XEPON asymmetric, XEPON symmetric, NGPON2 and future 50G PON and 200G PON systems.
可选的,基于本公开可选实施例上述方案内容,以下给出更具体的可选实施例:Optionally, based on the above-mentioned contents of the optional embodiments of the present disclosure, a more specific optional embodiment is given below:
可选实施例1Optional embodiment 1
图6是根据本公开实施例的接入模式的切换方法的流程图(二),给出了本公开针对注册认证阶段OLT与主网关上联PON口、主网关下联PON口与ONU间被动模式匹配的流程示意,如图6所示:FIG6 is a flow chart (II) of a method for switching access modes according to an embodiment of the present disclosure, which shows a flow chart of passive mode matching between an OLT and an uplink PON port of a main gateway, a downlink PON port of a main gateway and an ONU in the registration and authentication phase of the present disclosure, as shown in FIG6 :
S601:主网关上联口初始化PON MAC模式;S601: The main gateway uplink port initializes the PON MAC mode;
S602:主网关上联口判断波长是否匹配,如果匹配则进入步骤S603,如果波长不匹配则进入步骤S604;S602: The uplink port of the main gateway determines whether the wavelength matches. If so, the process proceeds to step S603; if not, the process proceeds to step S604;
S603:判断收到的注册信息是否与主网关上联口PON模式相匹配,如果匹配则进入步骤S605,如果不匹配则进入步骤S604;S603: Determine whether the received registration information matches the PON mode of the uplink port of the primary gateway, if so, proceed to step S605, if not, proceed to step S604;
S604:切换上联PON口模式;S604: Switching the uplink PON port mode;
S605:完成上联PON口注册,主网关下联口初始化PON MAC模式;S605: Complete the registration of the uplink PON port, and initialize the PON MAC mode of the downlink port of the main gateway;
S606:主网关下联口判断波长是否匹配,如果匹配则进入步骤S607,如果波长不匹配则进入步骤S608;S606: The downlink port of the main gateway determines whether the wavelength matches, if so, proceeds to step S607, if not, proceeds to step S608;
S607:ONU判断是否收到注册信息,如果收到则进入步骤S609,如果未收到则进入步骤S608; S607: The ONU determines whether the registration information is received. If so, the process proceeds to step S609; if not, the process proceeds to step S608;
S608:切换下联PON口模式;S608: Switching the downlink PON port mode;
S609:完成下联PON口注册。S609: Complete the registration of the downstream PON port.
可选实施例2:Optional embodiment 2:
图7是根据本公开实施例的接入模式的切换方法的流程图(三),给出了本公开针对注册上线后OLT与主网关上联PON口、主网关下联PON口与ONU间主动模式匹配的流程示意,如图7所示:FIG7 is a flow chart (III) of the access mode switching method according to an embodiment of the present disclosure, which shows the process of active mode matching between the OLT and the uplink PON port of the main gateway, the downlink PON port of the main gateway and the ONU after registration and going online, as shown in FIG7:
S701:通过网管\APP\WEB\NFC等方式在OLT端发起模式切换流程;S701: Initiate a mode switching process on the OLT side through network management\APP\WEB\NFC and other methods;
S702:OLT下发PLOAM或者OMCI消息,请求主网关、从网关PON口能力集;S702: OLT sends a PLOAM or OMCI message to request the master gateway and slave gateway PON port capability set;
S703:从网关、主网关依次通过PLOAM或者OMCI消息上报能力集。S703: The slave gateway and the master gateway report the capability set in turn through PLOAM or OMCI messages.
S704:OLT下发PLOAM或者OMCI消息,主网关、从网关解析消息后、切换对应PON口模式;S704: OLT sends a PLOAM or OMCI message, and the master gateway and slave gateway parse the message and switch to the corresponding PON port mode;
可选的,由于本公开可选实施例中,请求能力集和模式切换指令均通过OLT下发PLOAM或者OMCI消息,则基于上述步骤:OLT可以通过下发PLOAM或者OMCI消息同时请求能力集和接入模式切换。如果主网关、ONU(相当于从网关)可以进行接入模式切换,则不必上报能力集,否则,则需要上报自身能力集,以便于OLT基于上报的能力集再次下发PLOAM或者OMCI消息,使得主网关、从网关解析消息后、切换对应PON口模式。Optionally, since in the optional embodiment of the present disclosure, both the request capability set and the mode switching instruction are sent by the OLT through a PLOAM or OMCI message, based on the above steps: the OLT can simultaneously request the capability set and the access mode switching by sending a PLOAM or OMCI message. If the master gateway and the ONU (equivalent to the slave gateway) can perform the access mode switching, it is not necessary to report the capability set, otherwise, it is necessary to report its own capability set, so that the OLT can send the PLOAM or OMCI message again based on the reported capability set, so that the master gateway and the slave gateway can parse the message and switch the corresponding PON port mode.
进而基于上述实施例,本公开通过主动与被动两种方法实现FTTR上下联PON口模式切换;提升了FTTR系统对既有PON设备的兼容性以及未来演进标准的扩展性,降低运营商设备采购与维护成本,提高现有通信设备资源利用效率。适用于FTTR系统家庭或者企业组网应用,将来有可能与100G PON或者200G PON技术结合提供更广带宽和更优用户体验。Based on the above embodiments, the present invention realizes the switching of FTTR uplink and downlink PON port modes through active and passive methods; improves the compatibility of FTTR system with existing PON equipment and the extensibility of future evolution standards, reduces the equipment procurement and maintenance costs of operators, and improves the resource utilization efficiency of existing communication equipment. It is suitable for home or enterprise networking applications of FTTR system, and may be combined with 100G PON or 200G PON technology in the future to provide wider bandwidth and better user experience.
在本实施例中还提供了接入模式的切换装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的设备较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a switching device for access mode is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and/or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
图8是根据本公开实施例的接入模式的切换装置的结构框图。如图8所示,接入模式的切换装置包括:FIG8 is a structural block diagram of a switching device for access mode according to an embodiment of the present disclosure. As shown in FIG8 , the switching device for access mode includes:
确定模块82,设置为确定主网关的上联无源光纤网络PON口和/或光网络单元ONU PON口采用的第一接入模式,以及确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式;A determination module 82 is configured to determine a first access mode adopted by an uplink passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and to determine a second access mode adopted by an optical network terminal OLT PON port and/or a downlink PON port of the main gateway;
切换模块84,设置为在确定所述第一接入模式和所述第二接入模式不一致的情况下,将所述第一接入模式切换为所述第二接入模式。The switching module 84 is configured to switch the first access mode to the second access mode when it is determined that the first access mode and the second access mode are inconsistent.
通过上述模块,在确定主网关的上联无源光纤网络PON口和/或光网络单元ONU PON口采用的第一接入模式,以及确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式的情况下;进一步确定所述第一接入模式和所述第二接入模式是否一致,在确定所述 第一接入模式和所述第二接入模式不一致的情况下,将所述第一接入模式切换为所述第二接入模式。也就是说,通过确定所述上联PON口采用的第一接入模式和所述OLT PON口采用的第二接入模式是否一致,在不一致的情况下,将所述上联PON口采用的第一接入模式切换为所述OLT PON口采用的第二接入模式;以及通过确定所述ONU PON口采用的第一接入模式和所述下联PON口采用的第二接入模式是否一致,在不一致的情况下,将所述ONU PON口采用的第一接入模式切换为所述下联PON口采用的第二接入模式。采用上述技术方案,解决了相关技术中,FTTR主网关和从网关无法实现多种PON模式的切换的技术问题。Through the above module, after determining the first access mode adopted by the uplink passive optical fiber network PON port and/or the optical network unit ONU PON port of the main gateway, and determining the second access mode adopted by the optical network terminal OLT PON port and/or the downlink PON port of the main gateway; further determining whether the first access mode and the second access mode are consistent, and after determining the When the first access mode and the second access mode are inconsistent, the first access mode is switched to the second access mode. That is to say, by determining whether the first access mode adopted by the uplink PON port and the second access mode adopted by the OLT PON port are consistent, if they are inconsistent, the first access mode adopted by the uplink PON port is switched to the second access mode adopted by the OLT PON port; and by determining whether the first access mode adopted by the ONU PON port and the second access mode adopted by the downlink PON port are consistent, if they are inconsistent, the first access mode adopted by the ONU PON port is switched to the second access mode adopted by the downlink PON port. The above technical solution is adopted to solve the technical problem in the related technology that the FTTR master gateway and the slave gateway cannot realize the switching of multiple PON modes.
在一个示例性实施例中,确定模块82,还设置为所述上联PON口和/或所述ONU PON口接收到所述OLT PON口和/或所述下联PON口发送的注册信息的情况下,根据所述注册信息确定所述第二接入模式。In an exemplary embodiment, the determination module 82 is further configured to determine the second access mode according to the registration information when the upstream PON port and/or the ONU PON port receives the registration information sent by the OLT PON port and/or the downstream PON port.
需要说明的是:OLT通常以PLOAM或者MPCP消息的形式对新入网的主网关进行交互认证,主网关通常也以PLOAM或者MPCP消息的形式对新入网的从网关(可以相当于上述实施例中的ONU)进行交互认证,进而PLOAM或者MPCP消息可以为所述注册信息。由于不同PON技术标准对PLOAM或者MPCP消息的定义存在差异。因此,可以根据OLT PON口和/或主网关下联PON口发送到上联PON口和/或ONU PON口的注册信息确定OLT PON口和/或下联PON口当前采用的第二接入模式。其中,物理层操作管理和维护(Physical Layer Operations,Administration and Maintenance,简称为PLOAM),多点控制协议(Multi-Point Control Protocol,简称为MPCP)。It should be noted that: OLT usually performs interactive authentication on the newly connected master gateway in the form of PLOAM or MPCP messages, and the master gateway usually also performs interactive authentication on the newly connected slave gateway (which can be equivalent to the ONU in the above embodiment) in the form of PLOAM or MPCP messages, and then the PLOAM or MPCP message can be the registration information. Due to the differences in the definition of PLOAM or MPCP messages in different PON technical standards. Therefore, the second access mode currently adopted by the OLT PON port and/or the downlink PON port can be determined based on the registration information sent by the OLT PON port and/or the downlink PON port of the master gateway to the uplink PON port and/or the ONU PON port. Among them, physical layer operations, administration and maintenance (PLOAM for short), multi-point control protocol (MPCP for short).
示例性的,在OLT、主网关上联口、下联口、ONU均支持GPON/EPON两种工作模式,其中,GPON对应的PLOAM或者MPCP消息形式的注册信息为Upstream Overhead PLOAM message,EPON对应的PLOAM或者MPCP消息形式的注册信息为MPCP Broadcast Discovery Gate Capable&&Window=1G,这里简略的将GPON对应的注册信息确定为Upstream Overhead、EPON对应的注册信息确定为Discovery Gate的情况下:1)如果OLT采用的第二接入模式为GPON、主网关上联口上电初始化后采用的第一接入模式为EPON,则:第二接入模式为GPON,则OLT PON口应发送到上联PON口的注册信息为Upstream Overhead,进而上联PON口可以根据Upstream Overhead这个注册信息确定OLT PON口采用的第二接入模式为GPON,而由于初始化后,上联PON口采用的第一接入模式为EPON,因此,第一接入模式与第二接入模式不匹配,需要将第一接入模式切换为第二接入模式,重新发起注册流程。2)如果主网关下联PON口上电后初始化采用的第二接入模式为GPON,而ONU PON口上电后初始化采用的第一接入模式为EPON,则:主网关下联口发送到ONU PON口的注册信息为Upstream Overhead,ONU PON口根据接收到的Upstream Overhead注册信息确定主网关下联PON口采用的第二接入模式为GPON,与ONU PON口采用的第一接入模式不匹配,进而可以选择将ONU PON口采用的EPON切换为第二接入模式对应的GPON模式,并重新发起注册流程。For example, the OLT, the main gateway uplink port, the downlink port, and the ONU all support the GPON/EPON working modes. The registration information in the form of PLOAM or MPCP message corresponding to GPON is Upstream Overhead PLOAM message, and the registration information in the form of PLOAM or MPCP message corresponding to EPON is MPCP Broadcast Discovery Gate Capable&&Window=1G. Here, the registration information corresponding to GPON is simply determined as Upstream Overhead, and the registration information corresponding to EPON is determined as Discovery Gate. e: 1) If the second access mode adopted by the OLT is GPON and the first access mode adopted by the main gateway upstream port after power-on initialization is EPON, then: the second access mode is GPON, and the registration information that the OLT PON port should send to the upstream PON port is Upstream Overhead, and then the upstream PON port can determine that the second access mode adopted by the OLT PON port is GPON based on the registration information Upstream Overhead. Since the first access mode adopted by the upstream PON port is EPON after initialization, the first access mode does not match the second access mode, and it is necessary to switch the first access mode to the second access mode and re-initiate the registration process. 2) If the second access mode initialized by the downstream PON port of the main gateway after power-on is GPON, and the first access mode initialized by the ONU PON port after power-on is EPON, then: the registration information sent by the downstream port of the main gateway to the ONU PON port is Upstream Overhead, and the ONU PON port determines that the second access mode adopted by the downstream PON port of the main gateway is GPON based on the received Upstream Overhead registration information, which does not match the first access mode adopted by the ONU PON port, and then the EPON adopted by the ONU PON port can be switched to the GPON mode corresponding to the second access mode, and the registration process can be re-initiated.
需要说明的是,在OLT与主网关上联PON口交互的过程中,一般为上联PON口进行模式切换操作;而在下联PON口与ONU PON口交互的过程中,可以选择切换ONU PON口采用的接入模式,也可以选择切换下联PON口采用的接入模式,即在上述示例2)中,也可以选择将下联PON口采用的第二接入模式GPON切换为ONU PON口采用的第一接入模式EPON。还需要 说明的是,在光模块支持的情况下,主网关上联PON口和下联PON口可以采用不同的接入模式,彼此不互相干扰。还需要说明的是,上述根据注册信息进行模式切换的方案一般情况下适用于光模块为多模光模块的情况下。It should be noted that, in the process of interaction between the OLT and the uplink PON port of the main gateway, the mode switching operation is generally performed on the uplink PON port; and in the process of interaction between the downlink PON port and the ONU PON port, you can choose to switch the access mode adopted by the ONU PON port, or you can choose to switch the access mode adopted by the downlink PON port, that is, in the above example 2), you can also choose to switch the second access mode GPON adopted by the downlink PON port to the first access mode EPON adopted by the ONU PON port. It is noted that, if the optical module supports it, the uplink PON port and the downlink PON port of the main gateway can adopt different access modes without interfering with each other. It is also necessary to note that the above scheme of switching modes according to registration information is generally applicable to the case where the optical module is a multi-mode optical module.
在一个示例性实施例中,确定模块82,还设置为确定所述第一接入模式对应的第一工作波段,以及确定所述第二接入模式对应的第二工作波段;在所述第一工作波段和所述第二工作波段不一致的情况下,确定所述第一接入模式和所述第二接入模式不一致。In an exemplary embodiment, the determination module 82 is also configured to determine a first working band corresponding to the first access mode, and to determine a second working band corresponding to the second access mode; when the first working band and the second working band are inconsistent, it is determined that the first access mode and the second access mode are inconsistent.
需要说明的是,不同接入模式对应的工作波段可能不同,因此,可以通过确定第一接入模式和第二接入模式对应的工作波段是否相同,以确定第一接入模式和第二接入模式是否为同一接入模式。第一工作波段和第二工作波段相同,则第一接入模式和第二接入模式可能相同,但需要进一步确定,但第一工作波段和第二工作波段不同,则第一接入模式和第二接入模式一定不同,可以直接进行相应的PON口的模式切换。It should be noted that the working bands corresponding to different access modes may be different. Therefore, it is possible to determine whether the first access mode and the second access mode are the same access mode by determining whether the working bands corresponding to the first access mode and the second access mode are the same. If the first working band and the second working band are the same, then the first access mode and the second access mode may be the same, but further determination is required. However, if the first working band and the second working band are different, then the first access mode and the second access mode must be different, and the corresponding PON port mode switching can be performed directly.
示例性的,如果第一接入模式为GPON,则对应的第一工作波段为:上行波长1310nm、下行波长1490nm,而第二接入模式为XEPON非对称,对应的工作波段为:上行波长1270nm、下行波长1577nm,则可以确定第一工作波段和第二工作波段不一致,因此,第一接入模式和第二接入模式必定不一致,需要进行切换操作。For example, if the first access mode is GPON, the corresponding first working band is: upstream wavelength 1310nm, downstream wavelength 1490nm, and the second access mode is XEPON asymmetric, and the corresponding working band is: upstream wavelength 1270nm, downstream wavelength 1577nm. It can be determined that the first working band and the second working band are inconsistent. Therefore, the first access mode and the second access mode must be inconsistent, and a switching operation is required.
在一个示例性实施例中,所述装置还包括提示模块,设置为在所述第一工作波段和所述第二工作波段不一致的情况下,确定所述第一接入模式对应的第一光模块,以及所述第二接入模式对应的第二光模块;在所述第一光模块和所述第二光模块的模块类型均为单模光模块的情况下,向目标对象发送提示信息,其中,所述提示信息用于提示第一光模块的模块类型或所述第二光模块的模块类型选择错误。In an exemplary embodiment, the device also includes a prompt module, which is configured to determine a first optical module corresponding to the first access mode and a second optical module corresponding to the second access mode when the first working band and the second working band are inconsistent; when the module types of the first optical module and the second optical module are both single-mode optical modules, send a prompt message to the target object, wherein the prompt message is used to prompt that the module type of the first optical module or the module type of the second optical module is incorrectly selected.
在确定第一工作波段和第二工作波段不一致的情况下,如果OLT、主网关上联口、下联口、ONU所采用的接入模式对应的光模块均为单模光模块,由于单模光模块仅支持一种接入模式,则无法进行模式切换操作。可以选择向目标对象发送提示信息的方法,提示光模块类型选择错误。When it is determined that the first working band and the second working band are inconsistent, if the optical modules corresponding to the access modes adopted by the OLT, the main gateway uplink port, the downlink port, and the ONU are all single-mode optical modules, the mode switching operation cannot be performed because the single-mode optical module only supports one access mode. You can choose to send a prompt message to the target object to prompt that the optical module type selection is wrong.
目标对象一般是可以进行光模块替换操作的工作人员,也可以是用户。提示信息可以提示具体哪个PON口的光模块需要替换,并给出可选的替换方案,如:指示上联PON口光模块需要切换,并给出期望切换到的光模块类型、或者给出上联PON口需要切换到的接入模式,进而指示目标对象根据光模块类型,或通过需要切换到的接入模式确定出的光模块类型对上联PON口原接入的光模块进行替换操作。The target object is generally a staff member who can perform optical module replacement operations, or it can be a user. The prompt information can indicate which specific PON port optical module needs to be replaced, and provide optional replacement solutions, such as: indicating that the optical module of the upstream PON port needs to be switched, and providing the type of optical module to be switched to, or providing the access mode to which the upstream PON port needs to be switched, and then instructing the target object to replace the optical module originally connected to the upstream PON port according to the optical module type, or the optical module type determined by the access mode to be switched to.
在一个示例性实施例中,切换模块84,还设置为在所述第一工作波段和所述第二工作波段不一致的情况下,确定所述第一接入模式对应的第一光模块,以及所述第二接入模式对应的第二光模块;在所述第一光模块和所述第二光模块中的一个光模块为多模光模块,且另外一个光模块为单模光模块的情况下,确定采用所述多模光模块对应的目标PON口所采用的第三接入模式,以及确定所述单模光模块的第四接入模式;将所述目标PON口对应的所述第三接入模式切换为所述第四接入模式。In an exemplary embodiment, the switching module 84 is also configured to determine, when the first working band and the second working band are inconsistent, a first optical module corresponding to the first access mode and a second optical module corresponding to the second access mode; when one of the first optical module and the second optical module is a multi-mode optical module and the other optical module is a single-mode optical module, determine a third access mode adopted by the target PON port corresponding to the multi-mode optical module, and determine a fourth access mode of the single-mode optical module; and switch the third access mode corresponding to the target PON port to the fourth access mode.
在一个示例性实施例中,切换模块84,还设置为获取所述多模光模块允许支持的多种接 入模式;在确定所述多种接入模式中包括所述第四接入模式的情况下,将所述目标PON口采用的所述第三接入模式切换为所述第四接入模式。In an exemplary embodiment, the switching module 84 is further configured to obtain the multiple interfaces supported by the multi-mode optical module. access mode; when it is determined that the plurality of access modes include the fourth access mode, the third access mode adopted by the target PON port is switched to the fourth access mode.
即,在第一工作波段和第二工作波段不一致的情况下,如果第一接入模式和第二接入模式对应的光模块存在至少一个多模光模块的情况下,进一步确定采用多模光模块的目标PON口目前采用的第三接入模式、采用单模光模块的PON口所采用的第四接入模式,在多模光模块支持所述第四接入模式的情况下,将目标PON口当前采用的第三接入模式切换为第四接入模式。That is, when the first working band and the second working band are inconsistent, if there is at least one multi-mode optical module in the optical modules corresponding to the first access mode and the second access mode, the third access mode currently adopted by the target PON port using the multi-mode optical module and the fourth access mode adopted by the PON port using the single-mode optical module are further determined; when the multi-mode optical module supports the fourth access mode, the third access mode currently adopted by the target PON port is switched to the fourth access mode.
示例性的,可以设定条件为:在ONU PON口和主网关下联PON口之间进行接入模式切换,以统一ONU PON口和主网关下联PON口采用的接入模式,其中,ONU PON口采用支持GPON接入模式的单模光模块,下联PON口采用支持XGPON/GPON接入模式的多模光模块,则:Exemplarily, the condition may be set as follows: switching the access mode between the ONU PON port and the downstream PON port of the main gateway to unify the access modes adopted by the ONU PON port and the downstream PON port of the main gateway, wherein the ONU PON port adopts a single-mode optical module supporting the GPON access mode, and the downstream PON port adopts a multi-mode optical module supporting the XGPON/GPON access mode, then:
在ONU PON口的第一接入模式为GPON,下联PON口的第二接入模式为XGPON的情况下,由于GPON采用的工作波段为上行波长1310nm、下行波长1490nm,而XGPON采用的工作波段为上行波长1270nm、下行波长1577nm,则ONU PON口和下联PON口采用的接入模式的工作波段不一致,进而第一接入模式和第二接入模式不一致。此时确定ONU PON口和下联PON口是否为采用了一个单模光模块和一个多模光模块。进而XGPON/GPON光模块即为多模光模块、下联PON口即为目标PON口,下联PON口采用的XGPON即确定为第三接入模式,ONU PON口采用的GPON即为第四接入模式,由于下联PON口采用的多模光模块XGPON/GPON光模块同样支持第四接入模式GPON,则将第三接入模式切换为第四接入模式。When the first access mode of the ONU PON port is GPON and the second access mode of the downstream PON port is XGPON, since the working bands of GPON are 1310nm for upstream wavelength and 1490nm for downstream wavelength, and 1270nm for upstream wavelength and 1577nm for downstream wavelength, the working bands of the access modes adopted by the ONU PON port and the downstream PON port are inconsistent, and thus the first access mode and the second access mode are inconsistent. At this time, it is determined whether the ONU PON port and the downstream PON port use a single-mode optical module and a multi-mode optical module. Then, the XGPON/GPON optical module is a multi-mode optical module, the downstream PON port is the target PON port, the XGPON adopted by the downstream PON port is determined as the third access mode, and the GPON adopted by the ONU PON port is the fourth access mode. Since the multi-mode optical module XGPON/GPON optical module adopted by the downstream PON port also supports the fourth access mode GPON, the third access mode is switched to the fourth access mode.
在一个示例性实施例中,所述装置还包括发送模块,设置为在检测到所述OLT PON口和/或所述下联PON口接收到模式切换指令的情况下,向所述上联PON口和/或所述ONU PON口发送目标信令,其中,所述目标信令包括:物理层操作管理和维护PLOAM消息,或者ONU管理与控制接口OMCI消息;所述目标信令中携带有所述OLT PON口和/或所述下联PON口期望切换的第五接入模式。In an exemplary embodiment, the device also includes a sending module, which is configured to send target signaling to the upstream PON port and/or the ONU PON port when it is detected that the OLT PON port and/or the downstream PON port receives a mode switching instruction, wherein the target signaling includes: a physical layer operation administration and maintenance PLOAM message, or an ONU management and control interface OMCI message; the target signaling carries a fifth access mode to which the OLT PON port and/or the downstream PON port expects to switch.
可选的,在注册认证后,如果确定第一接入模式和第二接入模式不一致,则:可以通过手机APP、网管、NFC或者Web页面等方式主动发起模式切换。可选地,可以选择将模式切换指令发送到OLT PON口和/或下联PON口。模式切换指令可以是物理层操作管理和维护PLOAM消息,或者ONU管理与控制接口OMCI消息,用于指示OLT PON口和/或下联PON口期望上联PON口和/或ONU PON口切换到的第五接入模式。需要说明的是:物理层操作管理和维护(Physical Layer Operations,Administration and Maintenance,简称为PLOAM);ONU管理与控制接口(ONU Management and Control Interface,简称为OMCI)。Optionally, after registration and authentication, if it is determined that the first access mode and the second access mode are inconsistent, then: the mode switch can be actively initiated through a mobile phone APP, network management, NFC or web page. Optionally, the mode switching instruction can be sent to the OLT PON port and/or the downstream PON port. The mode switching instruction can be a physical layer operation, administration and maintenance PLOAM message, or an ONU management and control interface OMCI message, which is used to indicate that the OLT PON port and/or the downstream PON port expects the upstream PON port and/or the ONU PON port to switch to the fifth access mode. It should be noted that: Physical Layer Operations, Administration and Maintenance (PLOAM); ONU Management and Control Interface (OMCI).
在一个示例性实施例中,切换模块84,还设置为通过所述上联PON口和/或所述ONU PON口解析所述目标信令,以获取所述第五接入模式;确定所述上联PON口和/或所述ONU PON口当前采用的第六接入模式;在确定所述上联PON口和/或所述ONU PON口支持所述第五接入模式的情况下,将所述第六接入模式切换为所述第五接入模式;在确定所述上联PON口和/或所述ONU PON口不支持所述第五接入模式的情况下,通过所述上联PON口和/或所述ONU PON口向所述OLT PON口和/或所述下联PON口发送反馈信令,其中,所述反馈信令包括:所述反馈信令中携带有所述上联PON口和/或所述ONU PON口支持的多个接入模式和所述第六接入模式。 In an exemplary embodiment, the switching module 84 is further configured to parse the target signaling through the upstream PON port and/or the ONU PON port to obtain the fifth access mode; determine the sixth access mode currently adopted by the upstream PON port and/or the ONU PON port; when it is determined that the upstream PON port and/or the ONU PON port support the fifth access mode, switch the sixth access mode to the fifth access mode; when it is determined that the upstream PON port and/or the ONU PON port do not support the fifth access mode, send feedback signaling to the OLT PON port and/or the downstream PON port through the upstream PON port and/or the ONU PON port, wherein the feedback signaling includes: the feedback signaling carries multiple access modes supported by the upstream PON port and/or the ONU PON port and the sixth access mode.
可选的,上联PON口和/或ONU PON口在接收到模式切换指令的情况下,解析所述模式切换指令,进而获取所述OLT PON口和/或下联PON口通过所述模式切换指令指示的期望切换到的接入模式,即第五接入模式。此外,上联PON口和/或ONU PON口还需要确定自身当前采用的第六接入模式。进而1)确定所述上联PON口和/或ONU PON口采用的光模块为多模光模块,并且也支持第五接入模式的情况下,将第六接入模式切换为第五接入模式。2)在检测到所述上联PON口和/或ONU PON口采用的光模块为单模光模块的情况下,发送反馈告知信令,反馈告知信令携带有上联PON口和/或ONU PON口支持的所述第六接入模式。OLT和/或下联口可以根据收到的反馈告知信令决定是否切换自身当前采用的第五接入模式,或者告知目标对象上联PON口和/或ONU PON口采用的光模块为单模光模块。3)在确定所述上联PON口和/或ONU PON口采用的光模块为多模光模块,但不支持第五接入模式的情况下,上联PON口和/或所述ONU PON口向所述OLT PON口和/或所述下联PON口发送反馈信令,反馈信令包括上联PON口和/或所述ONU PON口支持的全部接入模式(即能力集)和当前采用的第六接入模式。进一步的,所述OLT PON口和/或所述下联PON口接收到反馈信令的情况下,可以从反馈信令中解析出所述上联PON口和/或ONU PON口的能力集,进而从所述能力集中确定出所述上联PON口和/或ONU PON口可以切换到的第七接入模式;基于所述第七接入模式发送模式切换指令到上联PON口和/或ONU PON口,以使得上联PON口和/或ONU PON口将第六接入模式切换为第七接入模式。Optionally, when the upstream PON port and/or ONU PON port receives a mode switching instruction, it parses the mode switching instruction, and then obtains the access mode that the OLT PON port and/or downstream PON port is expected to switch to as indicated by the mode switching instruction, that is, the fifth access mode. In addition, the upstream PON port and/or ONU PON port also needs to determine the sixth access mode currently adopted by itself. Then 1) when it is determined that the optical module used by the upstream PON port and/or ONU PON port is a multi-mode optical module and also supports the fifth access mode, the sixth access mode is switched to the fifth access mode. 2) When it is detected that the optical module used by the upstream PON port and/or ONU PON port is a single-mode optical module, feedback notification signaling is sent, and the feedback notification signaling carries the sixth access mode supported by the upstream PON port and/or ONU PON port. The OLT and/or the downlink port can decide whether to switch to the fifth access mode currently adopted by itself according to the received feedback notification signaling, or inform the target object that the optical module adopted by the uplink PON port and/or the ONU PON port is a single-mode optical module. 3) When it is determined that the optical module adopted by the uplink PON port and/or the ONU PON port is a multi-mode optical module, but does not support the fifth access mode, the uplink PON port and/or the ONU PON port sends feedback signaling to the OLT PON port and/or the downlink PON port, and the feedback signaling includes all access modes (i.e., capability sets) supported by the uplink PON port and/or the ONU PON port and the sixth access mode currently adopted. Furthermore, when the OLT PON port and/or the downstream PON port receives feedback signaling, the capability set of the upstream PON port and/or the ONU PON port can be parsed from the feedback signaling, and then the seventh access mode to which the upstream PON port and/or the ONU PON port can be switched can be determined from the capability set; based on the seventh access mode, a mode switching instruction is sent to the upstream PON port and/or the ONU PON port, so that the upstream PON port and/or the ONU PON port switches the sixth access mode to the seventh access mode.
基于上述实施例,注册认证后,主动进行接入模式切换的过程如图4、5所示,OLT和/或MFU发送模式切换指令到MFU和/或SFU,以指示MFU和/或SFU进行接入模式切换,并可以请求MFU和/或SFU上报自身能力集。如果MFU和/或SFU可以基于模式切换指令切换当前采用的接入模式,则进行接入模式切换,并向OLT和/或MFU反馈MFU和/或SFU当前采用的接入模式、MFU和/或SFU的能力集、以及MFU和/或SFU可以切换到模式切换指令指示的接入模式;如果MFU和/或SFU接入的光模块不支持模式切换指令所指示的待切换到的接入模式,则MFU和/或SFU发送反馈信令到OLT和/或MFU,反馈信令包括MFU和/或SFU的能力集、当前采用的接入模式。Based on the above embodiment, after registration and authentication, the process of actively switching the access mode is shown in Figures 4 and 5. The OLT and/or MFU sends a mode switching instruction to the MFU and/or SFU to instruct the MFU and/or SFU to switch the access mode, and can request the MFU and/or SFU to report its own capability set. If the MFU and/or SFU can switch the currently used access mode based on the mode switching instruction, the access mode is switched, and the access mode currently used by the MFU and/or SFU, the capability set of the MFU and/or SFU, and the access mode that the MFU and/or SFU can switch to indicated by the mode switching instruction are fed back to the OLT and/or MFU; if the optical module accessed by the MFU and/or SFU does not support the access mode to be switched to indicated by the mode switching instruction, the MFU and/or SFU sends feedback signaling to the OLT and/or MFU, and the feedback signaling includes the capability set of the MFU and/or SFU and the currently used access mode.
需要说明的是,模式切换指令可以是物理层操作管理和维护PLOAM消息,或者ONU管理与控制接口OMCI消息,反馈信令、反馈告知信令也可以是物理层操作管理和维护PLOAM消息,或者ONU管理与控制接口OMCI消息。It should be noted that the mode switching instruction can be a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message, and the feedback signaling and feedback notification signaling can also be a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message.
在一个示例性实施例中,确定模块82,还设置为确定主网关的上联PON口和/或所述ONU PON口接入的第一光模块,以及确定所述OLT PON口和/或所述下联PON口接入的第二光模块,其中,所述第一光模块支持的接入模式包括第一接入模式,所述第二光模块支持的接入模式包括第二接入模式;根据所述第一光模块确定所述上联PON口和/或所述ONU PON口采用所述第一接入模式,以及根据所述第二光模块确定所述OLT PON口和/或所述下联PON口采用所述第二接入模式。In an exemplary embodiment, the determination module 82 is further configured to determine the first optical module to which the upstream PON port of the main gateway and/or the ONU PON port is connected, and to determine the second optical module to which the OLT PON port and/or the downstream PON port is connected, wherein the access modes supported by the first optical module include the first access mode, and the access modes supported by the second optical module include the second access mode; it is determined that the upstream PON port and/or the ONU PON port adopts the first access mode according to the first optical module, and it is determined that the OLT PON port and/or the downstream PON port adopts the second access mode according to the second optical module.
可以理解的是,上联PON口和/或ONU PON口接入的第一光模块所支持的全部接入模式包括上联PON口和/或ONU PON口当前采用的第一接入模式,OLT PON口和/或所述下联PON口接入的第二光模块所支持的全部接入模式包括OLT PON口和/或所述下联PON口当前采用的第 二接入模式。进而可以根据第一光模块和第二光模块确定第一接入模式和第二接入模式。可选的,在第一光模块和第二光模块均为单模光模块的情况下,可以直接根据单模光模块支持的接入模式确定当前接入模式。可选的,硬件层需要能够识别上联PON口和/或ONU PON口,以及OLT PON口和/或所述下联PON口接入的光模块各自所支持的接入模式,并通知到软件层。It can be understood that all access modes supported by the first optical module accessed by the uplink PON port and/or the ONU PON port include the first access mode currently adopted by the uplink PON port and/or the ONU PON port, and all access modes supported by the second optical module accessed by the OLT PON port and/or the downlink PON port include the second access mode currently adopted by the OLT PON port and/or the downlink PON port. Second access mode. The first access mode and the second access mode can then be determined based on the first optical module and the second optical module. Optionally, when the first optical module and the second optical module are both single-mode optical modules, the current access mode can be directly determined based on the access mode supported by the single-mode optical module. Optionally, the hardware layer needs to be able to identify the access modes supported by the optical modules accessed by the uplink PON port and/or the ONU PON port, and the OLT PON port and/or the downlink PON port, and notify the software layer.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个可读存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment 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 readable storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present disclosure.
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the above-mentioned computer-readable storage medium may include, but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
本公开的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
S1,确定主网关的上联无源光纤网络PON口和/或光网络单元ONU PON口采用的第一接入模式,以及确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式;S1, determining a first access mode adopted by an uplink passive optical fiber network PON port and/or an optical network unit ONU PON port of a main gateway, and determining a second access mode adopted by an optical network terminal OLT PON port and/or a downlink PON port of a main gateway;
S2,在确定所述第一接入模式和所述第二接入模式不一致的情况下,将所述第一接入模式切换为所述第二接入模式。S2: When it is determined that the first access mode and the second access mode are inconsistent, switch the first access mode to the second access mode.
在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In an exemplary embodiment, the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
可选地,在本实施例中,上述电子装置还可以被设置为通过计算机程序执行上述步骤S1,确定主网关的上联无源光纤网络PON口和/或光网络单元ONU PON口采用的第一接入模式,以及确定光网络终端OLT PON口和/或主网关的下联PON口采用的第二接入模式;S2,在确定所述第一接入模式和所述第二接入模式不一致的情况下,将所述第一接入模式切换为所述第二接入模式。Optionally, in this embodiment, the above-mentioned electronic device can also be configured to execute the above-mentioned step S1 through a computer program, determine the first access mode adopted by the uplink passive optical fiber network PON port and/or the optical network unit ONU PON port of the main gateway, and determine the second access mode adopted by the optical network terminal OLT PON port and/or the downlink PON port of the main gateway; S2, when it is determined that the first access mode and the second access mode are inconsistent, switch the first access mode to the second access mode.
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者 将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the modules or steps of the present disclosure described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by program codes executable by the computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than herein, or They are made into individual integrated circuit modules respectively, or multiple modules or steps therein are made into a single integrated circuit module for implementation. Thus, the present disclosure is not limited to any specific combination of hardware and software.
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。 The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.
Claims (12)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310516635.6 | 2023-05-08 | ||
| CN202310516635.6A CN116546351A (en) | 2023-05-08 | 2023-05-08 | Access mode switching method and device, storage medium and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024230211A1 true WO2024230211A1 (en) | 2024-11-14 |
Family
ID=87444799
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/070673 Pending WO2024230211A1 (en) | 2023-05-08 | 2024-01-04 | Access mode switching method and device, storage medium, and electronic device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN116546351A (en) |
| WO (1) | WO2024230211A1 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116546351A (en) * | 2023-05-08 | 2023-08-04 | 中兴通讯股份有限公司 | Access mode switching method and device, storage medium and electronic device |
| CN119402078A (en) * | 2023-09-15 | 2025-02-07 | 华为技术有限公司 | A method, device and system for allocating delay indication information |
| CN119922436A (en) * | 2023-10-30 | 2025-05-02 | 华为技术有限公司 | Resource allocation method and device for passive optical network system |
| CN120111396A (en) * | 2023-12-06 | 2025-06-06 | 锐捷网络股份有限公司 | Method, device, optical module and electronic device for switching working mode of user equipment |
| CN119094127B (en) * | 2024-09-30 | 2025-07-15 | 烽火通信科技股份有限公司 | Encryption algorithm dynamic negotiation method, device, equipment and readable storage medium |
| CN119697035B (en) * | 2024-12-16 | 2025-09-19 | 烽火通信科技股份有限公司 | Gateway bandwidth self-adaption method, main gateway, sub-gateway and system |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103281117A (en) * | 2013-05-29 | 2013-09-04 | 烽火通信科技股份有限公司 | ONU automatic detection and EPON-and-GPON-adaptation method and device |
| US20170063462A1 (en) * | 2013-12-13 | 2017-03-02 | Huawei Technologies Co., Ltd. | Optical line terminal, communications method, and passive optical network system |
| CN112788441A (en) * | 2019-11-08 | 2021-05-11 | 中兴通讯股份有限公司 | Mode control method, device, storage medium and equipment of optical network unit |
| CN114531622A (en) * | 2020-10-30 | 2022-05-24 | 华为技术有限公司 | Multi-stage PON (passive optical network) management method and related device |
| CN115209250A (en) * | 2022-07-19 | 2022-10-18 | 烽火通信科技股份有限公司 | Method and device for OLT to manage edge ONT through multiple channels |
| CN116546351A (en) * | 2023-05-08 | 2023-08-04 | 中兴通讯股份有限公司 | Access mode switching method and device, storage medium and electronic device |
-
2023
- 2023-05-08 CN CN202310516635.6A patent/CN116546351A/en active Pending
-
2024
- 2024-01-04 WO PCT/CN2024/070673 patent/WO2024230211A1/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103281117A (en) * | 2013-05-29 | 2013-09-04 | 烽火通信科技股份有限公司 | ONU automatic detection and EPON-and-GPON-adaptation method and device |
| US20170063462A1 (en) * | 2013-12-13 | 2017-03-02 | Huawei Technologies Co., Ltd. | Optical line terminal, communications method, and passive optical network system |
| CN112788441A (en) * | 2019-11-08 | 2021-05-11 | 中兴通讯股份有限公司 | Mode control method, device, storage medium and equipment of optical network unit |
| CN114531622A (en) * | 2020-10-30 | 2022-05-24 | 华为技术有限公司 | Multi-stage PON (passive optical network) management method and related device |
| CN115209250A (en) * | 2022-07-19 | 2022-10-18 | 烽火通信科技股份有限公司 | Method and device for OLT to manage edge ONT through multiple channels |
| CN116546351A (en) * | 2023-05-08 | 2023-08-04 | 中兴通讯股份有限公司 | Access mode switching method and device, storage medium and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116546351A (en) | 2023-08-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2024230211A1 (en) | Access mode switching method and device, storage medium, and electronic device | |
| US10389472B2 (en) | Optical line terminal communication method and device with data structure | |
| CN103650422B (en) | Wavelength negotiation method, system, and device for multi-wavelength passive optical network | |
| JP6445706B2 (en) | Communication method, apparatus, and system applied to multi-wavelength passive optical network | |
| EP2999167B1 (en) | Method and device for virtualization passive optical network and passive optical network virtualization system | |
| EP4216567B1 (en) | Networking method and apparatus for passive optical network | |
| US20180199119A1 (en) | Passive optical network communications method and apparatus, and system | |
| US20170155449A1 (en) | Service Processing Method and Apparatus and Optical Line Terminal | |
| WO2017101438A1 (en) | Bandwidth scheduling method, onu registration method, device and olt | |
| WO2025103372A1 (en) | Communication method for master device and slave device for fiber to the room (fttr), and storage medium and electrode apparatus | |
| WO2012090323A1 (en) | Method of managing logical link and communication device | |
| CN105830369B (en) | Ethernet passive optical network devices in system is registered and the method and apparatus of wavelength switching | |
| WO2015100534A1 (en) | Ethernet passive optical network communication method, device and system | |
| EP4040746A1 (en) | Passive optical network-based communication method, related device, and system | |
| WO2017215438A1 (en) | Service activating method, device and system, and storage medium | |
| CN102055598A (en) | Method and system for realizing point-to-multipoint OAM of 802.3ah protocol | |
| CN116584078B (en) | Method and apparatus for mobile communication system | |
| CN106464385B (en) | Communication method, device and system | |
| CN101605281B (en) | Method for communication between multiple processors in passive optical network equipment | |
| CN113395614B (en) | Passive optical network system and data transmission method | |
| TW202533590A (en) | Communication method and apparatus, and passive optical network system | |
| JP2009278177A (en) | Communication control method |
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: 24802500 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |