Mode Control Method, Device, Storage Medium and Equipment for Optical Network Unit
By selecting and switching the PON mode according to network parameters when the ONU is connected to PON for the first time, the problem of only supporting specific modes after ONU is powered on is solved, and flexible mode switching is achieved, which promotes the expansion of the communication system and resource utilization, and reduces costs and waste.
Patent Information
- Application Number
- CN201911085928.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-08
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2039-11-08
AI Technical Summary
After powering on the ONU, it only supports specific modes, which leads to difficulties in expanding and upgrading the operator's communication system, increasing procurement costs and equipment waste, which is not conducive to energy conservation, emission reduction and equipment management.
When the ONU is connected to PON for the first time, select one of the supported PON modes to register, and determine whether it is the target mode based on the obtained network parameters. If it does not match, select it again, and support switching between multiple PON modes.
It realizes flexible switching between ONU between multiple PON modes, promotes the expansion and upgrading of operator communication systems and the full utilization of existing resources, reduces procurement costs and equipment waste, and helps save energy and emission reduction.
Smart Images

Figure CN112788441B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet technologies, and particularly to a method, device, storage medium and equipment for mode control of an optical network unit. Background Technique
[0002] With the continuous development of optical networks, fiber to the home (FTTH) has been fully rolled out. Passive optical networks (PONs) can be divided into Ethernet-based passive optical networks (EPONs), 10G Ethernet-based passive optical networks (10GEPONs), gigabit passive optical networks (GPONs), 10G passive optical networks (XGPONs), 10G symmetric passive optical networks (XGSPONs), 40G passive optical networks (NGPON2s), and currently studied 50G PONs and 100G PONs, etc., according to different working mechanisms.
[0003] These passive optical network systems usually include an optical line terminal (OLT), an optical network unit (ONU), and an optical distribution network. With the rapid development of high-bandwidth services such as 4K / 8K TVs, 3D games, and virtual technologies, the OLT can usually support one or more PON modes, such as GPON mode, EPON mode, XGPON mode, XGSPON mode, XEPON asymmetric mode, XEPON symmetric mode, XGPON mode / XGSPON mode, GPON mode / XGPON mode, GPON mode / XGPON mode / XGSPON mode, EPON mode / XEPON asymmetric mode / XEPON symmetric mode, etc.; the ONU is currently also transitioning from GPON mode / EPON mode to 10G PON mode.
[0004] Different PON modes have high similarity in terms of networking form, service function, etc. However, when the ONU is powered on, it only supports specific modes, which is not conducive to the expansion and upgrade of the operator's communication system and the full utilization of existing communication resources. It is very likely to increase the operator's procurement cost or cause waste of equipment, and is not conducive to energy conservation, emission reduction and equipment management. Summary of the Invention
[0005] The embodiments of the present application provide a mode control method, device, storage medium and equipment for an optical network unit, which are used to solve the problem that when the ONU is powered on, it supports specific modes, which is not conducive to the expansion and upgrade of the operator's communication system and the full utilization of existing communication resources, increases the operator's procurement cost or causes waste of equipment, and is not conducive to energy conservation, emission reduction and equipment management. The technical solutions are as follows:
[0006] On the one hand, a mode control method for an optical network unit is provided. The method includes: when the optical network unit ONU first accesses a passive optical network PON, selecting a PON mode from the PON modes supported by the ONU for registration; obtaining network parameters, where the network parameters are related to the target PON mode finally required by the ONU; when it is determined according to the obtained situation of the network parameters that the selected PON mode is not the target PON mode, reselecting a PON mode from the PON modes supported by the ONU for registration.
[0007] On the one hand, a mode control device for an optical network unit is provided. The device includes: a registration module, which is used to select a PON mode from the PON modes supported by the optical network unit ONU for registration when the ONU first accesses a passive optical network PON; an obtaining module, which is used to obtain network parameters, where the network parameters are related to the target PON mode finally required by the ONU; a switching module, which is used to reselect a PON mode from the PON modes supported by the ONU for registration when it is determined according to the obtained situation of the network parameters that the selected PON mode is not the target PON mode.
[0008] On the one hand, a computer-readable storage medium is provided. At least one instruction, at least one program, a code set or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the mode control method of the optical network unit as described above.
[0009] On the one hand, an optical network unit ONU is provided. The ONU includes a processor and a memory. At least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the mode control method of the optical network unit as described above.
[0010] The beneficial effects of the technical solution provided by the embodiment of the present application at least include:
[0011] When the ONU first accesses the PON, it can select a PON mode from the PON modes supported by the ONU for registration, and then obtain network parameters. Since the network parameters are related to the target PON mode that the ONU finally needs to select, it is possible to determine whether the selected PON mode is the target PON mode according to the acquisition situation of the network parameters. When it is determined that the selected PON mode is not the target PON mode according to the acquisition situation of the network parameters, a PON mode can be reselected from the PON modes supported by the ONU for registration. In this way, the ONU can support switching between multiple PON modes after power-on, which is conducive to the expansion and upgrade of the operator's communication system and the full utilization of existing communication resources, reduces the operator's procurement cost or saves equipment waste, and is conducive to energy conservation, emission reduction and equipment management. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0013] Figure 1 It is a schematic diagram showing the correspondence between a PON mode and uplink and downlink wavelengths according to some exemplary embodiments;
[0014] Figure 2 It is a flowchart of a method for controlling the mode of an optical network unit provided by an embodiment of the present application;
[0015] Figure 3 It is a flowchart of a method for controlling the mode of an optical network unit provided by another embodiment of the present application;
[0016] Figure 4 It is a schematic flowchart of switching the PON mode of the ONU according to the registration information provided by another embodiment of the present application;
[0017] Figure 5 It is a flowchart of a method for controlling the mode of an optical network unit provided by another embodiment of the present application;
[0018] Figure 6 It is a schematic flowchart of switching the PON mode of the ONU according to the band information provided by another embodiment of the present application;
[0019] Figure 7 It is a schematic flowchart of switching the PON mode of the ONU according to a predetermined message provided by another embodiment of the present application;
[0020] Figure 8 It is a schematic flow chart of switching the PON mode of the ONU according to other methods provided by another embodiment of the present application;
[0021] Figure 9 It is a structural block diagram of a mode control device for an optical network unit provided by another embodiment of the present application;
[0022] Figure 10 It is a structural block diagram of a mode control device for an optical network unit provided by another embodiment of the present application. Detailed implementation manners
[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0024] First, the nouns that appear in the embodiments of the present application will be explained below.
[0025] PON mode: Each PON mode corresponds to a set of configuration parameters, and this set of configuration parameters is used to configure the ONU so that the ONU can be applicable to a PON. Among them, the upstream and downstream wavelengths and rates of different PONs are different, as shown in Table 1 below.
[0026] Table 1
[0027]
[0028] Please refer to Table 1 for reference Figure 1 , select the ONUs of the GPON mode and the EPON mode to work in the wavelength band with an upstream wavelength of 1310 nm and a downstream wavelength of 1490 nm; select the ONUs of the XEPON (symmetric and asymmetric) mode, the XGPON mode, and the XGSPON mode to work in the wavelength band with an upstream wavelength of 1270 nm and a downstream wavelength of 1490 nm; select the ONUs of the NGPON2 mode to work in the wavelength band with an upstream wavelength of 1532.68 - 1538.19 nm and a downstream wavelength of 1596.34 - 1602.31 nm (up to 8 bands for upstream and downstream); because 50G PON and 100G PON are still under research, the band information of these two PON modes is temporarily marked with λ1 / β1 and λ2 / β2.
[0029] Please refer to Figure 2 , which shows a method flow chart of a mode control method for an optical network unit provided by an embodiment of the present application. This mode control method for the optical network unit can be applied to the ONU. This mode control method for the optical network unit may include:
[0030] Step 201: When the ONU first accesses the PON, select a PON mode from the PON modes supported by the ONU for registration.
[0031] In this embodiment, the ONU can support at least one PON mode. For example, the ONU supports two modes, GPON and EPON; or the ONU supports two symmetric modes, XGSPON and XEPON; or the ONU supports two modes, XGPON and XGSPON; or the ONU supports two modes, asymmetric XEPON and symmetric XEPON.
[0032] When the ONU first accesses the PON, the ONU can arbitrarily select a PON mode from the supported PON modes; or when a default PON mode is pre-set, the ONU can select the default PON mode from the supported PON modes and then perform registration (also known as initialization) based on this PON mode.
[0033] Step 202: Obtain network parameters, which are related to the target PON mode that the ONU finally needs to select.
[0034] The target PON mode is the PON mode that the ONU finally needs to select, and the target PON mode matches the access mode of the OLT. For example, if the access mode of the OLT is the asymmetric XEPON mode, then the target PON mode is also the asymmetric XEPON mode.
[0035] In this embodiment, whether the network parameters are obtained and the content of the obtained network parameters can both indicate the target PON mode. For details, see the description below and will not be elaborated here.
[0036] Step 203: When it is determined according to the acquisition situation of the network parameters that the selected PON mode is not the target PON mode, reselect a PON mode from the PON modes supported by the ONU for registration.
[0037] When it is determined according to the acquisition situation of the network parameters that the selected PON mode is not the target PON mode, step 201 can be re-executed; when it is determined according to the acquisition situation of the network parameters that the selected PON mode is the target PON mode, the registration process can continue.
[0038] In summary, for the mode control method of the optical network unit provided in the embodiments of this application, when the ONU first accesses the PON, it can select a PON mode from the PON modes supported by the ONU for registration, and then obtain network parameters. Since the network parameters are related to the target PON mode that the ONU finally needs to select, it is possible to determine whether the selected PON mode is the target PON mode based on the acquisition of the network parameters. When it is determined that the selected PON mode is not the target PON mode according to the acquisition of the network parameters, a PON mode can be reselected from the PON modes supported by the ONU for registration. In this way, after the ONU is powered on, it can support switching between multiple PON modes, which is conducive to the expansion and upgrade of the operator's communication system and the full utilization of existing communication resources, reduces the operator's procurement cost or saves equipment waste, and is conducive to energy conservation, emission reduction and equipment management.
[0039] In this embodiment, the network parameters can be either registration information or band information. The following will illustrate the process of switching the PON mode of the ONU according to these two network parameters through two embodiments.
[0040] Please refer to Figure 3 , which shows the flowchart of the mode control method of the optical network unit provided in another embodiment of this application. The mode control method of the optical network unit can be applied to the ONU, and the network parameter is registration information. The mode control method of the optical network unit can include:
[0041] Step 301, when the ONU first accesses the PON, select a PON mode from the PON modes supported by the ONU for registration.
[0042] In this embodiment, the ONU can support at least one PON mode. For example, the ONU supports two modes of GPON and EPON, or the ONU supports two symmetric modes of XGSPON and XEPON, or the ONU supports two modes of XGPON and XGSPON, or the ONU supports two modes of asymmetric XEPON and symmetric XEPON.
[0043] When the ONU first accesses the PON, the ONU can arbitrarily select a PON mode from the supported PON modes, or when a default PON mode is pre-set, the ONU can select the default PON mode from the supported PON modes and then register (also referred to as initialize) based on this PON mode.
[0044] Step 302, start LOS signal detection.
[0045] Loss of Signal (LOS) signal detection is a detection mechanism that generates an LOS signal when the ONU is powered on and no optical fiber is connected, and eliminates the LOS signal when the ONU is powered on and an optical fiber is connected.
[0046] Step 303: Start a timer when the LOS signal is eliminated.
[0047] When the ONU starts LOS signal detection, it can determine whether the LOS signal is eliminated. If the LOS signal is eliminated, that is, after the ONU is connected to the optical fiber, the ONU starts the timer; if the LOS signal is not eliminated, it continues to determine whether the LOS signal is eliminated.
[0048] A preset duration is set in the timer. When the timer is started, the timer starts timing.
[0049] Step 304: Receive the registration information broadcast by the OLT according to the timer.
[0050] In this embodiment, the OLT needs to authenticate newly connected ONUs. Usually, some broadcast messages are defined in the PON standard for ONU discovery or upstream frame parameter setting. These broadcast messages can also be used to identify the access mode of the OLT. In this embodiment, the above broadcast messages are called registration information. The registration information in different PON standards is described below. Please refer to Table 2 below.
[0051] Table 2
[0052]
[0053] The ONU can determine whether it has received the registration information. If it has received the registration information, it determines whether the PON mode corresponding to the registration information is the same as the selected PON mode. When the PON mode corresponding to the registration information is the same as the selected PON mode, it determines whether the timer has timed out. If the timer has not timed out, it executes Step 305; if the timer has timed out, it closes the timer and reselects a PON mode from the PON modes supported by the ONU for registration; when the PON mode corresponding to the registration information is different from the selected PON mode, it executes Step 306; if it has not received the registration information, it determines whether the timer has timed out. When the timer has not timed out, it continues to determine whether it has received the registration information; when the timer has timed out, it executes Step 307.
[0054] Step 305: When the registration information is received before the timer times out and the PON mode corresponding to the registration information is the same as the selected PON mode, determine that the selected PON mode is the target PON mode, close the timer, and store the PON mode.
[0055] The target PON mode is the PON mode that the ONU finally needs to select, and the target PON mode matches the access mode of the OLT. For example, if the access mode of the OLT is the XEPON asymmetric mode, then the target PON mode is also the XEPON asymmetric mode.
[0056] Among them, the ONU can store the PON mode in a power-off-storable medium. In this way, when the ONU restarts, it can obtain the PON mode from this power-off-storable medium and then register with this PON mode to reduce the number of mode switches and startup time of the ONU.
[0057] Step 306, when the registration information is received before the timer expires and the PON mode corresponding to the registration information is different from the selected PON mode, it is determined that the selected PON mode is not the target PON mode, the timer is turned off, and step 308 is executed.
[0058] Step 307, when the registration information has not been received when the timer expires, it is determined that the selected PON mode is not the target PON mode, the timer is turned off, and step 308 is executed.
[0059] Step 308, when it is determined that the selected PON mode is not the target PON mode, reselect a PON mode supported by the ONU for registration.
[0060] When it is determined that the selected PON mode is not the target PON mode, step 301 can be re-executed; when it is determined that the selected PON mode is the target PON mode according to the acquisition of network parameters, the registration process can continue.
[0061] For the sake of easy understanding, the implementation process of steps 301-308 will be described below with several examples.
[0062] 1. Taking GPON mode and EPON mode as examples, assume that the access mode of the OLT is GPON mode, and the ONU supports both GPON and EPON modes. If the PON mode initialized after the ONU powers on is GPON mode, then start timer T1 after connecting the optical fiber and ensuring that the LOS signal is cleared. After receiving the Upstream Overhead message within the timing period of T1, close the T1 timer, continue the registration process, and save the GPON mode to the power-off storage medium at the same time. If the PON mode initialized after the ONU powers on is EPON mode, then start T1 after connecting the optical fiber and ensuring that the LOS signal is cleared. If the Discovery Gate message is not received within the timing period of T1, close the T1 timer after T1 times out, switch the PON mode of the ONU to GPON mode, and initiate the registration process again. Assume that the access mode of the OLT is EPON mode, and the ONU supports GPON mode and EPON mode. If the PON mode initialized after the ONU powers on is EPON mode, then start T1 after connecting the optical fiber and ensuring that the LOS signal is cleared. After receiving the Discovery Gate message with upstream capability and a discovery window of 1G within the timing period of T1, close the T1 timer, continue the registration process, and save the EPON mode to the power-off storage medium at the same time. If the PON mode initialized after the ONU powers on is GPON mode, then start T1 after connecting the optical fiber and ensuring that the LOS signal is cleared. If the Upstream Overhead message is not received within the timing period of T1, close the T1 timer after T1 times out, switch the PON mode of the ONU to EPON mode, and initiate the registration process again.
[0063] 2. Taking the XGSPON mode and the XEPON symmetric mode as examples, assume that the access mode of the OLT is the XGSPON mode, and the ONU supports the XGSPON mode and the XEPON symmetric mode. If the PON mode initialized after the ONU powers on is the GSPON mode, then start T1 after connecting the optical fiber and confirming that the LOS signal is cleared. After receiving the Burst Profile message with ONU-ID = 0x3FE within the T1 timing period, turn off the T1 timer, continue the registration process, and save the XGSPON mode to the power-off storable medium at the same time. If the PON mode initialized after the ONU powers on is the XEPON symmetric mode, then start T1 after connecting the optical fiber and confirming that the LOS signal is cleared. If the Discovery Gate message cannot be received within the T1 timing period, turn off the T1 timer after T1 times out, switch the PON mode of the ONU to the XGSPON mode, and initiate the registration process again. Assume that the access mode of the OLT is the XEPON symmetric mode, and the ONU supports the XGSPON mode and the XEPON symmetric mode. If the PON mode initialized after the ONU powers on is the XEPON symmetric mode, then start T1 after connecting the optical fiber and confirming that the LOS signal is cleared. After receiving the Discovery Gate message with the uplink capability and discovery window of 10G within the T1 timing period, turn off the T1 timer, continue the registration process, and save the XEPON symmetric mode to the power-off storable medium at the same time. If the PON mode initialized after the ONU powers on is XGSPON, then start T1 after connecting the optical fiber and confirming that the LOS signal is cleared. If the BurstProfile message cannot be received within the T1 timing period, turn off the T1 timer after T1 times out, switch the PON mode of the ONU to the XEPON symmetric mode, and initiate the registration process again.
[0064] 3. Taking the XGPON mode and the XGSPON mode as examples, assume that the access mode of the OLT is the XGPON mode, and the ONU supports the PON of the XGPON mode and the XGSPON mode. If the initialization mode of the ONU after power-on is the XGPON mode, then after connecting the optical fiber and confirming that the LOS signal is cleared, start T1. After receiving the Burst Profile message with ONU-ID = 0x3FF within the T1 timing period, turn off the T1 timer, continue the registration process, and save the XGPON mode to the power-off storage medium at the same time; if the initialized PON mode of the ONU after power-on is the XGSPON mode, then after connecting the optical fiber and confirming that the LOS signal is cleared, start T1. If the Burst Profile message with ONU-ID = 0x3FE is not received within the T1 timing period, turn off the T1 timer after T1 timeout, switch the PON mode of the ONU to the XGPON mode, and initiate the registration process again. Assume that the access mode of the OLT is the XGSPON mode, and the ONU supports the XGPON mode and the XGSPON mode. If the initialized PON mode of the ONU after power-on is the XGSPON mode, then after connecting the optical fiber and confirming that the LOS signal is cleared, start T1. After receiving the Burst Profile message with ONU-ID = 0x3FE within the T1 timing period, turn off the T1 timer, continue the registration process, and save the XGSPON mode to the power-off storage medium at the same time; if the initialized PON mode of the ONU after power-on is the XGPON mode, then after connecting the optical fiber and confirming that the LOS signal is cleared, start T1. If the Burst Profile message with ONU-ID = 0x3FF is not received within the T1 timing period, turn off the T1 timer after T1 timeout, switch the PON mode of the ONU to the XGSPON mode, and initiate the registration process again.
[0065] 4. Taking the XEPON asymmetric mode and the XEPON symmetric mode as examples, assume that the access mode of the OLT is the XEPON asymmetric mode, and the ONU supports the XEPON asymmetric mode and the XEPON symmetric mode. If the PON mode initialized after the ONU is powered on is the XEPON asymmetric mode, then start T1 after connecting the optical fiber and ensuring that the LOS signal is cleared. After receiving the upstream capability and the Discovery Gate message with a discovery window of 1G within the T1 timing period, close the T1 timer, continue the registration process, and save the XEPON non-mode to the power-off storage medium; if the PON mode initialized after the ONU is powered on is the XEPON symmetric mode, then start T1 after connecting the optical fiber and ensuring that the LOS signal is cleared. If the upstream capability and the Discovery Gate message with a discovery window of 10G are not received within the T1 timing period, close the T1 timer after T1 timeout, switch the PON mode of the ONU to the XEPON asymmetric mode, and initiate the registration process again. Assume that the access mode of the OLT is the XEPON symmetric mode, and the ONU supports the XEPON asymmetric mode and the XEPON symmetric mode. If the PON mode initialized after the ONU is powered on is the XEPON symmetric mode, then start T1 after connecting the optical fiber and ensuring that the LOS signal is cleared. After receiving the upstream capability and the Discovery Gate message with a discovery window of 10G within the T1 timing period, close the T1 timer, continue the registration process, and save the XEPON symmetric mode to the power-off storage medium; if the PON mode initialized after the ONU is powered on is the XEPON asymmetric mode, then start T1 after connecting the optical fiber and ensuring that the LOS signal is cleared. If the upstream capability and the Discovery Gate message with a discovery window of 1G are not received within the T1 timing period, close the T1 timer after T1 timeout, switch the PON mode of the ONU to the XEPON symmetric mode, and initiate the registration process again.
[0066] 5. For the NGPON2 system, the registration information includes the Burst Profile message, the System Profile message, and the Channel Profile message. In practical applications, any two messages or three messages can be recognized to determine whether the access mode of the OLT is NGPON2; for the 50G PON and 100G PON systems, due to the lack of relevant standards, there is no registration information defined for the time, but the ONU mode switching solution in this embodiment is also applicable to the future 50G PON and 100G PON systems.
[0067] In summary, the mode control method for the optical network unit provided by the embodiments of the present application can select a PON mode from the PON modes supported by the ONU for registration when the ONU first accesses the PON, and then obtain the registration information. Since this registration information is related to the target PON mode that the ONU finally needs to select, it is possible to determine whether the selected PON mode is the target PON mode according to the acquisition situation of the registration information. When it is determined according to the acquisition situation of the registration information that the selected PON mode is not the target PON mode, a PON mode can be reselected from the PON modes supported by the ONU for registration. In this way, after the ONU is powered on, it can support switching between multiple PON modes, which is beneficial to the expansion and upgrade of the operator's communication system and the full utilization of existing communication resources, reduces the procurement cost of the operator or saves the waste of equipment, and is beneficial to energy conservation, emission reduction and equipment management.
[0068] Please refer to Figure 4 , which shows a schematic flowchart of switching the PON mode of the ONU according to the registration information.
[0069] Step 401: The ONU initializes the PON MAC (Media Access Control Address) mode (that is, selects a PON mode from the PON modes supported by the ONU) and enables LOS signal detection;
[0070] Step 402: The ONU determines whether the LOS signal is eliminated. If it is eliminated, it proceeds to step 403; if not, it continues to detect;
[0071] Step 403: The ONU starts timer T1;
[0072] Step 404: The ONU determines whether it has received the registration information. If it has received it, it proceeds to step 405; if not, it proceeds to step 407;
[0073] Step 405: The ONU determines whether the registration information matches the ONU mode. If it matches, it proceeds to step 406; if not, it proceeds to step 408;
[0074] Step 406: The ONU closes timer T1, continues the registration process, and stores the ONU mode in the power-off storage medium;
[0075] Step 407: The ONU determines whether timer T1 has timed out. If it has timed out, it proceeds to step 408; if not, it continues to detect the registration information;
[0076] Step 408: The ONU closes timer T1, switches to other working modes, and reinitiates the registration process.
[0077] Please refer toFigure 5 , which shows a method flow chart of a mode control method for an optical network unit provided by another embodiment of the present application. The mode control method for the optical network unit can be applied to an ONU, and the network parameter is band information. The mode control method for the optical network unit may include:
[0078] Step 501, when the ONU first accesses the PON, select a PON mode from the PON modes supported by the ONU for registration.
[0079] In this embodiment, the ONU can support at least one PON mode. For example, the ONU supports two modes of GPON and EPON, or the ONU supports two symmetric modes of XGSPON and XEPON, or the ONU supports two modes of XGPON and XGSPON, or the ONU supports two modes of asymmetric XEPON and symmetric XEPON.
[0080] When the ONU first accesses the PON, the ONU can arbitrarily select a PON mode from the supported PON modes, or when a default PON mode is preset, the ONU can select the default PON mode from the supported PON modes and then register (also referred to as initialization) based on this PON mode.
[0081] Step 502, obtain the band information of the optical module.
[0082] Among them, the optical module is a module for optical and electrical conversion. That is, the transmitting end converts an electrical signal into an optical signal, and after transmission through an optical fiber, the receiving end converts the optical signal into an electrical signal. For the optical module corresponding to the ONU, multi-mode has been achieved at present. For example, a 1G Bosa (Bi-Directional Optical Sub-Assembly) can support both GPON mode / EPON mode, and a 10G symmetric optical module can support XGPON mode / XGSPON mode / XEPON asymmetric mode / XEPON symmetric mode, etc.
[0083] In this embodiment, the optical module and the ONU can be two independent devices or an integrated device.
[0084] In one implementation, the band information is stored in the optical module, and the ONU can read the band information from the optical module.
[0085] Step 503, determine whether the band information matches the selected PON mode.
[0086] The ONU can determine whether the uplink and downlink wavelengths corresponding to the band information are the same as the uplink and downlink wavelengths corresponding to the PON mode; when the uplink and downlink wavelengths corresponding to the band information are the same as the uplink and downlink wavelengths corresponding to the PON mode, it is determined that the band information matches the selected PON mode, and step 504 is executed; when the uplink and downlink wavelengths corresponding to the band information are different from the uplink and downlink wavelengths corresponding to the PON mode, it is determined that the band information does not match the selected PON mode, and step 505 is executed.
[0087] Step 504, when the band information matches the selected PON mode, it is determined that the selected PON mode is the target PON mode, store the PON mode, and end the process.
[0088] The target PON mode is the PON mode that the ONU finally needs to select, and the target PON mode matches the access mode of the OLT. For example, if the access mode of the OLT is the XEPON asymmetric mode, then the target PON mode is also the XEPON asymmetric mode.
[0089] When it is determined that the selected PON mode is the target PON mode, the ONU ends the PON mode switching process and continues the registration process.
[0090] Step 505, when the band information does not match the selected PON mode, it is determined that the selected PON mode is not the target PON mode.
[0091] Step 506, determine whether there is a PON mode in the PON modes supported by the ONU that matches the band information.
[0092] The ONU can determine whether there is a PON mode in the PON modes supported by the ONU that matches the band information; when there is a PON mode in the PON modes supported by the ONU that matches the band information, step 507 is executed; when there is no PON mode in the PON modes supported by the ONU that matches the band information, step 508 is executed.
[0093] Step 507, when there is no PON mode in the PON modes supported by the ONU that matches the band information, stop registration.
[0094] In this embodiment, after determining that there is no PON mode matching the band information among the PON modes supported by the ONU, if the ONU can communicate with the terminal via Wireless Fidelity (WiFi), and the application program (APP) of the ONU is installed in the terminal, the ONU can send a notification message to the application program in the terminal via WiFi, so as to indicate, through this notification message, to replace the optical module matching the PON mode supported by the ONU; if the ONU can communicate with other devices via Near Field Communication (NFC), the ONU can send a notification message to other devices via NFC, so as to indicate, through this notification message, to replace the optical module matching the PON mode supported by the ONU; if the ONU can communicate with other devices via network cable, the ONU can send a notification message to the Web page via network cable, so as to indicate, through this notification message, to replace the optical module matching the PON mode supported by the ONU.
[0095] Step 508: When there is a PON mode matching the band information among the PON modes supported by the ONU, reselect the PON mode matching the band information for registration.
[0096] Suppose the ONU is a full-mode chip, while the optical module only supports the GPON mode and the EPON mode. After matching, the ONU can only switch between the GPON mode and the EPON mode. Therefore, through the matching of the band information and the PON mode of the ONU, the number of PON mode switching times and correction times can be effectively reduced; suppose the ONU only supports the GPON mode and the EPON mode, while the optical module only supports the XGSPON mode and the XEPON mode. After matching, the registration process needs to be stopped, and then the staff is notified to replace the optical module matching the PON mode supported by the ONU through the application program of the terminal, NFC or the Web page, etc.
[0097] In summary, for the mode control method of the optical network unit provided in the embodiment of this application, when the ONU is first connected to the PON, a PON mode can be selected from the PON modes supported by the ONU for registration, and then the band information is obtained. Since this band information is related to the target PON mode that the ONU finally needs to select, it is possible to determine whether the selected PON mode is the target PON mode according to this band information. When it is determined according to the band information that the selected PON mode is not the target PON mode, a PON mode can be reselected from the PON modes supported by the ONU for registration. In this way, the ONU can support switching between multiple PON modes after power-on, which is conducive to the expansion and upgrade of the operator's communication system and the full utilization of existing communication resources, reduces the operator's procurement cost or saves equipment waste, and is conducive to energy conservation, emission reduction and equipment management.
[0098] Please refer to Figure 6 , which shows a schematic flowchart of switching the PON mode of the ONU according to the band information.
[0099] Step 601: After the ONU is powered on, initialize the PON MAC mode (that is, select a PON mode from the PON modes supported by the ONU), and read the band information of the optical module;
[0100] Step 602: The ONU determines whether the band matches the current mode. If it matches, go to Step 605; if it does not match, go to Step 603;
[0101] Step 603: The ONU determines whether the supported PON mode can support this band. If it can support, go to Step 606; if it cannot support, go to Step 604;
[0102] Step 604: Stop the registration process and notify the staff that the optical module does not match the PON mode supported by the ONU;
[0103] Step 605: The ONU continues the registration process;
[0104] Step 606: The ONU switches to the PON mode matching this band and initiates the registration process again.
[0105] It should be noted that the first point is that Figure 3 the shown embodiment switches the PON mode of the ONU according to the registration information, Figure 5 the shown embodiment switches the PON mode of the ONU according to the band information. In one implementation, Figure 3 and Figure 5 the described embodiments can be combined. Then, the ONU can execute Steps 501 - 508 before accessing the optical fiber and execute Steps 301 - 308 after accessing the optical fiber, which will not be elaborated here.
[0106] It should be noted that the second point is that after the ONU accesses the PON, the PON mode can also be switched during operation. Then, after Step 308 or 508, the ONU can also execute the following two steps:
[0107] Step 1, after the ONU successfully accesses the PON network in the target PON mode, receive a predetermined message sent by the OLT or the network management. The predetermined message is used to indicate the PON mode to be switched, and the PON mode to be switched is selected from the PON modes supported by the ONU.
[0108] In order to achieve a smooth upgrade from 1G PON to 10G PON, reduce construction costs and make full use of the computer room space, the access mode of the OLT is usually multimode. For example, the OLT of the Combo Pon system can support the GPON mode / XGPO N mode or the GPON mode / XGPON mode / XGSPON mode at the same time. When the ONU is also multimode, the authenticated ONU can actively switch the PON mode of the ONU through the OLT to make full use of the bandwidth or band resources. Therefore, the OLT can control the authenticated ONU to switch the PON mode.
[0109] When the OLT sends a predetermined message, the ONU reports the PON modes it supports to the OLT during registration. After that, when the OLT wants to switch the PON mode of the ONU, it can generate a predetermined message for indicating the PON mode to be switched and send the predetermined message to the ONU, and then the ONU receives the predetermined message. Among them, the predetermined message can be a private Physical Layer Operations, Administration and Maintenance (PLOAM) message or an ONU Management and Control Interface (OMCI).
[0110] Taking the Combo Pon system as an example, assume that the OLT supports two access modes, GPON / XGPON, and the ONU supports the GPON mode and the XGPON mode. For example, after the ONU is powered on, it registers in the XGPON mode and reports the supported mode information to the OLT at the same time. When there are too many ONUs accessing the band corresponding to the XGPON mode and the bandwidth resources are relatively tight, while the bandwidth resources of the band corresponding to the GPON mode are relatively abundant, the OLT can notify some ONUs to switch to the GPON mode to make full use of the band resources and relieve network congestion. Assume that the OLT supports three access modes, GPON / XGPON / XGSPON, and the ONU supports the XGPON mode and the XGSPON mode. For example, after the ONU is powered on, it registers in the XGPON mode and reports the supported mode information to the OLT at the same time. When the upstream bandwidth resources of the band corresponding to the XGPON mode are relatively tight, the OLT can notify some ONUs to switch to the XGSPON mode to improve the upstream bandwidth utilization rate and relieve network congestion.
[0111] When the network management sends a predetermined message, since the network management can be used to manage the ONU, when the network management wants to switch the PON mode of the ONU, it can generate a predetermined message for indicating the PON mode to be switched and send the predetermined message to the ONU, and then the ONU receives the predetermined message. This embodiment does not limit the predetermined message.
[0112] Step 2: Re-select the PON mode to be switched for registration.
[0113] Please refer to Figure 7 , which shows a schematic flow diagram of switching the PON mode of the ONU according to a predetermined message.
[0114] Step 701: When the ONU registers, it reports the mode information it supports to the OLT through a private PLOAM message or an OMCI message.
[0115] Step 702: The ONU determines whether the OLT notifies the ONU to switch the PON mode (that is, whether it receives the mode control information sent by the OLT through a private PLOAM message or an OMCI message). If it receives it, it enters Step 703. If it does not receive it, it continues to detect.
[0116] Among them, the mode control information is used to indicate the PON mode to be switched.
[0117] Step 703: The ONU switches the PON mode of the ONU according to the mode control information and re-initiates the registration process.
[0118] It should be noted that the third point is that when the ONU first accesses the PON, if the ONU can communicate with the terminal through WiFi and the terminal installs the ONU application (APP), the application in the terminal can send a switching message to the ONU through WiFi to indicate the PON mode to be switched through the switching message; if the ONU can communicate with other devices through NFC, other devices can send a switching message to the ONU through NFC to indicate the PON mode to be switched through the switching message; if the ONU can communicate with other devices through a network cable, a switching message can be sent to the ONU through a web page to indicate the PON mode to be switched through the switching message. Please refer to Figure 8 .
[0119] The above control method for the PON mode of the ONU is applicable to most current PON systems, including GPON, EPON, XGPON, XGSPON, XEPON asymmetric, XEPON symmetric, NGPON2, and future 50G PON and 100G PON systems.
[0120] Please refer to Figure 9 , which shows a structural block diagram of a mode control device for an optical network unit provided by an embodiment of the present application. The mode control device for the optical network unit can be applied to the ONU. The mode control device for the optical network unit may include:
[0121] A registration module 910, configured to select a PON mode from the PON modes supported by the ONU for registration when the ONU first accesses the PON.
[0122] An acquisition module 920, configured to acquire network parameters, where the network parameters are related to a target PON mode finally required by the ONU;
[0123] A switching module 930, configured to, when it is determined according to the acquisition situation of the network parameters that the selected PON mode is not the target PON mode, reselect a PON mode from the PON modes supported by the ONU for registration.
[0124] In an embodiment, when the network parameters are registration information broadcast by a network terminal OLT, the acquisition module 920 is further configured to: enable LOS signal detection; enable a timer when the LOS signal is eliminated; and receive the registration information broadcast by the OLT according to the timer.
[0125] In an embodiment, please refer to Figure 10 , the apparatus further includes:
[0126] A determination module 940, configured to, when the registration information is received before the timer expires and the PON mode corresponding to the registration information is the same as the selected PON mode, determine that the selected PON mode is the target PON mode, turn off the timer, and store the PON mode; or,
[0127] A determination module 940, configured to, when the registration information is received before the timer expires and the PON mode corresponding to the registration information is different from the selected PON mode, determine that the selected PON mode is not the target PON mode, and turn off the timer.
[0128] In an embodiment, the determination module 940 is further configured to, when the registration information has not been received when the timer expires, determine that the selected PON mode is not the target PON mode, and turn off the timer.
[0129] In an embodiment, when the network parameters are wavelength band information of an optical module, the apparatus further includes:
[0130] A determination module 940, configured to determine whether the wavelength band information matches the selected PON mode; when the wavelength band information matches the selected PON mode, determine that the selected PON mode is the target PON mode, and store the PON mode; when the wavelength band information does not match the selected PON mode, determine that the selected PON mode is not the target PON mode.
[0131] In an embodiment, the determination module 940 is further configured to, after determining that the selected PON mode is not the target PON mode, determine whether there is a PON mode in the PON modes supported by the ONU that matches the wavelength band information;
[0132] The device further includes: a stop module 950, configured to stop registration when there is no PON mode matching the band information among the PON modes supported by the ONU;
[0133] When there is a PON mode matching the band information among the PON modes supported by the ONU, the switching module 930 is further configured to: re-select a PON mode matching the band information for registration.
[0134] In an embodiment, the device further includes:
[0135] a receiving module 960, configured to receive a predetermined message sent by an OLT or a network management device after the ONU successfully accesses the PON network in a target PON mode, where the predetermined message is used to indicate a PON mode to be switched, and the PON mode to be switched is selected from the PON modes supported by the ONU;
[0136] The switching module 930 is further configured to re-select the PON mode to be switched for registration.
[0137] In summary, the mode control device of the optical network unit provided by the embodiment of the present application can select a PON mode from the PON modes supported by the ONU for registration when the ONU first accesses the PON, and then obtain network parameters. Since the network parameters are related to the target PON mode finally required by the ONU, it is possible to determine whether the selected PON mode is the target PON mode according to the acquisition situation of the network parameters. When it is determined according to the acquisition situation of the network parameters that the selected PON mode is not the target PON mode, a PON mode can be re-selected from the PON modes supported by the ONU for registration. In this way, the ONU can support switching between multiple PON modes after power-on, which is beneficial to the expansion and upgrade of the operator's communication system and the full utilization of existing communication resources, reduces the procurement cost of the operator or saves the waste of equipment, and is beneficial to energy conservation, emission reduction and equipment management.
[0138] An embodiment of the present application provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the mode control method of the optical network unit as described above.
[0139] An embodiment of the present application provides an optical network unit ONU, where the ONU includes a processor and a memory, and at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the mode control method of the optical network unit as described above.
[0140] It should be noted that when the mode control device of the optical network unit provided in the above embodiments performs mode control of the optical network unit, only the division of the above functional modules is used for illustration. In actual applications, the above functions can be assigned to different functional modules according to needs, that is, the internal structure of the mode control device of the optical network unit is divided into different functional modules to complete all or part of the functions described above. In addition, the mode control device of the optical network unit provided in the above embodiments and the embodiment of the mode control method of the optical network unit belong to the same concept. For the specific implementation process, please refer to the method embodiment and will not be elaborated here.
[0141] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by a program instructing related hardware. The program can be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disc, etc.
[0142] The above does not intend to limit the embodiments of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the embodiments of the present application shall be included in the protection scope of the embodiments of the present application.
Claims
1. A mode control method for an optical network unit, characterized in that: The method comprises: When an optical network unit (ONU) first accesses a passive optical network (PON), a PON mode is selected from the PON modes supported by the ONU for registration; Acquire network parameters, where the network parameters are related to the target PON mode that the ONU ultimately needs to select; When it is determined according to the acquisition of the network parameters that the selected PON mode is not the target PON mode, reselecting a PON mode from the PON modes supported by the ONU for registration; Wherein, when the network parameter is registration information broadcast by the network terminal OLT, obtaining the network parameter includes: Enable LOS signal detection; When the LOS signal is eliminated, a timer is started; The registration information broadcast by the OLT is received according to the timer.
2. The method according to claim 1, characterized in that The method further comprises: When the registration information is received before the timer times out, and the PON mode corresponding to the registration information is the same as the selected PON mode, determining that the selected PON mode is the target PON mode, stopping the timer, and storing the PON mode; When the registration information is received before the timer times out, and the PON mode corresponding to the registration information is different from the selected PON mode, it is determined that the selected PON mode is not the target PON mode, and the timer is turned off.
3. The method according to claim 1, characterized in that The method further comprises: When the registration information is not received when the timer times out, it is determined that the selected PON mode is not the target PON mode, and the timer is turned off.
4. The method according to claim 1, wherein When the network parameter is band information of an optical module, the method further includes: Determining whether the band information matches the selected PON mode; When the band information matches the selected PON mode, determining that the selected PON mode is the target PON mode, and storing the PON mode; When the band information does not match the selected PON mode, it is determined that the selected PON mode is not the target PON mode.
5. The method according to claim 4, characterized in that After determining that the selected PON mode is not the target PON mode, the method further includes: Determining whether there is a PON mode matching the band information among the PON modes supported by the ONU; When there is no PON mode matching the band information among the PON modes supported by the ONU, stopping registration; When there is a PON mode matching the band information among the PON modes supported by the ONU, reselecting a PON mode from the modes supported by the ONU for registration includes: reselecting the PON mode matching the band information for registration.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: After the ONU successfully accesses the PON network in the target PON mode, receiving a predetermined message sent by the OLT or a network manager, the predetermined message is used to indicate a PON mode to be switched, and the PON mode to be switched is selected from PON modes supported by the ONU; Reselect the PON mode to be switched to perform registration.
7. A mode control device for an optical network unit, characterized in that: The device comprises: A registration module is used to select a PON mode from the PON modes supported by the optical network unit ONU for registration when the optical network unit ONU is first connected to the passive optical network PON; An acquisition module, configured to acquire network parameters, wherein the network parameters are related to a target PON mode that the ONU ultimately needs to select; a switching module, configured to reselect a PON mode from the PON modes supported by the ONU for registration when it is determined based on the acquisition of the network parameters that the selected PON mode is not the target PON mode; The device is further configured to, when the network parameter is registration information broadcast by a network terminal OLT, start loss of signal (LOS) signal detection; start a timer when the LOS signal disappears; and receive registration information broadcast by the OLT according to the timer.
8. A computer-readable storage medium, characterized in that The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the mode control method of the optical network unit as described in any one of claims 1 to 6.
9. An optical network unit (ONU), characterized in that: The ONU includes a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the mode control method of the optical network unit according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method for achieving intelligent ONU double-light source adaptation based on optical network unit
CN104540046A
Passive optical network mode switching method and device as well as passive optical network equipment and system
CN107529100A
GPON system for realizing rapid protection switching and protection switching method
CN108631861A