Dynamic bandwidth allocation method, device, equipment and computer-readable storage medium

By dynamically allocating bandwidth according to interaction weights, data size and idle bandwidth in wireless networks, the problem of inflexible bandwidth allocation in the prior art is solved, and data transmission efficiency is improved.

CN112333822BActive Publication Date: 2025-06-06SHENZHEN TCL NEW-TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010992414.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-18
Publication Date
2025-06-06
Estimated Expiration
2040-09-18

AI Technical Summary

Technical Problem

In the prior art, when transmitting data based on a wireless network, the receiving end and the transmitting end are evenly allocated bandwidth, and cannot be flexibly adjusted, resulting in insufficient data transmission efficiency.

Method used

By receiving data transmission requests, the interaction weight and the data size of the data to be transmitted are obtained, and the target bandwidth is allocated to the data to be transmitted according to the interaction weight, data size and the idle bandwidth of each antenna to achieve dynamic bandwidth allocation.

Benefits of technology

It enhances the flexibility of dynamic bandwidth allocation, comprehensively considers the interaction weight between the device and the user, the data size of the data to be transmitted, and the free bandwidth of the antenna, improving data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112333822B_ABST
    Figure CN112333822B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of data transmission, and discloses a dynamic bandwidth allocation method, device, equipment and computer-readable storage medium, the method comprising: a dynamic bandwidth allocation device receives a data transmission request to obtain an interaction weight and the data size of the data to be transmitted; based on the interaction weight, the data size and the idle bandwidth of the antenna, bandwidth is allocated to the data to be transmitted, so that the data to be transmitted is transmitted through the dynamically allocated bandwidth. The present invention comprehensively considers the interaction weight between the device and the user, the data size of the data to be transmitted, and the idle bandwidth of the antenna, and flexibly determines the target bandwidth based on the interaction weight, the data size and the idle bandwidth, thereby enhancing the flexibility of dynamic bandwidth allocation and improving data transmission efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a dynamic bandwidth allocation method, device, equipment and computer-readable storage medium. Background Art

[0002] With the development of networks and electronic devices, the amount of data transmitted by channels is increasing, and the frequency of data transmission is getting higher and higher. Currently, a lot of data is transmitted based on wireless networks. However, when transmitting data based on wireless networks, the receiving end and the transmitting end evenly allocate bandwidth, and the bandwidth cannot be flexibly adjusted, making the data transmission efficiency not high enough. Summary of the invention

[0003] The present invention provides a dynamic bandwidth allocation method, device, equipment and computer-readable storage medium, aiming to enhance the flexibility of dynamic bandwidth allocation and improve data transmission efficiency.

[0004] To achieve the above object, the present invention provides a dynamic bandwidth allocation method, comprising:

[0005] Receive a data transmission request, and obtain an interaction weight and a data size of the data to be transmitted from the data transmission request;

[0006] A target bandwidth is allocated to the data to be transmitted according to the interaction weight, the data size, and the idle bandwidth of each antenna, so that the data to be transmitted is transmitted through a channel corresponding to the target bandwidth.

[0007] In addition, to achieve the above object, the present invention provides a dynamic bandwidth allocation device, comprising:

[0008] A receiving module, used for receiving a data transmission request, and obtaining an interaction weight and a data size of the data to be transmitted from the data transmission request;

[0009] The allocation module is used to allocate a target bandwidth for the data to be transmitted according to the interaction weight, the data size and the idle bandwidth of each antenna, so that the data to be transmitted is transmitted through a channel corresponding to the target bandwidth.

[0010] In addition, to achieve the above-mentioned purpose, the present invention provides a dynamic bandwidth allocation device, the dynamic bandwidth allocation device includes a processor, a memory, and a dynamic bandwidth allocation program stored in the memory and executable on the processor, and the dynamic bandwidth allocation program implements the steps of the above-mentioned dynamic bandwidth allocation method when executed by the processor.

[0011] In addition, to achieve the above object, the present invention provides a computer-readable storage medium, on which a dynamic bandwidth allocation program is stored. When the dynamic bandwidth allocation program is executed by a processor, the steps of the above dynamic bandwidth allocation method are implemented.

