Bandwidth resource allocation method, electronic device, and storage medium

CN115835387BActive Publication Date: 2026-10-09SHENZHEN SKYWORTH DIGITAL TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211453061.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-18
Publication Date
2026-10-09
Estimated Expiration
2042-11-18

AI Technical Summary

Technical Problem

[0004]本发明的主要目的在于提供一种带宽资源分配方法、电子设备及存储介质,旨在解决无线网络中接入较多终端设备时带宽利用率低的问题

Benefits of technology

[0043]The present invention provides a bandwidth resource allocation method, electronic device, and storage medium that acquires communication information corresponding to multiple terminal devices, including data traffic, signal strength, communication frequency band, data packet size, and/or data protocol. The communication information is then classified to obtain target classification information for each piece of communication information. Based on the target classification information, the priorities of each terminal device are determined. Based on these priorities, bandwidth resources are allocated to the multiple terminal devices. Given different bandwidth requirements for each terminal device, the available bandwidth resources for each terminal device are determined according to its priority, ensuring a reasonable allocation of bandwidth resources and improving bandwidth utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115835387B_ABST
    Figure CN115835387B_ABST
Patent Text Reader

Abstract

The application discloses a bandwidth resource allocation method, an electronic device and a storage medium, and relates to the technical field of bandwidth resource allocation.The method comprises the following steps: acquiring communication information corresponding to a plurality of terminal devices respectively, wherein the communication information comprises data flow, signal strength, a communication frequency band, a data volume of a data packet and / or a data protocol; performing classification processing on the communication information to obtain target classification information of each communication information; dividing the priority of each terminal device according to the target classification information; and allocating bandwidth resources to the plurality of terminal devices according to the priority.The application allocates bandwidth resources to each terminal device according to the priority, and has the technical effect of improving the utilization rate of bandwidth resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a bandwidth resource allocation method, electronic device, and storage medium. Background Technology

[0002] With the development of internet technology, users' demand for network resources is increasing. Wireless LANs can act as mobile hotspots, providing network resources to multiple access terminals. The diversification of network resource types brings users a richer experience.

[0003] In a wireless LAN accommodating numerous devices, the data transmission rates vary due to differences in modulation techniques used by each terminal. Older clients with weaker signals typically consume more bandwidth, reducing air interface efficiency and overall throughput. This results in inefficient bandwidth resource allocation and low bandwidth utilization. Summary of the Invention

[0004] The main objective of this invention is to provide a bandwidth resource allocation method, electronic device, and storage medium, which aims to solve the problem of low bandwidth utilization when a large number of terminal devices are connected in a wireless network.

[0005] To achieve the above objectives, the present invention provides a bandwidth resource allocation method, the method comprising:

[0006] Obtain communication information corresponding to each of multiple terminal devices, wherein the communication information includes data traffic, signal strength, communication frequency band, data packet size and / or data protocol;

[0007] The communication information is classified to obtain target classification information for each piece of communication information;

[0008] Based on the target classification information, the priorities of each terminal device are determined.

[0009] According to the priority, bandwidth resources are allocated to multiple terminal devices.

[0010] Optionally, the step of obtaining the communication information corresponding to each of the multiple terminal devices includes:

[0011] Detect the current network connection status, and determine the identification information corresponding to each of the multiple terminal devices based on the current network connection status;

[0012] The communication information is obtained based on the identification information.

[0013] Optionally, the step of classifying the communication information to obtain target classification information for each piece of communication information includes:

[0014] Based on the first numerical range in which the data flow is located, the first target classification information corresponding to the first numerical range is obtained;

[0015] Based on the second numerical range in which the signal strength is located, the second target classification information corresponding to the second numerical range is obtained;

[0016] Based on the third numerical range in which the data volume of the data packet is located, the third target classification information corresponding to the third numerical range is obtained;

[0017] Based on the frequency band type of the communication frequency band, the fourth target classification information is obtained;

[0018] Based on the protocol type of the data protocol, the fifth target classification information is obtained.

[0019] Optionally, the step of assigning priorities to the terminal devices based on the target classification information includes:

[0020] Based on the preset values ​​corresponding to different classification information, the target classification information is assigned values ​​to obtain the target value corresponding to each target classification information.

[0021] The priority is calculated based on the target value corresponding to each target classification information.

[0022] Optionally, the step of calculating the priority based on the target value corresponding to each target classification information includes:

