A wavelength channel determination method and apparatus, a communication device, and a storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-23
- Publication Date
- 2026-08-11
AI Technical Summary
针对该问题,目前尚无有有效解决方案
Smart Images

Figure CN115811676B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of optical network communication technology, and in particular to a method, apparatus, communication device, and storage medium for determining wavelength channels. Background Technology
[0002] In related technologies, gigabit passive optical network (G / EPON) communication systems employ time-division multiplexing, achieving a maximum bandwidth of 1G / 2.5G, which is shared by all optical network units (ONUs). In actual operation, how can a single ONU obtain higher bandwidth? Currently, there is no effective solution to this problem. Summary of the Invention
[0003] To address the existing technical problems, the main objective of this invention is to provide a method, apparatus, communication device, and storage medium for determining wavelength channels.
[0004] To achieve the above objectives, the technical solution of the present invention is implemented as follows:
[0005] In a first aspect, the present invention provides a method for determining wavelength channels, applied to an optical line terminal (OLT) in a passive optical network (PON) system, wherein the system supports multi-wavelength transmission; the system includes multiple optical network units (ONUs); the method includes:
[0006] Determine the initial set of wavelength channels supported by the first ONU; the first ONU is any one of a plurality of ONUs;
[0007] Obtain the target bandwidth required by the first ONU, and determine the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the target bandwidth;
[0008] Send first identification information of the first target wavelength channel set to the first ONU; the first identification information is used by the first ONU to determine the second target wavelength channel set corresponding to the first target wavelength channel set when the first ONU determines that at least one wavelength channel in the first target wavelength channel set is available.
[0009] The system receives second identification information of the second target wavelength channel set sent by the first ONU, and determines at least one wavelength channel in the second target wavelength channel set according to the second identification information; the at least one wavelength channel is used for service transmission with the first ONU.
[0010] In the above scheme, determining the initial set of wavelength channels supported by the first ONU includes:
[0011] Receive the first information sent by the first ONU;
[0012] The initial wavelength channel set is determined based on the first information.
[0013] In the above scheme, the method further includes:
[0014] Obtain the initial bandwidth corresponding to the initial wavelength channel for service transmission of the first ONU.
[0015] In the above scheme, determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the initial bandwidth and the target bandwidth includes:
[0016] The target bandwidth is compared with a first preset threshold to obtain a first result; the first preset threshold represents the maximum available bandwidth of the PON system.
[0017] The target bandwidth is compared with the initial bandwidth to obtain a second result;
[0018] Based on the first result and the second result, the first target wavelength channel set supported by the first ONU is determined from the initial wavelength channel set.
[0019] In the above scheme, determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the first result and the second result includes:
[0020] If the first result indicates that the target bandwidth is less than or equal to the first preset threshold, and the second result indicates that the target bandwidth is greater than the initial bandwidth, at least one first wavelength channel is determined from the initial wavelength channel set based on the target bandwidth.
[0021] The at least one first wavelength channel is used as the first target wavelength channel set supported by the first ONU.
[0022] In the above scheme, determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the first result and the second result includes:
[0023] If the first result indicates that the target bandwidth is greater than the first preset threshold, and the second result indicates that the target bandwidth is greater than the initial bandwidth, then a plurality of second wavelength channels are determined from the initial wavelength channel set based on the target bandwidth and the first preset threshold.
[0024] The plurality of second wavelength channels are used as the first target wavelength channel set supported by the first ONU.
[0025] In the above scheme, determining multiple second wavelength channels from the initial wavelength channel set based on the target bandwidth and the first preset threshold includes:
[0026] The target bandwidth and the first preset threshold are processed to obtain a third result;
[0027] The plurality of second wavelength channels are determined from the initial wavelength channel set based on the third result.
[0028] In the above scheme, the method further includes:
[0029] If the first result indicates that the target bandwidth is less than or equal to the first preset threshold, and the second result indicates that the target bandwidth is less than or equal to the initial bandwidth, then it is determined that the initial wavelength channel will be used for service transmission.
[0030] In the above scheme, before determining at least one wavelength channel in the second target wavelength channel set based on the second identification information, the method includes:
[0031] If the second identification information is detected and it is found that the second identification information indicates that the second target wavelength channel set is an empty set, then at least one wavelength channel cannot be determined in the second target wavelength channel set.
[0032] In the above scheme, before the at least one wavelength channel performs service transmission with the first ONU, the method further includes:
[0033] Configure the state of the at least one wavelength channel to a non-idle state.
[0034] In the above scheme, after the at least one wavelength channel performs service transmission with the first ONU, the method further includes:
[0035] Configure the state of the at least one wavelength channel from a non-idle state to an idle state.
[0036] In the above scheme, after the at least one wavelength channel performs service transmission with the first ONU, the method further includes:
[0037] Send a second message to the first ONU; the second message is used for the first ONU to switch its connection with the at least one wavelength channel to the initial wavelength channel.
[0038] Secondly, the present invention also provides a method for determining wavelength channels, applied to an optical network unit (ONU) in a passive optical fiber network (PON) system, wherein the system supports multi-wavelength transmission, and the method includes:
[0039] Receive first identification information of a first target wavelength channel set sent by the OLT, and determine a second target wavelength channel set corresponding to the condition that at least one wavelength channel in the first target wavelength channel set is available based on the first identification information;
[0040] The second identification information of the second target wavelength channel set is sent to the OLT; the second identification information is used by the OLT to determine at least one wavelength channel in the second target wavelength channel set; the at least one wavelength channel is used to perform service transmission with the OLT.
[0041] In the above scheme, the method further includes:
[0042] Configure the initial wavelength channel for service transmission.
[0043] In the above scheme, the second target wavelength channel set corresponding to the condition that at least one wavelength channel in the first target wavelength channel set is available based on the first identification information includes:
[0044] Based on the first identification information, at least one wavelength channel number is determined in the first target wavelength channel set;
[0045] Within a preset time period, it is detected whether the wavelength channel corresponding to the at least one wavelength channel number receives optical power;
[0046] If no optical power is received by the wavelength channel corresponding to the at least one wavelength channel number, at least one wavelength channel in the first target wavelength channel set is determined to be in an available state.
[0047] In the above scheme, after the at least one wavelength channel performs service transmission with the OLT, the method further includes:
[0048] Receive the second information sent by the OLT; and switch the connection relationship of the at least one wavelength channel to the initial wavelength channel according to the second information.
[0049] Thirdly, the present invention also provides a wavelength channel determination device, which is applied to a passive optical network (PON) system. The device includes: a determination unit, an acquisition unit, a transmission unit, and a receiving unit, wherein...
[0050] The determining unit is used to determine the initial set of wavelength channels supported by the first ONU; the first ONU is any one of a plurality of ONUs;
[0051] The acquisition unit is used to acquire the target bandwidth required by the first ONU, and determine the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the target bandwidth;
[0052] The transmitting unit is used to send first identification information of the first target wavelength channel set to the first ONU; the first identification information is used by the first ONU to determine that at least one wavelength channel in the first target wavelength channel set is available as a second target wavelength channel set.
[0053] The receiving unit is configured to receive second identification information of the second target wavelength channel set sent by the first ONU, and determine at least one wavelength channel in the second target wavelength channel set according to the second identification information; the at least one wavelength channel is used for service transmission with the first ONU.
[0054] In the above scheme, the receiving unit is further configured to receive first information sent by the first ONU; and determine the initial wavelength channel set based on the first information.
[0055] In the above scheme, the acquisition unit is further configured to acquire the initial bandwidth corresponding to the initial wavelength channel for the first ONU to perform service transmission.
[0056] In the above scheme, the device further includes a comparison unit for comparing the target bandwidth with a first preset threshold to obtain a first result; the first preset threshold represents the maximum available bandwidth of the PON system;
[0057] The target bandwidth is compared with the initial bandwidth to obtain a second result;
[0058] Based on the first result and the second result, the first target wavelength channel set supported by the first ONU is determined from the initial wavelength channel set.
[0059] In the above scheme, the comparison unit is further configured to determine at least one first wavelength channel from the initial wavelength channel set according to the target bandwidth when the first result indicates that the target bandwidth is less than or equal to the first preset threshold and the second result indicates that the target bandwidth is greater than the initial bandwidth; and to use the at least one first wavelength channel as the first target wavelength channel set supported by the first ONU.
[0060] In the above scheme, the comparison unit is further configured to determine a plurality of second wavelength channels from the initial wavelength channel set based on the target bandwidth and the first preset threshold when the first result indicates that the target bandwidth is greater than the first preset threshold and the second result indicates that the target bandwidth is greater than the initial bandwidth; and to use the plurality of second wavelength channels as the first target wavelength channel set supported by the first ONU.
[0061] In the above scheme, the device further includes a computing unit for performing calculations on the target bandwidth and the first preset threshold to obtain a third result;
[0062] The plurality of second wavelength channels are determined from the initial wavelength channel set based on the third result.
[0063] In the above scheme, the comparison unit is further configured to determine that the initial wavelength channel is used for service transmission when the first result indicates that the target bandwidth is less than or equal to the first preset threshold and the second result indicates that the target bandwidth is less than or equal to the initial bandwidth.
[0064] In the above scheme, the device further includes a detection unit for detecting the second identification information. If the second identification information indicates that the second target wavelength channel set is an empty set, then at least one wavelength channel cannot be determined in the second target wavelength channel set.
[0065] In the above scheme, the device further includes a configuration unit for configuring the state of the at least one wavelength channel to a non-idle state.
[0066] In the above scheme, the configuration unit is further configured to change the state of the at least one wavelength channel from a non-idle state to an idle state.
[0067] In the above scheme, the transmitting unit is further configured to send second information to the first ONU; the second information is used for the first ONU to switch its connection relationship with the at least one wavelength channel to the initial wavelength channel.
[0068] In the above scheme, the receiving unit is further configured to receive first identification information of the first target wavelength channel set sent by the OLT, and determine the second target wavelength channel set corresponding to the condition that at least one wavelength channel in the first target wavelength channel set is available based on the first identification information.
[0069] In the above scheme, the sending unit is further configured to send second identification information of the second target wavelength channel set to the OLT; the second identification information is used by the OLT to determine at least one wavelength channel in the second target wavelength channel set; the at least one wavelength channel is used to perform service transmission with the OLT.
[0070] In the above scheme, the configuration unit is also used to configure the initial wavelength channel for service transmission.
[0071] In the above scheme, the detection unit is further configured to determine at least one wavelength channel number in the first target wavelength channel set based on the first identification information; detect whether the wavelength channel corresponding to the at least one wavelength channel number receives optical power within a preset time; and determine that at least one wavelength channel in the first target wavelength channel set is in an available state if the wavelength channel corresponding to the at least one wavelength channel number does not receive optical power.
[0072] In the above scheme, the receiving unit is further configured to receive second information sent by the OLT; and switch the connection relationship of the at least one wavelength channel to be connected with the initial wavelength channel according to the second information.
[0073] Fourthly, embodiments of the present invention provide a storage medium storing a computer program; when the computer program is executed by a processor, it implements the steps of the wavelength channel determination method executed by the OLT, or the steps of the wavelength channel determination method executed by the ONU.
[0074] Fifthly, embodiments of the present invention provide a wavelength channel communication device, the wavelength channel communication device comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein, when the processor runs the computer program, it executes the steps of the wavelength channel determination method executed by the OLT, or the steps of the wavelength channel determination method executed by the ONU.
[0075] This invention provides a method, apparatus, communication device, and storage medium for determining wavelength channels. The method is applied to an optical line terminal (OLT) in a passive optical network (PON) system, which supports multi-wavelength transmission and includes multiple optical network units (ONUs). The method includes: determining an initial set of wavelength channels supported by a first ONU; the first ONU being any one of the multiple ONUs; obtaining a target bandwidth required by the first ONU, and determining a first target set of wavelength channels supported by the first ONU from the initial set of wavelength channels based on the target bandwidth; sending first identification information of the first target set of wavelength channels to the first ONU; the first identification information being used to determine a second target set of wavelength channels corresponding to the first ONU when at least one wavelength channel in the first target set is available; receiving second identification information of the second target set of wavelength channels sent by the first ONU, and determining at least one wavelength channel in the second target set based on the second identification information; the at least one wavelength channel being used for service transmission with the first ONU. By adopting the technical solution of this invention, by receiving the second identification information of the second target wavelength channel set sent by the first ONU, at least one wavelength channel is determined in the second target wavelength channel set according to the second identification information; the at least one wavelength channel is used to perform service transmission with the first ONU, thereby realizing the service transmission of at least one wavelength channel (e.g., multiple wavelength channels), that is, multiple wavelength channels can be bound together, and multiple wavelengths can be exclusively used by a certain ONU, which can significantly improve the bandwidth of the ONU. Attached Figure Description
[0076] Figure 1 A flowchart illustrating a method for determining a wavelength channel according to an embodiment of the present invention;
[0077] Figure 2 A schematic diagram of the negotiated wavelength channel provided in an embodiment of the present invention;
[0078] Figure 3 A schematic diagram of a wavelength channel determination device provided in an embodiment of the present invention;
[0079] Figure 4 This is a schematic diagram of the hardware structure of a wavelength channel communication device provided in an embodiment of the present invention. Detailed Implementation
[0080] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the specific technical solutions of the invention will be further described in detail below with reference to the accompanying drawings of the embodiments of the present invention. The following embodiments are used in the present invention, but are not intended to limit the scope of the present invention.
[0081] With the continuous popularization of my country's broadband strategy, Fiber to the Home (FTTH) access network operation has achieved large-scale commercial use in my country. The ever-expanding commercial scale has placed higher quality requirements and faster turnaround times on operators' operation and maintenance. Existing access network G / EPON communication systems basically use a single fiber to transmit services using different wavelengths for uplink and downlink transmission. Because in uplink unicast systems, all ONUs share the uplink channel, and traditional G / EPON, through time-division multiplexing, can only achieve a maximum bandwidth of 1G / 2.5G, which is shared by all ONUs. In actual operation, it is technically complex for a single ONU to obtain higher bandwidth through methods such as Quality of Service (QoS).
[0082] Figure 1 This is a flowchart illustrating a method for determining a wavelength channel according to an embodiment of the present invention. Figure 1 As shown, an optical line terminal (OLT) is applied to a passive optical network (PON) system, the system supporting multi-wavelength transmission; the system includes multiple optical network units (ONUs); the method includes:
[0083] S101: Determine the initial set of wavelength channels supported by the first ONU; the first ONU is any one of a plurality of ONUs.
[0084] It should be noted that determining the initial wavelength channel set supported by the first ONU can be done by determining the wavelength channel set supported by any one of the plurality of ONUs; wherein, the determination of the initial wavelength channel set supported by the first ONU can be determined through channel information between the OLT and the ONU, and is not limited here. As an example, the determination of the initial wavelength channel set supported by the first ONU can be determined through operation administration and maintenance (OAM) / ONU management control channel (OMCC) messages between the OLT and the ONU. Figure 2 As shown, Figure 2 This is a schematic diagram of the negotiated wavelength channel provided in an embodiment of the present invention, which is the wavelength channel negotiated between the OLT and the ONU.
[0085] To facilitate understanding, here is an example of a practical application scenario: the OLT negotiates with the ONU to determine the initial set of supported wavelength channels through OAM / OMCC and other messages extended between the OLT and the ONU, and records the initial set of wavelength channels.
[0086] S102: Obtain the target bandwidth required by the first ONU, and determine the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the target bandwidth.
[0087] In this embodiment, the required target bandwidth can be determined based on actual conditions and is not limited here. As an example, the target bandwidth can be the bandwidth after a certain ONU needs bandwidth enhancement. The determination of the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the target bandwidth can be determined by calculation and is not limited here. As an example, when bandwidth enhancement is needed for a certain ONU, if the ONU supports multiple wavelength channels, then from the initial wavelength channel set, based on the required bandwidth, and calculated at a capacity of 1 Gbps per channel, the first target wavelength channel set supported by the first ONU is determined from the idle wavelength channels.
[0088] To facilitate understanding, an example is provided here. When an ONU needs bandwidth upgrades, the OLT calculates the required number of channels from the initial wavelength channel set jointly supported by the OLT and ONU, based on the required bandwidth and a capacity of 1 Gbps per channel. This calculated number is compared to the maximum number of channels supported by the ONU in the initial wavelength channel set negotiated by the OLT and ONU. If the calculated number of required channels exceeds the ONU's support capacity, the channel upgrade operation fails. Otherwise, the OLT selects the desired wavelength channels from the available channels in the initial wavelength channel set as the first target wavelength channel set.
[0089] S103: Send the first identification information of the first target wavelength channel set to the first ONU; the first identification information is used by the first ONU to determine the second target wavelength channel set corresponding to the condition that at least one wavelength channel in the first target wavelength channel set is available.
[0090] In this embodiment, the first identification information is the channel information between the OLT and the ONU, which is not limited here. As an example, the first identification information can be an OAM / OMCC request (REQ) message for channel extension between the OLT and the ONU. The second target wavelength channel set, as an example, is the set of available wavelength channels in the first target wavelength channel set.
[0091] S104: Receive the second identification information of the second target wavelength channel set sent by the first ONU, and determine at least one wavelength channel in the second target wavelength channel set according to the second identification information; the at least one wavelength channel is used for service transmission with the first ONU.
[0092] In this embodiment, the second identification information is the channel information between the OLT and the ONU, which is not limited here. As an example, the second identification information can be an OAM / OMCC acknowledgment (ACK) message extended through the channel between the OLT and the ONU.
[0093] For ease of understanding, here's an example: After receiving the OAM / OMCCACK message for channel extension between the OLT and ONU, the OLT checks the set of channel numbers in the ACK message. If it's empty, the OLT determines that channel binding has failed; otherwise, the OLT sets the channel status corresponding to the channel number in the set to "in use" and determines that channel binding has succeeded. After successful channel binding, subsequent service transmissions between the ONU and OLT will take place on the aforementioned multiple channels.
[0094] The wavelength channel determination method provided in this embodiment of the invention receives second identification information of the second target wavelength channel set sent by the first ONU, and determines at least one wavelength channel in the second target wavelength channel set according to the second identification information; the at least one wavelength channel is used for service transmission with the first ONU, realizing service transmission of at least one wavelength channel (e.g., multiple wavelength channels), that is, multiple wavelength channels can be bound, and multiple wavelengths can be exclusively used by a certain ONU, which can significantly improve the bandwidth of the ONU.
[0095] In an optional embodiment of the present invention, determining the initial wavelength channel set supported by the first ONU includes: receiving first information sent by the first ONU; and determining the initial wavelength channel set based on the first information.
[0096] In this embodiment, the first information can be channel information between the OLT and the ONU, and is not limited thereto. As an example, the first information can specifically be OAM / OMCC messages such as channel extensions between the OLT and the ONU.
[0097] In an optional embodiment of the present invention, the method further includes: obtaining the initial bandwidth corresponding to the initial wavelength channel for service transmission of the first ONU.
[0098] In this embodiment, the initial wavelength channel is the wavelength channel described in the G / EPON IEEE / ITU-T standard, and is not limited thereto. As an example, the initial wavelength channel can be a wavelength channel compatible with 1310nm and 1490nm described in the G / EPON IEEE / ITU-T standard, denoted as P0. The initial bandwidth, as an example, is the bandwidth available to the P0 channel.
[0099] In an optional embodiment of the present invention, determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the initial bandwidth and the target bandwidth includes: comparing the target bandwidth with a first preset threshold to obtain a first result; the first preset threshold characterizes the maximum bandwidth available to the PON system; comparing the target bandwidth with the initial bandwidth to obtain a second result; and determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set according to the first result and the second result.
[0100] In this embodiment, the first preset threshold is the maximum available bandwidth of the PON system, and is not limited thereto. As an example, the first preset threshold can be 1 / 1.25G.
[0101] The target bandwidth is compared with a first preset threshold to obtain a first result; the first preset threshold represents the maximum bandwidth available to the PON system; the target bandwidth is compared with the initial bandwidth to obtain a second result; based on the first result and the second result, a first target wavelength channel set supported by the first ONU is determined from the initial wavelength channel set; as an example, determining the first target wavelength channel set supported by the first ONU based on the first result and the second result can be as follows: if the first result indicates that the target bandwidth is less than or equal to the first preset threshold, and the second result indicates that the target bandwidth is greater than the initial bandwidth, at least one first wavelength channel is determined from the initial wavelength channel set based on the target bandwidth, and the at least one first wavelength channel is used as the first target wavelength channel set supported by the first ONU; in the case of the first result... If the target bandwidth is greater than the first preset threshold and the second result indicates that the target bandwidth is greater than the initial bandwidth, then multiple second wavelength channels are determined from the initial wavelength channel set based on the target bandwidth and the first preset threshold, and these multiple second wavelength channels are used as the first target wavelength channel set supported by the first ONU. If the first result indicates that the target bandwidth is less than or equal to the first preset threshold and the second result indicates that the target bandwidth is less than or equal to the initial bandwidth, then the initial wavelength channel is determined to be used for service transmission. The number of channels of the at least one wavelength channel, the multiple wavelength channels, and the initial wavelength channel is compared with the number of channels in the initial wavelength channel set. If the number of channels is greater than the number of channels in the initial wavelength channel set, then the channel promotion operation fails; if the number of channels is less than or equal to the number of channels in the initial wavelength channel set, then the channel promotion operation succeeds.
[0102] For ease of understanding, an example is provided here. Assume the target bandwidth is denoted as Qt, the first preset threshold is 1 / 1.25G, and the initial wavelength channel is denoted as P0. Based on a capacity of 1Gps per channel, if Qt is less than 1 / 1.25G and the available bandwidth of channel P0 is greater than or equal to Qt, then the ONU remains in channel P0. If Qt is less than 1 / 1.25G and the available bandwidth of channel P0 is less than Qt, then one idle non-P0 channel is allocated to the ONU for dedicated use. If Qt is greater than 1 / 1.25G, the result of the arithmetic division of Qt with 1.25G is calculated, and at least one idle non-P0 channel is allocated to the ONU for dedicated use.
[0103] In an optional embodiment of the present invention, determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the first result and the second result includes: determining at least one first wavelength channel from the initial wavelength channel set based on the target bandwidth when the first result indicates that the target bandwidth is less than or equal to the first preset threshold and the second result indicates that the target bandwidth is greater than the initial bandwidth; and using the at least one first wavelength channel as the first target wavelength channel set supported by the first ONU.
[0104] When the first result indicates that the target bandwidth is less than or equal to the first preset threshold, and the second result indicates that the target bandwidth is greater than the initial bandwidth, at least one first wavelength channel is determined from the initial wavelength channel set according to the target bandwidth; the at least one first wavelength channel is used as the first target wavelength channel set supported by the first ONU. As an example, when the target bandwidth is less than or equal to 1 / 1.25G and the target bandwidth is greater than the initial bandwidth, an idle non-initial wavelength channel is allocated to the ONU for dedicated use.
[0105] In an optional embodiment of the present invention, determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the first result and the second result includes: determining a plurality of second wavelength channels from the initial wavelength channel set based on the target bandwidth and the first preset threshold when the first result indicates that the target bandwidth is greater than the first preset threshold and the second result indicates that the target bandwidth is greater than the initial bandwidth; and using the plurality of second wavelength channels as the first target wavelength channel set supported by the first ONU.
[0106] If the first result indicates that the target bandwidth is greater than the first preset threshold, and the second result indicates that the target bandwidth is greater than the initial bandwidth, as an example, if the target bandwidth is greater than 1 / 1.25G and the target bandwidth is greater than the initial bandwidth, multiple non-initial wavelength channels can be allocated to the ONU in the initial wavelength channel set.
[0107] In an optional embodiment of the present invention, determining a plurality of second wavelength channels from the initial wavelength channel set based on the target bandwidth and the first preset threshold includes: performing calculations on the target bandwidth and the first preset threshold to obtain a third result; and determining the plurality of second wavelength channels from the initial wavelength channel set based on the third result.
[0108] In this embodiment, the operation is performed by dividing the target bandwidth by the maximum value of the first preset threshold, which is not limited here. As an example, the target bandwidth is divided by 1.25G to obtain a quotient and a remainder. When the remainder is zero, a second wavelength channel that is not an initial wavelength channel and has the same number of quotient digits is determined from the initial wavelength channel set; when the remainder is non-zero, a second wavelength channel that is not an initial wavelength channel but has one more quotient digit is determined from the initial wavelength channels.
[0109] For ease of understanding, an example is provided here. The initial wavelength channel is denoted as P0. If Qt is greater than 1 / 1.25G, calculate the result of the arithmetic division of Qt with 1.25G, assuming that the quotient has N digits and the remainder is t; if t is 0, then the number of non-P0 channels to be allocated is N; if t is not 0, then the number of non-P0 channels to be allocated is N+1.
[0110] In an optional embodiment of the present invention, the method further includes: determining that the initial wavelength channel is used for service transmission when the first result indicates that the target bandwidth is less than or equal to the first preset threshold and the second result indicates that the target bandwidth is less than or equal to the initial bandwidth.
[0111] In this embodiment, when the first result indicates that the target bandwidth is less than or equal to the first preset threshold, and the second result indicates that the target bandwidth is less than or equal to the initial bandwidth, it is determined that the initial wavelength channel will be used for service transmission. As an example, the target bandwidth may be less than or equal to 1 / 1.25G. When the target bandwidth is less than or equal to the initial bandwidth, the ONU remains in the initial wavelength channel.
[0112] In an optional embodiment of the present invention, before determining at least one wavelength channel in the second target wavelength channel set based on the second identification information, the method includes: detecting the second identification information; if the second identification information indicates that the second target wavelength channel set is an empty set, then at least one wavelength channel cannot be determined in the second target wavelength channel set.
[0113] In this embodiment, as an example, the second target wavelength channel set being an empty set can be a wavelength channel that is not bound in the second target wavelength channel set, or at least one wavelength channel that cannot be determined in the second target wavelength channel set.
[0114] In an optional embodiment of the present invention, before the at least one wavelength channel performs service transmission with the first ONU, the method further includes: configuring the state of the at least one wavelength channel to a non-idle state.
[0115] In this embodiment, configuring the state of the at least one wavelength channel as non-idle can mean that the at least one wavelength channel is in use.
[0116] In an optional embodiment of the present invention, after the at least one wavelength channel performs service transmission with the first ONU, the method further includes: configuring the state of the at least one wavelength channel from a non-idle state to an idle state.
[0117] In this embodiment, configuring the state of the at least one wavelength channel from a non-idle state to an idle state can be to restore the aforementioned bound channel to an idle state, without sending or receiving messages.
[0118] In an optional embodiment of the present invention, after the at least one wavelength channel performs service transmission with the first ONU, the method further includes: sending second information to the first ONU; the second information is used for the first ONU to switch the connection relationship with the at least one wavelength channel to the initial wavelength channel.
[0119] In this embodiment, the second information is the channel information between the OLT and the ONU, which is not limited here. As an example, the second information can be an OAM / OMCC delete (DEL) message for channel extension between the OLT and the ONU. The second information is used for the first ONU to switch its connection relationship with the at least one wavelength channel to the initial wavelength channel. It can be a notification to the first ONU via an OAM / OMCC DEL message for channel extension between the OLT and the ONU, in which the first ONU switches the wavelength channel to the initial wavelength channel.
[0120] For ease of understanding, an example is given here. The initial wavelength channel is denoted as P0. When the ONU exits multi-channel binding, the OLT notifies the ONU through the OAM / OMCC DEL message of the channel extension between the OLT and the ONU. This message does not require a reply from the ONU. The OLT forcibly restores the channel bound to the ONU to an idle state and does not send or receive messages.
[0121] In another optional embodiment of the present invention, a method for determining wavelength channels is applied to an optical network unit (ONU) in a passive optical fiber network (PON) system, wherein the system supports multi-wavelength transmission. The method includes: receiving first identification information of a first target wavelength channel set sent by an OLT; determining a second target wavelength channel set corresponding to the condition that at least one wavelength channel in the first target wavelength channel set is available based on the first identification information; sending second identification information of the second target wavelength channel set to the OLT; the second identification information is used by the OLT to determine at least one wavelength channel in the second target wavelength channel set; the at least one wavelength channel is used for service transmission with the OLT.
[0122] In this embodiment, the first identification information is the channel information between the OLT and the ONU, which is not limited here. As an example, the first identification information can be an OAM / OMCC request (REQ) message for channel extension between the OLT and the ONU. The second identification information is used by the OLT to determine at least one wavelength channel in the second target wavelength channel set, wherein the second identification information is the channel information between the OLT and the ONU, which is not limited here. As an example, the second identification information can be an OAM / OMCC acknowledgment (ACK) message for channel extension between the OLT and the ONU.
[0123] In an optional embodiment of the present invention, the method further includes: configuring an initial wavelength channel for service transmission.
[0124] In this embodiment, the initial wavelength channel, as an example, can be compatible with the G / EPON IEEE / ITU-T standard. The compatibility description refers to the wavelength channels of 1310nm and 1490nm described in the aforementioned standard, denoted as P0.
[0125] In an optional embodiment of the present invention, the second target wavelength channel set corresponding to the condition that at least one wavelength channel in the first target wavelength channel set is available based on the first identification information includes: determining at least one wavelength channel number in the first target wavelength channel set based on the first identification information; detecting whether the wavelength channel corresponding to the at least one wavelength channel number receives optical power within a preset time; and determining that at least one wavelength channel in the first target wavelength channel set is available if the wavelength channel corresponding to the at least one wavelength channel number does not receive optical power.
[0126] It should be noted that the preset time is in milliseconds and can be determined according to the actual situation, and is not limited here. Whether optical power is received can, as an example, be whether light reception is detected. Within the preset time, detecting whether the wavelength channel corresponding to the at least one wavelength channel number receives optical power; if the wavelength channel corresponding to the at least one wavelength channel number does not receive optical power, determining that at least one wavelength channel in the first target wavelength channel set is in an available state. As an example, this can be detecting whether light reception is detected in the wavelength channel corresponding to the at least one wavelength channel number within the preset time; if the wavelength channel corresponding to the at least one wavelength channel number does not detect light reception, then determining that at least one wavelength channel in the first target wavelength channel set is in an available state; if the wavelength channel corresponding to the at least one wavelength channel number detects light reception, then determining that at least one wavelength channel in the first target wavelength channel set is in an unavailable state.
[0127] For ease of understanding, here is an example: the ONU sequentially detects the downlink light reception status of the wavelength channel in the OAM / OMCC request (REQ, request) message for channel extension between the OLT and the ONU. If no light reception is detected within a set time, the channel is considered available; otherwise, it is considered unavailable.
[0128] In an optional embodiment of the present invention, after the at least one wavelength channel performs service transmission with the OLT, the method further includes: receiving second information sent by the OLT; and switching the connection relationship of the at least one wavelength channel to be connected with the initial wavelength channel according to the second information.
[0129] In this embodiment, the second information is the channel information between the OLT and the ONU, which is not limited here. As an example, the second information can be an OAM / OMCC delete (DEL, delete) message for channel extension between the OLT and the ONU.
[0130] The wavelength channel determination method provided by the present invention receives second identification information of the second target wavelength channel set sent by the first ONU, and determines at least one wavelength channel in the second target wavelength channel set according to the second identification information; the at least one wavelength channel is used for service transmission with the first ONU, binding the wavelengths together, and multiple wavelengths are exclusively used by one ONU, which can significantly improve the bandwidth of the ONU.
[0131] To understand the embodiments of the present invention, an example of a specific application scenario of channel bonding technology based on a multi-wavelength PON system in an access network is provided below:
[0132] The initial wavelength channel can be a wavelength channel of 1310nm and 1490nm that is compatible with the G / EPON IEEE / ITU-T standard, denoted as P0.
[0133] Step 1: The OLT negotiates with the ONU to determine the initial set of supported wavelength channels through OAM / OMCC and other messages extended between the OLT and the ONU, and records the initial set of wavelength channels.
[0134] Step 2: When an ONU needs bandwidth enhancement, the OLT calculates the required bandwidth from the initial wavelength channel set jointly supported by the OLT and ONU, based on a capacity of 1 Gbps per channel. Assuming the target bandwidth is Qt, the first preset threshold is 1 / 1.25G, and the initial wavelength channel is denoted as P0, the calculation is based on a capacity of 1 Gbps per channel.
[0135] (1) If Qt is less than 1 / 1.25G and the available bandwidth of the P0 channel is greater than or equal to Qt, then keep the ONU in the P0 channel.
[0136] (2) If Qt is less than 1 / 1.25G and the available bandwidth of the P0 channel is less than Qt, then allocate one idle non-P0 channel to the ONU for dedicated use.
[0137] (3) If Qt is greater than 1 / 1.25G, calculate the result of the arithmetic division of Qt with 1.25G, assuming that the quotient is N and the remainder is t; if t is 0, the number of non-P0 channels to be allocated is N; if t is not 0, the number of non-P0 channels to be allocated is N+1.
[0138] (4) The calculated number of channels required is compared with the maximum number of channels supported by the ONU in the initial wavelength channel set negotiated by the OLT and the ONU. If the calculated number of channels required is greater than the ONU's support capacity, the channel upgrade operation fails; otherwise, the OLT selects the wavelength channels to be bound and used from the idle channels of the initial wavelength channel set as the first target wavelength channel set.
[0139] Step 3: The ONU sequentially detects the downlink light reception status of the wavelength channel in the OAM / OMCC REQ message of the channel extension between the OLT and the ONU. If no light reception is detected within the set time, the channel is considered available; otherwise, it is considered unavailable. The ONU then sets the numbers of the available channels and sends them to the OLT through the OAM / OMCC ACK message of the channel extension between the OLT and the ONU.
[0140] Step 4: The OLT receives the set of available channel numbers from the second target wavelength channel set sent by the first ONU via the OAM / OMCC ACK message extended between the OLT and the ONU. It checks the channel number set in the ACK message; if it is empty, the channel binding is considered failed. Otherwise, the OLT sets the channel status corresponding to the channel number in the aforementioned set to "used" and determines that the channel binding is successful. After successful channel binding, subsequent service transmissions between the ONU and the OLT will take place on the aforementioned multiple channels.
[0141] Step 5: When the ONU exits multi-channel binding, the OLT notifies the ONU via the OAM / OMCC DEL message extended between the OLT and the ONU. No reply from the ONU is required. The OLT forcibly restores the previously bound channel to an idle state and does not send or receive messages. Upon receiving the message, the ONU should switch its wavelength channel to P0.
[0142] The first target wavelength channel set, as an example, can be a set of wavelength channels selected from the wavelength channel set in the idle wavelength channels according to the target bandwidth; the second target wavelength channel set, as an example, can be a set of available wavelength channels selected from the first target wavelength channel set.
[0143] To understand the embodiments of the present invention, an example of a channel bonding technology based on a multi-wavelength PON system in an access network is provided, with the specific steps as follows:
[0144] To ensure compatibility with the G / EPON IEEE / ITU-T standard, the compatibility description refers to the 1310nm and 1490nm wavelength channels described in the aforementioned standard as P0, and other wavelength channels supported in the coarse wavelength division multiplexing system as P1, P2...Pn, where n describes the maximum number of wavelength channels that can be supported in the multi-wavelength PON system.
[0145] Step 1: When the ONU goes online and registers, it negotiates with the OLT to determine the set of channels supported by the ONU through extended OAM / OMCC messages. The OLT records the wavelength channels that the ONU and the OLT jointly support. The OLT does not actively send commands to notify the ONU to switch channels, and then it operates on the G / EPON IEEE / ITU-T standard P0 channel.
[0146] Step 2: When bandwidth enhancement is needed for a specific ONU, if the ONU supports multiple wavelength channels, the OLT calculates the required bandwidth (Qt) based on the wavelength channel set supported by the aforementioned ONU, using a capacity of 1 Gbps per channel. The channel calculation method is proposed as follows:
[0147] (1) If Qt is less than 1 / 1.25G and the available bandwidth of the P0 channel is greater than or equal to Qt, then keep the ONU in the P0 channel.
[0148] (2) If Qt is less than 1 / 1.25G and the available bandwidth of the P0 channel is less than Qt, then allocate one idle non-P0 channel to the ONU for dedicated use.
[0149] (3) If Qt is greater than 1 / 1.25G, calculate the result of the arithmetic division of Qt with 1.25G, assuming that the quotient of the result is N and the remainder is t; if t is 0, the number of non-P0 channels to be allocated is N; if t is not 0, the number of non-P0 channels to be allocated is N+1.
[0150] (4) The OLT compares the calculated number of channels required with the maximum number of channels supported by the ONU negotiated in the first step. If the calculated number of channels required exceeds the ONU's support capacity, the channel upgrade operation fails. Otherwise, the OLT selects an available channel from the wavelength channels and notifies the ONU of the wavelength channel number to be bound via an extended OAM / OMCC message.
[0151] Step 3: After receiving the above notification, the ONU sequentially checks the downlink light reception status of the wavelength channels in the OAM / OMCC REQ message. If no light reception is detected within the set time, the channel is considered available; otherwise, it is considered unavailable. After sequentially checking the wavelength channels in the OAM / OMCC message, the ONU sends the set of available channel numbers back to the OLT via an extended OAM / OMCCACK.
[0152] Step 4: After receiving the extended OAM / OMCC ACK from the ONU in Step 3 above, the OLT checks the channel number set in the ACK message. If it is empty, it determines that the channel binding has failed. Otherwise, the OLT sets the channel status corresponding to the channel number in the above set to the used state and determines that the channel binding is successful.
[0153] Step 5: After the channel binding is successful, subsequent service transmissions between the ONU and the OLT will be carried out in the above-mentioned multiple channels.
[0154] Step 6: When the ONU exits multi-channel binding, the OLT notifies the ONU via an extended OAM / OMCC DEL message. No reply from the ONU is required. The OLT forcibly restores the previously bound channels of the ONU to an idle state and does not send or receive messages. Upon receiving the message, the ONU should also switch its wavelength channel to P0.
[0155] Based on the same inventive concept as described above, Figure 3This is a schematic diagram of a wavelength channel determination device provided in an embodiment of the present invention. The device 300 is applied to a passive optical network (PON) system and includes:
[0156] The determining unit 301 is used to determine the initial set of wavelength channels supported by the first ONU; the first ONU is any one of a plurality of ONUs;
[0157] The acquisition unit 302 is used to acquire the target bandwidth required by the first ONU, and determine the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the target bandwidth;
[0158] The transmitting unit 303 is used to send first identification information of the first target wavelength channel set to the first ONU; the first identification information is used by the first ONU to determine the second target wavelength channel set corresponding to the first target wavelength channel set when the first ONU determines that at least one wavelength channel in the first target wavelength channel set is available.
[0159] The receiving unit 304 is used to receive the second identification information of the second target wavelength channel set sent by the first ONU, and to determine at least one wavelength channel in the second target wavelength channel set according to the second identification information; the at least one wavelength channel is used to perform service transmission with the first ONU.
[0160] In some embodiments, the receiving unit 304 is further configured to receive first information sent by the first ONU and determine the initial wavelength channel set based on the first information.
[0161] In some embodiments, the acquisition unit 302 is further configured to acquire the initial bandwidth corresponding to the initial wavelength channel for service transmission of the first ONU.
[0162] In some embodiments, the apparatus 300 further includes a comparison unit for comparing the target bandwidth with a first preset threshold to obtain a first result; the first preset threshold characterizes the maximum bandwidth available to the PON system; comparing the target bandwidth with the initial bandwidth to obtain a second result; and determining a first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the first result and the second result.
[0163] In some embodiments, the comparison unit is further configured to determine at least one first wavelength channel from the initial wavelength channel set based on the target bandwidth when the first result indicates that the target bandwidth is less than or equal to the first preset threshold and the second result indicates that the target bandwidth is greater than the initial bandwidth; and to use the at least one first wavelength channel as the first target wavelength channel set supported by the first ONU.
[0164] In some embodiments, the comparison unit is further configured to determine a plurality of second wavelength channels from the initial wavelength channel set based on the target bandwidth and the first preset threshold when the first result indicates that the target bandwidth is greater than the first preset threshold and the second result indicates that the target bandwidth is greater than the initial bandwidth; and to use the plurality of second wavelength channels as the first target wavelength channel set supported by the first ONU.
[0165] In some embodiments, the device 300 further includes a computing unit for performing calculations on the target bandwidth and the first preset threshold to obtain a third result; and determining the plurality of second wavelength channels from the initial wavelength channel set based on the third result.
[0166] In some embodiments, the comparison unit is further configured to determine that the initial wavelength channel is used for service transmission when the first result indicates that the target bandwidth is less than or equal to the first preset threshold and the second result indicates that the target bandwidth is less than or equal to the initial bandwidth.
[0167] In some embodiments, the device 300 further includes a detection unit for detecting the second identification information. If the second identification information indicates that the second target wavelength channel set is an empty set, then at least one wavelength channel cannot be determined in the second target wavelength channel set.
[0168] In some embodiments, the device 300 further includes a configuration unit for configuring the state of the at least one wavelength channel to a non-idle state.
[0169] In some embodiments, the configuration unit is further configured to configure the state of the at least one wavelength channel from a non-idle state to an idle state.
[0170] In some embodiments, the transmitting unit 303 is further configured to transmit second information to the first ONU; the second information is used for the first ONU to switch its connection relationship with the at least one wavelength channel to the initial wavelength channel.
[0171] In some embodiments, the receiving unit 304 is further configured to receive first identification information of a first target wavelength channel set sent by the OLT, and determine a second target wavelength channel set corresponding to the condition that at least one wavelength channel in the first target wavelength channel set is available based on the first identification information.
[0172] In some embodiments, the transmitting unit 303 is further configured to transmit second identification information of the second target wavelength channel set to the OLT; the second identification information is used by the OLT to determine at least one wavelength channel in the second target wavelength channel set; the at least one wavelength channel is used to perform service transmission with the OLT.
[0173] In some embodiments, the configuration unit is further configured to configure an initial wavelength channel for service transmission.
[0174] In some embodiments, the detection unit is further configured to determine at least one wavelength channel number in the first target wavelength channel set based on the first identification information; detect whether the wavelength channel corresponding to the at least one wavelength channel number receives optical power within a preset time; and determine that at least one wavelength channel in the first target wavelength channel set is in an available state if the wavelength channel corresponding to the at least one wavelength channel number does not receive optical power.
[0175] In some embodiments, the receiving unit 304 is further configured to receive second information sent by the OLT; the second information switches the connection relationship of the at least one wavelength channel to be connected to the initial wavelength channel.
[0176] It should be noted that the wavelength channel determination device provided in the embodiments of the present invention and the wavelength channel determination method provided in the aforementioned embodiments of the present invention belong to the same inventive concept. The meanings of the terms appearing here have been explained in detail above and will not be repeated here.
[0177] This invention also provides a storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0178] This invention also provides a wavelength channel communication device, which includes a processor and a memory for storing a computer program that can run on the processor, wherein when the processor runs the computer program, it executes the steps of the method embodiments described above stored in the memory.
[0179] Figure 4 This is a schematic diagram of the hardware structure of a wavelength channel communication device provided in an embodiment of the present invention. The wavelength channel communication device 40 includes at least one processor 401 and a memory 402. Optionally, the wavelength channel communication device 40 may further include at least one communication interface 403. The various components in the wavelength channel communication device 40 are coupled together through a bus system 404. It can be understood that the bus system 404 is used to realize the connection and communication between these components. In addition to a data bus, the bus system 404 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in... Figure 4 The general designated all buses as Bus System 404.
[0180] It is understood that memory 402 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Sync Link Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memory 402 described in this embodiment of the invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0181] In this embodiment of the invention, the memory 402 is used to store various types of data to support the operation of the wavelength channel communication device 40. Examples of such data include any computer program for operation on the wavelength channel communication device 40, and programs implementing the methods of this embodiment of the invention may be included in the memory 402.
[0182] The methods disclosed in the above embodiments of the present invention can be applied to processor 401, or implemented by processor 401. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of the present invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in memory. The processor reads information from the memory and, in conjunction with its hardware, completes the steps of the aforementioned method.
[0183] In an exemplary embodiment, the communication device 40 of the wavelength channel may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the methods described above.
[0184] In the several embodiments provided by this invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units; some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs. In addition, all functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0185] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention.
Claims
1. A method for determining a wavelength channel, characterized in that, An optical line terminal (OLT) is applied in a passive optical fiber network (PON) system, the system supporting multi-wavelength transmission; the system includes multiple optical network units (ONUs); the method includes: Determine the initial set of wavelength channels supported by the first ONU; the first ONU is any one of a plurality of ONUs; Obtain the target bandwidth required by the first ONU, and determine the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the target bandwidth; Send first identification information of the first target wavelength channel set to the first ONU; the first identification information is used by the first ONU to determine the second target wavelength channel set corresponding to the first target wavelength channel set when the first ONU determines that at least one wavelength channel in the first target wavelength channel set is available. The system receives second identification information of the second target wavelength channel set sent by the first ONU, and determines at least one wavelength channel in the second target wavelength channel set based on the second identification information; the at least one wavelength channel is used for service transmission with the first ONU. Determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the target bandwidth includes: From the initial wavelength channel set, the required number of channels is calculated based on the target bandwidth; if the required number of channels is less than or equal to the maximum number of channels supported by the first ONU in the initial wavelength channel set, the wavelength channels to be bound and used are selected from the idle channels of the initial wavelength channel set as the first target wavelength channel set. If the required number of channels exceeds the maximum number of channels supported by the first ONU in the initial wavelength channel set, the channel boosting operation fails.
2. The method according to claim 1, characterized in that, The determination of the initial set of wavelength channels supported by the first ONU includes: Receive the first information sent by the first ONU; The initial wavelength channel set is determined based on the first information.
3. The method according to claim 1, characterized in that, The method further includes: Obtain the initial bandwidth corresponding to the initial wavelength channel for service transmission of the first ONU.
4. The method according to claim 3, characterized in that, Determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the initial bandwidth and the target bandwidth includes: The target bandwidth is compared with a first preset threshold to obtain a first result; the first preset threshold represents the maximum available bandwidth of the PON system. The target bandwidth is compared with the initial bandwidth to obtain a second result; Based on the first result and the second result, the first target wavelength channel set supported by the first ONU is determined from the initial wavelength channel set.
5. The method according to claim 4, characterized in that, The step of determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the first result and the second result includes: If the first result indicates that the target bandwidth is less than or equal to the first preset threshold, and the second result indicates that the target bandwidth is greater than the initial bandwidth, at least one first wavelength channel is determined from the initial wavelength channel set based on the target bandwidth. The at least one first wavelength channel is used as the first target wavelength channel set supported by the first ONU.
6. The method according to claim 4, characterized in that, The step of determining the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the first result and the second result includes: If the first result indicates that the target bandwidth is greater than the first preset threshold, and the second result indicates that the target bandwidth is greater than the initial bandwidth, then a plurality of second wavelength channels are determined from the initial wavelength channel set based on the target bandwidth and the first preset threshold. The plurality of second wavelength channels are used as the first target wavelength channel set supported by the first ONU.
7. The method according to claim 6, characterized in that, The step of determining multiple second wavelength channels from the initial wavelength channel set based on the target bandwidth and the first preset threshold includes: The target bandwidth and the first preset threshold are processed to obtain a third result; The plurality of second wavelength channels are determined from the initial wavelength channel set based on the third result.
8. The method according to claim 4, characterized in that, The method further includes: If the first result indicates that the target bandwidth is less than or equal to the first preset threshold, and the second result indicates that the target bandwidth is less than or equal to the initial bandwidth, then it is determined that the initial wavelength channel will be used for service transmission.
9. The method according to claim 1, characterized in that, Before determining at least one wavelength channel in the second target wavelength channel set based on the second identification information, the method includes: If the second identification information is detected and it is found that the second identification information indicates that the second target wavelength channel set is an empty set, then at least one wavelength channel cannot be determined in the second target wavelength channel set.
10. The method according to claim 1, characterized in that, Before the at least one wavelength channel performs service transmission with the first ONU, the method further includes: Configure the state of the at least one wavelength channel to a non-idle state.
11. The method according to claim 1, characterized in that, After the at least one wavelength channel performs service transmission with the first ONU, the method further includes: Configure the state of the at least one wavelength channel from a non-idle state to an idle state.
12. The method according to claim 3, characterized in that, After the at least one wavelength channel performs service transmission with the first ONU, the method further includes: Send a second message to the first ONU; the second message is used for the first ONU to switch its connection with the at least one wavelength channel to the initial wavelength channel.
13. A method for determining a wavelength channel, characterized in that, An optical network unit (ONU) is used in a passive optical fiber network (PON) system, wherein the system supports multi-wavelength transmission, and the method includes: Receive first identification information of a first target wavelength channel set sent by the OLT, and determine a second target wavelength channel set corresponding to the condition that at least one wavelength channel in the first target wavelength channel set is available based on the first identification information; The second identification information of the second target wavelength channel set is sent to the OLT; the second identification information is used by the OLT to determine at least one wavelength channel in the second target wavelength channel set; the at least one wavelength channel is used to perform service transmission with the OLT.
14. The method according to claim 13, characterized in that, The method further includes: Configure the initial wavelength channel for service transmission.
15. The method according to claim 13, characterized in that, The second target wavelength channel set corresponding to the condition that at least one wavelength channel in the first target wavelength channel set is available based on the first identification information includes: Based on the first identification information, at least one wavelength channel number is determined in the first target wavelength channel set; Within a preset time period, it is detected whether the wavelength channel corresponding to the at least one wavelength channel number receives optical power; If no optical power is received by the wavelength channel corresponding to the at least one wavelength channel number, at least one wavelength channel in the first target wavelength channel set is determined to be in an available state.
16. The method according to claim 14, characterized in that, After the at least one wavelength channel performs service transmission with the OLT, the method further includes: Receive the second information sent by the OLT; Based on the second information, the connection relationship of the at least one wavelength channel is switched to be connected to the initial wavelength channel.
17. A wavelength channel determination device, characterized in that, The device is applied to a passive optical network (PON) system, and includes: a determining unit, an acquiring unit, a transmitting unit, and a receiving unit, wherein... The determining unit is used to determine the initial set of wavelength channels supported by the first ONU; the first ONU is any one of a plurality of ONUs; The acquisition unit is used to acquire the target bandwidth required by the first ONU, and determine the first target wavelength channel set supported by the first ONU from the initial wavelength channel set based on the target bandwidth; The transmitting unit is used to send first identification information of the first target wavelength channel set to the first ONU; the first identification information is used by the first ONU to determine that at least one wavelength channel in the first target wavelength channel set is available as a second target wavelength channel set. The receiving unit is configured to receive second identification information of the second target wavelength channel set sent by the first ONU, and determine at least one wavelength channel in the second target wavelength channel set according to the second identification information; the at least one wavelength channel is used for service transmission with the first ONU; The acquisition unit is further configured to calculate the required number of channels from the initial wavelength channel set based on the target bandwidth; if the required number of channels is less than or equal to the maximum number of channels supported by the first ONU in the initial wavelength channel set, select the wavelength channel to be bound as the first target wavelength channel set from the idle channels in the initial wavelength channel set; if the required number of channels is greater than the maximum number of channels supported by the first ONU in the initial wavelength channel set, the channel promotion operation fails.
18. A storage medium, characterized in that, The storage medium stores a computer program; when the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 12, or the steps of the method according to any one of claims 13 to 16.
19. A communication device with a wavelength channel, characterized in that, The communication device of the wavelength channel includes: a processor and a memory for storing a computer program that can run on the processor, wherein, when the processor runs the computer program, it performs the steps of the method according to any one of claims 1 to 12, or the steps of the method according to any one of claims 13 to 16.
Citation Information
Patent Citations
Port detection method and device
CN110933531A
Method for dynamically scheduling service wavelength channel and related device
CN115348490A