Optical network unit activation method, storage medium, electronic device, and computer program product
Patent Information
- Application Number
- CN202510435106.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2026-10-16
AI Technical Summary
[0005]本申请实施例提供了一种光网络单元激活方法、存储介质、电子装置及计算机程序产品,以至少解决相关技术中用户在选用特定的子载波进行注册激活流程时,可能导致某一子载波的功率过大或过小,从而影响系统的性能和数据传输的问题
[0010] According to yet another embodiment of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
Smart Images

Figure CN122934110A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more specifically, to an optical network unit activation method, a storage medium, an electronic device, and a computer program product. Background Technology
[0002] With increasing demands for access network capacity, the speed of Passive Optical Networks (PONs) is gradually increasing with technological advancements. The next-generation PON technology, following 40GPON, targets a speed of 200G, and one of its candidate technologies is coherent technology. Coherent technology, by introducing phase information and more powerful digital signal processing (DSP) capabilities, can significantly improve the capacity and flexibility of PON networks. Time-Frequency Division Multiplexing (TFDM) technology is an important direction in coherent PON. In traditional PON TDM systems, the concept of subcarriers is introduced, enabling more refined and flexible multiplexing methods.
[0003] In a TFDM system, each user selects a specific subcarrier for the registration and activation process, while other subcarriers maintain normal data transmission, which can significantly reduce service latency and improve user experience. Because all uplink subcarriers in a TFDM system need to be received simultaneously at the Optical Line Terminal (OLT), meaning they share the same transimpedance amplifier (TIA) for electrical amplification, all subcarrier signals have the same gain.
[0004] Figure 1 This is a schematic diagram illustrating excessive power in a certain subcarrier in a related technology. Figure 2 This is a diagram illustrating the insufficient power of a certain subcarrier in related technologies. When the power of a certain subcarrier is too high or too low, it will affect the normal data in the other subcarriers. Figure 1 ) and the current subcarrier data cannot be parsed ( Figure 2 Therefore, determining the uplink power of the Optical Network Unit (ONU) in a TFDM system is a problem that urgently needs to be solved. Summary of the Invention
[0005] This application provides an optical network unit activation method, storage medium, electronic device, and computer program product to at least solve the problem in the related art where, when a user selects a specific subcarrier for the registration and activation process, the power of a certain subcarrier may be too high or too low, thereby affecting the system performance and data transmission.
[0006] According to one embodiment of this application, an optical network unit (ONU) activation method is provided, comprising: broadcasting a sequence number authorization message, wherein the sequence number authorization message is used to instruct one or more ONUs to adjust uplink power and send a sequence number message; receiving and parsing uplink data on a preset subcarrier channel; and in response to obtaining a valid sequence number message, sending an allocated ONU identification message to the ONUs based on the valid sequence number message, wherein the allocated ONU identification message is used to instruct the ONUs to register on the preset subcarrier channel with a corresponding uplink power.
[0007] According to another embodiment of this application, an optical network unit (ONU) activation method is provided, comprising: receiving a sequence number authorization message sent by an optical line terminal (OLT); adjusting the uplink power according to the sequence number authorization message, and sending the sequence number message with the adjusted uplink power; receiving an allocated ONU identification message sent by the OLT, wherein the allocated ONU identification message is sent by the OLT in response to parsing a valid sequence number message; and registering on a preset subcarrier channel with a corresponding uplink power according to the allocated ONU identification message.
[0008] According to yet another embodiment of this application, a computer-readable storage medium is also provided, which stores a computer program, wherein the computer program, when executed by a processor, implements the steps in any of the above method embodiments.
[0009] According to yet another embodiment of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in any of the above method embodiments.
[0010] According to yet another embodiment of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0011] Through the embodiments of this application, since one or more optical network units are instructed to dynamically adjust uplink power through the sequence number authorization message, and an optical network unit identification message is sent according to the valid sequence number message to instruct the optical network unit to register with the corresponding uplink power, the power equalization of all uplink subcarriers is achieved, thereby avoiding the problem of uplink power differences affecting system performance and data transmission. Attached Figure Description
[0012] Figure 1 This is a schematic diagram illustrating excessive power in a certain subcarrier in a related technology;
[0013] Figure 2 This is a schematic diagram illustrating the insufficient power of a certain subcarrier in a related technology;
[0014] Figure 3 This is a schematic diagram of the registration and activation method of a TFDM PON system in related technologies;
[0015] Figure 4 This is a hardware structure block diagram of a computer terminal for the optical network unit activation method according to an embodiment of this application;
[0016] Figure 5 This is a flowchart illustrating the optical network unit activation method of an optical line terminal according to an embodiment of this application;
[0017] Figure 6 This is a flowchart illustrating the optical network unit activation method according to an embodiment of this application;
[0018] Figure 7 This is a schematic diagram of a TFDM PON system architecture based on the optical network unit activation method according to an embodiment of this application;
[0019] Figure 8 This is a schematic diagram of power value setting in one embodiment of this application;
[0020] Figure 9 This is a schematic diagram of the activation process of an optical line terminal instructing an optical network unit to adjust its power in one embodiment of this application;
[0021] Figure 10 This is a schematic diagram of the frame structure of the serial number authorization message in one embodiment of this application;
[0022] Figure 11 This is a schematic diagram of the frame structure of the serial number message in one embodiment of this application;
[0023] Figure 12 This is a schematic diagram of the frame structure for allocating optical network unit identification messages in one embodiment of this application. Detailed Implementation
[0024] The embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.
[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0026] The registration and activation process of a TFDM PON system includes the following stages:
[0027] O1 stage (initial state): The OLT sends a downlink signal, and the ONU synchronizes according to the downlink signal. After synchronization is completed, the ONU enters the O2-3 stage (sequence number state).
[0028] O2-3 phase (sequence number status): The OLT sends a burst configuration message to configure the parameters for burst transmission of ONUs; the OLT broadcasts a sequence number authorization message to instruct all ONUs in the sequence number status to send sequence number messages; after receiving a sequence number message from a specific ONU, the OLT responds with an optical network unit identifier allocation message to that ONU and configures its ONU-ID.
[0029] O4 phase (ranging state): The OLT sends a unicast ranging authorization, instructing a specific ONU to send a registration message. The OLT calculates the equalization delay based on the received registration message, and then sends a ranging time PLOAM message to configure its equalization delay.
[0030] O5 stage (normal working state): The OLT controls the ONU to send uplink service data through the bandwidth mapping (BWmap) message.
[0031] Figure 3 This is a schematic diagram of the registration and activation method of a TFDM PON system in related technologies, such as... Figure 3 As shown, a TFDM PON system contains multiple subcarrier channels. A specific subcarrier can be selected for registration activation, i.e., silent windowing operations can be performed on a specific subcarrier channel. Silent windowing requires optical network units in normal operation to suspend uplink data transmission. However, in a TFDM PON system, registration activation can be achieved by selecting a specific subcarrier, thus eliminating the impact on service data on other subcarrier channels.
[0032] The methods and embodiments provided in this application can run on an optical line terminal or optical network unit in a TFDM PON system architecture. For example, the optical line terminal includes, but is not limited to, a mobile terminal, a computer terminal, or a similar computing device. Taking running on computer terminal 40 as an example... Figure 4 This is a hardware structure block diagram of a computer terminal for the optical network unit activation method according to an embodiment of this application, as shown below. Figure 4 As shown, a hardware board may include one or more ( Figure 4 Only one is shown in the diagram. A processor 42 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 44 for storing data are also shown. The computer terminal may further include transmission devices for communication functions and input / output devices. Those skilled in the art will understand that... Figure 4 The structure shown is for illustrative purposes only and does not limit the structure of the computer terminal described above. For example, the computer terminal may also include components that are more complex than those described above. Figure 4 The more or fewer components shown, or having the same Figure 4 The different configurations shown.
[0033] The memory 44 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the optical network unit activation method in this embodiment. The processor 42 executes various functional applications and fault information transmission methods by running the computer program stored in the memory 44, thus implementing the aforementioned methods. The memory 44 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 44 may further include memory remotely located relative to the processor 42, and these remote memories can be connected to a computer terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the communication provider of the computer equipment. In one instance, the transmission device includes a Network Interface Controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one instance, the transmission device may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0034] This embodiment provides a method for activating the optical network unit of an optical line terminal operating in a TFDM PON system. Figure 5 This is a flowchart illustrating the optical network unit activation method of an optical line terminal according to an embodiment of this application, as shown below. Figure 5 As shown, the process may include the following steps:
[0035] Step S502: Broadcast a sequence number authorization message, wherein the sequence number authorization message is used to instruct one or more optical network units to adjust the uplink power and send a sequence number message;
[0036] Step S504: Receive and parse uplink data on a preset subcarrier channel;
[0037] Step S506: In response to obtaining a valid sequence number message through parsing, an optical network unit (ONU) identification message is sent to the ONU based on the valid sequence number message. The ONU identification message is used to instruct the ONU to register on the preset subcarrier channel with a corresponding uplink power.
[0038] In one exemplary embodiment, the serial number message is a Serial Number Physical Layer Operations, Administration and Maintenance (PLOAM) message, i.e., a Serial Number PLOAM message.
[0039] In an exemplary embodiment, the Assign_ONU-ID message is a Physical Layer Operations, Administration and Maintenance (PLOAM) message, i.e., the Assign_ONU-ID PLOAM message.
[0040] In some embodiments, steps S502 to S506 are in stage O2-3 (serial number status) of the optical network unit registration and activation process.
[0041] In some embodiments, the preset subcarrier channel is the specific subcarrier channel selected by the optical network unit to implement the registration activation function.
[0042] Through the embodiments of this application, by instructing one or more optical network units to dynamically adjust uplink power via a sequence number authorization message, and by sending an allocated optical network unit identification message based on a valid sequence number message to instruct the optical network unit to register with the corresponding uplink power, power equalization of all uplink subcarriers is achieved, thereby avoiding the problem of uplink power differences affecting system performance and data transmission. It is understood that through the signaling interaction process between the optical line terminal (OLT) and the optical network units in phases O2-3, the OLT instructs the optical network units to adjust power, thereby achieving power equalization of all uplink subcarriers.
[0043] In some embodiments, the optical line terminal may further include the following steps before performing step S502:
[0044] Step S500: Send a downlink signal to the optical network unit so that the optical network unit performs a synchronization operation according to the downlink signal.
[0045] In some embodiments, the optical line terminal enables the optical network unit to perform a synchronization operation through downlink information, which occurs in the O1 stage (initial state) of the optical network unit registration and activation process. After synchronization is completed, the optical network unit enters the O2-3 stage (serial number state).
[0046] In some embodiments, the optical line terminal may further include the following steps before performing step S502:
[0047] Step S501: Send a burst configuration message to the optical network unit to configure the parameters for burst transmission of the optical network unit.
[0048] In some embodiments, step S501 is in stage O2-3 (serial number status) of the optical network unit registration and activation process.
[0049] In some embodiments, the burst configuration message is a burst profile Physical Layer Operations, Administration and Maintenance (PLOAM) message, i.e., a burst profile PLOAM message.
[0050] In some embodiments, the serial number authorization message includes an allocation identifier field and an authorization time field, wherein,
[0051] In response to the allocation identifier field being a first preset value, the value of the authorization time field is the power level increase used by the optical network unit to send the sequence number message; or,
[0052] In response to the allocation identifier field being a second preset value, the value of the authorization time field is the target power level used by the optical network unit to send the sequence number message.
[0053] In some embodiments, the optical line terminal instructs the optical network unit to send a sequence number message at a specified power via a sequence number authorization message. Different specifying methods can be used to adjust the power of the optical network unit for different active states.
[0054] In some embodiments, the sequence number authorization message may also include at least one of the following fields: flag bit, start time, frame wrap index (FWI), burst configuration, and header error check (HEC).
[0055] In some embodiments, different designation methods may include at least one of the following:
[0056] In response to the allocation identifier field being the first preset value, the sequence number authorization message is used to instruct the one or more optical network units in the sequence number state to send an initial sequence number message starting from the lowest power level, and, upon receiving subsequent sequence number authorization messages, to send subsequent sequence number messages at incremental power levels according to the power level increment; or,
[0057] In response to the allocation identifier field being the second preset value, the sequence number authorization message is used to instruct the one or more optical network units in the sequence number state to send the sequence number message at the target power level, wherein the target power level carried in subsequent sequence number authorization messages is incremented.
[0058] In some embodiments, the optical line terminal distinguishes optical network units in different activation states by assigning an identification field, which includes, but is not limited to, initial activation and reactivation.
[0059] In some embodiments, the value of the allocation identifier field may include a first preset value and a second preset value (both broadcast allocation identifiers). The first preset value indicates that the broadcast is a sequence number authorization message responded to by the optical network unit activated for the first time, and the second preset value indicates that the broadcast is a sequence number authorization message responded to by the optical network unit reactivated. Here, the optical network unit activated for the first time is the optical network unit that undergoes the registration and activation process for the first time, and the optical network unit reactivated is the optical network unit that has completed its initial activation and is working normally in the network, but needs to undergo the activation process again due to a fault. For example, the optical network unit needs to undergo the activation process again due to reasons such as power outage restart or network maintenance operations.
[0060] In one exemplary embodiment, the value of the Alloc-ID field can be set to x (a first preset value), which is to broadcast Alloc-ID1, or the value of the Alloc-ID field can be set to y (a second preset value), which is to broadcast Alloc-ID2.
[0061] In some embodiments, different specifying methods are used to enable optical network units (ONUs) in different activation states to perform corresponding power adjustments. For example, for an ONU activated for the first time, the optical line terminal (OLT) instructs the ONU to send an initial sequence number message starting from the lowest power level by setting the allocation identifier field to a first preset value. Upon receiving subsequent sequence number authorization messages, the ONU adjusts its power based on the power level increment indicated by the authorization time value in the sequence number authorization message, and sends the sequence number message based on the adjusted power. For example, for a reactivated ONU, the OLT sets the allocation identifier field to a second preset value, instructing the ONU to send a sequence number message according to the target power level indicated by the authorization time value in the sequence number authorization message. The ONU then adjusts its power by incrementing the target power level carried in subsequent sequence number authorization messages, causing the ONU to send the sequence number message based on the adjusted power.
[0062] In one exemplary embodiment, the default authorization time for the first time an optical network unit receives a sequence number authorization message is set to 0, instructing the optical network unit to send the initial sequence number message at the lowest power level for the first time.
[0063] In the embodiments of this application, each power level has a corresponding power value.
[0064] In some embodiments, the above-mentioned instruction for the optical network unit to send the initial sequence number message at the lowest power level can also be understood as instructing the optical network unit to send the initial sequence number message at the power value corresponding to the lowest power level.
[0065] In some embodiments, the optical line terminal typically already possesses historical information about the reactivated optical network unit in the network (exemplarily, the power already adjusted during the registration and activation process). Therefore, instead of sending the initial sequence number message at the lowest power for the reactivated optical network unit, the sequence number message is specified to be sent at the target power level, thereby accelerating the registration and activation process. Furthermore, power adjustment is performed by incrementally increasing the target power level carried in subsequent sequence number authorization messages.
[0066] In some embodiments, different designation methods are used for optical network units in different activation states to achieve flexible power regulation control and adjustment in scenarios where multiple optical network units are activated simultaneously, thereby improving the activation efficiency of the network.
[0067] In some embodiments, after step S504, the method further includes:
[0068] Step S505: In response to the failure to parse the valid sequence number message, the sequence number authorization message is repeatedly broadcast, and the uplink data on the preset subcarrier channel is received and parsed until the parsed sequence number message is valid.
[0069] In some embodiments, since a valid sequence number message is not parsed, that is, the power of the sequence number message sent by the optical network unit is insufficient for the optical line terminal to perform correct parsing, the optical line terminal repeatedly broadcasts the sequence number authorization message to guide the optical network unit to adjust the power. Accordingly, it repeatedly receives and parses uplink data on the preset subcarrier channel until the parsed sequence number message is valid, that is, the power of the sequence number message sent by the optical network unit is sufficient for the optical line terminal to perform correct parsing.
[0070] In some embodiments, the sequence number message includes a power adjustment capability field, wherein the value of the power adjustment capability field is used to indicate the current power level of the sequence number message and the power adjustment step size supported by the optical network unit.
[0071] In one exemplary embodiment, the power adjustment capability field is described as follows: CCCC XXXX: CCCC represents the power level at which the optical network unit sends the current sequence number message, and XXXX represents the power adjustment step size supported by the optical network unit.
[0072] In some embodiments, the sequence number message may also include at least one of the following fields: Optical Network Unit Identifier (ONU-ID), Message Type Identifier, Sequence Number, Vendor Identifier, Version Sequence Number, Random Delay, Related Tags, Current Downlink PON Identifier, Current Uplink PON Identifier, Calibration Record Status, Tuning Granularity, One-Step Tuning, Uplink Line Rate Capability, Transceiver Options, Power Regulation Capability, Activation and Debugging Information, and Message Integrity Verification.
[0073] In some embodiments, the optical network unit achieves power level modulation based on its internal laser and semiconductor optical amplifier (SOA).
[0074] In some embodiments, the power adjustment step size supported by the optical network unit is the interval between the power level of the optical network unit based on the current sequence number message and the desired adjusted power level.
[0075] In some embodiments, after receiving a sequence number authorization message broadcast by the optical line terminal, the optical network unit sends an initial sequence number message starting from the lowest power, and upon receiving subsequent sequence number authorization messages, sends subsequent sequence number messages at incremental power levels using the power adjustment step size supported by the optical network unit as the power level increment.
[0076] In some embodiments, if the sequence number authorization message carries an authorization time value, the power is adjusted according to the authorization time value in the sequence number authorization message sent by the optical line terminal, and subsequent sequence number messages are sent on the adjusted power. Otherwise, the optical network unit autonomously adjusts the power according to the supported power adjustment step size and sends subsequent sequence number messages on the adjusted power.
[0077] In some embodiments, step S506, in response to parsing a valid sequence number message and sending an optical network unit identifier allocation message to the optical network unit based on the valid sequence number message, may include the following steps:
[0078] Step S506-2: In response to parsing the valid serial number message, determine the first power level used by the valid serial number message;
[0079] Step S506-4: Send the allocated optical network unit identifier message carrying the target power level to the optical network unit according to the first power level, wherein the allocated optical network unit identifier message is used to allocate an optical network unit identifier to the target optical network unit and indicate that the uplink power of the target optical network unit is the target power level, wherein the target optical network unit is the optical network unit that sent the valid sequence number message.
[0080] In some embodiments, the optical network unit reports the current power level of the current sequence number message and the power adjustment step size supported by the optical network unit through the power adjustment field in the sequence number message, allowing the optical line terminal to obtain a valid sequence number message by parsing and determine the first power level used by the valid sequence number message based on the current power level in its power adjustment capability field.
[0081] In some embodiments, the allocation optical network unit identifier message may further include at least one of the following fields: broadcast optical network unit identifier, sequence number, optical network unit identifier (the allocated optical network unit identifier above), vendor identifier, version sequence number, padding, and message integrity verification.
[0082] In some embodiments, the target power level is the appropriate power level for the target optical network unit to send the registration message. Based on this target power level, not only can the optical line terminal parse a valid sequence number message, but it can also ensure power balance among uplink components. The target optical network unit can be one or more.
[0083] In some embodiments, the preset range may be determined by the optical line terminal based on the bit error rate of the valid sequence number message. However, this application is not limited thereto.
[0084] In some embodiments, the target power level is within a preset range. That is, the registration and activation process is performed with power within the preset range, which can avoid the problem of excessive power of a certain subcarrier or message affecting the overall communication performance of the system.
[0085] In some embodiments, the range of the first power level used to resolve a valid serial number based on the optical line terminal's resolution capability is wider than a preset range. That is, the first power level may or may not be within the preset range.
[0086] In some embodiments, a power indication field is added to the optical network unit identification message, and the value of the power indication field indicates the target power level.
[0087] In some embodiments, the allocation optical network unit identifier message may further include at least one of the following fields: broadcast optical network unit identifier, message type identifier, sequence number, optical network unit identifier (the optical network unit identifier allocated above), vendor identifier, version sequence number, padding, and message integrity verification.
[0088] In some embodiments, the step S506-4, which involves sending the allocated optical network unit identifier message carrying the target power level to the optical network unit according to the first power level, may include the following steps:
[0089] Step S506-4A: In response to the first power level being within a preset range, the target power level is determined to be the first power level, and an allocation optical network unit identification message carrying the first power level is sent to the optical network unit, wherein the allocation optical network unit identification message is used to instruct the target optical network unit to send a registration message using the first power level.
[0090] In some embodiments, if the first power level is within a preset range, the optical line terminal directly carries the power value corresponding to the first power level in the allocated optical network unit identification information and sends the registration message.
[0091] In some embodiments, the step S506-4, which involves sending the allocated optical network unit identifier message carrying the target power level to the optical network unit according to the first power level, may include the following steps:
[0092] Step S506-4B: In response to the first power level being outside a preset range, the target power level is determined to be the second power level, and an allocation optical network unit identification message carrying the second power level is sent to the optical network unit, wherein the allocation optical network unit identification message is used to instruct the target optical network unit to send a registration message using the second power level, and the first power level is different from the second power level.
[0093] In some embodiments, if the first power level is outside a preset range, that is, the optical line terminal can only parse the valid sequence number message but cannot guarantee the balance of each uplink power, the optical line terminal carries the second power level in the allocation optical network unit identification message to instruct the optical network unit to adjust to the second power level to send the registration message.
[0094] In some embodiments, the second power level is within a preset range.
[0095] In some embodiments, after responding to the parsing of a valid sequence number message in step S506 and sending an optical network unit identifier allocation message to the optical network unit based on the valid sequence number message, the method further includes:
[0096] Step S507: Send a unicast ranging authorization message to the target optical network unit, wherein the unicast ranging authorization message is used to instruct the target optical network unit to send the registration message using the first power level or the second power level;
[0097] Step S508: Receive the registration message sent by the target optical network unit, and configure a balanced delay for the target optical network unit if the power level used in the registration message reaches a preset range.
[0098] In one exemplary embodiment, if the optical line terminal parses and finds that the first power level in the valid serial number information is within a preset range, then it determines the target power level as the first power level and instructs the target optical network unit sending the valid serial number information to send the registration message using the power value corresponding to the first power level. In another exemplary embodiment, if the optical line terminal parses and finds that the first power level in the valid serial number information is outside the preset range, then it determines the target power level as the second power level and instructs the target optical network unit sending the valid serial number information to send the registration message using the power value corresponding to the second power level.
[0099] In some embodiments, the registration message is a Registration Physical Layer Operations, Administration and Maintenance (PLOAM) message, i.e., a registration PLOAM message.
[0100] In some embodiments, when the power of the received registration message reaches a preset range, the optical line terminal will send a ranging time message to configure equalization delay for the optical network unit and indicate the subsequent uplink power of the target optical network unit.
[0101] In some embodiments, the ranging time message is a Ranging Time Physical Layer Operations, Administration and Maintenance (PLOAM) message, that is, a ranging time PLOAM message.
[0102] In some embodiments, the method may further include the following steps:
[0103] Step S509: Send a bandwidth map BWmap message to the target optical network unit;
[0104] Step S510: Receive uplink data sent by the target optical network unit at the first power level or the second power level.
[0105] In some embodiments, the optical line terminal sends a BWmap message to the target optical network unit to control the optical network unit to send uplink data, and the target optical network unit sends the uplink data according to the power value corresponding to the indicated first power level or second power level.
[0106] In some embodiments, each of the one or more optical network units supports a plurality of power levels, where a difference between power values corresponding to any two adjacent power levels is less than or equal to a preset value.
[0107] In some embodiments, the preset value is determined by the power value corresponding to the minimum power level and the power value corresponding to the maximum power level.
[0108] In an exemplary embodiment, the ONU supports a total of N power values, denoted as Px, where Px is referred to as a power value, x is referred to as a power level, x=1, 2, ..., n, and P1<P2<...<Pn. P1 is the minimum power value, corresponding to the power value at which the ONU signal can be correctly decoded by the OLT after experiencing the minimum attenuation value. Pn is the maximum power value, corresponding to the power value at which the ONU signal can be correctly decoded by the OLT after experiencing the maximum attenuation value.
[0109] In some embodiments, the setting of the power values shall take into account the system's tolerance for the power difference between different subcarrier signals. Assuming that the power difference between different subcarrier signals tolerated by the TFDM PON system is Pmax, the difference between two adjacent power values is not greater than Pmax, so as to prevent the ONU from being unable to adjust to an appropriate power value when adjusting the power.
[0110] In this embodiment, the optical line terminal (OLT) receives sequence number messages transmitted by the optical network unit (ONU) at different powers on selected subcarrier channels. When the OLT cannot parse the sequence number message, the ONU will automatically adjust / be instructed by the OLT to adjust the power of the sequence number message. When the sequence number message can be parsed, the OLT can directly specify the uplink power value of the ONU through the sequence number message, or the OLT will wait for the ONU to adjust to a preset power value.
[0111] Through the embodiments of this application, since one or more optical network units are instructed to dynamically adjust uplink power through the sequence number authorization message, and an optical network unit identification message is sent according to the valid sequence number message to instruct the optical network unit to register with the corresponding uplink power, the power equalization of all uplink subcarriers is achieved, thereby avoiding the problem of uplink power differences affecting system performance and data transmission.
[0112] This embodiment provides a method for activating an optical network unit (ONU) in an optical network unit operating in a TFDM PON system. Figure 6 This is a flowchart illustrating the optical network unit activation method according to an embodiment of this application, as shown below. Figure 6 As shown, the process may include the following steps:
[0113] Step S602: Receive the sequence number authorization message sent by the optical line terminal;
[0114] Step S604: Adjust the uplink power according to the sequence number authorization message, and send the sequence number message with the adjusted uplink power;
[0115] Step S606: Receive the optical network unit (ONU) allocation identifier message sent by the optical line terminal, wherein the ONU allocation identifier message is sent by the optical line terminal in response to parsing a valid sequence number message;
[0116] Step S608: Register on a preset subcarrier channel with the corresponding uplink power according to the allocated optical network unit identification message.
[0117] In one exemplary embodiment, the serial number message is a Serial Number Physical Layer Operations, Administration and Maintenance (PLOAM) message, i.e., a Serial Number PLOAM message.
[0118] In one exemplary embodiment, the Assign_ONU-ID message is the Assign_ONU-ID Physical Layer Operations, Administration and Maintenance (PLOAM) message, i.e., the Assign_ONU-ID PLOAM message.
[0119] In some embodiments, steps S602-S608 are in stage O2-3 (serial number status) of the optical network unit registration and activation process.
[0120] In some embodiments, the preset subcarrier channel is the specific subcarrier channel selected by the optical network unit to implement the registration activation function.
[0121] Through the embodiments of this application, uplink power adjustment is dynamically performed based on the sequence number authorization message, and registration is performed with corresponding uplink power based on the allocated optical network unit identification message, thereby achieving power balance across all uplink subcarriers and avoiding the problem of uplink power differences affecting system performance and data transmission. It is understood that through the signaling interaction process between the optical line terminal (OLT) and the optical network unit (ONU) in phases O2-3, the OLT instructs the ONU to perform power adjustment, thereby achieving power balance across all uplink subcarriers.
[0122] In some embodiments, the optical network unit may further include the following steps before performing step S602:
[0123] Step S600: Receive the downlink signal sent by the optical line terminal and perform a synchronization operation based on the downlink signal.
[0124] In some embodiments, the optical line terminal enables the optical network unit to perform a synchronization operation through downlink information, which occurs in the O1 stage (initial state) of the optical network unit registration and activation process. After synchronization is completed, the optical network unit enters the O2-3 stage (serial number state).
[0125] In some embodiments, the optical network unit may further include the following steps before performing step S602:
[0126] Step S601: Receive the burst configuration message sent by the optical line terminal, and configure the burst transmission parameters according to the burst configuration message.
[0127] In some embodiments, step S601 is in stage O2-3 of the optical network unit registration and activation process.
[0128] In some embodiments, the burst configuration message is a Burst Profile Physical Layer Operations, Administration and Maintenance (PLOAM) message, i.e., a Burst Profile PLOAM message.
[0129] In some embodiments, the optical line terminal may further include the following steps before performing step S602:
[0130] Step S601: Receive the downlink signal sent by the optical line terminal and perform a synchronization operation based on the downlink signal.
[0131] In some embodiments, the optical network unit performs a synchronization operation based on the downlink signal, which occurs in the O1 stage (initial state) of the optical network unit registration and activation process. After synchronization is completed, the optical network unit enters the O2-3 stage (serial number state).
[0132] In some embodiments, the serial number authorization message includes an allocation identifier field and an authorization time field, wherein,
[0133] In response to the allocation identifier field being a first preset value, the value of the authorization time field is the power level increase used by the optical network unit to send the sequence number message; or,
[0134] In response to the allocation identifier field being a second preset value, the value of the authorization time field is the target power level used by the optical network unit to send the sequence number message.
[0135] In some embodiments, the optical line terminal instructs the optical network unit to send a sequence number message at a specified power via a sequence number authorization message. Different specifying methods can be used to adjust the power of the optical network unit for different active states.
[0136] In some embodiments, the serial number authorization message may also include at least one of the following fields: flag bit, start time, FWI, burst configuration, HEC.
[0137] In some embodiments, different designation methods may include at least one of the following:
[0138] In response to the allocation identifier field being the first preset value, the sequence number authorization message is used to instruct the one or more optical network units in the sequence number state to send an initial sequence number message starting from the lowest power level, and, upon receiving subsequent sequence number authorization messages, to send subsequent sequence number messages at incremental power levels according to the power level increment; or,
[0139] In response to the allocation identifier field being the second preset value, the sequence number authorization message is used to instruct the one or more optical network units in the sequence number state to send the sequence number message at the target power level, wherein the target power level carried in subsequent sequence number authorization messages is incremented.
[0140] In some embodiments, the optical line terminal distinguishes optical network units in different activation states by assigning an identification field, and the different activation states include, but are not limited to, initial activation and reactivation.
[0141] In some embodiments, the value of the allocation identifier field may include a first preset value and a second preset value (both broadcast allocation identifiers). The first preset value indicates that the broadcast is a sequence number authorization message responded to by the optical network unit activated for the first time, and the second preset value indicates that the broadcast is a sequence number authorization message responded to by the optical network unit reactivated. Here, the optical network unit activated for the first time is the optical network unit that undergoes the registration and activation process for the first time, and the optical network unit reactivated is the optical network unit that has completed its initial activation and is working normally in the network, but needs to undergo the activation process again due to a fault. For example, the optical network unit needs to undergo the activation process again due to reasons such as power outage restart or network maintenance operations.
[0142] In one exemplary embodiment, the value of the Alloc-ID field can be set to x (a first preset value), which is to broadcast Alloc-ID1, or the value of the Alloc-ID field can be set to y (a second preset value), which is to broadcast Alloc-ID2.
[0143] In some embodiments, different specifying methods are used to enable optical network units (ONUs) in different activation states to perform corresponding power adjustments. For example, for an ONU activated for the first time, the optical line terminal (OLT) instructs the ONU to send an initial sequence number message starting from the lowest power level by setting the allocation identifier field to a first preset value. Upon receiving subsequent sequence number authorization messages, the ONU adjusts its power based on the power level increment indicated by the authorization time value in the sequence number authorization message, and sends the sequence number message based on the adjusted power. For example, for a reactivated ONU, the OLT sets the allocation identifier field to a second preset value, instructing the ONU to send a sequence number message according to the target power level indicated by the authorization time value in the sequence number authorization message. The ONU then adjusts its power by incrementing the target power level carried in subsequent sequence number authorization messages, causing the ONU to send the sequence number message based on the adjusted power.
[0144] In one exemplary embodiment, the default authorization time for the first time an optical network unit receives a sequence number authorization message is set to 0, instructing the optical network unit to send the initial sequence number message at the lowest power level for the first time.
[0145] In the embodiments of this application, each power level has a corresponding power value.
[0146] In some embodiments, the above instruction for the optical network unit to send the initial sequence number message at the lowest power level can also be understood as the optical network unit sending the initial sequence number message at the power value corresponding to the lowest power level.
[0147] In some embodiments, the optical line terminal typically already possesses historical information about the reactivated optical network unit in the network (exemplarily, the power already adjusted during the registration and activation process). Therefore, instead of sending the initial sequence number message at the lowest power for the reactivated optical network unit, the sequence number message is specified to be sent at the target power level, thereby accelerating the registration and activation process. Furthermore, power adjustment is performed by incrementally increasing the target power level carried in subsequent sequence number authorization messages.
[0148] In some embodiments, different designation methods are used for optical network units in different activation states to achieve flexible power regulation control and adjustment in scenarios where multiple optical network units are activated simultaneously, thereby improving the activation efficiency of the network.
[0149] In some embodiments, after step S604, the method further includes:
[0150] Step S605: If the optical line terminal fails to parse the valid sequence number message, it repeatedly receives the sequence number authorization message, adjusts the uplink power according to the sequence number authorization message, and sends the sequence number message with the adjusted uplink power until the parsed sequence number message is valid.
[0151] In some embodiments, since the optical line terminal (OLT) fails to parse a valid sequence number message, meaning the power at which the optical network unit (ONU) sends the sequence number message is insufficient for the OLT to correctly parse it, the OLT repeatedly broadcasts a sequence number authorization message to instruct the ONU to adjust its power. Accordingly, the OLT repeatedly receives the sequence number authorization message, adjusts its uplink power according to the sequence number authorization message, and sends the sequence number message with the adjusted uplink power until the parsed sequence number message is valid, meaning the power at which the ONU sends the sequence number message is sufficient for the OLT to correctly parse it.
[0152] In some embodiments, the sequence number message includes a power adjustment capability field, wherein the value of the power adjustment capability field is used to indicate the current power level of the sequence number message and the power adjustment step size supported by the optical network unit.
[0153] In one exemplary embodiment, the power adjustment capability field is described as follows: CCCC XXXX: CCCC represents the power level at which the optical network unit sends the current sequence number message, and XXXX represents the power adjustment step size supported by the optical network unit.
[0154] In some embodiments, the sequence number message may also include at least one of the following fields: optical network unit identifier, message type identifier, sequence number, vendor identifier, version sequence number, random delay, related tag, current downlink PON identifier, current uplink PON identifier, calibration record status, tuning granularity, one-step tuning, uplink line rate capability, transceiver options, power regulation capability, activation debugging information, and message integrity verification.
[0155] In some embodiments, the optical network unit achieves power level modulation based on its internal laser and semiconductor optical amplifier (SOA).
[0156] In some embodiments, the power adjustment step size supported by the optical network unit is the interval between the power level of the optical network unit based on the current sequence number message and the desired adjusted power level.
[0157] In some embodiments, after receiving a sequence number authorization message broadcast by the optical line terminal, the optical network unit sends an initial sequence number message starting from the lowest power, and upon receiving subsequent sequence number authorization messages, sends subsequent sequence number messages at incremental power levels using the power adjustment step size supported by the optical network unit as the power level increment.
[0158] In some embodiments, if the sequence number authorization message carries an authorization time value, the power is adjusted according to the authorization time value in the sequence number authorization message sent by the optical line terminal, and subsequent sequence number messages are sent on the adjusted power. Otherwise, the optical network unit autonomously adjusts the power according to the supported power adjustment step size and sends subsequent sequence number messages on the adjusted power.
[0159] In some embodiments, the target power level is the appropriate power level for the target optical network unit to send the registration message. Based on this target power level, not only can the optical line terminal parse the valid sequence number message, but also the uplink power balance can be ensured.
[0160] In some embodiments, the preset range is determined by the optical line terminal based on the bit error rate of the valid sequence number message. This application does not limit the method of determining the preset range.
[0161] In some embodiments, the target power level is within a preset range.
[0162] In some embodiments, the range of the first power level used to resolve a valid serial number based on the optical line terminal's resolution capability is wider than a preset range. That is, the first power level may or may not be within the preset range.
[0163] In some embodiments, the optical network unit determines the target power level based on the value of a power indication field added to the assigned optical network unit identification message.
[0164] In some embodiments, the allocation optical network unit identifier message may further include at least one of the following fields: broadcast optical network unit identifier, message type identifier, sequence number, optical network unit identifier (the optical network unit identifier allocated above), vendor identifier, version sequence number, padding, and message integrity verification.
[0165] In some embodiments, the second power level is within a preset range.
[0166] In some embodiments, after step S608, the method further includes:
[0167] Step S609: Receive a unicast ranging authorization message sent by the optical line terminal, wherein the unicast ranging authorization message is used to instruct the target optical network unit that sent the valid sequence number message to send the registration message using the target power level;
[0168] Step S610: Send the registration message to the optical line terminal, and configure equalization delay if the power level used in the registration message reaches a preset range.
[0169] In some embodiments, the registration message is a Registration Physical Layer Operations, Administration and Maintenance (PLOAM) message, i.e., a registration PLOAM message.
[0170] In some embodiments, when the power of the received registration message reaches a preset range, the optical line terminal will send a ranging time message to configure equalization delay for the optical network unit and indicate the subsequent uplink power of the target optical network unit.
[0171] In some embodiments, the ranging time message is a Ranging Time Physical Layer Operations, Administration and Maintenance (PLOAM) message, that is, a ranging time PLOAM message.
[0172] In an exemplary embodiment, when a first power level in valid serial number information obtained by parsing by an optical line terminal is within a preset range, it is determined that a target power level is the first power level, and a target optical network unit that sends the valid serial number information is instructed to send a registration message by using a power value corresponding to the first power level. In another exemplary embodiment, when a first power level in valid serial number information obtained by parsing by an optical line terminal is outside a preset range, it is determined that a target power level is a second power level, and a target optical network unit that sends the valid serial number information is instructed to send a registration message by using a power value corresponding to the second power level.
[0173] In some embodiments, the method may further include the following steps:
[0174] Step S611: Receive a bandwidth map BWmap message sent by the optical line terminal;
[0175] Step S612: Send upstream data to the optical line terminal by using a target power level.
[0176] In some embodiments, each of the one or more optical network units supports a plurality of power levels, where a difference between power values corresponding to any two adjacent power levels is less than or equal to a preset value.
[0177] In some embodiments, the preset value is determined according to a power value corresponding to a minimum power level and a power value corresponding to a maximum power level.
[0178] In an exemplary embodiment, an ONU supports a total of N power values, which are denoted as Px, where Px is referred to as a power value, x is referred to as a power level, x=1, 2, ..., n, and P1<P2<...<Pn. P1 is a minimum power value, corresponding to a power value at which an ONU signal can be correctly decoded by an OLT after experiencing a minimum attenuation value. Pn is a maximum power value, corresponding to a power value at which an ONU signal can be correctly decoded by an OLT after experiencing a maximum attenuation value.
[0179] In some embodiments, the setting of the power values shall take into account the tolerance of the system to the power difference of different subcarrier signals. Assuming that the power difference between different subcarrier signals tolerated by a TFDM PON system is Pmax, the difference between two adjacent power values is not greater than Pmax, so as to prevent the ONU from failing to adjust to an appropriate power value when adjusting the power.
[0180] In this embodiment, the optical line terminal (OLT) receives sequence number messages transmitted by the optical network unit (ONU) at different powers on selected subcarrier channels. When the OLT cannot parse the sequence number message, the ONU will automatically adjust / be instructed by the OLT to adjust the power of the sequence number message. When the sequence number message can be parsed, the OLT can directly specify the uplink power value of the ONU through the sequence number message, or the OLT will wait for the ONU to adjust to a preset power value.
[0181] Through the embodiments of this application, uplink power adjustment is dynamically performed based on the sequence number authorization message, and registration is performed with corresponding uplink power based on the allocated optical network unit identification message, thereby achieving power balance across all uplink subcarriers and avoiding the problem of uplink power differences affecting system performance and data transmission. It is understood that through the signaling interaction process between the optical line terminal (OLT) and the optical network unit (ONU) in phases O2-3, the OLT instructs the ONU to perform power adjustment, thereby achieving power balance across all uplink subcarriers.
[0182] Figure 7 This is a schematic diagram of a TFDM PON system architecture based on the optical network unit activation method according to an embodiment of this application, as shown below. Figure 7 As shown, the system architecture includes: an optical line terminal (OLT), an optical network unit (ONU), and optical fibers. The OLT and ONU transmit data via optical fibers. Further, the OLT includes: a local oscillator, a DSP, and a dual-polarization coherent receiver. The ONU includes: a laser, an SOA, a DSP, and a dual-polarization quadrature phase-shift keying (QPSK) modulator. The OLT can utilize the laser and SOA to adjust the uplink power according to power levels.
[0183] In an exemplary embodiment, the optical network unit supports a total of N power values, denoted as Px, where Px is called the power value and x is called the power level, and x = 1, 2, ..., n and P1 <P2<...<Pn。
[0184] Where x = 1 is the lowest power level, and its corresponding P1 is the lowest power value, which is the power value of the ONU signal that can be correctly decoded by the OLT after experiencing the minimum attenuation value. x = n is the lowest power level, and its corresponding Pn is the highest power value, which is the power value of the ONU signal that can be correctly decoded by the OLT after experiencing the maximum attenuation value.
[0185] The method for setting the power value (the preset value in the above method embodiment) is as follows: the setting of the power value should take into account the system's tolerance for power differences of different subcarrier signals. Figure 8 This is a schematic diagram of power value setting in one embodiment of this application, as shown below. Figure 8As shown, assuming the power difference between different subcarrier signals tolerated by the TFDM PON system is Pmax, the difference between two adjacent power values should not be greater than Pmax, so as to prevent the ONU from being unable to adjust to a suitable power value when adjusting the power.
[0186] Figure 9 This is a schematic diagram of the activation process of an optical line terminal instructing an optical network unit to adjust its power in one embodiment of this application, as shown below. Figure 9 As shown, the activation process may include the following stages:
[0187] Phase O1 (initial state) may include the following steps:
[0188] In step S901, the OLT sends a downlink signal, the ONU receives the downlink data and performs a synchronization operation according to the ONU synchronization state machine, and enters the next state after completing the physical frame synchronization.
[0189] The O2-3 stage (serial number status) may include the following steps:
[0190] In step S902, the OLT sends a Burst Profile PLOAM message to configure the parameters for burst transmission of the ONU;
[0191] In step S903, the OLT broadcasts a serial number authorization message, instructing all ONUs in the O2-3 state to send a serial number PLOAM message at a specified power.
[0192] In step S904, the ONU adjusts the uplink power according to the serial number authorization message and sends a serial number PLOAM message to the OLT using the adjusted uplink power. The serial number PLOAM message carries its own power level P1 (P1 represents the power level carried in the first round) and the supported power adjustment step size.
[0193] In step S905, the OLT receives the uplink signal and parses the uplink data of the corresponding uplink subcarrier channel; when a valid serial number PLOAM message is not parsed, steps S903-S905 are repeated for round i until the parsed serial number PLOAM message is valid. At this time, the power level of the ONU carried by the valid serial number PLOAM message is Pi+1 (P1 represents the power level of itself carried in the (i+1)th round).
[0194] Step S906: When the parsed Serial Number PLOAM is valid, it is determined that the first power level used by the last Serial Number PLOAM message sent by the ONU is not within the preset range. The OLT responds with an PLOM message carrying the second power level, assigns an optical network unit identifier (ONU-ID) to the ONU, and indicates the uplink power level of the ONU.
[0195] Phase O4 (ranging state) may include the following steps:
[0196] In step S908, the OLT sends a unicast ranging authorization message, instructing a specific ONU to send a registration PLOAM message using the power value corresponding to the second power level in the allocated optical network unit identifier PLOM message;
[0197] Step S909, the ONU sends a registration PLOAM message;
[0198] In step S910, when the power of the received registration PLOAM message reaches the preset range, the OLT will send a ranging time PLOAM message to configure the equalization delay for the ONU and indicate the subsequent uplink power of the ONU.
[0199] Phase O5 (normal working state): may include the following steps:
[0200] In step S911, the OLT sends a BWmap to control the ONU to send uplink data. The ONU sends uplink data using the power value corresponding to the second power level.
[0201] In this embodiment, the second power level is the power level supported by the ONU.
[0202] In some embodiments, different power specification methods can be used to indicate different activation states of ONUs through the serial number authorization message.
[0203] In this embodiment, the Alloc-ID (the allocation identifier field in the above method embodiment) in the serial number authorization message is x, where x is the broadcast Alloc-ID1, which is the authorization message responded to by the ONU upon initial activation. At this time, the value of the authorization time field is s, indicating that the ONU sends the serial number PLOAM message at the power level corresponding to the s-level power increase. When the serial number authorization message is received for the first time, the default value of the authorization time field is 0, meaning the ONU sends the serial number PLOAM message at the lowest power level for the first time. The Alloc-ID in the serial number authorization message is y, where y is the broadcast Alloc-ID2, which is the authorization message responded to by the reactivated ONU. At this time, the value of the authorization time field is s, indicating that the ONU sends the serial number PLOAM message at the power level corresponding to the s-level power level.
[0204] In this embodiment, the ONU carries its own power level and supported power adjustment step size in the power adjustment capability field of the Serial Number PLOAM message. The power adjustment capability field is described as: CCCC XXXX, where CCCC represents the power level of the ONU sending the current Serial Number PLOAM message; and XXXX represents the power adjustment step size supported by the ONU.
[0205] In this embodiment, the OLT carries the second power level by adding a power indication field to the PLOAM message for allocating the optical network unit identifier. For example, setting this field to 'n' indicates that the second power level is the nth power level supported by the ONU.
[0206] The activation process (I) for autonomous power adjustment of an optical network unit in one embodiment of this application is described below. This activation process may include the following stages:
[0207] Phase O1 (initial state) may include the following steps:
[0208] In step S1001, the OLT sends a downlink signal, the ONU receives the downlink data and performs a synchronization operation according to the ONU synchronization state machine, and enters the next state after completing the physical frame synchronization.
[0209] The O2-3 stage (serial number status) may include the following steps:
[0210] Step S1002: The OLT sends a burst profile PLOAM to configure the parameters for burst transmission of the ONU.
[0211] In step S1003, the OLT broadcasts a serial number authorization message, instructing all ONUs in the O2-3 state to start sending the initial serial number PLOAM message at the lowest power.
[0212] In step S1004, the ONU sends an Initial Serial Number PLOAM message to the OLT, wherein the Serial Number PLOAM message carries its own power level and the supported power adjustment step size;
[0213] In step S1005, the OLT receives the uplink signal and parses the uplink data of the corresponding uplink subcarrier channel. When a valid sequence number message is not parsed, the OLT repeatedly sends a sequence number grant message to the ONU. The ONU responds to the sequence number grant message sent by the OLT by sending a sequence number PLOAM message to the OLT, gradually increasing its own power level with the supported power adjustment step size. The OLT repeatedly receives the uplink signal and parses the uplink data of the corresponding uplink subcarrier channel until the parsed sequence number PLOAM message is valid. Each sequence number PLOAM message carries its own power level and the supported power adjustment step size.
[0214] Step S1006: When the parsed Serial Number PLOAM message is valid, it is determined that the first power level used by the last sequence number message sent by the ONU (i.e. the currently parsed sequence number message) is not within the preset range. The OLT responds with an Allocation Optical Network Unit Identifier PLOM message carrying the second power level, assigns an ONU-ID to the ONU, and indicates the uplink power level of the ONU.
[0215] Phase O4 (ranging state) may include the following steps:
[0216] In step S1007, the OLT sends a unicast ranging authorization message, instructing a specific ONU to register PLOAM by sending the power value corresponding to the second power level in the allocated optical network unit identifier PLOM message;
[0217] In step S1008, when the received registered PLOAM power reaches the preset range, the OLT will send a ranging time PLOAM message to configure equalization delay for the ONU and indicate the subsequent uplink power.
[0218] Phase O5 (normal working state): may include the following steps:
[0219] In step S1009, the OLT sends a BWmap to control the ONU to send uplink data. The ONU sends uplink data using the power value corresponding to the second power level.
[0220] In this embodiment, the second power level is the power level supported by the ONU.
[0221] In this embodiment, the ONU carries its own power level and supported power adjustment step size in the power adjustment capability field of the Serial Number PLOAM message. The power adjustment capability field is described as: CCCC XXXX, where CCCC represents the power level of the ONU sending the current Serial Number PLOAM message; and XXXX represents the power adjustment step size supported by the ONU.
[0222] In this embodiment, the OLT carries the second power level by adding a power indication field to the PLOM (Optical Network Unit Identifier) message. For example, setting this field to 'n' indicates that the second power level is the nth power level supported by the ONU.
[0223] The following describes an activation process for an optical line terminal instructing an optical network unit to adjust its power in an embodiment of this application. This activation process may include the following stages:
[0224] Phase O1 (initial state) may include the following steps:
[0225] In step S1101, the OLT sends a downlink signal, the ONU receives the downlink data and performs a synchronization operation according to the ONU synchronization state machine, and enters the next state after completing the physical frame synchronization.
[0226] The O2-3 stage (serial number status) may include the following steps:
[0227] Step S1102: The OLT sends a burst profile PLOAM to configure the parameters for burst transmission of the ONU.
[0228] In step S1103, the OLT broadcasts a serial number authorization message, instructing all ONUs in the O2-3 state to send a serial number PLOAM message at a specified power.
[0229] In step S1104, the ONU adjusts the uplink power according to the serial number authorization message and sends a serial number PLOAM message to the OLT using the adjusted uplink power. The serial number PLOAM message carries its own power level and the supported power adjustment step size.
[0230] In step S1105, the OLT receives the uplink signal and parses the uplink data of the corresponding uplink subcarrier channel;
[0231] Step S1106: If a valid serial number PLOAM message is not parsed, repeat steps S903-S905 until a valid serial number PLOAM message is parsed.
[0232] Step S1107: When the parsed serial number PLOAM message is valid, it is determined that the first power level used by the serial number PLOAM message last sent by the ONU is within the preset range. The OLT responds with an allocation optical network unit identifier PLOM message carrying the first power level, assigns an ONU-ID to the ONU, and indicates the uplink power level of the ONU.
[0233] Phase O4 (ranging state) may include the following steps:
[0234] In step S1108, the OLT sends a unicast ranging authorization message, instructing a specific ONU to use the transmission registration PLOAM with the power value corresponding to the first power level;
[0235] In step S1109, when the received registered PLOAM power reaches the preset range, the OLT will send a ranging time PLOAM message to configure equalization delay for the ONU and indicate the subsequent uplink power.
[0236] Phase O5 (normal working state): may include the following steps:
[0237] In step S1110, the OLT sends a BWmap to control the ONU to send uplink data. The ONU sends uplink data using the power value corresponding to the second power level.
[0238] In some embodiments, different power specification methods can be used to indicate different activation states of ONUs through the serial number authorization message.
[0239] In this embodiment, the Alloc-ID (the allocation identifier field in the above method embodiment) in the serial number authorization message is x, where x is the broadcast Alloc-ID1, which is the authorization message responded to by the ONU upon initial activation. At this time, the value of the authorization time field is s, indicating that the ONU sends the serial number PLOAM message at the power level corresponding to the s-level power increase. When the serial number authorization message is received for the first time, the default value of the authorization time field is 0, meaning the ONU sends the serial number PLOAM message at the lowest power level for the first time. The Alloc-ID in the serial number authorization message is y, where y is the broadcast Alloc-ID2, which is the authorization message responded to by the reactivated ONU. At this time, the value of the authorization time field is s, indicating that the ONU sends the serial number PLOAM message at the power level corresponding to the s-level power level.
[0240] In this embodiment, the ONU carries its own power level and supported power adjustment step size in the power adjustment capability field of the Serial Number PLOAM message. The power adjustment capability field is described as: CCCC XXXX, where CCCC represents the power level of the ONU sending the current Serial Number PLOAM message; and XXXX represents the power adjustment step size supported by the ONU.
[0241] The activation process (II) for the autonomous power adjustment of an optical network unit in one embodiment of this application is described below. This activation process may include the following stages:
[0242] Phase O1 (initial state) may include the following steps:
[0243] In step S1201, the OLT sends a downlink signal, the ONU receives the downlink data and performs a synchronization operation according to the ONU synchronization state machine, and enters the next state after completing the physical frame synchronization.
[0244] The O2-3 stage (serial number status) may include the following steps:
[0245] Step S1202: The OLT sends a burst profile PLOAM to configure the parameters for burst transmission of the ONU;
[0246] In step S1203, the OLT broadcasts a serial number authorization message, instructing all ONUs in the O2-3 state to start sending the initial serial number PLOAM message at the lowest power.
[0247] In step S1204, the ONU sends an Initial Serial Number PLOAM message to the OLT, wherein the Serial Number PLOAM message carries its own power level and the supported power adjustment step size;
[0248] In step S1205, the OLT receives the uplink signal and parses the uplink data of the corresponding uplink subcarrier channel.
[0249] In step S1206, when a valid serial number PLOAM message is not parsed, the OLT repeatedly sends a serial number grant message to the ONU. The ONU responds to the serial number grant message sent by the OLT by sending a serial number PLOAM message in a manner that gradually increases its own power level with the supported power adjustment step size. The OLT repeatedly receives uplink signals and parses the uplink data of the corresponding uplink subcarrier channel until the parsed serial number PLOAM message is valid. Each serial number PLOAM message carries its own power level and the supported power adjustment step size.
[0250] Step S1207: When the parsed serial number PLOAM message is valid, it is determined that the first power level used by the serial number PLOAM message last sent by the ONU is within the preset range. The OLT responds with an allocation optical network unit identifier PLOM message carrying the first power level, assigns an ONU-ID to the ONU, and indicates the uplink power level of the ONU.
[0251] Phase O4 (ranging state) may include the following steps:
[0252] In step S1208, the OLT sends a unicast ranging authorization, instructing a specific ONU to use the transmission registration PLOAM with the power value corresponding to the first power level;
[0253] In step S1209, when the received registered PLOAM power reaches the preset range, the OLT will send a ranging time PLOAM message to configure equalization delay for the ONU and indicate the subsequent uplink power.
[0254] Phase O5 (normal working state): may include the following steps:
[0255] In step S1210, the OLT sends a BWmap to control the ONU to send uplink data. The ONU sends uplink data using the power value corresponding to the first power level.
[0256] In this embodiment, the ONU carries its own power level and supported power adjustment step size in the power adjustment capability field of the Serial Number PLOAM message. The power adjustment capability field is described as: CCCC XXXX, where CCCC represents the power level of the ONU sending the current Serial Number PLOAM message; and XXXX represents the power adjustment step size supported by the ONU.
[0257] Figure 10 This is a schematic diagram of the frame structure of the serial number authorization message in one embodiment of this application, as shown below. Figure 10 As shown, the serial number authorization message includes at least one of the following fields: Alloc-ID (the allocation identifier field in the above method embodiment), flag bit, start time, authorization time, FWI, burst configuration, and HEC.
[0258] In some embodiments, the message format of the serial number authorization message is a BWmap structure.
[0259] In some embodiments, the Alloc-ID field is x, where x is broadcast Alloc-ID1, representing the authorization message responded to by the newly activated ONU. In this case, the authorization time field is valued as s, indicating that the ONU should send the sequence number message at the power level corresponding to the s-level power requirement. When the sequence number authorization message is received for the first time, the default value of the authorization time field is 0, meaning the ONU sends the sequence number message at the lowest power level for the first time. In the sequence number authorization message, the Alloc-ID is y, where y is broadcast Alloc-ID2, representing the authorization message responded to by the reactivated ONU. In this case, the authorization time field is valued as s, indicating that the ONU should send the sequence number message at the power level corresponding to the s-level power requirement.
[0260] Figure 11 This is a schematic diagram of the frame structure of the sequence number message in one embodiment of this application, as shown below. Figure 11 As shown, the sequence number message includes at least one of the following fields: Optical Network Unit (ONU) identifier, Message Type Identifier, Sequence Number, Vendor Identifier, Version Sequence Number, Random Delay, Related Tags, Current Downlink PON Identifier, Current Uplink PON Identifier, Calibration Record Status, Tuning Granularity, One-Step Tuning, Uplink Line Rate Capability, Transceiver Options, Power Adjustment Capability, Activation and Debugging Information, and Message Integrity Verification. The value of the Power Adjustment Capability field indicates the current power level of the sequence number message and the power adjustment step size supported by the optical network unit.
[0261] In some embodiments, the power regulation capability field is described as: CCCC XXXX, where CCCC represents the power level at which the ONU sends the sequence number message; and XXXX represents the power adjustment step size supported by the ONU.
[0262] Figure 12 This is a schematic diagram of the frame structure for allocating optical network unit identification messages in one embodiment of this application, as shown below. Figure 12 As shown, the optical network unit (ONU) identification message includes at least one of the following fields: broadcast ONU identifier, message type identifier, sequence number, ONU identifier, vendor identifier, version sequence number, power indicator, padding, and message integrity check. The target power level is indicated by the value of the power indicator field in the ONU identifier message.
[0263] In some embodiments, the OLT carries a second power level by adding a power indication field to the optical network unit identification message. For example, if this field is set to n, it indicates that the second power level is the nth power level supported by the ONU.
[0264] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps in any of the above method embodiments.
[0265] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0266] Embodiments of this application also provide an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0267] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0268] Embodiments of this application also provide a computer program product, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0269] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0270] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.
[0271] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A method for activating an optical network unit, characterized in that, include: Broadcast sequence number authorization message, wherein the sequence number authorization message is used to instruct one or more optical network units to adjust uplink power and send a sequence number message; Receive and parse uplink data on a preset subcarrier channel; In response to obtaining a valid sequence number message through parsing, an optical network unit (ONU) identification message is sent to the ONU based on the valid sequence number message. The ONU identification message is used to instruct the ONU to register on the preset subcarrier channel with a corresponding uplink power.
2. The method according to claim 1, characterized in that, The sequence number authorization message includes an allocation identifier field and an authorization time field, wherein, In response to the allocation identifier field being a first preset value, the value of the authorization time field is the power level increase used by the optical network unit to send the sequence number message; or, In response to the allocation identifier field being a second preset value, the value of the authorization time field is the target power level used by the optical network unit to send the sequence number message.
3. The method according to claim 2, characterized in that, In response to the allocation identifier field being the first preset value, the sequence number authorization message is used to instruct the one or more optical network units in the sequence number state to send an initial sequence number message starting from the lowest power level, and, upon receiving subsequent sequence number authorization messages, to send subsequent sequence number messages at incremental power levels according to the power level increment; or, In response to the allocation identifier field being the second preset value, the sequence number authorization message is used to instruct the one or more optical network units in the sequence number state to send the sequence number message at the target power level, wherein the target power level carried in subsequent sequence number authorization messages is incremented.
4. The method according to claim 1, characterized in that, After receiving and parsing the uplink data on the preset subcarrier channel, the method further includes: In response to the failure to parse the valid sequence number message, the sequence number authorization message is repeatedly broadcast, and the uplink data on the preset subcarrier channel is received and parsed until the parsed sequence number message is valid.
5. The method according to claim 1, characterized in that, The sequence number message includes a power adjustment capability field, wherein the value of the power adjustment capability field is used to indicate the current power level of the sequence number message and the power adjustment step size supported by the optical network unit.
6. The method according to claim 1, characterized in that, The step of responding to the parsing of a valid sequence number message and sending an optical network unit (ONU) identifier allocation message to the ONU based on the valid sequence number message includes: In response to parsing the valid serial number message, determine the first power level used by the valid serial number message; According to the first power level, the optical network unit (ONU) sends an allocation ONU identifier message carrying the target power level to the ONU, wherein the allocation ONU identifier message is used to allocate an ONU identifier to the target ONU and indicate that the uplink power of the target ONU is the target power level, wherein the target ONU is the ONU that sent the valid sequence number message.
7. The method according to claim 6, characterized in that, The step of sending the allocated optical network unit identifier message carrying the target power level to the optical network unit according to the first power level includes: In response to the first power level being within a preset range, the target power level is determined to be the first power level, and an allocation optical network unit identification message carrying the first power level is sent to the optical network unit, wherein the allocation optical network unit identification message is used to instruct the target optical network unit to send a registration message using the first power level.
8. The method according to claim 6, characterized in that, The step of sending the allocated optical network unit identifier message carrying the target power level to the optical network unit according to the first power level includes: In response to the first power level being outside a preset range, the target power level is determined to be the second power level, and an allocation optical network unit identification message carrying the second power level is sent to the optical network unit, wherein the allocation optical network unit identification message is used to instruct the target optical network unit to send a registration message using the second power level, and the first power level is different from the second power level.
9. The method according to claim 7 or 8, characterized in that, After responding to the parsing of a valid sequence number message and sending an optical network unit (ONU) identifier allocation message to the ONU based on the valid sequence number message, the method further includes: Send a unicast ranging authorization message to the target optical network unit, wherein the unicast ranging authorization message is used to instruct the target optical network unit to send the registration message using the first power level or the second power level; The system receives the registration message sent by the target optical network unit and configures a balanced delay for the target optical network unit if the power level used in the registration message reaches a preset range.
10. The method according to claim 7 or 8, characterized in that, The method further includes: Send a bandwidth mapping (BWmap) message to the target optical network unit; Receive uplink data transmitted by the target optical network unit using the first power level or the second power level.
11. The method according to claim 1, characterized in that, Each of the one or more optical network units supports multiple power levels, wherein the difference between the power values corresponding to any two adjacent power levels is less than or equal to a preset value.
12. A method for activating an optical network unit, characterized in that, include: Receive the serial number authorization message sent by the optical line terminal; Adjust the uplink power according to the sequence number authorization message, and send the sequence number message with the adjusted uplink power; The optical line terminal receives an optical network unit (ONT) identifier message sent by the OLT, wherein the OLT is sent by the OLT in response to a valid sequence number message obtained through parsing; Register with the corresponding uplink power on the preset subcarrier channel according to the allocated optical network unit identification message.
13. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 12.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 12.
15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 12.