[0012] Compared with the prior art, the present invention provides a dynamic bandwidth allocation method, device, equipment and computer-readable storage medium. The dynamic bandwidth allocation device receives a data transmission request to obtain an interaction weight and the data size of the data to be transmitted; allocates bandwidth for the data to be transmitted according to the interaction weight, data size and the idle bandwidth of the antenna, so as to transmit the data to be transmitted through the channel corresponding to the dynamically allocated bandwidth. The present invention comprehensively considers the interaction weight between the device and the user, the data size of the data to be transmitted, and the idle bandwidth of the antenna, and flexibly determines the target bandwidth based on the interaction weight, data size and idle bandwidth, thereby enhancing the flexibility of dynamic bandwidth allocation and improving data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a schematic diagram of the hardware structure of the dynamic bandwidth allocation device involved in each embodiment of the present invention;

[0014] Figure 2 is a schematic diagram of a flow chart of a first embodiment of a dynamic bandwidth allocation method of the present invention;

[0015] Figure 3 It is a functional module diagram of the first embodiment of the dynamic bandwidth allocation device of the present invention.

[0016] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0017] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0018] The dynamic bandwidth allocation device mainly involved in the embodiments of the present invention refers to a network connection device that can achieve network connection. The dynamic bandwidth allocation device can be a smart furniture device, a mobile terminal, etc.

[0019] Reference Figure 1 , Figure 11 is a schematic diagram of the hardware structure of the dynamic bandwidth allocation device involved in each embodiment of the present invention. In the embodiment of the present invention, the dynamic bandwidth allocation device may include a processor 1001 (such as a central processing unit, CPU), a communication bus 1002, an input port 1003, an output port 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components; the input port 1003 is used for data input; the output port 1004 is used for data output, and the memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 can optionally be a storage device independent of the aforementioned processor 1001. Those skilled in the art can understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0020] Continue to refer to Figure 1 , Figure 1 The memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, an application module, and a dynamic bandwidth allocation program. Figure 1 In the embodiment, the network communication module is mainly used to connect to the server and perform data communication with the server; and the processor 1001 can call the dynamic bandwidth allocation program stored in the memory 1005 and execute the dynamic bandwidth allocation method provided in the embodiment of the present invention.

[0021] An embodiment of the present invention provides a dynamic bandwidth allocation method.

[0022] Reference Figure 2 , Figure 2 It is a flowchart of the first embodiment of the dynamic bandwidth allocation method of the present invention.

[0023] In this embodiment, the dynamic bandwidth allocation method is applied to a dynamic bandwidth allocation device, and the method includes:

[0024] Step S101, the dynamic bandwidth allocation device receives a data transmission request, and obtains an interaction weight and a data size of the data to be transmitted from the data transmission request;

[0025] Step S102: The dynamic bandwidth allocation device allocates a target bandwidth for the data to be transmitted according to the interaction weight, the data size, and the idle bandwidth of each antenna, so that the data to be transmitted is transmitted through a channel corresponding to the target bandwidth.

[0026] In this embodiment, bandwidth is dynamically allocated based on the interaction between the user and the dynamic bandwidth allocation device. The dynamic bandwidth allocation device involved in this embodiment includes smart home devices such as smart TVs, smart speakers, and smart car terminals, and can also be mobile terminals such as mobile phones, iPads, and laptops. The dynamic bandwidth allocation device can also be a desktop computer, a robot, etc. The dynamic bandwidth allocation device includes a user interaction module, which refers to a module in the dynamic bandwidth allocation device that can receive user operations and convert user operations into computer-readable instructions. For mobile phones, the user interaction module includes a screen, buttons, a camera, etc.; for smart TVs, the user interaction module includes a remote control, a camera, etc.; for laptops, the user interaction module includes a keyboard, a mouse, a camera, a touchpad, etc.

[0027] Specifically, before step S101, the following steps are also included:

