CN107450988A - Resource allocation method and Related product - Google Patents

Resource allocation method and Related product Download PDF

Info

Publication number
CN107450988A
CN107450988A CN201710640906.3A CN201710640906A CN107450988A CN 107450988 A CN107450988 A CN 107450988A CN 201710640906 A CN201710640906 A CN 201710640906A CN 107450988 A CN107450988 A CN 107450988A
Authority
CN
China
Prior art keywords
target application
operating system
policy
application program
key performance
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.)
Granted
Application number
CN201710640906.3A
Other languages
Chinese (zh)
Other versions
CN107450988B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710640906.3A priority Critical patent/CN107450988B/en
Publication of CN107450988A publication Critical patent/CN107450988A/en
Priority to EP18186162.6A priority patent/EP3438825A1/en
Priority to PCT/CN2018/097514 priority patent/WO2019024800A1/en
Priority to US16/049,081 priority patent/US11016812B2/en
Application granted granted Critical
Publication of CN107450988B publication Critical patent/CN107450988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present application discloses a kind of resource allocation method and Related product.Method includes:The operating system of mobile terminal receives the contextual data bag that the destination application being currently running is sent, and contextual data bag includes the application type mark and critical performance parameters for the destination application being currently running;Operating system determines the performance boost strategy of destination application according to application type mark and critical performance parameters;Operating system according to the system resource of performance boost Developing Tactics destination application distribution.The embodiment of the present application is advantageous to improve real-time and accuracy that mobile terminal control targe application program carries out performance optimization.

Description

Resource allocation method and related product
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a resource allocation method and a related product.
Background
With the rapid development of related technologies of smart phones, more and more applications are installed in user mobile phones, such as reading applications, payment applications, game applications, music applications, and the like, and people's clothes and eating habits are inseparable from mobile phones.
Disclosure of Invention
The embodiment of the application provides a resource allocation method and a related product, and can improve the real-time performance and the accuracy of performance optimization of a mobile terminal control target application program.
In a first aspect, an embodiment of the present application provides a resource allocation method, which is applied to a mobile terminal, where an operating system and one or more application programs are run on the mobile terminal, and the method includes:
the operating system receives a scene data packet sent by the running target application program, wherein the scene data packet comprises an application type identifier and a key performance parameter of the target application program;
the operating system determines a performance improvement strategy of the target application program according to the application type identifier and the key performance parameter;
and the operating system adjusts the distribution of the system resources of the target application program according to the performance improvement strategy.
In a second aspect, an embodiment of the present application provides a resource allocation apparatus, which is applied to a mobile terminal, where an operating system and one or more application programs run on the mobile terminal, the resource allocation apparatus includes a processing unit and a communication unit,
the processing unit is configured to control an operating system to receive, through the communication unit, a scene data packet sent by the running target application program, where the scene data packet includes an application type identifier and a key performance parameter of the target application program; and a performance improvement policy for determining the target application program according to the application type identifier and the key performance parameter; and adjusting the allocation of the system resources of the target application program according to the performance improvement strategy.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps of any method in the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in any one of the methods of the first aspect of the present application, and the computer includes a mobile terminal.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It can be seen that, in the embodiment of the present application, an operating system in an operating system space of a mobile terminal first receives a scene data packet sent by a running target application, where the scene data packet includes an application type identifier and a key performance parameter of the target application, and then, the operating system determines a performance improvement policy of the target application according to the application type identifier and the key performance parameter, and finally, the operating system adjusts allocation of system resources of the target application according to the performance improvement policy. The real-time performance and the accuracy of performance optimization of the mobile terminal control target application program are improved.
Drawings
Reference will now be made in brief to the accompanying drawings, to which embodiments of the present application relate.
Fig. 1A is a schematic structural diagram of a program operating space of a smart phone;
FIG. 1B is a system architecture diagram of an android system;
fig. 2 is a schematic flowchart of a resource allocation method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a resource allocation method according to an embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating a resource allocation method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application;
fig. 6 is a block diagram illustrating functional units of a mobile terminal according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a smart phone disclosed in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal. The operating system related to the embodiment of the invention is a software system which performs unified management on hardware resources and provides a service interface for a user.
As shown in fig. 1A, a current mobile terminal such as a smart phone is generally provided with a program running space, where the program running space includes a user space and an operating system space, where the user space runs one or more application programs, the one or more application programs are third-party application programs installed on the mobile terminal, and the operating system space runs an operating system of the mobile terminal. The mobile terminal can specifically run an Android system, a mobile operating system iOS developed by apple Inc., and the like, and the mobile terminal is not limited herein. As shown in fig. 1B, for example that the mobile terminal runs the Android system, the corresponding user space includes Application layers (Applications) in the Android system, and the operating system space may include an Application Framework layer (Application Framework) in the Android system, a system Runtime library layer (including system Runtime Libraries and Android Runtime runtimes), and a Linux Kernel layer (Linux Kernel). The application layer comprises various application programs which are directly interacted with the user or service programs which are written by Java language and run in the background. For example, programs that implement common basic functions on smartphones, such as Short Messaging Service (SMS) SMS, phone dialing, picture viewer, calendar, games, maps, World Wide Web (Web) browser, and other applications developed by developers. The application framework layer provides a series of class libraries required by Android application development, can be used for reusing components, and can also realize personalized extension through inheritance. And the system operation library layer is a support of an application program framework and provides services for each component in the Android system. The system operation library layer is composed of a system class library and Android operation. The Android runtime comprises two parts, namely a core library and a Dalvik virtual machine. The Linux kernel layer is used for realizing core functions such as hardware device driving, process and memory management, a network protocol stack, power management, wireless communication and the like.
The process created by the third-party application program is initially run in the user space, and when it is to perform the actions of sending data through the network, reading disk resources and the like, it must be completed by calling the standard interface functions provided by the operating system, such as write, send and the like, that is, the CPU calls the code of the operating system space to complete the requested operation of the user. It can be seen that the third party application program wants to call the function provided by the operating system, and can only call the standard interface function provided by the third party application program. Meanwhile, the operating system does not know which functions the third-party application specifically executes, and the target application cannot command the operating system to execute special operations, which are independent from each other, so that the operating system cannot distinguish the internal operating scene of the target application, can only use one set of standard parameters for adaptation, and cannot perform targeted performance optimization for the internal operating scene of the target application.
In view of the above situation, an embodiment of the present application provides a resource allocation method for a target application of a mobile terminal, in which an operating system in an operating space of the mobile terminal receives a scene data packet sent by the running target application, where the scene data packet includes an application type identifier and a key performance parameter of the target application; the operating system determines a performance improvement strategy of the target application program according to the application type identifier and the key performance parameter; and the operating system adjusts the distribution of the system resources of the target application program according to the performance improvement strategy. The performance of the internal operation scene of the target application program in the operation process is optimized by the operating system, and the real-time performance and the accuracy of the mobile terminal for controlling the target application program to optimize the performance are improved.
Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a flowchart illustrating a resource allocation method according to an embodiment of the present application, which is applied to a mobile terminal, where the mobile terminal runs an operating system and one or more application programs, and as shown in the figure, the resource allocation method includes:
s201, the operating system receives a scene data packet sent by the running target application, where the scene data packet includes an application type identifier and a key performance parameter of the target application.
The target application program refers to a third-party application program installed in a user space of the mobile terminal, the third-party application program may be, for example, an instant messaging application, a game application, or the like, and the third-party application program may be installed by a user or may be pre-installed by a developer before the mobile terminal leaves a factory, which is not limited herein.
The scene data packet includes an application type identifier and key performance parameters of a running target application program, and may further include at least one of the following: the key performance parameters, the data format identifier, the startup information, the resource update information, the account login information, the interface type information, the behavior information of the target application (such as data transmission behavior information and data reception behavior information), and the like, which are not limited herein. The format of the scene data packet may be, for example, a data transmission format such as JavaScript Object Notation (JSON), protocol buffer (protocol), custom format, etc., and is not limited herein.
In one possible example, a preset data channel is included between the target application program and the operating system; the receiving, by the operating system, the scene data packet sent by the running target application program includes: and the operating system receives the scene data packet sent by the running target application program through the preset data channel.
The preset data channel is an effective data transmission link established between the target application program and the operating system when the target application program is running, and the data transmission link can be cleared after the target application program is not running.
In this possible example, the target application includes a data connection module, and the operating system includes a data connection management module; the method further comprises the following steps: and the data connection management module and the data connection module establish the preset data channel.
In this possible example, the target application program may further include a data collection module, a data sorting module, a priority management module, and a data receiving module, where the data receiving module is configured to collect key information of the target application program during running; the data sorting module is used for sorting the collected key information, such as combining repeated information, deleting redundant information and the like; the priority management module is used for classifying the collected key information according to the importance degree of the key information, preferentially processing the key information with high priority, filtering the key information with lower priority, or reducing the use of the key information with lower priority in the data packet generation process; the data receiving module is used for receiving and analyzing data sent by an operating system of the operating system and transmitting the data to the inside of the target application program.
And S202, the operating system determines a performance improvement strategy of the target application program according to the application type identifier and the key performance parameter.
The performance improvement policy refers to a resource configuration policy for improving the operation performance of the running target application, such as a CPU resource adjustment policy, a GPU resource adjustment policy, a memory bandwidth resource adjustment policy, a disk resource adjustment policy, a network resource adjustment policy, and the like, which is not limited herein.
The key performance parameter is used to describe a key data indicator of the target application, and the key data may be, for example, frame rate, frame loss, stuck, and the like.
S203, the operating system adjusts the allocation of the system resource of the target application according to the performance improvement policy.
In one possible example, the resource includes at least one of the following resources of the mobile terminal: CPU resources, GPU resources, memory bandwidth resources, disk resources, and network resources. The network resources comprise network resources of a data network of the mobile terminal, network resources of a wireless fidelity Wi-Fi network, control parameters of a Bluetooth module and the like.
When the system resource is at least one of a CPU resource, a GPU resource memory bandwidth resource, and a disk resource, the operating system may communicate with a kernel layer of an operating system space in a direct communication manner, where the direct communication manner is direct communication through an abstract Application Programming Interface (API), to adjust configuration of the system resource.
When the system resource is a network resource, the operating system may communicate with the kernel layer of the operating system space in an indirect communication manner, where the indirect communication manner refers to indirect communication by invoking an agent service, for example, a Wi-Fi subsystem in the network resource or a data network subsystem and the operating system do not run in the same system, and need to indirectly access the system resource in some agent manners, the operating system provides the agent service of Wi-Fi, and indirectly communicates with the Wi-Fi subsystem by invoking an interface of the agent service.
It can be seen that, in this embodiment of the present application, an operating system in an operating system space of a mobile terminal first receives a scene data packet sent by an operating target application, where the scene data packet includes an application type identifier and a key performance parameter of the operating target application, and then, the operating system determines a performance improvement policy of the target application according to the application type identifier and the key performance parameter, and finally, the operating system adjusts allocation of system resources of the target application according to the performance improvement policy. The scene data packet is sent by the target application program and comprises the application type identifier and the key performance parameter, the application type identifier and the key performance parameter can accurately determine a performance improvement strategy of the target application program during running, and the operating system adjusts the configuration of resources of the target application program in real time according to the performance improvement strategy, so that the real-time performance optimization of the target application program in the running process by the operating system is realized, and the real-time performance and the accuracy of controlling the target application program by the mobile terminal to perform the performance optimization are improved.
In one possible example, the operating system includes a management module and a plurality of policy modules, each policy module being configured to determine a performance improvement policy of an application program of at least one application program of the same application type; the determining, by the operating system, the performance improvement policy of the target application program according to the application type identifier and the key performance parameter includes: the management module determines the application type identifier and the key performance parameter in the scene data packet; the management module determines a policy module corresponding to the application type identifier in the plurality of policy modules; and the strategy module determines the performance improvement strategy of the target application program according to the key performance parameters.
Each of the plurality of policy modules may be applicable to the same type of application, for example, a first policy module is applicable to a game application, a second policy module is applicable to an instant messaging application, and the like.
Wherein, the determining, by the management module, a policy module corresponding to the application type identifier in the plurality of policy modules includes: the management module queries a mapping relation between a preset policy module and the application type identifier by taking the application type identifier as a query identifier, and determines the policy module corresponding to the application type identifier in the scene data packet.
Therefore, in this example, the mobile terminal can realize refined control over different types of applications by dividing the plurality of policy modules, and the mobile terminal only needs to load the policy module corresponding to the target application program running on the foreground of the mobile terminal without simultaneously loading all policy modules, which is beneficial to reducing resource occupation and improving resource utilization rate and control efficiency.
In one possible example, the scene data packet includes a data format identifier; the determining, by the management module, the application type identifier and the key performance parameter in the scene data packet includes: and the management module analyzes the scene data packet according to the data format indicated by the data format identifier to determine the application type identifier and the key performance parameter.
The data format identifier may be, for example, JSON, Protobuf, or the like, which is not limited herein.
As can be seen, in this example, the data format identifier enables the operating system to quickly identify the data transmission format used by the scene data packet after receiving the scene data packet, so as to analyze the application type identifier and the key performance parameter in the scene data packet in real time, reduce the processing delay, facilitate improvement of the data processing efficiency, and improve the real-time performance of resource adjustment for the running target application program.
In one possible example, the determining, by the policy module, a performance improvement policy of the target application according to the key performance parameter includes: the strategy module determines the resources related to the key performance parameters as system resources to be adjusted; and determining the adjustment quantity of the system resource to be adjusted according to the key performance parameters, and generating a performance improvement strategy of the target application program according to the adjustment quantity.
The key performance parameter may include a parameter type and a parameter value, the resource associated with the key performance parameter may be determined by querying a correspondence between a preset parameter type of the key performance parameter and a resource, and the correspondence may include, for example, a correspondence between a frame rate and a GPU resource, a correspondence between an interface rendering speed and a resource combination (for example, a CPU resource and a GPU resource), and the like, which is not limited herein. The parameter value is used for determining the adjustment amount of the system resource to be adjusted, and specifically, the parameter value can be compared with a preset reference value to accurately determine the adjustment amount.
Therefore, in this example, the resource associated with the key performance parameter is the system resource to be adjusted, and the parameter value of the key performance parameter is further used to accurately determine the adjustment amount of the system resource to be adjusted, which is beneficial to improving the accuracy of the mobile terminal in controlling the target application program to perform operation optimization.
In another possible example, the determining, by the policy module, a performance improvement policy of the target application according to the key performance parameter includes: the strategy module determines the parameter type and the parameter value interval of the key performance parameter, determines a performance improvement strategy packet corresponding to the parameter type, and determines a performance improvement strategy applicable to the parameter value interval in the performance improvement strategy packet by taking the parameter value interval as a query identifier.
The performance improvement strategy package comprises a plurality of performance improvement strategies, and each performance improvement strategy corresponds to a parameter value interval.
As can be seen, in this example, since the parameter type of the key performance parameter can determine the performance improvement policy package, and the parameter value of the key performance parameter can quickly determine the performance improvement policy in the performance improvement policy package, that is, the performance improvement policy adapted to the current operating scenario can be quickly determined in an inquiry manner, which is beneficial to improving the speed and efficiency of the mobile terminal in controlling the target application program to perform operation optimization.
In one possible example, the operating system includes a management module and a policy module; the determining, by the operating system, the performance improvement policy of the target application program according to the application type identifier and the key performance parameter includes: the policy module acquires the application type identifier and the key performance parameter in the scene data packet; the strategy module determines the system resource to be adjusted corresponding to the application type identifier; and the strategy module determines the performance improvement strategy of the target application program according to the system resource to be adjusted and the key performance parameter.
The mapping relationship between the application type identifier and the system resource to be adjusted may be specifically queried, and the system resource to be adjusted corresponding to the current application type identifier is obtained.
As can be seen, in this example, the application type identifier is used to quickly determine the system resource to be adjusted of the target application program, and the key performance parameter is used to accurately determine the adjustment amount of the system resource to be adjusted, which is beneficial to improving the accuracy and speed of the mobile terminal in controlling the target application program to perform operation optimization. In addition, the target application program comprises a management module and a strategy module, the management module and the strategy module are matched to confirm the performance improvement strategy of the target application program, namely, the determination process of the performance improvement strategy is completed in a modularization mode, each module executes a corresponding division function, the state of the other module cannot be influenced when a single module has an error, and the stability of the mobile terminal for controlling the target application program to operate and optimize is improved.
In one possible example, the determining, by the policy module, a performance improvement policy of the target application according to the system resource to be adjusted and the key performance parameter includes: the strategy module determines the adjustment amount of the system resource to be adjusted according to the parameter related to the system resource to be adjusted in the key performance parameters; the policy module generates a performance improvement policy according to the adjustment amount, and determines that the generated performance improvement policy is a performance improvement policy of the target application program.
The key performance parameters may include parameter types and parameter values, the parameter values are used to further determine an adjustment amount of the system resource to be adjusted, the adjustment amount may be specifically obtained by calculating a preset formula, weights of the parameters of different types in the calculation formula may be correspondingly set according to influence factors of the resources associated with the parameters on the operation performance of the target application program, and specifically, the larger the weight of the parameter with the larger influence factor, the higher the accuracy of the adjustment amount calculation is facilitated to be improved.
In this example, the parameter associated with the system resource to be adjusted in the key performance parameters is used to determine the adjustment amount of the system resource to be adjusted, so as to avoid the influence of the non-associated parameter on the adjustment amount, and improve the accuracy of the mobile terminal in controlling the target application program to perform operation optimization.
In a possible implementation manner, the scene data packet includes a data format identifier; the obtaining, by the policy module, the application type identifier and the key performance parameter in the scene data packet includes:
the management module analyzes the scene data packet according to the data format indicated by the data format identifier, determines the application type identifier and the key performance parameter of the target application program, and sends the application type identifier and the key performance parameter to the policy module; therefore, the management module is used for uniformly processing the scene data packet, the strategy module only needs to directly receive the processing result of the strategy module, namely the scene correlation information, so that the functions of facilitating the lightweight and refined strategy modules are provided, the strategy modules are convenient to maintain, add and the like, and the system stability is improved.
Or,
the management module sends the scene data packet to the strategy module; the policy module analyzes the scene data packet according to the data format indicated by the data format identifier, and determines the application type identifier and the key performance parameter of the target application program; after the management module sends the scene data packet to the policy module, the management module may enter a sleep state to reduce power consumption; therefore, the management module only transmits and processes the scene data packet and directly transmits the scene data packet to the strategy module for processing, so that the strategy module does not need to be continuously started after transmitting the scene data packet, can be quickly dormant, is beneficial to reducing the overall power consumption of the operating system and improving the efficiency.
Or,
the management module determines a first data format associated with the policy module, converts a second data format of the scene data packet into the first data format when detecting that the first data format is inconsistent with a second data format of the scene data packet, and sends the converted scene data packet to the policy module; the policy module analyzes the converted scene data packet according to the first data format, and determines the application type identifier and the key performance parameter of the target application program. Therefore, the management module can convert the scene data packet which cannot be identified by the strategy module into the scene data packet which can be identified by the strategy module and transmit the scene data packet to the strategy module for processing, so that the situation that the application type identifier and the key performance parameter cannot be correctly determined due to format difference is avoided, and the success rate of accurate resource allocation of the mobile terminal for the running target application program is favorably improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a resource allocation method according to an embodiment of the present application, and is applied to a mobile terminal, where the mobile terminal runs an operating system and one or more applications, the operating system includes a management module and a plurality of policy modules, and each policy module is used to determine a performance improvement policy of an application in at least one application of the same application type. As shown in the figure, the resource allocation method includes:
s301, the operating system receives a scene data packet sent by the running target application program, wherein the scene data packet comprises an application type identifier and a key performance parameter of the target application program.
S302, the management module parses the scene data packet according to the data format indicated by the data format identifier to determine the application type identifier and the key performance parameter.
S303, the management module determines a policy module corresponding to the application type identifier in the policy modules.
S304, the strategy module determines the performance improvement strategy of the target application program according to the key performance parameters.
S305, the operating system adjusts the allocation of the system resource of the target application according to the performance enhancement policy.
It can be seen that, in the embodiment of the present application, an operating system in an operating system space of a mobile terminal first receives a scene data packet sent by a running target application, where the scene data packet includes an application type identifier and a key performance parameter of the target application, and then, the operating system determines a performance improvement policy of the target application according to the application type identifier and the key performance parameter, and finally, the operating system adjusts allocation of system resources of the target application according to the performance improvement policy. The scene data packet is sent by the running target application program and comprises the application type identifier and the key performance parameter, the application type identifier and the key performance parameter can accurately determine the performance improvement strategy of the running target application program, and the operating system adjusts the configuration of the system resource of the target application program in real time according to the performance improvement strategy, so that the real-time performance optimization of the target application program in the running process by the operating system is realized, and the real-time performance and the accuracy of the mobile terminal for controlling the target application program to perform the performance optimization are favorably improved.
In addition, the plurality of strategy modules are divided to realize refined control on different types of applications, and the mobile terminal only needs to load the strategy module corresponding to the target application program operated by the foreground of the mobile terminal without simultaneously loading all the strategy modules, so that the resource occupation of the mobile terminal is reduced, and the resource utilization rate and the control efficiency are improved.
In addition, the data format identifier enables the operating system to quickly identify the data transmission format used by the scene data packet after receiving the scene data packet, so that the application type identifier and the key performance parameter in the scene data packet are analyzed in real time, the processing time delay is reduced, the data processing efficiency is improved, and the real-time performance of resource adjustment for the running target application program is improved.
Consistent with the embodiment shown in fig. 2, please refer to fig. 4, where fig. 4 is a flowchart illustrating a resource allocation method provided in an embodiment of the present application, and is applied to a mobile terminal, where the mobile terminal runs an operating system and one or more target application programs, the operating system includes a management module, multiple policy modules, and a data connection management module, each policy module is used to determine a performance improvement policy of an application program in at least one application program of the same application type, the target application program includes a data connection module, the scenario data packet includes an application type identifier and a key performance parameter of the target application program, the scenario data packet includes a data format identifier, the target application program includes a data connection module, and the operating system includes a data connection management module. As shown in the figure, the resource allocation method includes:
s401, the data connection management module and the data connection module establish a preset data channel.
S402, the data connection management module receives the scene data packet sent by the target application program through the preset data channel.
S403, the management module parses the scene data packet according to the data format indicated by the data format identifier, and determines the application type identifier and the key performance parameter of the target application program.
S404, the management module determines a policy module corresponding to the application type identifier in the policy modules, and sends the application type identifier and the key performance parameter to the policy module.
S405, the strategy module determines the resources related to the key performance parameters as the system resources to be adjusted, and determines the adjustment amount of the system resources to be adjusted according to the key performance parameters.
S406, the policy module generates a performance improvement policy of the target application according to the adjustment amount.
S407, the operating system adjusts allocation of system resources of the target application according to the performance improvement policy.
It can be seen that, in the embodiment of the present application, an operating system in an operating system space of a mobile terminal first receives a scene data packet sent by a running target application, where the scene data packet includes an application type identifier and a key performance parameter of the target application, and then, the operating system determines a performance improvement policy of the target application according to the application type identifier and the key performance parameter, and finally, the operating system adjusts allocation of system resources of the target application according to the performance improvement policy. The scene data packet is sent by the running target application program and comprises the application type identifier and the key performance parameter, the application type identifier and the key performance parameter can accurately determine the performance improvement strategy of the running target application program, and the operating system adjusts the resource configuration of the target application program in real time according to the performance improvement strategy, so that the real-time performance optimization of the target application program in the running process by the operating system is realized, and the real-time performance and the accuracy of the mobile terminal for controlling the target application program to perform the performance optimization are improved.
In addition, the resources associated with the key performance parameters are the system resources to be adjusted, and the parameter values of the key performance parameters are further used for accurately determining the adjustment amount of the system resources to be adjusted, so that the accuracy of the mobile terminal in controlling the target application program to perform operation optimization is improved.
In addition, the parameters related to the system resources to be adjusted in the key performance parameters are used for determining the adjustment quantity of the system resources to be adjusted, so that the influence of non-related parameters on the adjustment quantity is avoided, and the accuracy of operation optimization of the mobile terminal control target application program is improved.
In accordance with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present application, where the mobile terminal runs one or more application programs and an operating system, and as shown in the figure, the mobile terminal includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are different from the one or more application programs, and the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps;
receiving a scene data packet sent by the running target application program, wherein the scene data packet comprises an application type identifier and a key performance parameter of the target application program;
determining a performance improvement strategy of the target application program according to the application type identifier and the key performance parameter;
and adjusting the distribution of the system resources of the target application program according to the performance improvement strategy.
It can be seen that, in the embodiment of the present application, an operating system in an operating system space of a mobile terminal first receives a scene data packet sent by a running target application, where the scene data packet includes an application type identifier and a key performance parameter of the target application, and then, the operating system determines a performance improvement policy of the target application according to the application type identifier and the key performance parameter, and finally, the operating system adjusts allocation of system resources of the target application according to the performance improvement policy. The scene data packet is sent by the running target application program and comprises the application type identifier and the key performance parameter, the application type identifier and the key performance parameter can accurately determine the performance improvement strategy of the running target application program, and the operating system adjusts the resource configuration of the target application program in real time according to the performance improvement strategy, so that the real-time performance optimization of the target application program in the running process by the operating system is realized, and the real-time performance and the accuracy of the mobile terminal for controlling the target application program to perform the performance optimization are improved.
In one possible example, the operating system includes a management module and a plurality of policy modules, each policy module being configured to determine a performance improvement policy of an application program of at least one application program of the same application type; in the aspect of determining the performance improvement policy of the target application program according to the application type identifier and the key performance parameter, the instruction in the program is specifically configured to perform the following operations: controlling the management module to determine the application type identifier and the key performance parameter in the scene data packet; and controlling the management module to determine a policy module corresponding to the application type identifier in the plurality of policy modules; and controlling the policy module to determine a performance improvement policy of the target application program according to the key performance parameter.
In one possible example, the scene data packet includes a data format identifier; in the aspect of controlling the management module to determine the application type identifier and the key performance parameter in the scene data packet, the instructions in the program are specifically configured to perform the following operations: and controlling the management module to analyze the scene data packet according to the data format indicated by the data format identifier so as to determine the application type identifier and the key performance parameter.
In one possible example, in terms of controlling the policy module to determine the performance improvement policy of the target application according to the key performance parameter, the instructions in the program are specifically configured to perform the following operations: controlling the strategy module to determine the resources related to the key performance parameters as system resources to be adjusted; determining the adjustment quantity of the system resource to be adjusted according to the key performance parameter, and generating a performance improvement strategy of the target application program according to the adjustment quantity; or,
and controlling the strategy module to determine the parameter type and the parameter value interval of the key performance parameter, determining a performance improvement strategy packet corresponding to the parameter type, and determining a performance improvement strategy applicable to the parameter value interval in the performance improvement strategy packet by taking the parameter value interval as a query identifier.
In one possible example, the operating system includes a management module and a policy module; in the aspect of determining the performance improvement policy of the target application program according to the application type identifier and the key performance parameter, the instruction in the program is specifically configured to perform the following operations: controlling the policy module to obtain the application type identifier and the key performance parameter in the scene data packet; and controlling the strategy module to determine the system resource to be adjusted corresponding to the application type identifier; and controlling the policy module to determine a performance improvement policy of the target application program according to the system resource to be adjusted and the key performance parameter.
In one possible example, in terms of controlling the policy module to determine the performance improvement policy of the target application according to the system resource to be adjusted and the key performance parameter, the instructions in the program are specifically configured to perform the following operations: controlling the strategy module to determine the adjustment amount of the system resource to be adjusted according to the parameter related to the system resource to be adjusted in the key performance parameters; and controlling the policy module to generate a performance improvement policy according to the adjustment amount, and determining that the generated performance improvement policy is the performance improvement policy of the target application program.
In one possible example, a preset data channel is included between the target application program and the operating system; in the aspect of receiving the scene data packet sent by the running target application program, the instructions in the program are specifically configured to perform the following operations: and receiving the scene data packet sent by the running target application program through the preset data channel.
In this possible example, the target application includes a data connection module, and the operating system includes a data connection management module; the program further includes instructions for: and before controlling the data connection management module to receive the scene data packet sent by the target application program through the preset data channel, controlling the data connection management module and the data connection module to establish the preset data channel.
In one possible example, the resource includes at least one of the following resources of the mobile terminal: CPU resources, GPU resources, memory bandwidth resources, disk resources, and network resources.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the mobile terminal includes hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the mobile terminal may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In case of integrated units, fig. 6 shows a block diagram of a possible functional unit composition of the resource configuration device involved in the above-described embodiment. The resource configuration apparatus 600 includes: a processing unit 602 and a communication unit 603. Processing unit 602 is configured to control and manage actions of the resource configuration device, e.g., processing unit 602 is configured to support the resource configuration device to perform steps S201-S203 in fig. 2, steps S301-S305 in fig. 3, steps S401-S407 in fig. 4, and/or other processes for the techniques described herein. The resource configuration means may further comprise a storage unit 601 for storing program codes and data.
The processing unit 602 is configured to control an operating system to receive, through the communication unit 603, a scene data packet sent by the running target application program, where the scene data packet includes an application type identifier and a key performance parameter of the target application program; and a performance improvement policy for determining the target application program according to the application type identifier and the key performance parameter; and adjusting the allocation of the system resources of the target application program according to the performance improvement strategy.
In one possible example, the operating system includes a management module and a plurality of policy modules, each policy module being configured to determine a performance improvement policy of an application program of at least one application program of the same application type; in the aspect of determining the performance improvement policy of the target application according to the application type identifier and the key performance parameter, the processing unit 602 is specifically configured to: controlling the management module to determine the application type identifier and the key performance parameter in the scene data packet; and controlling the management module to determine a policy module corresponding to the application type identifier in the plurality of policy modules; and controlling the policy module to determine a performance improvement policy of the target application program according to the key performance parameter.
In one possible example, the scene data packet includes a data format identifier; in the aspect of controlling the management module to determine the application type identifier and the key performance parameter in the scene data packet, the processing unit 602 is specifically configured to: and controlling the management module to analyze the scene data packet according to the data format indicated by the data format identifier to determine the application type identifier and the key performance parameter.
In a possible example, in terms of controlling the policy module to determine the performance improvement policy of the target application according to the key performance parameter, the processing unit 602 is specifically configured to: controlling the strategy module to determine the resources related to the key performance parameters as system resources to be adjusted; determining the adjustment quantity of the system resource to be adjusted according to the key performance parameter, and generating a performance improvement strategy of the target application program according to the adjustment quantity; or,
and controlling the strategy module to determine the parameter type and the parameter value interval of the key performance parameter, determining a performance improvement strategy packet corresponding to the parameter type, and determining a performance improvement strategy applicable to the parameter value interval in the performance improvement strategy packet by taking the parameter value interval as a query identifier.
In one possible example, the operating system includes a management module and a policy module; in the aspect of determining the performance improvement policy of the target application according to the application type identifier and the key performance parameter, the processing unit 602 is specifically configured to: controlling the policy module to obtain the application type identifier and the key performance parameter in the scene data packet; and controlling the strategy module to determine the system resource to be adjusted corresponding to the application type identifier; and controlling the policy module to determine a performance improvement policy of the target application program according to the system resource to be adjusted and the key performance parameter.
In a possible example, in terms of controlling the policy module to determine the performance improvement policy of the target application according to the system resource to be adjusted and the key performance parameter, the processing unit 602 is specifically configured to: controlling the strategy module to determine the adjustment amount of the system resource to be adjusted according to the parameter related to the system resource to be adjusted in the key performance parameters; and controlling the policy module to generate a performance improvement policy according to the adjustment amount, and determining that the generated performance improvement policy is the performance improvement policy of the target application program.
In one possible example, a preset data channel is included between the target application program and the operating system; in the aspect that the communication unit 603 is configured to receive a scene data packet sent by the running target application, the processing unit 602 is specifically configured to: the communication unit 603 receives a scene data packet transmitted by the running target application through the preset data channel.
The target application program comprises a data connection module, and the operating system comprises a data connection management module; the resource allocation device further comprises a channel establishing unit, wherein the channel establishing unit is used for controlling the data connection management module and the data connection module to establish the preset data channel.
In one possible example, the resource includes at least one of the following resources of the mobile terminal: CPU resources, GPU resources, memory bandwidth resources, disk resources, and network resources.
Wherein, the processing unit 602 can be a processor or a controller, the communication unit 603 can be an internal communication interface between the processor and a program execution space, such as a communication interface between the processor and an operating system space, or a communication interface between the processor and a user space, and the storage unit 601 can be a memory.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a smart phone 700 according to an embodiment of the present application, where the smart phone 700 includes: casing 710, touch-sensitive display screen 720, mainboard 730, battery 740 and subplate 750, be provided with leading camera 731, processor 732, memory 733, power management chip 734 on mainboard 730, be provided with oscillator 751, integrative sound chamber 752, VOOC flash charging interface 753 and fingerprint identification module 754 on the subplate.
The smart phone comprises a target application program and an operating system, wherein the target application program runs in a user space, the operating system runs in an operating system space, and the operating system comprises an operating system. The method comprises the steps that an operating system receives a scene data packet sent by a running target application program, wherein the scene data packet comprises an application type identifier and key performance parameters of the target application program; the operating system determines a performance improvement strategy of the target application program according to the application type identifier and the key performance parameter; and the operating system adjusts the distribution of the system resources of the target application program according to the performance improvement strategy.
The processor 732 is a control center of the smart phone, connects various parts of the entire smart phone through various interfaces and lines, and executes various functions and processes data of the smart phone by operating or executing software programs and/or modules stored in the memory 733 and calling data stored in the memory 733, thereby integrally monitoring the smart phone. Alternatively, processor 732 may include one or more processing units; preferably, the processor 732 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 732. The Processor 732 may be, for example, a Central Processing Unit (CPU), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor described above may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like.
The memory 733 may be used to store software programs and modules, and the processor 732 may execute various functional applications and data processing of the smart phone by operating the software programs and modules stored in the memory 733. The memory 733 may mainly include a program storage area that may store an operating system, an application program required for at least one function, and the like, and a data storage area; the storage data area may store data created according to the use of the smartphone, and the like. Further, the memory 733 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. The Memory 733 may be, for example, a Random Access Memory (RAM), a flash Memory, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a register, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including 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 above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A resource allocation method is applied to a mobile terminal, wherein an operating system and one or more application programs run on the mobile terminal, and the method comprises the following steps:
the operating system receives a scene data packet sent by the running target application program, wherein the scene data packet comprises an application type identifier and a key performance parameter of the target application program;
the operating system determines a performance improvement strategy of the target application program according to the application type identifier and the key performance parameter;
and the operating system adjusts the distribution of the system resources of the target application program according to the performance improvement strategy.
2. The method of claim 1, wherein the operating system comprises a management module and a plurality of policy modules, each policy module for determining a performance enhancement policy for an application of the at least one application of the same application type; the operating system determines a performance improvement policy of the target application program according to the application type identifier and the key performance parameter, and the method comprises the following steps:
the management module determines the application type identifier and the key performance parameter in the scene data packet;
the management module determines a policy module corresponding to the application type identifier in the plurality of policy modules;
and the strategy module determines a performance improvement strategy of the target application program according to the key performance parameters.
3. The method of claim 2, wherein the scene data packet includes a data format identifier; the determining, by the management module, the application type identifier and the key performance parameter in the scene data packet includes:
and the management module analyzes the scene data packet according to the data format indicated by the data format identifier to determine the application type identifier and the key performance parameter.
4. The method of claim 2 or 3, wherein the determining, by the policy module, a performance-boosting policy for the target application based on the key performance parameter comprises:
the strategy module determines the resources related to the key performance parameters as system resources to be adjusted; determining the adjustment quantity of the system resource to be adjusted according to the key performance parameter, and generating a performance improvement strategy of the target application program according to the adjustment quantity; or,
the strategy module determines the parameter type and the parameter value interval of the key performance parameter, determines a performance improvement strategy packet corresponding to the parameter type, and determines a performance improvement strategy applicable to the parameter value interval in the performance improvement strategy packet by taking the parameter value interval as a query identifier.
5. The method of claim 1, wherein the operating system comprises a management module and a policy module; the operating system determines a performance improvement policy of the target application program according to the application type identifier and the key performance parameter, and the method comprises the following steps:
the strategy module acquires the application type identification and the key performance parameter in the scene data packet;
the strategy module determines the system resource to be adjusted corresponding to the application type identification;
and the strategy module determines a performance improvement strategy of the target application program according to the system resource to be adjusted and the key performance parameter.
6. The method of claim 5, wherein the policy module determines a performance enhancement policy for the target application based on the system resource to be adjusted and the key performance parameter, comprising:
the strategy module determines the adjustment amount of the system resource to be adjusted according to the parameter related to the system resource to be adjusted in the key performance parameters;
and the strategy module generates a performance improvement strategy according to the adjustment quantity and determines that the generated performance improvement strategy is the performance improvement strategy of the target application program.
7. The method of any of claims 1-6, wherein a predetermined data channel is included between the target application and the operating system; the operating system receives a scene data packet sent by the running target application program, and the scene data packet comprises: and the operating system receives the scene data packet sent by the running target application program through the preset data channel.
8. A resource allocation device is applied to a mobile terminal, an operating system and one or more application programs run on the mobile terminal, the resource allocation device comprises a processing unit and a communication unit,
the processing unit is used for receiving a scene data packet sent by the running target application program through the communication unit, wherein the scene data packet comprises an application type identifier and a key performance parameter of the target application program; and a performance improvement policy for determining the target application program according to the application type identifier and the key performance parameter; and adjusting allocation of system resources of the target application according to the performance enhancement policy.
9. A mobile terminal comprising a processor, memory, a communications interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-7, the computer comprising a mobile terminal.
CN201710640906.3A 2017-07-31 2017-07-31 Resource allocation method and related product Active CN107450988B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201710640906.3A CN107450988B (en) 2017-07-31 2017-07-31 Resource allocation method and related product
EP18186162.6A EP3438825A1 (en) 2017-07-31 2018-07-27 Method for resource allocation and terminal device
PCT/CN2018/097514 WO2019024800A1 (en) 2017-07-31 2018-07-27 Method for resource allocation and terminal device
US16/049,081 US11016812B2 (en) 2017-07-31 2018-07-30 Method for resource allocation and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710640906.3A CN107450988B (en) 2017-07-31 2017-07-31 Resource allocation method and related product

Publications (2)

Publication Number Publication Date
CN107450988A true CN107450988A (en) 2017-12-08
CN107450988B CN107450988B (en) 2019-12-27

Family

ID=60490019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710640906.3A Active CN107450988B (en) 2017-07-31 2017-07-31 Resource allocation method and related product

Country Status (1)

Country Link
CN (1) CN107450988B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446178A (en) * 2018-03-05 2018-08-24 北京小米移动软件有限公司 Optimize the method and device of interim card
CN108647051A (en) * 2018-03-13 2018-10-12 广东欧珀移动通信有限公司 Optimisation strategy acquisition methods, providing method, device and equipment
WO2019024800A1 (en) * 2017-07-31 2019-02-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
WO2019042171A1 (en) * 2017-08-31 2019-03-07 Oppo广东移动通信有限公司 Resource allocation method and product related thereto
CN111144509A (en) * 2019-12-31 2020-05-12 青岛海尔科技有限公司 Method, device and computer for classifying system application programs
CN113127188A (en) * 2019-12-31 2021-07-16 华为技术有限公司 Performance optimization method and electronic equipment
US11182210B2 (en) 2017-07-31 2021-11-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN116055443A (en) * 2022-05-16 2023-05-02 荣耀终端有限公司 Method for identifying social scene, electronic equipment and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2466469A2 (en) * 2010-12-14 2012-06-20 Samsung Electronics Co., Ltd. Apparatus and method for dynamically reconfiguring state of application program in a many-core system
CN103430151A (en) * 2012-07-06 2013-12-04 华为终端有限公司 Method and apparatus for configuring resource
US20150067321A1 (en) * 2013-08-30 2015-03-05 Samsung Electronics Co., Ltd. Method of changing algorithm and electronic device therefor
US20150339171A1 (en) * 2010-06-30 2015-11-26 Ati Technologies Ulc Dynamic feedback load balancing
CN106020987A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Method and device for determining kernel running configurations in processor
CN106095592A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 A kind of prospect application scenarios synchronous method and device, system
CN106104487A (en) * 2014-03-27 2016-11-09 国际商业机器公司 The hardware counter of the utilization rate in tracking multi-threaded computer system
CN106549880A (en) * 2016-11-25 2017-03-29 珠海市魅族科技有限公司 A kind of resource allocation methods and terminal unit of terminal
CN106874168A (en) * 2017-01-12 2017-06-20 北京奇虎科技有限公司 Determine method, device and the mobile terminal of application program runnability

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150339171A1 (en) * 2010-06-30 2015-11-26 Ati Technologies Ulc Dynamic feedback load balancing
EP2466469A2 (en) * 2010-12-14 2012-06-20 Samsung Electronics Co., Ltd. Apparatus and method for dynamically reconfiguring state of application program in a many-core system
CN103430151A (en) * 2012-07-06 2013-12-04 华为终端有限公司 Method and apparatus for configuring resource
US20150067321A1 (en) * 2013-08-30 2015-03-05 Samsung Electronics Co., Ltd. Method of changing algorithm and electronic device therefor
CN106104487A (en) * 2014-03-27 2016-11-09 国际商业机器公司 The hardware counter of the utilization rate in tracking multi-threaded computer system
CN106020987A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Method and device for determining kernel running configurations in processor
CN106095592A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 A kind of prospect application scenarios synchronous method and device, system
CN106549880A (en) * 2016-11-25 2017-03-29 珠海市魅族科技有限公司 A kind of resource allocation methods and terminal unit of terminal
CN106874168A (en) * 2017-01-12 2017-06-20 北京奇虎科技有限公司 Determine method, device and the mobile terminal of application program runnability

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11182210B2 (en) 2017-07-31 2021-11-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
WO2019024800A1 (en) * 2017-07-31 2019-02-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
WO2019042171A1 (en) * 2017-08-31 2019-03-07 Oppo广东移动通信有限公司 Resource allocation method and product related thereto
CN108446178A (en) * 2018-03-05 2018-08-24 北京小米移动软件有限公司 Optimize the method and device of interim card
CN108647051B (en) * 2018-03-13 2021-03-09 Oppo广东移动通信有限公司 Optimization strategy obtaining method, providing method, device and equipment
CN108829453A (en) * 2018-03-13 2018-11-16 广东欧珀移动通信有限公司 Configuration method, device, terminal and the storage medium of sensor
CN108647051A (en) * 2018-03-13 2018-10-12 广东欧珀移动通信有限公司 Optimisation strategy acquisition methods, providing method, device and equipment
AU2019233201B2 (en) * 2018-03-13 2021-12-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Resource configuration method and apparatus, terminal, and storage medium
US11513820B2 (en) 2018-03-13 2022-11-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation, terminal, and computer-readable storage medium
CN111144509A (en) * 2019-12-31 2020-05-12 青岛海尔科技有限公司 Method, device and computer for classifying system application programs
CN113127188A (en) * 2019-12-31 2021-07-16 华为技术有限公司 Performance optimization method and electronic equipment
CN111144509B (en) * 2019-12-31 2023-11-28 青岛海尔科技有限公司 Method, device and computer for classifying system application programs
CN116055443A (en) * 2022-05-16 2023-05-02 荣耀终端有限公司 Method for identifying social scene, electronic equipment and computer readable storage medium
CN116055443B (en) * 2022-05-16 2023-11-14 荣耀终端有限公司 Method for identifying social scene, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN107450988B (en) 2019-12-27

Similar Documents

Publication Publication Date Title
CN107426432B (en) Resource allocation method and Related product
CN107547746B (en) Resource allocation method and related product
CN107577533B (en) Resource allocation method and related product
CN107483725A (en) Resource allocation method and Related product
CN107450988B (en) Resource allocation method and related product
CN107479970B (en) Resource allocation method and related product
WO2019047709A1 (en) Resource configuration method and related product
CN107547745B (en) Resource allocation method and related product
WO2019042180A1 (en) Resource allocation method and related product
WO2019042171A1 (en) Resource allocation method and product related thereto
US11698815B2 (en) Method for resource allocation and related products
CN107528976B (en) Resource allocation method and related product
CN107517306B (en) Resource allocation method and related product
CN107807852B (en) Application program performance control method, device and computer readable storage medium
US11016812B2 (en) Method for resource allocation and terminal device
CN107797868B (en) Resource adjusting method and device
CN107832142B (en) Resource allocation method and equipment for application program
US11182210B2 (en) Method for resource allocation and terminal device
CN108536480B (en) Input method configuration method and related product
CN107832141A (en) Application program progress control method and equipment
WO2019047708A1 (en) Resource configuration method and related product
CN107786738B (en) Network control method and equipment
CN107479972A (en) Resource allocation method and Related product
CN107577532B (en) Resource allocation method and Related product
CN107528977B (en) Resource allocation method and related product

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1247695

Country of ref document: HK

CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18 Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant