Access mode switching method and device, storage medium, and electronic device
By determining and switching the access mode of the main gateway and optical network unit ONU and the access mode of the optical network terminal OLT in the FTTR system, the technical problems of switching multiple PON modes in the FTTR system are solved, and the compatibility of the FTTR system is realized. Increased scalability and reduced costs.
Patent Information
- Application Number
- PCT/CN2024/070673
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-08
- Filing Date
- 2024-01-04
- Publication Date
- 2024-11-14
AI Technical Summary
The FTTR master gateway and slave gateway cannot switch between multiple PON modes, resulting in the inability to meet the requirements of high-speed Wi-Fi without blind spot coverage.
By determining whether the access mode of the main gateway and the optical network unit ONU are consistent with the access mode of the optical network terminal OLT, if it is inconsistent, it will switch to the consistent mode, so that automatic or active switching of multiple PON modes can be achieved.
It solves the technical problems of switching PON modes in the FTTR system, improves the compatibility and scalability of the FTTR system, reduces the procurement and maintenance costs of operator equipment, and improves the resource utilization efficiency of communication equipment.
Smart Images

Figure CN2024070673_14112024_PF_FP_ABST
Abstract
Description
Access mode switching method, device, storage medium and electronic device
[0001] This disclosure claims priority to 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 of which are incorporated by reference in this disclosure. Technical Field
[0002] 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. Background Art
[0003] In a 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-capable 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 (10-Gigabit-capable Symmetric Passive Optical Networks, referred to as XGSPON), 40G passive optical network equipment (40-Gigabit-capable Passive Optical Networks, referred to as NGPON2) and the 50G passive optical network equipment currently under research (50G These passive optical network systems typically include optical line terminals (OLTs), optical distribution networks (ODNs), and optical network units (ONUs). With the continuous development of optical networks, fiber to the home (FTTH) has been fully deployed, and its terminal product, the ONU, has also gained widespread application. However, traditional networking solutions suffer from limited transmission rates due to network cables and the weakening of Wi-Fi signals by load-bearing walls, resulting in severe degradation in signal quality and speed, making it impossible to achieve full-home high-speed Wi-Fi coverage. The FTTR networking solution, however, utilizes a single master gateway paired with one or more slave gateways. The master and slave gateways are connected by optical fiber, offering enhanced data transmission, interference resistance, and a longer lifespan, enabling true full-home high-speed Wi-Fi coverage without blind spots.
[0004] In a passive optical network system, different modes of passive optical network (PON) access technology have different upstream and downstream wavelengths and rates. The specific differences are shown in Table 1 below:
[0005] Table 1
[0006] For example, FIG1 is a schematic diagram of wavelengths of PON access technologies in different modes.
[0007] As shown in Figure 1, GPON and EPON ONUs operate in the 1310nm upstream and 1490nm downstream bands; XEPON (symmetric and asymmetric), XGPON, and XGSPON ONUs operate in the 1270nm upstream and 1577nm downstream bands; NGPON2 ONUs operate in the 1532.68-1538.19nm upstream and 1596.34-1602.31nm downstream bands (a maximum of eight upstream and downstream bands); 50G PON operates in the λ1nm upstream and β1nm downstream bands; and 200G PON operates in the λ2nm upstream and β2nm downstream bands.
[0008] The cost of the main gateway equipment for completing FTTR networking is relatively high. 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.
[0009] Regarding the problem in related technologies that, in actual FTTR applications, the FTTR master gateway and the slave gateway cannot implement switching between multiple PON modes, no effective solution has been proposed yet.
[0010] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology.
[0011] Summary of the Invention
[0012] The embodiments of the present disclosure provide a method, device, storage medium, and electronic device for switching access modes to at least solve the problem in related technologies that FTTR master gateways and slave gateways cannot implement switching between multiple PON modes.
[0013] According to one aspect of an embodiment of the present disclosure, a method for switching an access mode is provided, including: 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.
[0014] According to another aspect of the embodiment of the present disclosure, an access mode switching device is also provided, 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 a 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.
[0015] 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. The computer program is configured to execute the above-mentioned access mode switching method when running.
[0016] 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.
[0017] Through the present disclosure, 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 master gateway, and determining the second access mode adopted by the optical network terminal OLT PON port and / or the downlink PON port of the master gateway, it is further determined whether the first access mode and the second access mode are consistent. If 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. In other words, 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. This solves the technical problem in the related art that the FTTR master gateway and the slave gateway cannot achieve switching between multiple PON modes. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] 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 of the present disclosure. In the drawings:
[0019] FIG1 is a schematic diagram of wavelengths of PON access technologies of different modes in the related art;
[0020] FIG2 is a hardware structure block diagram of a computer terminal according to an access mode switching method according to an embodiment of the present disclosure;
[0021] FIG3 is a flow chart (I) of a method for switching an access mode according to an embodiment of the present disclosure;
[0022] FIG4 is a schematic diagram of active switching of the access mode switching method according to an embodiment of the present disclosure (I);
[0023] FIG5 is a schematic diagram of active switching of the access mode switching method according to an embodiment of the present disclosure (II);
[0024] FIG6 is a flowchart (II) of a method for switching an access mode according to an embodiment of the present disclosure;
[0025] FIG7 is a flowchart (III) of a method for switching an access mode according to an embodiment of the present disclosure;
[0026] FIG8 is a structural block diagram of a device for switching access modes according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the solutions of the present disclosure, the technical solutions 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 embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present disclosure.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way are 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 variations thereof 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 clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] The method embodiments provided in the embodiments of the present disclosure can be executed in a computer terminal or a similar computing device. Taking operation 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 will 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 functions as those shown in FIG2 or more functions than those shown in FIG2 .
[0030] The memory 204 can 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, implementing the above-mentioned 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 located 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.
[0031] Transmission device 206 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by a communications provider of a computer terminal. In one embodiment, transmission device 206 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, transmission device 206 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.
[0032] 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 method includes the following steps:
[0033] Step S302: determining a first access mode adopted by an uplink passive optical network PON port and / or an optical network unit ONU PON port of a master gateway, and determining a second access mode adopted by an optical network terminal OLT PON port and / or a downlink PON port of a master gateway.
[0034] It should be noted that, under normal circumstances, the OLT PON port corresponds to the uplink PON port, and the downlink PON port corresponds to the ONU PON port. The corresponding PON ports exchange 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.
[0035] Step S304: 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.
[0036] The disclosed embodiment, through the above steps, determines the first access mode adopted by the uplink passive optical network (PON) port and / or optical network unit (ONU) PON port of the master gateway, and determines the second access mode adopted by the optical network terminal (OLT) PON port and / or the downlink PON port of the master gateway; further determines whether the first access mode and the second access mode are consistent; if the first access mode and the second access mode are inconsistent, the first access mode is switched to the second access mode. In other words, 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 FTTR master and slave gateways cannot switch between multiple PON modes.
[0037] In an exemplary embodiment, determining the second access mode adopted by the optical network terminal OLT PON port and / or the downlink PON port of the main gateway includes: when the uplink PON port and / or the ONU PON port receives registration information sent by the OLT PON port and / or the downlink PON port, determining the second access mode according to the registration information.
[0038] It should be noted that the OLT typically performs interactive authentication on a newly connected master gateway using PLOAM or MPCP messages. The master gateway also typically performs interactive authentication on a newly connected slave gateway (which can be equivalent to the ONU in the above embodiment) using PLOAM or MPCP messages. Therefore, the PLOAM or MPCP message can be the registration information. Because different PON technical standards define PLOAM or MPCP messages differently, the second access mode currently used by the OLT PON port and / or downlink PON port can be determined based on the registration information sent from the OLT PON port and / or downlink PON port of the master gateway to the uplink PON port and / or ONU PON port. Among these, Physical Layer Operations, Administration, and Maintenance (PLOAM) and Multi-Point Control Protocol (MPCP) are also referred to.
[0039] Exemplarily, the OLT, the uplink port, the downlink port, and the ONU all support GPON / EPON working modes, wherein the registration information in the form of PLOAM or MPCP messages corresponding to GPON is Upstream Overhead PLOAM message, and the registration information in the form of PLOAM or MPCP messages 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: if the second access mode is GPON, 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 based on 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 after initialization is EPON, the first access mode and the second access mode do not match, and the first access mode needs to be switched to the second access mode and the registration process needs to be reinitiated. 2) If the second access mode adopted by the downstream PON port of the main gateway after power-on is GPON, and the first access mode adopted 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. Based on the received Upstream Overhead registration information, the ONU PON port determines that the second access mode adopted by the downstream PON port of the main gateway is GPON, which does not match the first access mode adopted by the ONU PON port. Therefore, 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 reinitiated.
[0040] 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 switching modes according to registration information is generally applicable to the case where the optical module is a multi-mode optical module.
[0041] 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.
[0042] 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 confirmation 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 mode switching of the corresponding PON port can be performed directly.
[0043] 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.
[0044] Optionally, after determining the first operating band and the second operating band, the following solutions are included:
[0045] 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.
[0046] If the first and second operating bands are determined to be inconsistent, and the optical modules corresponding to the access modes used by the OLT, the main gateway's uplink port, the downlink port, and the ONU are all single-mode optical modules, the mode switching operation cannot be performed because single-mode optical modules only support one access mode. You can choose to send a prompt message to the target device, indicating that the optical module type selection is incorrect.
[0047] The target user is typically a staff member who can perform optical module replacement operations, or it can be a user. The prompt information can indicate which PON port's 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 desired optical module type, or providing the access mode to which the upstream PON port needs to be switched. This instructs the target user to replace the optical module originally connected to the upstream PON port based on the optical module type or the optical module type determined by the access mode to be switched.
[0048] 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: 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 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.
[0049] 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.
[0050] 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. If 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.
[0051] Exemplarily, a condition can be set as follows: switching the access mode between the ONU PON port and the downlink PON port of the main gateway to unify the access modes used by the ONU PON port and the downlink PON port of the main gateway, wherein the ONU PON port uses a single-mode optical module that supports the GPON access mode, and the downlink PON port uses a multi-mode optical module that supports 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 downlink PON port is XGPON, since the operating band used by GPON is an upstream wavelength of 1310nm and a downstream wavelength of 1490nm, and the operating band used by XGPON is an upstream wavelength of 1270nm and a downstream wavelength of 1577nm, the operating bands of the access modes used by the ONU PON port and the downlink 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 downlink 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 to be 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.
[0052] In an exemplary embodiment, before switching the first access mode to the second access mode, the method further includes: when detecting that the OLT PON port and / or the downlink PON port receives a mode switching instruction, sending target signaling to the uplink 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 the fifth access mode to which the OLT PON port and / or the downlink PON port expects to switch.
[0053] 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 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 downlink 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 the fifth access mode that the OLT PON port and / or the downlink PON port expects the uplink PON port and / or the ONU PON port to switch to. It should be noted that: Physical Layer Operations, Administration and Maintenance (PLOAM for short); ONU Management and Control Interface (OMCI for short).
[0054] 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.
[0055] Optionally, when the uplink 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 downlink PON port desires to switch to as indicated by the mode switching instruction, i.e., the fifth access mode. In addition, the uplink 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 adopted by the uplink 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 adopted by the uplink 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 uplink PON port and / or ONU PON port. The OLT and / or downlink port may decide whether to switch to the fifth access mode currently used by itself, or notify the target object's uplink PON port and / or ONU PON port that the optical module used is a single-mode optical module based on the received feedback notification signaling. 3) If it is determined that the optical module used by the uplink PON port and / or 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 currently used sixth access mode. Furthermore, when the OLT PON port and / or the downlink PON port receives feedback signaling, the capability set of the uplink PON port and / or the ONU PON port can be parsed from the feedback signaling, and then the seventh access mode to which the uplink 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 uplink PON port and / or the ONU PON port, so that the uplink PON port and / or the ONU PON port switches the sixth access mode to the seventh access mode.
[0056] 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 as 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.
[0057] It should be noted that: Single Family Unit (SFU) and Multi Family Unit (MFU).
[0058] 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.
[0059] In an exemplary embodiment, 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, includes: determining a first optical module accessed by the uplink 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 downlink 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 uplink PON port and / or the ONU PON port adopts the first access mode according to the first optical module, and determining that the OLT PON port and / or the downlink PON port adopts the second access mode according to the second optical module.
[0060] It can be understood that all access modes supported by the first optical module connected to 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 connected to 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. 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 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 uplink PON port and / or the ONU PON port, and the optical modules connected to the OLT PON port and / or the downlink PON port, and notify the software layer.
[0061] Next, the access mode switching method will be further described in conjunction with the following embodiments.
[0062] An optional embodiment of the present disclosure provides a method for switching the access mode of an 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 upper and lower PON port capability sets are collected and reported through PLOAM or OMCI message interaction, and the PON port is switched according to the PON mode of the upper and lower devices, thereby achieving wide compatibility of the FTTR main gateway with existing PON standards and scalability for future evolution.
[0063] Specifically, in order to solve the technical problem in the related art that the FTTR master gateway and the slave gateway cannot implement switching of multiple PON modes, the present disclosure provides the following solutions according to the embodiments, including:
[0064] 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.
[0065] It should be noted that there are differences in the optical modules that match different PON access technologies. Although there are optical modules such as GPON / XGPON combined at this stage, due to reasons such as manufacturing costs, 4-mode or even more-mode combined 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 uplink PON port and the downlink PON port, and notify the software layer.
[0066] For example: 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 is notified to register the master gateway in XGPON mode and the slave gateway in XGPON or GPON mode;
[0067] 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 is notified to register the master gateway in XGPON or GPON mode and the slave gateway in EPON mode;
[0068] 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;
[0069] 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 main gateway uplink and downlink PON ports, and the ONU PON port in turn after power-on. When the OLT PON port and the main gateway uplink PON port are both single-mode optical modules and the bands are inconsistent, the main gateway registration process is stopped and the staff is notified that the main gateway and OLT modes do not match; when the downlink 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 main 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 main gateway uplink and downlink PON ports, and the ONU PON port.
[0070] Furthermore, when the OLT PON port and the main gateway uplink PON port have the same band and both are multi-mode optical modules, and the downlink PON port and ONU PON have the same band and both are 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.
[0071] Regarding identification based on registration authentication information:
[0072] It should be noted that the OLT usually performs interactive authentication on the newly connected master gateway in the form of PLOAM or MPCP messages, and the master gateway also usually performs interactive authentication on the newly connected slave gateway in the form of PLOAM or MPCP messages. Since different PON technical standards have different definitions of PLOAM or MPCP messages (defined as "registration information" in this disclosure), these differences can be used to identify the current access mode. The registration information of different PON access technologies is shown in Table 2 below:
[0073] Table 2
[0074] After the initial identification and matching of the 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 so, the registration process continues; if not, it switches to the PON mode that matches the registration information and re-initiates the registration process.
[0075] For example, taking GPON and EPON switching as an example, it is assumed that the OLT, the uplink port, the downlink port, and the slave gateway all support both GPON and EPON working modes.
[0076] (1) Switching the uplink port of the main gateway
[0077] 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 secondary 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, the working mode of the main gateway uplink port is switched to GPON, the registration process is reinitiated, and the Upstream Overhead message sent by the OLT is received and the registration process is continued.
[0078] (2) Switching the downlink port of the main gateway
[0079] When the OLT access mode is GPON, the initialization mode of the main gateway uplink port is GPON after power-on, and the initialization mode of the slave gateway is EPON after power-on. After the main gateway uplink port is initialized, it receives the Upstream Overhead message sent by the OLT and continues the registration process. If the initialization mode of the main gateway downlink port is GPON after power-on, and the Upstream Overhead message sent by the main gateway downlink port is not detected after the slave gateway PON port is initialized, the working mode of the main gateway downlink port is switched to EPON, and the registration process is reinitiated. After the initialization is completed again, the Discovery Gate message is detected and the registration process continues.
[0080] (3) Switching from the gateway
[0081] When the OLT access mode is GPON, the initialization mode of the main gateway uplink port is GPON after power-on, and the initialization mode of the slave gateway is EPON after power-on. 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, the slave gateway cannot detect the Discovery Gate message sent by the main gateway after initialization, switches the slave gateway working mode to GPON, and re-initiates the registration process; after the initialization is completed again, it detects the Upstream Overhead message and continues the registration process.
[0082] 2. Active switching method: After registration and online, the OLT and the main gateway uplink PON port, the main gateway downlink PON port and the ONU active mode switching method.
[0083] In addition to the aforementioned automatic negotiation mode switching method during the registration and authentication phase, after registration and online, mode switching can be initiated proactively through a mobile app, network management, NFC, or web interface. This involves sending PLOAM messages to implement active switching between master and slave gateway modes. To achieve this, a series of PLOAM messages must be designed to ensure compatibility with existing PON standards and enable future evolution.
[0084] When mode switching is initiated externally, the OLT and the downlink PON port of the master gateway need to obtain the capability set of the uplink PON port of the master 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 uplink PON port of the master gateway and the PON port of the slave gateway.
[0085] 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 PON port of the slave gateway should switch to. If the uplink PON port of the main gateway and the PON port of the slave gateway can switch to the access mode indicated by the mode switching instruction, then their own capability set does not need to be fed back to the OLT and the downlink PON port of the main gateway.
[0086] 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:
[0087] Table 3: G.984.3 Get_Set_PonMode message(Downstream)
[0088] Table 4: G.987.3 Get_Set_PonMode message(Downstream)
[0089] Table 5: G.9804.2 Get_Set_PonMode message(Downstream)
[0090] 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.
[0091] After receiving the above-defined message, the master gateway uplink 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:
[0092] Table 6: G.984.3 Pon_Capability notify message(Upstream)
[0093] Table 7: G.987.3 Pon_Capability notify message(Upstream)
[0094] Table 8: G.9804.2 Pon_Capability notify message(Upstream)
[0095] It should be noted that the above Table 6-8 shows the formats of the feedback messages (equivalent to the feedback signaling in the above embodiment) that need to be reported to the upper-level PON port of the main gateway after the upper-link PON port and the slave gateway PON port receive the above-defined messages in different standards.
[0096] Optionally, the above-mentioned PLOAM message can complete the functions of reporting the PON port capability set and transmitting the PON port mode switching instruction. The above-mentioned functions can also be implemented through OMCI messages. The message format is defined as shown in Table 9 below:
[0097] Table 9
[0098] The above ONU mode processing method is applicable to most current PON systems, including GPON, EPON, XGPON, XGSPON, XEPON asymmetric, XEPON symmetric, NGPON2, and future 50G PON and 200G PON systems.
[0099] Optionally, based on the above-mentioned solutions of the optional embodiments of the present disclosure, more specific optional embodiments are given below:
[0100] Optional embodiment 1
[0101] FIG6 is a flow chart (II) of a method for switching access modes according to an embodiment of the present disclosure, which provides a schematic flow chart of passive mode matching between the OLT and the uplink PON port of the master gateway, and between the downlink PON port of the master gateway and the ONU during the registration and authentication phase of the present disclosure, as shown in FIG6 :
[0102] S601: The uplink port of the main gateway initializes the PON MAC mode;
[0103] 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.
[0104] 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; otherwise, proceed to step S604.
[0105] S604: Switching the uplink PON port mode;
[0106] S605: Complete the registration of the uplink PON port, and initialize the PON MAC mode of the downlink port of the main gateway;
[0107] S606: The downlink port of the main gateway determines whether the wavelength matches. If so, the process proceeds to step S607. If not, the process proceeds to step S608.
[0108] S607: The ONU determines whether the registration information has been received. If so, the process proceeds to step S609; if not, the process proceeds to step S608.
[0109] S608: Switching the downlink PON port mode;
[0110] S609: Complete the registration of the downstream PON port.
[0111] Optional embodiment 2:
[0112] FIG7 is a flowchart (III) of a method for switching access modes according to an embodiment of the present disclosure, which provides a schematic flow diagram of active mode matching between the OLT and the uplink PON port of the master gateway, and between the downlink PON port of the master gateway and the ONU after registration and online, as shown in FIG7 :
[0113] S701: Initiate the mode switching process on the OLT side through network management, APP, WEB, NFC, etc.
[0114] S702: The OLT sends a PLOAM or OMCI message to request the master gateway and slave gateway PON port capability set;
[0115] S703: The slave gateway and the master gateway report the capability set in sequence through PLOAM or OMCI messages.
[0116] S704: The OLT sends a PLOAM or OMCI message. The master gateway and the slave gateway parse the message and switch to the corresponding PON port mode.
[0117] Optionally, since in an optional embodiment of the present disclosure, both the capability set request and the mode switching instruction are sent via a PLOAM or OMCI message from the OLT, based on the above steps: the OLT can simultaneously request the capability set and access mode switching by sending a PLOAM or OMCI message. If the master gateway or ONU (equivalent to a slave gateway) can perform 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 a PLOAM or OMCI message again based on the reported capability set, allowing the master gateway and slave gateway to parse the message and switch the corresponding PON port mode.
[0118] Based on the above embodiments, this disclosure implements FTTR uplink and downlink PON port mode switching through both active and passive methods. This improves the FTTR system's compatibility with existing PON equipment and its scalability to future evolution standards, reducing equipment procurement and maintenance costs for operators and improving the resource utilization efficiency of existing communication equipment. This system is suitable for FTTR system home or enterprise networking applications, and may be integrated with 100G PON or 200G PON technologies in the future to provide wider bandwidth and a better user experience.
[0119] This embodiment also provides an access mode switching device, which is used to implement the above-mentioned embodiments and preferred embodiments. Details already described will not be repeated here. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0120] FIG8 is a structural block diagram of an access mode switching device according to an embodiment of the present disclosure. As shown in FIG8 , the access mode switching device includes:
[0121] a determination module 82 configured to determine a first access mode adopted by an uplink passive optical network PON port and / or an optical network unit ONU PON port of a master gateway, and to determine a second access mode adopted by an optical network terminal OLT PON port and / or a downlink PON port of a master gateway;
[0122] 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.
[0123] Through the above module, after determining the first access mode adopted by the uplink passive optical fiber network (PON) port and / or optical network unit (ONU) PON port of the master gateway, and determining the second access mode adopted by the optical network terminal (OLT) PON port and / or the downlink PON port of the master gateway, it is further determined whether the first access mode and the second access mode are consistent. If the first access mode and the second access mode are inconsistent, the first access mode is switched to the second access mode. In other words, 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 master gateway and slave gateway cannot switch between multiple PON modes.
[0124] In an exemplary embodiment, the determination module 82 is further configured to determine the second access mode according to the registration information when the uplink PON port and / or the ONU PON port receives registration information sent by the OLT PON port and / or the downlink PON port.
[0125] It should be noted that the OLT typically performs interactive authentication on a newly connected master gateway using PLOAM or MPCP messages. The master gateway also typically performs interactive authentication on a newly connected slave gateway (which can be equivalent to the ONU in the above embodiment) using PLOAM or MPCP messages. Therefore, the PLOAM or MPCP message can be the registration information. Because different PON technical standards define PLOAM or MPCP messages differently, the second access mode currently used by the OLT PON port and / or downlink PON port can be determined based on the registration information sent from the OLT PON port and / or downlink PON port of the master gateway to the uplink PON port and / or ONU PON port. Among these, Physical Layer Operations, Administration, and Maintenance (PLOAM) and Multi-Point Control Protocol (MPCP) are also referred to.
[0126] Exemplarily, the OLT, the uplink port, the downlink port, and the ONU all support GPON / EPON working modes, wherein the registration information in the form of PLOAM or MPCP messages corresponding to GPON is Upstream Overhead PLOAM message, and the registration information in the form of PLOAM or MPCP messages 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: if the second access mode is GPON, 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 based on 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 after initialization is EPON, the first access mode and the second access mode do not match, and the first access mode needs to be switched to the second access mode and the registration process needs to be reinitiated. 2) If the second access mode adopted by the downstream PON port of the main gateway after power-on is GPON, and the first access mode adopted 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. Based on the received Upstream Overhead registration information, the ONU PON port determines that the second access mode adopted by the downstream PON port of the main gateway is GPON, which does not match the first access mode adopted by the ONU PON port. Therefore, 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 reinitiated.
[0127] 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 switching modes according to registration information is generally applicable to the case where the optical module is a multi-mode optical module.
[0128] 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.
[0129] 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 confirmation 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 mode switching of the corresponding PON port can be performed directly.
[0130] 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.
[0131] In an exemplary embodiment, the device also includes a prompt module, which is configured to determine the first optical module corresponding to the first access mode and the 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.
[0132] If the first and second operating bands are determined to be inconsistent, and the optical modules corresponding to the access modes used by the OLT, the main gateway's uplink port, the downlink port, and the ONU are all single-mode optical modules, the mode switching operation cannot be performed because single-mode optical modules only support one access mode. You can choose to send a prompt message to the target device, indicating that the optical module type selection is incorrect.
[0133] The target user is typically a staff member who can perform optical module replacement operations, or it can be a user. The prompt information can indicate which PON port's 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 desired optical module type, or providing the access mode to which the upstream PON port needs to be switched. This instructs the target user to replace the optical module originally connected to the upstream PON port based on the optical module type or the optical module type determined by the access mode to be switched.
[0134] In an exemplary embodiment, the switching module 84 is further configured to determine the first optical module corresponding to the first access mode and the second optical module corresponding to the second access mode when the first working band and the second working band are inconsistent; 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 the third access mode adopted by the target PON port corresponding to the multi-mode optical module, and determine the 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.
[0135] In an exemplary embodiment, the switching module 84 is further configured to obtain multiple access modes that the multi-mode optical module is allowed to support; when it is determined that the multiple access modes include the fourth access mode, the third access mode adopted by the target PON port is switched to the fourth access mode.
[0136] 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. If 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.
[0137] Exemplarily, the condition can be set as follows: switching the access mode between the ONU PON port and the downlink PON port of the main gateway to unify the access modes adopted by the ONU PON port and the downlink PON port of the main gateway, wherein the ONU PON port adopts a single-mode optical module supporting the GPON access mode, and the downlink PON port adopts a multi-mode optical module supporting the XGPON / GPON access mode, then:
[0138] 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 operating bands used by GPON are an upstream wavelength of 1310nm and a downstream wavelength of 1490nm, while the operating bands used by XGPON are an upstream wavelength of 1270nm and a downstream wavelength of 1577nm, the operating bands of the access modes used 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. Therefore, the XGPON / GPON optical module is a multi-mode optical module, the downstream PON port is the target PON port, the XGPON used by the downstream PON port is determined to be the third access mode, and the GPON used by the ONU PON port is the fourth access mode. Since the multi-mode optical module XGPON / GPON optical module used by the downstream PON port also supports the fourth access mode GPON, the third access mode is switched to the fourth access mode.
[0139] In an exemplary embodiment, the device also includes a sending module, which is configured to send target signaling to the uplink PON port and / or the ONU PON port when it detects that the OLT PON port and / or the downlink PON port receives a mode switching instruction, wherein the target signaling includes: a physical layer operation management and maintenance PLOAM message, or an ONU management and control interface OMCI message; the target signaling carries the fifth access mode to which the OLT PON port and / or the downlink PON port expects to switch.
[0140] 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 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 downlink 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 the fifth access mode that the OLT PON port and / or the downlink PON port expects the uplink PON port and / or the ONU PON port to switch to. It should be noted that: Physical Layer Operations, Administration and Maintenance (PLOAM for short); ONU Management and Control Interface (OMCI for short).
[0141] 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.
[0142] Optionally, when the uplink 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 downlink PON port desires to switch to as indicated by the mode switching instruction, i.e., the fifth access mode. In addition, the uplink 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 adopted by the uplink 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 adopted by the uplink 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 uplink PON port and / or ONU PON port. The OLT and / or downlink port may decide whether to switch to the fifth access mode currently used by itself, or notify the target object's uplink PON port and / or ONU PON port that the optical module used is a single-mode optical module based on the received feedback notification signaling. 3) If it is determined that the optical module used by the uplink PON port and / or 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 currently used sixth access mode. Furthermore, when the OLT PON port and / or the downlink PON port receives feedback signaling, the capability set of the uplink PON port and / or the ONU PON port can be parsed from the feedback signaling, and then the seventh access mode to which the uplink 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 uplink PON port and / or the ONU PON port, so that the uplink PON port and / or the ONU PON port switches the sixth access mode to the seventh access mode.
[0143] 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 as 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.
[0144] 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.
[0145] In an exemplary embodiment, the determination module 82 is further configured to determine the first optical module to which the uplink 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 downlink PON port is connected, wherein the access mode supported by the first optical module includes a first access mode, and the access mode supported by the second optical module includes a second access mode; it is determined that the uplink 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 downlink PON port adopts the second access mode according to the second optical module.
[0146] It can be understood that all access modes supported by the first optical module connected to 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 connected to 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. 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 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 uplink PON port and / or the ONU PON port, and the optical modules connected to the OLT PON port and / or the downlink PON port, and notify the software layer.
[0147] 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 the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present disclosure.
[0148] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as 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.
[0149] 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 here.
[0150] An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0151] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:
[0152] S1, determining a first access mode adopted by an uplink passive optical network PON port and / or an optical network unit ONU PON port of a master gateway, and determining a second access mode adopted by an optical network terminal OLT PON port and / or a downlink PON port of the master gateway;
[0153] 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.
[0154] 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.
[0155] Optionally, in this embodiment, the above-mentioned electronic device can also be configured to execute the above-mentioned step S1 through a computer program to 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, the first access mode is switched to the second access mode.
[0156] 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 here.
[0157] Obviously, those skilled in the art should understand that the modules or steps of the present disclosure described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, 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 performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present disclosure is not limited to any particular combination of hardware and software.
[0158] The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will readily appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure shall be included within the scope of protection of the present disclosure.
Claims
1. A method for switching an access mode, comprising: 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 master gateway, and determine a second access mode adopted by an optical network terminal OLT PON port and / or a downlink PON port of a master gateway; 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.
2. The method for switching the access mode according to claim 1, wherein: Determining the second access mode adopted by the optical network terminal OLT PON port and / or the downlink PON port of the main gateway includes: When the uplink PON port and / or the ONU PON port receives registration information sent by the OLT PON port and / or the downlink PON port, the second access mode is determined according to the registration information.
3. The method for switching the access mode according to claim 1, wherein: Before switching the first access mode to the second access mode, the method further includes: Determine a first operating band corresponding to the first access mode, and determine a second operating 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.
4. The method for switching the access mode according to claim 3, wherein: 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 a first optical module corresponding to the first access mode and a second optical module corresponding to the second access mode; In a case where both the first optical module and the second optical module are single-mode optical modules, prompt information is sent to the target object, wherein the prompt information 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.
5. The method for switching the access mode according to claim 3, wherein: 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 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 multimode optical module and the other optical module is a single-mode optical module, determining a third access mode adopted by a target PON port corresponding to the multimode optical module, and determining a fourth access mode of the single-mode optical module; The third access mode corresponding to the target PON port is switched to the fourth access mode.
6. The method for switching the access mode according to claim 5, wherein: Switching the third access mode corresponding to the target PON port to the fourth access mode includes: Acquire multiple access modes that the multi-mode optical module allows to support; 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.
7. The method for switching the access mode according to claim 1, wherein: Before switching the first access mode to the second access mode, the method further includes: In case of detecting that the OLT PON port and / or the downlink PON port receives a mode switching instruction, a target signaling is sent to the uplink 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; and the target signaling carries a fifth access mode to which the OLT PON port and / or the downlink PON port is expected to switch.
8. The method for switching the access mode according to claim 7, wherein: After sending the target signaling to the uplink PON port and / or the ONU PON port, the method further includes: Parsing the target signaling through the uplink PON port and / or the ONU PON port to obtain the fifth access mode; Determine a sixth access mode currently adopted by the uplink PON port and / or the ONU PON port; When it is determined that the uplink PON port and / or the ONU PON port supports 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, feedback signaling is sent 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.
9. The method for switching the access mode according to claim 1, wherein: 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, including: Determine a first optical module accessed by the uplink PON port of the main gateway and / or the ONU PON port, and determine a second optical module accessed by the OLT PON port and / or the downlink PON port, wherein the access mode supported by the first optical module includes a first access mode, and the access mode supported by the second optical module includes a second access mode; The uplink PON port and / or the ONU PON port is determined to adopt the first access mode according to the first optical module, and the OLT PON port and / or the downlink PON port is determined to adopt the second access mode according to the second optical module.
10. A switching device for access mode, comprising: A determination module 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 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.
11. A computer-readable storage medium, wherein a computer program is stored in the storage medium, wherein: The computer program is configured to execute the method according to any one of claims 1 to 9 when executed.
12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the method according to any one of claims 1 to 9 through the computer program.
Citation Information
Patent Citations
ONU automatic detection and EPON-and-GPON-adaptation method and device
CN103281117A
Mode control method and device of optical network unit, storage medium and equipment
CN112788441A
Multistage PON network management method and related device
CN114531622A
Method and device for OLT to manage edge ONT through multiple channels
CN115209250A
Access mode switching method and device, storage medium and electronic device
CN116546351A
Cited By
Passive optical network device coexistence method and passive optical network system
WO2026108325A1
Optical network communication method and communication apparatus
WO2026149093A1
