Channel recovery method and device in access network multi-wave PON (Passive Optical Network) system
By actively monitoring the idle code heartbeat message and adjusting the link working rate, the problem of long wavelength channel switching delay or stability in WDM-PON system is solved, and a channel recovery method with fast and efficient recovery is realized.
Patent Information
- Application Number
- CN202411300933.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2025-02-07
AI Technical Summary
In WDM-PON systems, the long delay or stability of the wavelength channel switching affects the stability and reliability of the system.
Actively monitor the idle code heartbeat message through ONU, adjust the link working rate, and perform WDM wavelength channel switching within the preset time until the switched channel can receive the idle code heartbeat message.
It realizes rapid recovery of channels, reduces monitoring time, improves channel recovery efficiency, and improves system stability and reliability.
Smart Images

Figure CN119402772A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a channel recovery method and device in a multi-wave PON system of an access network. Background Art
[0002] Wavelength Division Multiplexing Passive Optical Network (WDM-PON) is a fiber access technology that combines wavelength division multiplexing (WDM) technology and passive optical network (PON) topology. In WDM-PON systems, switching of specific wavelength channels is one of the key technologies for achieving dynamic bandwidth allocation and fault recovery. This process usually involves the coordinated work of tunable lasers and filtering systems.
[0003] When the system needs to switch wavelength channels, the tunable laser will quickly adjust its output wavelength to the target wavelength, and ensure that only the signal of this wavelength is transmitted to the optical network unit (ONU) through the filtering system. However, when the tunable laser takes a long time to adjust the wavelength, or the filtering system does not respond quickly enough, there may be long switching delays or stability issues, which will affect the stability and reliability of the entire system.
[0004] Therefore, there is an urgent need for a channel recovery method and device in an access network multi-wavelength PON system to solve the above problems. Summary of the invention
[0005] In view of the problems existing in the prior art, the present invention provides a channel recovery method and device in a multi-wavelength PON system of an access network.
[0006] The present invention provides a channel recovery method in an access network multi-wave PON system, comprising the following steps: Open the initial downstream wavelength division multiplexing WDM wavelength channel and monitor the channel message of the initial downstream WDM wavelength channel; When it is determined that the initial downstream WDM wavelength channel has not received an idle code heartbeat message within the first preset time, adjusting the working rate of the link in the initial downstream WDM wavelength channel, and continuing to monitor the idle code heartbeat message of the initial downstream WDM wavelength channel, the idle code heartbeat message is based on the optical line terminal OLT. Timing is sent to each downstream WDM wavelength channel; When it is determined that the initial downstream WDM wavelength channel has not received the idle code heartbeat message within a second preset time, WDM wavelength channel switching is performed until the switched WDM wavelength channel can receive the idle code heartbeat message, and the second preset time is greater than the first preset time.
[0007] According to a channel recovery method in a multi-wavelength PON system of an access network provided by the present invention, the WDM wavelength channel switching is performed until the switched WDM wavelength channel can receive the idle code heartbeat message, comprising: Switching is performed between a plurality of WDM wavelength channels supported by the optical network unit ONU until the switched WDM wavelength channel can receive the idle code heartbeat message.
[0008] According to a channel recovery method in a multi-wavelength PON system of an access network provided by the present invention, after determining that the switched WDM wavelength channel can receive the idle code heartbeat message, the method further includes: The upstream channel sending function is enabled, and the interconnection with the OLT is performed to restore the WDM wavelength channel connection.
[0009] According to a channel recovery method in a multi-wavelength PON system of an access network provided by the present invention, before the initial downstream wavelength division multiplexing WDM wavelength channel is opened, the method further includes: Store the historical rate information and historical WDM wavelength channel information when it was correctly connected to the OLT last time; The working rate is set to the rate corresponding to the historical rate information, and is set to work on the WDM wavelength channel corresponding to the historical WDM wavelength channel information.
[0010] According to a channel recovery method in a multi-wavelength PON system of an access network provided by the present invention, the operating rate of the link in the initial downstream WDM wavelength channel is adjusted, comprising: Cyclic switching is performed among a plurality of rates supported by the link in the initial downstream WDM wavelength channel to adjust the working rate of the link in the initial downstream WDM wavelength channel.
[0011] According to a channel recovery method in a multi-wavelength PON system of an access network provided by the present invention, each of the WDM wavelength channels is an idle WDM wavelength channel.
[0012] The present invention also provides a channel recovery device in an access network multi-wave PON system, comprising the following modules: A monitoring module, used for opening an initial downstream WDM wavelength channel and monitoring a channel message of the initial downstream WDM wavelength channel; An adjustment module is used to adjust the working rate of the link in the initial downstream WDM wavelength channel when it is determined that the initial downstream WDM wavelength channel has not received an idle code heartbeat message within a first preset time, and continue to monitor the idle code heartbeat message of the initial downstream WDM wavelength channel, wherein the idle code heartbeat message is sent to each downstream WDM wavelength channel based on the optical line terminal OLT timing; The switching module is used to perform WDM wavelength channel switching when it is determined that the initial downstream WDM wavelength channel has not received the idle code heartbeat message within the second preset time, until the switched WDM wavelength channel can receive the idle code heartbeat message.
[0013] The present invention also provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the channel recovery method in the access network multi-wave PON system as described in any one of the above is implemented.
[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the channel recovery method in the access network multi-wave PON system as described in any one of the above is implemented.
[0015] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the channel recovery method in the access network multi-wavelength PON system as described in any one of the above is implemented.
[0016] The channel recovery method and device in the access network multi-wavelength PON system provided by the present invention can find idle and available wavelength channels through the method that the ONU actively monitors the idle code heartbeat message of each wavelength channel one by one, thereby realizing a fast channel recovery process. At the same time, when the ONU expects to restore the connection from the wavelength channel of the previous normal communication, the OLT and the ONU are allowed to communicate directly in the wavelength channel, which reduces the monitoring time and further improves the channel recovery efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 Schematic diagram of a colorless ONU architecture of an AWG in a related method.
[0019] Figure 2 The present invention is a flowchart of a channel recovery method in a multi-wavelength PON system of an access network.
[0020] Figure 3 It is a schematic diagram of the ODN transmission structure provided by the present invention.
[0021] Figure 4 It is a schematic diagram of the structure of the PON system provided by the present invention.
[0022] Figure 5 The present invention is a schematic diagram of the structure of a channel recovery device in a multi-wavelength PON system of an access network.
[0023] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] The related methods are based on the switching of WDM wavelength channels in the multi-wavelength WDM-PON system of the access network, which often involves the dynamic switching of specific wavelength channels by tunable lasers and filter systems, such as Figure 1 The colorless ONU architecture diagram of the AWG in the related method is shown in the figure. In the related method, the related extension negotiation is performed based on the standard GPON PLOAM, and the GPON firmware and related devices need to be integrated in the OLT and ONU devices, which increases the cost to a certain extent.
[0026] When the system needs to switch wavelength channels, the tunable laser will quickly adjust its output wavelength to the target wavelength, and ensure that only the signal of this wavelength is transmitted to the optical network unit (ONU) through the filtering system. However, when the tunable laser takes a long time to adjust the wavelength, or the filtering system does not respond quickly enough, there may be long switching delays or stability issues, which will affect the stability and reliability of the entire system.
[0027] In view of the shortcomings of related methods, Figure 2 Schematic diagram of the process of channel recovery method in access network multi-wave PON system provided by the present invention, such as Figure 2 As shown, the method includes the following: Step 210, opening an initial downstream wavelength division multiplexing (WDM) wavelength channel and monitoring a channel message of the initial downstream WDM wavelength channel; Step 220, when it is determined that the initial downstream WDM wavelength channel has not received an idle code heartbeat message within the first preset time, adjusting the working rate of the link in the initial downstream WDM wavelength channel, and continuing to monitor the idle code heartbeat message of the initial downstream WDM wavelength channel, wherein the idle code heartbeat message is sent to each downstream WDM wavelength channel based on the optical line terminal OLT timing; Step 230, when it is determined that the initial downstream WDM wavelength channel has not received the idle code heartbeat message within a second preset time, perform WDM wavelength channel switching until the switched WDM wavelength channel can receive the idle code heartbeat message, and the second preset time is greater than the first preset time.
[0028] The Optical Network Unit (ONU) is a user-side device in the optical fiber access network. It is located between the Optical Distribution Network (ODN) and the user equipment and is a key component of the optical fiber communication system. The ONU is responsible for converting optical signals into electrical signals that can be used by users, providing users with high-speed and stable data transmission services.
[0029] like Figure 3 The ODN transmission structure provided by the present invention is shown in the schematic diagram. OLT is one of the core devices of the multi-wavelength PON system of the access network, responsible for converting data from the upper network (such as a metropolitan area network or a wide area network) into optical signals and transmitting them to each ONU through the ODN.
[0030] The following takes an optical network unit ONU executing the channel recovery method in the access network multi-wavelength PON system provided by the present invention as an example to describe the technical solution of the present invention in detail.
[0031] In step 210, an initial downstream wavelength division multiplexing (WDM) wavelength channel is opened, and a channel message of the initial downstream WDM wavelength channel is monitored.
[0032] like Figure 4 As shown in the schematic diagram of the PON system structure provided by the present invention, in each WDM wavelength channel downstream of the OLT, the OLT periodically sends an idle code heartbeat (abbreviated as WPLOAM-KP) to the terminals under all optical branches. When the ONU initially registers, it starts to monitor the WPLOAM-KP from the first wavelength channel it supports. The link monitoring rate is initially defined at 1.25Gbit, based on the link rate and number of channels it supports.
[0033] The ONU starts an initial downstream wavelength division multiplexing (WDM) wavelength channel and monitors a channel message of the initial downstream WDM wavelength channel.
[0034] In step 220, when it is determined that the initial downstream WDM wavelength channel has not received an idle code heartbeat message within the first preset time, the working rate of the link in the initial downstream WDM wavelength channel is adjusted, and the idle code heartbeat message of the initial downstream WDM wavelength channel is continuously monitored.
[0035] The idle code heartbeat message is a commonly used mechanism in network communication to monitor whether the link status is active or idle.
[0036] Continuously monitor the idle code heartbeat message on the initial downstream WDM wavelength channel. This is usually achieved through a monitoring mechanism at the physical layer or data link layer. If the idle code heartbeat message is not received within the first preset time, the system needs to trigger a corresponding response mechanism.
[0037] Adjust the working rate of the link in the wavelength channel. The adjustment of the working rate may include reducing the rate to try to re-establish stable communication, or trying to switch to a different rate to see if the communication quality can be improved.
[0038] After adjusting the working rate, continue to monitor the idle code heartbeat message of the wavelength channel to determine whether the idle code heartbeat message can be received.
[0039] Optionally, the initial ONU can work in the first supported WDM wavelength channel P1 at a rate of 1G. If the idle code heartbeat message WPLOAM-KP is not received within the first preset time, the link working rate is adjusted to 2.5G / 10G rate in turn, and the WPLOAM-KP is continuously monitored.
[0040] In step 230, when it is determined that the initial downstream WDM wavelength channel has not received the idle code heartbeat message within a second preset time, WDM wavelength channel switching is performed until the switched WDM wavelength channel can receive the idle code heartbeat message, and the second preset time is greater than the first preset time.
[0041] Before the second preset time is reached, the system continuously monitors the idle code heartbeat message on the initial downstream WDM wavelength channel. If the idle code heartbeat message is received during this period of time, there is no need to switch the wavelength channel.
[0042] Once it is determined that no idle code heartbeat message is received within the second preset time, the system needs to make a decision to switch the WDM wavelength channel.
[0043] Optionally, the specific switching process may be: If the idle code heartbeat message WPLOAM-KP is not received within the second preset time, it will switch to the second supported WDM wavelength channel P2 with a rate of 1G. Assume that the supported WDM wavelength channel is the P1-P4 channel. Poll and switch the P1-P4 channel until the switched WDM wavelength channel can receive the idle code heartbeat message.
[0044] The channel recovery method in the access network multi-wavelength PON system provided by the present invention realizes a fast channel recovery process by actively monitoring the idle code heartbeat message of each wavelength channel by the ONU to find an idle and available wavelength channel. At the same time, when the ONU expects to restore the connection from the wavelength channel of the previous normal communication, the OLT and the ONU are allowed to communicate directly in the wavelength channel, which reduces the monitoring time and further improves the channel recovery efficiency.
[0045] In one embodiment, performing WDM wavelength channel switching until the switched WDM wavelength channel can receive an idle code heartbeat message includes: switching between multiple WDM wavelength channels supported by the optical network unit ONU until the switched WDM wavelength channel can receive the idle code heartbeat message.
[0046] Switch the WDM wavelength channel between multiple WDM wavelength channels supported by the optical network unit ONU. If the new wavelength channel after switching still cannot receive the idle code heartbeat message, it is necessary to select the next WDM wavelength channel for another try.
[0047] For example, if the idle code heartbeat message WPLOAM-KP is not received within the second preset time, the second supported WDM wavelength channel P2 will be switched to a rate of 1G. Assume that the supported WDM wavelength channels are P1-P4 channels. The P1-P4 channels are switched in a polling manner until the switched WDM wavelength channel can receive the idle code heartbeat message.
[0048] In one embodiment, after determining that the switched WDM wavelength channel can receive the idle code heartbeat message, the method further includes: enabling an uplink channel sending function, and performing docking with the OLT to restore the WDM wavelength channel connection.
[0049] After confirming that the switched WDM wavelength channel can stably receive idle code heartbeat messages, the optical network unit (ONU) will perform a series of subsequent operations to ensure the integrity of the network connection and the normal recovery of the service.
[0050] Specifically, during the docking process, the ONU needs to register with the OLT and accept authentication. The registration process usually includes the ONU sending its identity information and configuration parameters to the OLT, and the OLT verifies and authorizes the ONU based on this information. After successful authentication, the OLT will allocate necessary network resources and services to the ONU. Once registration and authentication are completed, the ONU and OLT will begin to configure service parameters and synchronization status information. This includes setting QoS parameters, bandwidth allocation, VLAN configuration, etc. to ensure that service data can be transmitted in the network according to predetermined rules.
[0051] In one embodiment, before starting the initial downstream wavelength division multiplexing WDM wavelength channel, it also includes: storing historical rate information and historical WDM wavelength channel information when it was correctly connected to the OLT last time; setting the working rate to the rate corresponding to the historical rate information, and setting it to work on the WDM wavelength channel corresponding to the historical WDM wavelength channel information.
[0052] In the optical network system, in order to ensure the stability and rapid recovery of network connections, the optical network unit (ONU) will take a series of pre-configuration and optimization measures before opening the initial downstream wavelength division multiplexing (WDM) wavelength channel. Among them, storing the historical rate information and historical WDM wavelength channel information when it was correctly connected to the optical line terminal (OLT) last time, and setting the current working rate and WDM wavelength channel accordingly, is an important part of these measures.
[0053] The ONU will record the data transmission rate used when it successfully connected to the OLT last time. This rate is dynamically negotiated based on factors such as network conditions, business requirements, and the performance of both devices. Storing historical rate information helps the ONU quickly recover to the previous working state when re-establishing a connection, reducing performance loss or connection failure caused by rate mismatch.
[0054] Similarly, the ONU will also record the WDM wavelength channel information used in the last successful connection. This includes key parameters such as wavelength number, frequency, and optical power. Storing this information helps the ONU quickly switch to the previously stable wavelength channel when needed, reducing communication problems caused by wavelength conflicts or interference.
[0055] Before opening the initial downstream WDM wavelength channel, the ONU will first query the stored historical rate information and set the current working rate to the rate corresponding to the historical rate information. This ensures that the data transmission rate between the ONU and the OLT remains consistent with the previous stable state, reducing performance fluctuations caused by rate changes.
[0056] At the same time, the ONU will query the stored historical WDM wavelength channel information and configure itself to work on the WDM wavelength channel corresponding to the historical information. This can reduce communication failures or performance degradation caused by improper wavelength selection. If the historical wavelength channel is still available and stable, this setting will help the ONU quickly restore communication capabilities.
[0057] In one embodiment, adjusting the operating rate of the link in the initial downstream WDM wavelength channel includes: cyclically switching among multiple rates supported by the link in the initial downstream WDM wavelength channel to adjust the operating rate of the link in the initial downstream WDM wavelength channel.
[0058] It is necessary to clarify the rate range supported by the link in the initial downstream WDM wavelength channel. This usually depends on the physical characteristics of the link (such as fiber type, transmission distance, etc.), the performance of the optical transceiver, and the configuration of the network equipment. By consulting the equipment specification sheet, network management system, or conducting actual tests, a range of rate values that the link can stably support can be determined.
[0059] After determining the supported rate range, you need to design a reasonable rate switching strategy. This strategy should include the starting rate of the switch, the switching step size (i.e., the rate change amount at each switch), the switching sequence (such as increasing, decreasing, or random), and the switching cycle or number limit.
[0060] Specifically, the rate switching operation may be started according to the designed switching strategy, which usually involves modifying the configuration parameters of the network device to change the working rate of the link.
[0061] In one embodiment, each of the WDM wavelength channels is an idle WDM wavelength channel.
[0062] When switching channels, all available idle WDM wavelength channels need to be identified as candidates. After each switch, the new channel is immediately monitored for idle code heartbeat messages. Heartbeat messages are special signals used to detect link status, usually sent periodically by OLT (optical line terminal) to ensure that ONU (optical network unit) can confirm the connectivity and health of the link.
[0063] The present invention also provides a channel recovery process in the access network multi-wave PON system provided by the present invention, and the process includes: The ONU in this scenario only supports P1-P4 channels and the rate supports 1G and 2.5G modes.
[0064] Step 1: OLT sends WPLOAM-KP messages regularly to each supported WDM wavelength channel according to the rules defined in this method.
[0065] Step 2: For non-idle WDM wavelength channels, the OLT does not send WPLOAM-KP.
[0066] Step 3: If the ONU is connected to the WDM OLT for the first time, set the wavelength channel of the laser to P1, the rate to 1G mode, the downstream receiving mode, and the upstream prohibition of sending wavelength information.
[0067] Step 4: ONU continuously monitors WPLOAM-KP and sets the single monitoring time to 1 second.
[0068] Step 5: If the ONU receives the WPLOAM-KP message sent by the OLT within 1 second, the upstream sending function is enabled to complete the WMD wavelength channel registration process with the OLT.
[0069] Step 6: If the ONU does not receive the WPLOAM-KP message sent by the OLT within 1 second, the rate of the wavelength channel switching P1 is tuned to the 2.5G mode, the single monitoring time is set to 1 second, and the monitoring is restarted.
[0070] Step 7: If the ONU receives the WPLOAM-KP message sent by the OLT within 1 second, the upstream sending function is enabled to complete the WMD wavelength channel registration process with the OLT.
[0071] Step 8: If the ONU does not receive the WPLOAM-KP message sent by the OLT within 1 second, the wavelength channel is switched to P2, the link rate is set to 1G mode, and the above step 4 is repeated.
[0072] Step 9: According to the description of steps 3 to 8 above, if channel recovery is not completed, set the single channel monitoring delay to 5 seconds.
[0073] Step 10: After the channel monitoring time expires, repeat steps 4 to 8.
[0074] Step 11, for the ONU that is not docking with the OLT for the first time, if the channel information Px and rate Sx when it was correctly docked with the OLT last time are stored locally, the channel and rate in step 3 can be directly set to Px and Sx, and the above steps 4 to 10 are completed in a loop.
[0075] The channel recovery device in the access network multi-wave PON system provided by the present invention is described below. The channel recovery device in the access network multi-wave PON system described below and the channel recovery method in the access network multi-wave PON system described above can correspond to each other.
[0076] like Figure 5 As shown, the device includes
[0077] A monitoring module 510, configured to enable an initial downstream WDM wavelength channel and monitor a channel message of the initial downstream WDM wavelength channel; The adjustment module 520 is used to adjust the working rate of the link in the initial downstream WDM wavelength channel when it is determined that the initial downstream WDM wavelength channel has not received an idle code heartbeat message within a first preset time, and continue to monitor the idle code heartbeat message of the initial downstream WDM wavelength channel, wherein the idle code heartbeat message is sent to each downstream WDM wavelength channel based on the optical line terminal OLT timing; The switching module 530 is used to perform WDM wavelength channel switching when it is determined that the initial downstream WDM wavelength channel has not received the idle code heartbeat message within the second preset time, until the switched WDM wavelength channel can receive the idle code heartbeat message.
[0078] The channel recovery device in the access network multi-wavelength PON system provided by the present invention searches for idle and available wavelength channels through the method that the ONU actively monitors the idle code heartbeat message one by one wavelength channel, thereby realizing a rapid channel recovery process. At the same time, when the ONU expects to restore the connection from the wavelength channel of the previous normal communication, the OLT and the ONU are allowed to communicate directly in the wavelength channel, which reduces the monitoring time and further improves the channel recovery efficiency.
[0079] In one embodiment, the switching module 530 is specifically configured to: The performing of WDM wavelength channel switching until the switched WDM wavelength channel can receive the idle code heartbeat message includes: Switching is performed between a plurality of WDM wavelength channels supported by the optical network unit ONU until the switched WDM wavelength channel can receive the idle code heartbeat message.
[0080] In one embodiment, the switching module 530 is further specifically configured to: After determining that the switched WDM wavelength channel can receive the idle code heartbeat message, the method further includes: The upstream channel sending function is enabled, and the interconnection with the OLT is performed to restore the WDM wavelength channel connection.
[0081] In one embodiment, the monitoring module 510 is specifically used for: Before the initial downstream wavelength division multiplexing (WDM) wavelength channel is opened, the method further includes: Store the historical rate information and historical WDM wavelength channel information when it was correctly connected to the OLT last time; The working rate is set to the rate corresponding to the historical rate information, and is set to work on the WDM wavelength channel corresponding to the historical WDM wavelength channel information.
[0082] In one embodiment, the adjustment module 520 is specifically used to: The adjusting the working rate of the link in the initial downstream WDM wavelength channel includes: Cyclic switching is performed among a plurality of rates supported by the link in the initial downstream WDM wavelength channel to adjust the working rate of the link in the initial downstream WDM wavelength channel.
[0083] In one embodiment, the switching module 530 is further specifically configured to: It is determined that each of the WDM wavelength channels is an idle WDM wavelength channel.
[0084] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communications interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a channel recovery method in a multi-wavelength PON system of an access network, the method comprising: opening an initial downstream wavelength division multiplexing WDM wavelength channel, and monitoring a channel message of the initial downstream WDM wavelength channel; When it is determined that the initial downstream WDM wavelength channel has not received an idle code heartbeat message within the first preset time, adjusting the working rate of the link in the initial downstream WDM wavelength channel, and continuing to monitor the idle code heartbeat message of the initial downstream WDM wavelength channel, the idle code heartbeat message is based on the optical line terminal OLT. Timing is sent to each downstream WDM wavelength channel; When it is determined that the initial downstream WDM wavelength channel has not received the idle code heartbeat message within a second preset time, WDM wavelength channel switching is performed until the switched WDM wavelength channel can receive the idle code heartbeat message, and the second preset time is greater than the first preset time.
[0085] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0086] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the channel recovery method in the access network multi-wavelength PON system provided by the above methods, the method includes: opening an initial downstream wavelength division multiplexing WDM wavelength channel, and monitoring a channel message of the initial downstream WDM wavelength channel; When it is determined that the initial downstream WDM wavelength channel has not received an idle code heartbeat message within the first preset time, adjusting the working rate of the link in the initial downstream WDM wavelength channel, and continuing to monitor the idle code heartbeat message of the initial downstream WDM wavelength channel, the idle code heartbeat message is based on the optical line terminal OLT. Timing is sent to each downstream WDM wavelength channel; When it is determined that the initial downstream WDM wavelength channel has not received the idle code heartbeat message within a second preset time, WDM wavelength channel switching is performed until the switched WDM wavelength channel can receive the idle code heartbeat message, and the second preset time is greater than the first preset time.
[0087] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the channel recovery method in the access network multi-wavelength PON system provided by the above methods, the method comprising: opening an initial downstream wavelength division multiplexing WDM wavelength channel, and monitoring a channel message of the initial downstream WDM wavelength channel; When it is determined that the initial downstream WDM wavelength channel has not received an idle code heartbeat message within the first preset time, adjusting the working rate of the link in the initial downstream WDM wavelength channel, and continuing to monitor the idle code heartbeat message of the initial downstream WDM wavelength channel, the idle code heartbeat message is based on the optical line terminal OLT. Timing is sent to each downstream WDM wavelength channel; When it is determined that the initial downstream WDM wavelength channel has not received the idle code heartbeat message within a second preset time, WDM wavelength channel switching is performed until the switched WDM wavelength channel can receive the idle code heartbeat message, and the second preset time is greater than the first preset time.
[0088] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A channel recovery method in a multi-wavelength PON system of an access network, characterized in that: The method comprises: Open the initial downstream wavelength division multiplexing WDM wavelength channel and monitor the channel message of the initial downstream WDM wavelength channel; When it is determined that the initial downstream WDM wavelength channel has not received an idle code heartbeat message within the first preset time, adjusting the working rate of the link in the initial downstream WDM wavelength channel, and continuing to monitor the idle code heartbeat message of the initial downstream WDM wavelength channel, the idle code heartbeat message is based on the optical line terminal OLT. Timing is sent to each downstream WDM wavelength channel; When it is determined that the initial downstream WDM wavelength channel has not received the idle code heartbeat message within a second preset time, WDM wavelength channel switching is performed until the switched WDM wavelength channel can receive the idle code heartbeat message, and the second preset time is greater than the first preset time.
2. The channel recovery method in the access network multi-wave PON system according to claim 1, characterized in that: The performing of WDM wavelength channel switching until the switched WDM wavelength channel can receive the idle code heartbeat message includes: Switching is performed between a plurality of WDM wavelength channels supported by the optical network unit ONU until the switched WDM wavelength channel can receive the idle code heartbeat message.
3. The channel recovery method in the access network multi-wave PON system according to claim 1, characterized in that: After determining that the switched WDM wavelength channel can receive the idle code heartbeat message, the method further includes: The upstream channel sending function is enabled, and the interconnection with the OLT is performed to restore the WDM wavelength channel connection.
4. The channel recovery method in the access network multi-wave PON system according to claim 1, characterized in that: Before the initial downstream wavelength division multiplexing (WDM) wavelength channel is opened, the method further includes: Store the historical rate information and historical WDM wavelength channel information when it was correctly connected to the OLT last time; The working rate is set to the rate corresponding to the historical rate information, and is set to work on the WDM wavelength channel corresponding to the historical WDM wavelength channel information.
5. The channel recovery method in the access network multi-wave PON system according to claim 1, characterized in that: The adjusting the working rate of the link in the initial downstream WDM wavelength channel includes: Cyclic switching is performed among a plurality of rates supported by the link in the initial downstream WDM wavelength channel to adjust the working rate of the link in the initial downstream WDM wavelength channel.
6. The channel recovery method in the access network multi-wave PON system according to claim 1, characterized in that: The various WDM wavelength channels are idle WDM wavelength channels.
7. A channel recovery device in a multi-wavelength PON system of an access network, characterized in that: include: A monitoring module, used for opening an initial downstream WDM wavelength channel and monitoring a channel message of the initial downstream WDM wavelength channel; An adjustment module is used to adjust the working rate of the link in the initial downstream WDM wavelength channel when it is determined that the initial downstream WDM wavelength channel has not received an idle code heartbeat message within a first preset time, and continue to monitor the idle code heartbeat message of the initial downstream WDM wavelength channel, wherein the idle code heartbeat message is sent to each downstream WDM wavelength channel based on the optical line terminal OLT timing; The switching module is used to perform WDM wavelength channel switching when it is determined that the initial downstream WDM wavelength channel has not received the idle code heartbeat message within the second preset time, until the switched WDM wavelength channel can receive the idle code heartbeat message.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the channel recovery method in the access network multi-wavelength PON system according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the channel recovery method in the access network multi-wavelength PON system according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the channel recovery method in the access network multi-wavelength PON system according to any one of claims 1 to 6 is implemented.