CN112929923B - Uplink resource acquisition method and device, mobile terminal and readable storage medium - Google Patents

Uplink resource acquisition method and device, mobile terminal and readable storage medium Download PDF

Info

Publication number
CN112929923B
CN112929923B CN201911231602.7A CN201911231602A CN112929923B CN 112929923 B CN112929923 B CN 112929923B CN 201911231602 A CN201911231602 A CN 201911231602A CN 112929923 B CN112929923 B CN 112929923B
Authority
CN
China
Prior art keywords
application program
target application
uplink resource
data
mobile terminal
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
CN201911231602.7A
Other languages
Chinese (zh)
Other versions
CN112929923A (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 CN201911231602.7A priority Critical patent/CN112929923B/en
Publication of CN112929923A publication Critical patent/CN112929923A/en
Application granted granted Critical
Publication of CN112929923B publication Critical patent/CN112929923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0278Traffic management, e.g. flow control or congestion control using buffer status reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/21Control channels or signalling for resource management in the uplink direction of a wireless link, i.e. towards the network

Abstract

The application provides an uplink resource obtaining method, an uplink resource obtaining device, a mobile terminal and a readable storage medium, and relates to the field of internet communication. The method comprises the steps of obtaining the current cache data volume of the data to be scheduled of a target application program with communication timeliness higher than that of other application programs running on a mobile terminal, determining the current uplink resource demand of the target application program according to the estimated new data volume of the target application program in the current process of waiting for uploading, generating a BSR message corresponding to the target application program according to the uplink resource demand and sending the BSR message to a base station, obtaining enough uplink resource authorization matched with the real data volume to be scheduled in data uploading from the base station, uploading the real data to be scheduled needing to be uploaded of the target application program to the base station based on the obtained uplink resource authorization, avoiding the phenomenon of data uploading after data delay, and improving the data communication timeliness and the running reliability of the target application program.

Description

Uplink resource acquisition method and device, mobile terminal and readable storage medium
Technical Field
The present application relates to the field of internet communication, and in particular, to an uplink resource acquisition method, an uplink resource acquisition device, a mobile terminal, and a readable storage medium.
Background
With the continuous development of internet technology and the successful development of 5G (5-Generation, fifth Generation mobile communication technology), an application program running on a mobile terminal (e.g., a smart phone) gradually develops towards a direction of high reliability and low delay, which further requires communication timeliness of the application program.
However, currently, after the mobile terminal sends a BSR (Buffer Status Report) message for acquiring an uplink resource grant corresponding to a current data volume to be scheduled to the base station through an uplink, the mobile terminal needs to wait for the base station to give a corresponding resource grant before performing uplink data transmission based on the obtained resource grant. In the time period from sending the BSR message to receiving the uplink resource grant to wait for uploading the data to be scheduled, for the high-reliability and low-delay application program, the data to be scheduled still accumulates continuously, so that the amount of the actual data to be scheduled during the uplink resource grant and the data uploading is not matched, the data to be scheduled of the high-reliability and low-delay application program cannot be completely uploaded in the current data transmission process, and the problem that the timeliness of data communication of the high-reliability and low-delay application program is poor is caused.
Disclosure of Invention
In view of this, an object of the present application is to provide an uplink resource obtaining method, an apparatus, a mobile terminal, and a readable storage medium, which can require sufficient resource authorization matching with a real amount of data to be scheduled during data uploading when requiring uplink resource authorization of a target application program to a base station, so as to improve timeliness of data communication of the target application program and further improve operational reliability of the target application program.
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 obtaining method, which is applied to a mobile terminal, and the method includes:
acquiring the current cache data volume of data to be scheduled of a target application program running on the mobile terminal and the estimated newly-increased data volume of the data to be scheduled in the current waiting uploading process, wherein the communication timeliness of the target application program is required to be higher than that of other application programs running on the mobile terminal;
calculating the uplink resource demand of the target application program according to the current cache data volume and the estimated newly increased data volume;
and generating a BSR message corresponding to the target application program according to the uplink resource demand, sending the BSR message to a base station to acquire an uplink resource authorization corresponding to the uplink resource demand from the base station, and uploading data to be scheduled of the target application program to the base station based on the acquired uplink resource authorization.
In an alternative embodiment, the method further comprises:
acquiring historical newly-increased data volume of the data to be scheduled of the target application program in each historical uploading waiting process in a preset historical time period;
and calculating to obtain the estimated newly-added data volume corresponding to the target application program according to all the obtained historical newly-added data volumes in the preset historical time period.
In an alternative embodiment, the method further comprises:
acquiring historical newly-increased data volume of the data to be scheduled of the target application program in a plurality of historical uploading waiting processes, wherein the number of the historical newly-increased data volume is the same as the preset query number;
and calculating to obtain the estimated newly-added data volume corresponding to the target application program according to the plurality of acquired historical newly-added data volumes with the number equal to the preset query number.
In an alternative embodiment, the method further comprises:
determining a target application program from all application programs running on the mobile terminal;
wherein, the determining the target application program from all the application programs running on the mobile terminal comprises:
aiming at each application program running on the mobile terminal, acquiring the communication requirement time delay of the application program;
and comparing the communication requirement time delay of the application program with a preset time delay threshold, and judging that the application program is a target application program when the communication requirement time delay is smaller than the preset time delay threshold.
In a second aspect, an embodiment of the present application provides an uplink resource obtaining apparatus, which is applied to a mobile terminal, and the apparatus includes:
the data volume acquisition module is used for acquiring the current cache data volume of the data to be scheduled of a target application program running on the mobile terminal and the estimated newly-increased data volume of the data to be scheduled in the current waiting and uploading process, wherein the communication timeliness of the target application program is higher than that of other application programs running on the mobile terminal;
the demand calculation module is used for calculating the uplink resource demand of the target application program according to the current cache data volume and the estimated newly increased data volume;
and the resource authorization acquisition module is used for generating a BSR message corresponding to the target application program according to the uplink resource demand, sending the BSR message to a base station so as to acquire uplink resource authorization corresponding to the uplink resource demand from the base station, and uploading the data to be scheduled of the target application program to the base station based on the acquired uplink resource authorization.
In an optional embodiment, the apparatus further comprises a data volume estimation module;
the data volume acquisition module is further used for acquiring historical new data volumes of the data to be scheduled of the target application program in each historical uploading waiting process in a preset historical time period;
and the data quantity pre-estimation module is used for calculating to obtain the pre-estimated newly-increased data quantity corresponding to the target application program according to all the obtained historical newly-increased data quantities in the preset historical time period.
In an optional embodiment, the apparatus further comprises a data volume estimation module;
the data volume acquisition module is further used for acquiring historical new data volumes of the data to be scheduled of the target application program in a plurality of historical waiting uploading processes, the number of which is the same as the preset query number;
and the data volume estimation module is used for calculating to obtain the estimated newly-added data volume corresponding to the target application program according to a plurality of acquired historical newly-added data volumes with the number same as the preset query number.
In an alternative embodiment, the apparatus further comprises:
the target program determining module is used for determining a target application program from all application programs running on the mobile terminal;
wherein the target program determining module is specifically configured to:
aiming at each application program running on the mobile terminal, acquiring the communication demand time delay of the application program;
and comparing the communication demand time delay of the application program with a preset time delay threshold, and judging the application program to be a target application program when the communication demand time delay is smaller than the preset time delay threshold.
In a third aspect, an embodiment of the present application provides a mobile terminal, 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 acquisition 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 acquiring method described in any one of the foregoing embodiments.
Compared with the background art, the method has the following beneficial effects:
the method comprises the steps of determining the current uplink resource demand of a target application program by obtaining the current cache data volume of data to be scheduled of the target application program with communication timeliness higher than that of other application programs and the estimated new data volume in the current waiting uploading process, generating BSR (buffer status report) messages corresponding to the target application program according to the uplink resource demand and sending the BSR messages to a base station, so that enough uplink resource authorization matched with the real data volume to be scheduled in data uploading is obtained from the base station, the real data to be scheduled of the target application program needing uploading is uploaded to the base station based on the obtained uplink resource authorization, and the phenomenon of data delay uploading is avoided, so that the data communication timeliness and the operation reliability of the target application program are improved.
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 structure of a mobile terminal according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating an uplink resource acquisition method according to an embodiment of the present application;
fig. 3 is a second flowchart of a method for acquiring uplink resources according to an embodiment of the present application;
fig. 4 is a third schematic flowchart of a method for acquiring uplink resources according to an embodiment of the present application;
fig. 5 is a schematic diagram of functional modules of an uplink resource acquisition device according to an embodiment of the present application;
fig. 6 is a second functional block diagram of an uplink resource acquisition device according to the present invention;
fig. 7 is a third functional module schematic diagram of an uplink resource acquisition device according to an embodiment of the present application.
Icon: 10-a mobile terminal; 11-a memory; 12-a processor; 13-a communication unit; 100-an uplink resource acquisition device; 110-a data volume acquisition module; 120-demand calculation module; 130-resource authorization acquisition module; 140-a data volume estimation module; 150-object determination 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, as generally described and illustrated in the figures herein, could 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 should be noted that 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 a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments and features of the embodiments described below can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a block diagram illustrating a structure of a mobile terminal 10 according to an embodiment of the present disclosure. In this embodiment, the mobile terminal 10 may run with an application program, and may normally send a BSR packet for acquiring an uplink resource grant to a base station when data to be scheduled of the application program needs to be uploaded to the base station in communication connection with the mobile terminal 10, so that when the uplink resource grant given by the base station is obtained, the data to be scheduled of the application program is uploaded to the base station based on the uplink resource grant. The applications running on the mobile terminal 10 may include an application that does not have a high requirement on communication timeliness, an application that generally requires communication timeliness, and an application that particularly requires communication timeliness. The mobile terminal 10 may be, but is not limited to, a smart phone, a tablet computer, a smart watch, and the like.
When a target application program with communication timeliness higher than that of other application programs is operated on the mobile terminal 10, and the mobile terminal 10 needs to request uplink resource authorization of the target application program to a base station, the mobile terminal 10 not only requires resource authorization corresponding to the current cache data volume of data to be scheduled of the target application program, but also requires resource authorization corresponding to the estimated newly-increased data volume of the data to be scheduled of the target application program in the process of waiting for uploading, so as to ensure that the obtained uplink resource authorization is matched with the real data volume of the data to be scheduled of the target application program during uploading, avoid the phenomenon of data delay uploading, and improve the data communication timeliness and operation reliability of the target application program.
In this embodiment, the mobile terminal 10 includes an uplink resource acquiring apparatus 100, a memory 11, a processor 12 and a communication unit 13. The respective elements of the memory 11, the processor 12 and the communication unit 13 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, the memory 11, the processor 12 and the communication unit 13 may be electrically connected to each other through one or more communication buses or signal lines.
In this embodiment, the memory 11 may be used for storing a program, and the processor 12 may execute the program accordingly after receiving the execution instruction. The Memory 11 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.
In this embodiment, the processor 12 may be an integrated circuit chip having signal processing capabilities. The Processor 12 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that implements or executes the methods, steps and logic blocks disclosed in the embodiments of the present application.
In the present embodiment, the communication unit 13 is configured to establish a communication connection between the mobile terminal 10 and another electronic device through a network, and to transceive data through the network. For example, the mobile terminal 10 is communicatively connected to a base station via the communication unit 13.
In this embodiment, the uplink resource acquiring apparatus 100 includes at least one software functional module capable of being stored in the memory 11 in the form of software or firmware or being solidified in the operating system of the mobile terminal 10. The processor 12 may be configured to execute executable modules stored in the memory 11, such as software functional modules and computer programs included in the uplink resource acquiring device 100. The uplink resource acquiring device 100 requests, for a target application program whose communication timeliness needs to be higher than that of other application programs, a base station for sufficient uplink resource authorization matching with the real data amount of data to be scheduled of the target application program during uploading, and avoids a phenomenon of delayed uploading of data in the process of uploading the real data to be scheduled of the target application program that needs to be uploaded based on the obtained uplink resource authorization, so as to improve the data communication timeliness and operation reliability of the target application program.
It should be understood that the block diagram shown in fig. 1 is merely a structural component diagram of the mobile terminal 10, and that the mobile terminal 10 may include more or fewer components than those shown in fig. 1, or may 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.
In the present application, in order to ensure that the mobile terminal 10 has a function of acquiring a sufficient uplink resource grant matching with a real data amount of data to be scheduled of a target application program during uploading, the present application implements the above function by providing an uplink resource acquiring method applied to the mobile terminal 10. The following describes the uplink resource acquisition method provided by the present application.
Optionally, referring to fig. 2, fig. 2 is a schematic flowchart of an uplink resource acquiring method provided in the embodiment of the present application. In the embodiment of the present application, a specific flow and steps of the uplink resource obtaining method shown in fig. 2 are as follows.
Step S210, obtaining a current cache data amount of data to be scheduled of a target application running on the mobile terminal 10, and an estimated newly-added data amount of the data to be scheduled in a current waiting uploading process.
In this embodiment, when a target application program with a communication timeliness requirement higher than that of other application programs runs on the mobile terminal 10, the mobile terminal 10 determines the current buffer data amount of the data to be scheduled according to the buffer condition of the data to be scheduled that is uploaded to the base station by the requirement of the memory 11 for the target application program, and determines the estimated newly-increased data amount corresponding to the data to be scheduled in the current process from sending a BSR packet to receiving uplink resource authorization and waiting for uploading. In an implementation manner of this embodiment, the estimated data amount is calculated in advance and stored in the memory 11, and after determining the current buffer data amount of the data to be scheduled of the target application program, the mobile terminal 10 directly reads the estimated data amount corresponding to the target application program from the memory 11.
Step S220, calculating the uplink resource demand of the target application program according to the current cache data volume and the estimated newly added data volume.
In this embodiment of the present application, when the mobile terminal 10 determines the current cache data amount and the estimated newly-added data amount of a certain target application program corresponding to data to be scheduled, the mobile terminal 10 obtains the uplink resource demand amount currently corresponding to the target application program by performing addition operation on the current cache data amount and the estimated newly-added data amount of the target application program.
Step S230, generating a BSR packet corresponding to the target application according to the uplink resource demand, and sending the BSR packet to a base station, so as to obtain an uplink resource grant corresponding to the uplink resource demand from the base station, and uploading data to be scheduled of the target application to the base station based on the obtained uplink resource grant.
In this embodiment, after determining the uplink resource demand amount currently corresponding to a certain target application program, the mobile terminal 10 generates a BSR packet including the uplink resource demand amount for the target application program, and sends the BSR packet to the base station to obtain an uplink resource grant with a grant amount equal to the uplink resource demand amount, so as to ensure that the uplink resource grant obtained by the mobile terminal 10 is sufficient to support a real data amount to be scheduled when the target application program uploads data formally, avoid a phenomenon that real data to be scheduled of the target application program is uploaded after being delayed, and improve data communication timeliness and operation reliability of the target application program.
Optionally, referring to fig. 3, fig. 3 is a second flowchart illustrating an uplink resource acquiring method according to an embodiment of the present application. In this embodiment of the present application, in order to determine the estimated new data amount of the data to be scheduled of the target application program in the process of waiting for uploading, compared with the uplink resource acquiring method shown in fig. 2, the uplink resource acquiring method shown in fig. 3 further includes step S206 and step S207.
Step S206, acquiring the historical new data volume of the data to be scheduled of the target application program in each historical uploading waiting process in the preset historical time period.
In this embodiment, for the same target application, each time the mobile terminal 10 sends the BSR packet corresponding to the target application, the mobile terminal will record the buffer data amount of the data to be scheduled of the target application at the current time, and when the uplink resource authorization corresponding to the BSR packet is obtained, also record the real buffer data amount of the data to be scheduled of the target application, so as to obtain and store the real newly-added data amount of the data to be scheduled of the target application in the current waiting uploading process by performing subtraction on the real buffer data amount and the buffer data amount of the BSR packet when sending.
The preset historical time period is a time period that the overall time length before the moment of calculating the estimated newly-added data volume of the corresponding target application program is equal to the preset time length, the preset time length can be 2 seconds, also can be 10 milliseconds, also can be 12 milliseconds, and the specific time length value can be configured differently according to the requirements. The mobile terminal 10 screens out the history waiting uploading process of which the occurrence time point is located in the preset history time period according to the occurrence time points of all the history waiting uploading processes corresponding to the target application program, and correspondingly reads the real new added data volume corresponding to each screened history waiting uploading process from the recorded real new added data volume of the data to be scheduled of the target application program in all the waiting uploading processes, thereby obtaining the history new added data volume of the data to be scheduled of the target application program in each history waiting uploading process in the preset history time period.
And step S207, calculating to obtain the estimated newly-increased data volume corresponding to the target application program according to all the obtained historical newly-increased data volumes in the preset historical time period.
In this embodiment, the mobile terminal 10 may perform average calculation on all the obtained historical newly added data amounts within the preset historical time period, and use the calculated average value of the data amounts as the estimated newly added data amount corresponding to the target application program; the mobile terminal 10 may also perform weighted average processing on all the obtained historical added data amounts in the preset historical time period, and use the calculated weighted average value as the estimated added data amount corresponding to the target application program; the mobile terminal 10 may further perform mathematical expectation calculation on all the obtained historical added data amounts within the preset historical time period, and use the obtained mathematical expectation value as the estimated added data amount corresponding to the target application program.
Optionally, referring to fig. 4, fig. 4 is a third flowchart illustrating an uplink resource acquiring method according to an embodiment of the present application. In this embodiment of the application, in order to determine the estimated new data amount of the data to be scheduled of the target application in the process of waiting for uploading, compared with the uplink resource acquiring method shown in fig. 2, the uplink resource acquiring method shown in fig. 4 further includes step S208 and step S209.
Step S208, historical new data increasing quantity of the data to be scheduled of the target application program in a plurality of historical uploading waiting processes with the same number as the preset query number is obtained.
In this embodiment, the mobile terminal 10 selects, by taking a time at which an estimated new data amount corresponding to a target application needs to be calculated as a time limit, a plurality of history waiting upload processes in which the number of occurrence time points close to the time limit is equal to a preset inquiry number among all history waiting upload processes corresponding to data to be scheduled of the target application, and reads, for each selected history waiting upload process, a real new data amount corresponding to the history waiting upload process as a corresponding history new data amount, thereby obtaining a history new data amount of the data to be scheduled of the target application in the plurality of history waiting upload processes in which the number is the same as the preset inquiry number. The preset number of queries may be 8, 14, or 20, and the specific number may be configured differently according to the requirement.
Step S209, calculating to obtain the estimated newly-added data amount corresponding to the target application program according to the plurality of acquired historical newly-added data amounts with the number equal to the preset query number.
In this embodiment, the mobile terminal 10 may perform average calculation on a plurality of historical newly added data volumes with the obtained number being the same as the preset query number, and use the calculated average value of the data volumes as the estimated newly added data volume corresponding to the target application program; the mobile terminal 10 may also perform weighted average processing on a plurality of historical added data amounts, the obtained number of which is the same as the preset query number, and use the calculated weighted average value as the estimated added data amount corresponding to the target application program; the mobile terminal 10 may further perform mathematical expectation calculation on a plurality of historical added data amounts with the same number as the preset query number, and use the mathematical expectation value obtained by the calculation as the estimated added data amount corresponding to the target application program.
In this application, in order to ensure that the mobile terminal 10 can accurately determine which of the applications running thereon are target applications whose communication timeliness needs to be higher than that of other applications, the uplink resource acquiring method shown in any one of fig. 2, fig. 3, and fig. 4 may further include step S205.
In step S205, a target application is determined from all the applications running on the mobile terminal 10.
In this embodiment, the step of determining the target application from all the applications running on the mobile terminal 10 includes:
for each application program running on the mobile terminal 10, obtaining a communication requirement delay of the application program;
and comparing the communication demand time delay of the application program with a preset time delay threshold, and judging the application program to be a target application program when the communication demand time delay is smaller than the preset time delay threshold.
The communication requirement time delay is used for representing a maximum time delay value which can ensure user experience when application data of a corresponding application program needs to be transmitted. The smaller the value of the communication requirement delay is, the higher the requirement of the communication timeliness of the corresponding application program is.
In the present application, in order to ensure that the uplink resource acquisition device 100 included in the mobile terminal 10 can be normally implemented, the functions of the uplink resource acquisition device 100 are implemented by dividing functional modules. The following describes specific components of the uplink resource acquisition apparatus 100 provided in the present application.
Optionally, referring to fig. 5, fig. 5 is a schematic functional module diagram of an uplink resource acquiring device 100 according to an embodiment of the present disclosure. In the embodiment of the present application, the uplink resource obtaining apparatus 100 includes a data amount obtaining module 110, a demand calculating module 120, and a resource authorization obtaining module 130.
The data amount obtaining module 110 is configured to obtain a current cache data amount of data to be scheduled of a target application program running on the mobile terminal 10 and an estimated new data amount of the data to be scheduled in a current process of waiting for uploading, where communication timeliness of the target application program needs to be higher than that of other application programs running on the mobile terminal 10.
The demand calculating module 120 is configured to calculate an uplink resource demand of the target application according to the current cache data amount and the estimated new added data amount.
The resource authorization obtaining module 130 is configured to generate a BSR packet corresponding to the target application according to the uplink resource demand, send the BSR packet to a base station, obtain an uplink resource authorization corresponding to the uplink resource demand from the base station, and upload the data to be scheduled of the target application to the base station based on the obtained uplink resource authorization.
Optionally, referring to fig. 6, fig. 6 is a second functional module schematic diagram of the uplink resource acquiring device 100 according to the embodiment of the present application. In this embodiment, the uplink resource obtaining apparatus 100 may further include a data amount estimation module 140.
In an implementation manner of this embodiment, the data amount obtaining module 110 is further configured to obtain historical new data amounts of data to be scheduled of a target application in each historical uploading waiting process in a preset historical time period, and at this time, the data amount estimating module 140 is configured to calculate an estimated new data amount corresponding to the target application according to all the obtained historical new data amounts in the preset historical time period.
In another implementation manner of this embodiment, the data amount obtaining module 110 is further configured to obtain historical new added data amounts of data to be scheduled of a target application in a plurality of historical waiting uploading processes, where the number of the data to be scheduled is the same as a preset query number, and at this time, the data amount estimating module 140 is configured to calculate an estimated new added data amount corresponding to the target application according to the plurality of historical new added data amounts, where the obtained number of the data to be scheduled is the same as the preset query number.
Optionally, referring to fig. 7, fig. 7 is a third functional module schematic diagram of an uplink resource acquiring apparatus 100 according to an embodiment of the present disclosure. In this embodiment, the uplink resource acquiring apparatus 100 may further include a target program determining module 150.
The target program determining module 150 is configured to determine a target application program from all application programs running on the mobile terminal 10.
The method for determining the target application program from all the application programs running on the mobile terminal 10 by the target program determining module 150 includes:
for each application program running on the mobile terminal 10, acquiring a communication demand delay of the application program;
and comparing the communication requirement time delay of the application program with a preset time delay threshold, and judging that the application program is a target application program when the communication requirement time delay is smaller than the preset time delay threshold.
It should be noted that the basic principle and the generated technical effect of the uplink resource acquiring apparatus 100 provided in the embodiment of the present application are the same as those of the uplink resource acquiring method described above, and for a brief description, for a part not mentioned in this embodiment, reference may be made to the corresponding description contents for the uplink resource acquiring method described above.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to 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 alone, 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 readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a readable storage medium and includes several 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 methods described in the embodiments of the present application. And the aforementioned readable 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.
In summary, in the uplink resource obtaining method, the apparatus, the mobile terminal and the readable storage medium provided by the present application, the present application determines the current uplink resource demand of the target application by obtaining the current cache data amount of the data to be scheduled, which has a communication timeliness requirement higher than that of the target application of other applications, and the estimated new data amount during the current waiting upload process, and generates a BSR packet corresponding to the target application according to the uplink resource demand and sends the BSR packet to the base station, so as to obtain an enough uplink resource grant matching the real data amount to be scheduled when uploading data from the base station, and upload the real data to be scheduled, which needs to be uploaded by the target application, to the base station based on the obtained uplink resource grant, thereby avoiding the phenomenon of data delay upload, and thus improving the data communication timeliness and operational reliability of the target application.
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 to the present application 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 (10)

1. An uplink resource acquisition method is applied to a mobile terminal, and the method comprises the following steps:
acquiring the current cache data volume of data to be scheduled of a target application program running on the mobile terminal and the estimated newly-increased data volume of the data to be scheduled in the current process of waiting for uploading from the transmission of a BSR (buffer status report) to the receiving of uplink resource authorization, wherein the communication timeliness of the target application program is required to be higher than that of other application programs running on the mobile terminal;
calculating the uplink resource demand of the target application program according to the current cache data volume and the estimated newly increased data volume;
and generating a BSR message corresponding to the target application program according to the uplink resource demand, sending the BSR message to a base station to acquire an uplink resource authorization corresponding to the uplink resource demand from the base station, and uploading data to be scheduled of the target application program to the base station based on the acquired uplink resource authorization.
2. The method of claim 1, further comprising:
acquiring historical newly-increased data volume of the data to be scheduled of the target application program in each historical uploading waiting process in a preset historical time period;
and calculating to obtain the estimated newly-added data volume corresponding to the target application program according to all the obtained historical newly-added data volumes in the preset historical time period.
3. The method of claim 1, further comprising:
acquiring historical new data volume of the data to be scheduled of the target application program in a plurality of historical uploading waiting processes with the same number as a preset query number;
and calculating to obtain the estimated newly-increased data quantity corresponding to the target application program according to the plurality of the historical newly-increased data quantities with the number equal to the preset query number.
4. The method according to any one of claims 1-3, further comprising:
determining a target application program from all application programs running on the mobile terminal;
wherein, the determining the target application program from all the application programs running on the mobile terminal comprises:
aiming at each application program running on the mobile terminal, acquiring the communication demand time delay of the application program;
and comparing the communication demand time delay of the application program with a preset time delay threshold, and judging the application program to be a target application program when the communication demand time delay is smaller than the preset time delay threshold.
5. An uplink resource obtaining apparatus, applied to a mobile terminal, the apparatus comprising:
a data volume obtaining module, configured to obtain a current cache data volume of data to be scheduled of a target application program running on the mobile terminal, and an estimated newly-added data volume of the data to be scheduled in a current process of waiting for uploading from sending a BSR packet to receiving an uplink resource grant, where communication timeliness of the target application program needs to be higher than that of other application programs running on the mobile terminal;
the demand calculation module is used for calculating the uplink resource demand of the target application program according to the current cache data volume and the estimated newly increased data volume;
and the resource authorization acquisition module is used for generating a BSR message corresponding to the target application program according to the uplink resource demand, sending the BSR message to a base station so as to acquire the uplink resource authorization corresponding to the uplink resource demand from the base station, and uploading the data to be scheduled of the target application program to the base station based on the obtained uplink resource authorization.
6. The apparatus of claim 5, further comprising a data volume prediction module;
the data volume acquisition module is further used for acquiring historical new data volumes of the data to be scheduled of the target application program in each historical uploading waiting process in a preset historical time period;
and the data volume estimation module is used for calculating and obtaining the estimated newly-increased data volume corresponding to the target application program according to all the obtained historical newly-increased data volumes in the preset historical time period.
7. The apparatus of claim 5, further comprising a data volume prediction module;
the data volume acquisition module is also used for acquiring historical new data volume of the data to be scheduled of the target application program in a plurality of historical waiting uploading processes, the number of which is the same as the preset query number;
and the data volume estimation module is used for calculating to obtain the estimated newly-added data volume corresponding to the target application program according to a plurality of acquired historical newly-added data volumes with the number same as the preset query number.
8. The apparatus of any one of claims 5-7, further comprising:
the target program determining module is used for determining a target application program from all application programs running on the mobile terminal;
wherein the target program determining module is specifically configured to:
aiming at each application program running on the mobile terminal, acquiring the communication demand time delay of the application program;
and comparing the communication demand time delay of the application program with a preset time delay threshold, and judging the application program to be a target application program when the communication demand time delay is smaller than the preset time delay threshold.
9. A mobile terminal comprising a processor and a memory, the memory storing machine executable instructions executable by the processor to implement the uplink resource acquisition method of any one of claims 1 to 4.
10. A readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the uplink resource acquisition method according to any one of claims 1 to 4.
CN201911231602.7A 2019-12-05 2019-12-05 Uplink resource acquisition method and device, mobile terminal and readable storage medium Active CN112929923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911231602.7A CN112929923B (en) 2019-12-05 2019-12-05 Uplink resource acquisition method and device, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911231602.7A CN112929923B (en) 2019-12-05 2019-12-05 Uplink resource acquisition method and device, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN112929923A CN112929923A (en) 2021-06-08
CN112929923B true CN112929923B (en) 2023-01-10

Family

ID=76160847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911231602.7A Active CN112929923B (en) 2019-12-05 2019-12-05 Uplink resource acquisition method and device, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN112929923B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117440428A (en) * 2022-07-12 2024-01-23 华为技术有限公司 Data transmission method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917401A (en) * 2012-10-10 2013-02-06 北京创毅讯联科技股份有限公司 Uplink resource request method and user equipment
WO2018133590A1 (en) * 2017-01-20 2018-07-26 中兴通讯股份有限公司 Uplink data transmission method and apparatus and storage medium
WO2018195872A1 (en) * 2017-04-27 2018-11-01 北京小米移动软件有限公司 Uplink resource acquisition method and device and computer readable storage medium
CN110362554A (en) * 2019-06-24 2019-10-22 平安科技(深圳)有限公司 Setting method, device, equipment and the computer readable storage medium of timer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6337901B2 (en) * 2013-09-26 2018-06-06 日本電気株式会社 Radio base station apparatus and resource allocation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917401A (en) * 2012-10-10 2013-02-06 北京创毅讯联科技股份有限公司 Uplink resource request method and user equipment
WO2018133590A1 (en) * 2017-01-20 2018-07-26 中兴通讯股份有限公司 Uplink data transmission method and apparatus and storage medium
WO2018195872A1 (en) * 2017-04-27 2018-11-01 北京小米移动软件有限公司 Uplink resource acquisition method and device and computer readable storage medium
CN110362554A (en) * 2019-06-24 2019-10-22 平安科技(深圳)有限公司 Setting method, device, equipment and the computer readable storage medium of timer

Also Published As

Publication number Publication date
CN112929923A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN108520454B (en) Method and system for calling back orders in real time
US9330368B2 (en) Routing service requests based on lowest actual cost within a federated virtual service cloud
CN109901921B (en) Task queue execution time prediction method and device and implementation device
CN108540533B (en) Request answering method and device
CN110826799B (en) Service prediction method, device, server and readable storage medium
CN106464733A (en) Method and device for adjusting virtual resources in cloud computing
CN112929923B (en) Uplink resource acquisition method and device, mobile terminal and readable storage medium
CN107608781B (en) Load prediction method, device and network element
CN113312553A (en) Method and device for determining user label
CN105045873A (en) Data file pushing method, apparatus and system
CN110377427B (en) Task monitoring method, device and system
EP3905706A1 (en) Definition switching algorithm selection method and system, and device and medium
CN112416568A (en) Duration estimation method and duration estimation device for audio and video transcoding task
CN108111591B (en) Method and device for pushing message and computer readable storage medium
CN113434729B (en) Video related information aggregation acquisition method and device and terminal equipment
CN112669091B (en) Data processing method, device and storage medium
CN110019372A (en) Data monitoring method, device, server and storage medium
CN114924937A (en) Batch task processing method and device, electronic equipment and computer readable medium
CN114510668A (en) Data display method and device, computer equipment and storage medium
US11375203B2 (en) Video processing method, system, device and computer-readable storage medium
CN109995539B (en) OCS (online charging System) traffic authorization method, OCS, server and readable storage medium
CN109063206B (en) Article monitoring method and device
CN110602187A (en) Terminal sharing method, device and equipment
CN116881016B (en) Processing method and device of server process, storage medium and electronic equipment
KR101529602B1 (en) Cache server, system for providing of the content and method forreplacement of the content

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