[0023] Each of the target classification information's corresponding target values ​​is multiplied by the weight values ​​corresponding to each of the target classification information's corresponding target values ​​to obtain multiple products;

[0024] Add the products together to get the final value;

[0025] The priority is determined based on the final value.

[0026] Optionally, the step of allocating bandwidth resources to multiple terminal devices according to the priority includes:

[0027] Obtain the preset bandwidth resource allocation rules and spectrum priority rules;

[0028] If the communication frequency band of the terminal device conforms to the spectrum priority rule, then the terminal device will be designated as a priority device, and bandwidth resources will be allocated to the priority device preferentially.

[0029] If the communication frequency band of the terminal device does not conform to the spectrum priority rule, then the bandwidth resources will be preferentially allocated to the terminal device with higher priority according to the bandwidth resource allocation rule.

[0030] Optionally, after the step of allocating bandwidth resources to the multiple terminal devices according to the priority, the method further includes:

[0031] Determine the priority value corresponding to the priority;

[0032] When the priority value exceeds the preset priority threshold, switch to speed test mode and set the current packet sending interval to the preset first speed test mode packet sending interval.

[0033] Optionally, after the step of allocating bandwidth resources to the multiple terminal devices according to the priority, the method further includes:

[0034] Monitor the current concurrent traffic per second;

[0035] When the current concurrent traffic per second exceeds a preset traffic threshold, the current packet sending interval is adjusted to the preset second speed test mode packet sending interval.

[0036] Furthermore, to achieve the above objectives, the present invention also provides a bandwidth resource allocation device, the bandwidth resource allocation device comprising:

[0037] The acquisition module is used to acquire communication information corresponding to each of multiple terminal devices. The communication information includes data traffic, signal strength, communication frequency band, data packet size and / or data protocol.

[0038] A classification module is used to classify the communication information to obtain target classification information for each piece of communication information;

[0039] The segmentation module is used to segment the terminal devices according to the target classification information.

[0040] The allocation module is used to allocate bandwidth resources to multiple terminal devices according to the priority.

[0041] In addition, to achieve the above objectives, the present invention also provides an electronic device, the electronic device comprising: a memory, a processor, and a bandwidth resource allocation program stored in the memory and executable on the processor, the bandwidth resource allocation program being configured to implement the steps of the bandwidth resource allocation method as described above.

[0042] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium storing a bandwidth resource allocation program, which, when executed by a processor, implements the steps of the bandwidth resource allocation method as described above.

[0043] The present invention provides a bandwidth resource allocation method, electronic device, and storage medium that acquires communication information corresponding to multiple terminal devices, including data traffic, signal strength, communication frequency band, data packet size, and / or data protocol. The communication information is then classified to obtain target classification information for each piece of communication information. Based on the target classification information, the priorities of each terminal device are determined. Based on these priorities, bandwidth resources are allocated to the multiple terminal devices. Given different bandwidth requirements for each terminal device, the available bandwidth resources for each terminal device are determined according to its priority, ensuring a reasonable allocation of bandwidth resources and improving bandwidth utilization. Attached Figure Description

[0044] Figure 1 This is a schematic diagram of the structure of an electronic device in the hardware operating environment involved in the embodiments of the present invention;

[0045] Figure 2 This is a flowchart illustrating the first embodiment of the bandwidth resource allocation method of the present invention;

[0046] Figure 3 This is a flowchart illustrating the second embodiment of the bandwidth resource allocation method of the present invention;

[0047] Figure 4 This is a flowchart illustrating the third embodiment of the bandwidth resource allocation method of the present invention;

[0048] Figure 5 This is a schematic diagram of the bandwidth resource allocation device of the present invention.

[0049] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0050] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0051] Because the IEEE 802.11 protocol uses a CSMA / CA (Carrier Sense Multiple Access with Collision Avoidance) multi-access random channel access control mechanism, different clients may have different bandwidth duty cycles for the channel. Access fairness refers to the fair use of bandwidth by each client. Generally, airtime fairness scheduling can be used to allocate bandwidth to terminals accessing the wireless access device, providing equal service time to all accessing terminals. However, for terminals with high connection speeds, certain bandwidth limitations still exist.

[0052] The main technical solution of this invention is as follows: acquiring communication information corresponding to each of multiple terminal devices, the communication information including data traffic, signal strength, communication frequency band, data volume of data packets and / or data protocol; classifying the communication information to obtain target classification information for each piece of communication information; assigning priority to each terminal device according to the target classification information; and allocating bandwidth resources to the multiple terminal devices according to the priority.

[0053] Reference Figure 1 , Figure 1 This is a schematic diagram of the electronic device structure of the hardware operating environment involved in the embodiments of the present invention.

[0054] like Figure 1 As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

[0055] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0056] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a bandwidth resource allocation program.

[0057] exist Figure 1In the electronic device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the electronic device of the present invention can be set in the electronic device, and the electronic device calls the bandwidth resource allocation program stored in the memory 1005 through the processor 1001 and executes the bandwidth resource allocation method provided in the embodiment of the present invention.

[0058] This invention provides a bandwidth resource allocation method, referring to... Figure 2 , Figure 2 This is a flowchart illustrating a first embodiment of a bandwidth resource allocation method according to the present invention.

[0059] In this embodiment, the bandwidth resource allocation method includes:

[0060] Step S10: Obtain the communication information corresponding to each of the multiple terminal devices. The communication information includes data traffic, signal strength, communication frequency band, data volume of data packets and / or data protocol.

[0061] In the field of network communication, network bandwidth refers to the amount of data that can be transmitted per unit of time. Throughput refers to the actual bandwidth obtained when downloading a file, given a specified time, space, and data path within the network. Due to various reasons, actual throughput is often much smaller than the maximum bandwidth nominally stated by the transmission medium. Bandwidth resources can be measured using bandwidth transmission rate. Influenced by factors such as user computer performance, network equipment quality, resource usage, peak network periods, website service capacity, line attenuation, and signal attenuation, there is a significant difference between the theoretical and actual bandwidth transmission rates.

[0062] The executing entity in this embodiment can be a wireless access device, which can provide wireless network connection services, such as a gateway device, a wireless AP (Access Point) device, or specifically, a wireless router and a mobile terminal capable of generating a hotspot. The terminal device can be implemented in various forms. For example, the terminal devices described in this invention can include mobile terminals such as mobile phones, tablets, laptops, PDAs, personal digital assistants (PDAs), and portable media players (PMPs), as well as fixed terminals such as digital TVs and desktop computers. After the terminal device connects to the wireless access device, it can use the wireless network connection to access the internet.

[0063] Communication information refers to the various information a terminal device possesses when communicating after connecting to a network, and is related to the terminal device's hardware performance and network performance. Communication information can reflect the wireless network usage of the terminal device, and thus allow for reasonable bandwidth allocation based on this information. In this embodiment, the communication information includes at least data traffic, signal strength, communication frequency band, data packet size, and / or data protocol.

[0064] In some feasible embodiments, the step of obtaining communication information corresponding to each of the multiple terminal devices may include:

[0065] Step a: Detect the current network connection status, and determine the identification information corresponding to each of the multiple terminal devices based on the current network connection status;

[0066] Step b: Obtain the communication information based on the identification information.

[0067] Wireless access devices can detect the current network connection status of the wireless network, identify currently connected terminal devices, determine the number of connected terminal devices, and obtain the identification information of each terminal device, distinguishing different terminal devices through the identification information. Identification information can include device name, model, and serial number. By analyzing the identification information of the connected terminal devices, communication information such as data traffic, signal strength, communication frequency band, data packet size, and / or data protocol can be obtained. Data traffic represents the amount of data exchanged by the terminal device, and can be measured in seconds. Signal strength represents the strength of the signal received by the terminal device, generally related to the distance between the terminal device and the wireless access device. Communication frequency band refers to the frequency band of the signal spectrum used by the terminal device. Data packet size indicates the size of the data packets received or sent by the terminal device. Data protocol refers to the network protocol used by the terminal device for communication.

[0068] Step S20: Classify the communication information to obtain target classification information for each piece of communication information;

[0069] Wireless access devices may include a monitoring module that stores preset monitoring algorithms. The monitoring module is automatically loaded when the wireless access device is powered on, and after successful loading, it monitors the communication status of each connected terminal device. Each terminal device has its own communication information. Through classification processing, the target classification information can represent the specific values ​​in the communication information for subsequent priority allocation, making the allocation process more convenient.

[0070] In some feasible embodiments, the step of classifying the communication information to obtain target classification information for each piece of communication information may include:

[0071] Step c: Based on the first numerical range in which the data flow is located, obtain the first target classification information corresponding to the first numerical range;

[0072] Step d: Based on the second numerical range in which the signal strength is located, obtain the second target classification information corresponding to the second numerical range;

[0073] Step e: Based on the third numerical range in which the data volume of the data packet is located, obtain the third target classification information corresponding to the third numerical range;

[0074] Step f: Obtain the fourth target classification information based on the frequency band type of the communication frequency band;

[0075] Step g: Obtain the fifth target classification information based on the protocol type of the data protocol.

[0076] For data traffic classification, the actual values ​​of data traffic often vary considerably, and can be correlated with the first numerical range in which it falls. For example, sum1 and sum2 can be used to represent the first target classification information for each terminal device. For the classification of signal strength and data packet size, numerical values ​​are also used for measurement. Following the above classification process, r1 and r2 can be used to represent the second target classification information for each terminal device, and type1 and type2 can be used to represent the third target classification information. In r1 and r2, 'r' represents RSSI (Received Signal Strength Indicator), and 'type' represents the data packet type, which can be divided into large packets and small packets. For communication frequency bands and data protocols, which cannot be represented by specific numerical values, classification is used. For example, band1 and band2 can be used to represent the fourth target classification information for each terminal device, and protocol1 and protocol2 can represent the fifth target classification information.

[0077] Step S30: Based on the target classification information, assign priority to each of the terminal devices;

[0078] Wireless access devices may include a performance optimization module that stores preset optimization algorithms. After monitoring the processing of communication information by the algorithm, the module analyzes the obtained target classification information to determine the bandwidth requirements of different terminal devices. It then allocates different proportions of bandwidth resources to terminal devices with different priorities to improve bandwidth utilization.

[0079] In some feasible embodiments, the step of assigning priorities to the terminal devices based on the target classification information may include:

[0080] Step h: Assign values ​​to the target classification information according to the preset values ​​corresponding to different classification information to obtain the target value corresponding to each target classification information;

[0081] Step i: Calculate the priority based on the target value corresponding to each target classification information.

[0082] Each target classification has a certain impact on the bandwidth resource allocation of terminal devices. For different categories of target classification information, specific target values ​​can be obtained by assignment, and the values ​​calculated using these target values ​​represent priorities.

[0083] Data traffic can be viewed as the sum of flowing data. Terminal devices with high data traffic require greater bandwidth resources, so higher values ​​can be assigned to the data traffic ranges. For example, dividing data traffic into three ranges—0-100M, 100-500M, and 500-1000M—for two terminal devices with data traffic of 50M and 300M respectively, the classification information corresponding to the 0-100M range (for the 50M device) is sum1, and the classification information corresponding to the 100-500M range (for the 300M device) is sum2. Assigning a value of 2 to sum1 and 5 to sum2 gives a target value of 2 for the 50M device and 5 for the 300M device. Regarding the size of data packets, larger packets (longer in bytes) require more bandwidth resources than smaller packets during transmission, so higher preset values ​​can be assigned to larger packets. Regarding data protocols, UDP is designed for fast, connectionless transmission, while TCP is connection-oriented and reliable. TCP can be considered more important than UDP, so higher preset values ​​can be assigned to terminal devices using TCP. Regarding signal strength, terminal devices with stronger signals have a greater advantage in network connectivity, and are assigned higher preset values. Regarding communication frequency bands, terminal devices using 5G spectrum always have higher priority than 2.4G terminal devices, and 5G terminal devices have higher target values ​​than 2.4G terminal devices. For example, for two terminal devices, one 5G and one 2.4G, the 5G device is classified as band1 and the 2.4G device as band2. The target value for band1 is set to 8, and the target value for band2 is set to 2. The priority can be obtained by directly summing the target values ​​for each device.

[0084] Step i1: Multiply the target value corresponding to each of the multiple target classification information by the weight value corresponding to each of the multiple target classification information to obtain multiple products;

[0085] Step i2: Add the multiple products together to obtain the final value;

[0086] Step i3: Determine the priority based on the final value.

[0087] The weight of each target classification information in the priority calculation can represent its influence on bandwidth resource allocation. This weight value can be adjusted according to the actual bandwidth resource allocation to adapt to actual usage needs.

[0088] For example, in a feasible priority calculation method, the expression used for calculation is as follows: sta1=sum1*20%+rssi1*20%+(band1 or band2)*20%+(type1 or type2)*20%+(protocol1 or protocol2)*20%, where sta1 represents the priority, sum1 represents the target value of data traffic, rssi1 represents the target value of signal strength, band1 or band2 represents the target value of communication frequency band, type1 or type2 represents the target value of data packet size, and protocol1 or protocol2 represents the target value of data protocol.

[0089] Step S40: According to the priority, bandwidth resources are allocated to multiple terminal devices.

[0090] For wireless access devices, their access standards must be followed. Although terminal devices are allowed to use multiple antennas to transmit and receive signals simultaneously, the total supported bandwidth is limited, and only one terminal device can communicate at a time. This means that when multiple terminal devices connect to a wireless access device, they need to queue for service. Time resources can be used as a basis for bandwidth resource allocation. That is, within a unit of time, a higher proportion of time resources are allocated to terminal devices with higher priority.

[0091] In some feasible embodiments, the step of allocating bandwidth resources to the terminal device according to the priority information may include:

[0092] Step j: Obtain the preset bandwidth resource allocation rules and spectrum priority rules;

[0093] Step k: If the communication frequency band of the terminal device conforms to the spectrum priority rule, then the terminal device is designated as a priority device, and bandwidth resources are preferentially allocated to the priority device.

[0094] Step 1: If the communication frequency band of the terminal device does not conform to the spectrum priority rule, then the bandwidth resources are preferentially allocated to the terminal device with higher priority according to the bandwidth resource allocation rule.

[0095] The preset bandwidth resource allocation rule can be the 80 / 20 rule, meaning that within a 100ms interval, 20ms of bandwidth is allocated to lower-priority terminals, and 80ms to higher-priority terminals. The spectrum priority rule can be a 5G priority rule, meaning that when the terminal device's communication frequency band is 5G, more bandwidth resources are allocated to 5G terminal devices. The spectrum priority rule can have higher allocation authority than the bandwidth resource allocation rule; that is, for wireless access devices, when 5G terminal devices are among the currently accessing terminal devices, more bandwidth resources are always allocated to 5G terminal devices. For other non-5G terminal devices, the higher-priority terminal devices are still determined based on calculated priority values, and the 80 / 20 rule is used to allocate 80% of the bandwidth resources to them. In this way, higher-priority terminal devices can use more bandwidth resources, improving bandwidth resource utilization.

[0096] In some feasible embodiments, after the step of allocating bandwidth resources to the multiple terminal devices according to the priority, the method further includes:

[0097] Step m: Determine the priority value corresponding to the priority;

[0098] Step n: When the priority value exceeds the preset priority threshold, switch to the speed test mode and set the current packet sending interval to the preset first speed test mode packet sending interval.

[0099] When the priority value exceeds a preset priority threshold, the terminal device can be considered to be in speed test mode. After allocating corresponding bandwidth resources to the terminal device, the current beacon packet transmission interval can be adjusted. For example, the commonly used packet transmission interval is 100ms. If speed test mode is detected, the packet transmission interval can be controlled to the first speed test mode packet transmission interval, which can be 1000ms-2000ms. This improves the speed test effect and the throughput of wireless access devices under speed test conditions.

[0100] In this embodiment, communication information corresponding to each of multiple terminal devices is acquired. The communication information includes data traffic, signal strength, communication frequency band, data packet size and / or data protocol. The communication information is classified to obtain target classification information for each piece of communication information. Based on the target classification information, the priority of each terminal device is determined. Based on the priority, bandwidth resources are allocated to the multiple terminal devices. When the bandwidth requirements of each terminal device are different, the bandwidth resources that each terminal device can obtain are determined according to the priority of the terminal device, so that the bandwidth resources can be rationally allocated and the utilization rate of bandwidth resources can be improved.

[0101] Furthermore, in a second embodiment of the bandwidth resource allocation method of the present invention, referring to Figure 3 The method includes:

[0102] Step S50: Monitor the current concurrent traffic per second;

[0103] Step S60: When the current concurrent traffic per second exceeds a preset traffic threshold, adjust the current packet sending interval to the preset second speed test mode packet sending interval.

[0104] The execution entity in this embodiment can be a wireless access device. After the terminal device connects to the wireless access device, the wireless access device can monitor the current concurrent traffic per second of the terminal device. When the current concurrent traffic per second exceeds a preset traffic threshold, it indicates that the terminal device is in speed test mode, and the current beacon packet sending interval can be adjusted to a preset second speed test mode packet sending interval. The second speed test mode packet sending interval can be 1000ms-2000ms. After adjustment, the performance of the wireless network is improved, and the speed test results when the user uses the terminal device are better. It is understood that the step of adjusting the packet sending interval is not subject to any fixed time restriction in terms of bandwidth resource allocation in the first embodiment above. The adjustment of the packet sending interval is not necessarily permanent. When the terminal device is detected to have exited the speed test mode, the packet sending interval can still be restored to the original value to reduce the power consumption of the wireless access device.

[0105] In this embodiment, the monitoring of concurrent traffic per second identifies whether the terminal device is in a speed test mode. In the speed test mode, bandwidth resource allocation and packet sending interval adjustment ensure that the terminal device in the speed test can obtain better network resources, thereby improving product performance in the PK test.

[0106] In the third embodiment of the bandwidth resource allocation method of the present invention, as follows: Figure 4 As shown, taking a router as an example, the monitoring module can be automatically loaded after the router is powered on. After successful loading, the automatic speed test module is started, which periodically monitors the received data packets. It uses optimization algorithms to identify and process the relevant information of successfully identified terminal devices. The algorithm processing takes effect in the driver, and then the speed test process ends. If loading the monitoring module fails, a loading failure message can be displayed. Similarly, if the optimization algorithm identification fails, a loading failure message can also be displayed. During operation, the monitoring module analyzes and statistically processes the connected terminal devices in real time as needed.

[0107] This invention also provides a bandwidth resource allocation device, such as... Figure 5 As shown, the bandwidth resource allocation device includes:

[0108] The acquisition module 101 is used to acquire communication information corresponding to each of multiple terminal devices. The communication information includes data traffic, signal strength, communication frequency band, data volume of data packets and / or data protocol.

[0109] The classification module 102 is used to classify the communication information to obtain target classification information for each piece of communication information;

[0110] The segmentation module 103 is used to segment the terminal devices according to the target classification information.

[0111] The allocation module 104 is used to allocate bandwidth resources to multiple terminal devices according to the priority.

[0112] Optionally, the acquisition module 101 is also used for:

[0113] Detect the current network connection status, and determine the identification information corresponding to each of the multiple terminal devices based on the current network connection status;

[0114] The communication information is obtained based on the identification information.

[0115] Optionally, the classification module 102 is also used for:

[0116] Based on the first numerical range in which the data flow is located, the first target classification information corresponding to the first numerical range is obtained;

[0117] Based on the second numerical range in which the signal strength is located, the second target classification information corresponding to the second numerical range is obtained;

[0118] Based on the third numerical range in which the data volume of the data packet is located, the third target classification information corresponding to the third numerical range is obtained;

[0119] Based on the frequency band type of the communication frequency band, the fourth target classification information is obtained;

[0120] Based on the protocol type of the data protocol, the fifth target classification information is obtained.

[0121] Optionally, the partitioning module 103 is also used for:

[0122] Based on the preset values ​​corresponding to different classification information, the target classification information is assigned values ​​to obtain the target value corresponding to each target classification information.

[0123] The priority is calculated based on the target value corresponding to each target classification information.

[0124] Optionally, the partitioning module 103 is also used for:

[0125] Each of the target classification information's corresponding target values ​​is multiplied by the weight values ​​corresponding to each of the target classification information's corresponding target values ​​to obtain multiple products;

[0126] Add the products together to get the final value;

[0127] The priority is determined based on the final value.

[0128] Optionally, the allocation module 104 is also used for:

[0129] Obtain the preset bandwidth resource allocation rules and spectrum priority rules;

[0130] If the communication frequency band of the terminal device conforms to the spectrum priority rule, then the terminal device will be designated as a priority device, and bandwidth resources will be allocated to the priority device preferentially.

[0131] If the communication frequency band of the terminal device does not conform to the spectrum priority rule, then the bandwidth resources will be preferentially allocated to the terminal device with higher priority according to the bandwidth resource allocation rule.

[0132] Optionally, the bandwidth resource allocation device further includes a speed measurement module for:

[0133] Determine the priority value corresponding to the priority;

[0134] When the priority value exceeds the preset priority threshold, switch to speed test mode and set the current packet sending interval to the preset first speed test mode packet sending interval.

[0135] Optionally, the speed measurement module is also used for:

[0136] Monitor the current concurrent traffic per second;

[0137] When the current concurrent traffic per second exceeds a preset traffic threshold, the current packet sending interval is adjusted to the preset second speed test mode packet sending interval.

[0138] This invention also provides an electronic device, comprising: a memory, a processor, and a bandwidth resource allocation program stored in the memory and executable on the processor. The bandwidth resource allocation program is configured to implement the steps of the bandwidth resource allocation method described above. Specific implementations of the electronic device of this invention are described in the various embodiments of the bandwidth resource allocation method described above, and will not be repeated here.

[0139] This invention also provides a computer-readable storage medium storing a bandwidth resource allocation program. When executed by a processor, the bandwidth resource allocation program implements the steps of the bandwidth resource allocation method described above. Specific implementations of the computer-readable storage medium of this invention are described in the various embodiments of the bandwidth resource allocation method described above, and will not be repeated here.

[0140] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0141] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0142] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0143] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A bandwidth resource allocation method, characterized in that, The bandwidth resource allocation method includes the following steps: After the router is powered on, it automatically loads the monitoring module, which periodically monitors the data packets of the access terminals. Obtain communication information corresponding to each of multiple terminal devices, wherein the communication information includes data traffic, signal strength, communication frequency band, data packet size and / or data protocol; The communication information is classified to obtain target classification information for each piece of communication information; Based on the preset values ​​corresponding to different classification information, the target classification information is assigned values ​​to obtain the target value corresponding to each target classification information; the target values ​​corresponding to each of the multiple target classification information are multiplied by the weight values ​​corresponding to each of the multiple target classification information to obtain multiple products; the multiple products are added together to obtain the final value; the priority of each terminal device is determined based on the final value. According to the priority, bandwidth resources are allocated to multiple terminal devices; The step of allocating bandwidth resources to multiple terminal devices according to the priority includes: Obtain preset bandwidth resource allocation rules and spectrum priority rules. The allocation authority of the spectrum priority rules is higher than that of the bandwidth resource allocation rules. The bandwidth resource allocation rules follow the 80 / 20 rule, and the spectrum priority rules are 5G priority rules. If the communication frequency band of the terminal device conforms to the spectrum priority rule, then the terminal device will be designated as a priority device, and bandwidth resources will be allocated to the priority device preferentially. If the communication frequency band of the terminal device does not conform to the spectrum priority rule, then the bandwidth resources will be preferentially allocated to the terminal device with higher priority according to the bandwidth resource allocation rule.

2. The bandwidth resource allocation method as described in claim 1, characterized in that, The steps for obtaining the communication information corresponding to each of the multiple terminal devices include: Detect the current network connection status, and determine the identification information corresponding to each of the multiple terminal devices based on the current network connection status; The communication information is obtained based on the identification information.

3. The bandwidth resource allocation method as described in claim 1, characterized in that, The step of classifying the communication information to obtain target classification information for each piece of communication information includes: Based on the first numerical range in which the data flow is located, the first target classification information corresponding to the first numerical range is obtained; Based on the second numerical range in which the signal strength is located, the second target classification information corresponding to the second numerical range is obtained; Based on the third numerical range in which the data volume of the data packet is located, the third target classification information corresponding to the third numerical range is obtained; Based on the frequency band type of the communication frequency band, the fourth target classification information is obtained; Based on the protocol type of the data protocol, the fifth target classification information is obtained.

4. The bandwidth resource allocation method as described in claim 1, characterized in that, Following the step of allocating bandwidth resources to the multiple terminal devices according to the priority, the method further includes: Determine the priority value corresponding to the priority; When the priority value exceeds the preset priority threshold, switch to speed test mode and set the current packet sending interval to the preset first speed test mode packet sending interval.

5. The bandwidth resource allocation method according to any one of claims 1-4, characterized in that, Following the step of allocating bandwidth resources to the multiple terminal devices according to the priority, the method further includes: Monitor the current concurrent traffic per second; When the current concurrent traffic per second exceeds a preset traffic threshold, the current packet sending interval is adjusted to the preset second speed test mode packet sending interval.

6. An electronic device, characterized in that, The electronic device includes: a memory, a processor, and a bandwidth resource allocation program stored on the memory and executable on the processor, the bandwidth resource allocation program being configured to implement the steps of the bandwidth resource allocation method as described in any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a bandwidth resource allocation program, which, when executed by a processor, implements the steps of the bandwidth resource allocation method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Router intelligent bandwidth allocation method and device

    CN105337901A

  • Method and device for discriminating user priority of wireless communication system

    CN106922028A

  • Method and device for selecting bandwidth of wireless router

    CN108966350A