Bandwidth scheduling method, electronic device and computer-readable storage medium
By introducing the concept of subframes and optimizing bandwidth scheduling methods in GPON family systems, the problem of excessive latency in traditional GPON family systems has been solved, resulting in lower latency and jitter, and improved bandwidth utilization efficiency.
Patent Information
- Application Number
- PCT/CN2025/096276
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-11
- Filing Date
- 2025-05-21
- Publication Date
- 2025-12-18
AI Technical Summary
Traditional GPON systems are limited to uplink latency of one frame (125us). The DBA mechanism results in latency that is usually greater than 125us, which cannot meet the current high requirements for network latency and jitter. Furthermore, fixed bandwidth allocation cannot effectively utilize uplink bandwidth as needed.
By introducing the concept of subframes and dividing service areas with different priorities, and combining fixed bandwidth allocation and dynamic bandwidth allocation, the bandwidth scheduling method is optimized by dividing the number of subframes and their high-priority time slot areas, thereby reducing latency and jitter.
It breaks through the bottleneck of latency greater than 125us in traditional GPON systems, significantly reducing service latency and jitter, and achieving maximum effective utilization of bandwidth.
Smart Images

Figure CN2025096276_18122025_PF_FP_ABST
Abstract
Description
Bandwidth scheduling method, electronic device, and computer-readable storage medium
[0001] Cross-reference to Related Applications
[0002] This application claims priority to Chinese Patent Application No. 202410747764.0, filed on June 11, 2024, in the China Patent Office, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0003] Embodiments of the present application relate to, but are not limited to, the technical field of passive optical network. BACKGROUND
[0004] Currently, in addition to the higher network access rate and more efficient bandwidth utilization that operators and users are eager for, there are also higher requirements for network latency and jitter. In particular, in the Time Sensitive Network (TSN), higher requirements are put forward for the latency and jitter protection of time-sensitive services of the industrial PON (Passive Optical Network).
[0005] However, the uplink latency of the traditional GPON family system is limited by one frame (125us), and the DBA (Dynamic Bandwidth Assignment) mechanism causes the uplink latency to be usually greater than 125us, far from meeting the current demand. SUMMARY
[0006] Embodiments of the present application provide a bandwidth scheduling method, the method comprising: dividing a target frame into a plurality of subframes according to a preset bandwidth requirement; wherein each of the subframes corresponds to a subframe configuration table and a high priority entry configuration table; calculating an allocable bandwidth of the target frame according to optical network collection information; determining a bandwidth entry priority of a target subframe in each of the subframes according to the high priority entry configuration table of the target subframe, the subframe configuration table, and the allocable bandwidth; sequentially transferring the bandwidth entries of the target subframe to a preset bandwidth mapping table according to the bandwidth entry priority of the target subframe; and in the case that the target subframe is the last subframe of the target frame, sending all bandwidth entries of the target frame stored in the bandwidth mapping table to an optical network unit.
[0007] The embodiment of the present application further provides a bandwidth scheduling device, which comprises: a configuration module configured to divide a target frame into a plurality of sub-frames according to preset bandwidth requirements; wherein each of the sub-frames corresponds to a sub-frame configuration table and a high-priority entry configuration table; a calculation module configured to calculate an allocable bandwidth of the target frame according to optical network collection information; a scheduling module configured to determine bandwidth entry priorities of a target sub-frame in the target frame according to the high-priority entry configuration table, the sub-frame configuration table of the target sub-frame and the allocable bandwidth; sequentially transport the bandwidth entries of the target sub-frame into a preset bandwidth mapping table according to the bandwidth entry priorities of the target sub-frame; and a sending module configured to send all the bandwidth entries of the target frame stored in the bandwidth mapping table to an optical network unit if the target sub-frame is the last sub-frame of the target frame.
[0008] The embodiment of the present application further provides an electronic device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the computer program is executed by the processor to implement any bandwidth scheduling method described herein.
[0009] The embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement any bandwidth scheduling method described herein. BRIEF DESCRIPTION OF DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the embodiments or the related art description will be briefly introduced. Obviously, the drawings in the following description are only a part of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0011] Fig. 1 is a schematic diagram of an application environment involved in a bandwidth scheduling method provided by the embodiment of the present application;
[0012] Fig. 2 is a structural relationship block diagram of OLT and ONU in an application environment involved in a bandwidth scheduling method provided by the embodiment of the present application;
[0013] Fig. 3 is a processing logic diagram of OLT allocating uplink bandwidth time slots to ONU in an application environment involved in a bandwidth scheduling method provided by the embodiment of the present application;
[0014] Fig. 4 is a flowchart of a bandwidth scheduling method provided by the embodiment of the present application;
[0015] FIG. 5 is a schematic diagram of a subframe and priority area division involved in a bandwidth scheduling method according to an embodiment of the present application;
[0016] FIG. 6 is a subframe configuration table involved in a bandwidth scheduling method according to an embodiment of the present application;
[0017] FIG. 7 is a high priority bandwidth entry configuration table involved in a bandwidth scheduling method according to an embodiment of the present application;
[0018] FIG. 8 is a bandwidth entry content format involved in a bandwidth scheduling method according to an embodiment of the present application;
[0019] FIG. 9 is another bandwidth entry content format involved in a bandwidth scheduling method according to an embodiment of the present application;
[0020] FIG. 10 is a supplementary flowchart of a bandwidth scheduling method according to an embodiment of the present application;
[0021] FIG. 11 is a whole implementation flowchart of a bandwidth scheduling method according to an embodiment of the present application;
[0022] FIG. 12 is a structural schematic diagram of a bandwidth scheduling apparatus according to an embodiment of the present application;
[0023] FIG. 13 is a structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] In the following description, specific details are set forth in order to provide a thorough understanding of embodiments of the application. However, persons having ordinary skill in the art will readily recognize that embodiments of the application can be practiced without
[0025] It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in an order different from the flowchart. The terms "first", "second", and the like in the specification and claims and the above-described drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.
[0026] It should also be understood that, in the description of the embodiments of the present application, the reference "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment", "in some embodiments", "in other embodiments", "in additional embodiments" and so on, in various places in the specification are not necessarily all referring to the same embodiment, unless otherwise specified. The terms "comprising", "including", "having" and their variants, mean "including but not limited to", unless otherwise specified.
[0027] At present, remote office, remote education, e-commerce, Internet of Things, ultra-high definition (4K / 8K) live broadcast, cloud game and industrial robot control have become current popular businesses, promoting the development and construction of gigabit networks. In addition to the operator and user's desire for higher network access rate and more efficient bandwidth utilization, there is also a higher requirement for network latency and jitter. In particular, in the time sensitive network (TSN), higher requirements are put forward for the latency and jitter guarantee of the time sensitive (TSN) service of the industrial PON (Passive Optical Network).
[0028] DBA (dynamic bandwidth assignment) is a mechanism in which the OLT (Optical Line Terminal) of the GPON family standard ITU-T G.984.3 / ITU-T G.987.3 dynamically allocates uplink bandwidth to the ALLOC-ID of the ONU (Optical Network Unit) according to the SR-status report of the dynamic buffer status of each ALLOC-ID actively reported by the ONU, or the actual dynamic traffic (Non-SR) of each ALLOC-ID monitored by the OLT.
[0029] However, the uplink latency of the traditional GPON family system is limited by one frame (125us), and the DBA mechanism of the traditional GPON family system results in an uplink latency of usually more than 125us, which is far from meeting the current demand. Moreover, the traditional fixed bandwidth (FBA, Fixed Bandwidth Assignment) scheduling cannot effectively utilize the uplink bandwidth on demand due to its fixed bandwidth size.
[0030] Based on this, the embodiment of the present application provides a bandwidth scheduling method, an electronic device and a computer readable storage medium, by introducing the concept of subframe, and by dividing the service area of different priority in the subframe, combining the characteristics of fixed bandwidth allocation and dynamic bandwidth allocation, the different services are carried in detail, the different requirements of different services on bandwidth, delay and jitter are met, the bottleneck of the traditional GPON family system that the delay is greater than 125us is broken, the delay and jitter of the corresponding service are significantly reduced, and the maximum effective utilization of bandwidth is realized.
[0031] The embodiment of the present application can at least solve the technical problem of high delay of the wideband scheduling scheme in the related art.
[0032] The bandwidth scheduling method, the electronic device and the computer readable storage medium provided by the embodiment of the present application are specifically explained by the following embodiment, first, the bandwidth scheduling method in the embodiment of the present application and the application environment thereof are described.
[0033] Referring to FIG. 1, FIG. 1 is a schematic diagram of an application environment related to a bandwidth scheduling method provided by the embodiment of the present application, as shown in FIG. 1, the application environment of the embodiment of the present application is mainly a networking architecture of GPON family system using time division multiplexing technology for uplink bandwidth allocation, the networking architecture includes OLT (Optical Line Terminal), ODN (Optical Distribution Network), ONU (Optical Network Unit), ONT (Optical network terminal), MDU (Multiple Dwelling Unit) and the like.
[0034] It should be further explained that the GPON system belongs to a point to multiple point (P2MP) architecture, and the uplink usually adopts time division multiplexing (TDM) technology. The OLT is responsible for allocating uplink bandwidth time slots for the ONU, and the ONU can only send uplink data in the time slot allocated by the OLT, as shown in FIG. 2 and FIG. 3.
[0035] Referring to FIG. 4, FIG. 4 is a flowchart of a bandwidth scheduling method provided by the embodiment of the present application, the bandwidth scheduling method can be applied to an electronic device, as shown in FIG. 4, the bandwidth scheduling method provided by the embodiment includes steps S10 to S50.
[0036] Step S10, dividing a target frame into a plurality of subframes according to a preset bandwidth requirement; wherein each subframe corresponds to a subframe configuration table and a high priority entry configuration table respectively;
[0037] In the embodiment, the execution subject is an optical line terminal (OLT) in the networking architecture, the preset bandwidth requirement is determined by the related service, and the target frame, i.e., a frame that needs to be scheduled, can be a next frame of a current frame or any frame after the current frame.
[0038] As an example, the related service can be a TSN service. After the preset bandwidth requirement is determined, the optical line terminal can configure a subframe configuration table as shown in FIG. 6 and a high-priority entry configuration table as shown in FIG. 7 based on the bandwidth requirement, and then flexibly divide the target frame to be processed into a number of subframes and high-priority time slot regions according to the information contained in the two configuration tables. Each subframe corresponds to a subframe configuration table and a high-priority entry configuration table respectively. The two configuration tables contain information such as the serial number of the corresponding subframe, an end-of-frame flag, the number of high-priority bandwidth entries, the start and end positions of the sub-priority and low-priority regions, a subframe start flag, a subframe end flag, and high-priority entry content. It can be understood that the table entry content in the subframe configuration table in FIG. 6 and the high-priority entry configuration table in FIG. 7 is only an example. Other configuration tables with similar functions can also be flexibly configured on this basis. These configuration tables that are basically consistent with the concept of the embodiment should all belong to the protection scope of the embodiment.
[0039] As an example, with reference to FIGS. 5 to 9, in the embodiment, for high-priority service T-CONT (Traffic Container, Ethernet transmission service capacity), the bandwidth time slots are allocated in the high-priority region (light region in FIG. 5), and the FBA mechanism is used for scheduling to achieve multiple bursts at a fixed time within a frame (note that the number of bursts within a frame is less than or equal to the number of divided subframes within a frame), thereby breaking through the bottleneck that the traditional DBA uplink delay is greater than one frame (125 us). At the same time, when the target frame is divided into multiple subframes, the TSN service characteristics can be combined to flexibly adjust the division of the subframes and their time slot regions, and the bandwidth entry time slots of the FBA (the bandwidth entry content and format are shown in FIGS. 8 and 9) are configured to match the TSN service, thereby minimizing the delay and jitter (the minimum delay can be reduced to about 10 us). For ordinary service T-CONT, the bandwidth time slots are allocated in the non-high-priority region (dark region in FIG. 5), and the traditional DBA mechanism is used for scheduling to achieve maximum effective utilization of bandwidth.
[0040] In step S20, the available bandwidth of the target frame is calculated according to the information collected by the optical network.
[0041] In the embodiment, the optical network collection information can include DBRU (dynamic bandwidth report uplink, used for reporting the status of T-CONT, in order to apply bandwidth next time, complete dynamic bandwidth allocation of ONU) reported by ONU or dynamic traffic monitored by OLT side. In the case that the OLT obtains any one of the above optical network collection information, the OLT can calculate the bandwidth allocated to the target frame, i.e. the allocable bandwidth, and the allocable bandwidth is used to calculate the non-high priority bandwidth entry.
[0042] In step S30, the bandwidth entry priority of the target subframe is determined according to the high priority entry configuration table of the target subframe, the subframe configuration table and the allocable bandwidth of the target subframe.
[0043] In the embodiment, the OLT performs bandwidth scheduling on each subframe in the target frame in turn. The embodiment takes one subframe in the multiple subframes, i.e. the target subframe, as an example. Before the bandwidth scheduling, the bandwidth entry priority order of the target subframe, i.e. the high priority bandwidth entry, the sub-priority bandwidth entry and the low priority bandwidth entry, is determined according to the information obtained in the foregoing steps.
[0044] In step S40, the bandwidth entries of the target subframe are sequentially carried into the preset bandwidth mapping table according to the bandwidth entry priority of the target subframe.
[0045] In the embodiment, after the bandwidth entry priority order of the target subframe is determined, the high priority bandwidth entry, the sub-priority bandwidth entry and the low priority bandwidth entry are sequentially carried into the BWMAP table (i.e. the preset bandwidth mapping table, Bandwidth Management MAP) according to the order. Through the BWMAP table, the network administrator can monitor and control different types of traffic to ensure that the key applications and services obtain the necessary bandwidth and priority.
[0046] In step S50, in the case that the target subframe is the last subframe of the target frame, all the bandwidth entries of the target frame stored in the bandwidth mapping table are sent to the optical network unit.
[0047] It should be noted that in the embodiment, the OLT starts to send the bandwidth entries belonging to the frame stored in the BWMAP table to the optical network unit ONU only after completing the bandwidth scheduling on all the subframes in the frame.
[0048] In some possible embodiments, the above step S30 can include: step S31, determining the high priority bandwidth entry of the target subframe according to the high priority entry configuration table of the target subframe; and step S32, determining the non-high priority bandwidth entry of the target subframe according to the subframe configuration table and the allocable bandwidth of the target subframe.
[0049] In some possible embodiments, the step S31 can include: a step S311 of extracting the high-priority entry content of the target subframe from the high-priority entry configuration table of the target subframe; and a step S312 of determining the high-priority bandwidth entry of the target subframe based on the high-priority entry content.
[0050] In some possible embodiments, the step S32 can include: a step S321 of obtaining the bandwidth slot of the non-high-priority area in the target subframe from the subframe configuration table of the target subframe; and a step S322 of calculating the non-high-priority bandwidth entry of the target subframe based on the bandwidth slot of the non-high-priority area and the allocatable bandwidth.
[0051] It can be understood that, in the present embodiment, the OLT can determine the high-priority entry content of the target subframe by querying the high-priority entry configuration table shown in FIG. 7, and then determine the high-priority bandwidth entry of the target subframe; the OLT can obtain the bandwidth slot of the non-high-priority (for example, the suboptimal and low-priority) area in the target subframe by querying the subframe configuration table shown in FIG. 6, according to the position of the end of the suboptimal and low-priority area in the target subframe and the position of the start of the suboptimal and low-priority area in the target subframe, and then determine the non-high-priority bandwidth entry (for example, the suboptimal and low-priority bandwidth entry) of the target subframe by combining the bandwidth slot of the non-high-priority area and the allocatable bandwidth calculated in the foregoing step.
[0052] Referring to FIG. 10, in some possible embodiments, after the step S40, the bandwidth scheduling method can further include: a step S41 of determining whether the target subframe is the last subframe of the target frame according to the subframe configuration table or the high-priority entry configuration table of the target subframe; and a step S42 of performing bandwidth scheduling on a next subframe located after the target subframe in the target frame in a case where the target subframe is not the last subframe of the target frame.
[0053] It can be understood that, since the OLT will start sending the bandwidth entries belonging to the frame and stored in the BWMAP table to the optical network unit ONU only after completing the bandwidth scheduling on all the subframes in the frame, if the target subframe is not the last subframe in the frame, it is necessary to continue performing bandwidth scheduling on other subframes in the target frame, until completing the bandwidth scheduling on all the subframes in the frame, and then performing the step S50, that is, starting to send the bandwidth entries belonging to the frame and stored in the BWMAP table to the optical network unit ONU.
[0054] In some possible embodiments, the step of performing bandwidth scheduling on the next subframe after the target subframe in the target frame in step S42 can include: step S421, determining bandwidth entry priorities of the next subframe according to the high-priority entry configuration table, the subframe configuration table and the allocatable bandwidth of the next subframe; step S422, sequentially transferring the bandwidth entries of the next subframe to the bandwidth mapping table according to the bandwidth entry priorities of the next subframe; and step S423, determining whether the next subframe is the last subframe of the target frame.
[0055] In some possible embodiments, after step S40, the bandwidth scheduling method can further include: step S51, performing bandwidth scheduling on a next frame of the target frame in a case where the target subframe is the last subframe of the target frame.
[0056] In some possible embodiments, the step of performing bandwidth scheduling on the next frame of the target frame in step S51 can include: step S511, taking the next frame of the target frame as a new target frame, and performing the step of dividing the target frame into a plurality of subframes according to the preset bandwidth requirement.
[0057] It can be understood that, in this embodiment, the bandwidth scheduling method for the next subframe of the target subframe is basically the same as the bandwidth scheduling method for the target subframe, and the difference lies in that the subframe configuration table and the high-priority bandwidth entry configuration table corresponding to different subframes are also different.
[0058] As an example, the overall implementation process of each of the above embodiments can be understood in combination with FIG. 11. The processes in FIG. 11 are basically the same as the steps mentioned in the above embodiments, and will not be described here again.
[0059] In addition, the bandwidth scheduling method provided in this embodiment can be evolved to generate bandwidth entries of multiple frames at a time, or completely adjust the service configuration through an external module or device. These improved schemes that are basically the same as the technical concept of the bandwidth scheduling method provided in this embodiment should also belong to the protection scope of this embodiment.
[0060] The embodiment provides a bandwidth scheduling method. By introducing the concept of a subframe, and by dividing different-priority service areas in the subframe, the characteristics of fixed bandwidth allocation and dynamic bandwidth allocation are combined to finely carry different services, meet different requirements of different services on bandwidth, time delay and jitter, break through the bottleneck that the time delay of a traditional GPON system is greater than 125 us, significantly reduce the time delay and jitter of corresponding services, and realize maximum effective utilization of bandwidth.
[0061] The embodiment can be applied in a GPON / XGPON / XGSPON / HSPON (50GPON) system, and can break through the bottleneck that the uplink service time delay of a traditional GPON system is higher than 125us, and can significantly reduce the jitter of the uplink service of the GPON system, and can use a flexible and efficient uplink transmission scheduling method to adapt to different requirements of the user on the time delay, jitter and bandwidth of the corresponding service.
[0062] In addition, the embodiment of the application further provides a bandwidth scheduling device. Referring to FIG. 12, FIG. 12 is a structural schematic diagram of a bandwidth scheduling device according to the embodiment of the application. As shown in FIG. 12, in the embodiment, the bandwidth scheduling device comprises a configuration module 100, a calculation module 200, a scheduling module 300 and a sending module 400.
[0063] The configuration module 100 is configured to divide a target frame into a plurality of subframes according to a preset bandwidth requirement; wherein each subframe corresponds to a subframe configuration table and a high-priority entry configuration table.
[0064] The calculation module 200 is configured to calculate the allocable bandwidth of the target frame according to optical network acquisition information.
[0065] The scheduling module 300 is configured to determine the bandwidth entry priority of a target subframe according to the high-priority entry configuration table, the subframe configuration table and the allocable bandwidth of the target subframe in each subframe; and sequentially carry the bandwidth entries of the target subframe to a preset bandwidth mapping table according to the bandwidth entry priority of the target subframe.
[0066] The sending module 400 is configured to send all the bandwidth entries of the target frame stored in the bandwidth mapping table to an optical network unit in a case that the target subframe is the last subframe of the target frame.
[0067] The bandwidth scheduling device provided by the embodiment belongs to the same technical concept as the bandwidth scheduling method provided by the above-described embodiments, and the technical details not described in detail in the embodiment can be referred to the above-described any embodiment, and the embodiment has the same beneficial effects as the bandwidth scheduling method.
[0068] The device embodiments described above are only schematic, and the units described as separate components can or can not be physically separate, that is, can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment.
[0069] In addition, the application further provides an electronic device, and the bandwidth scheduling method applied to the electronic device can be executed by a bandwidth scheduling device, which can be implemented by software and / or hardware and integrated in the electronic device. The electronic device can be a PC (personal computer), a mobile phone, a notebook computer, a tablet computer, or the like, which can communicate with a network side.
[0070] Referring to FIG. 13, FIG. 13 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the application. As shown in FIG. 13, the electronic device can include a processor 1001, for example, a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is configured to realize the connection and communication between the components. The user interface 1003 can include a display, an input unit such as a keyboard, and optionally a standard wired interface and a wireless interface. The network interface 1004 can optionally include a standard wired interface and a wireless interface (for example, a WIreless-FIdelity (WI-FI) interface). The memory 1005 can be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), for example, a disk memory. The memory 1005 can also be a storage device independent of the processor 1001.
[0071] Those skilled in the art can understand that the structure shown in FIG. 13 does not constitute a limitation on the electronic device, and can include more or fewer components than those shown, or combine certain components, or different component arrangements. As shown in FIG. 13, the memory 1005 as a storage medium can include an operating system, a data storage module, a network communication module, a user interface module, and a computer program.
[0072] In the electronic device shown in FIG. 13, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the embodiment can be arranged in the electronic device, and the electronic device calls the computer program stored in the memory 1005 by the processor 1001, and executes the bandwidth scheduling method applied to the electronic device provided in any of the above embodiments.
[0073] The electronic device provided in the embodiment belongs to the same technical concept as the bandwidth scheduling method applied to the electronic device provided in the above embodiment, and the technical details not described in detail in the embodiment can be seen from any of the above embodiments, and the embodiment has the same beneficial effects as the bandwidth scheduling method.
[0074] In addition, the embodiment of the present application further provides a computer readable storage medium, which can be a non-volatile computer readable storage medium, and the computer readable storage medium stores a computer program. When the computer program is executed by a processor, the bandwidth scheduling method provided in any of the above embodiments is implemented.
[0075] Those skilled in the art can understand that all or some steps in the above disclosed method and system can be implemented as software, firmware, hardware and appropriate combinations thereof. Some or all physical components can be implemented as software executed by a processor such as a central processing unit, a digital signal processor or a 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 transitory media). As 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 storage of 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 technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. In addition, as known to those skilled in the art, communication media generally includes 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 can include any information delivery medium.
[0076] The above is a specific description of some embodiments of the present application, but the embodiments of the present application are not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or replacements without departing from the spirit of the embodiments of the present application, and these equivalent modifications or replacements are all included in the scope defined by the claims of the embodiments of the present application.
Claims
1. A bandwidth scheduling method, comprising: dividing a target frame into a plurality of sub-frames according to preset bandwidth requirements, wherein each of the sub-frames corresponds to a sub-frame configuration table and a high priority entry configuration table; calculating an allocatable bandwidth of the target frame according to optical network collection information; determining bandwidth entry priorities of a target sub-frame in the target frame according to the high priority entry configuration table, the sub-frame configuration table of the target sub-frame, and the allocatable bandwidth; carrying bandwidth entries of the target sub-frame into a preset bandwidth mapping table according to the bandwidth entry priorities of the target sub-frame; in a case where the target sub-frame is the last sub-frame of the target frame, sending all bandwidth entries of the target frame stored in the bandwidth mapping table to an optical network unit.
2. The bandwidth scheduling method of claim 1, wherein, The step of determining the bandwidth entry priorities of the target sub-frame according to the high priority entry configuration table, the sub-frame configuration table of the target sub-frame, and the allocatable bandwidth comprises: determining high priority bandwidth entries of the target sub-frame according to the high priority entry configuration table of the target sub-frame; determining non-high priority bandwidth entries of the target sub-frame according to the sub-frame configuration table of the target sub-frame and the allocatable bandwidth.
3. The bandwidth scheduling method of claim 2, wherein, The step of determining the high priority bandwidth entries of the target sub-frame according to the high priority entry configuration table of the target sub-frame comprises: extracting high priority entry content of the target sub-frame from the high priority entry configuration table of the target sub-frame; determining the high priority entry content as the high priority bandwidth entries of the target sub-frame.
4. The bandwidth scheduling method of claim 2, wherein, The step of determining the non-high priority bandwidth entries of the target sub-frame according to the sub-frame configuration table of the target sub-frame and the allocatable bandwidth comprises: obtaining bandwidth time slots of a non-high priority area in the target sub-frame from the sub-frame configuration table of the target sub-frame; calculating the non-high priority bandwidth entries of the target sub-frame based on the bandwidth time slots of the non-high priority area and the allocatable bandwidth.
5. The bandwidth scheduling method of claim 1, wherein, After the step of carrying the bandwidth entries of the target sub-frame into the preset bandwidth mapping table according to the bandwidth entry priorities of the target sub-frame, the bandwidth scheduling method further comprises: judging whether the target sub-frame is the last sub-frame of the target frame according to the sub-frame configuration table or the high priority entry configuration table of the target sub-frame; in a case where the target sub-frame is not the last sub-frame of the target frame, performing bandwidth scheduling on a next sub-frame after the target sub-frame in the target frame.
6. The bandwidth scheduling method of claim 5, wherein, The step of performing bandwidth scheduling on the next sub-frame after the target sub-frame in the target frame comprises: determining bandwidth entry priorities of the next sub-frame according to the high priority entry configuration table, the sub-frame configuration table of the next sub-frame, and the allocatable bandwidth; carrying bandwidth entries of the next sub-frame into the bandwidth mapping table according to the bandwidth entry priorities of the next sub-frame; judging whether the next sub-frame is the last sub-frame of the target frame.
7. The bandwidth scheduling method of claim 1, wherein, After the step of sequentially transporting the bandwidth entries of the target subframes to the preset bandwidth mapping table according to the entry priority of the bandwidth entries of the target subframes, the bandwidth scheduling method further comprises: In the case that the target subframe is the last subframe in the target frame, performing bandwidth scheduling on a next frame of the target frame.
8. The bandwidth scheduling method of claim 7, wherein, The step of performing bandwidth scheduling on the next frame of the target frame comprises: Taking the next frame of the target frame as a new target frame, performing the step of dividing the target frame into a plurality of subframes according to the preset bandwidth requirement.
9. An electronic device comprising: A memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to implement the bandwidth scheduling method according to any one of claims 1 to 8. 10.A computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the bandwidth scheduling method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Resource scheduling method, device and system based on passive optical network (PON)
CN116367023A
Single-frame multi-burst distribution method and burst frame uplink method in optical fronthaul network
CN116634313A
Optical line terminal and an optical network unit
US20220149933A1
Data transmission method and apparatus
WO2023246416A1