Dynamic bandwidth management method and device
By dividing the scheduling cycle of the MCU into independent time slots in the WDM-PON system, and dynamically scheduling the packet transmission of the target SBU according to the bandwidth requirements of the SBU, the problem of bandwidth waste in the WDM-PON system is solved and the bandwidth utilization rate is improved .
Patent Information
- Application Number
- CN202411498409.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-02-07
AI Technical Summary
In the WDM-PON system, since each ONU has exclusive wavelength channel bandwidth, even if a certain ONU has no data transmission at a certain moment, its wavelength channel is still idle and cannot be used by other ONUs, resulting in wasted bandwidth.
By dividing the scheduling period of the OLT MCU into multiple independent time slots, the MCU synchronizes time with the physical layer interface SBU of multiple wavelength channels, and dynamically determines the target SBU and its message transmission start time according to the bandwidth requirements of the SBU. Schedules the packet transmission of the target SBU in an independent time slot.
It realizes the careful management of bandwidth resources in the time dimension, so that different SBUs can use wavelength channels in different time slots according to needs, avoiding the wavelength channels being idle for a long time, improving bandwidth utilization, and reducing bandwidth waste.
Smart Images

Figure CN119402779A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a dynamic bandwidth management method and device. Background Art
[0002] Wavelength Division Multiplexing Passive Optical Network (WDM-PON) is a fiber access technology that combines wavelength division multiplexing (WDM) technology and passive optical network (PON) topology.
[0003] In the WDM-PON system, since each optical network unit (ONU) has its own wavelength channel bandwidth, even if an ONU has no data to send at a certain moment, its wavelength channel is still idle and cannot be used by other ONUs. This results in a waste of bandwidth. In addition, considering the burstiness and discontinuity of Ethernet communication, there may be a large waste of export bandwidth in actual use, resulting in high costs.
[0004] Therefore, there is an urgent need for a dynamic bandwidth management method and device to solve the above problems. Summary of the invention
[0005] In view of the problems existing in the prior art, the present invention provides a dynamic bandwidth management method and device.
[0006] The present invention provides a dynamic bandwidth management method, which is applied to a wavelength division multiplexing passive optical network system, wherein a micro control unit MCU of an optical line terminal OLT in the wavelength division multiplexing passive optical network system is communicatively connected with a physical layer interface SBU of a plurality of wavelength channels, and the method comprises: Divide the MCU's scheduling cycle into a target number of independent time slots; In response to a bandwidth requirement of at least one SBU in the independent time slot, determining a target SBU in the independent time slot and a message transmission start time of the target SBU in the independent time slot; The message transmission of the target SBU in the independent time slot is scheduled based on the message transmission start time of each target SBU in the independent time slot.
[0007] According to a dynamic bandwidth management method provided by the present invention, the method further includes: completing time synchronization of the MCU with all SBUs under the independent time slot in the time synchronization area of the independent time slot, determining a target SBU under the independent time slot, and configuring a member number of the target SBU under the independent time slot, wherein one target SBU may be configured with one or more member numbers; Identify the message transmission direction of the target SBU corresponding to each member number under the read / write identification area of the independent time slot; The message transmission start time of the target SBU corresponding to each member number is specified in the time identification area of the independent time slot.
[0008] According to a dynamic bandwidth management method provided by the present invention, the method further includes: Based on the message transmission start time of the target SBU corresponding to each member number in the data transmission area of the independent time slot, the message transmission duration of each target SBU in the data transmission area of the independent time slot is determined.
[0009] According to a dynamic bandwidth management method provided by the present invention, the time synchronization area includes a synchronization timestamp area and a member allocation area, and the method further includes: Sending a leading number synchronization message to all SBUs under the independent time slot in the synchronization timestamp area of the independent time slot to achieve time synchronization between the MCU and all SBUs under the independent time slot; A target SBU under the independent time slot is determined under the member allocation area of the independent time slot, and a member number of the target SBU under the independent time slot is configured.
[0010] According to a dynamic bandwidth management method provided by the present invention, the step of determining a target SBU in the independent time slot in response to a bandwidth requirement of at least one SBU in the independent time slot includes: In response to a bandwidth requirement of at least one SBU in the independent time slot, determining whether a total bandwidth requested by all SBUs in the independent time slot is greater than a total bandwidth of the MCU; In a case where the total bandwidth applied for by all SBUs in the independent time slot is not greater than the total bandwidth of the MCU, determining that all SBUs in the independent time slot are target SBUs in the independent time slot; When the total bandwidth applied by all SBUs in the independent time slot is greater than the total bandwidth of the MCU, the target SBU in the independent time slot is screened out from all SBUs in the independent time slot based on the service quality priority, wherein the total bandwidth applied by the target SBU is not greater than the total bandwidth of the MCU.
[0011] A dynamic bandwidth management method provided by the present invention also includes: In response to an access request of an ONU optical network unit, determining that the maximum bandwidth of a wavelength channel accessed by the ONU is the maximum bandwidth of an SBU of the wavelength channel accessed by the ONU; The maximum bandwidth of the SBU is divided into the target number of independent time slots.
[0012] The present invention also provides a dynamic bandwidth management device, which is applied to a wavelength division multiplexing passive optical network system, wherein a micro control unit MCU of an optical line terminal OLT in the wavelength division multiplexing passive optical network system is communicatively connected with a physical layer interface SBU of a plurality of wavelength channels, and the device comprises: A first dynamic bandwidth management module, used to divide the scheduling cycle of the MCU into a target number of independent time slots; A second dynamic bandwidth management module, configured to determine a target SBU in the independent time slot and a message transmission start time of the target SBU in the independent time slot in response to a bandwidth demand of at least one SBU in the independent time slot; The third dynamic bandwidth management module is used to schedule the message transmission of the target SBU in the independent time slot based on the message transmission start time of each target SBU in the independent time slot.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned dynamic bandwidth management methods is implemented.
[0014] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the dynamic bandwidth management method as described above is implemented.
[0015] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the above-mentioned dynamic bandwidth management methods.
[0016] The dynamic bandwidth management method and device provided by the present invention can manage bandwidth resources more meticulously in the time dimension by dividing a scheduling cycle of the MCU of the OLT into multiple independent time slots, so that different SBUs (i.e., ONUs) can use wavelength channels in different time slots according to needs, effectively avoiding the wavelength channels from being idle for a long time and improving bandwidth utilization. In each time slot, the target SBU and its message transmission start time are dynamically determined according to the bandwidth demand of the SBU, and based on the message transmission start time of each target SBU in the independent time slot, the message transmission of the target SBU in the independent time slot is scheduled. In this way, when a certain SBU has a data transmission demand, the MCU will allocate an independent time slot for it and determine the start time of the message transmission, so that the bandwidth resources can be dynamically adjusted according to actual needs, avoiding bandwidth waste. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 It is a schematic diagram of the ODN transmission structure provided by the present invention.
[0019] Figure 2 It is a flow chart of the dynamic bandwidth management method provided by the present invention.
[0020] Figure 3 It is a structural schematic diagram of the dynamic bandwidth management device provided by the present invention.
[0021] Figure 4 It is a schematic diagram of a scenario of dynamic bandwidth allocation time slot distribution provided by the present invention.
[0022] Figure 5 It is a schematic diagram of a scenario of a single time slot slice for dynamic bandwidth allocation provided by the present invention.
[0023] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] Wavelength division multiplexing passive optical network (WDM-PON) is a fiber access technology that combines wavelength division multiplexing (WDM) technology and the topology of passive optical network (PON). It uses wavelength division multiplexing technology to transmit multiple optical signals of different wavelengths on the same optical fiber.
[0026] The Optical Network Unit (ONU) is a user-side device in the optical fiber access network. It is located between the Optical Distribution Network (ODN) and the user equipment and is a key component of the optical fiber communication system. The ONU is responsible for converting optical signals into electrical signals that can be used by users, providing users with high-speed and stable data transmission services.
[0027] The Optical Line Terminal (OLT) is the central node in the WDM-PON system, which is responsible for managing the entire passive optical network PON. Figure 1 The ODN transmission structure provided by the present invention is shown in the schematic diagram. OLT is one of the core devices in the WDM-PON system, responsible for converting data from the upper network (such as a metropolitan area network or a wide area network) into optical signals and transmitting them to each ONU through the ODN.
[0028] Among them, the microcontroller unit (MCU) is a key component in the optical line terminal OLT. It is responsible for performing tasks such as network management, control and scheduling. For example, the MCU is responsible for processing signals from each ONU, managing wavelength allocation, and performing operations such as bandwidth allocation and flow control. The optical line terminal OLT also includes a physical layer interface (ServiceBearer Unit, SBU for short), which is responsible for processing signals related to a specific wavelength channel. The microcontroller unit MCU in the optical line terminal OLT communicates with each optical network unit ONU through the physical layer interface SBU. Each physical layer interface SBU corresponds to one or more wavelength channels, and the microcontroller unit MCU is responsible for controlling the bandwidth allocation of these physical layer interface SBUs to achieve the allocation and management of wavelength channels.
[0029] In the related art, in the WDM-PON system, since each optical network unit (ONU) exclusively uses the wavelength channel bandwidth, even if an ONU has no data to send at a certain moment, its wavelength channel is still idle and cannot be used by other ONUs. This results in a waste of bandwidth. For example, taking a WDM-PON system in which each PON port supports 40 independent wavelength channels, the independent bandwidth of each PON port is 40G, and the bandwidth requirement for supporting 4 / 8 / 16 PON ports is 160G / 320G / 640G. Considering the burstiness and discontinuity of Ethernet communication, there may be a large waste of export bandwidth in actual use, and the cost is high.
[0030] In view of this, the present invention provides a dynamic bandwidth management method, which is applied to the wavelength division multiplexing passive optical network system mentioned above, wherein the micro control unit MCU of the optical line terminal OLT in the wavelength division multiplexing passive optical network system is communicatively connected with the physical layer interface SBU of multiple wavelength channels. The dynamic bandwidth management method proposed in the present invention can realize the dynamic adjustment of bandwidth resources according to actual needs through the scheduling of each SBU by the MCU, thereby avoiding the waste of bandwidth.
[0031] Figure 2 is a flow chart of the dynamic bandwidth management method provided by the present invention, such as Figure 2As shown, the method includes the following: Step 210, dividing the scheduling cycle of the MCU into a target number of independent time slots; Here, the scheduling period refers to the time period during which the MCU performs bandwidth allocation and resource management. During this scheduling period, the OLT will allocate bandwidth resources to the SBU corresponding to each ONU based on the bandwidth requirements of each ONU and network conditions.
[0032] In this embodiment, the scheduling cycle of the MCU is subdivided into a plurality of independent time slots, and the MCU determines the target number of independent time slots that can be divided in each scheduling cycle according to the processing capability of the system.
[0033] It should be understood that these independent time slots constitute the basic unit of bandwidth allocation, and each independent time slot has a clear start and end time. By dividing independent time slots, the MCU can allocate bandwidth resources more flexibly and reduce bandwidth waste caused by fixed allocation.
[0034] refer to Figure 3 In a 1-second scheduling cycle, the total bandwidth resources that the MCU can provide are 40Gbps (gigabits per second). According to the system processing capability, 1 second is divided into 8,000 independent time slots (SLOTs for short), and the time window of each SLOT is 125us.
[0035] Step 220, in response to the bandwidth requirement of at least one SBU in the independent time slot, determining the target SBU in the independent time slot and the message transmission start time of the target SBU in the independent time slot; Here, the bandwidth requirement of the SBU refers to the data length in the physical buffer of the SBU.
[0036] In this step, the system monitors and responds to the bandwidth requirements from each SBU in each independent time slot. When the ONU has a data transmission request, the SBU of the ONU will send a bandwidth requirement to the MCU. After receiving these bandwidth requirements, the MCU will determine which SBUs (i.e., target SBUs) are allowed to send data in the independent time slot based on the current MCU bandwidth allocation, SBU service quality priority and other scheduling policies, and set the message transmission start time for each target SBU.
[0037] Step 230: Schedule the message transmission of the target SBU in the independent time slot based on the message transmission start time of each target SBU in the independent time slot.
[0038] The MCU schedules the target SBUs to transmit messages in the independent time slots assigned to them according to the previously determined message transmission start time. Through precise time scheduling, each target SBU can use the bandwidth efficiently in the specified time slot to avoid conflicts and waste.
[0039] The dynamic bandwidth management method provided by the present invention can manage bandwidth resources more meticulously in the time dimension by dividing the scheduling cycle of the MCU of the OLT into independent time slots, so that different SBUs (i.e., ONUs) can use wavelength channels in different time slots according to needs, effectively avoiding the wavelength channels from being idle for a long time and improving bandwidth utilization. In each time slot, the target SBU and its message transmission start time are dynamically determined according to the bandwidth demand of the SBU, and based on the message transmission start time of each target SBU in the independent time slot, the message transmission of the target SBU in the independent time slot is scheduled. In this way, when a certain SBU has a data transmission demand, the MCU will allocate an independent time slot for it and determine the start time of the message transmission, so that the bandwidth resources can be dynamically adjusted according to actual needs, avoiding bandwidth waste.
[0040] In one embodiment, the method further comprises: completing time synchronization of the MCU with all SBUs under the independent time slot in the time synchronization area of the independent time slot, determining a target SBU under the independent time slot, and configuring a member number of the target SBU under the independent time slot, wherein one target SBU may be configured with one or more member numbers; Identify the message transmission direction of the target SBU corresponding to each member number under the read / write identification area of the independent time slot; The message transmission start time of the target SBU corresponding to each member number is specified in the time identification area of the independent time slot.
[0041] In this embodiment, each independent time slot is further divided into a plurality of main functional areas, including the following: Time synchronization area: In the time synchronization area of the independent time slot, the MCU performs time synchronization operations with all SBUs. This is to ensure that there is precise time alignment between the MCU and the SBU, so that the MCU can accurately schedule the SBU to start data transmission at the specified time. After time synchronization, the MCU determines which SBUs will become the target SBUs for the independent time slot and configures member numbers for them. The member number is the unique identifier of the target SBU in a specific independent time slot and is used to distinguish different target SBUs during data transmission. Here, a target SBU can be configured with one or more member numbers, that is, a target SBU can complete one or more data transmissions in an independent time slot.
[0042] Read / write identification area: In the read / write identification area of the independent time slot, the MCU will set the direction of message transmission for each SBU corresponding to the member number, that is, message uplink or message downlink. By identifying the transmission direction, the MCU can effectively control the data flow and avoid confusion and conflict in data transmission.
[0043] Time stamp area: In the time stamp area of the independent time slot, the MCU specifies the message transmission start time for each SBU corresponding to the member number. By specifying the precise message transmission start time, the MCU can ensure that all target SBUs in the time slot transmit data according to the scheduled time without interfering with each other.
[0044] In one embodiment, the method further comprises: Based on the message transmission start time of the target SBU corresponding to each member number in the data transmission area of the independent time slot, the message transmission duration of each target SBU in the data transmission area of the independent time slot is determined.
[0045] Furthermore, in this embodiment, a data transmission area is also set under each independent time slot, in which the MCU will allocate the transmission duration according to the message transmission start time previously specified for each target SBU. That is, each SBU is given the ability to monopolize network resources within a specific time period to complete its data transmission.
[0046] In one embodiment, the time synchronization area includes a synchronization timestamp area and a member allocation area, and the method further includes: Sending a leading number synchronization message to all SBUs under the independent time slot in the synchronization timestamp area of the independent time slot to achieve time synchronization between the MCU and all SBUs under the independent time slot; A target SBU under the independent time slot is determined under the member allocation area of the independent time slot, and a member number of the target SBU under the independent time slot is configured.
[0047] In the synchronization timestamp area of the independent time slot, the MCU will send a leading number synchronization message to all SBUs. This message contains synchronization information to help all SBUs and the MCU achieve time synchronization.
[0048] In the member allocation area of the independent time slot, the MCU determines which SBUs will become the target SBUs of the time slot and assigns them member numbers. These member numbers will be used to identify data transmissions of different target SBUs in the data transmission area.
[0049] For ease of understanding, refer to Figure 4 As shown, this embodiment is explained by taking an independent time slot of 125us and dividing 125us into four functional areas as an example.
[0050] 0-5 us is the time synchronization area, which is responsible for completing the time synchronization function between MCU and SBU. The time slot can be further divided into: 0-100ns synchronization timestamp area: the MCU sends a message preamble to fill the synchronization message to all SBUs to complete the synchronization; 100ns-5000ns member allocation area: filled with the member number of the member of the target SBU to which the bandwidth is to be allocated in this independent time slot. Among them, one target SBU can be configured as one member or multiple member members.
[0051] 5-15us is the read-write identification area: filled with the message uplink identification or the message downlink identification, which corresponds one-to-one with the member members in the above time synchronization area.
[0052] 15-25us is the time identification area: it is filled with the message transmission start time identification of each member.
[0053] 25-125us is the data transmission area, and the message transmission start time identifier of the above member is mapped to the message transmission duration of each target SBU.
[0054] The dynamic bandwidth management method provided by the present invention further divides each independent time slot into a plurality of different functional areas, thereby improving the management efficiency of bandwidth, reducing time delay, and ensuring the accuracy and reliability of data transmission of a plurality of SBUs.
[0055] In one embodiment, the determining the target SBU in the independent time slot in response to the bandwidth requirement of at least one SBU in the independent time slot comprises: In response to a bandwidth requirement of at least one SBU in the independent time slot, determining whether a total bandwidth requested by all SBUs in the independent time slot is greater than a total bandwidth of the MCU; In a case where the total bandwidth applied for by all SBUs in the independent time slot is not greater than the total bandwidth of the MCU, determining that all SBUs in the independent time slot are target SBUs in the independent time slot; When the total bandwidth applied by all SBUs in the independent time slot is greater than the total bandwidth of the MCU, the target SBU in the independent time slot is screened out from all SBUs in the independent time slot based on the service quality priority, wherein the total bandwidth applied by the target SBU is not greater than the total bandwidth of the MCU.
[0056] When at least one SBU makes a bandwidth request to the MCU in an independent time slot, the MCU first evaluates the total bandwidth requested by all SBUs in the independent time slot. If the total bandwidth requested by all SBUs does not exceed the total bandwidth capacity of the MCU, the MCU will determine that all SBUs are the target SBUs of the independent time slot.
[0057] If the total bandwidth requested by all SBUs exceeds the total bandwidth capacity of the MCU, the MCU prioritizes the bandwidth requests of the SBUs according to the predetermined quality of service priority strategy, and determines the target SBU for data transmission in the current independent time slot based on the bandwidth requirements of each SBU.
[0058] Specifically, in order of the service quality of the SBU from high to low, based on the bandwidth requirements of the SBU, the message transmission time required by the SBU is determined, and it is determined whether the message transmission time required by this SBU is greater than the remaining available transmission time in the data transmission area under the current independent time slot. If not, the corresponding message transmission time is allocated to this SBU from the remaining available transmission time in the data transmission area under the current independent time slot. If greater, the data that this SBU needs to transmit is allocated to at least two independent time slots, that is, the remaining available transmission time in the data transmission area under the current independent time slot is allocated to this SBU, so that this SBU transmits a part of the data in the current independent time slot, and the other part of the data that this SBU needs to transmit is allocated to the next independent time slot for transmission.
[0059] The dynamic bandwidth management method provided by the present invention ensures that even when bandwidth resources are limited, the MCU can reasonably allocate bandwidth according to the priority of the service and the capacity of the SBU, thereby maximizing the utilization efficiency of network resources and ensuring the quality of high-priority services.
[0060] In one embodiment, it further includes: In response to an access request of an ONU optical network unit, determining that the maximum bandwidth of a wavelength channel accessed by the ONU is the maximum bandwidth of an SBU of the wavelength channel accessed by the ONU; The maximum bandwidth of the SBU is divided into the target number of independent time slots.
[0061] Here, when an ONU sends an access request, the maximum bandwidth that can be supported by the wavelength channel to which the ONU is accessed is determined, and the maximum bandwidth of the SBU corresponding to the wavelength channel is set according to the maximum bandwidth that can be supported by the wavelength channel.
[0062] Then, the maximum bandwidth is divided according to the above-mentioned method of dividing independent time slots of MCU. For example, if MCU divides 1 second into 8000 independent time slots, the maximum bandwidth of SBU is also divided according to 8000 independent time slots, so as to ensure that SBU can complete the full forwarding of business rate within a complete scheduling cycle (1 second) of MCU.
[0063] When SBU has a data transmission request in each independent time slot (i.e. 125us window), it sends a request to MCU, and its request command can be sent in the time synchronization area and read / write identification area under the independent time slot. When SBU has no data transmission request or the transmission is completed, it stops sending the above request command.
[0064] The dynamic bandwidth management device provided by the present invention is described below. The dynamic bandwidth management device provided by the present invention is applied to a wavelength division multiplexing passive optical network system, wherein a micro control unit MCU of an optical line terminal OLT in the wavelength division multiplexing passive optical network system is communicatively connected with a physical layer interface SBU of a plurality of wavelength channels. The dynamic bandwidth management device described below and the dynamic bandwidth management method described above can be referred to each other in correspondence.
[0065] like Figure 5 As shown, the dynamic bandwidth management device includes: a first dynamic bandwidth management module 510 , a second dynamic bandwidth management module 520 and a third dynamic bandwidth management module 530 .
[0066] A first dynamic bandwidth management module 510, configured to divide the scheduling period of the MCU into a target number of independent time slots; A second dynamic bandwidth management module 520, configured to determine a target SBU in the independent time slot and a message transmission start time of the target SBU in the independent time slot in response to a bandwidth demand of at least one SBU in the independent time slot; The third dynamic bandwidth management module 530 is used to schedule the message transmission of the target SBU in the independent time slot based on the message transmission start time of each target SBU in the independent time slot.
[0067] The dynamic bandwidth management device provided by the present invention can manage bandwidth resources more meticulously in the time dimension by dividing the scheduling cycle of the MCU of the OLT into independent time slots, so that different SBUs (i.e., ONUs) can use wavelength channels in different time slots according to needs, effectively avoiding the wavelength channels from being idle for a long time and improving bandwidth utilization. In each time slot, the target SBU and its message transmission start time are dynamically determined according to the bandwidth demand of the SBU, and based on the message transmission start time of each target SBU in the independent time slot, the message transmission of the target SBU in the independent time slot is scheduled. In this way, when a certain SBU has a data transmission demand, the MCU will allocate an independent time slot for it and determine the start time of the message transmission, so that the bandwidth resources can be dynamically adjusted according to actual needs, avoiding bandwidth waste.
[0068] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communications interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the dynamic bandwidth management method, which is applied to a wavelength division multiplexing passive optical network system, wherein the micro control unit MCU of the optical line terminal OLT in the wavelength division multiplexing passive optical network system is in communication connection with the physical layer interface SBU of multiple wavelength channels, and the method includes: Divide the MCU's scheduling cycle into a target number of independent time slots; In response to a bandwidth requirement of at least one SBU in the independent time slot, determining a target SBU in the independent time slot and a message transmission start time of the target SBU in the independent time slot; The message transmission of the target SBU in the independent time slot is scheduled based on the message transmission start time of each target SBU in the independent time slot.
[0069] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0070] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the dynamic bandwidth management method provided by the above methods, the method is applied to a wavelength division multiplexing passive optical network system, wherein the micro control unit MCU of the optical line terminal OLT in the wavelength division multiplexing passive optical network system is communicatively connected with the physical layer interface SBU of multiple wavelength channels, the method includes: Divide the MCU's scheduling cycle into a target number of independent time slots; In response to a bandwidth requirement of at least one SBU in the independent time slot, determining a target SBU in the independent time slot and a message transmission start time of the target SBU in the independent time slot; The message transmission of the target SBU in the independent time slot is scheduled based on the message transmission start time of each target SBU in the independent time slot.
[0071] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program is implemented when executed by a processor to execute the dynamic bandwidth management method provided by the above methods, the method being applied to a wavelength division multiplexing passive optical network system, wherein a micro control unit MCU of an optical line terminal OLT in the wavelength division multiplexing passive optical network system is communicatively connected with a physical layer interface SBU of a plurality of wavelength channels, the method comprising: Divide the MCU's scheduling cycle into a target number of independent time slots; In response to a bandwidth requirement of at least one SBU in the independent time slot, determining a target SBU in the independent time slot and a message transmission start time of the target SBU in the independent time slot; The message transmission of the target SBU in the independent time slot is scheduled based on the message transmission start time of each target SBU in the independent time slot.
[0072] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0073] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A dynamic bandwidth management method, characterized in that: The method is applied to a wavelength division multiplexing passive optical network system, wherein a micro control unit MCU of an optical line terminal OLT in the wavelength division multiplexing passive optical network system is communicatively connected with a physical layer interface SBU of a plurality of wavelength channels, and the method comprises: Divide the MCU's scheduling cycle into a target number of independent time slots; In response to a bandwidth requirement of at least one SBU in the independent time slot, determining a target SBU in the independent time slot and a message transmission start time of the target SBU in the independent time slot; The message transmission of the target SBU in the independent time slot is scheduled based on the message transmission start time of each target SBU in the independent time slot.
2. The dynamic bandwidth management method according to claim 1, characterized in that: The method further comprises: completing time synchronization of the MCU with all SBUs under the independent time slot in the time synchronization area of the independent time slot, determining a target SBU under the independent time slot, and configuring a member number of the target SBU under the independent time slot, wherein one target SBU may be configured with one or more member numbers; Identify the message transmission direction of the target SBU corresponding to each member number under the read / write identification area of the independent time slot; The message transmission start time of the target SBU corresponding to each member number is specified in the time identification area of the independent time slot.
3. The dynamic bandwidth management method according to claim 2, characterized in that: The method further comprises: Based on the message transmission start time of the target SBU corresponding to each member number in the data transmission area of the independent time slot, the message transmission duration of each target SBU in the data transmission area of the independent time slot is determined.
4. The dynamic bandwidth management method according to claim 2, characterized in that: The time synchronization area includes a synchronization timestamp area and a member allocation area, and the method further includes: Sending a leading number synchronization message to all SBUs under the independent time slot in the synchronization timestamp area of the independent time slot to achieve time synchronization between the MCU and all SBUs under the independent time slot; A target SBU under the independent time slot is determined under the member allocation area of the independent time slot, and a member number of the target SBU under the independent time slot is configured.
5. The dynamic bandwidth management method according to claim 1, characterized in that: The step of determining a target SBU in the independent time slot in response to a bandwidth requirement of at least one SBU in the independent time slot comprises: In response to a bandwidth requirement of at least one SBU in the independent time slot, determining whether a total bandwidth requested by all SBUs in the independent time slot is greater than a total bandwidth of the MCU; In a case where the total bandwidth applied for by all SBUs in the independent time slot is not greater than the total bandwidth of the MCU, determining that all SBUs in the independent time slot are target SBUs in the independent time slot; When the total bandwidth applied by all SBUs in the independent time slot is greater than the total bandwidth of the MCU, the target SBU in the independent time slot is screened out from all SBUs in the independent time slot based on the service quality priority, wherein the total bandwidth applied by the target SBU is not greater than the total bandwidth of the MCU.
6. The dynamic bandwidth management method according to claim 1, characterized in that: Also includes: In response to an access request of an ONU optical network unit, determining that the maximum bandwidth of a wavelength channel accessed by the ONU is the maximum bandwidth of an SBU of the wavelength channel accessed by the ONU; The maximum bandwidth of the SBU is divided into the target number of independent time slots.
7. A dynamic bandwidth management device, characterized in that: The invention is applied to a wavelength division multiplexing passive optical network system, wherein a micro control unit MCU of an optical line terminal OLT in the wavelength division multiplexing passive optical network system is communicatively connected with a physical layer interface SBU of a plurality of wavelength channels, and the device comprises: A first dynamic bandwidth management module, used to divide the scheduling cycle of the MCU into a target number of independent time slots; A second dynamic bandwidth management module, configured to determine a target SBU in the independent time slot and a message transmission start time of the target SBU in the independent time slot in response to a bandwidth demand of at least one SBU in the independent time slot; The third dynamic bandwidth management module is used to schedule the message transmission of the target SBU in the independent time slot based on the message transmission start time of each target SBU in the independent time slot.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the dynamic bandwidth management method according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the dynamic bandwidth management method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the dynamic bandwidth management method according to any one of claims 1 to 6 is implemented.