CN112911709B - Uplink resource allocation method, device, terminal equipment and readable storage medium - Google Patents

Uplink resource allocation method, device, terminal equipment and readable storage medium Download PDF

Info

Publication number
CN112911709B
CN112911709B CN201911222236.9A CN201911222236A CN112911709B CN 112911709 B CN112911709 B CN 112911709B CN 201911222236 A CN201911222236 A CN 201911222236A CN 112911709 B CN112911709 B CN 112911709B
Authority
CN
China
Prior art keywords
application program
target application
uplink
uplink resource
weight value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911222236.9A
Other languages
Chinese (zh)
Other versions
CN112911709A (en
Inventor
路万里
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201911222236.9A priority Critical patent/CN112911709B/en
Publication of CN112911709A publication Critical patent/CN112911709A/en
Application granted granted Critical
Publication of CN112911709B publication Critical patent/CN112911709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/23Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/543Allocation or scheduling criteria for wireless resources based on quality criteria based on requested quality, e.g. QoS
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides an uplink resource allocation method, an uplink resource allocation device, a terminal device and a readable storage medium, which are applied to the technical field of communication. The terminal device is provided with a plurality of application programs. The terminal equipment sends a data transmission request to the base station according to the uplink resource demand of each target application program which needs to utilize the authorization resource for data transmission at present, and receives uplink authorization information returned by the base station. The terminal equipment calculates the weight proportion of each target application program according to the time delay requirement of each target application program; and then distributing the authorization resources corresponding to the uplink authorization information to each target application program according to the weight proportion and the uplink authorization information. Therefore, the authorized resources can be reasonably distributed according to the time delay requirements of different target application programs, and therefore the uplink data to be scheduled of the target application programs with low time delay can be preferentially scheduled in a large amount.

Description

Uplink resource allocation method, device, terminal equipment and readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an uplink resource allocation method, an apparatus, a terminal device, and a readable storage medium.
Background
With the development of intelligent terminal hardware becoming faster and faster, more and more terminal devices support multitasking. The terminal device is installed with many application programs, and after obtaining the authorized resource provided by the base station, the terminal device generally randomly allocates the authorized resource to the application program that needs to send data. The unreasonable resource allocation mode can easily cause that the application program which urgently needs a large amount of authorized resources can only obtain a small amount of resources and can only wait for allocating the resources next time.
Disclosure of Invention
In view of the above, an object of the present application is to provide an uplink resource allocation method, an apparatus, a terminal device and a readable storage medium.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, an embodiment of the present application provides an uplink resource allocation method, which is applied to a terminal device in communication connection with a base station, where the terminal device has multiple application programs installed thereon, and the method includes:
sending a data transmission request to the base station according to the uplink resource demand of each target application program, and receiving uplink authorization information returned by the base station, wherein the target application program is an application program which needs to utilize authorization resources to perform data transmission currently on the terminal equipment;
calculating to obtain the weight proportion of each target application program according to the time delay requirement of each target application program;
and allocating the authorization resources corresponding to the uplink authorization information to each target application program according to the weight proportion and the uplink authorization information.
In an optional implementation manner, the calculating, according to the latency requirement of each target application, a weight ratio of each target application includes:
obtaining a weight value of each target application program determined by respective time delay requirements;
and calculating to obtain a total weight value according to the weight value of each target application program, and calculating to obtain the weight proportion of each target application program according to the weight value of each target application program and the total weight value.
In an alternative embodiment, the method further comprises:
receiving weight setting operation input according to the time delay requirement of each application program so as to determine the weight value of each application program; or the like, or, alternatively,
and determining the weight value of each application program according to the type of each application program, the corresponding relation between the type and the time delay requirement and the corresponding relation between the time delay requirement and the weight value.
In an alternative embodiment, the method further comprises:
storing uplink data to be scheduled of each target application program in a memory pool corresponding to the target application program;
the sending a data transmission request to the base station according to the uplink resource demand of each target application program and receiving uplink authorization information returned by the base station includes:
acquiring the data volume of uplink data to be scheduled in each memory pool, and determining the uplink resource demand of each target application program according to the data volume;
calculating to obtain the total uplink resource demand according to the uplink resource demand of each target application program;
and sending a data transmission request comprising the total uplink resource demand to the base station.
In a second aspect, an embodiment of the present application provides an uplink resource allocation apparatus, which is applied to a terminal device in communication connection with a base station, where the terminal device has multiple application programs installed thereon, and the apparatus includes:
the receiving and sending module is used for sending a data transmission request to the base station according to the uplink resource demand of each target application program and receiving uplink authorization information returned by the base station, wherein the target application program is an application program which needs to utilize authorization resources to perform data transmission currently on the terminal equipment;
the calculation module is used for calculating the weight proportion of each target application program according to the time delay requirement of each target application program;
and the distribution module is used for distributing the authorized resources corresponding to the uplink authorization information to each target application program according to the weight proportion and the uplink authorization information.
In an optional embodiment, the calculation module is specifically configured to:
obtaining a weight value of each target application program determined by respective time delay requirements;
and calculating to obtain a total weight value according to the weight value of each target application program, and calculating to obtain the weight proportion of each target application program according to the weight value of each target application program and the total weight value.
In an alternative embodiment, the apparatus further comprises a configuration module,
the configuration module is used for receiving weight setting operation input according to the time delay requirement of each application program so as to determine the weight value of each application program; or the like, or, alternatively,
the configuration module is used for determining the weight value of each application program according to the type of each application program, the corresponding relation between the type and the time delay requirement and the corresponding relation between the time delay requirement and the weight value.
In an alternative embodiment, the apparatus further comprises a storage module,
the storage module is used for storing the uplink data to be scheduled of each target application program in a memory pool corresponding to the target application program;
the transceiver module is specifically configured to:
acquiring the data volume of uplink data to be scheduled in each memory pool, and determining the uplink resource demand of each target application program according to the data volume;
calculating to obtain the total uplink resource demand according to the uplink resource demand of each target application program;
and sending a data transmission request comprising the total uplink resource demand to the base station.
In a third aspect, an embodiment of the present application provides a terminal device, including a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the uplink resource allocation method described in any one of the foregoing embodiments.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the uplink resource allocation method according to any one of the foregoing embodiments.
According to the uplink resource allocation method, the uplink resource allocation device, the terminal device and the readable storage medium provided by the embodiment of the application, when a target application program which needs to use authorized resources for data transmission exists in application programs on the terminal device, a data transmission request is sent to the base station according to uplink resource demand of each target application program, and uplink authorization information returned by the base station is received. And calculating to obtain the weight proportion of each target application program according to the time delay requirement of each target application program. And finally, allocating the authorized resources corresponding to the uplink authorization information to each target application program according to the weight proportion and the uplink authorization information. Therefore, the authorized resources can be reasonably distributed according to different time delay requirements of each target application program, so that the data of the low-time delay target application program can be preferentially scheduled in a large amount, and a user can normally use services.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic block diagram of a terminal device according to an embodiment of the present application;
fig. 2 is a flowchart illustrating an uplink resource allocation method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of the substeps involved in step S120 of FIG. 2;
fig. 4 is a second flowchart of an uplink resource allocation method according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of the sub-steps included in step S110 in FIG. 4;
fig. 6 is a schematic block diagram of an uplink resource allocation apparatus according to an embodiment of the present application;
fig. 7 is a second block diagram of an uplink resource allocation apparatus according to an embodiment of the present invention.
An icon: 100-a terminal device; 110-a memory; 120-a processor; 130-a communication unit; 200-uplink resource allocation means; 201-configuration module; 202-a storage module; 210-a transceiver module; 220-a calculation module; 230-a distribution module.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Referring to fig. 1, fig. 1 is a block diagram of a terminal device 100 according to an embodiment of the present disclosure. The terminal device 100 may be, but is not limited to, a smart phone, a tablet computer, and the like. The terminal device 100 may include a memory 110, a processor 120, and a communication unit 130. The memory 110, the processor 120 and the communication unit 130 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 110 is used to store programs or data. The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Read Only Memory (EPROM), an electrically Erasable Read Only Memory (EEPROM), and the like.
The processor 120 is used to read/write data or programs stored in the memory 110 and perform corresponding functions. For example, the memory 110 stores therein the uplink resource allocation apparatus 200, and the uplink resource allocation apparatus 200 includes at least one software functional module which can be stored in the memory 110 in the form of software or firmware (firmware). The processor 120 executes various functional applications and data processing by running software programs and modules stored in the memory 110, such as the uplink resource allocation apparatus 200 in the embodiment of the present application, so as to implement the uplink resource allocation method in the embodiment of the present application.
The communication unit 130 is used for establishing a communication connection between the terminal device 100 and another communication device (e.g., a base station) through a network, and for transceiving data through the network.
It should be understood that the structure shown in fig. 1 is only a schematic structural diagram of the terminal device 100, and the terminal device 100 may also include more or less components than those shown in fig. 1, or have a different configuration than that shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 2, fig. 2 is a flowchart illustrating an uplink resource allocation method according to an embodiment of the present application. The method is applied to the terminal device 100, and a plurality of application programs are installed on the terminal device 100. The plurality of application programs comprise application programs with different requirements on time delay. The following describes a specific procedure of the uplink resource allocation method in detail. The method includes steps S110 to S130.
Step S110, sending a data transmission request to the base station according to the uplink resource demand of each target application, and receiving uplink authorization information returned by the base station.
And step S120, calculating the weight proportion of each target application program according to the time delay requirement of each target application program.
Step S130, allocating the authorized resources corresponding to the uplink authorization information to each target application according to the weight ratio and the uplink authorization information.
In this embodiment, the target application is an application that needs to transmit data by using an authorized resource currently on the terminal device 100. For example, if the terminal device 100 is installed with the application programs a, B, and C, where the application programs a and C currently have data that needs to be sent by using authorized resources, the application programs a and C are target application programs. When the application program on the terminal device 100 has data to be transmitted by using the authorized resource, the terminal device 100 transmits a data transmission request to the base station according to the uplink resource demand of each target application program. After receiving the data transmission request, the base station returns uplink authorization information to the terminal device 100.
The terminal device 100 may obtain a weight ratio of each target application, which is related to a delay requirement (i.e. a requirement for delay) of the target application. Then, the authorized resources provided by the base station can be allocated to each target application according to the weight proportion of each target application. Wherein, step S120 may be executed before step S110 or after step S110; step S110 and step S120 may be performed simultaneously.
Therefore, the authorized resources are distributed based on the time delay requirements of the target application programs, and the target application programs can obtain the authorized resources. And the target application program with higher real-time requirement can obtain more authorized resources, so that the user can normally use the application program with low time delay requirement, and the service used by the user is prevented from being influenced due to random allocation of authorized resources.
Alternatively, in the present embodiment, the weight ratio of each target application may be obtained in the following manner. Referring to fig. 3, fig. 3 is a flowchart illustrating sub-steps included in step S120 in fig. 2. Step S120 may include substep S121 and substep S122.
And a substep S121, obtaining weight values of each target application program determined by respective delay requirements.
And a substep S122 of calculating a total weight value according to the weight value of each target application program, and calculating a weight proportion of each target application program according to the weight value of each target application program and the total weight value.
After determining the target applications, the weight values of the respective target applications may be obtained first, where the weight values are determined by the latency requirements of the target applications. The lower the required delay, the higher its weight value. Then, the sum of the weight values of all the target applications can be calculated as a total weight value. And then calculating the proportion of the weight value of each target application program to the total weight value to obtain the weight proportion of each target application program. Thus, the weight proportion of each target application program can be determined based on the time delay requirement of each target application program. The larger the weight ratio, the more granted resources are allocated.
In this embodiment, in order to quickly and accurately obtain the uplink resource demand of each target application and schedule the uplink data to be scheduled of each target application, as shown in fig. 4, the method may further include step S101.
Step S101, storing uplink data to be scheduled of each target application program in a memory pool corresponding to the target application program.
In this embodiment, a memory pool may be created for each application on the terminal device 100, and the uplink data to be scheduled of each application is stored in the corresponding memory pool. For example, there are application programs a, B, and C and memory pools a, B, and C, which may correspond the application programs to the memory pools one to one, so that uplink data to be scheduled of each application program is separately stored in one memory pool. For example, the uplink data to be scheduled of the application program a is stored in the memory pool a, the uplink data to be scheduled of the application program B is stored in the memory pool B, and the uplink data to be scheduled of the application program C is stored in the memory pool C. Therefore, the uplink resource demand can be determined based on the data volume of the data in the memory pool, and the uplink data to be scheduled of each target application program can be conveniently acquired and sent.
Referring to fig. 5, fig. 5 is a flowchart illustrating sub-steps included in step S110 in fig. 4. Step S110 may include substeps S111 to substep S113.
And a substep S111, obtaining a data volume of the uplink data to be scheduled in each memory pool, and determining an uplink resource demand of each target application program according to the data volume.
And a substep S112, calculating to obtain the total uplink resource demand according to the uplink resource demand of each target application program.
And a substep S113, sending a data transmission request including the total uplink resource demand to the base station.
In this embodiment, the target application program and the uplink resource demand of the target application program can be determined by continuously scanning the data amount of the data in each memory pool. The sum of the uplink resource demands of all the target applications can then be calculated. Optionally, the sum of the uplink resource demand amounts may be directly used as the total uplink resource demand amount, or a product of the sum of the uplink resource demand amounts and a value greater than 1 may be used as the total uplink resource demand amount, and the specific manner may be set according to an actual demand. Then, a data transmission request including the total uplink resource demand is sent to the base station. Optionally, the terminal device 100 may send the data transmission request to the base station by reporting a Buffer Status Report (BSR) to the base station. The base station can return the uplink authorization information according to the total demand of the uplink resources and the authorization resources which can be provided.
In an implementation manner of this embodiment, a weight setting operation input according to a latency requirement of each application may be received to determine a weight value of each application. Therefore, the user can configure the weight value of each application program according to the real-time requirement of each application program, so that the weight value of each target application program can be obtained when resource allocation is needed subsequently. In addition, by the method, the data of the application program with low time delay can be scheduled preferentially.
In another implementation manner of this embodiment, the weight value of each application may be determined according to the type of each application, the corresponding relationship between the type and the delay requirement, and the corresponding relationship between the delay requirement and the weight value. Therefore, when the terminal device 100 automatically configures the weight value of the application program, the time delay requirement of the application program can be determined according to the type of the application program, and then the weight value of the application program is configured according to the corresponding relationship between the time delay requirement and the weight value and the determined time delay requirement. Among them, the weight value of an application program having a high requirement for real-time performance is large. For example, if the type of an application is a game and the delay required by the application of the game type is relatively low, the weight value of the application can be configured to be relatively large.
It is understood that the above description is only an example, and the weight values of the respective applications may be configured in other manners.
The resource allocation method described above is exemplified below.
Suppose that: by scanning the memory pools corresponding to the application programs, the target application programs are determined to be APP1, APP2, APP3 and APP4, and the data amount of the uplink data to be scheduled of the APP1 is 100KByte, the data amount of the uplink data to be scheduled of the APP2 is 130KByte, the data amount of the uplink data to be scheduled of the APP3 is 80KByte, and the data amount of the uplink data to be scheduled of the APP4 is 150KByte. Based on the data, the total demand of the uplink resources can be calculated to be 460Kbyte. And then, sending a data transmission request to the base station, wherein the data transmission request comprises the total uplink resource demand 460KByte.
Based on respective delay requirements of APP1, APP2, APP3, and APP4, it is determined that the weight value of APP1 is 5, the weight value of APP2 is 2, the weight value of APP3 is 6, and the weight value of APP4 is 7. Then, the weight proportion of APP1 to APP4 can be calculated and sequentially: 5/20, 1/10, 3/10 and 7/20.
Assuming that the uplink grant sent by the base station is 400Kbyte, according to the weight proportion of each APP, the grant resources obtained by APP1 to APP4 can be calculated as follows: 100Kbyte, 40Kbyte, 120Kbyte, 140Kbyte. Therefore, each target application program can obtain authorized resources, and the target application program with low time delay can obtain more authorized resources, so that the user can be ensured to normally use the service.
In order to execute the corresponding steps in the foregoing embodiment and various possible manners, an implementation manner of the uplink resource allocation apparatus 200 is given below, and optionally, the uplink resource allocation apparatus 200 may be functional software in the terminal device 100 shown in fig. 3. Further, referring to fig. 6, fig. 6 is a block diagram illustrating an uplink resource allocation apparatus 200 according to an embodiment of the present application. It should be noted that the basic principle and the resulting technical effect of the uplink resource allocation apparatus 200 provided in this embodiment are the same as those of the foregoing embodiment, and for brevity, reference may be made to the corresponding contents in the foregoing embodiment for the parts not mentioned in this embodiment. The uplink resource allocation device 200 includes: a transceiver module 210, a calculation module 220 and an allocation module 230.
The transceiver module 210 is configured to send a data transmission request to the base station according to the uplink resource demand of each target application, and receive uplink authorization information returned by the base station, where the target application is an application that needs to transmit data by using an authorized resource currently on the terminal device 100. The calculating module 220 is configured to calculate a weight ratio of each target application according to a delay requirement of each target application. The allocating module 230 is configured to allocate, according to the weight proportion and the uplink grant information, grant resources corresponding to the uplink grant information to each target application program.
Optionally, in this embodiment, the calculating module 220 is specifically configured to: obtaining a weight value of each target application program determined by respective time delay requirements; and calculating to obtain a total weight value according to the weight value of each target application program, and calculating to obtain the weight proportion of each target application program according to the weight value of each target application program and the total weight value.
Referring to fig. 7, fig. 7 is a second block diagram of an uplink resource allocation apparatus 200 according to an embodiment of the present application. The uplink resource allocation apparatus 200 may further include a configuration module 201.
The configuration module 201 is configured to receive a weight setting operation input according to a delay requirement of each application program, so as to determine a weight value of each application program; or, the method is used for determining the weight value of each application program according to the type of each application program, the corresponding relation between the type and the delay requirement, and the corresponding relation between the delay requirement and the weight value.
Referring to fig. 7 again, the uplink resource allocation apparatus 200 may further include a storage module 202.
The storage module 202 is configured to store the uplink data to be scheduled of each target application program in a memory pool corresponding to the target application program.
Optionally, in this embodiment, the transceiver module 210 is specifically configured to: acquiring the data volume of uplink data to be scheduled in each memory pool, and determining the uplink resource demand of each target application program according to the data volume; calculating to obtain the total uplink resource demand according to the uplink resource demand of each target application program; and sending a data transmission request comprising the total uplink resource demand to the base station.
Alternatively, the modules may be stored in the memory 110 shown in fig. 1 in the form of software or Firmware (Firmware) or be fixed in an Operating System (OS) of the terminal device 100, and may be executed by the processor 120 in fig. 1. Meanwhile, data, codes of programs, and the like required to execute the above-described modules may be stored in the memory 110.
An embodiment of the present application further provides a readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the uplink resource allocation method.
In summary, the present application provides an uplink resource allocation method, an apparatus, a terminal device, and a readable storage medium. When target application programs needing to utilize the authorized resources for data transmission exist in the application programs on the terminal equipment, a data transmission request is sent to the base station according to the uplink resource demand of each target application program, and uplink authorization information returned by the base station is received. And calculating to obtain the weight proportion of each target application program according to the time delay requirement of each target application program. And finally, distributing the authorization resources corresponding to the uplink authorization information to each target application program according to the weight proportion and the uplink authorization information. Therefore, the authorized resources can be reasonably distributed according to different time delay requirements of each target application program, so that the data of the low-time delay target application program can be preferentially scheduled in a large amount, and a user can normally use services.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative and, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (8)

1. An uplink resource allocation method is applied to a terminal device in communication connection with a base station, wherein a plurality of applications are installed on the terminal device, and the method comprises the following steps:
sending a data transmission request to the base station according to the uplink resource demand of each target application program, and receiving uplink authorization information returned by the base station, wherein the target application program is an application program which needs to utilize authorization resources to perform data transmission currently on the terminal equipment;
calculating to obtain the weight proportion of each target application program according to the time delay requirement of each target application program;
allocating the authorization resources corresponding to the uplink authorization information to each target application program according to the weight proportion and the uplink authorization information;
wherein, the calculating the weight proportion of each target application program according to the time delay requirement of each target application program comprises:
obtaining a weight value of each target application program determined by respective time delay requirements;
and calculating to obtain a total weight value according to the weight value of each target application program, and calculating to obtain the weight proportion of each target application program according to the weight value of each target application program and the total weight value.
2. The method of claim 1, further comprising:
receiving weight setting operation input according to the time delay requirement of each application program so as to determine the weight value of each application program; or the like, or, alternatively,
and determining the weight value of each application program according to the type of each application program, the corresponding relation between the type and the time delay requirement and the corresponding relation between the time delay requirement and the weight value.
3. The method of claim 1, further comprising:
storing uplink data to be scheduled of each target application program in a memory pool corresponding to the target application program;
the sending a data transmission request to the base station according to the uplink resource demand of each target application program and receiving uplink authorization information returned by the base station includes:
acquiring the data volume of uplink data to be scheduled in each memory pool, and determining the uplink resource demand of each target application program according to the data volume;
calculating to obtain the total uplink resource demand according to the uplink resource demand of each target application program;
and sending a data transmission request comprising the total uplink resource demand to the base station.
4. An uplink resource allocation apparatus, configured to be applied to a terminal device communicatively connected to a base station, the terminal device having a plurality of applications installed thereon, the apparatus comprising:
the receiving and sending module is used for sending a data transmission request to the base station according to the uplink resource demand of each target application program and receiving uplink authorization information returned by the base station, wherein the target application program is an application program which needs to utilize authorization resources to carry out data transmission currently on the terminal equipment;
the calculation module is used for calculating the weight proportion of each target application program according to the time delay requirement of each target application program;
the distribution module is used for distributing the authorization resources corresponding to the uplink authorization information to each target application program according to the weight proportion and the uplink authorization information;
wherein the calculation module is specifically configured to:
obtaining a weight value of each target application program determined by respective time delay requirements;
and calculating to obtain a total weight value according to the weight value of each target application program, and calculating to obtain the weight proportion of each target application program according to the weight value of each target application program and the total weight value.
5. The apparatus of claim 4, further comprising a configuration module,
the configuration module is used for receiving weight setting operation input according to the time delay requirement of each application program so as to determine the weight value of each application program; or the like, or, alternatively,
the configuration module is used for determining the weight value of each application program according to the type of each application program, the corresponding relation between the type and the delay requirement, and the corresponding relation between the delay requirement and the weight value.
6. The apparatus of claim 4, further comprising a storage module,
the storage module is used for storing the uplink data to be scheduled of each target application program in a memory pool corresponding to the target application program;
the transceiver module is specifically configured to:
acquiring the data volume of uplink data to be scheduled in each memory pool, and determining the uplink resource demand of each target application program according to the data volume;
calculating to obtain the total uplink resource demand according to the uplink resource demand of each target application program;
and sending a data transmission request comprising the total uplink resource demand to the base station.
7. A terminal device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor to implement the uplink resource allocation method of any one of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the uplink resource allocation method according to any one of claims 1 to 3.
CN201911222236.9A 2019-12-03 2019-12-03 Uplink resource allocation method, device, terminal equipment and readable storage medium Active CN112911709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911222236.9A CN112911709B (en) 2019-12-03 2019-12-03 Uplink resource allocation method, device, terminal equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911222236.9A CN112911709B (en) 2019-12-03 2019-12-03 Uplink resource allocation method, device, terminal equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112911709A CN112911709A (en) 2021-06-04
CN112911709B true CN112911709B (en) 2023-04-07

Family

ID=76104089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911222236.9A Active CN112911709B (en) 2019-12-03 2019-12-03 Uplink resource allocation method, device, terminal equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112911709B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225830B (en) * 2021-06-07 2023-05-26 维沃移动通信有限公司 Data network uplink scheduling method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102791032A (en) * 2012-08-14 2012-11-21 华为终端有限公司 Network bandwidth distribution method and terminal
CN104507169A (en) * 2014-12-15 2015-04-08 东南大学 Three-dimensional resource dynamic allocation method and device for reducing system uplink transmission time delay
CN110140398A (en) * 2016-12-30 2019-08-16 Oppo广东移动通信有限公司 The method and apparatus of data transmission
CN110475020A (en) * 2019-08-05 2019-11-19 Oppo广东移动通信有限公司 Apparatus control method and Related product

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024825B (en) * 2011-09-26 2015-07-01 中国移动通信集团公司 Method and device of distributing network source among multiple applications of terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102791032A (en) * 2012-08-14 2012-11-21 华为终端有限公司 Network bandwidth distribution method and terminal
CN104507169A (en) * 2014-12-15 2015-04-08 东南大学 Three-dimensional resource dynamic allocation method and device for reducing system uplink transmission time delay
CN110140398A (en) * 2016-12-30 2019-08-16 Oppo广东移动通信有限公司 The method and apparatus of data transmission
CN110475020A (en) * 2019-08-05 2019-11-19 Oppo广东移动通信有限公司 Apparatus control method and Related product

Also Published As

Publication number Publication date
CN112911709A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
CN108196788B (en) QoS index monitoring method, device and storage medium
KR101923706B1 (en) Stochastic throttling
CN110647394A (en) Resource allocation method, device and equipment
CN106161485B (en) A kind of resource regulating method of infrastructure service cluster, device and system
CN112311628B (en) Network speed measuring method, system, network equipment and storage medium
CN104301257A (en) Resource distribution method, device and equipment
CN112911709B (en) Uplink resource allocation method, device, terminal equipment and readable storage medium
CN104869229A (en) Task allocation method
CN112887228A (en) Cloud resource management method and device, electronic equipment and computer readable storage medium
CN114155026A (en) Resource allocation method, device, server and storage medium
CN107741873B (en) Service processing method and device
CN110377427B (en) Task monitoring method, device and system
CN102200928A (en) Computation resource control apparatus, computation resource control method, and non-transitory computer-readable recording medium
CN110209466B (en) Resource allocation method, resource allocation device and storage medium
CN115794396A (en) Resource allocation method, system and electronic equipment
CN112770138B (en) Decoding resource management method, device, decoding equipment and readable storage medium
CN114710784A (en) Beidou RDSS wireless resource dynamic allocation method, system and storage medium
CN106375372B (en) big data resource allocation method and device
CN111726266B (en) Hot spot data barreling method and system and computer equipment
CN113869718A (en) Virtual resource processing method, device, system, electronic equipment and storage medium
CN114489978A (en) Resource scheduling method, device, equipment and storage medium
CN114650501A (en) Beidou RDSS wireless resource dynamic allocation method, system, service terminal and storage medium
US10853138B2 (en) Scheduling resource usage
CN106101013B (en) A kind of cloud main-machine communication queue ensuring method and system based on QoS

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant