CN114430372A - Bandwidth allocation method, optical line terminal, optical network unit and storage medium - Google Patents

Bandwidth allocation method, optical line terminal, optical network unit and storage medium Download PDF

Info

Publication number
CN114430372A
CN114430372A CN202011184132.6A CN202011184132A CN114430372A CN 114430372 A CN114430372 A CN 114430372A CN 202011184132 A CN202011184132 A CN 202011184132A CN 114430372 A CN114430372 A CN 114430372A
Authority
CN
China
Prior art keywords
bandwidth
onu
registered
olt
entries
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011184132.6A
Other languages
Chinese (zh)
Inventor
张伟良
李明生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing ZTE New Software Co Ltd
Original Assignee
Nanjing ZTE New Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN202011184132.6A priority Critical patent/CN114430372A/en
Priority to PCT/CN2021/123109 priority patent/WO2022089186A1/en
Publication of CN114430372A publication Critical patent/CN114430372A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a bandwidth allocation method, an optical line terminal, an optical network unit and a storage medium. The bandwidth allocation method comprises the following steps: dividing the upstream bandwidth into a plurality of bandwidth entries, wherein the length of a time slot corresponding to each bandwidth entry is not less than the duration of a 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 and transmitting uplink service data sent by the ONU; and issuing the bandwidth items to the ONU so that the ONU selects the corresponding bandwidth items according to the working state. In the embodiment of the invention, the ONU can initiate registration by using the time slot corresponding to the bandwidth entry for registration, and 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, so that the waiting time delay when the uplink service data is sent can be effectively reduced, and the requirement of time delay sensitive service on system time delay can be met.

Description

Bandwidth allocation method, optical line terminal, optical network unit and storage medium
Technical Field
The present invention relates to, but not limited to, the field of communications technologies, and in particular, to a bandwidth allocation method, an optical line terminal, an optical network unit, and a computer-readable storage medium.
Background
A Passive Optical Network (PON) is a point-to-multipoint Network topology, and mainly includes an Optical Line Terminal (OLT) located in a central office and a plurality of Optical Network Units (ONUs) located at a user end.
In the PON system, a newly added ONU needs to complete registration at the OLT, and then sends uplink service data to the OLT through an uplink channel. In the related art, the OLT receives a registration response message sent by the newly added ONU through the uplink channel by opening a quiet window of a fixed duration to register the newly added ONU. In the process that the OLT registers the newly added ONU, the registered ONU needs to wait for the quiet window with a fixed duration to end before sending the uplink service data, which causes that the sending of the uplink service data has a large time delay and cannot meet the requirement of the time delay sensitive service on system time delay.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a bandwidth allocation method, an optical line terminal, an optical network unit and a computer readable storage medium, which can reduce the sending delay of uplink service data caused by registering a newly added ONU, thereby meeting the requirement of delay sensitive service on system delay.
In a first aspect, an embodiment of the present invention provides a bandwidth allocation method, which is applied to an OLT, and the method includes:
dividing an upstream bandwidth into a plurality of bandwidth entries, wherein the length of a time slot corresponding to each bandwidth entry is not less than the duration of a minimum quiet window, the duration of the minimum quiet window is determined according to the distance between an OLT and an optical network unit ONU, and one or more bandwidth entries are used for one of the following: registering the ONU and transmitting uplink service data sent by the ONU;
and issuing the bandwidth items to the ONU so that the ONU selects the corresponding bandwidth items according to the working state.
In a second aspect, an embodiment of the present invention further provides a bandwidth allocation method, which is applied to an ONU, and the method includes:
receiving a plurality of bandwidth entries issued by an OLT, wherein the length of a time slot corresponding to each bandwidth entry is not less than the duration of a 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 and transmitting uplink service data sent by the ONU;
and selecting the corresponding bandwidth items according to the working state.
In a third aspect, an embodiment of the present invention further provides an optical line terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the bandwidth allocation method as described above in the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides an optical network unit, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the bandwidth allocation method as described above in the second aspect when executing the computer program.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions for executing the bandwidth allocation method described above.
The embodiment of the invention comprises the following steps: the OLT divides the upstream bandwidth into a plurality of bandwidth entries, wherein the length of a time slot corresponding to each bandwidth entry is not less than the duration of a 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 and transmitting uplink service data sent by the ONU; and issuing the bandwidth items to the ONU so that the ONU selects the corresponding bandwidth items according to the working state. According to the scheme provided by the embodiment of the invention, the uplink bandwidth is divided into a plurality of bandwidth entries, wherein the length of the time slot 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 the bandwidth entry is used for registering the ONU or transmitting the uplink service data transmitted by the ONU, so that the ONU to be registered can initiate registration to the OLT by using the time slot corresponding to the bandwidth entry for registration, thereby not influencing the transmission of the uplink service data to the OLT by the registered ONU, and reducing the transmission delay of the uplink service data caused by registering the newly added ONU; in addition, because 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, so that compared with the quiet window with fixed time length adopted in the related art, the time delay required to wait when sending the uplink service data can be effectively reduced, and thus the requirement of the delay sensitive service on the system delay can be met.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a schematic diagram of a system architecture for performing a bandwidth allocation method according to an embodiment of the present invention;
fig. 2 is a flowchart of a bandwidth allocation method applied to an OLT according to an embodiment of the present invention;
fig. 3 is a diagram illustrating a field structure of BWmap according to a specific example of the present invention;
fig. 4 is a flowchart of a bandwidth allocation method applied to an OLT according to another embodiment of the present invention;
fig. 5 is a flowchart of a bandwidth allocation method applied to an OLT according to another embodiment of the present invention;
fig. 6 is a flowchart of a bandwidth allocation method applied to an ONU according to another embodiment of the present invention;
fig. 7 is a flowchart of initiating a registration operation in a bandwidth allocation method applied to an ONU according to another embodiment of the present invention;
fig. 8 is a flowchart of a bandwidth allocation method applied to an ONU according to another embodiment of the present invention;
fig. 9 is a flowchart of a bandwidth allocation method according to a specific example of the present invention;
fig. 10 is a flowchart of a bandwidth allocation method for an ONU capable of being compatible with an old version according to another specific example of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that although functional blocks are partitioned in a schematic diagram of an apparatus and a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the partitioning of blocks in the apparatus or the order in the flowchart. The terms first, second and the like in the description and in the claims, and the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The invention provides a bandwidth allocation method, an optical line terminal, an optical network unit and a computer readable storage medium, wherein an OLT divides an uplink bandwidth into a plurality of bandwidth entries, the time slot length corresponding to the bandwidth entries is not less than the duration of a minimum quiet window, the duration of the minimum quiet window is determined according to the distance between the OLT and the ONU, and the bandwidth entries are used for registering the ONU or transmitting uplink service data sent by the ONU; and then, the OLT issues the bandwidth items to the ONU so that the ONU selects the corresponding bandwidth items according to the working state. Therefore, the ONU to be registered can initiate registration to the OLT by using the time slot corresponding to the bandwidth entry for registration, so that the registered ONU cannot be influenced to send the uplink service data to the OLT, and the sending time delay of the uplink service data caused by the registration of the newly added ONU can be reduced; in addition, because 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, so that compared with the quiet window with fixed time length adopted in the related art, the time delay required to wait when sending the uplink service data can be effectively reduced, and thus the requirement of the delay sensitive service on the system delay can be met.
The embodiments of the present invention will be further explained with reference to the drawings.
As shown in fig. 1, fig. 1 is a schematic diagram of a system architecture for performing a bandwidth allocation method according to an embodiment of the present invention. In the example of fig. 1, the system architecture includes an OLT110 and a plurality of ONUs, where the ONUs include a first ONU to be registered 120, a second ONU to be registered 130, and a registered ONU140, and the OLT110 is connected to the first ONU to be registered 120, the second ONU to be registered 130, and the registered ONU140, respectively.
In fig. 1, a direction in which the OLT110 transmits a service packet to a plurality of ONUs is a downlink transmission direction, and a service packet transmitted in the downlink transmission direction is a downlink service packet; the direction in which the plurality of ONUs transmit the service packet to the OLT110 is an uplink transmission direction, and the service packet transmitted in the uplink transmission direction is an uplink service packet.
The transmission of the downlink service message adopts a point-to-multipoint broadcast mode, downlink frame signals sent by the OLT110 are all received by all ONUs connected with the OLT110, and after the ONUs receive the downlink frame signals, the ONUs can obtain frame signals belonging to the ONUs according to information such as ONU identifiers (0NU-ID), gigabit passive optical network (gigabit passive optical network) port identifiers (GEM-port ID), Allocation identifiers (Allocation Identifier, Allocation-ID) and the like carried by the downlink frame signals, and send the uplink service message in a time slot indicated by the frame signals.
The transmission of the uplink service message is performed in a multipoint-to-point manner, each ONU shares a transmission medium, and each ONU transmits the uplink service message in a time slot allocated by the OLT 110.
The system architecture and the application scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention, and it is known to those skilled in the art that the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems with the evolution of the system architecture and the occurrence of new application scenarios.
Those skilled in the art will appreciate that the architecture of the system architecture shown in FIG. 1 is not intended to be limiting of embodiments of the present invention, and may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
Based on the structure of the system architecture, various embodiments of the bandwidth allocation method of the present invention are proposed.
As shown in fig. 2, fig. 2 is a flowchart of a bandwidth allocation method according to an embodiment of the present invention, the bandwidth allocation method is applied to an OLT, and the bandwidth allocation method includes, but is not limited to, the following steps:
step S110, dividing the upstream bandwidth into several bandwidth entries, where a timeslot length corresponding to a bandwidth entry is not less than a duration of a minimum quiet window, the duration of the minimum quiet window is determined according to a distance between the OLT and the optical network unit ONU, and one or more bandwidth entries are used for one of the following: registering the ONU and transmitting uplink service data sent by the ONU;
and step S120, issuing the bandwidth items to the ONU so that the ONU selects the corresponding bandwidth items according to the working state.
In an embodiment, a distance between the OLT and the ONU may be obtained in advance, and then the duration of the minimum quiet window is obtained according to the distance, so that the timeslot length corresponding to the bandwidth entry may be determined according to the duration of the minimum quiet window, on this basis, the OLT divides the upstream bandwidth into a plurality of bandwidth entries, and issues the plurality of bandwidth entries to the ONU, so that the ONU may select a corresponding bandwidth entry according to its operating state, for example, when the ONU is in an operating state to be registered, the ONU may select a corresponding bandwidth entry to initiate registration, and when the ONU is in an operating state to transmit service, the ONU may select a corresponding bandwidth entry to send upstream service data to the OLT. Because the ONU to be registered can initiate registration to the OLT by using the time slot corresponding to the bandwidth entry for registration, the uplink service data sent to the OLT by the registered ONU is not influenced, so that the sending time delay of the uplink service data caused by the registration of the newly added ONU can be reduced; in addition, because 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, so that compared with the quiet window with fixed time length adopted in the related art, the time delay required to wait when sending the uplink service data can be effectively reduced, and thus the requirement of the delay sensitive service on the system delay can be met.
In an embodiment, when the OLT issues the bandwidth entries to the ONUs, the bandwidth entries may be issued to the ONUs by sending downlink frame signals. The downlink frame signal may be a GPON Transmission Convergence frame (GTC). The GTC frame includes a synchronization field, a superframe indication field, a message processing field, a bit interleaved parity field, a downlink payload length field, a bandwidth-allocation bitmap (BWmap), and a payload. The BWmap may carry a plurality of bandwidth fields corresponding to the bandwidth entries, where the plurality of bandwidth fields include a first bandwidth field and/or a second bandwidth field. It should be noted that the first bandwidth field is used to indicate a time slot in which the OLT registers the ONU to be registered, and the second bandwidth field is used to indicate a time slot in which the registered ONU sends the upstream service data to the OLT.
As shown in fig. 3, a specific example of a field Structure of a BWmap is given, and the BWmap includes N Allocation structures (Allocation structures), where N is a natural number. It is to be noted that the allocation structure is the bandwidth entry in step S110 or the bandwidth field, and the allocation structure mainly includes a bandwidth allocation identifier (Alloc-ID) field, an identifier bit (Flags) field, a bandwidth start time (StartTime) field, a grant (GrantSize) field, a burst configuration (BurstProfile) field, and a Header Error Correction (HEC) field, where the Flags field may include an uplink physical layer operation, management, and maintenance (PLOAMu) flag bit and an uplink dynamic bandwidth report (DBRu) flag bit.
In one embodiment, the Alloc-ID field may be used to indicate the recipient of the bandwidth allocation, such as a specific Transmission container (T-CONT) within an ONU or an upstream ONU management and control channel, etc.
The function of the Alloc-ID field is explained below with a specific example:
it is assumed that the content recorded in the Alloc-ID field in the current allocation structure (i.e. the current bandwidth entry) is an ONU Identifier or a Link Identifier, etc., that is, the ONU Identifier or the Link Identifier indicates that the current allocation structure is already occupied by an ONU (the ONU is a registered ONU), and therefore, the current allocation structure is the second bandwidth field (i.e. the current bandwidth entry Identifier is already allocated and can be used to transmit uplink service data sent by the ONU), where 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). Because the current bandwidth entry is already occupied by the registered ONU, the registered ONU can send the upstream service data to the OLT in the time slot corresponding to the current bandwidth entry.
Assume that the content recorded in the Alloc-ID field in the current allocation structure (i.e. the current bandwidth entry) is broadcast T-CONT, broadcast Logical Link Identifier (LLID), or specifically configured information, etc., that is, indicates that the current allocation structure is not occupied by an ONU yet, and therefore, the current allocation structure is the above-mentioned first bandwidth field (i.e. the current bandwidth entry is identified as unallocated and can be used to initiate a registration operation to the OLT). Because the current bandwidth entry is not occupied by the ONU yet, the ONU to be registered can initiate a registration operation to the OLT in the time slot corresponding to the current bandwidth entry.
In one embodiment, after the ONU to be registered randomly selects at least one first bandwidth field from the downstream frame signal, for example after randomly selecting at least one first bandwidth field in the BWmap carried by the downlink frame signal, the ONU to be registered may initiate a registration operation to the OLT in the time slot indicated by the selected first bandwidth field, for example, the ONU to be registered may send the SN upon receiving the registration request from the OLT, after receiving the ranging request from the OLT, the ONU to be registered may send a ranging response, or initiate a registration operation to the OLT at the start time of the time slot indicated by the selected first bandwidth field (i.e., the time parameter described in the StartTime field), and in addition, the ONU to be registered may initiate a registration operation to the OLT after the start time of the time slot indicated by the selected first bandwidth field is delayed by a certain time, which is not limited in this embodiment. In the related art, after receiving a downlink frame signal sent by the OLT, the ONU to be registered responds after a random delay for a period of time and sends a Serial Number (SN) to the OLT, which may cause untimely registration processing of the ONU to be registered. In this embodiment, the ONU to be registered may initiate a registration operation to the OLT in the time slot indicated by the selected first bandwidth field, so as to cancel the original local random delay in the related art, and perform the registration operation in time, thereby reducing the delay of the system.
In an embodiment, the size of the timeslot indicated by the bandwidth field in the downlink frame signal may have different implementations, which is not specifically limited in this embodiment. For example, the time slots indicated by each bandwidth field in the downlink frame signal are all equal, or the time slot indicated by at least one bandwidth field in the downlink frame signal is not equal to the time slots indicated by the other bandwidth fields in the downlink frame signal.
Under the condition that the time slots indicated by each bandwidth field are equal, the OLT periodically transmits downlink frame signals to the ONUs, so that the OLT can distribute the bandwidth to the ONUs to be registered for competitive registration and ranging according to a certain time interval, and the time delay of the ONUs to be registered for obtaining the bandwidth for registration can be reduced. In addition, in the case that the time slots indicated by each bandwidth field are equal, the total number of ONUs that the OLT can connect to is substantially fixed, for example, the total number of connectable ONUs is 16; when the mobile backhaul or the mobile forward transmission is performed, the transmission distance between the OLT and the ONU is relatively short, for example, the transmission distance is 5 km or 10 km, so that the transmission delay between the OLT and the ONU is controllable, and the requirements of low-delay services such as the mobile backhaul and the mobile forward transmission can be met to a certain extent.
Under the condition that the time slot indicated by at least one bandwidth field is not equal to the time slots indicated by other bandwidth fields, different time slots can be dynamically configured according to actual conditions, so that the time delay requirements of different ONUs can be met, for example, when the service transmission requirement between the OLT and the ONUs is low time delay, the ONUs can select the bandwidth field with the shorter indicated time slot length, or the OLT dynamically adjusts the time slot length indicated by the bandwidth field selected by the ONUs according to the requirements of the ONUs.
In addition, in an embodiment, the bandwidth allocation method may further include, but is not limited to, the following steps:
under the condition that all the ONUs finish registering, dividing one or more bandwidth entries into a plurality of bandwidth sub-entries, wherein the time slot corresponding to each bandwidth sub-entry is less than or equal to the duration of a minimum quiet window, and each bandwidth sub-entry is used for transmitting uplink service data sent by the ONU;
the bandwidth sub-entry is allocated to the ONU.
In an embodiment, when all ONUs complete registration, the OLT may divide one or more bandwidth entries into several bandwidth sub-entries according to usage requirements of the ONUs, where a time slot corresponding to a bandwidth sub-entry is less than or equal to a duration of a minimum quiet window; then, the OLT allocates the bandwidth subitem to the ONU so that the ONU can transmit the upstream service data in the time slot corresponding to the bandwidth subitem. For example, under the condition that the data volume of the upstream service data sent by the ONU has dynamic changes, the OLT may divide one or more bandwidth entries selected by the ONU into several bandwidth sub-entries, so that the ONU may send different upstream service data according to the time slots corresponding to different bandwidth sub-entries, thereby satisfying the use requirements of the ONU.
It should be noted that the bandwidth sub-entries obtained by dividing one or more bandwidth entries are all identified as allocated, that is, the bandwidth sub-entries are used for transmitting the upstream service data sent by the ONU.
In addition, in an embodiment, the OLT allocates the bandwidth sub-entry to the ONU, which may include, but is not limited to, the following steps:
and allocating the bandwidth sub-entries in the same bandwidth entry to different ONUs.
In an embodiment, the OLT may divide one or more bandwidth entries corresponding to the ONUs into several bandwidth sub-entries according to usage requirements of the ONUs, and allocate the bandwidth sub-entries in the same bandwidth entry to different ONUs, thereby satisfying different usage requirements of the ONUs. For example, if the data volume of the upstream service data sent by the first ONU is relatively large, and the data volume of the upstream service data sent by the second ONU is relatively small, one or more bandwidth entries selected by the second ONU may be divided into several bandwidth sub-entries, where a part of the bandwidth sub-entries is reserved for the second ONU to ensure normal transmission of the upstream service data sent by the second ONU, and another bandwidth sub-entry may be allocated to the first ONU to ensure normal transmission of the upstream service data sent by the first ONU. It should be noted that the OLT may also allocate different bandwidth sub-entries to different ONUs at different times according to a dynamic allocation manner, and may make a proper selection according to an actual use situation, which is not specifically limited in this embodiment.
In addition, in an embodiment, referring to fig. 4, after the OLT issues a plurality of bandwidth entries to the ONUs, the bandwidth allocation method may further include, but is not limited to, the following steps:
step S130, receiving SN sent by the ONU to be registered, which selects the bandwidth item identified as the unallocated bandwidth item, wherein the ONU to be registered is the ONU which selects the bandwidth item identified as the unallocated bandwidth item, and the SN is sent by the ONU to be registered in the time slot corresponding to the selected bandwidth item;
and step S140, distributing the ONU identification for the ONU to be registered according to the SN, and sending the ONU identification to the ONU to be registered.
In an embodiment, after the OLT sends a plurality of bandwidth entries to the ONUs, an ONU to be registered in the ONUs randomly selects at least one bandwidth entry identified as an unallocated bandwidth entry from the bandwidth entries, and initiates a registration operation to the OLT in a time slot corresponding to the selected bandwidth entry identified as the unallocated bandwidth entry, at this time, the ONU to be registered sends a SN corresponding to the ONU to be registered to the OLT in the time slot corresponding to the bandwidth entry identified as the unallocated bandwidth entry selected by the ONU to be registered, and after the OLT receives the SN, the OLT allocates an ONU identifier to the ONU to be registered according to the SN and sends the ONU identifier to the ONU to be registered, thereby completing processing of allocating the ONU identifier to the ONU to be registered. Because the SN sent by the ONU to be registered is completed in the time slot corresponding to the bandwidth item selected by the ONU to be registered, the sending of the uplink service data of the registered ONU is not influenced, so that the sending time delay of the uplink service data caused by registering the newly added ONU can be reduced, and the requirement of time delay sensitive service on the system time delay can be met.
In addition, in an embodiment, referring to fig. 5, after step S140, the bandwidth allocation method may further include, but is not limited to, the following steps:
step S150, sending ranging request information to the ONU to be registered;
step S160, receiving ranging response information fed back by the ONU to be registered according to the ranging request information, wherein the ranging response information is sent by the ONU to be registered in the time slot corresponding to the selected bandwidth item;
step S170, calculating an Equalization Delay (EqD) according to the ranging response information, and sending the EqD to the ONU to be registered, so as to complete the ranging operation of the ONU to be registered.
In an embodiment, when the OLT successfully allocates an ONU identifier to the ONU to be registered, and the OLT sends the ONU identifier to the ONU to be registered, the OLT may send ranging request information to the ONU to be registered, and when the ONU to be registered receives the ranging request information, the ONU to be registered may feed back ranging response information to the OLT according to the ranging request information, and it is noted that the ONU to be registered feeds back the ranging response information to the OLT in a time slot corresponding to the bandwidth entry selected by the ONU to be registered; and after the OLT receives ranging response information fed back by the ONU to be registered, the OLT calculates EqD according to the ranging response information and sends the EqD to the ONU to be registered, so that the time slot corresponding to the bandwidth item selected by the ONU to be registered is allocated to the ONU to be registered or the T-CONT of the ONU to be registered, and the ranging operation of the ONU to be registered is completed. Because the ONU to be registered feeds back the ranging response information which is completed in the time slot corresponding to the bandwidth item selected by the ONU to be registered, the sending of the uplink service data of the registered ONU is not influenced, so that the sending time delay of the uplink service data caused by registering the newly added ONU can be reduced, and the requirement of time delay sensitive service on the system time delay can be met.
In addition, in an embodiment, after the ranging operation of the ONU to be registered is completed, the bandwidth allocation method may further include, but is not limited to, the following steps:
and updating the identification of the bandwidth entry selected by the ONU to be registered as allocated.
In an embodiment, after the OLT completes the ranging operation of the ONU to be registered, that is, it indicates that the OLT completes the registration operation of the ONU to be registered, at this time, the OLT allocates the timeslot corresponding to the bandwidth entry selected by the ONU to be registered to the ONU to be registered or the T-CONT of the ONU to be registered, so that the ONU to be registered can send the upstream service data to the OLT in the timeslot corresponding to the bandwidth entry selected by the ONU to be registered. In order to avoid a collision caused by the fact that other ONUs to be registered select the selected bandwidth entry, the OLT updates the identifier of the bandwidth entry selected by the ONU to be registered to allocated, and at this time, the ONU to be registered turns into a registered ONU, so that the other ONUs to be registered cannot select the bandwidth entry selected by the ONU to be registered (which is currently turned into a registered ONU), and therefore, a collision caused by the fact that the other ONUs to be registered select the selected bandwidth entry is avoided, and the stability of the system is ensured.
It should be noted that, in addition to allocating the bandwidth entry selected by the ONU to be registered to the ONU to be registered or the T-CONT of the ONU to be registered, the OLT may dynamically allocate other bandwidth entries identified as unallocated to the ONU to be registered according to the actual application condition of the ONU to be registered, so as to meet the application requirement of the ONU to be registered. For example, the OLT may allocate at least one bandwidth entry, which is identified as an unallocated bandwidth entry, to the ONU to be registered, except for the bandwidth entry selected by the ONU to be registered, and update the identifiers of the bandwidth entries to allocated, thereby avoiding a collision caused by the selection of the already allocated bandwidth entry by other ONUs to be registered, and ensuring the stability of the system. It is worth noting that after the ranging operation of the ONU to be registered is completed, the OLT updates the identifier of the bandwidth entry selected by the ONU to be registered to allocated, and the OLT allocates at least one bandwidth entry, which is identified as unallocated and is other than the bandwidth entry selected by the ONU to be registered, to the ONU to be registered and updates the identifiers of the bandwidth entries to allocated, which are mutually parallel.
In addition, as shown in fig. 6, fig. 6 is a flowchart of a bandwidth allocation method according to another embodiment of the present invention, where the bandwidth allocation method is applied to an ONU, and the bandwidth allocation method includes, but is not limited to, the following steps:
step S210, receiving a plurality of bandwidth entries issued by the OLT, where a timeslot length corresponding to a bandwidth entry is not less than a duration of a minimum quiet window, the duration of the minimum quiet window is determined according to a distance between the OLT and the ONU, and one or more bandwidth entries are used for one of the following: registering the ONU and transmitting uplink service data sent by the ONU;
step S220, selecting a corresponding bandwidth item according to the working status.
In an embodiment, the time slot length corresponding to the bandwidth entry sent by the OLT and received by the ONU may be preset by the OLT, for example, the OLT may obtain a distance between the OLT and the ONU in advance, then obtain the duration of the minimum quiet window according to the distance, and then determine the time slot length corresponding to the bandwidth entry according to the duration of the minimum quiet window. After receiving the bandwidth entries issued by the OLT, the ONU may select the corresponding bandwidth entries according to the working status of the ONU, for example, when the ONU is in the working status to be registered, the ONU may select the corresponding bandwidth entries to initiate registration, and when the ONU is in the working status for transmitting services, the ONU may select the corresponding bandwidth entries to send upstream service data to the OLT. Because the ONU to be registered can initiate registration to the OLT by using the time slot corresponding to the bandwidth entry for registration, the uplink service data sent to the OLT by the registered ONU is not influenced, so that the sending time delay of the uplink service data caused by the registration of the newly added ONU can be reduced; in addition, because 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, so that compared with the quiet window with fixed time length adopted in the related art, the time delay required to wait when sending the uplink service data can be effectively reduced, and thus the requirement of the delay sensitive service on the system delay can be met.
In an embodiment, the bandwidth entry sent by the OLT and received by the ONU may be carried by the OLT by sending a downlink frame signal. The downlink frame signal may be a GTC frame. The GTC frame includes a synchronization field, a superframe indication field, a message processing field, a bit interleaved parity field, a downlink payload length field, a BWmap, and a payload. The BWmap may carry a plurality of bandwidth fields corresponding to the bandwidth entries, where the plurality of bandwidth fields include a first bandwidth field and/or a second bandwidth field. It should be noted that the first bandwidth field is used to indicate a time slot in which the OLT registers the ONU to be registered, and the second bandwidth field is used to indicate a time slot in which the registered ONU sends the upstream service data to the OLT.
In an embodiment, the field structure and meaning function of each field of the BWmap in the first downlink frame signal are the same as those of the BWmap in the embodiment shown in fig. 3, and the field structure and meaning function of each field of the BWmap in this embodiment may refer to the field structure and meaning function of the BWmap in the embodiment shown in fig. 3, and are not described herein again.
In one embodiment, after the ONU to be registered randomly selects at least one first bandwidth field from the downstream frame signal, for example after randomly selecting at least one first bandwidth field in the BWmap carried by the downlink frame signal, the ONU to be registered may initiate a registration operation to the OLT in the time slot indicated by the selected first bandwidth field, for example, the ONU to be registered may send the SN upon receiving the registration request from the OLT, after receiving the ranging request from the OLT, the ONU to be registered may send a ranging response, or initiate a registration operation to the OLT at the start time of the time slot indicated by the selected first bandwidth field (i.e., the time parameter described in the StartTime field), and in addition, the ONU to be registered may initiate a registration operation to the OLT after the start time of the time slot indicated by the selected first bandwidth field is delayed by a certain time, which is not limited in this embodiment. In the related art, after receiving a downlink frame signal sent by an OLT, an ONU to be registered responds and sends an SN to the OLT after a random delay for a certain period of time, which may cause untimely registration processing of the ONU to be registered. In this embodiment, the ONU to be registered may initiate a registration operation to the OLT in the time slot indicated by the selected first bandwidth field, so as to cancel the original local random delay in the related art, and perform the registration operation in time, thereby reducing the delay of the system.
In an embodiment, the size of the timeslot indicated by the bandwidth field in the downlink frame signal may have different implementations, which is not specifically limited in this embodiment. For example, the time slots indicated by each bandwidth field in the downlink frame signal are all equal, or the time slot indicated by at least one bandwidth field in the downlink frame signal is not equal to the time slots indicated by the other bandwidth fields in the downlink frame signal.
Under the condition that the time slots indicated by each bandwidth field are equal, the OLT periodically transmits downlink frame signals to the ONUs, so that the OLT can distribute the bandwidth to the ONUs to be registered for competitive registration and ranging according to a certain time interval, and the time delay of the ONUs to be registered for obtaining the bandwidth for registration can be reduced. In addition, in the case that the time slots indicated by each bandwidth field are equal, the total number of ONUs that the OLT can connect to is substantially fixed, for example, the total number of connectable ONUs is 16; when the mobile backhaul or the mobile forward transmission is performed, the transmission distance between the OLT and the ONU is relatively short, for example, the transmission distance is 5 km or 10 km, so that the transmission delay between the OLT and the ONU is controllable, and the requirements of low-delay services such as the mobile backhaul and the mobile forward transmission can be met to a certain extent.
Under the condition that the time slot indicated by at least one bandwidth field is not equal to the time slots indicated by other bandwidth fields, different time slots can be dynamically configured according to actual conditions, so that the time delay requirements of different ONUs can be met, for example, when the service transmission requirement between the OLT and the ONUs is low time delay, the ONUs can select the bandwidth field with the shorter indicated time slot length, or the OLT dynamically adjusts the time slot length indicated by the bandwidth field selected by the ONUs according to the requirements of the ONUs.
In addition, in an embodiment, the bandwidth allocation method may further include, but is not limited to, the following steps:
receiving bandwidth sub-entries distributed by the OLT, wherein the bandwidth sub-entries are obtained by dividing one or more bandwidth entries by the OLT under the condition that all the ONUs finish registration, and time slots corresponding to the bandwidth sub-entries are less than or equal to the duration of a minimum quiet window;
and sending the uplink service data to the OLT in the time slot corresponding to the bandwidth subitem.
In an embodiment, when all ONUs complete registration, the OLT may divide one or more bandwidth entries into several bandwidth sub-entries according to usage requirements of the ONUs, where a time slot corresponding to a bandwidth sub-entry is less than or equal to a duration of a minimum quiet window; and after receiving the bandwidth sub-entry allocated by the OLT, the ONU may send uplink service data to the OLT in the time slot corresponding to the bandwidth sub-entry. It is worth noting that the OLT may divide one or more bandwidth entries selected by the ONU into several bandwidth sub-entries according to the actual application condition of the ONU, for example, in the case that the data amount of the upstream service data sent by the ONU has a dynamic change, the OLT may divide one or more bandwidth entries selected by the ONU into several bandwidth sub-entries, so that the ONU may send different upstream service data according to the time slots corresponding to different bandwidth sub-entries, thereby satisfying the use requirement of the ONU.
It should be noted that the bandwidth sub-entries obtained by dividing one or more bandwidth entries are all identified as allocated, that is, the bandwidth sub-entries are used for transmitting the upstream service data sent by the ONU.
In addition, in an embodiment, when the operating state of the ONU is the registered state, that is, when the ONU is the ONU to be registered, the ONU to be registered may select one or more bandwidth entries identified as unallocated bandwidth entries from the bandwidth entries, and after the ONU to be registered selects one or more bandwidth entries identified as unallocated bandwidth entries from the bandwidth entries, referring to fig. 7, the bandwidth allocation method may further include, but is not limited to, the following steps:
step S221, in the time slot corresponding to the selected bandwidth item, sending SN to OLT;
step S222, receiving the ONU identifier allocated by the OLT according to the SN from the OLT.
In an embodiment, after the ONU to be registered randomly selects at least one identifier as an unallocated bandwidth entry from among a plurality of bandwidth entries, the ONU to be registered sends, to the OLT, an SN corresponding to the ONU to be registered in a time slot corresponding to the bandwidth entry selected by the ONU to be registered, and after the OLT receives the SN, the OLT allocates an ONU identifier to the ONU to be registered according to the SN and sends the ONU identifier to the ONU to be registered, thereby completing the processing of allocating the ONU identifier to the ONU to be registered. Because the ONU to be registered sends SN to the OLT in the time slot corresponding to the bandwidth item selected by the ONU to be registered, the sending of the uplink service data of the registered ONU is not influenced, so that the sending time delay of the uplink service data caused by registering the newly added ONU can be reduced, and the requirement of time delay sensitive service on the system time delay can be met.
In addition, in an embodiment, referring to fig. 8, after step S222, the bandwidth allocation method may further include, but is not limited to, the following steps:
step S230, receiving ranging request information sent by the OLT;
step S240, feeding back ranging response information to the OLT according to the ranging request information in the time slot corresponding to the selected bandwidth item;
and step S250, receiving the EqD calculated by the OLT according to the ranging response information from the OLT, so as to complete the ranging operation initiated by the OLT.
In an embodiment, when the OLT successfully allocates 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 may send ranging request information to the ONU to be registered, and when the ONU to be registered receives the ranging request information from the OLT, the ONU to be registered may feed back ranging response information to the OLT in a time slot corresponding to the bandwidth entry selected by the ONU to be registered; and after receiving the ranging response information fed back by the ONU to be registered, the OLT calculates EqD according to the ranging response information and sends the EqD to the ONU to be registered, and after receiving the EqD, the ONU to be registered completes the ranging operation of the ONU to be registered, and at the moment, the OLT allocates the time slot corresponding to the bandwidth item selected by the ONU to be registered to the ONU to be registered or the T-CONT of the ONU to be registered. Because the ONU to be registered feeds back the ranging response information which is completed in the time slot corresponding to the bandwidth item selected by the ONU to be registered, the sending of the uplink service data of the registered ONU is not influenced, so that the sending time delay of the uplink service data caused by registering the newly added ONU can be reduced, and the requirement of time delay sensitive service on the system time delay can be met.
In addition, in an embodiment, when the operation state of the ONU is a traffic transmission state, that is, the ONU is a registered ONU, the registered ONU selects a bandwidth entry corresponding to the ONU identifier allocated by the OLT from the bandwidth entries, and after the ONU to be registered selects a bandwidth entry corresponding to the ONU identifier allocated by the OLT from the bandwidth entries, the bandwidth allocation method may further include, but is not limited to, the following steps:
and sending the uplink service data to the OLT in the time slot corresponding to the selected bandwidth item corresponding to the ONU identification.
In an embodiment, after the ONU to be registered is successfully registered, the ONU to be registered is changed into a registered ONU, and the bandwidth entry selected by the ONU to be registered is also identified as allocated. When the registered ONU receives a plurality of bandwidth entries sent by the OLT, the registered ONU may determine, according to the ONU identifier allocated by the OLT, that the identifier corresponding to the ONU identifier is an allocated bandwidth entry from the bandwidth entries, and send upstream service data to the OLT in a time slot corresponding to the determined bandwidth entry, so as to perform data communication with the OLT. Because the OLT updates the identifier of the bandwidth entry selected by the ONU to be registered to the allocated identifier, other ONUs to be registered cannot select the bandwidth entry selected by the ONU to be registered (currently converted into the registered ONU), and therefore, collision caused by the fact that other ONUs to be registered select the selected bandwidth entry can be avoided, thereby ensuring the stability of the system.
It should be noted that, in addition to allocating, by the OLT, the time slot corresponding to the bandwidth entry selected by the ONU to be registered to the ONU to be registered or the T-CONT of the ONU to be registered, the OLT may dynamically allocate, according to an actual application situation of the ONU to be registered, another bandwidth entry identified as unallocated to the ONU to be registered, so as to meet an application requirement of the ONU to be registered, which is not specifically limited in this embodiment. For example, the OLT may allocate at least one bandwidth entry, which is identified as an unallocated bandwidth entry, to the ONU to be registered, except for the bandwidth entry selected by the ONU to be registered, and update the identifiers of the bandwidth entries to allocated, thereby avoiding a collision caused by the selection of the already allocated bandwidth entry by other ONUs to be registered, and ensuring the stability of the system.
In order to more clearly describe the specific flow of steps of the bandwidth allocation method in the foregoing embodiments, a specific example is described below.
Example one:
assuming that in a scenario of 1 km and 10 ONUs, the response time variation of a device is 2us, the round trip time of 1 km is 10us, and the minimum time of a quiet window is 12us, the BWmap carried in the downstream frame signal may be divided into 10 parts, that is, the BWmap includes 10 bandwidth fields (i.e., bandwidth entries), and the length of a timeslot indicated by each bandwidth field is 12.5 us. At this time, the OLT may initialize the bandwidth fields to an unallocated state, for example, set the allocation information subfield (i.e., Alloc-ID field) in the bandwidth field to a special identification value, such as broadcast T-CONT, broadcast LLID, or information of a specific configuration, i.e., set the bandwidth fields to the first bandwidth field. Then, the OLT issues the BWmap including the first bandwidth fields to each ONU, and an ONU to be registered in the ONUs may randomly select at least one of the first bandwidth fields and send its SN to the OLT, and when the ONU to be registered does not obtain an OLT response, the ONU to be registered waits for a certain time, randomly selects at least one of the first bandwidth fields again, and sends its SN to the OLT again. If the OLT correctly obtains the SN of a certain ONU to be registered, the OLT completes the subsequent activation process (including ONU identification allocation, ranging allocation and EqD allocation) on the ONU to be registered in the time slot indicated by the first bandwidth field selected by the ONU to be registered. After the ONU to be registered is activated, the OLT allocates a first bandwidth field selected by the ONU to be registered to the ONU to be registered, wherein an allocation information subfield (i.e., Alloc-ID field) in the first bandwidth field is set as an ONU identifier corresponding to the ONU to be registered.
It is noted that if the distance is shorter, for example inside a household, the distance of the optical fiber will not exceed 100 meters, and therefore the quiet window may range from 1us to 3 us. Under the precondition of adapting to a quiet window, the upstream bandwidth can be divided into more sections, so that more bandwidth fields can be allocated to the ONU.
Example two:
as shown in fig. 9, fig. 9 is a flowchart of a bandwidth allocation method according to an example of the present invention, where the flowchart specifically includes:
step S301, the OLT sets 10 bandwidth fields (i.e. bandwidth entries) in the BWmap, each bandwidth field indicating a slot length of 12.5us, the OLT sends the BWmap carrying these bandwidth fields to the ONUs, the bandwidth fields are all initialized to an unallocated state, for example, the bandwidth fields are all set to the above-mentioned first bandwidth field, and the allocation information subfield (i.e. Alloc-ID field) in the first bandwidth fields is set to broadcast T-CONT (for example, in the XG-PON system or the XGs-PON system, the broadcast T-CONT has a value of 1023);
step S302, the ONU to be registered acquires a BWmap sent by the OLT and analyzes a first bandwidth field carried by the BWmap, randomly selects a first bandwidth field, and directly sends SN to the OLT at the starting time of a time slot indicated by the first bandwidth field without random delay;
step S303, after receiving the SN sent by the ONU to be registered, the OLT allocates an ONU identifier for 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;
step S304, the ONU to be registered receives the ONU identification, responds to the ranging request information, and directly sends ranging response information to the OLT at the starting time of the time slot indicated by the first bandwidth field;
step S305, the OLT receives the ranging response information, calculates EqD, sends the EqD to the ONU to be registered, and distributes the first bandwidth field to the ONU to be registered or the T-CONT of the ONU to be registered;
step S306, the OLT updates the BWmap and continues to send the updated BWmap to the ONU to be registered.
Example three:
as shown in fig. 10, fig. 10 is a flowchart of a bandwidth allocation method for an ONU compatible with an old version according to another example of the present invention. The process specifically comprises the following steps:
step S401, the OLT sets 10 bandwidth fields (i.e. bandwidth entries) in the BWmap, each bandwidth field indicates a slot length of 12.5us, the bandwidth fields are initialized to an unallocated state, for example, the bandwidth fields are set to the first bandwidth field mentioned above, the OLT sets one of the first bandwidth fields as a quiet window and sets SN grant information in the first bandwidth field corresponding to the quiet window, the OLT sends the first bandwidth field except the first bandwidth field corresponding to the quiet window and the SN grant information to the ONU through the BWmap, and the allocation information subfield (i.e. Alloc-ID field) in the first bandwidth fields is set to broadcast T-CONT (e.g. in the XG-PON system or the XGs-PON system, the broadcast T-CONT has a value of 1023);
step S402, the old version ONU to be registered acquires the BWmap sent by the OLT and analyzes the information carried by the BWmap, and after the old version ONU to be registered acquires the SN grant information, the old version ONU to be registered directly sends SN to the OLT without random delay;
step S403, after receiving the SN sent by the old version ONU to be registered, the OLT allocates 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;
step S404, the old version ONU to be registered receives the ONU identification, responds to the ranging request information, and directly sends ranging response information to the OLT at the starting time of the time slot indicated by the first bandwidth field corresponding to the quiet window;
step S405, the OLT receives the ranging response information, calculates EqD, sends the EqD to the old version ONU to be registered, and distributes the first bandwidth field to the old version ONU to be registered or the T-CONT of the old version ONU to be registered;
in step S406, the OLT updates the BWmap and continues to send the updated BWmap to the old-version ONU to be registered.
In addition, an embodiment of the present invention also provides an optical line terminal, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
The processor and memory may be connected by a bus or other means.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the 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, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It should be noted that the optical line terminal in this embodiment may be applied to the OLT110 in the system architecture of the embodiment shown in fig. 1, and the optical line terminal in this embodiment and the OLT110 in the system architecture of the embodiment shown in fig. 1 have the same inventive concept, so that these embodiments have the same implementation principle and technical effect, and are not described in detail here.
The non-transitory software programs and instructions required to implement the bandwidth allocation methods of the above embodiments are stored in the memory and, when executed by the processor, perform the bandwidth allocation methods of the above embodiments, e.g., performing the above-described method steps S110 to S120 in fig. 2, method steps S130 to S140 in fig. 4, and method steps S150 to S170 in fig. 5.
In addition, an embodiment of the present invention further provides an optical network unit, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
The processor and memory may be connected by a bus or other means.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the 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, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It should be noted that the optical network unit in this embodiment may be applied as the first ONU to be registered 120 or the second ONU to be registered 130 in the system architecture of the embodiment shown in fig. 1, and the optical network unit in this embodiment and the first ONU to be registered 120 and the second ONU to be registered 130 in the system architecture of the embodiment shown in fig. 1 have the same inventive concept, so these embodiments have the same implementation principle and technical effect, and are not described in detail here.
The non-transitory software programs and instructions required to implement the bandwidth allocation methods of the above embodiments are stored in the memory and, when executed by the processor, perform the bandwidth allocation methods of the above embodiments, e.g., performing the above-described method steps S210 to S220 in fig. 6, method steps S221 to S222 in fig. 7, and method steps S230 to S250 in fig. 8.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, which are executed by a processor or a controller, for example, by a processor in the above-mentioned optical line terminal embodiment, and can cause the processor to execute the bandwidth allocation method in the above-mentioned embodiment, for example, execute the above-mentioned method steps S110 to S120 in fig. 2, method steps S130 to S140 in fig. 4, and method steps S150 to S170 in fig. 5. Alternatively, the bandwidth allocation method in the foregoing embodiment may be executed by a processor in the foregoing optical network unit embodiment, for example, the method steps S210 to S220 in fig. 6, the method steps S221 to S222 in fig. 7, and the method steps S230 to S250 in fig. 8 described above are executed by the processor.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may 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 may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
While the preferred embodiments of the present invention have been described in detail, it will be understood by those skilled in the art that the foregoing and various other changes, omissions and deviations in the form and detail thereof may be made without departing from the scope of this invention.

