Search

CN-122027481-A - Bandwidth allocation method, system, device, storage medium and product

CN122027481ACN 122027481 ACN122027481 ACN 122027481ACN-122027481-A

Abstract

The invention discloses a bandwidth allocation method, a system, equipment, a storage medium and a product. The method comprises the steps that a service management end sends an application request of a service flow to be applied to an arbitration service, the arbitration service responds to the request, service grades are distributed to the service flow to be applied based on service flow occupation state records, bandwidth management information of the service grades is determined, the service grades and the bandwidth management information are issued to the service management end, the service management end updates service flow state records according to the service grades and the bandwidth management information, a corresponding bandwidth distribution algorithm is called based on the service grades of the service flows in the updated service flow state records, target bandwidths of the service flows are calculated, and when preset bandwidth adjustment conditions are met, bandwidths of the service flows are adjusted according to preset priority orders. The method solves the problems of transmission delay, packet loss and poor service quality caused by long-time monopolizing of bandwidth of the elephant flow.

Inventors

  • LIU SHU
  • ZHANG LEI
  • GAO WEI
  • FANG SHAOAN
  • GAO JING
  • ZHANG TONG
  • YANG ZHE

Assignees

  • 中国信息通信研究院

Dates

Publication Date
20260512
Application Date
20260318

Claims (10)

  1. 1. A bandwidth allocation method, applied to a bandwidth allocation system, the bandwidth allocation system including a traffic management end and an arbitration service, the method comprising: the service management end sends a service flow application request to the arbitration service, wherein the service flow application request carries identification information and authentication fields of a service flow to be applied; the arbitration service responds to the service flow application request, distributes service grades for the service flows to be applied based on the service flow occupation state record, determines bandwidth management information of the service grades, and issues the service grades and the bandwidth management information to the service management end; the service management end updates the maintained service flow state record according to the service grade and the bandwidth management information, and invokes a corresponding bandwidth allocation algorithm to calculate the target bandwidth of each service flow based on the service grade of each service flow in the updated service flow state record; And when the service management end meets the preset bandwidth adjustment condition, adjusting the bandwidth of each service flow according to the preset priority order based on the target bandwidth and the service grade of each service flow.
  2. 2. The method of claim 1, wherein the traffic occupancy state record includes identification information of traffic flows, traffic levels, bandwidth indexes, a bandwidth dynamic update identification, and an authentication field, the traffic levels include a first priority level, a second priority level, and a third priority level, wherein the bandwidth indexes of the traffic flows in the second priority level are all greater than a preset bandwidth index of the third priority level, and all the traffic flows in the third priority level share the preset bandwidth index.
  3. 3. The method of claim 2, wherein determining bandwidth management information for the traffic class comprises: if the service level of the service flow to be applied is the second priority level, calculating and distributing bandwidth indexes for each service flow under the second priority level again based on bandwidth index distribution constraint; Wherein the bandwidth index allocation constraint includes that the sum of the bandwidth indexes of all the traffic flows of the second priority level and the preset bandwidth index of the third priority level is 1.
  4. 4. The method according to claim 2, wherein the calculating the target bandwidth of each service flow based on the service class of each service flow in the updated service flow state record by calling a corresponding bandwidth allocation algorithm comprises: And under the condition that all service levels exist based on the updated service levels of the service flows, according to Nash equilibrium conditions, the total income is maximized, based on the bandwidth index of the service flows under the second priority level and the preset bandwidth index of the third priority level, the second target bandwidth of the service flows under the second priority level and the third target bandwidth of the third priority level are calculated, and the first target bandwidth of the service flows of the first priority level is determined as the total bandwidth minus the sum of all second target bandwidths and the third target bandwidth, wherein all the service flows under the third priority level share the third target bandwidth.
  5. 5. The method according to claim 2, wherein the method further comprises: When any service flow ends, the service management end sends an exit request of the service flow to be exited to the arbitration service; and the arbitration service responds to the exit request, updates the occupied state record of the service flow, and resets the bandwidth dynamic update identification of the service flow to be exited.
  6. 6. The method of claim 2, wherein the preset bandwidth adjustment condition comprises detecting that traffic data transmission enters an intermittent period and satisfying a preset identification condition, wherein the preset identification condition comprises that there is a traffic flow of a first priority level or a traffic flow of a second priority level, of which bandwidth is dynamically updated and identified as a preset threshold.
  7. 7. A bandwidth allocation system is characterized by comprising a business management end and an arbitration service, wherein, The service management end is configured to send a service flow application request to the arbitration service, where the service flow application request carries identification information and an authentication field of a service flow to be applied; The arbitration service is used for responding to the service flow application request, distributing service grades to the service flows to be applied based on the service flow occupation state record, determining bandwidth management information of the service grades, and transmitting the service grades and the bandwidth management information to the service management end; The service management end is used for updating the maintained service flow state record according to the service grade and the bandwidth management information, calling a corresponding bandwidth allocation algorithm based on the service grade of each service flow in the updated service flow state record, and calculating the target bandwidth of each service flow; the service management end is used for adjusting the bandwidth of each service flow according to a preset priority order based on the target bandwidth and the service grade of each service flow when the preset bandwidth adjustment condition is met.
  8. 8. An electronic device configured as a traffic management or arbitration service, the electronic device comprising: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the bandwidth allocation method of any one of claims 1-6.
  9. 9. A computer readable storage medium storing computer instructions for causing a processor to implement the bandwidth allocation method of any one of claims 1-6 when executed.
  10. 10. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the bandwidth allocation method of any of claims 1-6.

Description

Bandwidth allocation method, system, device, storage medium and product Technical Field The present invention relates to the field of communications technologies, and in particular, to a bandwidth allocation method, system, device, storage medium, and product. Background Wide area intelligent computing networks (intelligent computing networks) are an important infrastructure to support large-scale distributed intelligent computing tasks. In such networks, there is typically an "elephant flow" (Elephant Flow) that is continuously transmitted for a long period of time and occupies a large amount of network bandwidth. Because the 'elephant flow' continuously occupies bandwidth resources, the newly applied service task often cannot acquire enough bandwidth resources, so that task transmission delay and even failure are caused, and when a plurality of new tasks start transmission simultaneously, network congestion and a large amount of data packet loss are extremely easy to be caused due to lack of an effective bandwidth allocation and scheduling mechanism, so that the service quality (Quality of Service, qoS) of the whole network service is obviously deteriorated. In summary, the current wide area intelligent computing network has the problems of new task transmission delay, packet loss and service quality degradation caused by long-term exclusive bandwidth of the elephant flow. Disclosure of Invention The invention provides a bandwidth allocation method, a system, equipment, a storage medium and a product, which are used for solving the problems of new task transmission delay, packet loss and service quality degradation caused by long-time monopolizing of bandwidth by an elephant flow in the current wide area intelligent computing network. According to an aspect of the present invention, there is provided a bandwidth allocation method applied to a bandwidth allocation system, the bandwidth allocation system including a traffic management end and an arbitration service, the method comprising: the service management end sends a service flow application request to the arbitration service, wherein the service flow application request carries identification information and authentication fields of a service flow to be applied; the arbitration service responds to the service flow application request, distributes service grades for the service flows to be applied based on the service flow occupation state record, determines bandwidth management information of the service grades, and issues the service grades and the bandwidth management information to the service management end; the service management end updates the maintained service flow state record according to the service grade and the bandwidth management information, and invokes a corresponding bandwidth allocation algorithm to calculate the target bandwidth of each service flow based on the service grade of each service flow in the updated service flow state record; And when the service management end meets the preset bandwidth adjustment condition, adjusting the bandwidth of each service flow according to the preset priority order based on the target bandwidth and the service grade of each service flow. According to another aspect of the present invention, there is provided a bandwidth allocation system comprising a traffic management side and an arbitration service, wherein, The service management end is configured to send a service flow application request to the arbitration service, where the service flow application request carries identification information and an authentication field of a service flow to be applied; The arbitration service is used for responding to the service flow application request, distributing service grades to the service flows to be applied based on the service flow occupation state record, determining bandwidth management information of the service grades, and transmitting the service grades and the bandwidth management information to the service management end; The service management end is used for updating the maintained service flow state record according to the service grade and the bandwidth management information, calling a corresponding bandwidth allocation algorithm based on the service grade of each service flow in the updated service flow state record, and calculating the target bandwidth of each service flow; The service management end is used for adjusting the bandwidth of each service flow according to the preset priority order based on the target bandwidth and the service grade of each service flow when the preset bandwidth adjustment condition is met According to another aspect of the present invention, there is provided an electronic device configured as a traffic management side and an arbitration service, the electronic device including: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one proc