[0028] The data to be transmitted is determined through the user interaction module, and the interaction weight is determined according to the received user interaction operation; the user interaction operation at least includes the interaction type and the number of interactions.

[0029] Generally, users interact with dynamic bandwidth allocation devices through touch, voice, buttons, etc., and determine the data to be transmitted through interaction. For example, videos, pictures, documents, etc. selected by touch are determined as data to be transmitted. In addition, the interaction method and number of interactions can often reflect the urgency of user needs, so the actual interaction weight can be determined based on the interaction method.

[0030] After receiving the data transmission request, the dynamic bandwidth allocation device parses the data transmission request to determine the interaction weight and the data to be transmitted, and determines the data size of the data to be transmitted.

[0031] In this embodiment, the dynamic bandwidth allocation device determines the interaction weight according to the user interaction type and number, wherein the user interaction operation includes one or more of touch operation, voice operation, and key operation. Since multiple interactions may be required in some scenarios, the basic weight of each interaction is pre-set, and the weight result is determined based on the number of interactions and the basic weight. For example, when a user switches the currently playing program to a specified program through a TV remote control, he may need to press the page key twice, or press the number key twice, and even if he selects a specified program through the search page, the number of key presses will be more. Therefore, in the key operation, the product of the basic key weight and the number of key presses can be determined as the interaction weight.

[0032] For another example, if the user issues a TV program selection instruction through voice, the first voice instruction issued for the first time is "I want to watch variety shows". At this time, the smart TV searches based on the first voice instruction and displays a display page including a large number of variety shows on the display result page. Due to the large number of programs, the user may still find it difficult to make a decision, so he continues to issue a second voice instruction "I want to watch Korean variety shows". At this time, the smart TV can filter out Korean variety shows from the current display result page and re-display them. Generally, if the user finds the target variety show he wants to watch on the current display result page, he is likely to select the target program directly through the remote control. At this time, a comprehensive operation of voice and button operation occurs. In this way, the product of the basic weight of the voice operation and the number of voice interactions, and the product of the basic weight of the button operation and the number of button interactions are calculated, and the sum of the two products is determined as the interaction weight.

[0033] Furthermore, after the dynamic bandwidth allocation device parses the data transmission request to determine the data to be transmitted, it obtains the data size of the data to be transmitted. In this embodiment, if the data transmission request is a data sending request, the data to be transmitted is stored in the memory of the dynamic bandwidth allocation device, and the data to be transmitted is parsed by the dynamic bandwidth allocation device to determine the size of the data to be transmitted. For example, if the dynamic bandwidth allocation device is a mobile phone, and the data to be transmitted is a video file, the video file is parsed by the mobile phone to obtain the size of the video file. If the data transmission request is a data acquisition request, the corresponding data to be transmitted is stored in the cloud storage of the corresponding server. At this time, it is necessary to parse the data to be transmitted through the corresponding server and obtain the data size. For example, if the data transmission request is a video download request, and the source of the video to be downloaded is a cloud platform, the cloud platform determines and feeds back the data size of the video to be downloaded.

[0034] After the dynamic bandwidth allocation device determines the interaction weight and the data size of the data to be transmitted, step S102 is executed: a target bandwidth is allocated to the data to be transmitted according to the interaction weight, the data size and the idle bandwidth of each antenna, so that the data to be transmitted is transmitted through the channel corresponding to the target bandwidth.

[0035] Generally, dynamic bandwidth allocation equipment is equipped with two or more pairs of antennas, and some equipment can have as many as 11 antennas. Before each bandwidth allocation, it is necessary to allocate bandwidth based on the bandwidth occupancy of each antenna. Specifically, the dynamic bandwidth allocation equipment checks the current occupancy of each antenna and determines the idle bandwidth of the antenna based on the current occupancy. If 40% of the bandwidth of the first antenna is occupied, the idle bandwidth is 60%; if 50% of the bandwidth of the second pair of antennas is occupied, the idle bandwidth is 50%.

[0036] In this embodiment, step S102 includes: the dynamic bandwidth allocation device determines the required bandwidth of the data to be transmitted according to the acquired interaction weight; determines one or more target antennas required to transmit the data to be transmitted based on the idle bandwidth and required bandwidth of each antenna; and allocates target bandwidth to the one or more target antennas according to the required bandwidth.

[0037] In this embodiment, the correspondence between the interaction weight range and the required bandwidth is preset, and the weight is divided into multiple interaction weight ranges. For example, the first interaction weight range is set to: less than the first weight; the second interaction weight range is set to: greater than or equal to the first weight and less than the second weight; the third interaction weight range is set to: greater than or equal to the second weight and less than the third weight; the fourth interaction weight range is set to: greater than or equal to the third weight, wherein the first weight is less than the second weight and less than the third weight, and the specific values ​​of the first weight, the second weight, and the third weight can be set as needed.

[0038] It can be understood that different weight interaction ranges correspond to different priorities, wherein the priority order of each weight interaction range is arranged from low to high: first interaction weight range, second interaction weight range, third interaction weight range, fourth interaction weight range.

[0039] Further, the required bandwidth is determined according to the interaction weight. The larger the interaction weight, the larger the required bandwidth; the smaller the interaction weight, the smaller the required bandwidth. It can be understood that the transmission speed of the data transmission request within the fourth interaction weight range is the fastest, the transmission speeds within the third interaction weight range and the second interaction weight range are respectively smaller than the fourth interaction weight range, and the transmission speed of the data transmission request within the first interaction weight range is the smallest. Therefore, the optimal required bandwidth of the data transmission request within the fourth interaction weight range is the highest, and the optimal required bandwidth of the data transmission request within the first interaction weight range is the lowest. If the current maximum bandwidth is 20Mbps, the required bandwidth of the data to be transmitted for the data transmission request with the interaction weight within the fourth interaction weight range can be set to 18Mbps, the required bandwidth of the data to be transmitted for the data transmission request with the interaction weight within the second interaction weight range can be set to 12Mbps, and the required bandwidth of the data to be transmitted for the data transmission request with the interaction weight within the first interaction weight range can be set to 8Mbps.

[0040] Furthermore, one or more target antennas required are determined based on the idle bandwidth of each antenna and the corresponding required bandwidth. It can be understood that if there is an antenna whose idle bandwidth is greater than the required bandwidth, the antenna whose idle bandwidth is greater than the required bandwidth can be directly determined as the target antenna; if there is no antenna whose idle bandwidth is greater than the required bandwidth, multiple target antennas need to be selected. The idle bandwidth of each antenna is accumulated in sequence to obtain the accumulated idle bandwidth until the accumulated idle bandwidth is greater than or equal to the required bandwidth, and multiple antennas corresponding to the accumulated idle bandwidth are determined as target antennas. Specifically, if the idle bandwidth of 2 antennas can meet the required bandwidth, the corresponding 2 antennas are determined as target antennas; if the idle bandwidth of 5 antennas can meet the required bandwidth, the corresponding 5 antennas are determined as target antennas.

[0041] Specifically, determine whether the target antenna has one or more antennas; if the number of antennas is one, determine the required bandwidth as the target bandwidth. If the number of antennas is one, it means that the idle bandwidth of the target antenna is greater than or equal to the required bandwidth, and the target antenna can meet the data transmission requirements. In this way, the required bandwidth can be directly determined as the target bandwidth.

[0042] If there are multiple antennas, the data to be transmitted is divided into multiple sub-data to be transmitted whose data size matches the idle bandwidth of the corresponding target antenna; the sub-required bandwidth of each sub-data to be transmitted is determined as the target bandwidth of the corresponding target antenna. Multiple sub-data to be transmitted correspond to the idle bandwidths of multiple antennas one by one, and the data size of each sub-transmission data is the same as the data size corresponding to the idle bandwidth of the corresponding antenna. The idle bandwidth of the target antenna corresponding to each sub-data to be transmitted is determined as the target bandwidth of the target antenna corresponding to each sub-data to be transmitted. Or the data size of each sub-transmission data is smaller than the idle bandwidth of the antenna corresponding to it. For example, if there are two target antennas, and the idle bandwidths are 18Mbps and 12Mbps respectively, the ratio of the idle bandwidths of the two target antennas is 3:2, and the data to be transmitted is divided into two sub-data to be transmitted, and the ratio of the data sizes of the two sub-data to be transmitted is 3:2. After the data to be transmitted is divided into multiple sub-data to be transmitted, the sub-required bandwidth of each sub-data to be transmitted is determined based on the priority of the data transmission request, and then the sub-required bandwidth is determined as the target bandwidth of the corresponding target antenna.

[0043] If a certain data to be transmitted is split into two sub-data to be transmitted y 1 and 2 , the corresponding target antennas are x 1 ,x 2 , the target bandwidth allocation result is: occupying target antenna x 1 40% of the target antenna x is occupied 2 60%, then the dynamic bandwidth allocation result can be expressed as:

[0044]

[0045] Wherein, d represents the target bandwidth occupancy ratio.

[0046] In addition, in other embodiments, if there are multiple antennas, the dynamic bandwidth allocation device can also split the data to be transmitted based on the idle bandwidth of each antenna. For example, first determine to allocate all the remaining bandwidth of target antenna 1 to the first sub-transmission size corresponding to the data to be transmitted, then determine to allocate all the remaining bandwidth of target antenna 2 to the second sub-transmission size corresponding to the data to be transmitted, etc., until the sum of the sub-transmission sizes is greater than or equal to the size of the data to be transmitted, and finally determine the required number of target antennas and the sub-transmission data corresponding to each target antenna. In this way, a smaller number of antennas can be fully occupied, allowing the remaining antennas to perform other data transmission tasks.

[0047] Furthermore, if the sum of the idle bandwidths of each antenna is less than the required bandwidth, the interaction weight is reduced according to a preset gradient to determine a new interaction weight range, and a new required bandwidth is determined based on the new interaction weight range; one or more target antennas are determined according to the idle bandwidth and the required bandwidth of each antenna, including: determining one or more target antennas according to the idle bandwidth and the new required bandwidth of each antenna. In the case where the data size of the data to be transmitted is relatively large and / or the idle bandwidth is relatively small, the sum of the idle bandwidths of each antenna is less than the required bandwidth matching the data size, then the interaction weight range where the data transmission request interaction weight is located is reduced, and a new required bandwidth is determined based on the new interaction weight range. In other embodiments, the bandwidth of the data being transmitted can also be limited according to the current bandwidth occupancy of each antenna to obtain more idle bandwidth before bandwidth allocation.

[0048] After the dynamic bandwidth allocation device determines the new required bandwidth, it determines one or more target antennas based on the idle bandwidth of each antenna and the new required bandwidth. Specifically, if there is an antenna whose idle bandwidth is greater than or equal to the new required bandwidth, the antenna is directly determined as the target antenna; if there is no antenna whose idle bandwidth is greater than or equal to the new required bandwidth, the idle bandwidth of each antenna is accumulated in turn to obtain the accumulated idle bandwidth until the accumulated idle bandwidth of multiple target antennas is greater than or equal to the new required bandwidth, and the new sub-required bandwidth corresponding to each target antenna is recorded.

[0049] After the target bandwidth is allocated, the data to be transmitted is transmitted based on the channel corresponding to the target antenna. Generally, STBC (Space Time Block Coding) coding is also required. Space Time Block Coding is to encode the signal in two dimensions, space domain and time domain.

[0050] Through the above scheme, this embodiment comprehensively considers the interaction weight between the device and the user, the data size of the data to be transmitted, and the idle bandwidth of the antenna, and flexibly determines the target bandwidth based on the interaction weight, data size, and idle bandwidth, thereby enhancing the flexibility of dynamic bandwidth allocation and improving data transmission efficiency.

[0051] In addition, this embodiment also provides a dynamic bandwidth allocation device. Figure 3 , Figure 3 It is a functional module diagram of the first embodiment of the dynamic bandwidth allocation device of the present invention.

[0052] In this embodiment, the dynamic bandwidth allocation device is a virtual device stored in Figure 1 The memory 1005 of the dynamic bandwidth allocation device shown is used to implement all functions of the dynamic bandwidth allocation program: for receiving a data transmission request, obtaining an interaction weight and a data size of the data to be transmitted from the data transmission request; for allocating a target bandwidth for the data to be transmitted according to the interaction weight, the data size and the idle bandwidth of each antenna, so that the data to be transmitted is transmitted through a channel corresponding to the target bandwidth.

[0053] Specifically, the dynamic bandwidth allocation device includes:

[0054] A receiving module 10 is used to receive a data transmission request, and obtain an interaction weight and a data size of the data to be transmitted from the data transmission request;

[0055] The allocation module 20 is used to allocate a target bandwidth for the data to be transmitted according to the interaction weight, the data size and the idle bandwidth of each antenna, so that the data to be transmitted is transmitted through a channel corresponding to the target bandwidth.

[0056] Furthermore, the allocation module is also used for:

[0057] Determine the required bandwidth of the data to be transmitted according to the interaction weight;

[0058] Determine one or more target antennas required to transmit the data to be transmitted according to the idle bandwidth and required bandwidth of each antenna;

[0059] A target bandwidth is allocated to one or more target antennas according to the required bandwidth.

[0060] Furthermore, the allocation module is also used for:

[0061] If the number of target antennas is one, the required bandwidth is determined as the target bandwidth; or,

[0062] If there are multiple target antennas, the data to be transmitted is divided into multiple sub-data to be transmitted, the multiple sub-data to be transmitted correspond to the idle bandwidths of the multiple target antennas one by one, and the data size of each sub-data to be transmitted is the same as the data size corresponding to the idle bandwidth of the corresponding target antenna; the idle bandwidth of the target antenna corresponding to each sub-data to be transmitted is determined as the target bandwidth of the target antenna corresponding to each sub-data to be transmitted;

[0063] If there are multiple antennas, the data to be transmitted is divided into multiple sub-data to be transmitted whose data sizes match the idle bandwidth of the corresponding target antennas;

[0064] The sub-required bandwidth of each sub-data to be transmitted is determined as the target bandwidth of the corresponding target antenna.

[0065] Furthermore, the receiving module is also used for:

[0066] If there is at least one antenna whose idle bandwidth is greater than the required bandwidth, any one of the one or more antennas whose idle bandwidth is greater than the required bandwidth is determined as a target antenna; or

[0067] If there is no antenna whose idle bandwidth is greater than the required bandwidth, the idle bandwidth of each antenna is accumulated in sequence to obtain the accumulated idle bandwidth until the accumulated idle bandwidth is greater than or equal to the required bandwidth, and multiple antennas corresponding to the accumulated idle bandwidth are determined as target antennas.

[0068] Furthermore, the allocation module is also used for:

[0069] If the sum of the idle bandwidths of the antennas is less than the required bandwidth, the new required bandwidth is determined based on the interaction weight range of the preset data transmission request interaction weight and the new interaction weight;

[0070] One or more target antennas are determined based on the idle bandwidth and required bandwidth of each antenna, including:

[0071] One or more target antennas are determined according to the idle bandwidths of the antennas and the new required bandwidths.

[0072] Furthermore, the allocation module is also used for:

[0073] Check the current occupancy of each antenna and determine the idle bandwidth of the antenna based on the current occupancy.

[0074] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a dynamic bandwidth allocation program is stored. When the dynamic bandwidth allocation program is executed by a processor, the steps of the above dynamic bandwidth allocation method are implemented, which will not be repeated here.

[0075] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0076] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0077] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an 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, which is stored in a readable storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods of various embodiments of the present invention.

[0078] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A dynamic bandwidth allocation method, It is characterized in that include: receiving a data transmission request, and obtaining an interaction weight and a data size of data to be transmitted from the data transmission request; Allocating a target bandwidth for the data to be transmitted according to the interaction weight, the data size, and the idle bandwidth of each antenna, so that the data to be transmitted is transmitted through a channel corresponding to the target bandwidth, specifically including: Determining the required bandwidth of the data to be transmitted according to the interaction weight; Determine one or more target antennas required to transmit the data to be transmitted according to the idle bandwidth of each antenna and the required bandwidth; allocating a target bandwidth to the one or more target antennas according to the required bandwidth; The interaction weight is determined by the interaction type and the number of interactions, wherein the interaction type includes one or more of touch operation, voice operation, and key operation.

2. The method according to claim 1, It is characterized in that The allocating a target bandwidth to the one or more target antennas according to the required bandwidth includes: If the number of the target antenna is one, the required bandwidth is determined as the target bandwidth; or, If there are multiple target antennas, the data to be transmitted is divided into multiple sub-data to be transmitted, and the multiple sub-data to be transmitted correspond one-to-one to the idle bandwidths of the multiple target antennas. The data size of each sub-transmission data is the same as the data size corresponding to the idle bandwidth of the corresponding target antenna; the idle bandwidth of the target antenna corresponding to each sub-data to be transmitted is determined as the target bandwidth of the target antenna corresponding to each sub-data to be transmitted.

3. The method according to claim 1, It is characterized in that The step of determining one or more target antennas required for transmitting the data to be transmitted according to the idle bandwidth of each antenna and the required bandwidth includes: If there is at least one antenna whose idle bandwidth is greater than the required bandwidth, any one of the one or more antennas whose idle bandwidth is greater than the required bandwidth is determined as a target antenna; or If there is no antenna whose idle bandwidth is greater than the required bandwidth, the idle bandwidth of each antenna is accumulated in sequence to obtain the accumulated idle bandwidth until the accumulated idle bandwidth is greater than or equal to the required bandwidth, and multiple antennas corresponding to the accumulated idle bandwidth are determined as target antennas.

4. The method according to any one of claims 1 to 2, It is characterized in that After determining the required bandwidth of the data transmission request according to the interaction weight, the method further includes: If the sum of the idle bandwidths of the antennas is less than the required bandwidth, a new required bandwidth is determined according to the interaction weight of the data transmission request; The determining one or more target antennas according to the idle bandwidth of each antenna and the required bandwidth includes: One or more target antennas are determined according to the idle bandwidths of the antennas and the new required bandwidth.

5. The method according to claim 1, It is characterized in that Before allocating a target bandwidth for the data to be transmitted based on the interaction weight, the data size, and the idle bandwidth of the antenna, the method further includes: Check the current occupancy status of each antenna, and determine the idle bandwidth of the antenna according to the current occupancy status.

6. A dynamic bandwidth allocation device, It is characterized in that include: A receiving module, used to receive a data transmission request, and obtain an interaction weight and a data size of data to be transmitted from the data transmission request; An allocation module is used to allocate a target bandwidth for the data to be transmitted according to the interaction weight, the data size and the idle bandwidth of each antenna, so that the data to be transmitted in the corresponding channel is transmitted through the target bandwidth, specifically for: Determining the required bandwidth of the data to be transmitted according to the interaction weight; Determine one or more target antennas required to transmit the data to be transmitted according to the idle bandwidth of each antenna and the required bandwidth; allocating a target bandwidth to the one or more target antennas according to the required bandwidth; The interaction weight is determined by the interaction type and the number of interactions, wherein the interaction type includes one or more of touch operation, voice operation, and key operation.

7. A dynamic bandwidth allocation device, It is characterized in that The dynamic bandwidth allocation device comprises a processor, a memory, and a dynamic bandwidth allocation program stored in the memory and executable on the processor. When the dynamic bandwidth allocation program is executed by the processor, the steps of the dynamic bandwidth allocation method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a dynamic bandwidth allocation program, and when the dynamic bandwidth allocation program is executed by a processor, the steps of the dynamic bandwidth allocation method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Data transmission method and mobile terminal

    CN102932935A

  • Data transmission method and device, electronic equipment and readable storage medium

    CN110769465A