Claims (17)

1. A bandwidth allocation method is applied to an Optical Line Terminal (OLT), and comprises the following steps:
dividing an upstream bandwidth into a plurality of bandwidth entries, wherein the length of a time slot corresponding to each bandwidth entry is not less than the duration of a minimum quiet window, the duration of the minimum quiet window is determined according to the distance between an OLT and an optical network unit ONU, and one or more bandwidth entries are used for one of the following: registering the ONU and transmitting uplink service data sent by the ONU;
and issuing the bandwidth items to the ONU so that the ONU selects the corresponding bandwidth items according to the working state.
2. The method of claim 1, wherein one or more of the bandwidth entries are identified as one of the following attributes: unallocated, allocated;
wherein the unallocated representation indicates that the bandwidth entry is used for registering an ONU; the allocated bandwidth item is used for transmitting uplink service data sent by the ONU.
3. The method for allocating bandwidth according to claim 1 or 2, further comprising:
under the condition that all the ONUs finish registering, dividing one or more bandwidth entries into a plurality of bandwidth sub-entries, wherein time slots corresponding to the bandwidth sub-entries are less than or equal to the duration of the minimum quiet window, and the bandwidth sub-entries are used for transmitting uplink service data sent by the ONUs;
and allocating the bandwidth sub-entry to the ONU.
4. The method of claim 3, wherein the allocating the bandwidth sub-entry to the ONU comprises:
and allocating the bandwidth sub-entries in the same bandwidth entry to different ONUs.
5. The method of claim 2, further comprising, after issuing the bandwidth entries to the ONUs:
receiving a serial number SN sent by an ONU to be registered, which selects a bandwidth item identified as unallocated, wherein the ONU to be registered is the ONU which selects the bandwidth item identified as unallocated, and the SN is sent by the ONU to be registered in a time slot corresponding to the selected bandwidth item;
and distributing ONU identification to the ONU to be registered according to the SN, and sending the ONU identification to the ONU to be registered.
6. The method according to claim 5, further comprising, after sending the ONU identifier to the ONU to be registered, the step of:
sending ranging request information to the ONU to be registered;
receiving ranging response information fed back by the ONU to be registered according to the ranging request information, wherein the ranging response information is sent by the ONU to be registered in the time slot corresponding to the selected bandwidth item;
and calculating an equilibrium time delay EqD according to the ranging response information, and sending the EqD to the ONU to be registered so as to finish ranging operation on the ONU to be registered.
7. The method for allocating bandwidth according to claim 6, further comprising, after completing the ranging operation on the ONU to be registered:
and updating the identification of the bandwidth entry selected by the ONU to be registered as allocated.
8. The method for allocating bandwidth according to claim 6, further comprising, after completing the ranging operation on the ONU to be registered:
and allocating at least one bandwidth item which is identified as an unallocated bandwidth item except for the bandwidth item selected by the ONU to be registered to the ONU to be registered, and updating the identification of the at least one bandwidth item which is identified as the unallocated bandwidth item except for the bandwidth item selected by the ONU to be registered to be allocated.
9. A bandwidth allocation method applied to an ONU (optical network unit), the method comprising the following steps:
receiving a plurality of bandwidth entries issued by an OLT, wherein the length of a time slot corresponding to each bandwidth entry is not less than the duration of a 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 and transmitting uplink service data sent by the ONU;
and selecting the corresponding bandwidth items according to the working state.
10. The method of claim 9, wherein one or more of the bandwidth entries are identified as one of the following attributes: unallocated, allocated;
wherein the unallocated representation indicates that the bandwidth entry is used for registering an ONU; the allocated bandwidth item is used for transmitting uplink service data sent by the ONU.
11. The method for allocating bandwidth according to claim 9 or 10, further comprising:
receiving a bandwidth sub-entry allocated by an OLT, wherein the bandwidth sub-entry is obtained by dividing one or more bandwidth entries by the OLT under the condition that all ONUs complete registration, and a time slot corresponding to the bandwidth sub-entry is less than or equal to the duration of the minimum quiet window;
and sending uplink service data to the OLT in the time slot corresponding to the bandwidth subitem.
12. The method of claim 10, wherein when the operating status is a registered status, the selecting the corresponding bandwidth entry according to the operating status comprises:
selecting one or more bandwidth entries from the number of bandwidth entries that are identified as unallocated;
after selecting one or more bandwidth entries from the number of bandwidth entries that are identified as unallocated, the bandwidth allocation method further comprises:
in the time slot corresponding to the selected bandwidth item, sending SN to the OLT;
and receiving ONU identification which is distributed by the OLT according to the SN from the OLT.
13. The method according to claim 12, further comprising, after receiving the ONU identifier allocated by the OLT according to the SN from the OLT:
receiving ranging request information transmitted by an OLT;
feeding ranging response information back to the OLT according to the ranging request information in the time slot corresponding to the selected bandwidth item;
and receiving the EqD which is obtained by the OLT and calculated according to the ranging response information from the OLT so as to complete the ranging operation initiated by the OLT.
14. The method of claim 12, wherein when the operating status is a service transmission status, the selecting the corresponding bandwidth entry according to the operating status comprises:
selecting a bandwidth item corresponding to the ONU identification from the plurality of bandwidth items according to the ONU identification;
after selecting a bandwidth entry corresponding to the ONU identifier from the bandwidth entries according to the ONU identifier, the bandwidth allocation method further includes:
and sending uplink service data to the OLT in the time slot corresponding to the selected bandwidth item corresponding to the ONU identification.
15. An optical line terminal comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the bandwidth allocation method according to any one of claims 1 to 8 when executing the computer program.
16. An optical network unit comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the bandwidth allocation method according to any one of claims 9 to 14 when executing the computer program.
17. A computer-readable storage medium storing computer-executable instructions for performing the bandwidth allocation method of any one of claims 1 to 8, or performing the bandwidth allocation method of any one of claims 9 to 14.
CN202011184132.6A 2020-10-29 2020-10-29 Bandwidth allocation method, optical line terminal, optical network unit and storage medium Pending CN114430372A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011184132.6A CN114430372A (en) 2020-10-29 2020-10-29 Bandwidth allocation method, optical line terminal, optical network unit and storage medium
PCT/CN2021/123109 WO2022089186A1 (en) 2020-10-29 2021-10-11 Bandwidth allocation method, optical line terminal, optical network unit and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011184132.6A CN114430372A (en) 2020-10-29 2020-10-29 Bandwidth allocation method, optical line terminal, optical network unit and storage medium

Publications (1)

Publication Number Publication Date
CN114430372A true CN114430372A (en) 2022-05-03

Family

ID=81309408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011184132.6A Pending CN114430372A (en) 2020-10-29 2020-10-29 Bandwidth allocation method, optical line terminal, optical network unit and storage medium

Country Status (2)

Country Link
CN (1) CN114430372A (en)
WO (1) WO2022089186A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023227096A1 (en) * 2022-05-27 2023-11-30 中国移动通信有限公司研究院 Information feedback method, device, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007074234A (en) * 2005-09-06 2007-03-22 Hitachi Communication Technologies Ltd Transmission apparatus
CN109429118B (en) * 2017-09-04 2022-03-01 中兴通讯股份有限公司 Bandwidth allocation method, device and system
CN109756796B (en) * 2017-11-01 2022-05-20 中兴通讯股份有限公司 Passive optical network downlink bandwidth transmission method and device
US11153267B2 (en) * 2018-09-13 2021-10-19 Charter Communications Operating, Llc Using dynamic host control protocol (DHCP) and a special file format to convey quality of service (QOS) and service information to customer equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023227096A1 (en) * 2022-05-27 2023-11-30 中国移动通信有限公司研究院 Information feedback method, device, and storage medium

Also Published As

Publication number Publication date
WO2022089186A1 (en) 2022-05-05

