Network bandwidth allocation method and related device
By dividing bandwidth units in the computing power network and finely managing it, the problem of bandwidth resource allocation in a multi-tenant environment is solved, and traffic isolation and efficient utilization are achieved.
Patent Information
- Application Number
- CN202411660846.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-11-20
AI Technical Summary
In a multi-tenant environment, data transmission in computing power network involves multiple resource domains and complex network environments, making it difficult to achieve refined management and efficient utilization of bandwidth resource allocation.
By dividing bandwidth units in the resource domain flow control component of the computing power network, and based on the target network bandwidth in the allocation information and the network bandwidth parameters of the proxy host, it is determined to allocate at least one bandwidth unit to the tenant in the target proxy host to achieve refined management of network bandwidth.
Traffic isolation and concurrent adjustment are realized to ensure that data transmission between different tenants does not interfere with each other, and to achieve refined management of network bandwidth and improve resource utilization efficiency.
Smart Images

Figure CN119155186B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of resource allocation, and in particular to a network bandwidth allocation method and related devices. Background Art
[0002] As a new type of information infrastructure, computing network relies on high-speed, mobile, secure and ubiquitous network connections, integrates multi-level computing resources such as communication networks, cloud computing, data, intelligent solutions, edge computing, IoT devices and terminals, blockchain, and combines various emerging digital technologies such as AI, blockchain, cloud computing, big data, edge computing, etc. to provide integrated services such as data perception, transmission, storage, and computing. The computing network can allocate and flexibly schedule computing resources, storage resources, and network resources on demand between cloud computing, communication networks, and edge computing according to business needs.
[0003] The construction of a computing power network has achieved geographically optimized allocation and efficient utilization of data resources.
[0004] However, data transmission in computing networks involves multiple resource domains and complex network environments, especially bandwidth resource allocation in multi-tenant environments, which becomes a major challenge.
[0005] In a multi-tenant environment, the transmission requirements of different tenants vary greatly, and traditional bandwidth management technologies are difficult to achieve refined management and efficient use of resources. Summary of the invention
[0006] In a first aspect, the present application provides a network bandwidth allocation method, which is applied to any resource domain flow control component of a computing network, wherein the computing network includes at least two resource domains, each resource domain is provided with a resource domain flow control component, each resource domain includes at least two proxy hosts, each proxy host includes a plurality of bandwidth units, each bandwidth unit corresponds to a preset unit network bandwidth, and the network bandwidth allocation method includes:
[0007] Receive allocation information of a target network bandwidth allocated to a tenant; the target network bandwidth is the network bandwidth allocated to the tenant by the central flow control component of the computing power network based on a bandwidth request from any tenant in the computing power network;
[0008] Based on the target network bandwidth in the allocation information and according to the network bandwidth parameters of each proxy host in the corresponding resource domain, it is determined to allocate at least one bandwidth unit for the tenant in the target proxy host, and any bandwidth unit corresponds to a unique tenant.
[0009] In a possible implementation, the determining, based on the target network bandwidth in the allocation information and according to the network bandwidth parameters of each proxy host in the corresponding resource domain, to allocate at least one bandwidth unit to the tenant in the target proxy host includes:
[0010] Obtain the network bandwidth parameters of each proxy host in the resource domain;
[0011] Determine a target proxy host according to a preset resource domain bandwidth allocation strategy, the target network bandwidth, and network bandwidth parameters of each proxy host in the resource domain to which it belongs, and the target proxy host can provide network bandwidth for the tenant;
[0012] Determining at least one bandwidth unit in the target proxy host, the at least one bandwidth unit matching a network bandwidth provided by the target proxy host for the tenant;
[0013] The at least one bandwidth unit is allocated to a corresponding tenant.
[0014] In a possible implementation, the method further includes:
[0015] Obtain real-time traffic information of each tenant in the resource domain;
[0016] The real-time traffic information is uploaded to the proxy component of the computing network. When the real-time traffic information does not match the traffic prediction information, the proxy component triggers the training process of the prediction model to make the traffic prediction information generated by the prediction model match the real-time traffic information.
[0017] A second aspect of the present application provides a network bandwidth allocation method, which is applied to a central flow control component of a computing network, wherein the computing network further includes at least two resource domains, each resource domain is provided with a resource domain flow control component, each resource domain includes at least two proxy hosts, each proxy host includes a plurality of bandwidth units, each bandwidth unit corresponds to a preset unit network bandwidth, and the network bandwidth allocation method includes:
[0018] Based on the change in bandwidth demand of any tenant in the computing network, determine the target network bandwidth and target resource domain to be allocated to the tenant;
[0019] generating allocation information based on the target network bandwidth and the target resource domain;
[0020] The allocation information is sent to the target resource domain, so that the target resource domain determines at least one bandwidth unit allocated to the tenant in each proxy host based on the target network bandwidth and according to the network bandwidth parameters of each proxy host in the resource domain, and any bandwidth unit corresponds to a unique tenant.
[0021] In a possible implementation, determining the target network bandwidth and target resource domain allocated to any tenant in the computing power network based on the change in bandwidth demand of the tenant includes:
[0022] Based on the change in bandwidth demand of any tenant, obtain the requested bandwidth and currently used bandwidth of the tenant;
[0023] Based on the fact that the total available bandwidth in the computing power network does not satisfy the requested bandwidth of the tenant, determining at least one target tenant, where the target tenant is a tenant whose currently used bandwidth is less than the requested bandwidth;
[0024] Based on the preset tenant bandwidth allocation strategy, determine the bandwidth allocation ratio of each target tenant according to the preset priority of the target tenant;
[0025] The target network bandwidth and target resource domain allocated to each tenant are determined based at least on the bandwidth allocation ratio and the total available bandwidth in the computing network.
[0026] In a possible implementation, determining the target network bandwidth and target resource domain allocated to each tenant at least based on the bandwidth allocation ratio and the total available bandwidth in the computing network includes:
[0027] The target network bandwidth and target resource domain allocated to each tenant are determined according to the bandwidth allocation ratio, the total available bandwidth in the computing network, and the idle uplink bandwidth units and idle downlink bandwidth units contained in the proxy host in each resource domain.
[0028] In a possible implementation, the method further includes:
[0029] Obtaining traffic prediction information for the tenant through the proxy component, wherein the traffic prediction information is output by the prediction model;
[0030] The tenant bandwidth allocation strategy is updated at least according to the traffic prediction information.
[0031] The third aspect of the present application provides a network bandwidth allocation system, which is applied to a computing network, wherein the computing network includes at least two resource domains, each resource domain includes at least two proxy hosts, each proxy host includes a plurality of bandwidth units, each bandwidth unit corresponds to a preset unit network bandwidth, including:
[0032] A central flow control component and at least two resource domain flow control components corresponding to the resource domains;
[0033] Among them, the central flow control component determines the target network bandwidth and target resource domain allocated to any tenant in the computing power network based on the change in bandwidth demand of the tenant; the central flow control component sends the target network bandwidth to the resource domain flow control component in the target resource domain allocated to the tenant;
[0034] The resource domain flow control component determines to allocate at least one bandwidth unit to the tenant in the target proxy host based on the target network bandwidth and the network bandwidth parameters of each proxy host in the resource domain to which it belongs, and any bandwidth unit corresponds to a unique tenant.
[0035] In a possible implementation, the method further includes:
[0036] The proxy component is used to receive real-time traffic information transmitted by the central flow control component, where the real-time traffic information is obtained by the resource domain flow control component by counting the real-time traffic of each tenant in the resource domain; the traffic prediction information obtained from the prediction model is compared with the real-time traffic information to obtain a comparison result; based on the comparison result, it is characterized that the difference between the traffic prediction information and the real-time traffic information is greater than a preset threshold, triggering the prediction model to update parameters, so that the difference between the traffic prediction information of the updated prediction model and the real-time traffic information is not greater than the preset threshold.
[0037] In a possible implementation, the method further includes:
[0038] At least two management components are arranged corresponding to the resource domain;
[0039] The management component is used to monitor the flow of each bandwidth unit in each host in the resource domain to which it belongs, and upload it to the resource domain flow control component.
[0040] In a fourth aspect, the present application provides a computer program product, comprising computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the network bandwidth allocation method of the first aspect or any implementation of the first aspect, or the second aspect or any implementation of the second aspect.
[0041] A fifth aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0042] The memory is used to store computer programs;
[0043] The processor is used to execute the computer program so that the electronic device can implement the network bandwidth allocation method of the first aspect or any implementation of the first aspect, or the second aspect or any implementation of the second aspect.
[0044] In a sixth aspect, the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the network bandwidth allocation method of the first aspect or any implementation of the first aspect, or the second aspect or any implementation of the second aspect.
[0045] In summary, the present application provides a network bandwidth allocation method and related devices, which are applied to any resource domain flow control component of a computing network, wherein the computing network includes at least two resource domains, each resource domain is provided with a resource domain flow control component, each resource domain includes at least two proxy hosts, each proxy host includes a number of bandwidth units, and each bandwidth unit corresponds to a preset unit network bandwidth. The resource domain flow control component receives allocation information for allocating target network bandwidth to tenants; the target network bandwidth is the network bandwidth allocated to the tenant by the central flow control component of the computing network when any tenant in the computing network requests bandwidth; based on the target network bandwidth in the allocation information, according to the network bandwidth parameters of each proxy host in the resource domain to which it belongs, it is determined to allocate at least one bandwidth unit to the tenant in the target proxy host, and any bandwidth unit corresponds to a unique tenant, by dividing the proxy hosts in each resource domain into multiple bandwidth units, with the bandwidth unit as the minimum allocation granularity, allocating network bandwidth to each tenant, and realizing traffic isolation and concurrent regulation, ensuring that data transmission between different tenants does not interfere with each other, and realizing refined management of network bandwidth. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0047] Figure 1 It is a schematic diagram of a computing power network applied by a network bandwidth allocation method provided in an embodiment of the present application;
[0048] Figure 2 It is a flowchart of a network bandwidth allocation method provided in an embodiment of the present application;
[0049] Figure 3 It is a flow chart of determining, based on the target network bandwidth in the allocation information and according to the network bandwidth parameters of each proxy host in the resource domain, to allocate at least one bandwidth unit to the tenant in the target proxy host according to an embodiment of the present application;
[0050] Figure 4 This is a schematic diagram of bandwidth unit connection between resource domains provided in an embodiment of the present application;
[0051] Figure 5 It is a flowchart of triggering training prediction model provided in the embodiment of the present application;
[0052] Figure 6 This is another flow chart of a network bandwidth allocation method provided by an embodiment of the present application;
[0053] Figure 7 It is a flowchart of determining the target network bandwidth and target resource domain allocated to any tenant in the computing network based on the change in bandwidth demand of the tenant provided by an embodiment of the present application;
[0054] Figure 8 It is a flowchart of updating the tenant bandwidth allocation strategy provided by an embodiment of the present application;
[0055] Fig. 9 It is a structural diagram of a network bandwidth allocation system provided by an embodiment of the present application;
[0056] Fig.10 is another structural schematic diagram of a network bandwidth allocation system provided in an embodiment of the present application;
[0057] Fig.11 It is another structural diagram of a network bandwidth allocation system provided in an embodiment of the present application;
[0058] Fig.12 It is a schematic diagram of an application scenario of a network bandwidth allocation system provided in an embodiment of the present application;
[0059] Fig.13 It is a timing diagram in an application scenario of a network bandwidth allocation system provided in an embodiment of the present application;
[0060] Fig.14 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0062] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0063] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0064] Figure 1 It is a schematic diagram of a computing power network applied by a network bandwidth allocation method provided in an embodiment of the present application, wherein the computing power network includes: a central domain 101, at least two resource domains 102, the central domain is provided with a central flow control component 103, and a resource domain flow control component 104 provided in each resource domain.
[0065] In each resource domain, multiple proxy hosts are set, and each proxy host contains several virtual bandwidth units. Figure 1 In the example, resource domain i and resource domain j are used to represent two different resource domains. In resource domain i, proxy hosts i-1, ..., and proxy hosts ix represent different proxy hosts, and proxy hosts in resource domain j are represented by j-1, ..., etc. In the example, i and j are positive integers, and i≠j, and x is an integer greater than 1.
[0066] The bandwidth unit can be understood as a network transmission pipe (slot) isolated from other bandwidth units, and the flow of network data transmitted on it cannot exceed its bandwidth flow limit.
[0067] Each proxy host contains one or more bandwidth units, wherein proxy host i-1 contains multiple bandwidth units, namely sloti-1-1, ... slot-1-n, proxy host ix contains one bandwidth unit, namely sloti-x-1, and proxy host j-1 contains multiple bandwidth units, namely sloti-1-1, ... slot-1-m. Among them, m and n are integers greater than 1, and the bandwidth unit is the minimum allocation granularity of bandwidth allocation, and each bandwidth unit has the same corresponding bandwidth.
[0068] Among them, the central flow control component 103 allocates network bandwidth to tenants in the computing power network, and the resource domain flow control component 104 is used to allocate bandwidth resources of each proxy host in the resource domain to which it belongs to each tenant. Specifically, the bandwidth unit is used as the minimum allocation granularity of bandwidth allocation. The bandwidth unit can only be allocated to one tenant at a time, thereby realizing traffic isolation in the computing power network and fine-grained management of the network bandwidth of each tenant.
[0069] Figure 2 This is a flow chart of a network bandwidth allocation method provided in an embodiment of the present application. The method is applied to any resource domain flow control component in a computing power network and may include steps 201 to 202. These steps are described in detail below.
[0070] 201. Receive allocation information of a target network bandwidth for a tenant; the target network bandwidth is the network bandwidth allocated to the tenant by the central flow control component of the computing network based on changes in the bandwidth demand of any tenant in the computing network;
[0071] Among them, a tenant's service request may only involve a certain resource domain or may involve multiple resource domains. This application does not limit the specific content of the tenant's service request, and the same bandwidth allocation strategy can be used for different resource domains.
[0072] Among them, when the bandwidth demand of any tenant in the computing network changes, the central flow control component of the computing network allocates a target network bandwidth to the tenant. The target network bandwidth may be the same as or different from the bandwidth requested by the tenant. Figure 6 The process of allocating target network bandwidth to tenants is described in detail in the following section.
[0073] After the target network bandwidth allocated to the tenant is determined, the resource domain providing the target network bandwidth to the tenant is also determined. Accordingly, the resource domain flow control component in the resource domain receives an instruction to allocate the target network bandwidth to the tenant.
[0074] 202. Based on the target network bandwidth in the allocation information and according to the network bandwidth parameters of each proxy host in the resource domain, determine to allocate at least one bandwidth unit to the tenant in the target proxy host, where any bandwidth unit corresponds to a unique tenant.
[0075] Wherein, for the target network bandwidth of the tenant whose bandwidth demand in the resource domain changes, the corresponding network bandwidth is allocated to it.
[0076] The network bandwidth that each proxy host can allocate to the tenant is determined based on the network bandwidth parameters of each proxy host in the resource domain.
[0077] The network parameters of the proxy host may include the upper limit of the network card traffic of the proxy host, so as to allocate corresponding network bandwidth to the tenants for each network proxy host.
[0078] In one possible implementation, if the proxy host in the resource domain can provide sufficient network bandwidth for the tenant, the proxy host provides the tenant with the required network bandwidth; if the proxy host in the resource domain cannot provide sufficient network bandwidth for the tenant, it can only provide part of the required network bandwidth for the tenant, or transfer the tenant to other resource domains to ensure that the required network bandwidth of the tenant is met.
[0079] Among them, since the proxy host in the resource domain divides the network bandwidth in the form of bandwidth units, with bandwidth units as the minimum allocation granularity, the network bandwidth in the resource domain is finely managed and network bandwidth is allocated to each tenant. One bandwidth unit can only be allocated to one tenant, ensuring that data transmission between different tenants does not affect each other.
[0080] In a possible implementation, a bandwidth allocation strategy may be preset, and according to the strategy, a proxy host is determined in the resource domain, and then a bandwidth unit for main allocation is determined in the proxy host. Figure 3 The process of determining the bandwidth units allocated to tenants in the proxy host by the resource domain flow control component is described in detail.
[0081] In a possible implementation, the resource domain flow control component also obtains the real-time flow information of each tenant in the resource domain and uploads it to the proxy component, so that the proxy component determines whether to trigger the training process of the prediction model based on the real-time flow information. Figure 5 This process is described in detail in .
[0082] The method in this embodiment is applied to any resource domain flow control component of a computing network, wherein the computing network includes at least two resource domains, each resource domain is provided with a resource domain flow control component, each resource domain includes at least two proxy hosts, each proxy host includes a number of bandwidth units, and each bandwidth unit corresponds to a preset unit network bandwidth. The resource domain flow control component receives allocation information for allocating target network bandwidth to tenants; the target network bandwidth is the network bandwidth allocated to the tenant by the central flow control component of the computing network when any tenant in the computing network requests bandwidth; based on the target network bandwidth in the allocation information, according to the network bandwidth parameters of each proxy host in the resource domain to which it belongs, it is determined to allocate at least one bandwidth unit to the tenant in the target proxy host, any bandwidth unit corresponds to a unique tenant, by dividing the proxy hosts in each resource domain into multiple bandwidth units, with the bandwidth unit as the minimum allocation granularity, allocating network bandwidth to each tenant, and realizing traffic isolation and concurrent regulation, ensuring that data transmission between different tenants does not interfere with each other, and realizing refined management of network bandwidth.
[0083] Figure 3The present application provides a flowchart of an embodiment of the invention for determining, based on the target network bandwidth in the allocation information and in accordance with the network bandwidth parameters of each proxy host in the corresponding resource domain, to allocate at least one bandwidth unit to the tenant in the target proxy host, which may include steps 301 to 304, and these steps are described in detail below.
[0084] 301. Obtain network bandwidth parameters of each proxy host in the resource domain;
[0085] Among them, after determining the target network bandwidth of each tenant, the central flow control component sends the target network bandwidth to the resource domain flow control component.
[0086] Among them, the resource domain flow control component obtains the network bandwidth parameters of each proxy host in the resource domain to which it belongs. The network bandwidth parameters represent the upper limit of the network card flow of the proxy host, which is the maximum network flow that the proxy host can provide.
[0087] The network bandwidth parameters of different proxy hosts in the same resource domain may be the same or different, and are set according to actual conditions.
[0088] Among them, in the computing power network, the proxy host sets at least one bandwidth unit according to its network bandwidth parameters.
[0089] As an example, a proxy host corresponds to a network bandwidth of 10G, the network bandwidth of each bandwidth unit is 0.5G, and the proxy host may include 20 bandwidth units.
[0090] 302. Determine a target proxy host according to a preset resource domain bandwidth allocation strategy, the target network bandwidth, and network bandwidth parameters of each proxy host in the resource domain to which it belongs, and the target proxy host can provide network bandwidth for the tenant;
[0091] The network bandwidth of the same tenant is provided by the same proxy host.
[0092] Among them, each resource domain flow control component pre-sets a resource domain bandwidth allocation strategy to achieve bandwidth allocation in each resource domain.
[0093] The preset resource domain bandwidth allocation strategy includes constraints and an objective function, and the objective function is a function used by the resource domain flow control component to allocate the target network bandwidth of each tenant to each proxy host in the resource domain.
[0094] As an example, the constraints may be the following three constraints:
[0095] Condition 1: Bandwidth meets requirements: The bandwidth requirements of each tenant must be met. Condition 1 is expressed using the following formula:
[0096] (1)
[0097] Condition 2: Proxy host capacity limit: The total allocated bandwidth of each proxy host cannot exceed the upper limit of its network bandwidth parameter. The following formula is used to express condition 2:
[0098] (2)
[0099] Condition 3, non-negativity: The bandwidth allocated by the proxy host to each tenant cannot be negative. The following formula is used to express condition 3:
[0100] (3)
[0101] Where M indicates that there are M proxy hosts in the resource domain. represents the bandwidth allocated to tenant i on proxy host j, represents the bandwidth requirement (target network bandwidth) of tenant i, N represents the number of tenants in the resource domain, Indicates the upper limit of the network bandwidth parameter of the proxy host.
[0102] Among them, the above conditions 1 and 3 need to be followed for any tenant; the above conditions 2 and 3 need to be followed for any proxy host.
[0103] The principle of allocating tenants to each proxy host in the resource domain is to balance the loads of all proxy hosts as much as possible. Accordingly, the objective function in this embodiment is to minimize the sum of all unsatisfied bandwidth requirements.
[0104] The unmet bandwidth demand refers to a bandwidth amount in which the bandwidth allocated by the proxy host to the tenant is less than the target network bandwidth of the tenant.
[0105] The objective function is expressed as follows:
[0106] (4)
[0107] in, Indicates taking If the positive part of , then, otherwise, .
[0108] According to the above constraints and objective function, the resource domain flow control component determines the target proxy host corresponding to each tenant in the resource domain to which it belongs, based on the target network bandwidth of each tenant.
[0109] Among them, when the resource domain flow control component allocates target network bandwidth to tenants, it sorts each tenant from large to small according to demand, and sorts each proxy host from large to small according to remaining capacity. It traverses the sorted tenants and proxy hosts in turn, and allocates as much bandwidth as possible to the tenants until the tenant is allocated its target network bandwidth, or the capacity limit of the proxy host is reached.
[0110] If the target network bandwidth of some tenants cannot be achieved during the allocation process, the bandwidth will be reallocated from the proxy host with lower load for the tenant, and the remaining capacity of the proxy host will be traversed from large to small until the corresponding target network bandwidth is allocated to all tenants, or the bandwidth allocation in the resource domain cannot be further optimized.
[0111] In a possible implementation, if the bandwidth demand of some tenants is reduced, the tenants with reduced bandwidth demand can be satisfied first, the remaining capacity of the proxy host can be increased, and then network bandwidth can be allocated to tenants with increased demand based on the remaining capacity of the proxy host.
[0112] Among them, through the above allocation process, the proxy host that allocates network bandwidth to the tenant and the actual network bandwidth that the target proxy host can allocate to the tenant can be determined. The allocated actual network bandwidth can be the target network bandwidth or a bandwidth smaller than the target network bandwidth.
[0113] 303. Determine at least one bandwidth unit in the target proxy host, where the at least one bandwidth unit matches the network bandwidth provided by the target proxy host for the tenant;
[0114] When the target proxy host that provides network bandwidth for the tenant is determined, the network bandwidth that the target proxy host can provide for the tenant is determined.
[0115] Accordingly, bandwidth units are determined in the target proxy host, and the number of the bandwidth units matches the network bandwidth provided by the target proxy host for the tenant.
[0116] The number of the bandwidth units may be calculated from the network bandwidth provided by the target proxy host to the tenant and the network bandwidth of each bandwidth unit, and the result is rounded up.
[0117] As an example, a proxy host corresponds to a network bandwidth of 20G, and the network bandwidth of each bandwidth unit is 0.5G. The proxy host can contain 40 bandwidth units. The proxy host allocates 12G network bandwidth to tenant A, and the corresponding number of bandwidth units is determined to be 24; the proxy host allocates 5.1G network bandwidth to tenant B, and the corresponding number of bandwidth units is determined to be 11.
[0118] 304. Allocate the at least one bandwidth unit to a corresponding tenant.
[0119] The determined bandwidth units are allocated to corresponding tenants, and the tenants can perform network data transmission through the bandwidth units.
[0120] The bandwidth units allocated to each tenant are not shared with the bandwidth units of other tenants, which realizes the traffic isolation and concurrency regulation of each tenant and ensures that the data transmission between different tenants does not interfere with each other.
[0121] In a possible implementation, a bandwidth management unit may be set in the resource domain, and the bandwidth management unit can manage the bandwidth unit of each proxy host.
[0122] Correspondingly, after the resource domain flow control component determines the target proxy host of each tenant and the network bandwidth provided by the target proxy host to the tenant, the bandwidth management unit specifically allocates bandwidth units to the target proxy host.
[0123] When network bandwidth is allocated to the same user in different resource domains, the resource domains are also connected through bandwidth units. When the bandwidth units between resource domains are connected, the sending bandwidth units and receiving bandwidth units of different resource domains establish communication to send data. The sending bandwidth unit and the receiving bandwidth unit are in a one-to-one relationship, and the data transmission rate does not exceed the bandwidth upper limit configured by the bandwidth unit.
[0124] Figure 4 This is a schematic diagram of bandwidth unit connection between resource domains provided by an embodiment of the present application, including two bandwidth units in host i-1 in resource domain i connected to one bandwidth unit in host j-1 and one bandwidth unit in host jn in resource domain j, respectively. The two bandwidth units in resource domain i are respectively used as sending bandwidth units, and the two bandwidth units in resource domain j are respectively used as receiving bandwidth units.
[0125] Among them, when data is transmitted between resource domains, by allocating units into pairs of sending units and receiving units, it is possible to achieve stable transmission of tenants' data between resource domains, thereby improving data transmission security.
[0126] In one possible implementation, when the central flow control component allocates uplink and downlink resources between resource domains to tenants, it also determines the uplink resource domain and the downlink resource domain corresponding to the tenant based on the availability of uplink sending units and downlink sending units in each resource domain.
[0127] In a possible implementation, when the resource domain flow control component uploads the available bandwidth to the central flow control component, it can send the uplink available bandwidth and the downlink available bandwidth respectively. The central flow control component determines the corresponding uplink resource domain and downlink resource domain based on the uplink available bandwidth and downlink available bandwidth of each resource domain and the requested bandwidth of each tenant.
[0128] In this embodiment, the network bandwidth parameters of each proxy host in the resource domain are obtained; according to the bandwidth allocation strategy, the target network bandwidth and the network bandwidth parameters of each proxy host in the resource domain, the target proxy host is determined, and the target proxy host can provide network bandwidth for the tenant; at least one bandwidth unit is determined in the target proxy host, and the at least one bandwidth unit matches the network bandwidth provided by the target proxy host for the tenant; and the at least one bandwidth unit is allocated to the corresponding tenant. The resource domain flow control component in the resource domain, in combination with the target network bandwidth of the tenant and the network bandwidth parameters of each proxy host in the resource domain, determines the target proxy host that can provide network bandwidth for each tenant according to the bandwidth allocation strategy, and then determines the bandwidth unit that can match the network bandwidth provided to the tenant in the target proxy host, and the process of allocating network bandwidth to the tenant is realized by allocating the bandwidth unit to the corresponding tenant. In this process, the bandwidth units in each proxy host are used to realize traffic isolation and concurrency regulation for the tenant, and the bandwidth allocation rules and the bandwidth factors required by the tenant are comprehensively considered to realize accurate bandwidth resource allocation.
[0129] Figure 5 It is a flowchart of triggering training prediction model provided by an embodiment of the present application, which may include steps 501 to 502. These steps are described in detail below.
[0130] 501. Obtain real-time traffic information of each tenant in the resource domain;
[0131] Herein, statistics may be collected on the real-time traffic information of each tenant connected to each proxy host.
[0132] In a possible implementation, a management component may be provided in each resource domain to manage each bandwidth unit in the resource domain.
[0133] The management component can monitor the real-time traffic in each bandwidth unit in each proxy host and report it to the resource domain flow control component.
[0134] Correspondingly, the resource domain flow control component performs a simple calculation based on the real-time flow of each bandwidth unit reported by the management component to obtain the real-time flow information of each tenant.
[0135] Among them, a statistical period can be preset in the resource domain flow control component, and the real-time traffic of each tenant in the resource domain to which it belongs is counted according to the statistical period.
[0136] 502. Upload the real-time traffic information to the proxy component of the computing network. When the real-time traffic information does not match the traffic prediction information, the proxy component triggers the training process of the prediction model to make the traffic prediction information generated by the prediction model match the real-time traffic information.
[0137] Among them, an agent component can be set in the central domain of the computing power network. The agent component adopts an intelligent agent structure, specifically LLM (Large Language Model). Various related tools are integrated on the agent component to realize data transmission in the central flow control component, database and prediction model.
[0138] Among them, the computing power network also includes a prediction model, which can predict the usage traffic of each tenant in the computing power network and provide a reference for the subsequent bandwidth allocation to each tenant.
[0139] In a possible implementation, the resource domain flow control component sends the real-time flow information to the proxy component through the central flow control component.
[0140] Among them, when the proxy component receives the real-time traffic information corresponding to the time of the traffic prediction information, it compares the traffic prediction information with the real-time traffic information. The comparison result may be that the traffic prediction information does not match the real-time traffic information, such as the difference between the two is greater than a preset threshold; the comparison result may be that the traffic prediction information matches the real-time traffic information, such as the difference between the two is not greater than a preset threshold.
[0141] In a possible implementation, the average values of the traffic prediction information and the real-time traffic information within a time period may be taken respectively, and the difference between the two may be determined by taking the difference between the average values.
[0142] If the comparison result indicates that the traffic prediction information and the real-time traffic information do not match, then the traffic prediction information obtained by the prediction model is inaccurate, and the prediction model needs to be updated to improve its prediction accuracy.
[0143] In a possible implementation, the proxy component can generate trigger information, and after receiving the trigger information, the prediction model is retrained and its parameters are updated until the traffic prediction information obtained by the prediction matches the real-time traffic information.
[0144] In a possible implementation, the proxy component may send the real-time traffic information to the prediction model, and the prediction model automatically starts a training process based on the received real-time traffic information.
[0145] In one possible implementation, the real-time traffic information needs to be stored in a database, and can be sent to a proxy component in the computing network through a central flow control component, and the proxy component transmits the real-time traffic information to the database for storage.
[0146] In this embodiment, the resource domain flow control component obtains the real-time flow information of each tenant in the resource domain; uploads the real-time flow information to the proxy component of the computing power network, and when the real-time flow information does not match the flow prediction information, the proxy component triggers the training process of the prediction model to make the flow prediction information generated by the prediction model match the real-time flow information, obtains the real-time flow information of each tenant through the resource domain flow control component, and adjusts the accuracy of the matching prediction model in the computing power network to ensure that the prediction model can accurately predict the flow of each tenant, providing a reference for subsequent bandwidth allocation.
[0147] Figure 6 This is another flow chart of a network bandwidth allocation method provided in an embodiment of the present application. The method is applied to a central flow control component in a computing power network. The computing power network also includes at least two resource domains, each of which is provided with a resource domain flow control component. Each resource domain includes at least two proxy hosts, each proxy host includes a number of bandwidth units, and each bandwidth unit corresponds to a preset unit network bandwidth. The method may include steps 601 to 603, and these steps are described in detail below.
[0148] 601. Based on the change in bandwidth demand of any tenant in the computing network, determine the target network bandwidth and target resource domain to be allocated to the tenant;
[0149] Among them, when the bandwidth demand of a tenant in the algorithm network changes, the central flow control component allocates new network bandwidth to the tenant.
[0150] In a possible implementation, the change in bandwidth demand may be that any tenant requests to update the network bandwidth allocated to it, and the target updated network bandwidth may be greater than the current actual bandwidth or may be less than the current actual bandwidth.
[0151] In a possible implementation, the central flow control component may also trigger a process of reallocating network bandwidth and target resource domains for each tenant upon receiving a reallocation instruction, and determine the target network bandwidth and target resource domain allocated to each tenant.
[0152] In a possible implementation, the target network bandwidth and target resource domain allocated to the tenant can be determined based on the total available bandwidth in the current computing network and the bandwidth requested by the tenant. Figure 7 The process of determining the target network bandwidth and target resource domain to allocate to a tenant is described in detail in .
[0153] Among them, the bandwidth demand of the tenants in the computing power network can be received by the resource domain flow control component and uploaded to the central flow control component.
[0154] The resource domain flow control component collects statistics on the data traffic of each tenant in the resource domain and reports it to the central flow control component, so as to provide a calculation basis for the central flow control component to allocate target network bandwidth to the tenants.
[0155] Wherein, due to the characteristics of network data transmission, the target resource domain allocated to the tenant may include an uplink resource domain corresponding to the uplink network and a downlink resource domain corresponding to the downlink network.
[0156] 602. Generate allocation information for the target network bandwidth and the target resource domain;
[0157] After the target network bandwidth and target resource domain allocated to each tenant are determined, allocation information targeting the target resource domain and including the target network bandwidth information is generated.
[0158] In a possible implementation, the address information of the target resource domain and the like may be added to the allocation information, and the bandwidth value of the combination and the target network bandwidth may be added to the allocation information.
[0159] 603. Send the allocation information to the target resource domain so that the resource domain flow control component in the target resource domain determines at least one bandwidth unit allocated to the tenant in each proxy host based on the target network bandwidth and the network bandwidth parameters of each proxy host in the resource domain. Any bandwidth unit corresponds to a unique tenant.
[0160] The central flow control component sends the generated allocation information to the corresponding target resource domains respectively.
[0161] Among them, the resource domain flow control component in the target resource domain allocates network bandwidth to the corresponding tenant based on the target network bandwidth in the allocation information. Specifically, the bandwidth unit of the proxy host in the resource domain is used as the minimum allocation granularity, and the tenant is allocated bandwidth units of a number that matches the target network bandwidth.
[0162] The method in this embodiment is applied to the central flow control component of the computing power network, which also includes at least two resource domains, each of which is provided with a resource domain flow control component, each of which contains at least two proxy hosts, each of which contains several bandwidth units, and each bandwidth unit corresponds to a preset unit network bandwidth. The central flow control component determines the target network bandwidth and target resource domain allocated to any tenant in the computing power network based on the change in bandwidth demand of the tenant; generates allocation information based on the target network bandwidth and the target resource domain; and sends the allocation information to the target resource domain, so that the target resource domain determines at least one bandwidth unit allocated to the tenant in each proxy host based on the target network bandwidth and the network bandwidth parameters of each proxy host in the resource domain to which it belongs, and any bandwidth unit corresponds to a unique tenant. By dividing the proxy hosts in each resource domain into multiple bandwidth units, the network bandwidth is allocated to each tenant with the bandwidth unit as the minimum allocation granularity, and traffic isolation and concurrent regulation are realized, ensuring that the data transmission between different tenants does not interfere with each other, and realizing refined management of network bandwidth.
[0163] Figure 7 This is a flow chart of an embodiment of the present application for determining the target network bandwidth and target resource domain allocated to a tenant based on the change in bandwidth demand of any tenant in the computing power network, which may include steps 701 to 704, and these steps are described in detail below.
[0164] 701. Based on the change in bandwidth demand of any tenant, obtain the requested bandwidth and currently used bandwidth of the tenant;
[0165] Among them, a tenant bandwidth allocation strategy is preset in the central flow control component, and the central flow control component implements bandwidth allocation according to the tenant bandwidth demand based on the tenant bandwidth allocation strategy.
[0166] When the bandwidth demand of any tenant changes, the requested bandwidth of each tenant in the computing power network and the bandwidth currently used by each tenant are obtained.
[0167] When the bandwidth requirements of multiple tenants change, the total bandwidth requested by the multiple tenants may be counted.
[0168] The requested bandwidths of multiple tenants may be accumulated to obtain the total bandwidth.
[0169] 702. Based on the fact that the total available bandwidth in the computing power network does not satisfy the requested bandwidth of the tenant, determine at least one target tenant, where the target tenant is a tenant whose currently used bandwidth is less than the requested bandwidth;
[0170] After the total bandwidth requested by each tenant is determined, it is determined whether the total available bandwidth in the computing power network can meet the requests of each tenant.
[0171] Among them, the total available bandwidth in the computing power network is uploaded by each resource domain, and the central flow control component calculates the total available bandwidth in the computing power network based on the total available bandwidth of the resource domain uploaded by each resource domain.
[0172] Among them, if the total available bandwidth in the computing power network is not less than the total bandwidth requested by each tenant, the bandwidth can be requested by the tenant allocator with the changed bandwidth demand, and the requested bandwidth is the target network bandwidth allocated to it.
[0173] In the subsequent process, the resource domain flow control component allocates bandwidth units to tenants based on the target network bandwidth.
[0174] Among them, if the total available bandwidth in the computing power network is less than the total bandwidth requested by each tenant, it is determined that the total available bandwidth in the computing power network does not meet the requested bandwidth of the tenant, and it is necessary to adopt the tenant bandwidth allocation strategy to allocate network bandwidth to each tenant.
[0175] When the bandwidth requested by a tenant is less than the currently used bandwidth, the bandwidth can be directly reduced for the tenant, and the requested bandwidth is used as the target network bandwidth allocated to the tenant.
[0176] When the bandwidth requested by a tenant is greater than the currently used bandwidth, the bandwidth requested may result in insufficient total available bandwidth. Therefore, in this embodiment, the target network bandwidth is determined only for tenants whose currently used bandwidth is less than the requested bandwidth.
[0177] 703. Based on the preset tenant bandwidth allocation strategy and according to the preset priority of the target tenant, determine the bandwidth allocation ratio of each target tenant;
[0178] In the tenant bandwidth allocation strategy, a priority is preset for each tenant, and a bandwidth allocation ratio is determined for tenants with different priorities, and then a target network bandwidth allocated to each tenant is determined according to the bandwidth allocation ratio.
[0179] The priority of the tenant may be set by a network administrator for each tenant.
[0180] In a possible implementation, the priority is set according to the bandwidth used by the tenant. The larger the bandwidth used by the tenant, the higher the priority set for the tenant.
[0181] The priority of the target tenant is used as a weight to determine its bandwidth allocation ratio, which is the ratio of the total available bandwidth that can be allocated to each target tenant in the computing network.
[0182] The bandwidth allocation ratio of the tenant can be determined by the following formula:
[0183] (5)
[0184] in, Representative for tenants The allocated bandwidth ratio, Representing tenants The priority of Representing tenants The request bandwidth, Representing tenants The current bandwidth used; represents the target tenant set, T represents the tenant set, and each tenant t has a unique identifier i. Representing target tenants The priority of Representing tenants The request bandwidth, Representing tenants The currently used bandwidth of the tenant that contains the target tenant.
[0185] The above formula (5) is used to calculate the bandwidth allocation ratio for each target tenant.
[0186] In a possible implementation, the computing network is also provided with a prediction model and an agent component. The prediction model can predict the traffic of each tenant in the computing network. The agent component transmits the predicted traffic information to the central flow control component, and the central flow control component implements the update of the bandwidth allocation strategy for the tenants. Figure 8 The above process is described in detail.
[0187] 704. Determine the target network bandwidth and target resource domain allocated to each tenant based at least on the bandwidth allocation ratio and the total available bandwidth in the computing network.
[0188] According to the bandwidth allocation ratio, the bandwidth that can be allocated to the target tenant can be calculated.
[0189] The target network bandwidth of the target tenant can be determined using the following formula:
[0190] (6)
[0191] in, Representative for tenants The target network bandwidth allocated, Representing tenants The request bandwidth, Representing tenants The current bandwidth used, Representative for tenants The allocated bandwidth ratio, Represents the remaining bandwidth in the computing network.
[0192] The above formula (6) indicates that a smaller bandwidth is selected between the allocatable bandwidth calculated according to the bandwidth ratio and the remaining bandwidth in the computing network and the requested bandwidth.
[0193] The remaining bandwidth can be calculated using the following formula:
[0194] (7)
[0195] in, Represents the remaining bandwidth in the computing network, Represents the total available bandwidth in the computing network, Representative for tenants The currently used bandwidth.
[0196] The above formula (7) indicates that the total available bandwidth in the computing network minus the bandwidth currently used by each tenant can be used to obtain the remaining bandwidth in the computing network. The remaining bandwidth is the bandwidth that can be allocated to the target tenant.
[0197] In a possible implementation, the target network bandwidth can be calculated for each target tenant according to the above formula, and tenants with higher priority are given priority. When the tenant has a higher priority, the requested bandwidth can be allocated to it to ensure the user experience of the tenant with higher priority.
[0198] The target network bandwidth of each tenant calculated through the above process can fully allocate the remaining bandwidth in the computing network, or allocate bandwidth to at least some of the tenants to reach their requested bandwidth.
[0199] Among them, the central flow control component can determine the target resource domain to allocate available bandwidth to each tenant based on the available bandwidth in each resource domain in the computing power network.
[0200] In one possible implementation, the target network bandwidth and target resource domain allocated to each tenant are determined based on the bandwidth allocation ratio, the total available bandwidth in the computing network, and the idle uplink bandwidth units and idle downlink bandwidth units contained in the proxy host in each resource domain.
[0201] The idle uplink bandwidth unit is an uplink bandwidth unit to which no tenant is allocated in the proxy host, and the idle downlink bandwidth unit is a downlink bandwidth unit to which no tenant is allocated in the proxy host.
[0202] When tenants transmit data between resource domains, they can determine the sending bandwidth unit and receiving bandwidth unit in each resource domain proxy host, and connect the sending bandwidth unit and receiving bandwidth unit across domains to achieve transmission through the bandwidth unit.
[0203] The central flow control component can send the tenant target network bandwidth allocated to the corresponding resource domain, so that the resource domain flow control component in the resource domain allocates bandwidth units to the tenant allocated to it.
[0204] In a possible implementation, traffic prediction information can be obtained by predicting the traffic demand of tenants in the computing network. The central flow control component updates the tenant bandwidth allocation strategy based on the traffic prediction information to achieve a more suitable allocation method. Figure 8 The process of updating the tenant bandwidth allocation policy is described in detail.
[0205] In this embodiment, the central flow control component obtains the requested bandwidth and the currently used bandwidth of the corresponding tenant based on the change in bandwidth demand of any tenant; determines at least one target tenant based on the fact that the total available bandwidth in the computing power network does not meet the requested bandwidth of the tenant, and the target tenant is a tenant whose currently used bandwidth is less than the requested bandwidth; determines the bandwidth allocation ratio of each target tenant based on the tenant bandwidth allocation strategy and the preset priority of the target tenant; determines the target network bandwidth allocated to each tenant based on at least the bandwidth allocation ratio and the total available bandwidth in the computing power network. If the total available bandwidth in the computing power network does not meet the requested bandwidth of the tenant, it is necessary to allocate network bandwidth to the target tenant whose requested bandwidth is greater than the currently used bandwidth, and determines the bandwidth allocation ratio of each target tenant based on its preset priority, and then determines the target network bandwidth allocated to each tenant based on the bandwidth allocation ratio and the total available bandwidth in the computing power network. The central flow control component achieves the purpose of allocating target network bandwidth to tenants with changing bandwidth demands based on the tenant bandwidth allocation strategy, and can dynamically adjust the network bandwidth of each tenant.
[0206] Figure 8 It is a flowchart of updating the tenant bandwidth allocation strategy provided by an embodiment of the present application, which may include steps 801 to 802. These steps are described in detail below.
[0207] 801. Obtaining traffic prediction information for the tenant through the proxy component, where the traffic prediction information is output by the prediction model;
[0208] Among them, the proxy component can be deployed in the central domain of the computing power network.
[0209] Among them, the proxy component integrates various tools to realize the transmission of information between the prediction model and the central flow control component.
[0210] The prediction model sends the predicted traffic prediction information to the proxy component, and the proxy component sends the traffic prediction information to the central flow control component.
[0211] Among them, the prediction model can predict the traffic required by each tenant in the computing power network based on the set prediction rules to obtain traffic prediction information, and the proxy component obtains the traffic prediction information output by the traffic prediction model.
[0212] In a possible implementation, the prediction model can predict the traffic of each tenant and obtain traffic prediction information of each tenant.
[0213] In one possible implementation, the prediction model may use a pre-trained neural network model to predict tenant traffic in the computing network.
[0214] 802. Update the tenant bandwidth allocation strategy at least based on the traffic prediction information.
[0215] The central flow control component updates the local tenant bandwidth allocation strategy based on the traffic prediction information so that the strategy can fit the subsequent bandwidth needs of the tenant and allocate bandwidth to each tenant more reasonably.
[0216] In a possible implementation, the central flow control component obtains the real-time flow information of each tenant from the flow control components of each resource domain, and dynamically adjusts the bandwidth allocation strategy of the tenant by using the real-time flow information and the flow prediction information.
[0217] In a possible implementation, the central flow control component can also update the resource domain bandwidth allocation strategy according to the real-time flow information and the flow prediction information, and update the updated resource domain bandwidth allocation strategy to each resource domain flow control component.
[0218] Among them, a resource domain bandwidth allocation strategy is set in each resource domain flow control component. The central flow control component can also update the bandwidth allocation strategy of each resource domain in combination with the real-time traffic information of each tenant and the bandwidth resource situation in each resource domain, and send the updated resource domain bandwidth allocation strategy to each resource domain flow control component. Each resource domain flow control component updates the local resource domain bandwidth allocation strategy so that the strategy can meet the bandwidth requirements of subsequent tenants and allocate bandwidth for each tenant more reasonably.
[0219] In this embodiment, traffic prediction information is obtained by obtaining traffic prediction required by the tenant through the proxy component, and the traffic prediction information is output by the prediction model; the tenant bandwidth allocation strategy is updated at least based on the traffic prediction information, so that the strategy can fit the subsequent bandwidth requirements of the tenant and more reasonably allocate bandwidth to each tenant.
[0220] A network bandwidth allocation method provided by an embodiment of the present application is introduced above, and a system for executing the above network bandwidth allocation method will be introduced below.
[0221] Fig. 91 is a schematic diagram of a network bandwidth allocation system provided by an embodiment of the present application. The network bandwidth allocation system is applied to a computing network, which includes at least two resource domains, each of which includes at least two proxy hosts, each of which includes a number of bandwidth units, each of which corresponds to a preset unit network bandwidth, such as Fig. 9 As shown, the network bandwidth allocation device 900 includes:
[0222] A central flow control component 901 and at least two resource domain flow control components 902 corresponding to the resource domains;
[0223] Among them, the central flow control component 901 determines the target network bandwidth and target resource domain allocated to any tenant in the computing network based on the change in bandwidth demand of the tenant; the central flow control component sends the target network bandwidth to the resource domain flow control component in the target resource domain allocated to the tenant;
[0224] The resource domain flow control component 902 determines to allocate at least one bandwidth unit to the tenant in the target proxy host based on the target network bandwidth and the network bandwidth parameters of each proxy host in the resource domain to which it belongs, and any bandwidth unit corresponds to a unique tenant.
[0225] Among them, the central flow control component is set in the central domain of the computing power network, serving as the global bandwidth control center of the computing power network, and is used to coordinate the operation of the entire system.
[0226] Among them, the central flow control component can also formulate a global strategy, which can include setting a preset tenant bandwidth allocation strategy and a preset resource domain bandwidth allocation strategy.
[0227] Among them, the central flow control component can combine the real-time flow information of each tenant in the computing power network and the flow prediction information obtained by the prediction model, update the global strategy, and configure the updated preset resource domain bandwidth allocation strategy to each corresponding resource domain.
[0228] The resource domain flow control component is deployed in the resource domain, manages bandwidth allocation for tenants in the resource domain, and converts bandwidth allocation for tenants into bandwidth unit allocation schemes.
[0229] Among them, for the functional explanation of the central flow control component and the resource domain flow control component, please refer to the explanation in the aforementioned method embodiment, which will not be repeated in this embodiment.
[0230] Fig.10 It is another structural schematic diagram of a network bandwidth allocation system provided by an embodiment of the present application. The network bandwidth allocation device 1000 includes: a central flow control component 1001, at least two resource domain flow control components 1002 and an agent component 1003 arranged corresponding to the resource domain;
[0231] Among them, the proxy component 1003 is used to receive real-time traffic information transmitted by the central flow control component, and the real-time traffic information is obtained by the resource domain flow control component by counting the real-time traffic of each tenant in the resource domain; the traffic prediction information obtained from the prediction model is compared with the real-time traffic information to obtain a comparison result; based on the comparison result, it is characterized that the difference between the traffic prediction information and the real-time traffic information is greater than a preset threshold, triggering the prediction model to update parameters, and the difference between the traffic prediction information of the updated prediction model and the real-time traffic information is not greater than the preset threshold.
[0232] Among them, the proxy component can use LLM to obtain the real-time traffic information of the tenant from the central flow control component and store it in the database.
[0233] The proxy component can provide data support for the dynamic allocation of bandwidth in the central flow control component through traffic prediction information.
[0234] Specifically, the proxy component can update parameters for the prediction model based on historical traffic data in the database, according to the real-time traffic information fed back and the traffic prediction information generated by the prediction model, so as to optimize the prediction model. Moreover, the proxy component also sends the traffic prediction information generated by the prediction model to the central flow control component, so that the central flow control component can update the global strategy based on the traffic prediction information.
[0235] For the explanation of the function of the proxy component, please refer to the explanation in the aforementioned method embodiment, which will not be repeated in this embodiment.
[0236] Fig.11 It is another structural schematic diagram of a network bandwidth allocation system provided by an embodiment of the present application. The network bandwidth allocation device 1100 includes: a central flow control component 1101, at least two resource domain flow control components 1102 arranged corresponding to the resource domain, an agent component 1103 and at least two management components 1104 arranged corresponding to the resource domain;
[0237] The management component is used to monitor the traffic of each bandwidth unit in each host in the resource domain to which it belongs, and upload it to the resource domain flow control component.
[0238] In one possible implementation, the management component can aggregate the traffic of each bandwidth unit and then report it to the resource domain flow control component. It can be aggregated according to the tenant corresponding to the bandwidth, or it can be aggregated separately for each bandwidth unit according to time. The aggregation rules can be set according to actual conditions and are not limited in this application.
[0239] The management component is used to manage the process of bandwidth units of each tenant, allocate and reclaim bandwidth units, and establish communication between bandwidth units.
[0240] Among them, the resource domain flow control component serves as a bridge between the central flow control component and the management component. The management component monitors the traffic of the bandwidth unit and uploads it to the central flow control component through the resource domain flow control component.
[0241] In the network bandwidth allocation system of this embodiment, the central flow control component determines the target network bandwidth and target resource domain allocated to any tenant in the computing power network based on the change in bandwidth demand of the tenant, generates allocation information based on the target network bandwidth and the target resource domain, and sends the allocation information to the target resource domain; the resource domain flow control component receives the allocation information of the target network bandwidth allocated to the tenant; based on the target network bandwidth in the allocation information, according to the network bandwidth parameters of each proxy host in the resource domain to which it belongs, determines to allocate at least one bandwidth unit to the tenant in the target proxy host, any bandwidth unit corresponds to a unique tenant, and by dividing the proxy hosts in each resource domain into multiple bandwidth units, the network bandwidth is allocated to each tenant with the bandwidth unit as the minimum allocation granularity, and traffic isolation and concurrency regulation are realized, ensuring that data transmission between different tenants does not interfere with each other, and realizing refined management of network bandwidth.
[0242] Fig.12 It is a schematic diagram of an application scenario of a network bandwidth allocation system provided in an embodiment of the present application, wherein the application scenario includes a central flow control component 1201, an agent component 1202, a prediction model 1203, a traffic database 1204, a resource domain flow control component 1205, a management component 1206 and a proxy host 1207, wherein the proxy host includes multiple bandwidth units (slots).
[0243] In the figure, resource domain i and resource domain j are used to represent two different resource domains. In resource domain i, proxy hosts i-1, ..., proxy hosts ix represent different proxy hosts, and proxy hosts in resource domain j are represented by j-1, ..., etc. In resource domain j, i and j are positive integers, i≠j, and x is an integer greater than 1.
[0244] Each proxy host includes one or more bandwidth units, wherein proxy host i-1 includes multiple bandwidth units sloti-1-1, ... slot-1-n, proxy host ix includes one bandwidth unit sloti-x-1, and proxy host j-1 includes multiple bandwidth units sloti-1-1, ... slot-1-m. Where m and n are integers greater than 1.
[0245] Fig.13 It is a timing diagram in an application scenario of a network bandwidth allocation system provided in an embodiment of the present application, and the application scenario includes: a platform end 1301, a central flow control component 1302, an agent component 1303, a resource domain flow control component 1304 and a management component 1305.
[0246] Tenants can input their business requirements through the platform and use the computing network to process data.
[0247] In this application scenario, the bandwidth network allocation system is first initialized, then monitored in real time, and finally the network bandwidth is dynamically adjusted and allocated.
[0248] Step 10: The platform triggers initialization to the central flow control component;
[0249] Among them, the tenant inputs an initialization request to the system through the platform.
[0250] Step 11: The central flow control component sends the initial bandwidth of each tenant across resource domains to the resource domain flow control component;
[0251] Step 12: The resource domain flow control component sends the initial allocation of bandwidth units within the resource domain to the management component;
[0252] The bandwidth management unit monitors each bandwidth unit according to the initial allocation of the bandwidth unit.
[0253] Step 20: The platform triggers real-time detection to the central flow control component;
[0254] Among them, tenants input real-time monitoring trigger information through the platform.
[0255] Step 21: The central flow control component collects the bandwidth used by tenants in each resource domain from the resource domain flow control component;
[0256] Step 22: The resource domain flow control component collects bandwidth usage in the tenant domain from the management component;
[0257] Among them, the management component uploads the collected bandwidth usage in the tenant domain to the resource domain flow control component, and then uploads it to the central flow control component.
[0258] Step 23: The central flow control component transmits the collected bandwidth usage in the tenant domain to the proxy component;
[0259] The proxy component stores the bandwidth usage record in the tenant domain into the database.
[0260] Step 30: The platform triggers dynamic adjustment to the central flow control component;
[0261] The trigger condition may be a change in the bandwidth demand of the tenant.
[0262] Step 31: The central flow control component requests bandwidth prediction from the proxy component;
[0263] The proxy component forwards the bandwidth prediction request to the prediction model, and sends the traffic prediction information generated by the prediction model to the central flow control component.
[0264] The central flow control component determines the target allocated bandwidth and target resource domain for dynamic bandwidth adjustment of each tenant based on the traffic prediction information and the tenant's request;
[0265] Step 32: The central flow control component sends the determined dynamically adjusted target allocated bandwidth to the target resource domain flow control component;
[0266] The resource domain flow control component determines the number of bandwidth units in the proxy hosts that match the target allocated bandwidth in the resource domain and the proxy hosts to which they belong.
[0267] Step 33: The target flow control component sends bandwidth unit adjustment information to the management component.
[0268] The management component allocates / reclaims bandwidth units according to the adjustment information, and establishes communication between bandwidth units, etc.
[0269] The present application also provides an electronic device in an embodiment. Fig.14 As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application may include but is not limited to fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Fig.14 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0270] like Fig.14 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1402 or a program loaded from a storage device 1408 to a random access memory (RAM) 1403. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 1403. The processing device 1401, the ROM 1402, and the RAM 1403 are connected to each other via a bus 1404. An input / output (I / O) interface 1405 is also connected to the bus 1404.
[0271] Typically, the following devices may be connected to the I / O interface 1405: an input device 1406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1408 including, for example, a memory card, a hard disk, etc.; and a communication device 1409. The communication device 1409 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Fig.14 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0272] The electronic device can serve as any one of the structures such as the resource domain flow control component, the central flow control component, and the proxy component in the network bandwidth method.
[0273] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any network bandwidth allocation method provided in the embodiment of the present application.
[0274] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any network bandwidth allocation method provided in the embodiment of the present application.
[0275] It should also be noted that the device embodiments described above are merely schematic, 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 over 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. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0276] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0277] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0278] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. A network bandwidth allocation method, characterized in that: The method is applied to any resource domain flow control component of a computing power network, wherein the computing power network includes at least two resource domains, each resource domain is provided with a resource domain flow control component, each resource domain includes at least two proxy hosts, each proxy host includes a plurality of bandwidth units, each bandwidth unit corresponds to a preset unit network bandwidth, and the network bandwidth allocation method includes: Receive allocation information of a target network bandwidth allocated to a tenant; the target network bandwidth is the network bandwidth allocated to the tenant by the central flow control component of the computing power network based on a bandwidth request from any tenant in the computing power network; Based on the target network bandwidth in the allocation information, and according to the network bandwidth parameters of each proxy host in the resource domain, determine to allocate at least one bandwidth unit to the tenant in the target proxy host, where any bandwidth unit corresponds to a unique tenant; The network bandwidth allocation method further includes: Obtain real-time traffic information of each tenant in the resource domain; The real-time traffic information is uploaded to the proxy component of the computing network, and when the real-time traffic information does not match the traffic prediction information, the proxy component triggers a training process of a prediction model so that the traffic prediction information generated by the prediction model matches the real-time traffic information; The step of determining to allocate at least one bandwidth unit to the tenant in the target proxy host based on the target network bandwidth in the allocation information and according to the network bandwidth parameters of each proxy host in the resource domain to which it belongs includes: Obtain the network bandwidth parameters of each proxy host in the resource domain; Determine a target proxy host according to a preset resource domain bandwidth allocation strategy, the target network bandwidth, and network bandwidth parameters of each proxy host in the resource domain to which it belongs, and the target proxy host can provide network bandwidth for the tenant; Determining at least one bandwidth unit in the target proxy host, the at least one bandwidth unit matching a network bandwidth provided by the target proxy host for the tenant; The at least one bandwidth unit is allocated to a corresponding tenant.
2. The network bandwidth allocation method according to claim 1, characterized in that: The preset resource domain bandwidth allocation strategy includes constraint conditions and objective functions; The objective function is a function used by the resource domain flow control component to allocate the target network bandwidth of each tenant to each proxy host in the resource domain. The objective function is a function that minimizes the sum of all unmet bandwidth demands. The unmet bandwidth demand is the amount of bandwidth that the proxy host allocates to the tenant is less than the target network bandwidth of the tenant. The constraints include constraints that the tenant needs to follow and constraints that the proxy host needs to follow.
3. A network bandwidth allocation method, characterized in that: The method is applied to the central flow control component of the computing power network, wherein the computing power network also includes at least two resource domains, each resource domain is provided with a resource domain flow control component, each resource domain includes at least two proxy hosts, each proxy host includes a plurality of bandwidth units, each bandwidth unit corresponds to a preset unit network bandwidth, and the network bandwidth allocation method includes: Based on the change in bandwidth demand of any tenant in the computing network, determine the target network bandwidth and target resource domain to be allocated to the tenant; generating allocation information based on the target network bandwidth and the target resource domain; Sending the allocation information to the target resource domain, so that the target resource domain determines at least one bandwidth unit allocated to the tenant in each proxy host based on the target network bandwidth and according to the network bandwidth parameters of each proxy host in the resource domain, and any bandwidth unit corresponds to a unique tenant; The step of determining the target network bandwidth and target resource domain to be allocated to any tenant based on the change in bandwidth demand of any tenant in the computing network includes: Based on the change in bandwidth demand of any tenant, obtain the requested bandwidth and currently used bandwidth of the tenant; Based on the fact that the total available bandwidth in the computing power network does not satisfy the requested bandwidth of the tenant, determining at least one target tenant, where the target tenant is a tenant whose currently used bandwidth is less than the requested bandwidth; Based on the preset tenant bandwidth allocation strategy, determine the bandwidth allocation ratio of each target tenant according to the preset priority of the target tenant; Determine the target network bandwidth and target resource domain allocated to each tenant based at least on the bandwidth allocation ratio and the total available bandwidth in the computing network; The step of determining the target network bandwidth and the target resource domain allocated to each tenant based at least on the bandwidth allocation ratio and the total available bandwidth in the computing network includes: The target network bandwidth and target resource domain allocated to each tenant are determined according to the bandwidth allocation ratio, the total available bandwidth in the computing network, and the idle uplink bandwidth units and idle downlink bandwidth units contained in the proxy host in each resource domain.
4. The network bandwidth allocation method according to claim 3, characterized in that: Also includes: Obtaining traffic prediction information for the tenant through the proxy component, wherein the traffic prediction information is output by the prediction model; The tenant bandwidth allocation strategy is updated at least according to the traffic prediction information.
5. A network bandwidth allocation system, characterized in that: The system is applied to a computing network, which includes at least two resource domains, each of which includes at least two proxy hosts, each of which includes a number of bandwidth units, each of which corresponds to a preset unit network bandwidth, including: A central flow control component, at least two resource domain flow control components corresponding to the resource domains, an agent component, and at least two management components corresponding to the resource domains; Among them, the central flow control component determines the target network bandwidth and target resource domain allocated to any tenant in the computing network based on the change in bandwidth demand of the tenant; the central flow control component sends the target network bandwidth to the resource domain flow control component in the target resource domain allocated to the tenant; The resource domain flow control component determines to allocate at least one bandwidth unit to the tenant in the target proxy host based on the target network bandwidth and the network bandwidth parameters of each proxy host in the resource domain to which it belongs, and any bandwidth unit corresponds to a unique tenant; Among them, the proxy component is used to receive the real-time traffic information transmitted by the central flow control component, and the real-time traffic information is obtained by the resource domain flow control component counting the real-time traffic of each tenant in the resource domain to which it belongs; the traffic prediction information obtained from the prediction model is compared with the real-time traffic information to obtain a comparison result; based on the comparison result, it is characterized that the difference between the traffic prediction information and the real-time traffic information is greater than a preset threshold, triggering the prediction model to update the parameters, and the difference between the traffic prediction information of the updated prediction model and the real-time traffic information is not greater than the preset threshold; The management component is used to monitor the traffic of each bandwidth unit in each host in the resource domain to which it belongs, and upload it to the resource domain flow control component.
Citation Information
Patent Citations
Network slice resource allocation method and device, SDN controller and storage medium
CN116192640A
Multi-tenant network traffic hybrid scheduling method and system
CN118250241A