Transmission bandwidth resource allocation method and device, electronic equipment and storage medium

By dynamically allocating bandwidth resources to clients of cloud desktop servers according to priority, the problem of bandwidth resource waste in the existing technology is solved, and efficient utilization of bandwidth resources and meeting different user needs is achieved.

CN119109883APending Publication Date: 2024-12-10VISIONVERA INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411185302.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The fixed bit rate setting of bandwidth resources in the existing cloud desktop servers when the user login and non-login states leads to wasting bandwidth resources, which cannot meet the usage effects of different users.

Method used

By allocating fixed bandwidth resources to clients with priority above the threshold and evenly allocating the remaining bandwidth resources to clients with priority below the threshold, the bandwidth resources are dynamically adjusted to meet the needs of different users.

Benefits of technology

The full utilization of bandwidth resources is achieved, ensuring the bandwidth priority usage rights of high-priority users, and at the same time improving the bandwidth utilization rate of low-priority users to meet the usage effects of different users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119109883A_ABST
    Figure CN119109883A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a transmission bandwidth resource allocation method and device, electronic equipment and a storage medium. The method comprises the steps that a first client side and a second client side which have access to a server are obtained, the first client side is a client side with the client side priority higher than a priority threshold value, and the second client side is a client side with the client side priority lower than the priority threshold value; and allocating a preset fixed bandwidth resource to each first client, and averagely allocating a first remaining transmission bandwidth resource to the second client, the first remaining transmission bandwidth resource being a remaining transmission bandwidth resource after the fixed bandwidth resource is allocated to all the first clients. According to the embodiment of the invention, the purposes of fully utilizing the network bandwidth and meeting the use effects of different users can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of bandwidth resource allocation, and in particular to a method, device, electronic device and storage medium for allocating transmission bandwidth resources. Background Art

[0002] Cloud Desktop, also known as desktop virtualization or cloud computer, is a new model that replaces traditional computers. It uses virtualization technology to move the operating system and applications of personal computers from local devices to the cloud. Users can access and control remote computer desktops through the Internet, realizing functions such as remote office, cross-device collaboration and data sharing.

[0003] In the existing technical solution, a fixed bit rate is set for the internal virtual network port of the cloud desktop server according to different users. When some users are logged in and some users are not logged in, this method of setting the bit rate will cause a waste of bandwidth resources and cannot meet the usage effects of different users. Summary of the invention

[0004] In view of the above problems, embodiments of the present application are proposed to provide a method, device, electronic device and storage medium for allocating transmission bandwidth resources that overcome the above problems or at least partially solve the above problems.

[0005] In a first aspect, an embodiment of the present application provides a method for allocating transmission bandwidth resources, the method comprising:

[0006] Acquire a first client and a second client accessing the server, wherein the first client is a client whose client priority is higher than a priority threshold, and the second client is a client whose client priority is lower than the priority threshold;

[0007] A preset fixed bandwidth resource is allocated to each of the first clients, and first remaining transmission bandwidth resources are evenly allocated to the second clients, where the first remaining transmission bandwidth resources refer to transmission bandwidth resources remaining after the fixed bandwidth resources are allocated to all the first clients.

[0008] Optionally, allocating a preset fixed bandwidth resource to each of the first clients includes:

[0009] The data transmission bit rate of each of the first clients is set to the data transmission bit rate value corresponding to the fixed bandwidth resource.

[0010] Optionally, the evenly allocating the first remaining transmission bandwidth resource to the second client includes:

[0011] Obtaining the number of clients of the second client;

[0012] Calculate and obtain an average value between the first remaining transmission bandwidth resource and the number of clients to obtain an average transmission bandwidth resource;

[0013] The average transmission bandwidth resource is allocated to each of the second clients.

[0014] Optionally, the method further comprises:

[0015] Acquire a third client newly connected to the server;

[0016] According to the client priority of the third client, transmission bandwidth resources are dynamically allocated to all connected clients.

[0017] Optionally, dynamically allocating transmission bandwidth resources to all connected clients according to the client priority of the third client includes:

[0018] In a case where the client priority of the third client is higher than the priority threshold, determining whether the first remaining transmission bandwidth resources are greater than the transmission bandwidth resources required by the third client;

[0019] In the case where the first remaining transmission bandwidth resources are greater than the transmission bandwidth resources required by the third client, the transmission bandwidth resources of the first client are kept unchanged, the fixed bandwidth resources are allocated to each of the third clients, and the second remaining transmission bandwidth resources are evenly allocated to the second clients, where the second remaining transmission bandwidth resources refer to the transmission bandwidth resources remaining after the fixed bandwidth resources are allocated to all the first clients and the third clients;

[0020] In a case where the first remaining transmission bandwidth resources are less than or equal to the transmission bandwidth resources required by the third client, a reset target fixed bandwidth resource is obtained, the target fixed bandwidth resource is allocated to each of the first clients and each of the third clients, and the third remaining transmission bandwidth resource is evenly allocated to the second clients, where the third remaining transmission bandwidth resource refers to the transmission bandwidth resource remaining after the target fixed bandwidth resource is allocated to all of the first clients and the third clients.

[0021] Optionally, dynamically allocating transmission bandwidth resources to all connected clients according to the client priority of the third client includes:

[0022] In a case where the client priority of the third client is lower than the priority threshold, the first remaining transmission bandwidth resources are evenly allocated to the second client and the third client.

[0023] Optionally, the method further comprises:

[0024] Acquire a fourth client disconnected from the server, where the fourth client is a client of the first client or the second client;

[0025] According to the client priority of the fourth client, transmission bandwidth resources are dynamically allocated to all connected clients.

[0026] Optionally, dynamically allocating transmission bandwidth resources to all connected clients according to the client priority of the fourth client includes:

[0027] When the client priority of the fourth client is higher than the priority threshold, acquiring a fourth remaining transmission bandwidth resource; the fourth remaining transmission bandwidth resource is equal to the sum of the fixed bandwidth resources required by the fourth client and the first remaining transmission bandwidth resources;

[0028] The transmission bandwidth resources of the other clients among the first clients except the fourth client are kept unchanged, and the fourth remaining transmission bandwidth resources are evenly distributed to the second clients.

[0029] Optionally, dynamically allocating transmission bandwidth resources to all connected clients according to the client priority of the fourth client includes:

[0030] When the client priority of the fourth client is lower than the priority threshold, the transmission bandwidth resources of the first client are kept unchanged, and the first remaining transmission bandwidth resources are evenly distributed to other clients among the second clients except the fourth client.

[0031] In a second aspect, an embodiment of the present application provides a device for allocating transmission bandwidth resources, the device comprising:

[0032] An access client acquisition module, used to acquire a first client and a second client accessing a server, wherein the first client is a client having a client priority higher than a priority threshold, and the second client is a client having a client priority lower than the priority threshold;

[0033] The transmission bandwidth resource allocation module is used to allocate a preset fixed bandwidth resource to each of the first clients, and evenly allocate the first remaining transmission bandwidth resources to the second clients, where the first remaining transmission bandwidth resources refer to the transmission bandwidth resources remaining after the fixed bandwidth resources are allocated to all the first clients.

[0034] Optionally, the transmission bandwidth resource allocation module includes:

[0035] The data transmission code rate setting unit is used to set the data transmission code rate of each of the first clients to the data transmission code rate value corresponding to the fixed bandwidth resource.

[0036] Optionally, the transmission bandwidth resource allocation module includes:

[0037] A client number obtaining unit, used to obtain the client number of the second client;

[0038] an average bandwidth calculation unit, configured to calculate an average value between the first remaining transmission bandwidth resource and the number of clients to obtain an average transmission bandwidth resource;

[0039] The average bandwidth allocation unit is configured to allocate the average transmission bandwidth resource to each of the second clients.

[0040] Optionally, the device further comprises:

[0041] A third client acquisition module, used to acquire a third client newly connected to the server;

[0042] The first bandwidth dynamic allocation module is used to dynamically allocate transmission bandwidth resources to all connected clients according to the client priority of the third client.

[0043] Optionally, the first bandwidth dynamic allocation module includes:

[0044] a transmission bandwidth resource determining unit, configured to determine, when the client priority of the third client is higher than the priority threshold, whether the first remaining transmission bandwidth resource is greater than the transmission bandwidth resource required by the third client;

[0045] a first bandwidth allocation unit, configured to, when the first remaining transmission bandwidth resources are greater than the transmission bandwidth resources required by the third client, keep the transmission bandwidth resources of the first client unchanged, allocate the fixed bandwidth resources to each of the third clients, and evenly allocate the second remaining transmission bandwidth resources to the second clients, wherein the second remaining transmission bandwidth resources refer to the transmission bandwidth resources remaining after allocating the fixed bandwidth resources to all the first clients and the third clients;

[0046] a second bandwidth allocation unit, configured to, when the first remaining transmission bandwidth resources are less than or equal to the transmission bandwidth resources required by the third client, obtain a reset target fixed bandwidth resource, allocate the target fixed bandwidth resource to each of the first client and each of the third client, and evenly allocate the third remaining transmission bandwidth resource to the second client, wherein the third remaining transmission bandwidth resource refers to the transmission bandwidth resource remaining after allocating the target fixed bandwidth resources to all of the first clients and the third clients.

[0047] Optionally, the first bandwidth dynamic allocation module includes:

[0048] The third bandwidth allocation unit is configured to allocate the first remaining transmission bandwidth resource evenly to the second client and the third client when the client priority of the third client is lower than the priority threshold.

[0049] Optionally, the device further comprises:

[0050] A fourth client acquisition module, used to acquire a fourth client disconnected from the server, wherein the fourth client is a client of the first client or the second client;

[0051] The second bandwidth dynamic allocation module is used to dynamically allocate transmission bandwidth resources to all connected clients according to the client priority of the fourth client.

[0052] Optionally, the second bandwidth dynamic allocation module includes:

[0053] a remaining bandwidth acquisition unit, configured to acquire, when the client priority of the fourth client is higher than the priority threshold, a fourth remaining transmission bandwidth resource; the fourth remaining transmission bandwidth resource is equal to the sum of the fixed bandwidth resource required by the fourth client and the first remaining transmission bandwidth resource;

[0054] The fourth bandwidth allocation unit is configured to keep the transmission bandwidth resources of the other clients among the first clients except the fourth client unchanged, and evenly allocate the fourth remaining transmission bandwidth resources to the second clients.

[0055] Optionally, the second bandwidth dynamic allocation module includes:

[0056] a fifth bandwidth allocation unit, configured to keep the transmission bandwidth resources of the first client unchanged and evenly allocate the first remaining transmission bandwidth resources to other clients among the second clients except the fourth client when the client priority of the fourth client is lower than the priority threshold.

[0057] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0058] one or more processors; and

[0059] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the apparatus to execute any of the above-mentioned methods for allocating transmission bandwidth resources.

[0060] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program that enables a processor to execute any of the above-mentioned methods for allocating transmission bandwidth resources.

[0061] The embodiments of the present application include the following advantages:

[0062] The solution provided by the embodiment of the present application is to obtain a first client and a second client accessing a server, wherein the first client is a client whose client priority is higher than a priority threshold, and the second client is a client whose client priority is lower than a priority threshold. A pre-set fixed bandwidth resource is allocated to each first client, and the first remaining transmission bandwidth resource is evenly allocated to the second client, and the first remaining transmission bandwidth resource refers to the transmission bandwidth resource remaining after allocating fixed bandwidth resources to all first clients. The embodiment of the present application sets priorities for the clients, and sets a fixed high bandwidth for users with high priorities to ensure that high-priority users have priority in using bandwidth resources. For low-priority users, the remaining bandwidth will be evenly allocated according to the number of current users logged in to ensure that bandwidth resource utilization is maximized. Thereby, the purpose of fully utilizing the network bandwidth and satisfying the usage effects of different users can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 A flowchart of a method for allocating transmission bandwidth resources provided in an embodiment of the present application;

[0064] Figure 2 A flowchart of a method for allocating average transmission bandwidth resources provided in an embodiment of the present application;

[0065] Figure 3 A flowchart of a method for dynamically allocating transmission bandwidth resources provided in an embodiment of the present application;

[0066] Figure 4 A flowchart of another method for dynamically allocating transmission bandwidth resources provided in an embodiment of the present application;

[0067] Figure 5 A schematic diagram of a cloud desktop technology architecture provided in an embodiment of the present application;

[0068] Figure 6 A schematic diagram of the structure of a transmission bandwidth resource allocation device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0069] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0070] Reference Figure 1 , shows a flow chart of the steps of a method for allocating transmission bandwidth resources provided by an embodiment of the present application. Figure 1 As shown, the method for allocating transmission bandwidth resources may include: step 101 and step 102.

[0071] Step 101: Acquire a first client and a second client that access a server, wherein the first client is a client whose client priority is higher than a priority threshold, and the second client is a client whose client priority is lower than the priority threshold.

[0072] The embodiments of the present application may be applied to a scenario in which transmission bandwidth resources are allocated to clients according to their priorities.

[0073] The embodiments of the present application can be applied to a server, that is, the execution subject is a server.

[0074] Transmission bandwidth resources refer to the ability or capacity of a network to transmit data and are one of the key indicators for measuring network performance. Transmission bandwidth resources can be used to indicate the maximum data rate that can be transmitted from one point in the network to another in a unit of time, that is, the number of bits that can be transmitted per second (bit / s).

[0075] The priority threshold refers to a pre-set boundary value used to divide or define different priority levels. The specific value of the priority threshold can be determined according to business requirements, and this embodiment does not impose any limitation on this.

[0076] When allocating transmission bandwidth resources to clients accessing the server, a first client and a second client accessing the server may be obtained, wherein the first client may be a client having a client priority higher than a priority threshold, and the second client may be a client having a client priority lower than the priority threshold. That is, the first client is a high-priority client, and the second client is a low-priority client.

[0077] In a specific implementation, when a client registers in a server, the priority of the client can be set. For example, the priority can be set according to whether the client is a paid client, such as assigning a client priority higher than a priority threshold to a paid client, and assigning a client priority lower than a priority threshold to a non-paid client, etc. Of course, other methods can also be used to set the client priority, which is not limited in this embodiment.

[0078] After the accessed client is acquired, the client priority of the accessed client may be acquired from pre-stored client priority information according to the client identifier.

[0079] After the first client and the second client accessing the server are acquired, step 102 is performed.

[0080] Step 102: Allocate a preconfigured fixed bandwidth resource to each of the first clients, and evenly distribute first remaining transmission bandwidth resources to the second clients, where the first remaining transmission bandwidth resources refer to transmission bandwidth resources remaining after allocating the fixed bandwidth resources to all of the first clients.

[0081] Fixed bandwidth resources refer to pre-configured transmission bandwidth resources allocated to high-priority clients.

[0082] After acquiring the first client and the second client accessing the server, a pre-configured fixed bandwidth resource can be allocated to each first client, and the first remaining transmission bandwidth resource can be allocated to the second client. The first remaining transmission bandwidth resource is the transmission bandwidth resource remaining after allocating fixed bandwidth resources to all first clients. For example, the first client includes: client 1, the second client includes: client 2 and client 3, the fixed bandwidth resource is 400 megabytes, and the total network bandwidth is 800 megabytes. Then, when allocating transmission bandwidth resources, 400 megabytes of fixed bandwidth resources can be allocated to client 1, and the remaining 400 megabytes of transmission bandwidth resources can be evenly allocated to client 2 and client 3, etc.

[0083] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.

[0084] The embodiment of the present application sets priorities for the clients, and sets a fixed high bandwidth for users with high priorities to ensure that high-priority users have priority in using bandwidth resources. For low-priority users, the remaining transmission bandwidth resources are evenly distributed according to the number of current user logins to make full use of the remaining network bandwidth and improve bandwidth utilization.

[0085] In this embodiment, allocating a preset fixed bandwidth resource to each first client refers to: setting the data transmission code rate of each first client to a data transmission code rate value corresponding to the fixed bandwidth resource.

[0086] Bitrate, also known as bit rate, is a unit used to describe the speed of digital signal transmission, indicating the number of bits transmitted per second. The data transmission rate can be expressed in Kbps (kilobits per second) or Mbps (megabits per second). It determines the amount of data transmitted in a specific time interval.

[0087] In practical applications, the transmission bandwidth resources determine the maximum data transmission bit rate that the network can support. When allocating fixed bandwidth resources, the port of the first client can be allocated to the data transmission bit rate value corresponding to the allocated fixed bandwidth resources, that is, the bit rate of data transmitted from the port corresponding to the first client is the data transmission bit rate value corresponding to the fixed bandwidth resources.

[0088] It can be understood that in this example, allocating the first remaining transmission bandwidth resources evenly to the second clients means: averaging the first remaining transmission bandwidth resources according to the number of second clients, and setting the data transmission code rate of the second clients to a data transmission code rate value corresponding to the average value.

[0089] The process of averaging the remaining data bit rate can be combined with Figure 2 This is described in detail as follows.

[0090] Reference Figure 2 , shows a flowchart of the steps of an average transmission bandwidth resource allocation method provided by an embodiment of the present application. Figure 2 As shown, the method may include: step 201, step 202 and step 203.

[0091] Step 201: Obtain the number of clients of the second client.

[0092] In this embodiment, after a fixed bandwidth resource is allocated to each first client, the number of second clients currently accessing the server may be obtained.

[0093] After the number of the second client is obtained, step 202 is executed.

[0094] Step 202: Calculate and obtain an average value between the first remaining transmission bandwidth resources and the number of clients to obtain an average transmission bandwidth resource.

[0095] After obtaining the number of clients of the second client, the average value between the first remaining transmission bandwidth resource and the number of clients can be calculated to obtain the average transmission bandwidth resource. For example, if the first remaining transmission bandwidth resource is 600 megabytes and the number of second clients is 2, namely, client 2 and client 3, the average transmission bandwidth resource is 300 megabytes.

[0096] After the average value between the first remaining transmission bandwidth resource and the number of clients is calculated to obtain the average transmission bandwidth resource, step 203 is performed.

[0097] Step 203: Allocate the average transmission bandwidth resource to each of the second clients.

[0098] After calculating the average value between the first remaining transmission bandwidth resource and the number of clients to obtain the average transmission bandwidth resource, the average transmission bandwidth resource can be allocated to each second client. For example, following the example of step 202 above, if the average transmission bandwidth resource is 300 megabytes, a transmission bandwidth resource of 300 megabytes can be allocated to client 2, and a transmission bandwidth resource of 300 megabytes can be allocated to client 3, and so on.

[0099] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.

[0100] In the embodiment of the present application, after allocating fixed bandwidth resources to all high-priority clients, the remaining transmission bandwidth resources can be evenly distributed to low-priority clients, thereby achieving the purpose of fully utilizing the network bandwidth and ensuring maximum bandwidth utilization.

[0101] In a specific implementation of the present application, after a new client is connected to the server, the transmission bandwidth resources can be dynamically allocated to all clients connected to the server according to the client priority of the newly connected third client. Figure 3 This is described in detail as follows.

[0102] Reference Figure 3 , shows a flow chart of the steps of a method for dynamically allocating transmission bandwidth resources provided by an embodiment of the present application. Figure 3 As shown, the method for dynamically allocating transmission bandwidth resources may include: step 301 and step 302.

[0103] Step 301: Acquire a third client newly connected to the server.

[0104] In this embodiment, the third client refers to a client that newly accesses the server.

[0105] During the operation of the server, it is possible to monitor whether there is a newly accessed client. In a specific implementation, a port scanning tool (such as Nmap, etc.) can be used to regularly scan the open ports on the server to monitor whether there is a newly accessed client. Alternatively, by regularly checking and analyzing the log files in the server, such as Apache, Nginx or system logs, etc., to find the connection records of successful connections of new clients. Of course, in actual applications, other methods can also be used to monitor whether there is a third client that newly accesses the server, and this embodiment does not limit the monitoring method for the newly accessed client.

[0106] After the presence of a third client newly accessing the server is detected, a subsequent dynamic allocation process of transmission bandwidth resources is performed.

[0107] Step 302: Dynamically allocate transmission bandwidth resources to all connected clients according to the client priority of the third client.

[0108] After acquiring the third client newly accessing the server, the transmission bandwidth resources can be dynamically allocated to all clients (including the first client, the second client and the third client) according to the client priority of the third client. The dynamic allocation process can be divided into the following two cases:

[0109] In the first case, the client priority of the third client is higher than the priority threshold.

[0110] When the client priority of the third client is higher than the priority threshold, it can be determined whether the first remaining transmission bandwidth resource is greater than the transmission bandwidth resource required by the third client. Specifically, when the number of third clients is N (N is a positive integer), the transmission bandwidth resource required by the third client is the fixed bandwidth resource × N. The size relationship between the first remaining transmission bandwidth resource and the fixed bandwidth resource × N can be determined.

[0111] 1. When the first remaining transmission bandwidth resource is greater than the transmission bandwidth resource required by the third client, the transmission bandwidth resource of the first client can be kept unchanged, and a fixed bandwidth resource can be allocated to each third client. At the same time, the second remaining transmission bandwidth resource can be evenly allocated to the second client, wherein the second remaining transmission bandwidth resource refers to the transmission bandwidth resource remaining after allocating fixed bandwidth resources to all first clients and third clients. For example, the network bandwidth is 2000 megabytes, the first client includes: client 1 and client 2, the second client includes: client 3 and client 4, the fixed bandwidth resource is 600 megabytes, and before the third client accesses, the transmission bandwidth resources allocated to client 1 and client 2 are both 600 megabytes, and the transmission bandwidth resources allocated to client 3 and client 4 are 400 megabytes. The third client that accesses is client 5. After the dynamic allocation of transmission bandwidth resources, the transmission bandwidth resources allocated to client 1, client 2 and client 5 are all 600 megabytes, and the remaining second remaining transmission bandwidth resources are 200 megabytes. At this time, the transmission bandwidth resources allocated to client 3 and client 4 are both 100 megabytes, etc.

[0112] 2. When the first remaining transmission bandwidth resource is less than or equal to the transmission bandwidth resource required by the third client, obtain the reset target fixed bandwidth resource, allocate the target fixed bandwidth resource to each first client and each third client, and evenly allocate the third remaining transmission bandwidth resource to the second client. The third remaining transmission bandwidth resource refers to the transmission bandwidth resource remaining after allocating the target fixed bandwidth resource to all first clients and third clients. For example, the network bandwidth is 1000 megabytes, the fixed bandwidth resource is 400 megabytes, the first client includes: client 1 and client 2, and the second client includes: client 3 and client 4. Before the third client accesses, the transmission bandwidth resources allocated to client 1 and client 2 are both 400 megabytes, and the transmission bandwidth resources allocated to client 3 and client 4 are 100 megabytes. The third client connected is client 5. The first remaining transmission bandwidth resource of 200 megabytes does not meet the transmission bandwidth resource allocation demand of client 5. At this time, the fixed bandwidth resources can be changed, such as changing the fixed bandwidth resources of 400 megabytes to 300 megabytes (that is, the target fixed bandwidth resources are 300 megabytes), etc. Furthermore, 300 megabytes of transmission bandwidth resources can be allocated to client 1, client 2 and client 5 respectively, and the remaining transmission bandwidth resources of 100 megabytes (that is, the second remaining transmission bandwidth resources) are evenly allocated to client 3 and client 4, that is, 50 megabytes of transmission bandwidth resources are allocated to client 3 and client 4, etc.

[0113] In this embodiment, the fixed bandwidth resources may be reset by the business personnel, or may be reset by the server according to business requirements. This embodiment does not limit the reset method of the fixed bandwidth resources.

[0114] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.

[0115] The embodiment of the present application dynamically changes the fixed bandwidth resources of the high-priority client, so as to satisfy the private rights and interests of the high-priority client and allocate a lower bandwidth to the low-priority client to fully utilize the bandwidth resources.

[0116] In the second case, the client priority of the third client is lower than the priority threshold.

[0117] In the case where the client priority of the third client is lower than the priority threshold, the first remaining transmission bandwidth resource can be evenly allocated to the second client and the third client. For example, the first transmission bandwidth resource is 900 megabytes, and the second client includes: client 1 and client 2. Before the third client accesses the server, the transmission bandwidth resources allocated to client 1 and client 2 are both 450 megabytes. After the third client (client 3) accesses, 900 megabytes can be evenly allocated to client 1, client 2, and client 3, that is, 450 megabytes of transmission bandwidth resources are allocated to client 1, client 2, and client 3.

[0118] In the embodiment of the present application, when the client priority of the newly connected third client is lower than the priority threshold, the transmission bandwidth resources are evenly distributed, which can ensure full utilization of bandwidth resources while meeting the data transmission requirements of the newly connected client.

[0119] It is understandable that when there are multiple newly connected third clients and there are both clients with higher priority and clients with lower priority among the third clients, the above two situations can be combined to dynamically allocate transmission bandwidth resources.

[0120] In another specific implementation of the present application, after there is a disconnected client on the server, the transmission bandwidth resources can be dynamically allocated to all clients accessing the server (i.e., the first client and the second client except the fourth client) according to the client priority of the disconnected fourth client. Figure 4 This is described in detail as follows.

[0121] Reference Figure 4 , shows a flowchart of another method for dynamically allocating transmission bandwidth resources provided by an embodiment of the present application. Figure 4 As shown, the method for dynamically allocating transmission bandwidth resources may include: step 401 and step 402.

[0122] Step 401: Acquire a fourth client disconnected from the server, where the fourth client is a client of the first client or the second client.

[0123] In this embodiment, the fourth client refers to a client disconnected from the server. In this example, the fourth client may be a client of the first client or the second client.

[0124] During the operation of the server, a fourth client disconnected from the server may be obtained.

[0125] After the fourth client disconnected from the server is obtained, step 402 is executed.

[0126] Step 402: Dynamically allocate transmission bandwidth resources to all connected clients according to the client priority of the fourth client.

[0127] After obtaining the fourth client disconnected from the server, the transmission bandwidth resources can be dynamically allocated to all connected clients according to the client priority of the fourth client. The dynamic allocation process can be divided into the following two cases:

[0128] In the first case, the client priority of the fourth client is higher than the priority threshold.

[0129] In this embodiment, when the client priority of the fourth client is higher than the priority threshold, the fourth remaining transmission bandwidth resource can be obtained, and the fourth remaining transmission bandwidth resource is equal to the sum of the fixed bandwidth resource required by the fourth client and the first remaining transmission bandwidth resource. Furthermore, the transmission bandwidth resources of the other clients except the fourth client in the first client can be kept unchanged, and the fourth remaining transmission bandwidth resource can be evenly allocated to the second client. For example, before the fourth client disconnects from the server, the first client includes: client 1 and client 2, the second client is client 3 and client 4, the network bandwidth is 2000 megabytes, and the fixed bandwidth resource is 800 megabytes. Then the transmission bandwidth resources allocated to client 1 and client 2 are both 800 megabytes, and the transmission bandwidth resources allocated to client 3 and client 4 are both 200 megabytes. After the fourth client (i.e., client 1) disconnects from the server, the transmission bandwidth resource 800 megabytes allocated to client 1 remains unchanged, and the fourth remaining transmission bandwidth resource is 1200 megabytes. At this time, the fourth remaining transmission bandwidth resource can be evenly allocated to client 3 and client 4, that is, 600 megabytes of transmission bandwidth resources are allocated to client 3 and client 4, etc.

[0130] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.

[0131] The embodiment of the present application can avoid wasting bandwidth resources by allocating the transmission bandwidth resources previously occupied by a high-priority client to a low-priority client after the client disconnects from the server, thereby making full use of the network bandwidth and improving the data transmission efficiency of the low-priority client.

[0132] In the second case, the client priority of the fourth client is lower than the priority threshold.

[0133] In this embodiment, when the client priority of the fourth client disconnected from the server is lower than the priority threshold, the transmission bandwidth resources of the first client can be kept unchanged, and the first remaining transmission bandwidth resources can be evenly allocated to the other clients in the second client except the fourth client. For example, the first client includes: client 1 and client 2, the second client includes: client 3 and client 4, the network bandwidth is 1000 megabytes, and the fixed bandwidth resources are 400 megabytes. Before the fourth client is disconnected from the server, the transmission bandwidth resources allocated to client 1 and client 2 are both 400 megabytes, and the transmission bandwidth resources allocated to client 3 and client 4 are both 100 megabytes. After the fourth client (such as client 3) is disconnected from the server, the transmission bandwidth resources of client 1 and client 2 are kept unchanged, and the first remaining transmission bandwidth resources are allocated to client 4, that is, 200 megabytes of transmission bandwidth resources are allocated to client 4, etc.

[0134] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.

[0135] In the embodiment of the present application, when the disconnected fourth client is a low-priority client, the transmission bandwidth resources occupied by the fourth client are evenly distributed to other low-priority clients, thereby improving the data transmission efficiency of the low-priority clients while ensuring full utilization of the network bandwidth.

[0136] It is understandable that when there are multiple disconnected fourth clients and there are both clients with higher priority than the threshold and clients with lower priority than the threshold among the fourth clients, the above two situations can be combined to dynamically allocate transmission bandwidth resources.

[0137] Of course, in a specific implementation, if there is a fourth client that is disconnected and after the above two methods are used to dynamically allocate transmission bandwidth resources, if the transmission bandwidth resources allocated to the high-priority client are lower than the transmission bandwidth resources of the low-priority client, the pre-configured fixed bandwidth resources can be adjusted up to make the data transmission rate of the high-priority client higher than that of the low-priority client, so as to fully guarantee the high-priority client's right to use bandwidth resources.

[0138] Next, combine Figure 5 The cloud desktop system shown describes the technical solution of the embodiment of the present application in detail.

[0139] like Figure 5 As shown, the cloud desktop system may include: a Proxmox server, a cloud desktop client, a virtual machine, a web server, and a web client, wherein:

[0140] Proxmox Server is responsible for managing and running virtual machines, which contain the operating system, applications and data required by users. Proxmox provides rich management functions, such as virtual machine creation, deletion, migration, backup and recovery, so that administrators can easily manage a large number of virtual desktop environments.

[0141] The cloud desktop client is a tool for users to access the cloud desktop environment. Users can connect to the virtual machine on the Proxmox server through the cloud desktop client to access and use the operating system, applications and data therein.

[0142] The Web Client is a tool for accessing the cloud desktop environment through a web browser. Users do not need to install additional software on their local devices, they can simply connect to the virtual machine on the Proxmox server through a web browser.

[0143] In the context of cloud desktop technology, a web server usually refers to a server that provides web services (such as a web client access interface, etc.). It is responsible for processing requests from web clients and forwarding them to the Proxmox server or virtual machine for processing.

[0144] A virtual machine is one or more complete computer systems simulated on a physical computer through virtualization technology. In cloud desktop technology, virtual machines are the main carriers of users' working environment and computing resources.

[0145] The specific implementation process may include:

[0146] 1. The web server can set fixed bandwidth resources for high-priority users (i.e., clients with a priority higher than a priority threshold) through a web page. At the same time, user registration can be performed through the web page, and priorities can be set for users.

[0147] 2. When the cloud desktop client logs in, user authentication is performed and the client unique identifier is saved in the database. At the same time, the web server calculates the user bandwidth resources based on the user priority and saves the bandwidth resources in the database. The bit rate of the high-priority user is the fixed bandwidth resource in (1), and the transmission bandwidth resources of the low-priority user are: (total bandwidth - number of high-priority users * fixed bandwidth resources) / number of low-priority users. For example, through the web page, the fixed bandwidth resources of the high-priority user are set to 200M and the maximum bandwidth is 300M. Register user tom with high priority. Register user user1 with normal priority. Register user user2 with normal priority. The transmission bandwidth resources are calculated every time a user logs in and out. Tom logs in first, and his fixed bandwidth resources as a high-priority user are 200M. When user1 logs in, user1's transmission bandwidth resources are (300-200) / 1=100M. When user2 logs in, user1 and user2's transmission bandwidth resources are both (300-200) / 2=50M, etc.

[0148] 3. The Proxmox server queries the web server for the user's unique ID and transmission bandwidth resources. For example, the Proxmox server queries the web server for the unique ID and transmission bandwidth resources of users tom, user1, and user2: tom's transmission bandwidth resources are 200M, user1's transmission bandwidth resources are 50M, user2's transmission bandwidth resources are 50M, and so on.

[0149] 4. The virtual machine sends data to the preset port number of the virtual network card Nnet. When controlling the transmission bandwidth resources, control can be performed according to the preset port number, that is, the preset port number is limited in speed according to the transmission bandwidth resources, and the preset port number is limited in speed according to the data transmission bit rate value corresponding to the transmission bandwidth resources. For example, the virtual machine sends data to the preset port number 60008 of the virtual network card Nnet.

[0150] 5. The speed limiting software of the Proxmox server limits the speed of the virtual machine data according to the unique identifier and transmission bandwidth resources in (3). For example, after the Proxmox server obtains data from the preset port 60008 of the virtual network card Nnet, it limits the speed of the data of different virtual machines according to the unique identifier.

[0151] 6. The cloud desktop client can view the bit rate of the data received by the client through the packet capture software. That is, after the cloud desktop client receives the data from the Proxmox server, it captures the packet on the network card and analyzes the transmission bandwidth resources of the received data. The transmission bandwidth resources of tom are 200Mbps, and the transmission bandwidth resources of usr1 and usr2 are 50Mbps.

[0152] The method for allocating transmission bandwidth resources provided in the embodiment of the present application is performed by acquiring a first client and a second client accessing a server, wherein the first client is a client whose client priority is higher than a priority threshold, and the second client is a client whose client priority is lower than a priority threshold. A pre-set fixed bandwidth resource is allocated to each first client, and the first remaining transmission bandwidth resource is evenly allocated to the second client, and the first remaining transmission bandwidth resource refers to the transmission bandwidth resource remaining after allocating fixed bandwidth resources to all first clients. The embodiment of the present application sets priorities for the clients, and sets a fixed high bandwidth for users with high priorities to ensure that high-priority users have priority in using bandwidth resources. For low-priority users, the remaining bandwidth will be evenly allocated according to the number of current users logged in to ensure that bandwidth resource utilization is maximized. Thereby, the purpose of making full use of the network bandwidth and satisfying the usage effects of different users can be achieved.

[0153] It should be noted that, for the method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described action sequence, because according to the embodiments of the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.

[0154] Reference Figure 6 , shows a schematic diagram of the structure of a transmission bandwidth resource allocation device provided in an embodiment of the present application. Figure 6 As shown, the transmission bandwidth resource allocation device 600 may include the following modules:

[0155] The access client acquisition module 610 is used to acquire a first client and a second client accessing the server, wherein the first client is a client having a client priority higher than a priority threshold, and the second client is a client having a client priority lower than the priority threshold;

[0156] The transmission bandwidth resource allocation module 620 is used to allocate a preset fixed bandwidth resource to each of the first clients, and evenly allocate the first remaining transmission bandwidth resources to the second clients, where the first remaining transmission bandwidth resources refer to the transmission bandwidth resources remaining after the fixed bandwidth resources are allocated to all the first clients.

[0157] Optionally, the transmission bandwidth resource allocation module includes:

[0158] The data transmission code rate setting unit is used to set the data transmission code rate of each of the first clients to the data transmission code rate value corresponding to the fixed bandwidth resource.

[0159] Optionally, the transmission bandwidth resource allocation module includes:

[0160] A client number obtaining unit, used to obtain the client number of the second client;

[0161] an average bandwidth calculation unit, configured to calculate an average value between the first remaining transmission bandwidth resource and the number of clients to obtain an average transmission bandwidth resource;

[0162] The average bandwidth allocation unit is configured to allocate the average transmission bandwidth resource to each of the second clients.

[0163] Optionally, the device further comprises:

[0164] A third client acquisition module, used to acquire a third client newly connected to the server;

[0165] The first bandwidth dynamic allocation module is used to dynamically allocate transmission bandwidth resources to all connected clients according to the client priority of the third client.

[0166] Optionally, the first bandwidth dynamic allocation module includes:

[0167] a transmission bandwidth resource determining unit, configured to determine, when the client priority of the third client is higher than the priority threshold, whether the first remaining transmission bandwidth resource is greater than the transmission bandwidth resource required by the third client;

[0168] a first bandwidth allocation unit, configured to, when the first remaining transmission bandwidth resources are greater than the transmission bandwidth resources required by the third client, keep the transmission bandwidth resources of the first client unchanged, allocate the fixed bandwidth resources to each of the third clients, and evenly allocate the second remaining transmission bandwidth resources to the second clients, wherein the second remaining transmission bandwidth resources refer to the transmission bandwidth resources remaining after allocating the fixed bandwidth resources to all the first clients and the third clients;

[0169] a second bandwidth allocation unit, configured to, when the first remaining transmission bandwidth resources are less than or equal to the transmission bandwidth resources required by the third client, obtain a reset target fixed bandwidth resource, allocate the target fixed bandwidth resource to each of the first client and each of the third client, and evenly allocate the third remaining transmission bandwidth resource to the second client, wherein the third remaining transmission bandwidth resource refers to the transmission bandwidth resource remaining after allocating the target fixed bandwidth resources to all of the first clients and the third clients.

[0170] Optionally, the first bandwidth dynamic allocation module includes:

[0171] The third bandwidth allocation unit is configured to allocate the first remaining transmission bandwidth resource evenly to the second client and the third client when the client priority of the third client is lower than the priority threshold.

[0172] Optionally, the device further comprises:

[0173] A fourth client acquisition module, used to acquire a fourth client disconnected from the server, wherein the fourth client is a client of the first client or the second client;

[0174] The second bandwidth dynamic allocation module is used to dynamically allocate transmission bandwidth resources to all connected clients according to the client priority of the fourth client.

[0175] Optionally, the second bandwidth dynamic allocation module includes:

[0176] a remaining bandwidth acquisition unit, configured to acquire, when the client priority of the fourth client is higher than the priority threshold, a fourth remaining transmission bandwidth resource; the fourth remaining transmission bandwidth resource is equal to the sum of the fixed bandwidth resource required by the fourth client and the first remaining transmission bandwidth resource;

[0177] The fourth bandwidth allocation unit is configured to keep the transmission bandwidth resources of the other clients among the first clients except the fourth client unchanged, and evenly allocate the fourth remaining transmission bandwidth resources to the second clients.

[0178] Optionally, the second bandwidth dynamic allocation module includes:

[0179] a fifth bandwidth allocation unit, configured to keep the transmission bandwidth resources of the first client unchanged and evenly allocate the first remaining transmission bandwidth resources to other clients among the second clients except the fourth client when the client priority of the fourth client is lower than the priority threshold.

[0180] The transmission bandwidth resource allocation device provided in the embodiment of the present application obtains the first client and the second client accessing the server, wherein the first client is a client whose client priority is higher than the priority threshold, and the second client is a client whose client priority is lower than the priority threshold. A pre-set fixed bandwidth resource is allocated to each first client, and the first remaining transmission bandwidth resource is evenly allocated to the second client, and the first remaining transmission bandwidth resource refers to the transmission bandwidth resource remaining after allocating fixed bandwidth resources to all first clients. The embodiment of the present application sets the priority of the client, and sets a fixed high bandwidth for users with high priority to ensure the priority use rights of high priority users to bandwidth resources. For low priority users, the remaining bandwidth will be evenly allocated according to the number of current users logged in to ensure that the bandwidth resource utilization is maximized. Thereby, the purpose of fully utilizing the network bandwidth and satisfying the usage effects of different users can be achieved.

[0181] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0182] In an embodiment of the present application, an electronic device is also provided. The electronic device may include one or more processors, and one or more machine-readable media storing instructions thereon, the instructions being, for example, application programs. When the instructions are executed by the one or more processors, the processors execute any of the above-mentioned methods for allocating transmission bandwidth resources.

[0183] In an embodiment of the present application, a non-temporary computer-readable storage medium is also provided, on which a computer program is stored, and the program can be executed by a processor of an electronic device to implement any of the above-mentioned transmission bandwidth resource allocation methods. For example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0184] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0185] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0186] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0187] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0188] These computer program instructions can also be loaded into a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0189] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0190] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0191] The above is a detailed introduction to a transmission bandwidth resource allocation method, device, electronic device and storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for a person skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for allocating transmission bandwidth resources, characterized in that: The method comprises: Acquire a first client and a second client accessing the server, wherein the first client is a client whose client priority is higher than a priority threshold, and the second client is a client whose client priority is lower than the priority threshold; A preset fixed bandwidth resource is allocated to each of the first clients, and first remaining transmission bandwidth resources are evenly allocated to the second clients, where the first remaining transmission bandwidth resources refer to transmission bandwidth resources remaining after the fixed bandwidth resources are allocated to all the first clients.

2. The method according to claim 1, characterized in that The allocating a preset fixed bandwidth resource to each first client includes: The data transmission bit rate of each of the first clients is set to the data transmission bit rate value corresponding to the fixed bandwidth resource.

3. The method according to claim 1, characterized in that: The evenly allocating the first remaining transmission bandwidth resource to the second client comprises: Obtaining the number of clients of the second client; Calculate and obtain an average value between the first remaining transmission bandwidth resource and the number of clients to obtain an average transmission bandwidth resource; The average transmission bandwidth resource is allocated to each of the second clients.

4. The method according to claim 1, characterized in that: The method further comprises: Acquire a third client newly connected to the server; According to the client priority of the third client, transmission bandwidth resources are dynamically allocated to all connected clients.

5. The method according to claim 4, characterized in that The dynamically allocating transmission bandwidth resources to all clients connected according to the client priority of the third client includes: In a case where the client priority of the third client is higher than the priority threshold, determining whether the first remaining transmission bandwidth resources are greater than the transmission bandwidth resources required by the third client; In the case where the first remaining transmission bandwidth resources are greater than the transmission bandwidth resources required by the third client, the transmission bandwidth resources of the first client are kept unchanged, the fixed bandwidth resources are allocated to each of the third clients, and the second remaining transmission bandwidth resources are evenly allocated to the second clients, where the second remaining transmission bandwidth resources refer to the transmission bandwidth resources remaining after the fixed bandwidth resources are allocated to all the first clients and the third clients; In a case where the first remaining transmission bandwidth resources are less than or equal to the transmission bandwidth resources required by the third client, a reset target fixed bandwidth resource is obtained, the target fixed bandwidth resource is allocated to each of the first clients and each of the third clients, and the third remaining transmission bandwidth resource is evenly allocated to the second clients, where the third remaining transmission bandwidth resource refers to the transmission bandwidth resource remaining after the target fixed bandwidth resource is allocated to all of the first clients and the third clients.

6. The method according to claim 4, characterized in that The dynamically allocating transmission bandwidth resources to all clients connected according to the client priority of the third client includes: In a case where the client priority of the third client is lower than the priority threshold, the first remaining transmission bandwidth resources are evenly distributed to the second client and the third client.

7. The method according to claim 1, characterized in that The method further comprises: Acquire a fourth client disconnected from the server, where the fourth client is a client of the first client or the second client; According to the client priority of the fourth client, transmission bandwidth resources are dynamically allocated to all connected clients.

8. The method according to claim 7, characterized in that The dynamically allocating transmission bandwidth resources to all clients connected according to the client priority of the fourth client includes: When the client priority of the fourth client is higher than the priority threshold, acquiring a fourth remaining transmission bandwidth resource; the fourth remaining transmission bandwidth resource is equal to the sum of the fixed bandwidth resources required by the fourth client and the first remaining transmission bandwidth resources; The transmission bandwidth resources of the other clients among the first clients except the fourth client are kept unchanged, and the fourth remaining transmission bandwidth resources are evenly distributed to the second clients.

9. The method according to claim 7, characterized in that: The dynamically allocating transmission bandwidth resources to all clients connected according to the client priority of the fourth client includes: When the client priority of the fourth client is lower than the priority threshold, the transmission bandwidth resources of the first client are kept unchanged, and the first remaining transmission bandwidth resources are evenly distributed to other clients among the second clients except the fourth client.

10. A transmission bandwidth resource allocation device, characterized in that: The device comprises: An access client acquisition module, used to acquire a first client and a second client accessing a server, wherein the first client is a client having a client priority higher than a priority threshold, and the second client is a client having a client priority lower than the priority threshold; The transmission bandwidth resource allocation module is used to allocate a preset fixed bandwidth resource to each of the first clients, and evenly allocate the first remaining transmission bandwidth resources to the second clients, where the first remaining transmission bandwidth resources refer to the transmission bandwidth resources remaining after the fixed bandwidth resources are allocated to all the first clients.

11. An electronic device, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the apparatus to perform the method for allocating transmission bandwidth resources as claimed in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer program stored therein enables the processor to execute the method for allocating transmission bandwidth resources as claimed in any one of claims 1 to 9.