Bandwidth allocation method, optical line terminal, optical network unit, and storage medium
By allocating bandwidth entries in the OLT to solve the ONU registration latency problem, the uplink service data transmission latency in the passive optical network is reduced, meeting the needs of latency-sensitive services. The length of the bandwidth entry can be flexibly set according to the distance between the OLT and the ONU.
Patent Information
- Application Number
- CN202011184132.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-29
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2040-10-29
AI Technical Summary
In passive optical networks, the registration process of adding a new optical network unit (ONU) results in a large delay in uplink data transmission, which cannot meet the needs of latency-sensitive services.
The OLT divides the uplink bandwidth into several bandwidth entries. The time slot length corresponding to each bandwidth entry is not less than the duration of the minimum quiet window, and is determined based on the distance between the OLT and the ONU. The duration of the minimum quiet window is used for ONU registration and uplink service data transmission. The ONU selects the corresponding bandwidth entry according to its working status.
It reduces the uplink data transmission latency caused by the registration of new ONUs, meets the latency requirements of latency-sensitive services, and the bandwidth entry length can be flexibly set to adapt to ONUs at different distances.
Smart Images

Figure CN114430372B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to, but are not limited to, the field of communication technology, and particularly to a bandwidth allocation method, an optical line terminal, an optical network unit, and a computer-readable storage medium. Background Technology
[0002] Passive Optical Network (PON) is a point-to-multipoint network topology, mainly consisting of an Optical Line Terminal (OLT) located at the central office and multiple Optical Network Units (ONUs) located at the user end.
[0003] In a PON system, a new ONU needs to register at the OLT before it can send uplink service data to the OLT via the uplink channel. In related technologies, the OLT registers the new ONU by receiving its registration response message via the uplink channel through a fixed-length quiet window. However, during the OLT's registration process, the already registered ONU must wait for the fixed-length quiet window to expire before sending uplink service data. This results in significant latency in uplink data transmission, failing to meet the latency requirements of latency-sensitive services. Summary of the Invention
[0004] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.
[0005] This invention provides a bandwidth allocation method, an optical line terminal, an optical network unit, and a computer-readable storage medium, which can reduce the uplink service data transmission latency caused by registering new ONUs, thereby meeting the system latency requirements of latency-sensitive services.
[0006] In a first aspect, embodiments of the present invention provide a bandwidth allocation method applied to an OLT, the method comprising:
[0007] The uplink bandwidth is divided into several bandwidth entries, wherein the time slot length corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, and the duration of the minimum quiet window is determined according to the distance between the OLT and the optical network unit (ONU). One or more of the bandwidth entries are used for one of the following: registering the ONU, transmitting uplink service data sent by the ONU.
[0008] The aforementioned bandwidth entries are sent to the ONU so that the ONU can select the corresponding bandwidth entry based on its operating status.
[0009] Secondly, embodiments of the present invention also provide a bandwidth allocation method applied to an ONU, the method comprising:
[0010] Receive several bandwidth entries issued by the OLT, wherein the time slot length corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU, and one or more of the bandwidth entries are used for one of the following: registering the ONU, transmitting uplink service data sent by the ONU;
[0011] Select the corresponding bandwidth entry based on the operating status.
[0012] Thirdly, embodiments of the present invention also provide an optical line terminal, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the bandwidth allocation method described in the first aspect above.
[0013] Fourthly, embodiments of the present invention also provide an optical network unit, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the bandwidth allocation method described in the second aspect above.
[0014] Fifthly, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions for performing the bandwidth allocation method described above.
[0015] This invention includes the following embodiments: the OLT divides the uplink bandwidth into several bandwidth entries, wherein the time slot length corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU, and one or more bandwidth entries are used for one of the following: registering the ONU, transmitting uplink service data sent by the ONU; and distributing several bandwidth entries to the ONU so that the ONU can select the corresponding bandwidth entry according to its working status. According to the solution provided in the embodiments of the present invention, the uplink bandwidth is divided into several bandwidth entries, wherein the time slot length corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, and the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU. Furthermore, the bandwidth entries are used for ONU registration or for transmitting uplink service data sent by the ONU. Therefore, the ONU to be registered can initiate registration with the OLT using the time slot corresponding to the bandwidth entry used for registration, thus not affecting the transmission of uplink service data from already registered ONUs to the OLT, thereby reducing the transmission latency of uplink service data caused by registering new ONUs. In addition, since the time slot length corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, and the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU, the time slot length corresponding to the bandwidth entry can be flexibly set according to the distance between the OLT and the ONU. Therefore, compared with the fixed-duration quiet window used in related technologies, the waiting latency required when transmitting uplink service data can be effectively reduced, thereby meeting the system latency requirements of latency-sensitive services.
[0016] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the description, claims, and drawings. Attached Figure Description
[0017] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of the present invention to explain the technical solutions of the present invention, and do not constitute a limitation on the technical solutions of the present invention.
[0018] Figure 1 This is a schematic diagram of a system architecture for performing a bandwidth allocation method according to an embodiment of the present invention;
[0019] Figure 2 This is a flowchart of a bandwidth allocation method applied to an OLT according to an embodiment of the present invention;
[0020] Figure 3 This is a schematic diagram of the field structure of BWmap provided in a specific example of the present invention;
[0021] Figure 4 This is a flowchart of a bandwidth allocation method applied to an OLT provided in another embodiment of the present invention;
[0022] Figure 5 This is a flowchart of a bandwidth allocation method applied to an OLT provided in another embodiment of the present invention;
[0023] Figure 6 This is a flowchart of a bandwidth allocation method applied to an ONU provided in another embodiment of the present invention;
[0024] Figure 7 This is a flowchart of the registration operation initiated in a bandwidth allocation method applied to an ONU provided in another embodiment of the present invention;
[0025] Figure 8 This is a flowchart of a bandwidth allocation method applied to an ONU provided in another embodiment of the present invention;
[0026] Figure 9 This is a flowchart of a bandwidth allocation method provided in a specific example of the present invention;
[0027] Figure 10 This is a flowchart of a bandwidth allocation method that is compatible with older versions of ONUs, provided by another specific example of the present invention. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0029] It should be noted that although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0030] This invention provides a bandwidth allocation method, an optical line terminal (OLT), an optical network unit (ONU), and a computer-readable storage medium. The OLT divides the uplink bandwidth into several bandwidth entries, wherein the time slot length corresponding to each bandwidth entry is not less than the duration of the minimum quiet window, and the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU. Furthermore, the bandwidth entries are used for ONU registration or for transmitting uplink service data sent by the ONU. Then, the OLT sends these bandwidth entries to the ONU so that the ONU can select the corresponding bandwidth entry according to its working status. Therefore, the ONU to be registered can initiate registration with the OLT using the time slot corresponding to the bandwidth entry used for registration, thus not affecting the uplink service data sent by the already registered ONU to the OLT, thereby reducing the transmission latency of uplink service data caused by registering a new ONU. In addition, since the length of the time slot corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, and the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU, the length of the time slot corresponding to the bandwidth entry can be flexibly set according to the distance between the OLT and the ONU. Therefore, compared with the fixed-duration quiet window used in related technologies, it can effectively reduce the waiting latency required when sending uplink service data, thereby meeting the system latency requirements of latency-sensitive services.
[0031] The embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0032] like Figure 1 As shown, Figure 1 This is a schematic diagram of a system architecture for performing a bandwidth allocation method according to an embodiment of the present invention. Figure 1 In the example, the system architecture includes an OLT110 and multiple ONUs, including a first ONU120 to be registered, a second ONU130 to be registered, and a registered ONU140. The OLT110 is connected to the first ONU120 to be registered, the second ONU130 to be registered, and the registered ONU140, respectively.
[0033] exist Figure 1 In this process, the direction in which the OLT110 transmits service messages to multiple ONUs is the downlink transmission direction, and the service messages transmitted in this downlink transmission direction are downlink service messages; the direction in which multiple ONUs transmit service messages to the OLT110 is the uplink transmission direction, and the service messages transmitted in this uplink transmission direction are uplink service messages.
[0034] Downlink service messages are transmitted using a point-to-multipoint broadcast method. Downlink frame signals sent by the OLT110 are received by all ONUs connected to the OLT110. When an ONU receives a downlink frame signal, it can obtain its own frame signal based on the information carried in the downlink frame signal, such as the ONU identifier (ONU-ID), the port identifier of the Gigabit Passive Optical Network Encapsulation Method (GPON Encapsulation Method PortID, GEM-PortID), and the Allocation Identifier (Alloc-ID). Then, it sends uplink service messages in the time slot indicated by the frame signal.
[0035] The transmission of uplink service messages adopts a multi-point to point method, with each ONU sharing the transmission medium and each ONU transmitting uplink service messages within the time slot allocated by the OLT110.
[0036] The system architecture and application scenarios described in the embodiments of this invention are for the purpose of more clearly illustrating the technical solutions of the embodiments of this invention, and do not constitute a limitation on the technical solutions provided by the embodiments of this invention. As those skilled in the art will know, with the evolution of system architecture and the emergence of new application scenarios, the technical solutions provided by the embodiments of this invention are also applicable to similar technical problems.
[0037] It will be understood by those skilled in the art that Figure 1 The system architecture shown does not constitute a limitation on the embodiments of the present invention. It may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0038] Based on the above system architecture, various embodiments of the bandwidth allocation method of the present invention are proposed.
[0039] like Figure 2 As shown, Figure 2 This is a flowchart of a bandwidth allocation method provided in an embodiment of the present invention. The bandwidth allocation method is applied to an OLT and includes, but is not limited to, the following steps:
[0040] Step S110: Divide the uplink bandwidth into several bandwidth entries, wherein the time slot length corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, and the duration of the minimum quiet window is determined according to the distance between the OLT and the optical network unit ONU. One or more bandwidth entries are used for one of the following: registering the ONU, transmitting uplink service data sent by the ONU.
[0041] Step S120: Several bandwidth entries are sent to the ONU so that the ONU can select the corresponding bandwidth entry according to the working status.
[0042] In one embodiment, the distance between the OLT and the ONU can be obtained in advance, and then the duration of the minimum quiet window can be obtained based on the distance. Therefore, the time slot length corresponding to the bandwidth entry can be determined based on the duration of the minimum quiet window. On this basis, the OLT divides the uplink bandwidth into several bandwidth entries and sends these bandwidth entries to the ONU so that the ONU can select the corresponding bandwidth entry according to its working state. For example, when the ONU is in the working state of waiting to register, the ONU can select the corresponding bandwidth entry to initiate registration, and when the ONU is in the working state of transmitting services, the ONU can select the corresponding bandwidth entry to send uplink service data to the OLT. Since the ONU to be registered can initiate registration with the OLT using the time slot corresponding to the bandwidth entry used for registration, it will not affect the uplink service data sent by the already registered ONU to the OLT, thereby reducing the transmission latency of uplink service data caused by registering a new ONU. In addition, since the length of the time slot corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, and the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU, the length of the time slot corresponding to the bandwidth entry can be flexibly set according to the distance between the OLT and the ONU. Therefore, compared with the fixed-duration quiet window used by related technologies, it can effectively reduce the latency required to send uplink service data, thereby meeting the system latency requirements of latency-sensitive services.
[0043] In one embodiment, when the OLT sends several bandwidth entries to the ONU, it can do so by sending downlink frame signals. The downlink frame signal can be a GPON Transmission Convergence (GTC) frame. The GTC frame includes a synchronization field, a superframe indication field, a message processing field, a bit-interleaved parity check field, a downlink payload length field, a bandwidth allocation bitmap (BWmap), and a payload. The BWmap can carry multiple bandwidth fields, each corresponding to one of the aforementioned bandwidth entries. These bandwidth fields include a first bandwidth field and / or a second bandwidth field. It should be noted that the first bandwidth field indicates the time slot in which the OLT registers the ONU to be registered, and the second bandwidth field indicates the time slot in which the registered ONU sends uplink service data to the OLT.
[0044] like Figure 3The diagram illustrates a specific example of the field structure of a BWmap, which includes N allocation structures, where N is a natural number. It's worth noting that this allocation structure is the bandwidth entry in step S110 or the bandwidth field mentioned above. The allocation structure mainly includes a bandwidth allocation identifier (Alloc-ID) field, a flags field, a bandwidth start time field, a grantSize field, a burst profile field, and a header error correction (HEC) field. The flags field may include uplink physical layer operation, management, and maintenance (PLOAMu) flags and uplink dynamic bandwidth reporting (DBRu) flags.
[0045] In one embodiment, the Alloc-ID field can be used to indicate the recipient of the bandwidth allocation, such as a specific transmission container (Transmission CONT, T-CONT) within the ONU or an uplink ONU management and control channel.
[0046] The following example illustrates the function of the Alloc-ID field:
[0047] Assuming the Alloc-ID field in the current allocation structure (i.e., the current bandwidth entry) contains an ONU identifier or link identifier, indicating that the current allocation structure has been occupied by a registered ONU, then the current allocation structure is the second bandwidth field mentioned above (i.e., the current bandwidth entry is identified as allocated and can be used to transmit uplink service data sent by the ONU). The ONU identifier includes an ONU identifier (ONU-ID) or a Physical Link Identifier (PLID), and the link identifier includes a T-CONT or a User Link Identifier (PLID). Since the current bandwidth entry has been occupied by a registered ONU, the registered ONU can send uplink service data to the OLT within the time slot corresponding to the current bandwidth entry.
[0048] Assuming the Alloc-ID field in the current allocation structure (i.e., the current bandwidth entry) contains broadcast T-CONT, broadcast Logical Link Identifier (LLID), or specific configuration information, indicating that the current allocation structure has not yet been occupied by an ONU, the current allocation structure is the aforementioned first bandwidth field (i.e., the current bandwidth entry is identified as unallocated and can be used to initiate a registration operation with the OLT). Since the current bandwidth entry has not yet been occupied by an ONU, the ONU to be registered can initiate a registration operation with the OLT within the time slot corresponding to the current bandwidth entry.
[0049] In one embodiment, after the ONU to be registered randomly selects at least one first bandwidth field from the downlink frame signal, for example, randomly selecting at least one first bandwidth field from the BWmap carried by the downlink frame signal, the ONU to be registered can initiate a registration operation with the OLT within the time slot indicated by the selected first bandwidth field. For example, the ONU to be registered can send the SN immediately after receiving a registration request from the OLT, and send a ranging response immediately after receiving a ranging request from the OLT. Alternatively, the ONU to be registered can initiate a registration operation with the OLT at the start time of the time slot indicated by the selected first bandwidth field (i.e., the time parameter recorded in the StartTime field). In addition, the ONU to be registered can also delay the start time of the time slot indicated by the selected first bandwidth field for a certain period of time before initiating a registration operation with the OLT. This embodiment does not specifically limit this. In related technologies, after receiving the downlink frame signal sent by the OLT, the ONU to be registered needs to randomly delay for a period of time before responding and sending the Serial Number (SN) to the OLT. Therefore, it will lead to untimely registration processing of the ONU to be registered. In this embodiment, the ONU to be registered can initiate a registration operation with the OLT within the time slot indicated by the selected first bandwidth field, eliminating the original local random delay in related technologies and enabling timely registration, thereby reducing system latency.
[0050] In one embodiment, the size of the time slot indicated by the bandwidth field in the downlink frame signal can be implemented in different ways, and this embodiment does not specifically limit this. For example, the time slots indicated by each bandwidth field in the downlink frame signal are all equal, or the time slots indicated by at least one bandwidth field in the downlink frame signal are not equal to the time slots indicated by other bandwidth fields in the downlink frame signal.
[0051] With equal timeslots indicated by each bandwidth field, the OLT periodically sends downlink frame signals to multiple ONUs. Therefore, the OLT can allocate bandwidth to ONUs seeking registration for contention and ranging at regular intervals, reducing the latency for ONUs to obtain bandwidth for registration. Furthermore, with equal timeslots indicated by each bandwidth field, the total number of ONUs that the OLT can connect to is essentially fixed, for example, 16. During mobile backhaul or mobile fronthaul, the transmission distance between the OLT and ONUs is relatively short, such as 5 or 10 kilometers. Therefore, the transmission delay between the OLT and ONUs is controllable and can, to a certain extent, meet the requirements of low-latency services such as mobile backhaul and mobile fronthaul.
[0052] When the time slot indicated by at least one bandwidth field is not equal to the time slot indicated by other bandwidth fields, different time slots can be dynamically configured according to the actual situation, thereby meeting the latency requirements of different ONUs. For example, when the service transmission requirement between the OLT and the ONU is low latency, the ONU can choose the bandwidth field with a shorter indicated time slot length, or the OLT can dynamically adjust the time slot length indicated by the bandwidth field selected by the ONU according to the ONU's requirements.
[0053] In another embodiment, the bandwidth allocation method may include, but is not limited to, the following steps:
[0054] When all ONUs have completed registration, one or more bandwidth entries are divided into several bandwidth sub-entries. The time slot corresponding to each bandwidth sub-entry is less than or equal to the duration of the minimum quiet window. The bandwidth sub-entries are used to transmit uplink service data sent by the ONUs.
[0055] Assign the bandwidth sub-entry to the ONU.
[0056] In one embodiment, when all ONUs have completed registration, the OLT can divide one or more bandwidth entries into several bandwidth sub-entries according to the ONUs' usage requirements. The time slot corresponding to each bandwidth sub-entry is less than or equal to the duration of the minimum quiet window. The OLT then allocates the bandwidth sub-entry to the ONU, enabling the ONU to send uplink service data within the time slot corresponding to the bandwidth sub-entry. For example, if the amount of uplink service data sent by the ONU changes dynamically, the OLT can divide the one or more bandwidth entries selected by the ONU into several bandwidth sub-entries, allowing the ONU to send different uplink service data according to the time slots corresponding to different bandwidth sub-entries, thereby meeting the ONU's usage requirements.
[0057] It is worth noting that all bandwidth sub-entries obtained by dividing one or more bandwidth entries are marked as allocated, meaning that the bandwidth sub-entry is used to transmit uplink service data sent by the ONU.
[0058] In another embodiment, the OLT assigns bandwidth sub-entries to the ONU, which may include, but is not limited to, the following steps:
[0059] Assign bandwidth sub-entries within the same bandwidth entry to different ONUs.
[0060] In one embodiment, the OLT can divide one or more bandwidth entries corresponding to each ONU into several bandwidth sub-entries according to the usage requirements of each ONU, and allocate bandwidth sub-entries within the same bandwidth entry to different ONUs, thereby meeting the different usage requirements of each ONU. For example, if the amount of uplink service data sent by the first ONU is relatively large, while the amount of uplink service data sent by the second ONU is relatively small, one or more bandwidth entries selected by the second ONU can be divided into several bandwidth sub-entries. A portion of these bandwidth sub-entries can be reserved for the second ONU to ensure the normal transmission of its uplink service data, while the remaining bandwidth sub-entries can be allocated to the first ONU to ensure its normal transmission. It is worth noting that the OLT can also dynamically allocate different bandwidth sub-entries to different ONUs at different times, making appropriate selections based on actual usage. This embodiment does not impose specific limitations on this.
[0061] Additionally, in one embodiment, reference is made to Figure 4 After the OLT distributes several bandwidth entries to the ONU, the bandwidth allocation method may also include, but is not limited to, the following steps:
[0062] Step S130: Receive the SN sent by the ONU to be registered that has selected an unallocated bandwidth entry, wherein the ONU to be registered is the ONU that has selected an unallocated bandwidth entry, and the SN is sent by the ONU to be registered in the time slot corresponding to the selected bandwidth entry.
[0063] Step S140: Assign an ONU identifier to the ONU to be registered according to the SN, and send the ONU identifier to the ONU to be registered.
[0064] In one embodiment, after the OLT sends several bandwidth entries to multiple ONUs, the ONU to be registered will randomly select at least one bandwidth entry marked as unallocated from these bandwidth entries and initiate a registration operation with the OLT within the time slot corresponding to the selected unallocated bandwidth entry. At this time, the ONU to be registered will first send the SN corresponding to the ONU to the OLT within the time slot corresponding to the selected unallocated bandwidth entry. When the OLT receives the SN, it will allocate an ONU identifier to the ONU to be registered based on the SN and send the ONU identifier to the ONU to be registered, thereby completing the process of allocating the ONU identifier to the ONU to be registered. Since the ONU to be registered sends the SN within the time slot corresponding to the bandwidth entry selected by the ONU to be registered, it will not affect the transmission of uplink service data of the already registered ONUs. Therefore, it can reduce the transmission latency of uplink service data caused by registering a new ONU, thereby meeting the latency requirements of latency-sensitive services.
[0065] Additionally, in one embodiment, reference is made to Figure 5 After step S140, the bandwidth allocation method may also include, but is not limited to, the following steps:
[0066] Step S150: Send a ranging request message to the ONU to be registered;
[0067] Step S160: Receive ranging response information from the ONU to be registered based on the ranging request information. The ranging response information is sent by the ONU to be registered within the time slot corresponding to the selected bandwidth entry.
[0068] Step S170: Calculate the equalization delay (EqD) based on the ranging response information, and send the EqD to the ONU to be registered in order to complete the ranging operation of the ONU to be registered.
[0069] In one embodiment, after the OLT successfully assigns an ONU identifier to the ONU to be registered and sends the ONU identifier to the ONU, the OLT can send ranging request information to the ONU. When the ONU receives the ranging request information, it can send ranging response information back to the OLT based on the ranging request information. It is worth noting that the ONU sends the ranging response information back to the OLT within the time slot corresponding to the bandwidth entry it selected. When the OLT receives the ranging response information from the ONU, it calculates EqD based on the ranging response information and sends the EqD to the ONU, thereby allocating the time slot corresponding to the bandwidth entry selected by the ONU to the ONU or the T-CONT of the ONU to complete the ranging operation of the ONU. Since the ranging response information from the ONU to be registered is completed within the time slot corresponding to the bandwidth entry selected by the ONU to be registered, it will not affect the transmission of uplink service data of the registered ONU. Therefore, it can reduce the transmission latency of uplink service data caused by registering a new ONU, thereby meeting the latency requirements of latency-sensitive services.
[0070] In another embodiment, after completing the ranging operation for the ONU to be registered, the bandwidth allocation method may also include, but is not limited to, the following steps:
[0071] Update the identifier of the bandwidth entry selected by the ONU to be registered to "allocated".
[0072] In one embodiment, after the OLT completes the ranging operation for the ONU to be registered, it indicates that the OLT has completed the registration operation for that ONU. At this time, the OLT will allocate the time slot corresponding to the bandwidth entry selected by the ONU to either the ONU or its T-CONT, enabling the ONU to send uplink service data to the OLT within the time slot corresponding to its selected bandwidth entry. To avoid conflicts caused by other ONUs selecting the already selected bandwidth entry, the OLT will update the identifier of the bandwidth entry selected by the ONU to "allocated." At this point, the ONU becomes a registered ONU. Therefore, other ONUs cannot select the bandwidth entry selected by the ONU (which has now become a registered ONU), thus avoiding conflicts caused by other ONUs selecting the already selected bandwidth entry and ensuring system stability.
[0073] It is worth noting that, in addition to allocating the bandwidth entries selected by the ONU to be registered or its T-CONT, the OLT can also dynamically allocate other unallocated bandwidth entries to the ONU to meet its application needs. For example, the OLT can allocate at least one unallocated bandwidth entry (other than the one selected by the ONU) to the ONU and update its identifier to "allocated," avoiding conflicts caused by other ONUs selecting already allocated bandwidth entries and ensuring system stability. It is also worth noting that the OLT's actions of updating the identifier of the selected bandwidth entry to "allocated" after completing the ranging operation for the ONU, and the OLT's actions of allocating at least one unallocated bandwidth entry (other than the one selected by the ONU) to the ONU and updating its identifier to "allocated," are parallel technical solutions.
[0074] In addition, such as Figure 6 As shown, Figure 6 This is a flowchart of a bandwidth allocation method provided in another embodiment of the present invention. This bandwidth allocation method is applied to an ONU and includes, but is not limited to, the following steps:
[0075] Step S210: Receive several bandwidth entries issued by the OLT, wherein the time slot length corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, and the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU. One or more bandwidth entries are used for one of the following: registering the ONU, transmitting uplink service data sent by the ONU.
[0076] Step S220: Select the corresponding bandwidth entry according to the working status.
[0077] In one embodiment, the time slot length corresponding to the bandwidth entry sent by the OLT and received by the ONU can be preset by the OLT. For example, the OLT can obtain the distance between the OLT and the ONU in advance, and then obtain the duration of the minimum quiet window based on the distance. Then, the time slot length corresponding to the bandwidth entry can be determined based on the duration of the minimum quiet window. After the ONU receives several bandwidth entries sent by the OLT, the ONU can select the corresponding bandwidth entry according to its working state. For example, when the ONU is in the pending registration working state, the ONU can select the corresponding bandwidth entry to initiate registration, and when the ONU is in the transmission service working state, the ONU can select the corresponding bandwidth entry to send uplink service data to the OLT. Since the ONU to be registered can initiate registration with the OLT using the time slot corresponding to the bandwidth entry used for registration, it will not affect the uplink service data sent by the already registered ONU to the OLT, thereby reducing the transmission latency of uplink service data caused by registering a new ONU. In addition, since the length of the time slot corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, and the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU, the length of the time slot corresponding to the bandwidth entry can be flexibly set according to the distance between the OLT and the ONU. Therefore, compared with the fixed-duration quiet window used by related technologies, it can effectively reduce the latency required to send uplink service data, thereby meeting the system latency requirements of latency-sensitive services.
[0078] In one embodiment, the bandwidth entry received by the ONU from the OLT can be carried by the OLT through the transmission of downlink frame signals. The downlink frame signal can be a GTC frame. The GTC frame includes a synchronization field, a superframe indication field, a message processing field, a bit interleaving parity check field, a downlink payload length field, a BWmap, and a payload. The BWmap can carry multiple bandwidth fields corresponding to the aforementioned bandwidth entries, including a first bandwidth field and / or a second bandwidth field. It should be noted that the first bandwidth field indicates the time slot in which the OLT registers the ONU to be registered, and the second bandwidth field indicates the time slot in which the registered ONU sends uplink service data to the OLT.
[0079] In one embodiment, the field structure of BWmap in the first downlink frame signal and the meaning and function of each field are as follows: Figure 3 The field structure and meaning of each field in the BWmap shown in the embodiments are the same. The field structure and meaning of each field in this embodiment can be found in the following example. Figure 3 The field structure of BWmap in the illustrated embodiment and the meaning and function of each field will not be elaborated here.
[0080] In one embodiment, after the ONU to be registered randomly selects at least one first bandwidth field from the downlink frame signal, for example, randomly selecting at least one first bandwidth field from the BWmap carried by the downlink frame signal, the ONU to be registered can initiate a registration operation with the OLT within the time slot indicated by the selected first bandwidth field. For example, the ONU to be registered can send an SN immediately after receiving a registration request from the OLT, and send a ranging response immediately after receiving a ranging request from the OLT. Alternatively, the ONU to be registered can initiate a registration operation with the OLT at the start time of the time slot indicated by the selected first bandwidth field (i.e., the time parameter recorded in the StartTime field). In addition, the ONU to be registered can also delay the start time of the time slot indicated by the selected first bandwidth field for a certain period of time before initiating a registration operation with the OLT. This embodiment does not specifically limit this. In related technologies, after receiving the downlink frame signal sent by the OLT, the ONU to be registered needs to randomly delay for a period of time before responding and sending an SN to the OLT. Therefore, it will lead to untimely registration processing of the ONU to be registered. In this embodiment, the ONU to be registered can initiate a registration operation with the OLT within the time slot indicated by the selected first bandwidth field, eliminating the original local random delay in related technologies and enabling timely registration, thereby reducing system latency.
[0081] In one embodiment, the size of the time slot indicated by the bandwidth field in the downlink frame signal can be implemented in different ways, and this embodiment does not specifically limit this. For example, the time slots indicated by each bandwidth field in the downlink frame signal are all equal, or the time slots indicated by at least one bandwidth field in the downlink frame signal are not equal to the time slots indicated by other bandwidth fields in the downlink frame signal.
[0082] With equal timeslots indicated by each bandwidth field, the OLT periodically sends downlink frame signals to multiple ONUs. Therefore, the OLT can allocate bandwidth to ONUs seeking registration for contention and ranging at regular intervals, reducing the latency for ONUs to obtain bandwidth for registration. Furthermore, with equal timeslots indicated by each bandwidth field, the total number of ONUs that the OLT can connect to is essentially fixed, for example, 16. During mobile backhaul or mobile fronthaul, the transmission distance between the OLT and ONUs is relatively short, such as 5 or 10 kilometers. Therefore, the transmission delay between the OLT and ONUs is controllable and can, to a certain extent, meet the requirements of low-latency services such as mobile backhaul and mobile fronthaul.
[0083] When the time slot indicated by at least one bandwidth field is not equal to the time slot indicated by other bandwidth fields, different time slots can be dynamically configured according to the actual situation, thereby meeting the latency requirements of different ONUs. For example, when the service transmission requirement between the OLT and the ONU is low latency, the ONU can choose the bandwidth field with a shorter indicated time slot length, or the OLT can dynamically adjust the time slot length indicated by the bandwidth field selected by the ONU according to the ONU's requirements.
[0084] In another embodiment, the bandwidth allocation method may include, but is not limited to, the following steps:
[0085] Receive bandwidth sub-entries allocated by the OLT, wherein the bandwidth sub-entries are obtained by the OLT by dividing one or more bandwidth entries when all ONUs have completed registration, and the time slot corresponding to the bandwidth sub-entry is less than or equal to the duration of the minimum quiet window;
[0086] Send uplink service data to the OLT within the time slot corresponding to the bandwidth sub-entry.
[0087] In one embodiment, when all ONUs have completed registration, the OLT can divide one or more bandwidth entries into several bandwidth sub-entries according to the ONUs' usage requirements. The time slot corresponding to each bandwidth sub-entry is less than or equal to the duration of the minimum quiet window. When an ONU receives a bandwidth sub-entry allocated by the OLT, it can send uplink service data to the OLT within the time slot corresponding to that sub-entry. It is worth noting that the OLT can divide the one or more bandwidth entries selected by the ONU into several bandwidth sub-entries based on the ONU's actual application. For example, if the amount of uplink service data sent by the ONU changes dynamically, the OLT can divide the one or more bandwidth entries selected by the ONU into several bandwidth sub-entries, allowing the ONU to send different uplink service data according to the time slots corresponding to different bandwidth sub-entries, thereby meeting the ONU's usage requirements.
[0088] It is worth noting that all bandwidth sub-entries obtained by dividing one or more bandwidth entries are marked as allocated, meaning that the bandwidth sub-entry is used to transmit uplink service data sent by the ONU.
[0089] In another embodiment, when the ONU's operating state is the registration state, i.e., when the ONU is a pending registration ONU, the pending registration ONU will select one or more bandwidth entries marked as unallocated from a plurality of bandwidth entries. After the pending registration ONU selects one or more bandwidth entries marked as unallocated from the plurality of bandwidth entries, it refers to... Figure 7 The bandwidth allocation method may also include, but is not limited to, the following steps:
[0090] Step S221: Send SN to OLT within the time slot corresponding to the selected bandwidth entry;
[0091] Step S222: Receive the ONU identifier assigned by the OLT based on the SN from the OLT.
[0092] In one embodiment, when the ONU to be registered randomly selects at least one unallocated bandwidth entry from a plurality of bandwidth entries, the ONU to be registered first sends the SN corresponding to the ONU to the OLT within the time slot corresponding to the selected bandwidth entry. Upon receiving the SN, the OLT allocates an ONU identifier to the ONU to be registered based on the SN and sends the ONU identifier to the ONU to be registered, thereby completing the process of allocating the ONU identifier to the ONU to be registered. Since the ONU to be registered sends the SN to the OLT within the time slot corresponding to the selected bandwidth entry, it does not affect the transmission of uplink service data of already registered ONUs. Therefore, it can reduce the transmission latency of uplink service data caused by registering a new ONU, thereby meeting the latency requirements of latency-sensitive services.
[0093] Additionally, in one embodiment, reference is made to Figure 8 After step S222, the bandwidth allocation method may also include, but is not limited to, the following steps:
[0094] Step S230: Receive ranging request information sent by the OLT;
[0095] Step S240: Within the time slot corresponding to the selected bandwidth entry, feed back ranging response information to the OLT based on the ranging request information;
[0096] Step S250: Receive EqD from OLT, which is calculated by OLT based on the ranging response information, to complete the ranging operation initiated by OLT.
[0097] In one embodiment, when the OLT successfully assigns an ONU identifier to the ONU to be registered, and the ONU to be registered receives the ONU identifier sent by the OLT, the OLT can send ranging request information to the ONU to be registered. When the ONU to be registered receives the ranging request information from the OLT, it can send ranging response information back to the OLT in the time slot corresponding to the bandwidth entry it selected, based on the ranging request information. When the OLT receives the ranging response information from the ONU to be registered, the OLT calculates EqD based on the ranging response information and sends the EqD to the ONU to be registered. When the ONU to be registered receives the EqD, the ranging operation for the ONU to be registered is completed. At this time, the OLT will allocate the time slot corresponding to the bandwidth entry selected by the ONU to the ONU to be registered or the T-CONT of the ONU to be registered. Since the ranging response information from the ONU to be registered is completed within the time slot corresponding to the bandwidth entry selected by the ONU to be registered, it will not affect the transmission of uplink service data of the registered ONU. Therefore, it can reduce the transmission latency of uplink service data caused by registering a new ONU, thereby meeting the latency requirements of latency-sensitive services.
[0098] In another embodiment, when the ONU is in service transmission mode, i.e., when the ONU is a registered ONU, the registered ONU selects the bandwidth entry corresponding to the ONU identifier allocated by the OLT from a number of bandwidth entries. After the ONU to be registered selects the bandwidth entry corresponding to the ONU identifier allocated by the OLT from a number of bandwidth entries, the bandwidth allocation method may also include, but is not limited to, the following steps:
[0099] Send uplink service data to the OLT within the time slot corresponding to the selected bandwidth entry corresponding to the ONU identifier.
[0100] In one embodiment, after a pending ONU successfully registers, it becomes a registered ONU, and the bandwidth entry selected by the pending ONU is marked as allocated. When the registered ONU receives several bandwidth entries sent by the OLT, it can determine the allocated bandwidth entry from these bandwidth entries based on the ONU identifier allocated by the OLT, and send uplink service data to the OLT within the time slot corresponding to the determined bandwidth entry to conduct data communication with the OLT. Since the OLT updates the identifier of the bandwidth entry selected by the pending ONU to allocated, other pending ONUs cannot select the bandwidth entry selected by the pending ONU (which has now become a registered ONU). Therefore, conflicts caused by other pending ONUs selecting the already selected bandwidth entry can be avoided, thus ensuring system stability.
[0101] It is worth noting that, in addition to allocating the time slot corresponding to the bandwidth entry selected by the ONU to be registered or its T-CONT, the OLT can also dynamically allocate other unallocated bandwidth entries to the ONU to meet its application needs, based on the ONU's actual application requirements. This embodiment does not impose specific limitations on this. For example, the OLT can allocate at least one unallocated bandwidth entry (other than the bandwidth entry selected by the ONU) to the ONU and update the identifier of these bandwidth entries to "allocated," avoiding conflicts caused by other ONUs selecting the already allocated bandwidth entry, thereby ensuring system stability.
[0102] To more clearly illustrate the specific steps and flow of the bandwidth allocation method in the above embodiments, specific examples are provided below.
[0103] Example 1:
[0104] Assuming a scenario with 10 ONUs and a distance of 1 kilometer, the device response time variation is 2µs, the round-trip time is 10µs, and the minimum quiet window time is 12µs, the BWmap carried in the downlink frame signal can be divided into 10 parts. That is, the BWmap includes 10 bandwidth fields (i.e., bandwidth entries), each indicating a time slot length of 12.5µs. The OLT first initializes these bandwidth fields to an unallocated state. For example, it sets the allocation information subfield (i.e., the Alloc-ID field) within the bandwidth field to a special identifier value, such as broadcast T-CONT, broadcast LLID, or specific configuration information; that is, it sets these bandwidth fields to the aforementioned first bandwidth fields. Next, the OLT distributes the BWmap containing these first bandwidth fields to each ONU. The ONUs waiting to register can randomly select at least one of these first bandwidth fields and send their own SN to the OLT. If the ONU does not receive a response from the OLT, it waits for a certain period and then randomly selects at least one of these first bandwidth fields again and sends its own SN to the OLT again. If the OLT correctly obtains the SN of a candidate ONU, it will complete the subsequent activation process (including ONU identifier allocation, ranging, and EqD allocation) for the candidate ONU within the time slot indicated by the first bandwidth field selected by the candidate ONU. After the candidate ONU is activated, the OLT allocates the first bandwidth field selected by the candidate ONU to the candidate ONU, wherein the allocation information subfield (i.e., the Alloc-ID field) in the first bandwidth field is set to the ONU identifier corresponding to the candidate ONU.
[0105] It's worth noting that in shorter distances, such as within a home, the fiber optic distance won't exceed 100 meters, so the quiet window can range from 1µs to 3µs. By accommodating the quiet window, the uplink bandwidth can be divided more finely, allowing more bandwidth fields to be allocated to the ONU.
[0106] Example 2:
[0107] like Figure 9 As shown, Figure 9 This is a flowchart of a bandwidth allocation method provided by an example of the present invention. The specific process is as follows:
[0108] In step S301, the OLT sets 10 bandwidth fields (i.e., bandwidth entries) in the BWmap, with each bandwidth field indicating a time slot length of 12.5us. The OLT sends the BWmap carrying these bandwidth fields to the ONU. These bandwidth fields are all initialized to an unallocated state. For example, these bandwidth fields are all set to the first bandwidth field mentioned above. The allocation information subfield (i.e., the Alloc-ID field) in these first bandwidth fields is set to broadcast T-CONT (for example, in the XG-PON system or XGS-PON system, the value of broadcast T-CONT is 1023).
[0109] Step S302: The ONU to be registered obtains the BWmap sent by the OLT and parses the first bandwidth field carried by the BWmap. It randomly selects a first bandwidth field and sends the SN directly to the OLT at the start time of the time slot indicated by the first bandwidth field without going through a random delay.
[0110] In step S303, after receiving the SN sent by the ONU to be registered, the OLT assigns an ONU identifier to the ONU to be registered and sends ranging request information to the ONU to be registered in the time slot indicated by the first bandwidth field.
[0111] Step S304: The ONU to be registered receives the ONU identifier and responds to the ranging request information, and directly sends the ranging response information to the OLT at the start time of the time slot indicated by the first bandwidth field.
[0112] In step S305, the OLT receives the ranging response information, calculates EqD, sends EqD to the ONU to be registered, and assigns the first bandwidth field to the ONU to be registered or the T-CONT of the ONU to be registered;
[0113] In step S306, the OLT updates the BWmap and continues to send the updated BWmap to the ONUs to be registered.
[0114] Example 3:
[0115] like Figure 10 As shown, Figure 10 This is a flowchart illustrating a bandwidth allocation method compatible with older versions of ONUs, provided by another example of the present invention. The process is as follows:
[0116] In step S401, the OLT sets 10 bandwidth fields (i.e., bandwidth entries) in the BWmap. Each bandwidth field indicates a time slot length of 12.5µs. These bandwidth fields are all initialized to an unallocated state. For example, these bandwidth fields are all set to the first bandwidth field mentioned above. The OLT sets one of the first bandwidth fields to a quiet window and sets SN grant information in the first bandwidth field corresponding to the quiet window. The OLT sends the other first bandwidth fields except the first bandwidth field corresponding to the quiet window, as well as the SN grant information, to the ONU through the BWmap. The allocation information subfield (i.e., Alloc-ID field) in these first bandwidth fields is set to broadcast T-CONT (for example, in the XG-PON system or XGS-PON system, the value of broadcast T-CONT is 1023).
[0117] In step S402, the old version ONU to be registered obtains the BWmap sent by the OLT and parses the information carried by the BWmap. After the old version ONU to be registered obtains the SN grant information, the old version ONU to be registered directly sends the SN to the OLT without random delay.
[0118] In step S403, after the OLT receives the SN sent by the old version ONU to be registered, it assigns an ONU identifier to the old version ONU to be registered and sends ranging request information to the old version ONU to be registered in the time slot indicated by the first bandwidth field corresponding to the quiet window.
[0119] In step S404, the old version ONU to be registered receives the ONU identifier and responds to the ranging request information, and directly sends the ranging response information to the OLT at the start time of the time slot indicated by the first bandwidth field corresponding to the quiet window.
[0120] In step S405, the OLT receives the ranging response information, calculates EqD, sends EqD to the old version ONU to be registered, and assigns the first bandwidth field to the old version ONU to be registered or the T-CONT of the old version ONU to be registered;
[0121] In step S406, the OLT updates the BWmap and continues to send the updated BWmap to older versions of ONUs that are to be registered.
[0122] In addition, one embodiment of the present invention provides an optical line terminal, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.
[0123] The processor and memory can be connected via a bus or other means.
[0124] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0125] It should be noted that the optical line terminal in this embodiment can be applied as follows: Figure 1 The OLT110 in the system architecture of the illustrated embodiment, the optical line terminal and such in this embodiment Figure 1 The OLT110 in the system architecture of the illustrated embodiments has the same inventive concept, so these embodiments have the same implementation principle and technical effect, which will not be described in detail here.
[0126] The non-transient software program and instructions required to implement the bandwidth allocation method of the above embodiments are stored in memory. When executed by a processor, the bandwidth allocation method in the above embodiments is executed, for example, the method described above is executed. Figure 2 Method steps S110 to S120, Figure 4 Method steps S130 to S140 in the text Figure 5 Method steps S150 to S170.
[0127] In addition, one embodiment of the present invention provides an optical network unit, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.
[0128] The processor and memory can be connected via a bus or other means.
[0129] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0130] It should be noted that the optical network unit in this embodiment can be applied as follows: Figure 1 The system architecture shown in the embodiment includes a first ONU120 to be registered or a second ONU130 to be registered. The optical network unit in this embodiment and... Figure 1 The first ONU120 and the second ONU130 to be registered in the system architecture of the illustrated embodiment have the same inventive concept. Therefore, these embodiments have the same implementation principle and technical effect, which will not be described in detail here.
[0131] The non-transient software program and instructions required to implement the bandwidth allocation method of the above embodiments are stored in memory. When executed by a processor, the bandwidth allocation method in the above embodiments is executed, for example, the method described above is executed. Figure 6 Method steps S210 to S220, Figure 7 Method steps S221 to S222, Figure 8 Method steps S230 to S250.
[0132] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0133] Furthermore, one embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions that are executed by a processor or controller, for example, by a processor in the above-described optical line terminal embodiment, causing the processor to perform the bandwidth allocation method in the above-described embodiments, for example, performing the above-described... Figure 2 Method steps S110 to S120, Figure 4 Method steps S130 to S140 in the text Figure 5The method steps S150 to S170 are described above. Alternatively, they can be executed by a processor in the above-described optical network unit embodiment, causing the processor to perform the bandwidth allocation method in the above-described embodiment, for example, performing the method described above. Figure 6 Method steps S210 to S220, Figure 7 Method steps S221 to S222, Figure 8 Method steps S230 to S250.
[0134] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0135] The above is a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of the present invention.
Claims
1. A bandwidth allocation method applied to an optical line terminal (OLT), the method comprising: The uplink bandwidth is divided into several bandwidth entries, wherein the time slot length corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, the time slot length corresponding to the bandwidth entry is set according to the distance between the OLT and each ONU, and the duration of the minimum quiet window is determined according to the distance between the OLT and the optical network unit ONU. One or more of the bandwidth entries are used for one of the following: registering the ONU, transmitting uplink service data sent by the ONU. The aforementioned bandwidth entries are sent to the ONU so that the ONU can select the corresponding bandwidth entry based on its operating status.
2. The bandwidth allocation method according to claim 1, characterized in that, One or more of the bandwidth entries are identified by one of the following attributes: unallocated, allocated; Wherein, "unallocated" means that the bandwidth entry is used for registering the ONU; "allocated" means that the bandwidth entry is used for transmitting uplink service data sent by the ONU.
3. The bandwidth allocation method according to claim 1 or 2, characterized in that, Also includes: When all ONUs have completed registration, one or more bandwidth entries are divided into several bandwidth sub-entries, wherein the time slot corresponding to the bandwidth sub-entry is less than or equal to the duration of the minimum quiet window, and the bandwidth sub-entry is used to transmit uplink service data sent by the ONUs; The bandwidth sub-entry is assigned to the ONU.
4. The bandwidth allocation method according to claim 3, characterized in that, The process of assigning the bandwidth sub-entry to the ONU includes: Assign bandwidth sub-entries within the same bandwidth entry to different ONUs.
5. The bandwidth allocation method according to claim 2, characterized in that, After sending the aforementioned bandwidth entries to the ONU, the process also includes: Receive a sequence number SN sent by an ONU to be registered that has selected an unallocated bandwidth entry, wherein the ONU to be registered is an ONU that has selected an unallocated bandwidth entry, and the SN is sent by the ONU to be registered in the time slot corresponding to the selected bandwidth entry; The ONU identifier is assigned to the ONU to be registered according to the SN, and the ONU identifier is sent to the ONU to be registered.
6. The bandwidth allocation method according to claim 5, characterized in that, After sending the ONU identifier to the ONU to be registered, the process also includes: Send a ranging request message to the ONU to be registered; Receive ranging response information fed back by the ONU to be registered based on the ranging request information, the ranging response information being sent by the ONU to be registered within the time slot corresponding to the selected bandwidth entry; The equalization delay EqD is calculated based on the ranging response information, and the EqD is sent to the ONU to be registered to complete the ranging operation on the ONU.
7. The bandwidth allocation method according to claim 6, characterized in that, After completing the ranging operation on the ONU to be registered, the process also includes: Update the identifier of the bandwidth entry selected by the ONU to be registered to "allocated".
8. The bandwidth allocation method according to claim 6, characterized in that, After completing the ranging operation on the ONU to be registered, the process also includes: At least one bandwidth entry marked as unassigned, other than the bandwidth entry selected by the ONU to be registered, is assigned to the ONU to be registered, and the identifier of the at least one bandwidth entry marked as unassigned, other than the bandwidth entry selected by the ONU to be registered, is updated to be assigned.
9. A bandwidth allocation method applied to an ONU, the method comprising: The system receives several bandwidth entries issued by the OLT, wherein the time slot length corresponding to the bandwidth entry is not less than the duration of the minimum quiet window, the time slot length corresponding to the bandwidth entry is set according to the distance between the OLT and each ONU, and the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU. One or more of the bandwidth entries are used for one of the following: registering the ONU, transmitting uplink service data sent by the ONU. Select the corresponding bandwidth entry based on the operating status.
10. The bandwidth allocation method according to claim 9, characterized in that, One or more of the bandwidth entries are identified by one of the following attributes: unallocated, allocated; Wherein, "unallocated" means that the bandwidth entry is used for registering the ONU; "allocated" means that the bandwidth entry is used for transmitting uplink service data sent by the ONU.
11. The bandwidth allocation method according to claim 9 or 10, characterized in that, Also includes: Receive bandwidth sub-entries allocated by the OLT, wherein the bandwidth sub-entries are obtained by the OLT by dividing one or more bandwidth entries when all ONUs have completed registration, and the time slot corresponding to the bandwidth sub-entry is less than or equal to the duration of the minimum quiet window; Uplink service data is sent to the OLT within the time slot corresponding to the bandwidth sub-entry.
12. The bandwidth allocation method according to claim 10, characterized in that, When the working status is the registration status, the step of selecting the corresponding bandwidth entry according to the working status includes: Select one or more bandwidth entries identified as unallocated from the plurality of bandwidth entries; After selecting one or more bandwidth entries marked as unallocated from the plurality of bandwidth entries, the bandwidth allocation method further includes: Send the SN to the OLT within the time slot corresponding to the selected bandwidth entry; Receive the ONU identifier assigned by the OLT based on the SN from the OLT.
13. The bandwidth allocation method according to claim 12, characterized in that, After receiving the ONU identifier assigned by the OLT based on the SN from the OLT, the process also includes: Receive ranging request information sent by the OLT; Within the time slot corresponding to the selected bandwidth entry, ranging response information is fed back to the OLT according to the ranging request information; Receive EqD from the OLT, which is calculated by the OLT based on the ranging response information, to complete the ranging operation initiated by the OLT.
14. The bandwidth allocation method according to claim 12, characterized in that, When the operating state is a service transmission state, the step of selecting the corresponding bandwidth entry based on the operating state includes: Select the bandwidth entry corresponding to the ONU identifier from the plurality of bandwidth entries based on the ONU identifier; After selecting the bandwidth entry corresponding to the ONU identifier from the plurality of bandwidth entries based on the ONU identifier, the bandwidth allocation method further includes: Uplink service data is sent to the OLT within the time slot corresponding to the selected bandwidth entry corresponding to the ONU identifier.
15. An optical line terminal, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the bandwidth allocation method as described in any one of claims 1 to 8.
16. An optical network unit, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the bandwidth allocation method as described in any one of claims 9 to 14.
17. A computer-readable storage medium storing computer-executable instructions for performing the bandwidth allocation method according to any one of claims 1 to 8, or for performing the bandwidth allocation method according to any one of claims 9 to 14.
Citation Information
Patent Citations
Passive optical network system, optical line terminal and optical network unit
CN109314569A
Data communication system, optical line terminal, and baseband unit
CN110073613A
Bandwidth allocation method, apparatus and system
WO2019042457A1