WO2019072180A1 - 应用程序的资源配置方法及设备 - Google Patents

应用程序的资源配置方法及设备 Download PDF

Info

Publication number
WO2019072180A1
WO2019072180A1 PCT/CN2018/109534 CN2018109534W WO2019072180A1 WO 2019072180 A1 WO2019072180 A1 WO 2019072180A1 CN 2018109534 W CN2018109534 W CN 2018109534W WO 2019072180 A1 WO2019072180 A1 WO 2019072180A1
Authority
WO
WIPO (PCT)
Prior art keywords
performance data
target
performance
mobile terminal
application
Prior art date
Application number
PCT/CN2018/109534
Other languages
English (en)
French (fr)
Inventor
莫瑞宏
林志泳
刘美
张俊
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019072180A1 publication Critical patent/WO2019072180A1/zh

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of mobile terminal technologies, and in particular, to a resource configuration method and device for an application.
  • the embodiment of the present application provides a resource configuration method and device for an application, which can improve the running performance of the preset internal running scenario of the target application, reduce power consumption, balance resources, and improve endurance.
  • an embodiment of the present application provides a resource configuration method of an application, including:
  • the server receives multiple performance data from multiple mobile terminals, and each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application;
  • the server selects target performance data that meets a preset performance quality condition from the plurality of performance data
  • the server sends the target performance data to the target mobile terminal, where the target performance data is used by the target mobile terminal according to the system resource configuration in the target performance data when the preset internal running scenario of the target application is run. Record the configuration of the adjustment system resources.
  • the embodiment of the present application provides a resource configuration method for an application, including:
  • the target mobile terminal receives target performance data from the server, where the target performance data is performance data selected by the server from a plurality of performance data that meets preset performance quality conditions, the multiple performance data being from multiple mobile terminals
  • Each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application;
  • the target mobile terminal When the target mobile terminal runs the preset internal running scenario of the target application, the target mobile terminal adjusts the configuration of the system resource according to the system resource configuration record in the target performance data.
  • an embodiment of the present application provides a server, including a receiving unit, a selecting unit, and a sending unit, where
  • the receiving unit is configured to receive multiple performance data from multiple mobile terminals, where each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application;
  • the selecting unit is configured to select, from the plurality of performance data, target performance data that meets a preset performance quality condition
  • the sending unit is configured to send the target performance data to the target mobile terminal, where the target performance data is used by the target mobile terminal when running a preset internal running scenario of the target application, according to the target performance data.
  • the system resource configuration record adjusts the configuration of system resources.
  • an embodiment of the present application provides a target mobile terminal, including a receiving unit and an adjusting unit, where
  • the receiving unit is configured to receive target performance data from a server, where the target performance data is performance data that is selected by the server from a plurality of performance data that meets a preset performance quality condition, where the multiple performance data is from a plurality of mobile terminals, each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application;
  • the adjusting unit is configured to adjust a configuration of the system resource according to the system resource configuration record in the target performance data when the preset internal running scenario of the target application is run.
  • an embodiment of the present application provides a server, including a processor, a memory, and one or more programs, where the one or more programs are stored in the memory and configured by the processor. Executing, the program includes instructions for performing the steps in any of the methods of the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a target mobile terminal, including a processor, a memory, and one or more programs, where the one or more programs are stored in the memory, and configured by the Executed by the processor, the program includes instructions for performing the steps in any of the methods of the second aspect of the embodiments of the present application.
  • the embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute as implemented in the present application.
  • an embodiment of the present application provides a computer program product, where the computer program product includes a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute Apply some or all of the steps described in the first aspect of the embodiment and/or any of the methods of the second aspect.
  • the computer program product can be a software installation package.
  • the server first receives multiple performance data from multiple mobile terminals, and each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application. And secondly, selecting target performance data that satisfies the preset performance quality condition from the plurality of performance data, and again, transmitting the target performance data to the target mobile terminal, and when the target mobile terminal runs the preset internal running scenario of the target application, according to the target.
  • the system resource configuration record in the performance data adjusts the configuration of system resources.
  • the server can filter the target performance data that meets the preset performance quality condition and send the target performance data to the target mobile terminal, thereby facilitating the target mobile terminal to accurately and quickly configure the system resources when running the preset internal running scenario.
  • Improve the running performance which is beneficial to improve the running performance of the preset internal running scenario of the target application and improve the user experience.
  • targeted optimization of internal scenarios can avoid high power consumption problems caused by overall optimization, which is beneficial to reducing power consumption, resource balance and improving endurance.
  • 1A is a schematic diagram of a program running space of a smart phone
  • 1B is a system architecture diagram of an Android system
  • FIG. 2 is a schematic flowchart of a resource configuration method of an application according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a resource configuration method of an application disclosed in an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a resource configuration method of an application program disclosed in an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a target mobile terminal disclosed in an embodiment of the present application.
  • FIG. 7 is a block diagram of a functional unit of a server disclosed in an embodiment of the present application.
  • FIG. 8 is a structural block diagram of a functional unit of a target mobile terminal disclosed in an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a smart phone disclosed in an embodiment of the present application.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • the mobile terminal involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms of user devices (User Equipment, UE), mobile station (MS), terminal device, and the like.
  • user devices User Equipment, UE
  • MS mobile station
  • terminal device terminal device, and the like.
  • the operating system involved in the embodiments of the present invention is a software system that uniformly manages hardware resources and provides a service interface to users.
  • a mobile terminal such as a smart phone is generally provided with a program running space, and the program running space includes a user space and an operating system space, wherein the user space runs one or more applications, and the one or more applications
  • the program is a target application installed by the mobile terminal, and the operating system space runs an operating system with the mobile terminal.
  • the mobile terminal can specifically run the Android Android system, the mobile operating system iOS developed by Apple, etc., and is not limited herein.
  • the mobile terminal runs an Android system as an example, and the corresponding user space includes an application layer in the Android system, and the operating system space may include an application framework layer in the Android system.
  • the application layer includes various types of applications that directly interact with the user, or a service program written in the Java language and running in the background. For example, programs that implement common basic functions on smartphones, such as Short Messaging Service (SMS) text messages, phone dialing, picture browsers, calendars, games, maps, World Wide Web (Web) browsers, etc. Programs, as well as other applications developed by developers.
  • SMS Short Messaging Service
  • the application framework layer provides a set of libraries needed to develop Android applications, which can be used to reuse components, or to extend personalization through inheritance.
  • the system runtime layer is the support of the application framework, providing services for the various components in the Android system.
  • the system runtime layer consists of the system class library and the Android runtime.
  • the Android runtime consists of a core library and a Dalvik virtual machine.
  • the Linux kernel layer is used to implement core functions such as hardware device driver, process and memory management, network protocol stack, power management, and wireless communication.
  • the target application runs in the user space.
  • it wants to perform operations such as sending data and reading disk resources on the network, it must be completed by calling standard interface functions provided by the operating system, such as write and send.
  • Call the code of the operating system space to complete the user's request operation.
  • the operating system of the mobile terminal generally improves the system resource configuration, such as increasing the CPU frequency, to accelerate the running performance of the target application.
  • the embodiment of the present application provides a resource configuration method for a target application of a mobile terminal, where the server first receives multiple performance data from multiple mobile terminals, and each performance data includes a corresponding mobile terminal.
  • the system resource configuration record when running the preset internal running scenario of the target application, and secondly, selecting target performance data that satisfies the preset performance quality condition from the plurality of performance data, and again, transmitting the target performance data to the target mobile terminal, the target
  • the configuration of the system resource is adjusted according to the system resource configuration record in the target performance data.
  • the server can filter the target performance data that meets the preset performance quality condition and send the target performance data to the target mobile terminal, thereby facilitating the target mobile terminal to accurately and quickly configure the system resources when running the preset internal running scenario.
  • Improve the running performance which is beneficial to improve the running performance of the preset internal running scenario of the target application and improve the user experience.
  • the optimization of the internal scene can avoid the high power consumption caused by the overall optimization, which is beneficial to reducing power consumption, resource balance and improving endurance.
  • FIG. 2 is a schematic flowchart of a resource configuration method of an application, which is applied to a server, and includes:
  • the server receives multiple performance data from multiple mobile terminals, where each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application.
  • the target application may be, for example, a game application, an instant messaging application, a camera application, a shopping application, a video application, and the like, which are not limited herein.
  • the preset internal running scenarios of different applications are generally different.
  • the game application is a preset internal running scenario in the game application, for example, a group battle scene, a mall scene, a startup scene, etc., Be the only limit.
  • the system resource configuration record may specifically include configuration parameters of various system resources such as a CPU, and/or a GPU, and/or a storage resource, and/or a network resource, and/or a display resource, such as the number of enabled CPUs and each
  • the configuration information of the CPU's computing resources, etc. is not limited here.
  • the server selects target performance data that meets a preset performance quality condition from the plurality of performance data.
  • the server sends the target performance data to a target mobile terminal, where the target performance data is used by the target mobile terminal when running a preset internal running scenario of the target application, according to the system in the target performance data.
  • the resource configuration record adjusts the configuration of system resources.
  • the mobile terminal can determine a preset internal running scenario by using multiple detection modes, for example, based on scenario parameter analysis during the running process, the scenario parameter may include information such as interface content.
  • the server first receives multiple performance data from multiple mobile terminals, and each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application. And secondly, selecting target performance data that satisfies the preset performance quality condition from the plurality of performance data, and again, transmitting the target performance data to the target mobile terminal, and when the target mobile terminal runs the preset internal running scenario of the target application, according to the target.
  • the system resource configuration record in the performance data adjusts the configuration of system resources.
  • the server can filter the target performance data that meets the preset performance quality condition and send the target performance data to the target mobile terminal, thereby facilitating the target mobile terminal to accurately and quickly configure the system resources when running the preset internal running scenario.
  • Improve the running performance which is beneficial to improve the running performance of the preset internal running scenario of the target application and improve the user experience.
  • targeted optimization of internal scenarios can avoid high power consumption problems caused by overall optimization, which is beneficial to reducing power consumption, resource balance and improving endurance.
  • the performance data further includes a key performance parameter of the mobile terminal when running a preset internal running scenario of the target application; the server selects the preset performance from the plurality of performance data.
  • the target performance data of the quality condition includes: the server determines a performance evaluation value of the corresponding mobile terminal according to a key performance parameter of each performance data; and the server selects a performance evaluation value from the plurality of performance data that is greater than or equal to a pre- Set the target performance data.
  • the key performance parameter includes at least one of the following parameters: fluency, picture quality, and occupancy.
  • the performance evaluation value can be calculated by the following formula:
  • i is an integer greater than or equal to 1.
  • is the performance evaluation value
  • k1 to ki are the detection values of the i key performance parameters
  • K1 to K are the reference values of the i key performance parameters.
  • the frame rate reference value is 60 frames/second. , the reference value can be set in advance.
  • the server can accurately determine the performance evaluation value of the mobile terminal corresponding to each performance data based on the key performance parameters in the performance data. Because the computing power of the server is strong and the real-time performance is high, the server can be accurately screened and run in real time. The performance data with better performance is beneficial to improve the real-time and accuracy of performance data filtering, and improve the speed and accuracy of optimizing the running performance of the internal running scenario of the target application.
  • the performance data further includes a performance evaluation value when each mobile terminal runs a preset internal running scenario of the target application; the server selects the preset performance from the plurality of performance data.
  • the target performance data of the quality condition includes: the server selecting, from the plurality of performance data, target performance data that the performance evaluation value is greater than or equal to a preset value.
  • each mobile terminal first calculates the performance evaluation value when the preset internal running scenario is run by itself, and the fusion is sent to the server together in the performance data, and the method is applicable to
  • the big data scenario helps the server to expand the sample capacity as much as possible, so as to filter out more targeted performance data to meet different target mobile terminals, and improve the adaptability and comprehensiveness of performance optimization.
  • the target performance data may further include an effective running time information, where the effective running time information is used to indicate that the target mobile terminal performs adjustment of system resources within a time period corresponding to the effective running time.
  • FIG. 3 is a schematic flowchart of a resource configuration method of an application according to an embodiment of the present disclosure, which is applied to a target mobile terminal. As shown, the method includes:
  • the target mobile terminal receives target performance data from a server, where the target performance data is performance data that is selected by the server from multiple performance data that meets a preset performance quality condition, where the multiple performance data is from
  • each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application.
  • the server first receives multiple performance data from multiple mobile terminals, and each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application. And secondly, selecting target performance data that satisfies the preset performance quality condition from the plurality of performance data, and again, transmitting the target performance data to the target mobile terminal, and when the target mobile terminal runs the preset internal running scenario of the target application, according to the target.
  • the system resource configuration record in the performance data adjusts the configuration of system resources.
  • the server can filter the target performance data that meets the preset performance quality condition and send the target performance data to the target mobile terminal, thereby facilitating the target mobile terminal to accurately and quickly configure the system resources when running the preset internal running scenario.
  • Improve the running performance which is beneficial to improve the running performance of the preset internal running scenario of the target application and improve the user experience.
  • targeted optimization of internal scenarios can avoid high power consumption problems caused by overall optimization, which is beneficial to reducing power consumption, resource balance and improving endurance.
  • the performance data further includes a key performance parameter of each mobile terminal when running a preset internal running scenario of the target application; the preset performance quality condition is that the performance evaluation value of the performance data is greater than Or equal to the preset value, the performance evaluation value of each performance data is determined by the server according to the key performance parameter of the performance data.
  • the server can accurately determine the performance evaluation value of the mobile terminal corresponding to each performance data based on the key performance parameters in the performance data. Because the computing power of the server is strong and the real-time performance is high, the server can be accurately screened and run in real time. The performance data with better performance is beneficial to improve the real-time and accuracy of performance data filtering, and improve the speed and accuracy of optimizing the running performance of the internal running scenario of the target application.
  • the performance data further includes a performance evaluation value when each mobile terminal runs a preset internal running scenario of the target application; the preset performance quality condition refers to a performance evaluation value of the performance data is greater than Or equal to the preset value, the performance evaluation value of each performance data is determined by the corresponding mobile terminal according to the key performance parameter and sent to the server.
  • each mobile terminal first calculates the performance evaluation value when the preset internal running scenario is run by itself, and the fusion is sent to the server together in the performance data, and the method is applicable to
  • the big data scenario helps the server to expand the sample capacity as much as possible, so as to filter out more targeted performance data to meet different target mobile terminals, and improve the adaptability and comprehensiveness of performance optimization.
  • the target performance data may further include an effective running time; the target mobile terminal adjusts a configuration of the system resource according to the system resource configuration record in the target performance data, including: the target mobile terminal is During the period corresponding to the effective running time, the configuration of the system resource is adjusted according to the system resource configuration record in the target performance data.
  • FIG. 4 is a schematic flowchart of a resource configuration method of an application program, which is applied to a mobile terminal, and is executed on the mobile terminal, which is consistent with the embodiment shown in FIG.
  • the scene data packet includes scene information of the target application and an adjustment amount of a system resource to be adjusted, and the scene information includes a scene identifier.
  • the resource configuration method of this application includes:
  • the server receives multiple performance data from multiple mobile terminals, and each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application.
  • the server selects target performance data that meets a preset performance quality condition from the plurality of performance data.
  • the server sends the target performance data to a target mobile terminal, where the target performance data is used by the target mobile terminal when running a preset internal running scenario of the target application, according to the system in the target performance data.
  • the resource configuration record adjusts the configuration of system resources.
  • the target mobile terminal receives target performance data from a server, where the target performance data is performance data that is selected by the server from multiple performance data that meets a preset performance quality condition, where the multiple performance data is from
  • each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application.
  • the server first receives multiple performance data from multiple mobile terminals, and each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application. And secondly, selecting target performance data that satisfies the preset performance quality condition from the plurality of performance data, and again, transmitting the target performance data to the target mobile terminal, and when the target mobile terminal runs the preset internal running scenario of the target application, according to the target.
  • the system resource configuration record in the performance data adjusts the configuration of system resources.
  • the server can filter the target performance data that meets the preset performance quality condition and send the target performance data to the target mobile terminal, thereby facilitating the target mobile terminal to accurately and quickly configure the system resources when running the preset internal running scenario.
  • Improve the running performance which is beneficial to improve the running performance of the preset internal running scenario of the target application and improve the user experience.
  • targeted optimization of internal scenarios can avoid high power consumption problems caused by overall optimization, which is beneficial to reducing power consumption, resource balance and improving endurance.
  • FIG. 5 is a schematic structural diagram of a server provided by the embodiment of the present application.
  • the server runs one or more applications.
  • an operating system as shown, the server includes a processor, a memory, a transceiver, and one or more programs, wherein the one or more programs are different from the one or more applications, and the one Or a plurality of programs are stored in the memory and configured to be executed by the processor, the program comprising instructions for performing the following steps;
  • each performance data including a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application;
  • Target performance data is used by the target mobile terminal to perform a system resource configuration record adjustment system according to the target performance data when running a preset internal running scenario of the target application program The configuration of the resource.
  • the server first receives multiple performance data from multiple mobile terminals, and each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application. And secondly, selecting target performance data that satisfies the preset performance quality condition from the plurality of performance data, and again, transmitting the target performance data to the target mobile terminal, and when the target mobile terminal runs the preset internal running scenario of the target application, according to the target.
  • the system resource configuration record in the performance data adjusts the configuration of system resources.
  • the server can filter the target performance data that meets the preset performance quality condition and send the target performance data to the target mobile terminal, thereby facilitating the target mobile terminal to accurately and quickly configure the system resources when running the preset internal running scenario.
  • Improve the running performance which is beneficial to improve the running performance of the preset internal running scenario of the target application and improve the user experience.
  • targeted optimization of internal scenarios can avoid high power consumption problems caused by overall optimization, which is beneficial to reducing power consumption, resource balance and improving endurance.
  • the performance data further includes a key performance parameter of the mobile terminal when running a preset internal running scenario of the target application; and selecting, from the plurality of performance data, the preset performance is met.
  • the instructions in the program are specifically configured to: determine a performance evaluation value of the corresponding mobile terminal according to a key performance parameter of each performance data; and select from the plurality of performance data The performance evaluation value is greater than or equal to the target performance data of the preset value.
  • the performance data further includes a performance evaluation value when each mobile terminal runs a preset internal running scenario of the target application; and the selected performance is selected from the plurality of performance data.
  • the instructions in the program are specifically configured to: select, from the plurality of performance data, target performance data whose performance evaluation value is greater than or equal to a preset value.
  • FIG. 6 is a schematic structural diagram of a target mobile terminal according to an embodiment of the present application, where the target mobile terminal runs one or a plurality of applications and operating systems, as shown, the target mobile terminal comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are different from the one or more applications a program, and the one or more programs are stored in the memory and configured to be executed by the processor, the program comprising instructions for performing the following steps;
  • the target performance data is performance data selected by the server from a plurality of performance data that meets preset performance quality conditions, the plurality of performance data being from a plurality of mobile terminals, each The performance data includes a system resource configuration record of the corresponding mobile terminal when running the preset internal running scenario of the target application;
  • the configuration of the system resource is adjusted according to the system resource configuration record in the target performance data.
  • the server first receives multiple performance data from multiple mobile terminals, and each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application. And secondly, selecting target performance data that satisfies the preset performance quality condition from the plurality of performance data, and again, transmitting the target performance data to the target mobile terminal, and when the target mobile terminal runs the preset internal running scenario of the target application, according to the target.
  • the system resource configuration record in the performance data adjusts the configuration of system resources.
  • the server can filter the target performance data that meets the preset performance quality condition and send the target performance data to the target mobile terminal, thereby facilitating the target mobile terminal to accurately and quickly configure the system resources when running the preset internal running scenario.
  • Improve the running performance which is beneficial to improve the running performance of the preset internal running scenario of the target application and improve the user experience.
  • targeted optimization of internal scenarios can avoid high power consumption problems caused by overall optimization, which is beneficial to reducing power consumption, resource balance and improving endurance.
  • the performance data further includes a key performance parameter of each mobile terminal when running a preset internal running scenario of the target application; the preset performance quality condition is that the performance evaluation value of the performance data is greater than Or equal to the preset value, the performance evaluation value of each performance data is determined by the server according to the key performance parameter of the performance data.
  • the performance data further includes a performance evaluation value when each mobile terminal runs a preset internal running scenario of the target application; the preset performance quality condition refers to a performance evaluation value of the performance data is greater than Or equal to the preset value, the performance evaluation value of each performance data is determined by the corresponding mobile terminal according to the key performance parameter and sent to the server.
  • Fig. 7 shows a block diagram of one possible functional unit composition of the server involved in the embodiment.
  • the server 700 includes a receiving unit 701, a selecting unit 702, and a sending unit 703, where
  • the receiving unit 701 is configured to receive multiple performance data from multiple mobile terminals, where each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application;
  • the selecting unit 702 is configured to select, from the plurality of performance data, target performance data that meets a preset performance quality condition
  • the sending unit 703 is configured to send the target performance data to the target mobile terminal, where the target performance data is used by the target mobile terminal according to the target performance data when running a preset internal running scenario of the target application.
  • the system resource configuration record in the system adjusts the configuration of system resources.
  • the server first receives multiple performance data from multiple mobile terminals, and each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application. And secondly, selecting target performance data that satisfies the preset performance quality condition from the plurality of performance data, and again, transmitting the target performance data to the target mobile terminal, and when the target mobile terminal runs the preset internal running scenario of the target application, according to the target.
  • the system resource configuration record in the performance data adjusts the configuration of system resources.
  • the server can filter the target performance data that meets the preset performance quality condition and send the target performance data to the target mobile terminal, thereby facilitating the target mobile terminal to accurately and quickly configure the system resources when running the preset internal running scenario.
  • Improve the running performance which is beneficial to improve the running performance of the preset internal running scenario of the target application and improve the user experience.
  • targeted optimization of internal scenarios can avoid high power consumption problems caused by overall optimization, which is beneficial to reducing power consumption, resource balance and improving endurance.
  • the performance data further includes a key performance parameter of the mobile terminal when running a preset internal running scenario of the target application; and selecting, from the plurality of performance data, the preset performance is met.
  • the selecting unit 702 is specifically configured to: determine a performance evaluation value of the corresponding mobile terminal according to a key performance parameter of each performance data; and select a performance evaluation value from the multiple performance data to be greater than Or target performance data equal to the preset value.
  • the performance data further includes a performance evaluation value when each mobile terminal runs a preset internal running scenario of the target application; and the selected performance is selected from the plurality of performance data.
  • the selecting unit 702 is specifically configured to: select, from the plurality of performance data, target performance data that the performance evaluation value is greater than or equal to a preset value.
  • the server described in the device embodiment of the present application is presented in the form of a functional unit.
  • the term "unit” as used herein shall be understood to mean the broadest possible meaning, and the object for implementing the functions described for each "unit” may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware.
  • a processor shared, dedicated or chipset
  • memory of the program combinatorial logic, and/or other suitable components that perform the functions described above.
  • the receiving unit 701 can be a receiver
  • the selecting unit 702 can be a processor
  • the sending unit 703 can be a transmitter.
  • Fig. 8 is a block diagram showing a possible functional unit composition of the target mobile terminal involved in the embodiment.
  • the target mobile terminal 800 includes a receiving unit 801 and an adjusting unit 802, where
  • the receiving unit 801 is configured to receive target performance data from a server, where the target performance data is performance data that is selected by the server from a plurality of performance data that meets a preset performance quality condition, where the multiple performance data is from For a plurality of mobile terminals, each performance data includes a system resource configuration record of the corresponding mobile terminal when the preset internal running scenario of the target application is run;
  • the adjusting unit 802 is configured to adjust a configuration of the system resource according to the system resource configuration record in the target performance data when the preset internal running scenario of the target application is run.
  • the server first receives multiple performance data from multiple mobile terminals, and each performance data includes a system resource configuration record of the corresponding mobile terminal when running a preset internal running scenario of the target application. And secondly, selecting target performance data that satisfies the preset performance quality condition from the plurality of performance data, and again, transmitting the target performance data to the target mobile terminal, and when the target mobile terminal runs the preset internal running scenario of the target application, according to the target.
  • the system resource configuration record in the performance data adjusts the configuration of system resources.
  • the server can filter the target performance data that meets the preset performance quality condition and send the target performance data to the target mobile terminal, thereby facilitating the target mobile terminal to accurately and quickly configure the system resources when running the preset internal running scenario.
  • Improve the running performance which is beneficial to improve the running performance of the preset internal running scenario of the target application and improve the user experience.
  • targeted optimization of internal scenarios can avoid high power consumption problems caused by overall optimization, which is beneficial to reducing power consumption, resource balance and improving endurance.
  • the performance data further includes a key performance parameter of each mobile terminal when running a preset internal running scenario of the target application; the preset performance quality condition is that the performance evaluation value of the performance data is greater than Or equal to the preset value, the performance evaluation value of each performance data is determined by the server according to the key performance parameter of the performance data.
  • the performance data further includes a performance evaluation value when each mobile terminal runs a preset internal running scenario of the target application; the preset performance quality condition refers to a performance evaluation value of the performance data is greater than Or equal to the preset value, the performance evaluation value of each performance data is determined by the corresponding mobile terminal according to the key performance parameter and sent to the server.
  • the target mobile terminal described in the device embodiment of the present application is presented in the form of a functional unit.
  • the term "unit” as used herein shall be understood to mean the broadest possible meaning, and the object for implementing the functions described for each "unit” may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware.
  • a processor shared, dedicated or chipset
  • memory of the program combinatorial logic, and/or other suitable components that perform the functions described above.
  • the receiving unit 801 can be a communication interface, and the adjusting unit 802 can be a processor.
  • FIG. 9 is a schematic structural diagram of a smart phone 900.
  • the smart phone 900 includes a housing 910, a touch display screen 920, a main board 930, a battery 940, and a sub-board 950.
  • the front panel 930 is provided with a front camera 931, a processor 932, a memory 933, a power management chip 934, and the like.
  • the sub-board is provided with a vibrator 951, an integrated sound chamber 952, a VOOC flash charging interface 953, and a fingerprint recognition module 954.
  • the smart phone 900 receives the target performance data from the server, where the target performance data is performance data that is selected by the server from a plurality of performance data that meets a preset performance quality condition, and the multiple performance data is from multiple a mobile terminal, each performance data includes a system resource configuration record of the corresponding mobile terminal when the preset internal running scenario of the target application is run; and the smart phone 900 runs the preset internal running scenario of the target application, according to the The system resource configuration record in the target performance data adjusts the configuration of the system resources.
  • the processor 932 is a control center of the smart phone, and connects various parts of the entire smart phone with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 933, and calling stored in the memory 933.
  • the data the various functions of the smartphone and the processing of the data, so that the overall monitoring of the smartphone.
  • the processor 932 may include one or more processing units; preferably, the processor 932 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the modem processor may also not be integrated into the processor 932.
  • the processor 932 can be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and field programmable. Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the memory 933 can be used to store software programs and modules, and the processor 932 executes various functional applications and data processing of the smartphone by running software programs and modules stored in the memory 933.
  • the memory 933 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function, and the like; the storage data area may store data created according to usage of the smartphone or the like.
  • the memory 933 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the memory 933 can be, for example, a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory (EPROM), and an electrically erasable memory.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • EEPROM Electrically erasable memory.
  • registers hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
  • the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to execute part or all of any of the methods described in the method embodiment.
  • the computer includes a mobile terminal.
  • the embodiment of the present application further provides a computer program product, comprising: a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute as described in the method embodiment Part or all of the steps of either method.
  • the computer program product can be a software installation package, the computer comprising a mobile terminal.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory.
  • a computer readable memory A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开了一种应用程序的资源配置方法及设备。方法包括:服务器接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;服务器从多个性能数据中选取满足预设性能质量条件的目标性能数据;服务器向目标移动终端发送目标性能数据,目标性能数据用于目标移动终端在运行目标应用程序的预设内部运行场景时,根据目标性能数据中的系统资源配置记录调整系统资源的配置。本申请实施例可以提高目标应用程序的预设内部运行场景的运行性能、降低功耗、资源均衡和提高续航能力。

Description

应用程序的资源配置方法及设备 技术领域
本申请涉及移动终端技术领域,具体涉及应用程序的资源配置方法及设备。
背景技术
随着智能手机相关技术的快速发展,越来越多的应用被安装在用户手机中,如阅读类应用、支付类应用、游戏类应用、音乐类应用等,人们的衣食住行已经与手机密不可分。
发明内容
本申请实施例提供了应用程序的资源配置方法及设备,可以提高目标应用程序的预设内部运行场景的运行性能、降低功耗、资源均衡和提高续航能力。
第一方面,本申请实施例提供一种应用程序的资源配置方法,包括:
服务器接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
所述服务器从所述多个性能数据中选取满足预设性能质量条件的目标性能数据;
所述服务器向目标移动终端发送所述目标性能数据,所述目标性能数据用于所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
第二方面,本申请实施例提供一种应用程序的资源配置方法,包括:
目标移动终端接收来自服务器的目标性能数据,所述目标性能数据是所述服务器从多个性能数据中选取的满足预设性能质量条件的性能数据,所述多个性能数据来自于多个移动终端,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
第三方面,本申请实施例提供一种服务器,包括接收单元、选取单元和发送单元,其中,
所述接收单元,用于接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
所述选取单元,用于从所述多个性能数据中选取满足预设性能质量条件的目标性能数据;
所述发送单元,用于向目标移动终端发送所述目标性能数据,所述目标性能数据用于所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
第三方面,本申请实施例提供一种目标移动终端,包括接收单元和调整单元,其中,
所述接收单元,用于接收来自服务器的目标性能数据,所述目标性能数据是所述服务器从多个性能数据中选取的满足预设性能质量条件的性能数据,所述多个性能数据来自于多个移动终端,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
所述调整单元,用于在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
第五方面,本申请实施例提供一种服务器,包括处理器、存储器以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。
第六方面,本申请实施例提供一种目标移动终端,包括处理器、存储器以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行本申请实施例第二方面任一方法中的步骤的指令。
第七方面,本申请实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如本申请实施例第一方面和/或第二方面任一方法中所描述的部分或全部步骤。
第八方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本申请实施例第一方面和/或第二方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
可以看出,本申请实施例中,服务器首先接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录,其次,从多个性能数据中选取满足预设性能质量条件的目标性能数据,再次,向目标移动终端发送目标性能数据,目标移动终端在运行目标应用程序的预设内部运行场景时,根据目标性能数据中的系统资源配置记录调整系统资源的配置。由于服务器能够筛选出满足预设性能质量条件的目标性能数据,并将该目标性能数据发送给目标移动终端,从而有利于引导目标移动终端在运行预设内部运行场景时准确快捷的配置系统资源以提升运行性能,即有利于提高目标应用程序的预设内部运行场景的运行性能,提高用户体验。此外,对内部场景进行针对性的优化,能够避免整体优化带来的高功耗问题,有利于降低功耗、资源均衡和提高续航能力。
附图说明
下面将对本申请实施例所涉及到的附图作简单地介绍。
图1A是一种智能手机的程序运行空间的示意图;
图1B是一种安卓系统的系统架构图;
图2是本申请实施例提供的一种应用程序的资源配置方法的流程示意图;
图3是本申请实施例公开的一种应用程序的资源配置方法的流程示意图;
图4是本申请实施例公开的一种应用程序的资源配置方法的流程示意图;
图5是本申请实施例公开的一种服务器的结构示意图;
图6是本申请实施例公开的一种目标移动终端的结构示意图;
图7是本申请实施例公开的一种服务器的功能单元组成框图;
图8是本申请实施例公开的一种目标移动终端的功能单元组成框图;
图9是本申请实施例公开的一种智能手机的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”等是用于区别不同 对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本申请实施例所涉及到的移动终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为移动终端。本发明实施例所涉及到的操作系统是对硬件资源进行统一管理,并向用户提供业务接口的软件系统。
如图1A所示,目前智能手机等移动终端一般设置有程序运行空间,该程序运行空间包括用户空间和操作系统空间,其中,用户空间运行有一个或多个应用程序,该一个或多个应用程序为移动终端安装的目标应用程序,操作系统空间运行有移动终端的操作系统。该移动终端具体可以运行安卓Android系统、苹果公司开发的移动操作系统iOS等,此处不做唯一限定。如图1B所示,以所述移动终端运行有Android系统为例,对应的用户空间包括该Android系统中的应用层(Applications),操作系统空间可以包括该Android系统中的应用程序框架层(Application Framework)、系统运行库层(包括系统运行库层Libraries和Android运行时Android Runtime)、Linux内核层(Linux Kernel)。其中,应用层上包括各类与用户直接交互的应用程序,或由Java语言编写的运行于后台的服务程序。例如,智能手机上实现的常见基本功能的程序,诸如短消息业务(Short Messaging Service,SMS)短信,电话拨号,图片浏览器,日历,游戏,地图,万维网(World Wide Web,Web)浏览器等程序,以及开发人员开发的其他应用程序。应用程序框架层提供开发Android应用程序所需的一系列类库,能够用于重用组件,也可以通过继承实现个性化的扩展。系统运行库层是应用程序框架的支撑,为Android系统中的各个组件提供服务。系统运行库层由系统类库和Android运行时构成。Android运行时包含核心库和Dalvik虚拟机两部分。Linux内核层用于实现硬件设备驱动,进程和内存管理,网络协议栈,电源管理,无线通信等核心功能。
常规设计中,目标应用程序运行在用户空间的,当它要执行网络发送数据、读取磁盘资源等动作时,必须通过调用write、send等由操作系统提供的标准接口函数来完成,即由CPU调用操作系统空间的代码来完成用户的请求操作。移动终端的操作系统一般是整体性的提高系统资源配置如提高CPU主频等来加速目标应用程序的运行性能。
针对上述情况,本申请实施例提出一种针对移动终端的目标应用程序的资源配置方法,该方法中,服务器首先接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录,其次,从多个性能数据中选取满足预设性能质量条件的目标性能数据,再次,向目标移动终端发送目标性能数据,目标移动终端在运行目标应用程序的预设内部运行场景时,根据目标性能数据中的系统资源配置记录调整系统资源的配置。由于服务器能够筛选出满足预设性能质量条件的目标性能数据,并将该目标性能数据发送给目标移动终端,从而有利于引导目标移动终端在运行预设内部运行场景时准确快捷的配置系统资源以提升运行性能,即有利于提高目标应用程序的预设内部运行场景的运行性能,提高用户体验。此外,对内部场景进行针 对性的优化,能够避免整体优化带来的高功耗问题,有利于降低功耗、资源均衡和提高续航能力。
下面结合附图对本申请实施例进行介绍。
请参阅图2,图2是本申请实施例提供了一种应用程序的资源配置方法的流程示意图,应用于服务器,方法包括:
S201,所述服务器接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录。
其中,所述目标应用程序例如可以是游戏应用程序、即时通讯应用程序、相机应用程序、购物应用程序、视频类应用程序等,此处不做唯一限定。
其中,不同应用程序的预设内部运行场景一般是不同的,以游戏应用程序为例,游戏应用程序中的预设内部运行场景例如可以是团战场景、商城场景、启动场景等,此处不做唯一限定。
其中,系统资源配置记录具体可以包括CPU、和/或GPU、和/或存储资源、和/或网络资源、和/或显示资源等各类系统资源的配置参数,如CPU的启用个数以及每个CPU的计算资源的配置信息,等,此处不做唯一限定。
S202,所述服务器从所述多个性能数据中选取满足预设性能质量条件的目标性能数据。
S203,所述服务器向目标移动终端发送所述目标性能数据,所述目标性能数据用于所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
具体实现中,移动终端可以通过多种检测方式确定预设内部运行场景,如基于运行过程中的场景参数分析,场景参数可以包括界面内容等信息。
可以看出,本申请实施例中,服务器首先接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录,其次,从多个性能数据中选取满足预设性能质量条件的目标性能数据,再次,向目标移动终端发送目标性能数据,目标移动终端在运行目标应用程序的预设内部运行场景时,根据目标性能数据中的系统资源配置记录调整系统资源的配置。由于服务器能够筛选出满足预设性能质量条件的目标性能数据,并将该目标性能数据发送给目标移动终端,从而有利于引导目标移动终端在运行预设内部运行场景时准确快捷的配置系统资源以提升运行性能,即有利于提高目标应用程序的预设内部运行场景的运行性能,提高用户体验。此外,对内部场景进行针对性的优化,能够避免整体优化带来的高功耗问题,有利于降低功耗、资源均衡和提高续航能力。
在一个可能的示例中,所述性能数据还包括所述移动终端在运行目标应用程序的预设内部运行场景时的关键性能参数;所述服务器从所述多个性能数据中选取满足预设性能质量条件的目标性能数据,包括:所述服务器根据每个性能数据的关键性能参数确定对应的移动终端的性能评价值;所述服务器从所述多个性能数据中选取性能评价值大于或等于预设值的目标性能数据。
其中,所述关键性能参数包括以下参数中的至少一种:流畅度、画面质量、占率。
具体实现中,性能评价值可以由如下公式计算得到:
α=(k1/K1)+(k2/K2)+...+(ki/Ki),i为大于等于1的整数。
其中,α为性能评价值,k1至ki表示i种关键性能参数的检测值,K1至K表示i种关键性能参数的基准值,以帧率为例,帧率的基准值为60帧/秒,该基准值可以预先进行设置。
可见,本示例中,服务器能够基于性能数据中的关键性能参数准确确定每个性能数据 对应的移动终端的性能评价值,由于服务器的计算能力较强,实时性高,从而可以实时准确筛选出运行性能较佳的性能数据,有利于提高性能数据筛选的实时性和准确度,提高优化目标应用程序的内部运行场景的运行性能的速度和精确度。
在一个可能的示例中,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的性能评价值;所述服务器从所述多个性能数据中选取满足预设性能质量条件的目标性能数据,包括:所述服务器从所述多个性能数据中选取性能评价值大于或等于预设值的目标性能数据。
可见,本示例中,利用分布式计算的优势,由每个移动终端自己先计算出自身运行预设内部运行场景时的性能评价值,并融合在性能数据中一起发给服务器,此方法适用于大数据场景,即有利于服务器尽可能扩大样本容量,从而筛选出更多符合要求的目标性能数据,以适配不同的目标移动终端,提高性能优化的适配能力和全面性。
在一个可能的示例中,所述目标性能数据还可以包括有效运行时长,该有效运行时长信息用于指示所述目标移动终端在所述有效运行时长对应的时段内进行系统资源的调整。
可见,本示例中,通过有效运行时长避免目标移动终端配置系统资源超时的情况发生,有利于提高目标移动终端配置系统资源的可靠性和稳定性。
与所述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种应用程序的资源配置方法的流程示意图,应用于目标移动终端。如图所示,方法包括:
S301,所述目标移动终端接收来自服务器的目标性能数据,所述目标性能数据是所述服务器从多个性能数据中选取的满足预设性能质量条件的性能数据,所述多个性能数据来自于多个移动终端,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录。
S302,所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
可以看出,本申请实施例中,服务器首先接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录,其次,从多个性能数据中选取满足预设性能质量条件的目标性能数据,再次,向目标移动终端发送目标性能数据,目标移动终端在运行目标应用程序的预设内部运行场景时,根据目标性能数据中的系统资源配置记录调整系统资源的配置。由于服务器能够筛选出满足预设性能质量条件的目标性能数据,并将该目标性能数据发送给目标移动终端,从而有利于引导目标移动终端在运行预设内部运行场景时准确快捷的配置系统资源以提升运行性能,即有利于提高目标应用程序的预设内部运行场景的运行性能,提高用户体验。此外,对内部场景进行针对性的优化,能够避免整体优化带来的高功耗问题,有利于降低功耗、资源均衡和提高续航能力。
在一个可能的示例中,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的关键性能参数;所述预设性能质量条件是指性能数据的性能评价值大于或等于预设值,每个性能数据的性能评价值由所述服务器根据所述性能数据的关键性能参数确定。
可见,本示例中,服务器能够基于性能数据中的关键性能参数准确确定每个性能数据对应的移动终端的性能评价值,由于服务器的计算能力较强,实时性高,从而可以实时准确筛选出运行性能较佳的性能数据,有利于提高性能数据筛选的实时性和准确度,提高优化目标应用程序的内部运行场景的运行性能的速度和精确度。
在一个可能的示例中,所述性能数据还包括每个移动终端在运行目标应用程序的预设 内部运行场景时的性能评价值;所述预设性能质量条件是指性能数据的性能评价值大于或等于预设值,每个性能数据的性能评价值由对应的移动终端根据所述关键性能参数确定并发送给所述服务器。
可见,本示例中,利用分布式计算的优势,由每个移动终端自己先计算出自身运行预设内部运行场景时的性能评价值,并融合在性能数据中一起发给服务器,此方法适用于大数据场景,即有利于服务器尽可能扩大样本容量,从而筛选出更多符合要求的目标性能数据,以适配不同的目标移动终端,提高性能优化的适配能力和全面性。
在一个可能的示例中,所述目标性能数据还可以包括有效运行时长;所述目标移动终端根据所述目标性能数据中的系统资源配置记录调整系统资源的配置,包括:所述目标移动终端在所述有效运行时长对应的时段内,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
可见,本示例中,通过有效运行时长避免目标移动终端配置系统资源超时的情况发生,有利于提高目标移动终端配置系统资源的可靠性和稳定性。
与所述图2所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种应用程序的资源配置方法的流程示意图,应用于移动终端,所述移动终端上运行有移动终端和一个或多个应用程序,所述场景数据包包括所述目标应用程序的场景信息和待调整的系统资源的调整量,所述场景信息包括场景标识。如图所示,本应用程序的资源配置方法包括:
S401,所述服务器接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录。
S402,所述服务器从所述多个性能数据中选取满足预设性能质量条件的目标性能数据。
S403,所述服务器向目标移动终端发送所述目标性能数据,所述目标性能数据用于所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
S404,所述目标移动终端接收来自服务器的目标性能数据,所述目标性能数据是所述服务器从多个性能数据中选取的满足预设性能质量条件的性能数据,所述多个性能数据来自于多个移动终端,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录。
S405,所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
可以看出,本申请实施例中,服务器首先接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录,其次,从多个性能数据中选取满足预设性能质量条件的目标性能数据,再次,向目标移动终端发送目标性能数据,目标移动终端在运行目标应用程序的预设内部运行场景时,根据目标性能数据中的系统资源配置记录调整系统资源的配置。由于服务器能够筛选出满足预设性能质量条件的目标性能数据,并将该目标性能数据发送给目标移动终端,从而有利于引导目标移动终端在运行预设内部运行场景时准确快捷的配置系统资源以提升运行性能,即有利于提高目标应用程序的预设内部运行场景的运行性能,提高用户体验。此外,对内部场景进行针对性的优化,能够避免整体优化带来的高功耗问题,有利于降低功耗、资源均衡和提高续航能力。
与所述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种服务器的结构示意图,该服务器运行有一个或多个应用程序和操作系统,如图所示, 该服务器包括处理器、存储器、收发器以及一个或多个程序,其中,所述一个或多个程序不同于所述一个或多个应用程序,且所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下步骤的指令;
接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
从所述多个性能数据中选取满足预设性能质量条件的目标性能数据;
向目标移动终端发送所述目标性能数据,所述目标性能数据用于所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
可以看出,本申请实施例中,服务器首先接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录,其次,从多个性能数据中选取满足预设性能质量条件的目标性能数据,再次,向目标移动终端发送目标性能数据,目标移动终端在运行目标应用程序的预设内部运行场景时,根据目标性能数据中的系统资源配置记录调整系统资源的配置。由于服务器能够筛选出满足预设性能质量条件的目标性能数据,并将该目标性能数据发送给目标移动终端,从而有利于引导目标移动终端在运行预设内部运行场景时准确快捷的配置系统资源以提升运行性能,即有利于提高目标应用程序的预设内部运行场景的运行性能,提高用户体验。此外,对内部场景进行针对性的优化,能够避免整体优化带来的高功耗问题,有利于降低功耗、资源均衡和提高续航能力。
在一个可能的示例中,所述性能数据还包括所述移动终端在运行目标应用程序的预设内部运行场景时的关键性能参数;在所述从所述多个性能数据中选取满足预设性能质量条件的目标性能数据方面,所述程序中的指令具体用于执行以下操作:根据每个性能数据的关键性能参数确定对应的移动终端的性能评价值;以及从所述多个性能数据中选取性能评价值大于或等于预设值的目标性能数据。
在一个可能的示例中,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的性能评价值;在所述从所述多个性能数据中选取满足预设性能质量条件的目标性能数据方面,所述程序中的指令具体用于执行以下操作:从所述多个性能数据中选取性能评价值大于或等于预设值的目标性能数据。
与所述图2、图3、图4所示的实施例一致的,请参阅图6,图6是本申请实施例提供的一种目标移动终端的结构示意图,该目标移动终端运行有一个或多个应用程序和操作系统,如图所示,该目标移动终端包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序不同于所述一个或多个应用程序,且所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下步骤的指令;
接收来自服务器的目标性能数据,所述目标性能数据是所述服务器从多个性能数据中选取的满足预设性能质量条件的性能数据,所述多个性能数据来自于多个移动终端,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
可以看出,本申请实施例中,服务器首先接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录,其次,从多个性能数据中选取满足预设性能质量条件的目标性能数据,再次,向 目标移动终端发送目标性能数据,目标移动终端在运行目标应用程序的预设内部运行场景时,根据目标性能数据中的系统资源配置记录调整系统资源的配置。由于服务器能够筛选出满足预设性能质量条件的目标性能数据,并将该目标性能数据发送给目标移动终端,从而有利于引导目标移动终端在运行预设内部运行场景时准确快捷的配置系统资源以提升运行性能,即有利于提高目标应用程序的预设内部运行场景的运行性能,提高用户体验。此外,对内部场景进行针对性的优化,能够避免整体优化带来的高功耗问题,有利于降低功耗、资源均衡和提高续航能力。
在一个可能的示例中,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的关键性能参数;所述预设性能质量条件是指性能数据的性能评价值大于或等于预设值,每个性能数据的性能评价值由所述服务器根据所述性能数据的关键性能参数确定。
在一个可能的示例中,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的性能评价值;所述预设性能质量条件是指性能数据的性能评价值大于或等于预设值,每个性能数据的性能评价值由对应的移动终端根据所述关键性能参数确定并发送给所述服务器。
图7示出了所述实施例中所涉及的服务器的一种可能的功能单元组成框图。该服务器700包括接收单元701、选取单元702和发送单元703,其中,
所述接收单元701,用于接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
所述选取单元702,用于从所述多个性能数据中选取满足预设性能质量条件的目标性能数据;
所述发送单元703,用于向目标移动终端发送所述目标性能数据,所述目标性能数据用于所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
可以看出,本申请实施例中,服务器首先接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录,其次,从多个性能数据中选取满足预设性能质量条件的目标性能数据,再次,向目标移动终端发送目标性能数据,目标移动终端在运行目标应用程序的预设内部运行场景时,根据目标性能数据中的系统资源配置记录调整系统资源的配置。由于服务器能够筛选出满足预设性能质量条件的目标性能数据,并将该目标性能数据发送给目标移动终端,从而有利于引导目标移动终端在运行预设内部运行场景时准确快捷的配置系统资源以提升运行性能,即有利于提高目标应用程序的预设内部运行场景的运行性能,提高用户体验。此外,对内部场景进行针对性的优化,能够避免整体优化带来的高功耗问题,有利于降低功耗、资源均衡和提高续航能力。
在一个可能的示例中,所述性能数据还包括所述移动终端在运行目标应用程序的预设内部运行场景时的关键性能参数;在所述从所述多个性能数据中选取满足预设性能质量条件的目标性能数据方面,所述选取单元702具体用于:根据每个性能数据的关键性能参数确定对应的移动终端的性能评价值;以及从所述多个性能数据中选取性能评价值大于或等于预设值的目标性能数据。
在一个可能的示例中,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的性能评价值;在所述从所述多个性能数据中选取满足预设性能质量条件的目标性能数据方面,所述选取单元702具体用于:从所述多个性能数据中选取性能评价 值大于或等于预设值的目标性能数据。
需要注意的是,本申请装置实施例所描述的服务器是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。
其中,接收单元701可以是接收器,选取单元702可以是处理器,发送单元703可以是发送器。
图8示出了所述实施例中所涉及的目标移动终端的一种可能的功能单元组成框图。该目标移动终端800包括接收单元801和调整单元802,其中,
所述接收单元801,用于接收来自服务器的目标性能数据,所述目标性能数据是所述服务器从多个性能数据中选取的满足预设性能质量条件的性能数据,所述多个性能数据来自于多个移动终端,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
所述调整单元802,用于在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
可以看出,本申请实施例中,服务器首先接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录,其次,从多个性能数据中选取满足预设性能质量条件的目标性能数据,再次,向目标移动终端发送目标性能数据,目标移动终端在运行目标应用程序的预设内部运行场景时,根据目标性能数据中的系统资源配置记录调整系统资源的配置。由于服务器能够筛选出满足预设性能质量条件的目标性能数据,并将该目标性能数据发送给目标移动终端,从而有利于引导目标移动终端在运行预设内部运行场景时准确快捷的配置系统资源以提升运行性能,即有利于提高目标应用程序的预设内部运行场景的运行性能,提高用户体验。此外,对内部场景进行针对性的优化,能够避免整体优化带来的高功耗问题,有利于降低功耗、资源均衡和提高续航能力。
在一个可能的示例中,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的关键性能参数;所述预设性能质量条件是指性能数据的性能评价值大于或等于预设值,每个性能数据的性能评价值由所述服务器根据所述性能数据的关键性能参数确定。
在一个可能的示例中,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的性能评价值;所述预设性能质量条件是指性能数据的性能评价值大于或等于预设值,每个性能数据的性能评价值由对应的移动终端根据所述关键性能参数确定并发送给所述服务器。
需要注意的是,本申请装置实施例所描述的目标移动终端是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。
其中,接收单元801可以是通信接口,调整单元802可以是处理器。
请参阅图9,图9是本申请实施例提供了一种智能手机900的结构示意图,所述智能 手机900包括:壳体910、触控显示屏920、主板930、电池940和副板950,主板930上设置有前置摄像头931、处理器932、存储器933、电源管理芯片934等,副板上设置有振子951、一体音腔952、VOOC闪充接口953和指纹识别模组954。
其中,智能手机900接收来自服务器的目标性能数据,所述目标性能数据是所述服务器从多个性能数据中选取的满足预设性能质量条件的性能数据,所述多个性能数据来自于多个移动终端,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;所述智能手机900在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
所述处理器932是智能手机的控制中心,利用各种接口和线路连接整个智能手机的各个部分,通过运行或执行存储在存储器933内的软件程序和/或模块,以及调用存储在存储器933内的数据,执行智能手机的各种功能和处理数据,从而对智能手机进行整体监控。可选的,处理器932可包括一个或多个处理单元;优选的,处理器932可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,所述调制解调处理器也可以不集成到处理器932中。该处理器932例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。
所述存储器933可用于存储软件程序以及模块,处理器932通过运行存储在存储器933的软件程序以及模块,从而执行智能手机的各种功能应用以及数据处理。存储器933可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据智能手机的使用所创建的数据等。此外,存储器933可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。该存储器933例如可以是随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如所述方法实施例中记载的任一方法的部分或全部步骤,所述计算机包括移动终端。
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如所述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括移动终端。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在所述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分, 可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解所述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种应用程序的资源配置方法,其特征在于,包括:
    服务器接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
    所述服务器从所述多个性能数据中选取满足预设性能质量条件的目标性能数据;
    所述服务器向目标移动终端发送所述目标性能数据,所述目标性能数据用于所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
  2. 根据权利要求1所述的方法,其特征在于,所述性能数据还包括所述移动终端在运行目标应用程序的预设内部运行场景时的关键性能参数;所述服务器从所述多个性能数据中选取满足预设性能质量条件的目标性能数据,包括:
    所述服务器根据每个性能数据的关键性能参数确定对应的移动终端的性能评价值;
    所述服务器从所述多个性能数据中选取性能评价值大于或等于预设值的目标性能数据。
  3. 根据权利要求2所述的方法,其特征在于,所述关键性能参数包括以下参数中的至少一种:流畅度、画面质量、帧率。
  4. 根据权利要求1所述的方法,其特征在于,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的性能评价值;所述服务器从所述多个性能数据中选取满足预设性能质量条件的目标性能数据,包括:
    所述服务器从所述多个性能数据中选取性能评价值大于或等于预设值的目标性能数据。
  5. 根据权利要求1所述的方法,其特征在于,所述目标性能数据还可以包括有效运行时长,该有效运行时长信息用于指示所述目标移动终端在所述有效运行时长对应的时段内进行系统资源的调整。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述目标应用程序包括以下任意一种:游戏应用程序、即时通讯应用程序、相机应用程序、购物应用程序、视频类应用程序。
  7. 一种应用程序的资源配置方法,其特征在于,包括:
    目标移动终端接收来自服务器的目标性能数据,所述目标性能数据是所述服务器从多个性能数据中选取的满足预设性能质量条件的性能数据,所述多个性能数据来自于多个移动终端,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
    所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
  8. 根据权利要求7所述的方法,其特征在于,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的关键性能参数;所述预设性能质量条件是指性能数据的性能评价值大于或等于预设值,每个性能数据的性能评价值由所述服务器根据所述性能数据的关键性能参数确定。
  9. 根据权利要求7所述的方法,其特征在于,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的性能评价值;所述预设性能质量条件是指性能数据的性能评价值大于或等于预设值,每个性能数据的性能评价值由对应的移动终端根据所述关键性能参数确定并发送给所述服务器。
  10. 根据权利要求7-9任一项所述的方法,其特征在于,所述目标应用程序包括以下任意一种:游戏应用程序、即时通讯应用程序、相机应用程序、购物应用程序、视频类应用程序。
  11. 一种服务器,其特征在于,包括接收单元、选取单元和发送单元,其中,
    所述接收单元,用于接收来自多个移动终端的多个性能数据,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
    所述选取单元,用于从所述多个性能数据中选取满足预设性能质量条件的目标性能数据;
    所述发送单元,用于向目标移动终端发送所述目标性能数据,所述目标性能数据用于所述目标移动终端在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
  12. 根据权利要求11所述的服务器,其特征在于,所述性能数据还包括所述移动终端在运行目标应用程序的预设内部运行场景时的关键性能参数;在所述从所述多个性能数据中选取满足预设性能质量条件的目标性能数据方面,所述选取单元具体用于:根据每个性能数据的关键性能参数确定对应的移动终端的性能评价值;以及从所述多个性能数据中选取性能评价值大于或等于预设值的目标性能数据。
  13. 根据权利要求12所述的服务器,其特征在于,所述关键性能参数包括以下参数中的至少一种:流畅度、画面质量、帧率。
  14. 根据权利要求11所述的服务器,其特征在于,所述性能数据还包括每个移动终端在运行目标应用程序的预设内部运行场景时的性能评价值;在所述从所述多个性能数据中选取满足预设性能质量条件的目标性能数据方面,所述选取单元具体用于:从所述多个性能数据中选取性能评价值大于或等于预设值的目标性能数据。
  15. 根据权利要求11所述的服务器,其特征在于,所述目标性能数据还可以包括有效运行时长,该有效运行时长信息用于指示所述目标移动终端在所述有效运行时长对应的时段内进行系统资源的调整。
  16. 根据权利要求11-15任一项所述的服务器,其特征在于,所述目标应用程序包括以下任意一种:游戏应用程序、即时通讯应用程序、相机应用程序、购物应用程序、视频类应用程序。
  17. 一种目标移动终端,其特征在于,包括接收单元和调整单元,其中,
    所述接收单元,用于接收来自服务器的目标性能数据,所述目标性能数据是所述服务器从多个性能数据中选取的满足预设性能质量条件的性能数据,所述多个性能数据来自于多个移动终端,每个性能数据包括对应的移动终端在运行目标应用程序的预设内部运行场景时的系统资源配置记录;
    所述调整单元,用于在运行目标应用程序的预设内部运行场景时,根据所述目标性能数据中的系统资源配置记录调整系统资源的配置。
  18. 一种服务器,其特征在于,包括处理器、存储器以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行权利要求1-6任一项方法中的步骤的指令。
  19. 一种目标移动终端,其特征在于,包括处理器、存储器以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程 序包括用于执行权利要求7-10任一项方法中的步骤的指令。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-6和/或权利要求7-10任一项所述的方法。
PCT/CN2018/109534 2017-10-11 2018-10-09 应用程序的资源配置方法及设备 WO2019072180A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710942954.8A CN107832142B (zh) 2017-10-11 2017-10-11 应用程序的资源配置方法及设备
CN201710942954.8 2017-10-11

Publications (1)

Publication Number Publication Date
WO2019072180A1 true WO2019072180A1 (zh) 2019-04-18

Family

ID=61647724

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/109534 WO2019072180A1 (zh) 2017-10-11 2018-10-09 应用程序的资源配置方法及设备

Country Status (2)

Country Link
CN (1) CN107832142B (zh)
WO (1) WO2019072180A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832142B (zh) * 2017-10-11 2020-06-09 Oppo广东移动通信有限公司 应用程序的资源配置方法及设备
CN109542614B (zh) * 2018-05-30 2023-06-23 Oppo广东移动通信有限公司 资源配置方法、装置、终端及存储介质
CN109960395B (zh) * 2018-10-15 2021-06-08 华为技术有限公司 资源调度方法和计算机设备
CN109710330B (zh) * 2018-12-20 2022-04-15 Oppo广东移动通信有限公司 应用程序的运行参数确定方法、装置、终端及存储介质
CN114726721B (zh) * 2022-03-31 2023-09-19 潍柴动力股份有限公司 数据监控的方法、云平台、处理器和系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103430151A (zh) * 2012-07-06 2013-12-04 华为终端有限公司 一种资源配置方法及装置
CN104346201A (zh) * 2014-09-30 2015-02-11 北京金山安全软件有限公司 获取应用程序消耗系统资源的方法、装置及终端
CN104732285A (zh) * 2013-12-19 2015-06-24 中兴通讯股份有限公司 获取性能优化策略及终端性能优化的方法、服务器及终端
US20170046254A1 (en) * 2015-08-13 2017-02-16 Spirent Communications, Inc. Method to configure monitoring thresholds using output of load or resource loadings
CN107832142A (zh) * 2017-10-11 2018-03-23 广东欧珀移动通信有限公司 应用程序的资源配置方法及设备

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932383B (zh) * 2011-08-08 2015-07-29 联想(北京)有限公司 一种数据传输方法、终端及终端系统
US20130290977A1 (en) * 2012-04-26 2013-10-31 Siemens Aktiengesellschaft Computational Resource Allocation System And A Method For Allocating Computational Resources For Executing A Scene Graph Based Application At Run Time
CN103955405B (zh) * 2014-04-01 2017-10-24 珠海市君天电子科技有限公司 一种应用管理方法及其装置
CN104484265B (zh) * 2014-10-14 2018-09-11 北京金山安全软件有限公司 终端性能的提升方法、装置及系统
CN104834529A (zh) * 2015-05-25 2015-08-12 腾讯科技(深圳)有限公司 一种应用的性能优化的方法及装置
CN106294902A (zh) * 2015-05-28 2017-01-04 阿里巴巴集团控股有限公司 预测移动应用程序页面性能的方法、装置及电子设备
CN106292990A (zh) * 2015-06-01 2017-01-04 中兴通讯股份有限公司 Cpu运行参数的调整方法及终端
CN104991775B (zh) * 2015-07-03 2019-02-12 北京奇虎科技有限公司 一种游戏加速方法和装置
CN105183560B (zh) * 2015-09-01 2019-03-26 北京金山安全软件有限公司 一种调整图片的方法、图片调整装置及系统
CN107239339B (zh) * 2016-03-29 2021-03-02 斑马智行网络(香港)有限公司 系统性能优化参数确定方法、系统性能优化方法及装置
CN106095592B (zh) * 2016-05-31 2021-08-24 Oppo广东移动通信有限公司 一种前景应用程序场景同步方法及装置、系统
CN106020990B (zh) * 2016-06-30 2020-01-10 宇龙计算机通信科技(深圳)有限公司 一种中央处理器的控制方法及终端设备
CN106341533B (zh) * 2016-08-30 2019-11-29 腾讯科技(深圳)有限公司 应用中加载网络资源的方法和装置
CN106528290A (zh) * 2016-09-17 2017-03-22 上海摩软通讯技术有限公司 移动终端的资源调度方法及移动终端
CN106549880A (zh) * 2016-11-25 2017-03-29 珠海市魅族科技有限公司 一种终端的资源分配方法及终端设备
CN106648865A (zh) * 2016-12-15 2017-05-10 北京奇虎科技有限公司 智能终端及优化游戏运行环境的方法、系统
CN106874168A (zh) * 2017-01-12 2017-06-20 北京奇虎科技有限公司 确定应用程序运行性能的方法、装置和移动终端
CN107148072B (zh) * 2017-04-27 2020-12-18 华讯高科股份有限公司 一种智能终端应用的目标资源参数的获取方法及系统
CN107219972B (zh) * 2017-05-23 2021-01-01 努比亚技术有限公司 一种应用管理的方法、设备及计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103430151A (zh) * 2012-07-06 2013-12-04 华为终端有限公司 一种资源配置方法及装置
CN104732285A (zh) * 2013-12-19 2015-06-24 中兴通讯股份有限公司 获取性能优化策略及终端性能优化的方法、服务器及终端
CN104346201A (zh) * 2014-09-30 2015-02-11 北京金山安全软件有限公司 获取应用程序消耗系统资源的方法、装置及终端
US20170046254A1 (en) * 2015-08-13 2017-02-16 Spirent Communications, Inc. Method to configure monitoring thresholds using output of load or resource loadings
CN107832142A (zh) * 2017-10-11 2018-03-23 广东欧珀移动通信有限公司 应用程序的资源配置方法及设备

Also Published As

Publication number Publication date
CN107832142B (zh) 2020-06-09
CN107832142A (zh) 2018-03-23

Similar Documents

Publication Publication Date Title
CN107547746B (zh) 资源配置方法及相关产品
CN107861814B (zh) 资源配置方法及设备
US10824470B2 (en) Method for resource allocation and terminal device
CN107577533B (zh) 资源配置方法及相关产品
WO2019042180A1 (zh) 资源配置方法及相关产品
WO2019072180A1 (zh) 应用程序的资源配置方法及设备
WO2019042171A1 (zh) 资源配置方法及相关产品
WO2019109868A1 (zh) 资源配置方法及相关产品
CN107479970B (zh) 资源配置方法及相关产品
CN107450988B (zh) 资源配置方法及相关产品
WO2019047709A1 (zh) 资源配置方法及相关产品
US10936371B2 (en) Method for resource allocation and related products
CN107786748B (zh) 图像显示方法及设备
CN107807852B (zh) 应用程序性能控制方法、设备及计算机可读存储介质
CN107528976B (zh) 资源配置方法及相关产品
CN107797868B (zh) 资源调整方法及装置
CN107635078B (zh) 游戏控制方法及设备
CN107547745B (zh) 资源配置方法及相关产品
WO2019072208A1 (zh) 应用程序运行控制方法及设备
CN107517306B (zh) 资源配置方法及相关产品
CN107589977B (zh) 资源配置方法,资源配置装置,移动终端及介质
WO2019076213A1 (zh) 网络控制方法及设备
CN108536480B (zh) 输入法配置方法及相关产品
WO2019047708A1 (zh) 资源配置方法及相关产品
CN109508168B (zh) 多路音量调节方法及相关装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18865929

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18865929

Country of ref document: EP

Kind code of ref document: A1