Adaptive bandwidth allocation method based on traffic business model and related equipment
By real-time detection of received signal strength and traffic of wireless terminals, determining service types and adjusting bandwidth priorities, the problems of high computing resources occupied by the prior art and low real-time performance are solved, and efficient bandwidth allocation is achieved.
Patent Information
- Application Number
- CN202411034597.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-30
AI Technical Summary
In the prior art, when multiple terminals accessing the same wireless access device perform adaptive bandwidth allocation, computing resources occupy a lot and the real-time performance is not high, making it difficult to effectively identify service types to optimize bandwidth allocation.
By real-time detection of the received signal strength, real-time traffic and network mode of wireless terminals, determine the service type, and adjust the space-time priority and bandwidth allocation of the sent data in real time based on this information, the traffic service model is used to replace the traditional message feature extraction method.
It improves the real-time bandwidth allocation, reduces computing resource usage, simplifies service type identification and maintenance, and improves the adaptive bandwidth allocation capabilities of multiple terminals.
Smart Images

Figure CN118590928B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an adaptive bandwidth allocation method based on a traffic service model and related equipment. Background Art
[0002] In the related art, when adaptive bandwidth allocation is performed for multiple terminals accessing the same wireless access device, services are usually identified based on technologies such as message features, feature libraries, and Wi-Fi Multi-Media (WMM for short). As services increase, this technology requires continuous maintenance and updating of feature libraries. Although identifying service types by extracting message features improves the accuracy of bandwidth allocation for service types, the real-time performance is not high, and the extraction of message features will occupy a large amount of computing resources. Summary of the invention
[0003] The adaptive bandwidth allocation method based on the traffic business model and the related devices provided in the embodiments of the present application at least solve the problem that the bandwidth allocation method in the related art occupies a lot of computing resources and has low real-time performance.
[0004] An adaptive bandwidth allocation method based on a traffic service model comprises: real-time detection of all wireless terminals accessing a wireless access device; collecting received signal strength indication, real-time traffic and network mode of each wireless terminal; determining the service type of the wireless terminal according to the size of the real-time traffic of the wireless terminal; adjusting the space-time priority of the wireless terminal for sending data according to the received signal strength indication, service type and network mode of the wireless terminal in real time, and controlling the sending bandwidth of the wireless terminal according to the space-time priority.
[0005] In some embodiments, determining the service type of the wireless terminal according to the size of the real-time traffic of the wireless terminal includes: when the real-time traffic size of the wireless terminal falls within a preset numerical interval, determining that the service type of the wireless terminal is a service type corresponding to the preset numerical interval; wherein the preset numerical interval includes numerical intervals corresponding to game service, video service, voice service and speed measurement service, respectively, wherein the center values of the numerical intervals corresponding to the game service, voice service, video service and speed measurement service increase in sequence.
[0006] In some of the embodiments, adjusting the space-time priority of the data sent by the wireless terminal in real time according to the received signal strength indication, service type and network mode of the wireless terminal includes: when the wireless terminal only supports the 802.11b network mode, adjusting the space-time priority of the data sent by the wireless terminal to priority level 0; and / or when the received signal strength indication of the wireless terminal is less than -82dBm, adjusting the space-time priority of the data sent by the wireless terminal to priority level 0; and / or when the received signal strength indication of the wireless terminal is greater than -82dBm and less than -65dBm, if the service type of the wireless terminal is game service or voice service, adjusting the space-time priority of the data sent by the wireless terminal to priority level 2; if the service type of the wireless terminal is video service, adjusting the space-time priority of the data sent by the wireless terminal to priority level 2. The space-time priority of the data sent by the wireless terminal is priority level 1. If the service type of the wireless terminal is speed measurement service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 3. If the service type of the wireless terminal is not identified, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 1; and / or when the received signal strength indication of the wireless terminal is greater than -65dBm, if the service type of the wireless terminal is speed measurement service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 3. If the service type of the wireless terminal is not speed measurement service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 1; wherein the space-time priority of the data sent at priority level 0, priority level 1, priority level 2 and priority level 3 increases in sequence.
[0007] In some of the embodiments, the space-time priority of the wireless terminal for sending data is adjusted in real time according to the received signal strength indication, service type and network mode of the wireless terminal, and the sending bandwidth of the wireless terminal is controlled according to the space-time priority, including: determining the space-time priority of the wireless terminal for sending data according to the received signal strength indication, service type and network mode of the wireless terminal; adding the wireless terminal to a space-time priority queue corresponding to the space-time priority, wherein a space-time priority queue with a larger space-time priority has a larger time slice length for sending data; and allocating the time length for sending data by the wireless terminal based on the time slice length corresponding to the space-time priority queue.
[0008] An adaptive bandwidth allocation device based on a traffic service model comprises: a real-time detection module for detecting in real time all wireless terminals accessing a wireless access device; an information collection module for collecting a received signal strength indication, real-time traffic and network mode of each of the wireless terminals; a service identification module for determining the service type of the wireless terminal according to the size of the real-time traffic of the wireless terminal; and an adaptive bandwidth adjustment module for adjusting in real time the space-time priority of the wireless terminal for sending data according to the received signal strength indication, service type and network mode of the wireless terminal, and controlling the sending bandwidth of the wireless terminal according to the space-time priority.
[0009] In some of the embodiments, the service identification module is used to determine that the service type of the wireless terminal is a service type corresponding to the preset numerical interval when the real-time traffic size of the wireless terminal falls into the preset numerical interval; wherein the preset numerical interval includes numerical intervals corresponding to game service, video service, voice service and speed measurement service, respectively, wherein the center values of the numerical intervals corresponding to the game service, voice service, video service and speed measurement service increase in sequence.
[0010] In some of the embodiments, the adaptive bandwidth adjustment module is used to adjust the space-time priority of the data sent by the wireless terminal to priority level 0 when the wireless terminal only supports the 802.11b network mode; and / or when the received signal strength indication of the wireless terminal is less than -82dBm, adjust the space-time priority of the data sent by the wireless terminal to priority level 0; and / or when the received signal strength indication of the wireless terminal is greater than -82dBm and less than -65dBm, if the service type of the wireless terminal is a game service or a voice service, adjust the space-time priority of the data sent by the wireless terminal to priority level 2; if the service type of the wireless terminal is a video service, adjust the space-time priority of the data sent by the wireless terminal to priority level 2. Level 1, if the service type of the wireless terminal is speed measurement service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 3; if the service type of the wireless terminal is not identified, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 1; and / or when the received signal strength indication of the wireless terminal is greater than -65dBm, if the service type of the wireless terminal is speed measurement service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 3; if the service type of the wireless terminal is not speed measurement service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 1; wherein, the space-time priority of the data sent at priority level 0, priority level 1, priority level 2 and priority level 3 increases in sequence.
[0011] In some of the embodiments, the device also includes: a space-time priority queue module, the space-time priority queue module includes multiple space-time priority queues, each space-time priority queue corresponds to a space-time priority, and the space-time priority queue with a larger space-time priority has a larger time slice length for sending data; the adaptive bandwidth adjustment module is used to determine the space-time priority of the wireless terminal to send data according to the received signal strength indication, service type and network mode of the wireless terminal; add the wireless terminal to the space-time priority queue corresponding to the space-time priority; the space-time priority queue module is used to allocate the time length for the wireless terminal to send data based on the time slice length corresponding to the space-time priority queue.
[0012] An electronic device includes: a processor and a memory storing a program, wherein the program includes instructions, and when the instructions are executed by the processor, the processor executes the above method.
[0013] A non-transitory machine-readable medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the above method.
[0014] The adaptive bandwidth allocation method based on the traffic service model and the related equipment provided in the embodiment of the present application detect all wireless terminals accessing the wireless access device in real time; collect the received signal strength indication, real-time traffic and network mode of each wireless terminal; determine the service type of the wireless terminal according to the size of the real-time traffic of the wireless terminal; adjust the space-time priority of the wireless terminal to send data in real time according to the received signal strength indication, service type and network mode of the wireless terminal, and control the sending bandwidth of the wireless terminal according to the space-time priority, thereby solving the problem that the bandwidth allocation method of the related art occupies a lot of computing resources and has low real-time performance, improving the real-time performance of the bandwidth allocation method and reducing the computing resource occupation. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can be obtained based on these drawings without creative work.
[0016] Figure 1 It is a flow chart of an adaptive bandwidth allocation method based on a traffic business model in an embodiment of the present application.
[0017] Figure 2 It is a structural diagram of an adaptive bandwidth allocation device based on a traffic business model in an embodiment of the present application.
[0018] Figure 3 It is another structural schematic diagram of the adaptive bandwidth allocation device based on the traffic business model of an embodiment of the present application.
[0019] Figure 4 It is a schematic diagram of the structure of the electronic device of the present application. DETAILED DESCRIPTION
[0020] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.
[0021] In order to reduce the problems of low real-time performance and high computing resource usage caused by extracting message features for bandwidth allocation, the present application provides an adaptive bandwidth allocation method based on a traffic business model. Figure 1 FIG. 1 is a flow chart of an adaptive bandwidth allocation method based on a traffic service model according to an embodiment of the present application. Figure 1 As shown, the process includes the following steps:
[0022] Step S101: detecting all wireless terminals connected to a wireless access device in real time.
[0023] In step S101, all wireless terminals connected to the current wireless access point are detected. During the detection, a second-level timer may be used to ensure real-time perception of changes in wireless terminal access or disconnection.
[0024] Step S102, collecting the received signal strength indication, real-time traffic and network mode of each wireless terminal.
[0025] The received signal strength indicator (RSSI) can represent the distance between the current terminal and the wireless access device. In this embodiment, based on the different degrees of impact on service experience at different distances, the distance is divided into three levels and mapped to RSSI intervals as shown in Table 1 below.
[0026]
[0027] Table 1 Mapping table of RSSI intervals and service impact corresponding to different distances
[0028] Real-time traffic refers to the number of bytes sent by wireless terminals per second, that is, Byte / s. Real-time traffic can represent the number of bytes sent by wireless terminals to wireless access devices per second. Each wireless terminal corresponds to an independent real-time traffic value.
[0029] The network modes include 802.11 / a / b / g / n / ac / ax / be, which represent the 7 generations of Wi-Fi protocol versions. With the improvement of the protocol version, the network speed gradually increases significantly, and the frequency bands used are also slightly different.
[0030] Step S103: determining the service type of the wireless terminal according to the size of the real-time traffic of the wireless terminal.
[0031] In some of the embodiments, in step S103, when the real-time traffic size of the wireless terminal falls within a preset numerical interval, the service type of the wireless terminal is determined to be a service type corresponding to the preset numerical interval; wherein the preset numerical interval includes numerical intervals corresponding to game service, video service, voice service and speed measurement service, respectively, wherein the central values of the numerical intervals corresponding to game service, voice service, video service and speed measurement service increase in sequence.
[0032] For example, in this embodiment, by monitoring the real-time traffic of games, videos, voice and speed measurement services, it is found that the real-time traffic corresponding to these services has a relatively obvious isolation zone, which is easy to distinguish and identify. In this embodiment, reference standards are given based on different traffic, and a mapping relationship table is constructed by combining real-time traffic with service types as shown in Table 2.
[0033]
[0034] Table 2 Mapping relationship table of the center value of the numerical interval of real-time traffic corresponding to different service types
[0035] The above-mentioned central value refers to the fluctuation center of the real-time traffic value of the corresponding service type. For example, taking the video service as an example, the average of the real-time traffic of the wireless terminal is counted within a certain time range (for example, 100ms) or in real time (for example, 10ms). If the average falls within the range of 100KB / s (for example, ±50%), the current service of the wireless terminal is considered to be a video service.
[0036] Step S104, adjusting the space-time priority of the wireless terminal to send data in real time according to the received signal strength indication, service type and network mode of the wireless terminal, and controlling the sending bandwidth of the wireless terminal according to the space-time priority.
[0037] Through the above steps, the service feature extraction of the message is avoided, and the service type of the wireless terminal is judged according to the size of the real-time traffic, thereby avoiding the large occupation of computing resources. In addition, the real-time traffic has the time-sensitive characteristic, which can quickly realize the adaptive bandwidth allocation of multiple terminals and improve the real-time performance.
[0038] In some of the embodiments, in step S104, the time length for wireless terminals to send data is allocated through the space-time priority queue, thereby realizing bandwidth allocation for sending data. For example, the wireless terminal is added to the space-time priority queue corresponding to the space-time priority, wherein the space-time priority queue with a larger space-time priority has a larger time slice length for sending data; the time length for wireless terminals to send data is allocated based on the time slice length corresponding to the space-time priority queue.
[0039] In this embodiment, the space-time priority queue uses weighted space-time fair scheduling (Weighed Air Time Fairness, referred to as WATF) to assign priorities to space-time. In this embodiment, it is divided into 4 priority queues, and the priority queues of the sending direction space-time are assigned based on the time slice, and four queues of space-time priority level 0, level 1, level 2, and level 3 are set. Among them, the level 0 time slice is 1ms, the level 1 time slice is 2ms, the level 2 time slice is 3ms, and the level 3 time slice is 4ms. Different priorities are achieved by controlling the duration of the time slice, among which level 0 has the lowest priority and level 3 has the highest priority. The specific mapping relationship is shown in Table 3.
[0040]
[0041] Table 3 Mapping relationship between different space-time queue priorities and time slice lengths
[0042] Specifically, in the above step S104, according to the received signal strength indication, service type and network mode of the wireless terminal, the space-time priority of the wireless terminal sending data is adjusted in real time, including but not limited to the following strategies:
[0043] Strategy 1:
[0044] When the wireless terminal only supports the 802.11b network mode, adjust the space-time priority of the wireless terminal to send data to priority level 0. Detect whether there is a terminal that only supports the 802.11b mode in the network mode. If so, confirm that it is a slow terminal and add it to the lowest level 0 to minimize its air interface occupancy time to avoid lowering the performance of the entire network.
[0045] Strategy 2:
[0046] When the received signal strength indication of the wireless terminal is less than -82dBm, the space-time priority of the wireless terminal to send data is adjusted to priority level 0. Detect whether there is a terminal with an RSSI value less than -82dBm among the terminals. If there is, add the terminal to the lowest priority level 0 queue, and ignore such extremely long-distance and unstable signal devices to avoid interfering with the network performance of other devices in the network.
[0047] Strategy 3:
[0048] When the received signal strength indication of the wireless terminal is greater than -82dBm and less than -65dBm, if the service type of the wireless terminal is gaming service or voice service, adjust the space-time priority of the data sent by the wireless terminal to priority level 2; if the service type of the wireless terminal is video service, adjust the space-time priority of the data sent by the wireless terminal to priority level 1; if the service type of the wireless terminal is speed measurement service, adjust the space-time priority of the data sent by the wireless terminal to priority level 3; if the service type of the wireless terminal is not identified, adjust the space-time priority of the data sent by the wireless terminal to priority level 1.
[0049] For devices with RSSI values between -82dBm and -65dBm, if the real-time traffic of the device reaches about 2KB / s, it is matched as a game service according to the traffic model mapping table, and the terminal is added to the level 2 queue. If the real-time traffic of the device reaches about 16KB / s, it is matched as a voice service according to the traffic model mapping table, and the terminal is added to the level 2 queue. Since the signal of the terminal device is relatively weak, the game and voice services are more susceptible to interference. Therefore, the terminal is added to the level 2 queue to increase the time slice allocation of the terminal to ensure smooth service. If the real-time traffic of the device reaches about 100KB / s, it is matched as a video service according to the traffic model mapping table, and the terminal is added to the level 1 queue. If the real-time traffic of the device reaches about 15MB / s, it is matched as a speed measurement service according to the traffic model mapping table, and the terminal is added to the level 3 queue. For devices with RSSI values between -82dBm and -65dBm, terminals that do not match the above real-time traffic are added to the level 1 queue.
[0050] Strategy 4:
[0051] When the received signal strength indication of the wireless terminal is greater than -65dBm, if the service type of the wireless terminal is a speed measurement service, the space-time priority of the wireless terminal sending data is adjusted to priority level 3; if the service type of the wireless terminal is not a speed measurement service, the space-time priority of the wireless terminal sending data is adjusted to priority level 1.
[0052] For devices with RSSI values greater than -65dBm, if the device's real-time traffic reaches about 15MB / s, it will be matched as a speed measurement service according to the traffic model mapping table, and the terminal will be added to the level 3 queue, the time slice allocation of the terminal will be increased, and the space-time priority of the terminal will be improved. For devices with RSSI values greater than -65dBm, terminals that do not match the above real-time traffic will be added to the level 1 queue.
[0053] Through the above strategy, multi-user adaptive bandwidth allocation is achieved based on the traffic business model, and the corresponding business model is matched according to the data traffic of different terminals in the air interface environment, so that terminals of different models are added to air-time queues of different priorities to adapt to changes in network load in a timely manner. By matching different traffic models with different priority queues, the air interface occupation time of slow terminals can be reduced to avoid lowering the performance of the entire network. At the same time, for medium and long-distance terminals, more air time can be appropriately allocated to improve the medium and long-distance business experience.
[0054] In addition to the above four strategies, this embodiment also supports the use of more strategies to achieve personalized user bandwidth allocation. For example, in WATF mode, VIP terminals are added to high-priority space-time queues, and more space-time is appropriately allocated to VIP terminals to ensure smooth services of VIP terminals. VIP terminals can be identified by pre-configured terminal identifiers.
[0055] Since WLAN network services change at any time, when the network topology (load) changes frequently, the default priority queue is often insufficient to meet service needs, and real-time services such as games and voice often cannot be served in a timely manner, and low-priority services are greatly restricted. The multi-user adaptive bandwidth allocation method based on the traffic service model provided in this embodiment is adopted to match games, voice, video, and speed measurement services with traffic models. Compared with the prior art, it is necessary to identify services through message features, feature libraries, WMM and other technologies, which is simpler and faster, and avoids the problem that the prior art needs to update the feature library and maintain more complex problems. The space-time allocation strategy of the embodiment of the present application fully considers the multi-user nature of the actual home scene, is not limited to time-sensitive services, but also considers speed measurement services, and imposes distance-related restrictions on time-sensitive services, giving priority to terminal devices within the range susceptible to interference. The embodiment of the present application monitors all terminal service changes in real time, and adaptively adjusts the space-time priority queue of each terminal according to the real-time traffic of the terminal, the received signal strength indication, and the network mode, so as to achieve the purpose of quickly perceiving service changes and adjusting its bandwidth allocation.
[0056] The embodiment of the present application also provides an adaptive bandwidth allocation device based on a traffic service model, Figure 2 is a schematic diagram of the structure of an adaptive bandwidth allocation device based on a traffic service model according to an embodiment of the present application, such as Figure 2 As shown, the device comprises:
[0057] The real-time detection module 21 is used to detect all wireless terminals accessing the wireless access device in real time.
[0058] The information collection module 22 is used to collect the received signal strength indication, real-time traffic and network mode of each wireless terminal.
[0059] The service identification module 23 is used to determine the service type of the wireless terminal according to the size of the real-time traffic of the wireless terminal.
[0060] The adaptive bandwidth adjustment module 24 is used to adjust the space-time priority of the wireless terminal to send data in real time according to the received signal strength indication, service type and network mode of the wireless terminal, and control the sending bandwidth of the wireless terminal according to the space-time priority.
[0061] In some of the embodiments, the service identification module 23 is used to determine that the service type of the wireless terminal is a service type corresponding to a preset numerical interval when the real-time traffic size of the wireless terminal falls into a preset numerical interval; wherein the preset numerical interval includes numerical intervals corresponding to game services, video services, voice services and speed measurement services, respectively, wherein the center values of the numerical intervals corresponding to game services, voice services, video services and speed measurement services increase in sequence.
[0062] In some embodiments, the adaptive bandwidth adjustment module 24 is used to:
[0063] When the wireless terminal only supports the 802.11b network mode, adjusting the space-time priority of data sent by the wireless terminal to priority level 0; and / or
[0064] When the received signal strength indicator of the wireless terminal is less than -82dBm, adjusting the space-time priority of the wireless terminal to send data to priority level 0; and / or
[0065] When the received signal strength indication of the wireless terminal is greater than -82dBm and less than -65dBm, if the service type of the wireless terminal is a game service or a voice service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 2; if the service type of the wireless terminal is a video service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 1; if the service type of the wireless terminal is a speed measurement service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 3; if the service type of the wireless terminal is not identified, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 1; and / or
[0066] When the received signal strength indication of the wireless terminal is greater than -65dBm, if the service type of the wireless terminal is a speed measurement service, the space-time priority of the wireless terminal sending data is adjusted to priority level 3; if the service type of the wireless terminal is not a speed measurement service, the space-time priority of the wireless terminal sending data is adjusted to priority level 1;
[0067] Among them, the space-time priority of the transmission data of priority level 0, priority level 1, priority level 2 and priority level 3 increases in sequence.
[0068] Figure 3 FIG. 1 is another structural diagram of an adaptive bandwidth allocation device based on a traffic service model according to an embodiment of the present application. Figure 3 As shown, in some of the embodiments, the device also includes: a space-time priority queue module 25, the space-time priority queue module 25 includes multiple space-time priority queues, each space-time priority queue corresponds to a space-time priority, and the space-time priority queue with a larger space-time priority has a larger time slice length for sending data.
[0069] The adaptive bandwidth adjustment module 24 is used to determine the space-time priority of the wireless terminal to send data according to the received signal strength indication, service type and network mode of the wireless terminal; and add the wireless terminal to the space-time priority queue corresponding to the space-time priority.
[0070] The space-time priority queue module 25 is used to allocate the duration for the wireless terminal to send data based on the time slice length corresponding to the space-time priority queue.
[0071] An embodiment of the present application further provides a non-transitory machine-readable medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method of the embodiment of the present application.
[0072] An embodiment of the present application further provides a computer program product, including a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method of the embodiment of the present application.
[0073] The embodiment of the present application also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program executable by the at least one processor, and the computer program is used to enable the electronic device to perform the method of the embodiment of the present application when executed by the at least one processor.
[0074] refer to Figure 4, the structural block diagram of the electronic device that can be used as the server or client of the embodiment of the present application will now be described, which is an example of the hardware device that can be applied to various aspects of the present application. The electronic device is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples, and are not intended to limit the implementation of the present application described and / or required herein.
[0075] like Figure 4 As shown, the electronic device includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 to a random access memory (RAM) 403. In RAM 403, various programs and data required for the operation of the electronic device can also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0076] Multiple components in the electronic device are connected to the I / O interface 405, including: an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 can be any type of device that can input information to the electronic device, and the input unit 406 can receive input digital or character information, and generate key signal input related to user settings and / or function control of the electronic device. The output unit 407 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 408 can include but is not limited to a disk, an optical disk. The communication unit 409 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, and / or a wireless communication transceiver, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0077] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a CPU, a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing units, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 401 performs the various methods and processes described above. For example, in some embodiments, the method embodiments of the present application may be implemented as a computer program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 402 and / or communication unit 409. In some embodiments, the computing unit 401 may be configured to perform the above method in any other appropriate manner (e.g., by means of firmware).
[0078] The computer program for implementing the method of the embodiment of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0079] In the context of the embodiments of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable signal medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, or infrared systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0080] It should be noted that the term "including" and its variations used in the embodiments of the present application are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "multiple" mentioned in the embodiments of the present application are illustrative and not restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0081] The various steps described in the method implementation scheme provided by the embodiments of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation scheme may include additional steps and / or omit the steps shown. The scope of protection of the present application is not limited in this respect.
[0082] The term "embodiment" in this specification refers to specific features, structures or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. The various embodiments in this specification are described in a related manner, and the same or similar parts between the various embodiments refer to each other. In particular, for the device, equipment, and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment.
[0083] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of protection. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.
Claims
1. An adaptive bandwidth allocation method based on a traffic service model, characterized in that include: Real-time detection of all wireless terminals connected to wireless access devices; collecting received signal strength indication, real-time traffic and network mode of each of the wireless terminals; Determining the service type of the wireless terminal according to the size of the real-time traffic of the wireless terminal; According to the received signal strength indication, service type and network mode of the wireless terminal, adjust the space-time priority of the wireless terminal for sending data in real time, and control the sending bandwidth of the wireless terminal according to the space-time priority; Wherein, determining the service type of the wireless terminal according to the size of the real-time traffic of the wireless terminal includes: when the real-time traffic size of the wireless terminal falls within a preset numerical interval, determining the service type of the wireless terminal as a service type corresponding to the preset numerical interval; wherein the preset numerical interval includes numerical intervals corresponding to a game service, a video service, a voice service, and a speed measurement service, respectively, wherein the central values of the numerical intervals corresponding to the game service, the voice service, the video service, and the speed measurement service increase in sequence; Wherein, according to the received signal strength indication, service type and network mode of the wireless terminal, real-time adjustment of the space-time priority of the data sent by the wireless terminal includes: when the received signal strength indication of the wireless terminal is less than -82dBm, adjusting the space-time priority of the data sent by the wireless terminal to priority level 0; when the received signal strength indication of the wireless terminal is greater than -82dBm and less than -65dBm, if the service type of the wireless terminal is game service or voice service, adjusting the space-time priority of the data sent by the wireless terminal to priority level 2; if the service type of the wireless terminal is video service, adjusting the space-time priority of the data sent by the wireless terminal to priority level 1; if the service type of the wireless terminal is If the service type is speed measurement service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 3; if the service type of the wireless terminal is not identified, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 1; when the received signal strength indication of the wireless terminal is greater than -65dBm, if the service type of the wireless terminal is speed measurement service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 3; if the service type of the wireless terminal is not speed measurement service, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 1; wherein, the space-time priority of the data sent at priority level 0, priority level 1, priority level 2 and priority level 3 increases in sequence.
2. The method according to claim 1, characterized in that According to the received signal strength indication, service type and network mode of the wireless terminal, adjusting the space-time priority of the wireless terminal for sending data in real time includes: In the case that the wireless terminal only supports the 802.11b network mode, the space-time priority of the data sent by the wireless terminal is adjusted to priority level 0.
3. The method according to claim 1, characterized in that According to the received signal strength indication, service type and network mode of the wireless terminal, adjusting the space-time priority of the wireless terminal for sending data in real time, and controlling the sending bandwidth of the wireless terminal according to the space-time priority includes: Determining the space-time priority of the wireless terminal for sending data according to the received signal strength indication, service type and network mode of the wireless terminal; Adding the wireless terminal to a space-time priority queue corresponding to the space-time priority, wherein a space-time priority queue with a larger space-time priority has a larger time slice length for sending data; The duration for the wireless terminal to send data is allocated based on the time slice length corresponding to the space-time priority queue.
4. An adaptive bandwidth allocation device based on a traffic service model, characterized in that include: A real-time detection module is used to detect all wireless terminals connected to the wireless access device in real time; An information collection module, used to collect received signal strength indication, real-time traffic and network mode of each of the wireless terminals; A service identification module, used to determine the service type of the wireless terminal according to the size of the real-time traffic of the wireless terminal; An adaptive bandwidth adjustment module, configured to adjust the space-time priority of the wireless terminal for sending data in real time according to the received signal strength indication, service type and network mode of the wireless terminal, and control the sending bandwidth of the wireless terminal according to the space-time priority; The service identification module is used to determine that the service type of the wireless terminal is a service type corresponding to the preset value interval when the real-time traffic size of the wireless terminal falls into the preset value interval; wherein the preset value interval includes value intervals corresponding to the game service, video service, voice service and speed measurement service respectively, wherein the center values of the value intervals corresponding to the game service, voice service, video service and speed measurement service increase in sequence; The adaptive bandwidth adjustment module is used to adjust the space-time priority of the data sent by the wireless terminal to priority level 0 when the received signal strength indication of the wireless terminal is less than -82dBm; if the received signal strength indication of the wireless terminal is greater than -82dBm and less than -65dBm, if the service type of the wireless terminal is a game service or a voice service, adjust the space-time priority of the data sent by the wireless terminal to priority level 2; if the service type of the wireless terminal is a video service, adjust the space-time priority of the data sent by the wireless terminal to priority level 1; if the service type of the wireless terminal is a speed measurement service, adjust the space-time priority of the data sent by the wireless terminal to priority level 1. The space-time priority of sending data is priority level 3. If the service type of the wireless terminal is not identified, the space-time priority of sending data by the wireless terminal is adjusted to priority level 1. When the received signal strength indication of the wireless terminal is greater than -65dBm, if the service type of the wireless terminal is a speed measurement service, the space-time priority of sending data by the wireless terminal is adjusted to priority level 3. If the service type of the wireless terminal is not a speed measurement service, the space-time priority of sending data by the wireless terminal is adjusted to priority level 1. Among them, the space-time priority of sending data of priority level 0, priority level 1, priority level 2 and priority level 3 increases in sequence.
5. The device according to claim 4, characterized in that The adaptive bandwidth adjustment module is used to adjust the space-time priority of the data sent by the wireless terminal to priority level 0 when the wireless terminal only supports the 802.11b network mode.
6. The device according to claim 4, characterized in that The device further comprises: a space-time priority queue module, the space-time priority queue module comprising a plurality of space-time priority queues, each space-time priority queue corresponding to a space-time priority, and a space-time priority queue with a larger space-time priority corresponds to a larger time slice length for sending data; The adaptive bandwidth adjustment module is used to determine the space-time priority of the wireless terminal to send data according to the received signal strength indication, service type and network mode of the wireless terminal; and add the wireless terminal to the space-time priority queue corresponding to the space-time priority; The space-time priority queue module is used to allocate the duration for the wireless terminal to send data based on the time slice length corresponding to the space-time priority queue.
7. An electronic device comprising: A processor and a memory storing a program, wherein the program comprises instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 3.
8. A non-transitory machine-readable medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Multi-service heterogeneous wireless network resource allocation method based on priority
CN105848171A
Bandwidth resource allocation method, electronic equipment and storage medium
CN115835387A
Bandwidth control method and device, equipment and storage medium
CN116346743A
Bandwidth control method and device and storage medium
CN116600350A
Apparatus and method for scheduling traffic data in abroadband wireless access communication system
KR1020050118599A