Similar Documents

Publication Publication Date Title
US5930018A (en) Method and apparatus for controlling communications in a passive optical network
US9154221B2 (en) Method, system, and relay apparatus for realizing passive optical network reach extension
US11652564B2 (en) Data communications system, optical line terminal, and baseband unit
CN102118212B (en) Method and optical line terminal for distributing optical network unit bandwidth
EP2086136A1 (en) Optical communication
US8285143B2 (en) Method of allocating bandwidth of passive optical network
EP2389738B1 (en) Methods and systems for dynamic equalization delay passive optical networks
EP3151490A1 (en) Data transmission control method, passive optical network equipment and device, and passive optical network
KR100786527B1 (en) Method of grant request for mac protocol in pon
US20140178072A1 (en) Optical line terminal and method of registering optical network terminal thereof
EP4087271A1 (en) Service transmission method and apparatus, sending end and storage medium
WO2022089186A1 (en) Bandwidth allocation method, optical line terminal, optical network unit and storage medium
CN111901706B (en) ONU discovery ranging method and system in TDM PON
US20200260164A1 (en) Method for managing onu in passive optical network, olt and system
CN101577843B (en) Method, device and system for processing multiframe
CN115643501A (en) Bandwidth allocation method, OLT, ONU, terminal and storage medium
WO2014169483A1 (en) Bandwidth allocation method, device and system
CN116170712A (en) ONU registration method, communication method, ONR, OLT, ONU and optical communication system
JP6134247B2 (en) Optical communication system, signal transmission control method, and station side optical line termination device
KR101046110B1 (en) Method and apparatus for determining cycle time of passive optical network
JP6159265B2 (en) Band allocation method, station side apparatus, and optical communication system
JP6093282B2 (en) Optical communication system, communication control method, and station side optical line terminator
WO2022206174A1 (en) Data transmission method, optical line terminal, optical network unit, and communication system
JP6600293B2 (en) Optical communication system, child node, and optical communication method
KR20170046012A (en) Apparatus and Method for Synchronous Dynamic Bandwidth Allocation in EPON

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination