CN117412383A - Bandwidth allocation method, system, electronic equipment and storage medium - Google Patents
Bandwidth allocation method, system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117412383A CN117412383A CN202311526641.6A CN202311526641A CN117412383A CN 117412383 A CN117412383 A CN 117412383A CN 202311526641 A CN202311526641 A CN 202311526641A CN 117412383 A CN117412383 A CN 117412383A
- Authority
- CN
- China
- Prior art keywords
- bandwidth allocation
- terminal device
- terminal
- determining
- priority
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000035945 sensitivity Effects 0.000 claims abstract description 34
- 230000000875 corresponding effect Effects 0.000 claims description 58
- 230000002596 correlated effect Effects 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000004891 communication Methods 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000013507 mapping Methods 0.000 description 8
- 238000004422 calculation algorithm Methods 0.000 description 7
- 238000007689 inspection Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0457—Variable allocation of band or rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/51—Allocation or scheduling criteria for wireless resources based on terminal or device properties
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/535—Allocation or scheduling criteria for wireless resources based on resource usage policies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/54—Allocation or scheduling criteria for wireless resources based on quality criteria
- H04W72/542—Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/56—Allocation or scheduling criteria for wireless resources based on priority criteria
- H04W72/566—Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a bandwidth allocation method, a bandwidth allocation system, electronic equipment and a storage medium, and belongs to the technical field of network communication technology. The bandwidth allocation method is applied to wireless access equipment connected with a plurality of terminal equipment and comprises the following steps: acquiring the terminal type and the message characteristic of each terminal device, and setting a corresponding bandwidth allocation strategy for each terminal device; determining the application type, the user priority and the position information corresponding to the terminal equipment, and determining the network throughput; determining the time sensitivity characteristic of each terminal device according to the application type, the user priority, the position information and the network throughput, and setting the corresponding priority weight for each terminal device according to the time sensitivity characteristic; and adjusting the bandwidth allocation strategy according to the priority weight, and allocating network bandwidth for each terminal device according to the adjusted bandwidth allocation strategy. The method and the device can reasonably allocate the bandwidth according to the actual demands of the terminal equipment, and ensure the normal operation of the service of the terminal equipment.
Description
Technical Field
The present disclosure relates to the field of network communications technologies, and in particular, to a bandwidth allocation method, a system, an electronic device, and a storage medium.
Background
In existing wireless networks, there are typically a variety of terminal devices and wireless access devices (i.e., wireless access points, wireless Access Point). In the related art, a specific target rule is generally set to set a corresponding bandwidth allocation policy, such as a wireless multimedia WMM (Wi-Fi Multi-Media) rule, for each terminal device. However, since the terminal device often does not identify its own priority strictly according to the existing target rule, the situation of unreasonable bandwidth allocation may occur, which causes that the service of the terminal device cannot operate normally.
Therefore, how to reasonably allocate bandwidth according to the actual demands of the terminal equipment and ensure the normal operation of the service of the terminal equipment is a technical problem that needs to be solved currently by the technicians in the field.
Disclosure of Invention
The purpose of the application is to provide a bandwidth allocation method, a system, electronic equipment and a storage medium, which can reasonably allocate bandwidth according to actual demands of terminal equipment and ensure normal operation of services of the terminal equipment.
In order to solve the above technical problems, the present application provides a bandwidth allocation method applied to a wireless access device connected to a plurality of terminal devices, the bandwidth allocation method including:
acquiring a terminal type and a message characteristic of each terminal device, and setting a corresponding bandwidth allocation strategy for each terminal device according to the terminal type and the message characteristic; wherein the bandwidth allocation policy is a policy set based on transmit time fairness;
determining the application type of an application program running in each terminal device;
inquiring user priority and position information of each terminal device, and determining network throughput of the wireless access device;
determining a time sensitive characteristic of each terminal device according to the application type, the user priority, the position information and the network throughput, and setting a corresponding priority weight for each terminal device according to the time sensitive characteristic;
and adjusting the bandwidth allocation strategy according to the priority weight, and allocating network bandwidth for each terminal device according to the adjusted bandwidth allocation strategy.
Optionally, setting a corresponding bandwidth allocation policy for each terminal device according to the terminal type and the message characteristics, including:
and inquiring Wi-Fi multimedia rules of a wireless transmission standard protocol according to the terminal type and the message characteristics, and determining that each terminal device sets a corresponding bandwidth allocation strategy according to an inquiry result.
Optionally, determining an application type of the application program running in each terminal device includes:
and detecting the message sent by each terminal device by using a deep message detection engine, and determining the application type of the application program running in each terminal device according to the detection result.
Optionally, determining the time sensitive characteristic of each terminal device according to the application type, the user priority, the location information and the network throughput includes:
determining delay sensitivity of the terminal equipment according to the application type, and calculating delay sensitivity scores according to the delay sensitivity; wherein the delay sensitive score is inversely related to the delay sensitivity;
determining a user type score according to the user priority; wherein the user type score is positively correlated with the user priority;
determining the equipment distance between the wireless access equipment and the terminal equipment according to the position information, and calculating a distance score according to the equipment distance; wherein the distance score is positively correlated to the device distance;
determining a network status score from the network throughput; wherein the network status score is positively correlated with the network throughput;
and carrying out weighted calculation on the delay sensitivity score, the user type score, the distance score and the network state score, and determining the time sensitivity characteristic of each terminal device according to a weighted calculation result.
Optionally, the querying the user priority and the location information of each terminal device includes:
determining the user priority according to the account number currently logged in by each terminal device;
and determining the position information according to the signal intensity of each terminal device.
Optionally, adjusting the bandwidth allocation policy according to the priority weight includes:
comparing the priority weight with a preset weight interval corresponding to the terminal equipment;
and if the priority weight is not in the preset weight interval, adjusting the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy.
Optionally, adjusting the bandwidth allocation proportion of the terminal device in the bandwidth allocation policy includes:
if the priority weight is greater than the upper limit value of the preset weight interval, increasing the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy;
and if the priority weight is smaller than the lower limit value of the preset weight interval, reducing the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy.
The present application also provides a bandwidth allocation system applied to a wireless access device connected to a plurality of terminal devices, the bandwidth allocation system including:
the strategy setting module is used for acquiring the terminal type and the message characteristic of each terminal device and setting a corresponding bandwidth allocation strategy for each terminal device according to the terminal type and the message characteristic; wherein the bandwidth allocation policy is a policy set based on transmit time fairness;
an application type determining module, configured to determine an application type of an application program running in each terminal device;
the information determining module is used for inquiring the user priority and the position information of each terminal device and determining the network throughput of the wireless access device;
a priority determining module, configured to determine a time sensitivity characteristic of each terminal device according to the application type, the user priority, the location information, and the network throughput, and set a corresponding priority weight for each terminal device according to the time sensitivity characteristic;
and the bandwidth allocation module is used for adjusting the bandwidth allocation strategy according to the priority weight and allocating network bandwidth for each terminal device according to the adjusted bandwidth allocation strategy.
The present application also provides a storage medium having stored thereon a computer program which, when executed, implements the steps performed by the bandwidth allocation method described above.
The application also provides electronic equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps executed by the bandwidth allocation method when calling the computer program in the memory.
The application provides a bandwidth allocation method which is applied to wireless access equipment connected with a plurality of terminal equipment, and comprises the following steps: acquiring a terminal type and a message characteristic of each terminal device, and setting a corresponding bandwidth allocation strategy for each terminal device according to the terminal type and the message characteristic; wherein the bandwidth allocation policy is a policy set based on transmit time fairness; determining the application type of an application program running in each terminal device; inquiring user priority and position information of each terminal device, and determining network throughput of the wireless access device; determining a time sensitive characteristic of each terminal device according to the application type, the user priority, the position information and the network throughput, and setting a corresponding priority weight for each terminal device according to the time sensitive characteristic; and adjusting the bandwidth allocation strategy according to the priority weight, and allocating network bandwidth for each terminal device according to the adjusted bandwidth allocation strategy.
The method and the device set corresponding bandwidth allocation strategies according to the terminal types and the message characteristics of the terminal equipment, wherein the bandwidth allocation strategies are strategies set based on the fairness of the sending time. The method and the device further determine the application type, the user priority, the position information and the network throughput of the wireless access device corresponding to the terminal device, further determine the time sensitive characteristic of each terminal device according to the application type, the user priority, the position information and the network throughput, and set corresponding priority weights for each terminal device according to the time sensitive characteristic. The application type and the user priority can reflect the actual requirement of the terminal device, and the location information and the network throughput can reflect the actual network environment. After the bandwidth allocation strategy is adjusted by using the priority weight, the wireless access device can reasonably allocate the bandwidth according to the actual requirement of the terminal device, and ensure the normal operation of the service of the terminal device. The application also provides a bandwidth allocation system, a storage medium and an electronic device, which have the beneficial effects and are not described herein.
Drawings
For a clearer description of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a bandwidth allocation method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a priority of 802.11e according to an embodiment of the present application;
fig. 3 is a schematic diagram of grouping strategy and scheduling of an ATF according to an embodiment of the present application;
fig. 4 is a mapping relationship diagram of each configuration package and WMM under a private network according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a bandwidth allocation system according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Referring to fig. 1, fig. 1 is a flowchart of a bandwidth allocation method according to an embodiment of the present application.
The specific steps may include:
s101: acquiring a terminal type and a message characteristic of each terminal device, and setting a corresponding bandwidth allocation strategy for each terminal device according to the terminal type and the message characteristic;
the embodiment can be applied to wireless access devices connected with a plurality of terminal devices, and the wireless access devices can acquire the terminal type and the message characteristics of each terminal device connected with the wireless access devices. The message characteristics refer to the marks of the message which is different from other data units, and may include, for example, a message format, a message length, routing information, and the like.
Before this step, this embodiment may pre-configure a target rule, where the target rule records a correspondence between a terminal type, a packet feature, and a bandwidth allocation policy, and may set a corresponding bandwidth allocation policy for each terminal device based on the target rule, where the set bandwidth allocation policy is a policy set based on Airtime Fairness (ATF). In the bandwidth allocation strategy
S102: determining the application type of an application program running in each terminal device;
wherein, each terminal device can run any number of application programs, and the application type of each application program can be determined by detecting the message sent by the terminal device. The application types may include instant messaging applications, online gaming applications, data download applications, and the like.
S103: inquiring user priority and position information of each terminal device, and determining network throughput of the wireless access device;
the embodiment can determine the priority of the user currently using the terminal device, and also determine the location information according to the distance between the terminal device and the wireless access device. The wireless access device may determine its own network throughput at the current time or within the current period.
S104: determining a time sensitive characteristic of each terminal device according to the application type, the user priority, the position information and the network throughput, and setting a corresponding priority weight for each terminal device according to the time sensitive characteristic;
the time sensitive characteristic of each terminal device can be calculated according to the application type, the user priority, the location information and the network throughput, and then a corresponding priority weight is set for each terminal device according to the time sensitive characteristic. The above time sensitive characteristic is the same as describing the sensitivity of the terminal device to time, for example, the time sensitive characteristic in this embodiment is the maximum delay that the terminal device can receive. The embodiment can preset the corresponding relation between the weighted calculation result and the time sensitive characteristic, and determine the time sensitive characteristic of the terminal equipment based on the corresponding relation. The priority weight is used for describing the priority degree of the wireless access equipment for distributing network bandwidth to the terminal equipment, and the smaller the maximum delay corresponding to the time sensitive characteristic is, the higher the priority weight is. In this embodiment, after receiving the message, the distance of the user may be determined through RSSI, so as to obtain the location information. User priority is used to describe defining which client applications are VIP high priority applications according to traffic policy, terminal type. The network throughput can be generally counted and monitored on the AP, on the one hand, the system message sending condition is that QOS hits the statistical information; another aspect is the statistics of the transceiving of the air interfaces to determine the network throughput of the overall air interface.
S105: and adjusting the bandwidth allocation strategy according to the priority weight, and allocating network bandwidth for each terminal device according to the adjusted bandwidth allocation strategy.
After the priority weights of the terminal devices are obtained, whether the bandwidth allocation policy set in S101 accords with the priority weights or not may be judged, if not, the bandwidth allocation policy may be adjusted according to the priority weights, and network bandwidth may be allocated to each terminal device according to the adjusted bandwidth allocation policy.
The embodiment sets a corresponding bandwidth allocation policy according to the terminal type and the message characteristics of the terminal equipment, wherein the bandwidth allocation policy is a policy set based on the fairness of the sending time. The embodiment also determines the application type, the user priority, the location information and the network throughput of the wireless access device corresponding to the terminal device, further determines the time sensitive characteristic of each terminal device according to the application type, the user priority, the location information and the network throughput, and sets the corresponding priority weight for each terminal device according to the time sensitive characteristic. The application type and the user priority can reflect the actual requirement of the terminal device, and the location information and the network throughput can reflect the actual network environment. After the bandwidth allocation strategy is adjusted by using the priority weight, the wireless access device can reasonably allocate the bandwidth according to the actual requirement of the terminal device, and ensure the normal operation of the service of the terminal device.
As a further introduction to the corresponding embodiment of fig. 1, the bandwidth allocation policy corresponding to the terminal device may be set as follows: and inquiring Wi-Fi multimedia rules of a wireless transmission standard protocol according to the terminal type and the message characteristics, and determining that each terminal device sets a corresponding bandwidth allocation strategy according to an inquiry result. The Wi-Fi multimedia rule is a WMM rule, and a corresponding relation among the terminal type, the message characteristic and the bandwidth allocation strategy exists in the Wi-Fi multimedia rule. The message characteristics may be the characteristics of the 802.11e standard, and if the driving implementation of the terminal device is performed according to the 802.11e standard, the message sent by the terminal device will carry WMM characteristics, so that the AP may allocate a corresponding policy according to the WMM rule.
As a further introduction to the corresponding embodiment of fig. 1, the foregoing embodiment may utilize a deep packet inspection engine DPI (Deep Packet Inspection) to inspect the packet sent by each of the terminal devices, and determine, according to the inspection result, the application type of the application program running in each of the terminal devices. The deep packet inspection engine identifies the user's application by analyzing the packet, and the DPI implementation typically has various methods and combinations based on keyword feature library, traffic model features, AI automatic identification, etc. For example, voice communications are typically packets having UDP less than 500 bytes, real-time games are typically provided with a list of specific IP addresses or domain addresses, and software such as stock exchanges are provided with messaging features.
As a further introduction to the corresponding embodiment of fig. 1, the priority weight of each terminal device may be calculated by means of a weighted calculation based on the application type, user priority, location information and network throughput.
The specific process is as follows: determining delay sensitivity of the terminal equipment according to the application type, and calculating delay sensitivity scores according to the delay sensitivity; wherein the delay sensitive score is inversely related to the delay sensitivity; determining a user type score according to the user priority; wherein the user type score is positively correlated with the user priority; determining the equipment distance between the wireless access equipment and the terminal equipment according to the position information, and calculating a distance score according to the equipment distance; wherein the distance score is positively correlated to the device distance; determining a network status score from the network throughput; wherein the network status score is positively correlated with the network throughput; and performing weighted calculation on the delay sensitive score, the user type score, the distance score and the network state score, wherein the embodiment can preset the corresponding relation between a weighted calculation result and the time sensitive characteristic, and determine the time sensitive characteristic of the terminal equipment based on the corresponding relation.
As a further introduction to the corresponding embodiment of fig. 1, the user priority may be determined according to the account number currently logged in by each of the terminal devices; the location information may also be determined based on the signal strength of each of the terminal devices.
As a further introduction to the corresponding embodiment of fig. 1, a corresponding preset weight interval may be set for each terminal device, and the priority weight may be compared with the preset weight interval corresponding to the terminal device; and if the priority weight is not in the preset weight interval, adjusting the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy.
Specifically, the above procedure may adjust the bandwidth allocation ratio as follows:
comparing the priority weight with a preset weight interval; if the priority weight is greater than the upper limit value of the preset weight interval, increasing the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy; if the priority weight is smaller than the lower limit value of the preset weight interval, reducing the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy; if the priority weight is within the preset weight interval, the bandwidth allocation proportion in the bandwidth allocation strategy can not be changed.
The flow described in the above embodiment is explained below by way of an embodiment in practical application.
The ATF algorithm can be used for air interface fair scheduling aiming at factors such as similarity and distance of different terminals. QoE (Quality of Experience, quality of user experience) corresponding to the final terminal application, and further needs to consider different types of applications, which have different requirements on network quality; there are several levels of scheduling priority established in the WiFi specification by 802.11e for mapping empty queues to queues of four types of priority.
Taking the networking of the wireless controller ac+the wireless access device AP as an example, in order to improve the end-to-end QoS, the uplink data processing flow is as follows:
when the terminal equipment (UE side) sends a message, the priority of the application is marked, after the message is received on the wireless access equipment (AP) through an air interface, the QoS attribute is mapped to a corresponding packet header, and then the QoS strategy is conducted to the wired networking side through the wireless controller (AC).
Referring to table 1, table 1 is a connection relationship table (i.e., UP to AC Mapping) between a wireless access point and a wireless controller according to an embodiment of the present application.
TABLE 1 connection relationship Table
In the table, background represents Background traffic, denoted ac_bk in the wireless controller, 802.1D name BK; best-effort represents Best effort, denoted ac_be,802.1D name BE or EE in the wireless controller; voice means that the Voice service is denoted ac_vo in the wireless controller, 802.1D name VO or NC; video represents a Video service, denoted ac_vi in the wireless controller, 802.1D name CL or VI.
When WMM is implemented, typically the terminal device side does not necessarily follow this WMM specification to identify the priority of the application; many applications are very time sensitive, such as voice telephony, real-time gaming, stock exchange applications, etc.
Since WiFi is modulated and scheduled on the wireless side using CSMA (Carrier Sense Multiple Access ), instead of TDD (Time Division Duplexing, time division duplex) or FDD (Frequency Division Duplexing, frequency division duplex) techniques for the 4G/5G network on the air; if the air interface scheduling is unreasonable, it is difficult to guarantee the quality of the delay-sensitive application. Considering scheduling of wireless air interfaces and WMM versus experience for applications such as VoWiFi would be greatly improved in combination with the latency characteristics of the applications as dimensions. According to the specification of 802.11e, different types of applications are designed to enter different scheduling queues, and then the sending module of the AP performs scheduling according to the priority. In terms of delay characteristics, various factors also need to be considered: such as that application, the location of the user, the priority of the user, etc.
Referring to fig. 2, fig. 2 is a schematic diagram of a priority of 802.11e according to an embodiment of the present application, where a queue corresponding to a priority of an MSDU (service data unit) user includes: background traffic (AC BK), best-effort (AC BE), video services (AC VI) and Voice services (Voice, AC VO), the mapping is also shown in fig. 2 to access categories mapping to access category, the transmission queues transmit queues for Acs of the wireless controller, per-queue EDCA functions with internal collosion resolution Per-queue EDCA (enhanced distributed coordinated access) with internal collision solution. In the implementation level, the four queues shown in fig. 2 can be combined with the ATF queues, so that consideration of factors in dimension is achieved, and further, the quality experience of wireless air interfaces of users is improved through fine control.
In the related art, a round-robin algorithm is adopted in the chip scheduling algorithm described in CN110912744B, and each tid time slice token bucket (Time Slice Token Bucket) in the algorithm is based on the manner that the MAC address of the client is an index, or may be a manner of converting the time slice into a token. Of course, the ATF scheduling algorithm can also be more complex in design, and meets the priority-based mode or the weighted fair scheduling method.
Based on the delay consideration of the application program, the application program needs to be identified firstly, and because the WMM field initiated by the application program of the terminal equipment is usually inaccurate, the application is usually identified firstly, and the application is classified reasonably by WMM firstly; the second step is to adjust the time sensitivity parameter of the application by combining other factors, wherein the adjustment granularity can be based on the MAC address or based on the specific session.
Examples are as follows:
if the application delay sensitivity of the terminal equipment is higher and the allocated bandwidth of the terminal equipment is not higher, the scheduling weight lower than that of the time sensitive application is required to be increased; if the application delay sensitivity of the terminal equipment is higher and the bandwidth required by the application is not high, the bandwidth of the main terminal equipment can be met, and the weight does not need to be adjusted; if the delay sensitivity of the application of the terminal device is relatively low and the bandwidth consumption of the terminal device is relatively high, the scheduling weight applied in this way can be reduced.
The specific flow is exemplified as follows:
step 1: and distributing a default strategy based on WMM rules according to the terminal information and the characteristics carried by the message. Specifically, after receiving the message of the terminal device, the wireless access device AP system allocates a corresponding processing policy, that is, mapping default policy, according to the priority characteristics carried in the message header.
The default strategy is to perform ATF grouping according to the WMM message sent by the terminal; in practice, most terminals do not strictly perform identification priority and grouping according to WMM, and as a result, they are all allocated to a unified default group for application processing of data packets.
Step 2: the system further analyzes the message by adopting a DPI technology and identifies a specific application type;
DPI can typically identify what applications are terminal type, device model, OS type and version, what applications the user is currently using, e.g., whether they are voice and IoT time sensitive applications, how far and near the user is currently.
Step 3: and comprehensively judging whether the priority weight needs to be adjusted according to the application type and the priority and position information (RSSI) information of the user and the current throughput condition of the system.
Step 4: the ATF grouping policies and rules (i.e., the default policies in step 1) are adjusted according to the policies above.
The wireless access equipment AP is based on time slices when in air interface scheduling, and the general scheduling is based on each terminal to allocate a corresponding time slice; the present embodiment can adjust the weight of the terminal device according to various comprehensive factors around.
If the terminal is set as a VIP user, the user is considered as a delay sensitive application by default and is set as P1. The embodiment can be identified through DPI technology, if the user is a common user, the application is time sensitive, whether the current bandwidth can meet the requirement is judged, and if the current bandwidth can meet the requirement, the current bandwidth is not adjusted; if not, the scheduling priority is turned up to P0. If the user is a VIP user, the user is identified as time sensitive type and directly adjusted to P0. If it is determined that it is not time sensitive, the bandwidth consumption per se is relatively high, and the priority is reduced to P3 (P2 should be the default for the start). The above determination may also be combined with RSSI and device similarity as a combination to determine whether it is time sensitive; usually, the RSSI is weaker, the application judges that the user is time sensitive, and the user should be kicked off; allowing other networks to be connected; device identification, if it is IOT sensor, can also be prioritized directly. The embodiment can set a timer, periodically check the status of each terminal device, and reset the original default priority.
Referring to fig. 3, fig. 3 is a schematic diagram of a grouping strategy and scheduling of an ATF according to an embodiment of the present application. In fig. 3, two reserved scheduling time slices of a voice service application VO and a video service application VI are set in the Private network ssid_private, and after the DPI identification application and the step 3 calculate the scheduling weights, the time slices are borrowed from the public reserved scheduling time slices of the VOs and the VI; thus, experience of the corresponding terminal equipment VO and VI application can be guaranteed.
In connection with WMM support, the grouping strategy and scheduling examples of the ATF are as follows:
the radio frequency radio of the same wireless access device creates two SSIDs, one is a private network private, belongs to a first Group1 and is allocated with a time proportion of 80%; one is the public network gust, belonging to the second Group2, allocated a time proportion of 20%.
The private network has now accessed 3 terminal devices: client11, client12, client13; clients 11 and 12 are identified as normal clients, with no delay sensitive application, and more weight assigned static ATF policies (which may also be sent in a default queue). Client13 recognizes that there are VO and VI applications applied, in which case 30% of the time slices can be reserved for VO and 25% for VI; at this time, client13 can borrow from this queue (i.e., token queue reserved exclusively for Voice and video), thereby guaranteeing VO and VI type message scheduling. 2 terminal devices client21 and client22 in the public network each allocate 50% of the time slices.
Referring to fig. 4, fig. 4 is a mapping relationship diagram of each configuration package and WMM under a private network according to an embodiment of the present application. Private network private, belonging to the first Group, allocates a proportion of time of 80%. The mapping exists between the terminal equipment client13 and the default group, the VO group and the VI group, the client11 group corresponds to the terminal equipment client11, and the client12 group corresponds to the terminal equipment client 12. AC0, AC1, AC2 and AC3 in the figure represent Background traffic (ac_bk), best-effort (ac_be), voice service (ac_vo) Video service and (Video, ac_vi) corresponding types of applications, respectively.
The embodiment provides an enhanced WLAN air interface fair scheduling scheme, which adopts a DPI engine to identify the application type, and comprehensively judges the time sensitivity of the application through factors of the client distance, the priority and the current throughput rate of equipment, thereby determining whether the scheduling priority needs to be adjusted. The embodiment can configure the ATF table strategy of the updating system based on the priority adjustment strategy, the table item updating algorithm can be adjusted according to specific conditions, and the embodiment does not depend on the existing chip or the ATF mechanism of the driving level and can be suitable for various wireless driving. The algorithm description provided in this embodiment is mainly directed to the wireless downlink (AP transmission direction), and is also applicable to the wireless uplink direction. By the method, priority scheduling of delay-sensitive applications such as voice, real-time games, stocks and the like can be effectively improved, and therefore user experience is improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a bandwidth allocation system according to an embodiment of the present application; the bandwidth allocation system is applied to wireless access devices connected with a plurality of terminal devices, and comprises:
a policy setting module 501, configured to obtain a terminal type and a message characteristic of each terminal device, and set a corresponding bandwidth allocation policy for each terminal device according to the terminal type and the message characteristic; wherein the bandwidth allocation policy is a policy set based on transmit time fairness;
an application type determining module 502, configured to determine an application type of an application program running in each of the terminal devices;
an information determining module 503, configured to query user priority and location information of each terminal device, and determine a network throughput of the wireless access device;
a priority determining module 504, configured to determine a time sensitive characteristic of each terminal device according to the application type, the user priority, the location information, and the network throughput, and set a corresponding priority weight for each terminal device according to the time sensitive characteristic;
and the bandwidth allocation module 505 is configured to adjust the bandwidth allocation policy according to the priority weight, and allocate a network bandwidth to each terminal device according to the adjusted bandwidth allocation policy.
The embodiment sets a corresponding bandwidth allocation policy according to the terminal type and the message characteristics of the terminal equipment, wherein the bandwidth allocation policy is a policy set based on the fairness of the sending time. The embodiment also determines the application type, the user priority, the location information and the network throughput of the wireless access device corresponding to the terminal device, further determines the time sensitive characteristic of each terminal device according to the application type, the user priority, the location information and the network throughput, and sets the corresponding priority weight for each terminal device according to the time sensitive characteristic. The application type and the user priority can reflect the actual requirement of the terminal device, and the location information and the network throughput can reflect the actual network environment. After the bandwidth allocation strategy is adjusted by using the priority weight, the wireless access device can reasonably allocate the bandwidth according to the actual requirement of the terminal device, and ensure the normal operation of the service of the terminal device.
Further, the process of the policy setting module 501 setting the corresponding bandwidth allocation policy for each terminal device according to the terminal type and the message characteristics includes: and inquiring Wi-Fi multimedia rules of a wireless transmission standard protocol according to the terminal type and the message characteristics, and determining that each terminal device sets a corresponding bandwidth allocation strategy according to an inquiry result.
Further, the process of determining the application type of the application program running in each terminal device by the application type determining module 502 includes: and detecting the message sent by each terminal device by using a deep message detection engine, and determining the application type of the application program running in each terminal device according to the detection result.
Further, the process of determining the time sensitive characteristic of each terminal device by the priority determining module 504 according to the application type, the user priority, the location information and the network throughput includes: determining delay sensitivity of the terminal equipment according to the application type, and calculating delay sensitivity scores according to the delay sensitivity; wherein the delay sensitive score is inversely related to the delay sensitivity; determining a user type score according to the user priority; wherein the user type score is positively correlated with the user priority; determining the equipment distance between the wireless access equipment and the terminal equipment according to the position information, and calculating a distance score according to the equipment distance; wherein the distance score is positively correlated to the device distance; determining a network status score from the network throughput; wherein the network status score is positively correlated with the network throughput; and carrying out weighted calculation on the delay sensitivity score, the user type score, the distance score and the network state score, and determining the time sensitivity characteristic of each terminal device according to a weighted calculation result.
Further, the process of querying the user priority and the location information of each terminal device by the information determining module 503 includes: determining the user priority according to the account number currently logged in by each terminal device; and determining the position information according to the signal intensity of each terminal device.
Further, the process of the bandwidth allocation module 505 adjusting the bandwidth allocation policy according to the priority weight includes: comparing the priority weight with a preset weight interval corresponding to the terminal equipment; and if the priority weight is not in the preset weight interval, adjusting the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy.
Further, the process of the bandwidth allocation module 505 for adjusting the bandwidth allocation proportion of the terminal device in the bandwidth allocation policy includes: if the priority weight is greater than the upper limit value of the preset weight interval, increasing the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy; and if the priority weight is smaller than the lower limit value of the preset weight interval, reducing the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy.
Since the embodiments of the system portion and the embodiments of the method portion correspond to each other, the embodiments of the system portion refer to the description of the embodiments of the method portion, which is not repeated herein.
The present application also provides a storage medium having stored thereon a computer program which, when executed, performs the steps provided by the above embodiments. The storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The application also provides an electronic device, which may include a memory and a processor, where the memory stores a computer program, and the processor may implement the steps provided in the foregoing embodiments when calling the computer program in the memory. Of course the electronic device may also include various network interfaces, power supplies, etc.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A bandwidth allocation method applied to a wireless access device connected to a plurality of terminal devices, the bandwidth allocation method comprising:
acquiring a terminal type and a message characteristic of each terminal device, and setting a corresponding bandwidth allocation strategy for each terminal device according to the terminal type and the message characteristic; wherein the bandwidth allocation policy is a policy set based on transmit time fairness;
determining the application type of an application program running in each terminal device;
inquiring user priority and position information of each terminal device, and determining network throughput of the wireless access device;
determining a time sensitive characteristic of each terminal device according to the application type, the user priority, the position information and the network throughput, and setting a corresponding priority weight for each terminal device according to the time sensitive characteristic;
and adjusting the bandwidth allocation strategy according to the priority weight, and allocating network bandwidth for each terminal device according to the adjusted bandwidth allocation strategy.
2. The method for allocating bandwidth according to claim 1, wherein setting a corresponding bandwidth allocation policy for each of the terminal devices according to the terminal type and the message characteristics comprises:
and inquiring Wi-Fi multimedia rules of a wireless transmission standard protocol according to the terminal type and the message characteristics, and determining that each terminal device sets a corresponding bandwidth allocation strategy according to an inquiry result.
3. The bandwidth allocation method according to claim 1, wherein determining an application type of an application program running in each of the terminal devices includes:
and detecting the message sent by each terminal device by using a deep message detection engine, and determining the application type of the application program running in each terminal device according to the detection result.
4. The method of bandwidth allocation according to claim 1, wherein determining the time sensitive characteristic of each of the terminal devices based on the application type, the user priority, the location information, and the network throughput comprises:
determining delay sensitivity of the terminal equipment according to the application type, and calculating delay sensitivity scores according to the delay sensitivity; wherein the delay sensitive score is inversely related to the delay sensitivity;
determining a user type score according to the user priority; wherein the user type score is positively correlated with the user priority;
determining the equipment distance between the wireless access equipment and the terminal equipment according to the position information, and calculating a distance score according to the equipment distance; wherein the distance score is positively correlated to the device distance;
determining a network status score from the network throughput; wherein the network status score is positively correlated with the network throughput;
and carrying out weighted calculation on the delay sensitivity score, the user type score, the distance score and the network state score, and determining the time sensitivity characteristic of each terminal device according to a weighted calculation result.
5. The method for allocating bandwidth according to claim 1, wherein said querying the user priority and location information of each terminal device comprises:
determining the user priority according to the account number currently logged in by each terminal device;
and determining the position information according to the signal intensity of each terminal device.
6. The bandwidth allocation method according to claim 1, wherein adjusting the bandwidth allocation policy according to the priority weight comprises:
comparing the priority weight with a preset weight interval corresponding to the terminal equipment;
and if the priority weight is not in the preset weight interval, adjusting the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy.
7. The bandwidth allocation method according to claim 6, wherein adjusting the bandwidth allocation proportion of the terminal device in the bandwidth allocation policy includes:
if the priority weight is greater than the upper limit value of the preset weight interval, increasing the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy;
and if the priority weight is smaller than the lower limit value of the preset weight interval, reducing the bandwidth allocation proportion of the terminal equipment in the bandwidth allocation strategy.
8. A bandwidth allocation system applied to a wireless access device connected to a plurality of terminal devices, the bandwidth allocation system comprising:
the strategy setting module is used for acquiring the terminal type and the message characteristic of each terminal device and setting a corresponding bandwidth allocation strategy for each terminal device according to the terminal type and the message characteristic; wherein the bandwidth allocation policy is a policy set based on transmit time fairness;
an application type determining module, configured to determine an application type of an application program running in each terminal device;
the information determining module is used for inquiring the user priority and the position information of each terminal device and determining the network throughput of the wireless access device;
a priority determining module, configured to determine a time sensitivity characteristic of each terminal device according to the application type, the user priority, the location information, and the network throughput, and set a corresponding priority weight for each terminal device according to the time sensitivity characteristic;
and the bandwidth allocation module is used for adjusting the bandwidth allocation strategy according to the priority weight and allocating network bandwidth for each terminal device according to the adjusted bandwidth allocation strategy.
9. An electronic device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the bandwidth allocation method according to any of claims 1 to 7 when the computer program in the memory is invoked by the processor.
10. A storage medium having stored therein computer executable instructions which when loaded and executed by a processor perform the steps of the bandwidth allocation method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311526641.6A CN117412383A (en) | 2023-11-15 | 2023-11-15 | Bandwidth allocation method, system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311526641.6A CN117412383A (en) | 2023-11-15 | 2023-11-15 | Bandwidth allocation method, system, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117412383A true CN117412383A (en) | 2024-01-16 |
Family
ID=89496127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311526641.6A Pending CN117412383A (en) | 2023-11-15 | 2023-11-15 | Bandwidth allocation method, system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117412383A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118075213A (en) * | 2024-04-17 | 2024-05-24 | 莱芜职业技术学院 | Intelligent management system for computer network data |
-
2023
- 2023-11-15 CN CN202311526641.6A patent/CN117412383A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118075213A (en) * | 2024-04-17 | 2024-05-24 | 莱芜职业技术学院 | Intelligent management system for computer network data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101480598B1 (en) | Techniques for initiating communication in a wireless network | |
Ramos et al. | Quality of service provisioning in 802.11 e networks: challenges, approaches, and future directions | |
KR102275579B1 (en) | Method and apparatus for providing differentiated transmitting services | |
CN117412383A (en) | Bandwidth allocation method, system, electronic equipment and storage medium | |
JP4179512B2 (en) | Radio base station | |
Jeong et al. | Achieving weighted fairness between uplink and downlink in IEEE 802.11 DCF-based WLANs | |
Coronado et al. | Dynamic AIFSN tuning for improving the QoS over IEEE 802.11 WLANs | |
Park et al. | Improving quality of service and assuring fairness in WLAN access networks | |
CN114554614A (en) | Apparatus and method for scheduling data transmission | |
Li et al. | On flow reservation and admission control for distributed scheduling strategies in ieee802. 11 wireless lan | |
CN103974443B (en) | Distributed channel connection control method and equipment | |
CN106332153B (en) | Bandwidth control method and device in WLAN | |
CN110461042A (en) | A kind of adaptive approach and device of dispatching algorithm | |
CN111278163A (en) | Channel access method for solving problem of hidden terminal of short-distance wireless Internet of things | |
Ksentini et al. | ETXOP: A resource allocation protocol for QoS-sensitive services provisioning in 802.11 networks | |
Chaouchi et al. | Adaptive QoS management for IEEE 802.11 future wireless ISPs | |
Ahmed et al. | Differentiation between different traffic categories using multi-level of priority in DCF-WLAN | |
Yu et al. | Distributed resource reservation mechanism for IEEE 802.11 e-based networks | |
CN110912744B (en) | Bandwidth allocation method, bandwidth allocation system, wireless access device and storage medium | |
Vijay et al. | Quality of Service Improvements in IEEE 802.11 AX Wi-Fi | |
Kongsili et al. | Packet scheduling and access priority control for QoS and fairness in wireless LAN | |
Kunst et al. | Improving QoS in multi-operator cellular networks | |
Visoottiviseth et al. | Adaptive bandwidth allocation for per-station fairness on wireless access router | |
Andreadis et al. | Techniques for preserving QoS performance in contention-based IEEE 802.11 e networks | |
Micó et al. | QoS mechanisms for IEEE 802.11 wireless LANs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |