WO2014005328A1 - 一种资源配置方法及装置 - Google Patents

一种资源配置方法及装置 Download PDF

Info

Publication number
WO2014005328A1
WO2014005328A1 PCT/CN2012/078309 CN2012078309W WO2014005328A1 WO 2014005328 A1 WO2014005328 A1 WO 2014005328A1 CN 2012078309 W CN2012078309 W CN 2012078309W WO 2014005328 A1 WO2014005328 A1 WO 2014005328A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
sub
application program
scenario
system resource
Prior art date
Application number
PCT/CN2012/078309
Other languages
English (en)
French (fr)
Inventor
魏孔刚
郑志敏
彭钰
钟光华
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to EP12801790.2A priority Critical patent/EP2696285A4/en
Priority to PCT/CN2012/078309 priority patent/WO2014005328A1/zh
Priority to JP2014523179A priority patent/JP5845351B2/ja
Priority to CN201280003119.3A priority patent/CN103430151B/zh
Priority to US13/728,758 priority patent/US9336054B2/en
Publication of WO2014005328A1 publication Critical patent/WO2014005328A1/zh

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
    • 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/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • 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 invention relates to the field of system resource management, and in particular, to a resource configuration method and apparatus. Background technique
  • the electronic device when a user opens multiple applications at the same time, the electronic device generally places some of the applications in the background, and the application currently operated by the user is placed in the foreground.
  • the prior art may adopt a method of gradually increasing the system resources, and configure system resources for the application that is transferred from the background to the foreground; and when the background application is scheduled to run to the foreground,
  • the method for configuring system resources for the prior art may also be as follows: Initially, the background application to be dispatched to the foreground is configured more than the system resources required by the background application, and then the system resource configuration is reduced.
  • the embodiment of the invention provides a resource configuration method and device, which can balance the application experience and the waste of system resources when the application works.
  • an embodiment of the present invention provides a resource configuration method, including:
  • the system resource occupation information of the sub-application scenario of the application includes: after defining the sub-application scenario of the application, the system resource occupation when the sub-application scenario recorded during the testing process of the application is working information.
  • an embodiment of the present invention further provides an apparatus including a processor, including: a processor, system resource occupation information according to a sub-application scenario of the recorded application, being currently started in the application Sub-application scenarios allocate system resources;
  • the system resource occupation information of the sub-application scenario of the application includes: after defining the sub-application scenario of the application, the system resource occupation when the sub-application scenario recorded during the testing process of the application is working information.
  • the embodiment of the present invention further provides a resource configuration apparatus, including:
  • a resource configuration module configured to allocate system resources for a sub-application scenario currently started in the application according to system resource occupation information of a sub-application scenario of the recorded application;
  • the resource configuration apparatus further includes:
  • a definition module configured to define a sub-application scenario of the application according to a usage scenario of the application
  • test module configured to test the application
  • a recording module configured to record system resource occupation information of the sub-application scenario defined by the test module during the testing of the application.
  • an embodiment of the present invention further provides an electronic device, including the foregoing device or resource configuration device including a processor.
  • the embodiment of the present invention decomposes the application program in the system into a sub-application scenario, and configures system resources for the sub-application scenario, which can ensure the system resources required for the sub-application scenario in the working application to ensure the running performance, according to the record.
  • System resource occupancy information configures system resources for sub-application scenarios in one step, and does not need to be adjusted, thereby saving adjustment time, and avoiding the power consumed by configuring too many resources from the beginning, making better use of system resources, and reducing
  • the energy consumption of the system is more conducive to the user running the currently operating application smoothly.
  • FIG. 1 is a schematic flow chart of a first embodiment of a resource configuration method according to the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of a resource configuration method according to the present invention.
  • FIG. 3 is a schematic structural diagram of a first embodiment of a resource configuration apparatus according to the present invention.
  • FIG. 4 is a block diagram showing the structure of a second embodiment of the resource configuration device of the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a first embodiment of a resource configuration method according to the present invention.
  • the method specifically includes:
  • S101 Define a sub-application scenario of the application according to a usage scenario of the application.
  • S102 Test the application, and record system resource occupation information of the sub-application scenario defined for the application during the test.
  • the S101 to S102 are preset processes for the system resource occupation information of the sub-application scenario in the application in the electronic device, and can be executed at any time before the application works.
  • the application program in the electronic device is defined by the technician according to the usage scenario, and the sub-application scenario of the application is obtained, for example, for the e-book application, the electronic device
  • the application scenario of the book application may include: browsing a text scene, turning a page scene, and adding a bookmark scene, and the technician may define a sub-application scene such as a browsing text sub-application scene, a page turning application scene, and a bookmark sub-application scene.
  • the application After defining the sub-application scenario of the application, the application needs to be tested. Specifically, the application is in a working state, and the application is operated, wherein the sub-application scenario is also in a working state, and recorded in the normal application state of the sub-application scenario of the application to the system
  • the consumption of resources, the consumption of system resources by each sub-application scenario recorded The situation is the system resource occupation information of the corresponding sub-application scenario.
  • a new application is loaded into the electronic device according to the need, and when the newly added application is detected, the S101 and the S102 may be defined in the same manner.
  • the sub-application scenario of the application is newly added; the newly added application is tested, and the system resource occupation information of the sub-application scenario defined for the newly added application during the test is recorded.
  • the sub-application scenario of the modified application may be defined by the manners of S101 and S102; Performing a test to record system resource occupation information of the sub-application scenario defined for the modified application during the test.
  • the user may delete an application as needed, or/and delete the usage scenario (such as a certain function) in an application, and when detecting that the application is deleted. And/or, when the sub-application scenario in which the application is detected is deleted, the sub-application scenario and the system resource occupation information defined for the deleted application need to be deleted correspondingly, or/and correspondingly deleted.
  • the application is deleted by the sub-application scenario and its system resource occupancy information.
  • the above S101 and S102 are the preparation steps of the following step S103, and are not necessarily included in the embodiment.
  • the following S103 is performed.
  • S103 Allocating system resources to the currently launched sub-application scenario in the application according to the system resource occupation information of the sub-application scenario of the recorded application.
  • the system resource includes any one or more of a system memory resource, a system CPU resource, a system frequency resource, and a network monthly resource.
  • Sub-application scenarios allocate system resources.
  • the system resources are immediately allocated for the currently activated sub-application scenario;
  • a resource configuration mapping table may be set, and the sub-application scenario identifier of the application and the system resource occupation information thereof may be correspondingly stored in the resource configuration mapping table in the S101 and S102. Medium.
  • the system resource configuration operation is performed on the currently launched sub-application scenario in the application according to the resource configuration mapping table.
  • the embodiment of the present invention decomposes the application program in the system into a sub-application scenario, and configures system resources for the sub-application scenario, which can ensure the system resources required for the sub-application scenario in the working application to ensure the running performance, according to the record.
  • System resource occupancy information configures system resources for sub-application scenarios in one step, and does not need to be adjusted, thereby saving adjustment time, and avoiding the power consumed by configuring too many resources from the beginning, making better use of system resources, and reducing The energy consumption of the system is more conducive to the user running the currently operating application smoothly.
  • the resource configuration method in this embodiment specifically includes:
  • S201 Define one or more mutually exclusive applications for the application.
  • all the mutually exclusive applications corresponding to the application may be recorded in a preset mutual exclusion application mapping table, where the application identifier and the mutually exclusive application identifier are correspondingly stored in the mutually exclusive application mapping table, so that When the application is working subsequently, according to the application identifier and its mutually exclusive application identifier, it is determined whether the mutually exclusive application of the application is included in the running application of the system.
  • one or more mutually exclusive applications are defined for an application in the electronic device by maintaining a mutually exclusive application mapping table for mutually exclusive relationships between all applications local to the electronic device.
  • the identifier of the application is recorded in the mutually exclusive application mapping table, and the other application identifiers that are mutually exclusive with the application are mutually exclusive application identifiers, and the application corresponding to the application can be configured by the user.
  • the mutually exclusive application mapping table can be as shown in Table 1.
  • S202 Define a sub-application scenario of the application according to a usage scenario of the application
  • S203 Perform testing on the application, and record system resource occupation information of the sub-application scenario defined for the application during the testing process;
  • the identifier of the sub-application scenario of each application of the electronic device and its system resource occupation information are correspondingly stored in the resource configuration mapping table.
  • the Table 2 records the page turning application scenario of the e-book application, and adds the system resource occupation information corresponding to the bookmark sub-application scenario.
  • the S201-S203 is a process for presetting system resource configuration information for the application, so that in the subsequent working process of the application, the system resource can be configured for the application for the sub-application scenario.
  • the following steps may also be performed on the application. For example, you can detect that a system has run an application by reading the running application recorded in the System Task Manager. According to the mutually exclusive application mapping table as described in Table 1, when the user newly opens an application, first finds an entry corresponding to the identifier of the application, and then searches for the mutual exclusion of the mutually exclusive application corresponding to the entry. Reject the application.
  • the detecting the running application in the S204 includes:
  • the application has its own unique generic name, which can be used as the identifier of the application.
  • the soft web browser's generic name iexplore can be used as the identifier of the soft browser; the MP3 application cool dog is played.
  • the generic name kugou can be used as the logo of the app cool dog; 360's web browser's generic name 360sd can be used as the logo of the 360 web browser and so on.
  • the video playback application that is to be occupied according to the newly opened application may also occupy the display resource and the speaker resource, but detects that the MP3 playback application in the running application is occupied.
  • the system resource occupation information of the sub-application scenario of the application is recorded, and system resources are allocated for the sub-application scenario currently started in the application.
  • the system resource allocated to the application is a system resource corresponding to the identifier of the sub-application scenario currently started in the application in the resource configuration mapping table as described in Table 2.
  • the source occupancy information is used to allocate system resources for the currently activated sub-application scenario.
  • the S206 specifically includes: determining, when the application is working, determining an identifier of the currently activated sub-application scenario; and performing, according to the system resource occupation information corresponding to the sub-application scenario identifier of the application in the resource configuration mapping table, The sub-application scenario currently started under the application allocates system resources.
  • the embodiment of the present invention decomposes the application program in the system into a sub-application scenario, and configures system resources for the sub-application scenario, which can ensure the system resources required for the sub-application scenario in the working application to ensure the running performance, according to
  • the recorded system resource occupation information configures the system resources for the sub-application scenario in one step, and does not need to be adjusted, thereby saving adjustment time, and avoiding the power consumed by configuring too many resources at the beginning, and better utilizing system resources. , reduce the energy consumption of the system, and help the user to smoothly run the currently operating application.
  • the embodiment of the present invention defines a mutually exclusive application for each application in the system, and when opening and running an application, detecting and stopping or stopping scheduling the mutually exclusive application of the application running in the background, avoiding the cause
  • the unnecessary waste of system resources generated by the running of the mutual exclusion program in the background not only saves system resources, but also further reduces the energy consumption of the system, and releases more system resources for the newly run application to use, which is more conducive to The user runs to use the app.
  • the first device in the embodiment of the present invention is disposed in an electronic device, and the first device is capable of managing, testing, and configuring resources in an application of the electronic device.
  • the first device includes: a processor, configured to allocate system resources for a sub-application scenario currently started in the application according to system resource occupation information of a sub-application scenario of the recorded application;
  • the system resource occupation information of the sub-application scenario of the application includes: after defining the sub-application scenario of the application, the system resource occupation when the sub-application scenario recorded during the testing process of the application is working information.
  • the processor may be further configured to: define a sub-application scenario of the application according to a usage scenario of the application, test the application, and record a test process.
  • the application scenario of the e-book application may include: browsing a text scene, turning a page scene, adding a bookmark scene, etc., and defining the browser by using the processor View sub-application scenarios such as text sub-application scenarios, page-turning application scenarios, and adding bookmark sub-application scenarios.
  • the application is tested by the processor to make the application in a working state, and at the same time, when the corresponding sub-application scenario of the application is in a normal working state
  • the consumption of the system resources in the sub-application scenario of the application is recorded, and the consumption of the system resources by the recorded sub-application scenarios is taken as the system resource occupation information of the corresponding sub-application scenario.
  • a new application is loaded into the electronic device as needed, and the processor may be further configured to use the newly added application according to the newly added application when detecting the newly added application.
  • a scenario defining a sub-application scenario of the newly added application; testing the newly added application, and recording system resource occupation information of the sub-application scenario defined for the newly added application during the test.
  • the processor may be further configured to: when detecting that the application is modified, define a sub-application scenario of the modified application according to a usage scenario of the modified application; After the application is tested, the system resource occupation information of the sub-application scenario defined for the modified application during the test is recorded.
  • the user may delete an application according to need, or/and delete a usage scenario (such as a certain function) of an application, and the processor may also be used in When detecting that the application is deleted, deleting the defined sub-application scenario and the system resource occupation information of the deleted application; or/and, may also be used when the sub-application scenario in which the application is detected is deleted , deleting the sub-application scenario that the application is deleted and its system resource occupation information.
  • a usage scenario such as a certain function
  • the embodiment of the present invention decomposes the application program in the system into a sub-application scenario, and configures system resources for the sub-application scenario, which can ensure the system resources required for the sub-application scenario of the working application to run, and ensure the running performance, according to the record.
  • System resource occupancy information configures system resources for sub-application scenarios in one step, and does not need to be adjusted, thereby saving adjustment time, and avoiding the power consumed by configuring too many resources at the beginning, making better use of system resources and reducing
  • the energy consumption of the system is more conducive to the user running the currently operating application smoothly.
  • the resource configuration device is configured in various types of electronic devices capable of running an application, such as a mobile phone, a palmtop computer, etc., and specifically includes:
  • the resource configuration module 1 is configured to allocate system resources for the sub-application scenarios currently started in the application according to the system resource occupation information of the sub-application scenario of the recorded application.
  • the resource configuration module 1 When the application is working, according to the recorded system resource occupation information of the sub-application scenario of the application, the resource configuration module 1 immediately allocates system resources to the sub-application scenario currently started by the application; When the switching of the sub-application scenario occurs during the working of the application, when detecting that the user has switched the running sub-application scenario to the target sub-application scenario (corresponding to the current startup sub-application scenario), the resource configuration module 1 according to the record System resource occupancy information of the target sub-application scenario, and allocating system resources for the target sub-application scenario.
  • the resource configuration apparatus further includes a definition module 2, a test module 3, and a recording module 4, so as to define a sub-application scenario for the application, and determine system resource occupation information of the sub-application scenario.
  • the definition module 2 is configured to define a sub-application scenario of the application according to a usage scenario of the application;
  • the test module 3 is configured to test the application
  • the recording module 4 is configured to record system resource occupation information of the sub-application scenario defined by the test module 3 during the testing of the application.
  • the application has one or more specific usage scenarios, for example: for an e-book application, there are usage scenarios such as a page-turning use scenario, a bookmark-using scenario, and the like, and the e-book application correspondingly includes: a page-turning application scenario, Add sub-application scenarios such as bookmark sub-application scenarios.
  • the application module can be defined by the definition module 2 to determine a sub-application scenario of the application.
  • the user tests the application through the test module 3, and the application is in a working state, and records the application in the corresponding sub-application scenario through the recording module 4
  • the consumption of system resources Specifically, the user can use the test module 3 to make the application work in different application scenarios.
  • the user can pass the recording by inserting a page, adding a bookmark, or the like.
  • the module 4 records the system resource usage in these cases, and uses it as the system resource occupation information of the sub-application scenario such as the page-turning application scenario of the e-book application and the bookmarking sub-application scenario.
  • the recording module 4 automatically records the usage of the corresponding system resources during the use of the application, so as to facilitate subsequent application in the application.
  • the specific sub-application scenario of the application may be used as a basic unit, and the resource configuration module 1 allocates system resources to the application reasonably and accurately.
  • the system resource includes any one or more of a system memory resource, a system CPU resource, a system frequency resource, and a network monthly resource.
  • the recording module 4 can store the identifier of the application scenario of the application and its system resource occupation information in a preset resource configuration mapping table.
  • the resource configuration module 1 can directly perform a system resource configuration operation on the currently launched sub-application scenario in the application according to the resource configuration mapping table recorded by the recording module 4.
  • the present invention has the following advantages:
  • the embodiment of the present invention decomposes the application program in the system into a sub-application scenario, and configures system resources for the sub-application scenario, which can ensure the system resources required for the sub-application scenario of the working application to run, and ensure the running performance, according to the record.
  • System resource occupancy information configures system resources for sub-application scenarios in one step, and does not need to be adjusted, thereby saving adjustment time, and avoiding the power consumed by configuring too many resources at the beginning, making better use of system resources and reducing
  • the energy consumption of the system is more conducive to the user running the currently operating application smoothly.
  • FIG. 4 it is a schematic structural diagram of a second embodiment of the resource configuration apparatus of the present invention.
  • the resource configuration apparatus in this embodiment may be configured in various types of intelligent electronic devices, and used in all the intelligent electronic devices.
  • the resource management device in the first embodiment of the present invention includes the resource configuration module 1 and the definition module 2 and the test module 3 in the first embodiment of the present invention, and the management of the application, and the management of the resource usage of all the applications.
  • the resource configuration apparatus may further include: a first detecting module 5, a second detecting module 6, a third detecting module 7, a fourth detecting module 8, and a deleting module 9, which can be understood
  • the functions of the first detecting module 5, the second detecting module 6, the third detecting module 7, and the fourth detecting module 8 can be completed by one detecting module.
  • the first detecting module 5 is configured to detect whether an application is newly added
  • the definition module 2 is further configured to: when the first detecting module 5 detects the newly added application, define a sub-application scenario of the newly added application according to the usage scenario of the newly added application; Module 3 is also used to test the newly added application;
  • the recording module 4 is further configured to record system resource occupation information of the sub-application scenario defined for the newly added application during the test.
  • the user's system resource configuration process for the newly loaded application can be completed, so that the system resources can be directly configured for the newly added application in a step-by-step manner when the newly added application is in the working state.
  • the second detecting module 6 is configured to detect whether an application is modified
  • the definition module 2 is further configured to: when the second detection module 6 detects that the application is modified, define a sub-application scenario of the modified application according to a usage scenario of the modified application; Also used to test the modified application;
  • the recording module 4 is further configured to record system resource occupation information of the sub-application scenario defined for the modified application during the test.
  • the second detection module 6, the definition module 2, the test module 3, and the recording module 4 can detect whether there is a modification of the application in the electronic device in real time, for example, the application is upgraded, and the application is modified. Some usage scenarios are deleted, and the application newly adds a usage scenario, etc., to execute the system resource configuration process of the changed application, so that when the subsequent modified application is in a working state, it can be directly in one step. Configure system resources for this newly added application.
  • the third detecting module 7 is configured to detect whether an application is deleted
  • the deleting module 9 is configured to: when the third detecting module detects that the application is deleted, delete the defined sub-application scenario and the system resource occupation information of the deleted application;
  • the fourth detecting module 8 is configured to detect whether a sub-application scenario of the application is deleted.
  • the deleting module 9 is further configured to: when the fourth detecting module detects that the sub-application scenario of the application is deleted, delete the sub-application scenario in which the application is deleted and the system resource occupation information thereof.
  • the third detection module 7, the fourth detection module 8, and the deletion module 9 can detect whether an application in the electronic device or some usage scenarios of the application is deleted in real time, and can be deleted when the deletion occurs.
  • the related sub-application scenario recorded by the module 4 and its system resource occupation information are recorded, so that the resource configuration device can better configure system resources for other applications.
  • the resource configuration apparatus further includes:
  • a setup module that defines one or more mutually exclusive applications for applications in the system. Preface
  • the resource configuration module 1 is specifically configured to run the application detected by the mutual exclusion detection module.
  • the mutually exclusive application of the application exists, controlling to disable or prohibit scheduling the mutually exclusive application, and according to the recorded system resource occupation information of the application scenario of the application, the application is currently started.
  • Sub-application scenarios allocate system resources. And also used for the mutually exclusive application of the application if the running application does not exist, according to the recorded system resource occupation information of the sub-application scenario of the application, and the sub-application scenario currently activated by the application. system resource.
  • the resource configuration module 1 may specifically control to disable or prohibit scheduling the mutually exclusive application by using a control unit, The resource configuration module 1 may allocate system resources to the currently applied sub-application scenarios under the application according to the recorded system resource occupation information of the sub-application scenario in the application.
  • the mutual exclusion detection module includes:
  • a detecting unit configured to determine an identifier of the application, and an identifier of each running application; and the identifier of the detected running application;
  • Determining a unit if the judgment result of the judging unit is included, determining that the application has been running the mutually exclusive application of the application; otherwise, determining that the application has not existed the mutually exclusive application of the application.
  • the determining unit notifies the resource configuration module 1 to cause the resource configuration module 1 to perform a corresponding shutdown or stop scheduling operation and a corresponding system resource configuration operation according to the determination result.
  • the resource configuration apparatus may further include a resource configuration mapping table used by the storage module to store the sub-application scenario of the application and the corresponding system resource occupation information, and the recording module 4 records Corresponding information is stored by the storage module.
  • the resource allocation module 1 allocates system resources to the application
  • the system resource occupation information corresponding to the identifier of the application scenario of the application in the resource configuration mapping table stored in the storage module is specifically Allocating system resources for the sub-application scenarios currently started in the application.
  • the present invention has the following advantages:
  • the embodiment of the present invention decomposes the application program in the system into a sub-application scenario, and configures system resources for the sub-application scenario, which can ensure the system resources required for the sub-application scenario of the working application to ensure the running performance, according to
  • the recorded system resource occupancy information configures system resources for the sub-application scenario in one step, and does not need to be adjusted, thereby saving adjustment time and avoiding the initial configuration.
  • the power consumed by placing too many resources makes better use of system resources, reduces the energy consumption of the system, and is more conducive to the user running the currently operating application smoothly.
  • the embodiment of the present invention defines a mutually exclusive application for each application in the system, and when opening and running an application, detecting and stopping or stopping scheduling the mutually exclusive application of the application running in the background, avoiding the cause
  • the unnecessary waste of system resources generated by the running of the mutual exclusion program in the background not only saves system resources, but also further reduces the energy consumption of the system, and releases more system resources for the newly run application to use, which is more conducive to The user runs to use the app.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

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)

Abstract

本发明实施例公开了一种资源配置方法及装置,其中,所述方法包括:按照记录的应用程序的子应用场景的系统资源占用信息,为所述应用程序中当前启动的子应用场景分配系统资源;其中,所述应用程序中子应用场景的系统资源占用信息包括,在定义所述应用程序的子应用场景后,在对所述应用程序测试过程中记录得到的子应用场景工作时的系统资源占用信息。采用本发明,针对子应用场景一步到位地配置系统资源,既能保证应用程序中当前启动的子应用场景运行所需的系统资源,保证了运行性能,又可节省调整时间以节省功耗。

Description

一种资源配置方法及装置 技术领域
本发明涉及系统资源管理领域, 尤其涉及一种资源配置方法及装置。 背景技术
现有各类电子终端的系统中, 都存在各式各样的应用程序, 例如: 短信应 用程序、 电子书应用程序、 MP3播放应用程序、 视频播放应用程序、 上网应用 程序等等, 在这些应用程序中, 有些应用程序之间可以在电子终端中同时运行, 例如在使用电子书应用程序看电子书时, 可再使用 MP3播放应用程序听歌; 而 有些应用程序之间则会沖突互斥, 例如在开启上网应用程序浏览网页的时候, 如果同时开启视频播放应用程序, 则会影响到浏览网页的体验。
现有技术中, 在用户同时开启了多个应用程序时, 电子设备一般会将其中 的一部分应用程序置于后台运行, 将用户当前操作的应用程序置于前台运行。 对从后台调到前台运行的应用程序, 现有技术可采用逐渐上调系统资源的方式, 为所述从后台调到前台运行的应用程序配置系统资源; 而对于后台应用程序调 度到前台运行时, 现有技术为其进行系统资源配置的方式也可以为: 一开始为 要调度到前台的后台应用程序配置多于该后台应用程序需要的系统资源, 之后 系统资源配置 ' †曼减少。
发明人发现, 上述现有的系统资源配置方式不能根据应用程序的实际需求 分配系统资源, 导致要么开始配多了, 造成不必要的资源浪费; 要么开始配少 了, 使得当前操作的应用程序不能流畅运行, 从而影响到用户的使用体验。 发明内容
本发明实施例提供了一种资源配置方法及装置, 可使得在应用程序工作时 在保证良好用户的使用体验和减小系统资源的浪费之间平衡。
为了解决上述技术问题, 一方面, 本发明实施例提供了一种资源配置方法, 包括:
按照记录的应用程序的子应用场景的系统资源占用信息, 为所述应用程序 中当前启动的子应用场景分配系统资源;
其中, 所述应用程序的子应用场景的系统资源占用信息包括, 在定义所述 应用程序的子应用场景后, 在对所述应用程序测试过程中记录得到的子应用场 景工作时的系统资源占用信息。
另一方面, 本发明实施例还提供了一种包括处理器的装置, 包括: 处理器, 用于按照记录的应用程序的子应用场景的系统资源占用信息, 为 所述应用程序中当前启动的子应用场景分配系统资源;
其中, 所述应用程序的子应用场景的系统资源占用信息包括, 在定义所述 应用程序的子应用场景后, 在对所述应用程序测试过程中记录得到的子应用场 景工作时的系统资源占用信息。
再一方面, 本发明实施例还提供了一种资源配置装置, 包括:
资源配置模块, 用于按照记录的应用程序的子应用场景的系统资源占用信 息, 为所述应用程序中当前启动的子应用场景分配系统资源;
其中, 所述资源配置装置还包括:
定义模块, 用于根据所述应用程序的使用场景, 定义所述应用程序的子应 用场景;
测试模块, 用于对所述应用程序进行测试;
记录模块, 用于记录所述测试模块测试所述应用程序过程中, 为所述应用 程序定义的子应用场景在工作时的系统资源占用信息。
再一方面, 本发明实施例还提供了一种电子设备, 该电子设备包括上述的 包括处理器的装置或者资源配置装置。
实施本发明实施例, 具有如下有益效果:
本发明实施例将系统中的应用程序分解成子应用场景, 针对子应用场景配 置系统资源, 既能保证工作中的应用程序中子应用场景运行所需的系统资源, 保证了运行性能, 根据记录的系统资源占用信息一步到位地为子应用场景配置 系统资源, 不需要调整, 从而节省调整时间, 并且, 避免一开始即配置过多的 资源所消耗的功率, 较好地利用了系统资源, 降低了系统的能耗, 更有利于用 户流畅地运行当前操作的应用程序。 附图说明 例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明的资源配置方法的第一实施例流程示意图;
图 2是本发明的资源配置方法的第二实施例流程示意图;
图 3是本发明的资源配置装置的第一实施例结构组成示意图;
图 4是本发明的资源配置装置的第二实施例结构组成示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
请参见图 1 ,是本发明的资源配置方法的第一实施例流程示意图, 在本实施 例中, 所述方法具体包括:
S101 : 根据所述应用程序的使用场景, 定义所述应用程序的子应用场景。
S102: 对所述应用程序进行测试, 记录测试过程中为所述应用程序定义的 子应用场景在工作时的系统资源占用信息。
所述 S101至 S102为对电子设备中的应用程序中子应用场景的系统资源占 用信息的预置过程, 可在所述应用程序工作之前的任意时间执行。
可在所述电子设备出厂时, 由技术人员对所述电子设备中的所述应用程序 按照使用场景进行定义, 得到所述应用程序的子应用场景, 例如, 对于电子书 应用程序, 所述电子书应用程序的应用场景可以包括: 浏览文字场景、 翻页场 景、 添加书签场景, 技术人员则可定义出浏览文字子应用场景、 翻页子应用场 景、 添加书签子应用场景等子应用场景。
在定义完成应用程序的子应用场景后, 需要对所述应用程序进行测试。 具 体的, 使所述应用程序处于工作状态, 并对所述应用程序进行操作, 使其中的 子应用场景也处于工作状态, 并记录在所述应用程序的子应用场景处于正常工 作状态时对系统资源的消耗情况, 将记录的各个子应用场景对系统资源的消耗 情况作为相应子应用场景的系统资源占用信息。
在用户使用所述电子设备的过程中, 会根据需要装载新的应用程序到电子 设备中, 在检测到新增加应用程序时, 可通过所述 S 101和所述 S 102相同的方 式, 定义所述新增加应用程序的子应用场景; 对所述新增加应用程序进行测试, 记录测试过程中为所述新增加应用程序定义的子应用场景在工作时的系统资源 占用信息。
在用户使用所述电子设备的过程中, 会出现应用程序升级的情况、 或者应 用程序的某个使用场景 (如某个功能)被删除、 或者应用程序新增加使用场景 (如某个功能)等导致应用程序被修改的情况, 在检测到有应用程序被修改时, 同样可通过所述 S101和所述 S102的方式, 定义所述修改后应用程序的子应用 场景; 对所述修改后应用程序进行测试, 记录测试过程中为所述修改后应用程 序定义的子应用场景在工作时的系统资源占用信息。
在用户使用所述电子设备的过程中, 用户可根据需要删除某个应用程序, 或 /和, 将某个应用程序中的使用场景 (如某个功能)删除, 在检测到应用程序 被删除时, 或 /和, 在检测到应用程序的子应用场景被删除时, 需要对应地将为 所述被删除应用程序的定义的子应用场景及其系统资源占用信息删除, 或 /和, 对应地删除该应用程序被删除的子应用场景及其系统资源占用信息。
上述 S101和 S102为下面步骤 S103的准备步骤,不必须包括在本实施例中。 在电子设备的用户使用所述应用程序, 使其工作时, 执行以下述 S103。
S103: 按照记录的应用程序的子应用场景的系统资源占用信息, 为所述应 用程序中当前启动的子应用场景分配系统资源。
所述系统资源包括系统内存资源、 系统 CPU资源、 系统频率资源、 网络月良 务资源中的任一种或多种。
在电子设备中的应用程序工作时, 不管是新启动一个子应用场景, 还是从 一个子应用场景切换另一个子应用场景, 都需要通过所述 S103的方式为工作中 的所述应用程序当前启动的子应用场景分配系统资源。
具体的, 在所述应用程序工作时, 按照记录的所述应用程序的子应用场景 的系统资源占用信息, 立即为当前启动的子应用场景分配系统资源;
具体可以设置一个资源配置映射表, 在所述 S101和 S102中可将所述应用 程序的子应用场景标识及其系统资源占用信息对应存储在所述资源配置映射表 中。 在所述应用程序工作时, 直接根据所述资源配置映射表来对所述应用程序 中当前启动的子应用场景执行系统资源配置操作。
实施本发明实施例, 具有如下有益效果:
本发明实施例将系统中的应用程序分解成子应用场景, 针对子应用场景配 置系统资源, 既能保证工作中的应用程序中子应用场景运行所需的系统资源, 保证了运行性能, 根据记录的系统资源占用信息一步到位地为子应用场景配置 系统资源, 不需要调整, 从而节省调整时间, 并且, 避免一开始即配置过多的 资源所消耗的功率, 较好地利用了系统资源, 降低了系统的能耗, 更有利于用 户流畅地运行当前操作的应用程序。
再请参见图 2,是本发明的资源配置方法的第二实施例流程示意图, 本实施 例的所述资源配置方法具体包括:
S201 : 为应用程序定义一个或者多个互斥应用程序。
具体的, 可在一预设的互斥应用映射表中记录应用程序对应的所有互斥应 用程序, 所述应用程序标识及其互斥应用程序标识对应存储在所述互斥应用映 射表, 以便于后续在所述应用程序工作时, 根据该应用程序标识和其互斥应用 程序标识, 来确定系统已运行应用程序中是否包括该应用程序的互斥应用程序。
在本实施例中, 通过维护一张关于电子设备本地所有应用程序之间的互斥 关系的互斥应用映射表的方式, 为本电子设备中的应用程序定义一个或者多个 互斥应用程序。 在所述互斥应用映射表中记录应用程序的标识, 并对应记录与 该应用程序成互斥关系的其他应用程序标识即互斥应用程序标识, 应用程序对 应的互 应用程序可由用户配置。 所述的互斥应用映射表可如表 1所示。
Figure imgf000007_0001
S202: 根据所述应用程序的使用场景, 定义所述应用程序的子应用场景; S203: 对所述应用程序进行测试, 记录测试过程中为所述应用程序定义的 子应用场景在工作时的系统资源占用信息;
同样, 在本实施例中, 将电子设备本地每个应用程序的子应用场景的标识 及其系统资源占用信息对应存储在资源配置映射表。 具体的, 可如下述的表 2 的形式, 所述表 2 中记录了电子书应用程序的翻页子应用场景、 添加书签子应 用场景对应的系统资源占用信息。
表 2:
Figure imgf000008_0001
所述的 S201-S203 是为所述应用程序预设系统资源配置信息的过程, 这样 后续所述应用程序工作过程中, 能够针对子应用场景为所述应用程序配置系统 资源。
在检测到本电子设备中的所述应用程序开始工作时, 还可对所述应用程序 执行下述步骤。 例如, 可通过读取系统任务管理器中记录的已运行的应用程序的方式, 检 测系统已运行应用程序。 根据如表 1 所述的互斥应用映射表, 在用户新开启某一应用程序时, 首先 找到所述应用程序的标识对应的表项, 然后查找该表项对应的互斥应用程序的 的互斥应用程序。
本实施例中, 所述 S204中检测已运行应用程序, 包括:
检测所述应用程序的标识, 以及各已运行应用程序的标识;
判断所述应用程序标识对应的互斥应用程序标识中是否包括所述检测到的 已运行应用程序标识;
具体的, 应用程序都有自己唯一的通用名称, 该名称则可作为应用程序的 标识, 例如, 软的网页浏览器的通用名称 iexplore可以作为该 软浏览器的标 识;播放 MP3的应用程序酷狗的通用名称 kugou可以作为应用程序酷狗的标识; 360的网页浏览器的通用名称 360sd可以作为 360网页浏览器的标识等。 ^^据所 述应用程序的标识、 检测到的已运行应用程序的标识, 在如上述表 1 的互斥应 用程序的互斥应用程序。
当然, 在其他实施例中, 也可智能地根据新开启的应用程序将要占用的资 开启视频播放应用程序需要占用显示屏资源和扬声器资源, 但检测到已运行应 用程序中的 MP3播放应用程序占用了扬声器资源, 由此可确定已运行应用程序 中存在新开启的视频播放应用程序的互斥应用程序 MP3播放应用程序。 禁止调度所述互斥应用程序, 并按照记录的所述应用程序的子应用场景的系统 资源占用信息, 为所述应用程序中当前启动的子应用场景分配系统资源。 录的所述应用程序的子应用场景的系统资源占用信息, 为所述应用程序中当前 启动的子应用场景分配系统资源。
所述 S205和 S206中, 为所述应用程序分配系统资源是按照如表 2所述资 源配置映射表中所述应用程序中当前启动的子应用场景的标识所对应的系统资 源占用信息, 为所述当前启动的子应用场景分配系统资源。
所述 S206具体包括: 在所述应用程序工作时, 确定当前启动的子应用场景 的标识; 按照所述资源配置映射表中所述应用程序的子应用场景标识所对应的 系统资源占用信息, 为所述应用程序下当前启动的子应用场景分配系统资源。
本发明实施例一方面将系统中的应用程序分解成子应用场景, 针对子应用 场景配置系统资源, 既能保证工作中的应用程序中子应用场景运行所需的系统 资源, 保证了运行性能, 根据记录的系统资源占用信息一步到位地为子应用场 景配置系统资源, 不需要调整, 从而节省调整时间, 并且, 避免了一开始即配 置过多的资源所消耗的功率, 较好地利用了系统资源, 降低了系统的能耗, 更 有利于用户流畅地运行当前操作的应用程序。
另一方面, 本发明实施例为系统中的各应用程序定义互斥应用程序, 当开 启运行某一应用程序时, 检测并关闭或者停止调度后台运行的该应用程序的互 斥应用程序, 避免因后台运行互斥程序产生的不必要的系统资源浪费, 不仅节 约了系统资源, 也进一步地降低了系统的能耗, 释放了更多的系统资源供所述 新运行的应用程序使用, 更有利于用户运行使用该应用程序。
下面对本发明实施例的第一装置进行详细说明。
本发明实施例中的第一装置设置在一电子设备中, 该第一装置能够对电子 设备中的应用程序进行管理、 测试、 以及在应用程序工作时的资源配置等功能。
在本发明实施例中, 所述第一装置包括: 处理器, 用于按照记录的应用程 序的子应用场景的系统资源占用信息, 为所述应用程序中当前启动的子应用场 景分配系统资源;
其中, 所述应用程序的子应用场景的系统资源占用信息包括, 在定义所述 应用程序的子应用场景后, 在对所述应用程序测试过程中记录得到的子应用场 景工作时的系统资源占用信息。
具体的, 在所述应用程序工作之前, 所述处理器还可以用于根据所述应用 程序的使用场景, 定义所述应用程序的子应用场景, 并对所述应用程序进行测 试, 记录测试过程中为所述应用程序定义的子应用场景在工作时的系统资源占 用信息。
例如, 对于电子书应用程序, 所述电子书应用程序的应用场景可以包括: 浏览文字场景、 翻页场景、 添加书签场景等场景, 可通过所述处理器定义出浏 览文字子应用场景、 翻页子应用场景、 添加书签子应用场景等子应用场景。 在定义完成应用程序的子应用场景后, 由所述处理器对所述应用程序进行 测试, 使所述应用程序处于工作状态, 同时, 在所述应用程序的相应子应用场 景处于正常工作状态时, 记录在所述应用程序的子应用场景对系统资源的消耗 情况, 将记录的各个子应用场景对系统资源的消耗情况作为相应子应用场景的 系统资源占用信息。
在用户使用所述电子设备的过程中, 会根据需要装载新的应用程序到电子 设备中, 所述处理器还可以用于在检测到新增加应用程序时, 根据所述新增加 应用程序的使用场景, 定义所述新增加应用程序的子应用场景; 并对所述新增 加应用程序进行测试, 记录测试过程中为所述新增加应用程序定义的子应用场 景在工作时的系统资源占用信息。
在用户使用所述电子设备的过程中, 会出现应用程序升级的情况、 或者应 用程序的某个使用场景 (如某个功能)被删除、 或者应用程序新增加使用场景 (如某个功能)等导致应用程序被修改的情况, 所述处理器还可以用于在检测 到应用程序被修改时, 根据修改后应用程序的使用场景, 定义所述修改后应用 程序的子应用场景; 对所述修改后应用程序进行测试, 记录测试过程中为所述 修改后应用程序定义的子应用场景在工作时的系统资源占用信息。
在用户使用所述电子设备的过程中, 用户可根据需要删除某个应用程序, 或 /和, 将某个应用程序的使用场景(如某个功能)删除, 所述处理器还可以用 于在检测到应用程序被删除时, 将为所述被删除应用程序的定义的子应用场景 及其系统资源占用信息删除; 或 /和, 还可以用于在检测到应用程序的子应用场 景被删除时, 删除该应用程序被删除的子应用场景及其系统资源占用信息。
实施本发明实施例, 具有如下有益效果:
本发明实施例将系统中的应用程序分解成子应用场景, 针对子应用场景配 置系统资源, 既能保证工作中的应用程序的子应用场景运行所需的系统资源, 保证了运行性能, 根据记录的系统资源占用信息一步到位地为子应用场景配置 系统资源, 不需要调整, 从而节省调整时间, 并且, 避免了一开始即配置过多 的资源所消耗的功率, 较好地利用了系统资源, 降低了系统的能耗, 更有利于 用户流畅地运行当前操作的应用程序。
请参见图 3 , 是本发明的资源配置装置的第一实施例结构组成示意图, 本发 明的所述资源配置装置设置在各类能够运行应用程序的电子设备中, 如手机、 掌上电脑等, 其具体包括:
资源配置模块 1 ,用于按照记录的应用程序的子应用场景的系统资源占用信 息, 为所述应用程序中当前启动的子应用场景分配系统资源。
在所述应用程序工作时, 按照记录的所述应用程序的子应用场景的系统资 源占用信息, 所述资源配置模块 1 立即为所述应用程序当前启动的子应用场景 分配系统资源; 在所述应用程序工作过程中发生子应用场景的切换时, 在检测 将用户将已运行子应用场景切换至目标子应用场景时 (对应当前启动子应用场 景),所述资源配置模块 1按照记录的所述目标子应用场景的系统资源占用信息, 为所述目标子应用场景分配系统资源。
其中, 所述资源配置装置还包括定义模块 2、 测试模块 3以及记录模块 4, 以便于对应用程序定义子应用场景, 以及确定子应用场景的系统资源占用信息。
所述定义模块 2, 用于根据所述应用程序的使用场景, 定义所述应用程序的 子应用场景;
所述测试模块 3 , 用于对所述应用程序进行测试;
所述记录模块 4, 用于记录所述测试模块 3测试所述应用程序过程中, 为所 述应用程序定义的子应用场景在工作时的系统资源占用信息。
所述应用程序存在一个或者多个具体的使用场景, 例如: 对于电子书应用 程序, 存在翻页使用场景、 添加书签使用场景等使用场景, 那么电子书应用程 序对应包括: 翻页子应用场景、 添加书签子应用场景等子应用场景。 通过所述 定义模块 2可对所述应用程序进行定义, 确定所述应用程序的子应用场景。
在定义应用程序的子应用场景后, 用户通过所述测试模块 3 对应用程序进 行测试, 使所述应用程序处于工作状态, 并通过所述记录模块 4记录应用程序 处于相应的子应用场景下对系统资源的消耗。 具体的, 用户可通过所述测试模 块 3使所述应用程序工作在不同的应用场景下, 同样以电子书为例, 可通过对 所述电子的翻页、 添加书签等操作, 通过所述记录模块 4记录在这些情况下系 统资源使用情况, 并将其作为所述电子书应用程序的翻页子应用场景、 添加书 签子应用场景等子应用场景的系统资源占用信息。
在测试所述应用程序使其工作时, 所述记录模块 4 自动记录所述应用程序 在使用过程中, 操作对应的系统资源占用情况, 以便于后续在所述应用程序工 作过程中, 可以以该应用程序的具体子应用场景为基本单位, 所述资源配置模 块 1合理准确地给该应用程序分配系统资源。
所述系统资源包括系统内存资源、 系统 CPU资源、 系统频率资源、 网络月良 务资源中的任一种或多种。
所述记录模块 4可将所述应用程序的子应用场景的标识及其系统资源占用 信息对应存储在一预先设置的资源配置映射表中。 在所述应用程序工作时, 所 述资源配置模块 1可直接根据所述记录模块 4记录的资源配置映射表来对工作 时的所述应用程序中当前启动的子应用场景执行系统资源配置操作。
通过上述实施例的描述可知, 本发明具有以下优点:
本发明实施例将系统中的应用程序分解成子应用场景, 针对子应用场景配 置系统资源, 既能保证工作中的应用程序的子应用场景运行所需的系统资源, 保证了运行性能, 根据记录的系统资源占用信息一步到位地为子应用场景配置 系统资源, 不需要调整, 从而节省调整时间, 并且, 避免了一开始即配置过多 的资源所消耗的功率, 较好地利用了系统资源, 降低了系统的能耗, 更有利于 用户流畅地运行当前操作的应用程序。
再请参见图 4,是本发明的资源配置装置的第二实施例结构组成示意图, 本 实施例的所述资源配置装置可设置在各类智能电子设备中, 用于对智能电子设 备中的所有应用程序进行管理, 以及对所有应用程序的资源使用情况的管理, 本实施例中的所述资源配置装置具体包括上述装置项第一实施例中的资源配置 模块 1以及定义模块 2、 测试模块 3以及记录模块 4, 在本实施例中, 所述资源 配置装置还可包括: 第一检测模块 5、 第二检测模块 6、 第三检测模块 7、 第四 检测模块 8以及删除模块 9, 可以理解的是, 所述的第一检测模块 5、 第二检测 模块 6、 第三检测模块 7、 第四检测模块 8的功能可以由一个检测模块完成。
具体的, 所述第一检测模块 5 , 用于检测是否新增加应用程序;
所述定义模块 2还用于在所述第一检测模块 5检测到新增加应用程序时, 根据所述新增加应用程序的使用场景, 定义所述新增加应用程序的子应用场景; 所述测试模块 3还用于对所述新增加应用程序进行测试;
所述记录模块 4还用于记录测试过程中为所述新增加应用程序定义的子应 用场景在工作时的系统资源占用信息。
通过所述第一检测模块 5、 所述定义模块 2、 所述测试模块 3以及所述记录 模块 4, 可以完成用户对新装载的应用程序的系统资源配置过程, 以便于在后续 该新增加的应用程序处于工作状态时, 能够一步到位地直接为该新增加的应用 程序配置系统资源。
所述第二检测模块 6, 用于检测是否存在应用程序被修改;
所述定义模块 2还用于在所述第二检测模块 6检测到应用程序被修改时, 根据修改后应用程序的使用场景, 定义所述修改后应用程序的子应用场景; 所述测试模块 3还用于对所述修改后应用程序进行测试;
所述记录模块 4还用于记录测试过程中为所述修改后应用程序定义的子应 用场景在工作时的系统资源占用信息。
通过所述第二检测模块 6、 所述定义模块 2、 所述测试模块 3以及所述记录 模块 4, 可以实时检测电子设备中的应用程序是否存在修改, 例如应用程序发生 升级、 应用程序的某些使用场景被删除, 应用程序新增加了使用场景等情况下, 对发生改变的应用程序的执行系统资源配置过程, 以便于在后续该修改后的应 用程序处于工作状态时, 能够一步到位地直接为该新增加的应用程序配置系统 资源。
第三检测模块 7, 用于检测是否存在应用程序被删除;
删除模块 9, 用于在所述第三检测模块检测到应用程序被删除时, 将为所述 被删除应用程序的定义的子应用场景及其系统资源占用信息删除;
第四检测模块 8, 用于检测是否存在应用程序的子应用场景被删除
所述删除模块 9还用于在所述第四检测模块检测到应用程序的子应用场景 被删除时, 删除该应用程序被删除的子应用场景及其系统资源占用信息。
通过所述第三检测模块 7、 第四检测模块 8以及所述删除模块 9 , 可以实时 检测电子设备中的应用程序、 或者应用程序的某些使用场景是否被删除, 在发 生删除时, 能够删除记录模块 4记录的相关子应用场景及其系统资源占用信息, 以便于所述资源配置装置能够更好地对其他应用程序进行系统资源配置。
进一步的, 在本实施例中, 所述资源配置装置还包括:
设置模块, 用于为系统中的应用程序定义一个或者多个互斥应用程序。 序;
所述资源配置模块 1 具体用于在所述互斥检测模块检测到的已运行应用程 序存在所述应用程序的互斥应用程序时, 控制关闭或者禁止调度所述互斥应用 程序, 并按照记录的所述应用程序的子应用场景的系统资源占用信息, 为所述 应用程序当前启动的子应用场景分配系统资源。 并且还用于若已运行应用程序 不存在所述应用程序的互斥应用程序, 按照记录的所述应用程序的子应用场景 的系统资源占用信息, 为所述应用程序当前启动的子应用场景分配系统资源。
具体的, 在所述互斥检测模块检测到存在所述应用程序的互斥应用程序时, 所述资源配置模块 1 具体可通过一控制单元控制关闭或者禁止调度所述互斥应 用程序, 所述资源配置模块 1 具体可通过一配置单元按照记录的所述应用程序 下子应用场景的系统资源占用信息, 为所述应用程序下当前启动的子应用场景 分配系统资源。
进一步具体的, 所述互斥检测模块包括:
检测单元, 用于确定所述应用程序的标识, 以及各已运行应用程序的标识; 所述检测到的已运行应用程序的标识;
确定单元, 若所述判断单元的判断结果为包括, 则确定已运行应用程序存 在所述应用程序的互斥应用程序; 否则, 确定已运行应用程序不存在所述应用 程序的互斥应用程序。
所述确定单元根据确定结果通知所述资源配置模块 1使所述资源配置模块 1 执行相应的关闭或者停止调度的操作以及相应系统资源配置操作。
进一步具体的, 所述资源配置装置还可包括一存储模块用于存储的资源配 置映射表以存储所述应用程序的子应用场景及其对应的系统资源占用信息, 所 述记录模块 4所记录的相应信息通过所述存储模块存储。 所述资源配置模块 1 在为所述应用程序分配系统资源时, 具体是按照所述存储模块中存储的资源配 置映射表中所述应用程序的子应用场景的标识所对应的系统资源占用信息, 为 所述应用程序中当前启动的子应用场景分配系统资源。
通过上述实施例的描述可知, 本发明具有以下优点:
本发明实施例一方面将系统中的应用程序分解成子应用场景, 针对子应用 场景配置系统资源, 既能保证工作中的应用程序的子应用场景运行所需的系统 资源, 保证了运行性能, 根据记录的系统资源占用信息一步到位地为子应用场 景配置系统资源, 不需要调整, 从而节省调整时间, 并且, 避免了一开始即配 置过多的资源所消耗的功率, 较好地利用了系统资源, 降低了系统的能耗, 更 有利于用户流畅地运行当前操作的应用程序。
另一方面, 本发明实施例为系统中的各应用程序定义互斥应用程序, 当开 启运行某一应用程序时, 检测并关闭或者停止调度后台运行的该应用程序的互 斥应用程序, 避免因后台运行互斥程序产生的不必要的系统资源浪费, 不仅节 约了系统资源, 也进一步地降低了系统的能耗, 释放了更多的系统资源供所述 新运行的应用程序使用, 更有利于用户运行使用该应用程序。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算 机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。
以上所揭露的仅为本发明较佳实施例而已, 当然不能以此来限定本发明之 权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵盖的范围。

Claims

权 利 要 求
1、 一种资源配置方法, 其特征在于, 包括:
按照记录的应用程序的子应用场景的系统资源占用信息, 为所述应用程序 中当前启动的子应用场景分配系统资源;
其中, 所述应用程序的子应用场景的系统资源占用信息包括, 在定义所述 应用程序的子应用场景后, 在对所述应用程序测试过程中记录得到的子应用场 景工作时的系统资源占用信息。
2、 如权利要求 1所述的方法, 其特征在于, 所述按照记录的应用程序的子 应用场景的系统资源占用信息, 为所述应用程序中当前启动的子应用场景分配 系统资源之前, 还包括:
根据所述应用程序的使用场景, 定义所述应用程序的子应用场景; 对所述应用程序进行测试, 记录测试过程中为所述应用程序定义的子应用 场景在工作时的系统资源占用信息。
3、 如权利要求 1或 2所述的方法, 其特征在于, 还包括:
在检测到新增加应用程序时, 根据所述新增加应用程序的使用场景, 定义 所述新增加应用程序的子应用场景;
对所述新增加应用程序进行测试, 记录测试过程中为所述新增加应用程序 定义的子应用场景在工作时的系统资源占用信息。
4、 如权利要求 1至 3任一项所述的方法, 其特征在于, 还包括: 在检测到应用程序被修改时, 根据修改后应用程序的使用场景, 定义所述 修改后应用程序的子应用场景;
对所述修改后应用程序进行测试, 记录测试过程中为所述修改后应用程序 定义的子应用场景在工作时的系统资源占用信息。
5、 如权利要求 1至 4任一项所述的方法, 其特征在于, 还包括: 在检测到应用程序被删除时, 将为所述被删除应用程序定义的子应用场景 及其系统资源占用信息删除; 或 /和,
在检测到应用程序的子应用场景被删除时, 删除该应用程序的被删除的子 应用场景及其系统资源占用信息。
6、 一种第一装置, 其特征在于, 包括:
处理器, 用于按照记录的应用程序的子应用场景的系统资源占用信息, 为 所述应用程序中当前启动的子应用场景分配系统资源;
其中, 所述应用程序的子应用场景的系统资源占用信息包括, 在定义所述 应用程序的子应用场景后, 在对所述应用程序测试过程中记录得到的子应用场 景工作时的系统资源占用信息。
7、 如权利要求 6所述的装置, 其特征在于,
所述处理器还用于根据所述应用程序的使用场景, 定义所述应用程序的子 应用场景, 并对所述应用程序进行测试, 记录测试过程中为所述应用程序定义 的子应用场景在工作时的系统资源占用信息。
8、 如权利要求 6或 7所述的装置, 其特征在于,
所述处理器还用于在检测到新增加应用程序时, 根据所述新增加应用程序 的使用场景, 定义所述新增加应用程序的子应用场景; 并对所述新增加应用程 序进行测试, 记录测试过程中为所述新增加应用程序定义的子应用场景在工作 时的系统资源占用信息。
9、 如权利要求 6至 8任一项所述的装置, 其特征在于,
所述处理器还用于在检测到应用程序被修改时, 根据修改后应用程序的使 用场景, 定义所述修改后应用程序的子应用场景; 并对所述修改后应用程序进 行测试, 记录测试过程中为所述修改后应用程序定义的子应用场景在工作时的 系统资源占用信息。
10、 如权利要求 6至 9任一项所述的装置, 其特征在于,
所述处理器还用于在检测到应用程序被删除时, 将为所述被删除应用程序 的定义的子应用场景及其系统资源占用信息删除;
或 /和, 还用于在检测到应用程序的子应用场景被删除时, 删除该应用程序 被删除的子应用场景及其系统资源占用信息。
11、 一种资源配置装置, 其特征在于, 包括:
资源配置模块, 用于按照记录的应用程序的子应用场景的系统资源占用信 息, 为所述应用程序中当前启动的子应用场景分配系统资源;
其中, 所述资源配置装置还包括:
定义模块, 用于根据所述应用程序的使用场景, 定义所述应用程序的子应 用场景;
测试模块, 用于对所述应用程序进行测试;
记录模块, 用于记录所述测试模块测试所述应用程序过程中, 为所述应用 程序定义的子应用场景在工作时的系统资源占用信息。
12、 如权利要求 11所述的资源配置装置, 其特征在于, 还包括: 第一检测模块, 用于检测是否新增加应用程序;
所述定义模块还用于在所述第一检测模块检测到新增加应用程序时, 根据 所述新增加应用程序的使用场景, 定义所述新增加应用程序的子应用场景; 所述测试模块还用于对所述新增加应用程序进行测试;
所述记录模块还用于记录测试过程中为所述新增加应用程序定义的子应用 场景在工作时的系统资源占用信息。
13、 如权利要求 11或 12所述的资源配置装置, 其特征在于, 还包括: 第二检测模块, 用于检测是否存在应用程序被修改;
所述定义模块还用于在所述第二检测模块检测到应用程序被修改时, 根据 修改后应用程序的使用场景, 定义所述修改后应用程序的子应用场景;
所述测试模块还用于对所述修改后应用程序进行测试; 所述记录模块还用于记录测试过程中为所述修改后应用程序定义的子应用 场景在工作时的系统资源占用信息。
14、 如权利要求 11至 13任一项所述的资源配置装置, 其特征在于, 还包 括:
第三检测模块, 用于检测是否有应用程序被删除;
删除模块, 用于在所述第三检测模块检测到应用程序被删除时, 将为所述 被删除应用程序的定义的子应用场景及其系统资源占用信息删除;
第四检测模块, 用于检测是否存在应用程序的子应用场景被删除; 所述删除模块还用于在所述第四检测模块检测到应用程序的子应用场景被 删除时, 删除该应用程序被删除的子应用场景及其系统资源占用信息。
15、 一种电子设备, 其特征在于, 包括如权利要求 6-10任一项所述的装置, 或者包括如权利要求 11-14任一项所述的资源配置装置。
PCT/CN2012/078309 2012-07-06 2012-07-06 一种资源配置方法及装置 WO2014005328A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP12801790.2A EP2696285A4 (en) 2012-07-06 2012-07-06 METHOD AND DEVICE FOR ALLOCATING A RESOURCE
PCT/CN2012/078309 WO2014005328A1 (zh) 2012-07-06 2012-07-06 一种资源配置方法及装置
JP2014523179A JP5845351B2 (ja) 2012-07-06 2012-07-06 リソース割当方法及び装置
CN201280003119.3A CN103430151B (zh) 2012-07-06 2012-07-06 一种资源配置方法及装置
US13/728,758 US9336054B2 (en) 2012-07-06 2012-12-27 Method and apparatus for configuring resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/078309 WO2014005328A1 (zh) 2012-07-06 2012-07-06 一种资源配置方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/728,758 Continuation US9336054B2 (en) 2012-07-06 2012-12-27 Method and apparatus for configuring resource

Publications (1)

Publication Number Publication Date
WO2014005328A1 true WO2014005328A1 (zh) 2014-01-09

Family

ID=49652992

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078309 WO2014005328A1 (zh) 2012-07-06 2012-07-06 一种资源配置方法及装置

Country Status (5)

Country Link
US (1) US9336054B2 (zh)
EP (1) EP2696285A4 (zh)
JP (1) JP5845351B2 (zh)
CN (1) CN103430151B (zh)
WO (1) WO2014005328A1 (zh)

Families Citing this family (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326001B (zh) * 2015-07-06 2023-07-21 联想(北京)有限公司 一种信息处理方法及电子设备
CN106383739A (zh) * 2015-07-30 2017-02-08 阿里巴巴集团控股有限公司 一种启动资源的确定方法和装置
CN105893142A (zh) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 一种资源分配方法及装置
CN105979321A (zh) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 防止硬件资源占用冲突的方法及系统
CN106549880A (zh) * 2016-11-25 2017-03-29 珠海市魅族科技有限公司 一种终端的资源分配方法及终端设备
CN108323236B (zh) * 2016-12-27 2021-02-12 华为技术有限公司 一种交互方法和终端
US10860369B2 (en) 2017-01-11 2020-12-08 International Business Machines Corporation Self-adjusting system for prioritizing computer applications
KR102297512B1 (ko) * 2017-04-04 2021-09-03 삼성전자주식회사 전자 장치 및 그의 제어 방법
CN107483725A (zh) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN107479972A (zh) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN107479970B (zh) * 2017-07-31 2022-09-09 Oppo广东移动通信有限公司 资源配置方法及相关产品
US11182210B2 (en) 2017-07-31 2021-11-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN107450988B (zh) * 2017-07-31 2019-12-27 Oppo广东移动通信有限公司 资源配置方法及相关产品
EP3438825A1 (en) 2017-07-31 2019-02-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN107517306B (zh) * 2017-07-31 2020-07-10 Oppo广东移动通信有限公司 资源配置方法及相关产品
CN107577536A (zh) * 2017-08-31 2018-01-12 广东欧珀移动通信有限公司 应用优化方法及相关产品
CN107547744A (zh) * 2017-08-31 2018-01-05 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN107589998A (zh) * 2017-08-31 2018-01-16 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN107515787A (zh) * 2017-08-31 2017-12-26 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN107577532B (zh) * 2017-08-31 2019-10-29 Oppo广东移动通信有限公司 资源配置方法及相关产品
CN107547746B (zh) * 2017-08-31 2020-09-04 Oppo广东移动通信有限公司 资源配置方法及相关产品
CN107528977B (zh) * 2017-08-31 2020-07-07 Oppo广东移动通信有限公司 资源配置方法及相关产品
CN107547745B (zh) * 2017-08-31 2020-07-17 Oppo广东移动通信有限公司 资源配置方法及相关产品
CN107613107A (zh) * 2017-08-31 2018-01-19 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN107528976B (zh) 2017-08-31 2020-03-24 Oppo广东移动通信有限公司 资源配置方法及相关产品
CN107621981A (zh) * 2017-09-06 2018-01-23 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN107832142B (zh) * 2017-10-11 2020-06-09 Oppo广东移动通信有限公司 应用程序的资源配置方法及设备
CN107832141A (zh) * 2017-10-11 2018-03-23 广东欧珀移动通信有限公司 应用程序运行控制方法及设备
CN110879750A (zh) 2017-10-13 2020-03-13 华为技术有限公司 资源管理的方法及终端设备
CN107861603A (zh) * 2017-10-31 2018-03-30 广东欧珀移动通信有限公司 功耗控制方法及设备
CN107995357A (zh) * 2017-11-15 2018-05-04 广东欧珀移动通信有限公司 资源配置方法及装置
CN107783803B (zh) * 2017-11-21 2021-04-06 Oppo广东移动通信有限公司 智能终端的系统优化方法、装置、存储介质及智能终端
CN109960581B (zh) * 2017-12-26 2021-06-01 Oppo广东移动通信有限公司 硬件资源配置方法、装置、移动终端及存储介质
CN108647089B (zh) * 2018-03-13 2020-01-24 Oppo广东移动通信有限公司 资源配置方法、装置、终端及存储介质
CN108594983A (zh) * 2018-04-11 2018-09-28 麒麟合盛网络技术股份有限公司 一种节省移动终端电量的方法及装置
CN108628673A (zh) * 2018-05-07 2018-10-09 上海掌门科技有限公司 数据处理方法、电子设备和计算机可读介质
CN110650534B (zh) * 2018-06-27 2022-03-29 中兴通讯股份有限公司 一种发送寻呼消息的方法、装置、计算机设备及存储介质
CN110187818B (zh) * 2019-04-09 2020-12-29 Oppo广东移动通信有限公司 组件的性能提升方法、装置、终端及存储介质
CN113127188A (zh) * 2019-12-31 2021-07-16 华为技术有限公司 一种性能优化方法与电子设备
CN111414265B (zh) * 2020-03-23 2024-03-19 海信电子科技(深圳)有限公司 一种调用系统资源的服务框架及方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040221038A1 (en) * 2003-04-30 2004-11-04 International Business Machines Corporation Method and system of configuring elements of a distributed computing system for optimized value
CN1889737A (zh) * 2006-07-21 2007-01-03 华为技术有限公司 一种资源管理的方法和系统
CN101833465A (zh) * 2010-04-23 2010-09-15 中国科学院声学研究所 一种支持应用程序动态加载运行的嵌入式系统

Family Cites Families (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6148324A (en) * 1998-01-05 2000-11-14 Lucent Technologies, Inc. Prioritized load balancing among non-communicating processes in a time-sharing system
US7434177B1 (en) * 1999-12-20 2008-10-07 Apple Inc. User interface for providing consolidation and access
US6832230B1 (en) * 1999-12-22 2004-12-14 Nokia Corporation Apparatus and associated method for downloading an application with a variable lifetime to a mobile terminal
JP2001306341A (ja) * 2000-04-26 2001-11-02 Mitsubishi Electric Corp コンピュータシステムおよびコンピュータ読み取り可能な記録媒体
JP2002055833A (ja) * 2000-08-09 2002-02-20 Toshiba Corp リアルタイムシステム設計装置、リアルタイムシステム設計方法及びリアルタイムシステム設計プログラムを記録した記録媒体
US7062749B2 (en) * 2000-12-15 2006-06-13 Promenix, Inc. Measuring, monitoring and tracking enterprise communications and processes
US7581224B2 (en) 2003-07-10 2009-08-25 Hewlett-Packard Development Company, L.P. Systems and methods for monitoring resource utilization and application performance
US7206387B2 (en) * 2003-08-21 2007-04-17 International Business Machines Corporation Resource allocation for voice processing applications
JP4207938B2 (ja) * 2005-02-01 2009-01-14 セイコーエプソン株式会社 ソフトウェア認証システム、ソフトウェア認証プログラム、およびソフトウェア認証方法
US7934200B2 (en) * 2005-07-20 2011-04-26 International Business Machines Corporation Enhanced scenario testing of an application under test
US7489976B2 (en) * 2005-09-12 2009-02-10 Hosni I Adra System and method for dynamically simulating process and value stream maps
US20070136731A1 (en) * 2005-12-09 2007-06-14 Caterpillar Inc. Systems and methods for prioritizing tasks
US8185422B2 (en) * 2006-07-31 2012-05-22 Accenture Global Services Limited Work allocation model
GB2443229B (en) * 2006-08-23 2009-10-14 Cramer Systems Ltd Capacity management for data networks
JP4878280B2 (ja) * 2006-12-11 2012-02-15 富士通株式会社 端末装置、アプリケーション起動制御プログラムおよびアプリケーション起動制御方法
US20080320490A1 (en) * 2007-06-20 2008-12-25 Nokia Corporation Method, apparatus and computer program product for providing sub-process resource management
CN101126978A (zh) * 2007-09-25 2008-02-20 康佳集团股份有限公司 一种多级菜单实现方法
JP4833240B2 (ja) * 2008-03-19 2011-12-07 株式会社エヌ・ティ・ティ・ドコモ 通信端末及びアプリケーション削除方法
JP4584324B2 (ja) * 2008-05-22 2010-11-17 ルネサスエレクトロニクス株式会社 データ処理システム、及びコンポーネント管理方法
US8453156B2 (en) * 2009-03-30 2013-05-28 Intel Corporation Method and system to perform load balancing of a task-based multi-threaded application
CN101697141B (zh) * 2009-10-30 2012-09-05 清华大学 网格中基于历史数据建模的作业性能预测方法
WO2011153176A1 (en) * 2010-05-31 2011-12-08 Telenav, Inc. Navigation system with dynamic application execution mechanism and method of operation thereof
AU2011293350B2 (en) * 2010-08-24 2015-10-29 Solano Labs, Inc. Method and apparatus for clearing cloud compute demand
US9003416B2 (en) * 2010-09-29 2015-04-07 International Business Machines Corporation Predicting resource requirements for a computer application
CN102156530B (zh) 2010-09-30 2013-08-28 华为终端有限公司 移动终端的功耗管理方法和装置
CN102123384A (zh) 2011-03-17 2011-07-13 华为技术有限公司 一种移动终端的参数配置方法及配置装置
WO2013006783A1 (en) * 2011-07-07 2013-01-10 Georgetown University System and method for performing pharmacovigilance
US20130073601A1 (en) * 2011-09-21 2013-03-21 Jonathan A. Jenkins Remote process execution management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040221038A1 (en) * 2003-04-30 2004-11-04 International Business Machines Corporation Method and system of configuring elements of a distributed computing system for optimized value
CN1889737A (zh) * 2006-07-21 2007-01-03 华为技术有限公司 一种资源管理的方法和系统
CN101833465A (zh) * 2010-04-23 2010-09-15 中国科学院声学研究所 一种支持应用程序动态加载运行的嵌入式系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2696285A4 *

Also Published As

Publication number Publication date
CN103430151A (zh) 2013-12-04
JP2014519675A (ja) 2014-08-14
EP2696285A4 (en) 2014-02-26
US20140013332A1 (en) 2014-01-09
EP2696285A1 (en) 2014-02-12
JP5845351B2 (ja) 2016-01-20
US9336054B2 (en) 2016-05-10
CN103430151B (zh) 2016-11-16

Similar Documents

Publication Publication Date Title
WO2014005328A1 (zh) 一种资源配置方法及装置
CN107832100B (zh) 一种apk插件的加载方法及其终端
EP2749988B1 (en) Method and device for application program operation, mobile terminal
CN106899649B (zh) 一种任务请求处理方法、装置和用户设备
US9021243B2 (en) Method for increasing free memory amount of main memory and computer therefore
CN104636144A (zh) 一种移动终端后台程序管理方法及装置
WO2017096771A1 (zh) 应用缓存数据的存储控制方法及装置
CN107977254B (zh) 云数据系统中请求的响应方法和计算机可读存储介质
WO2017020781A1 (zh) 省电处理方法、装置、移动终端和云端服务器
US9639399B2 (en) Method, apparatus and terminal for releasing memory
US10877885B2 (en) Electronic device data operation method and electronic device for improved electronic device storage
CN111800462A (zh) 微服务实例处理方法、装置、计算机设备及存储介质
CN102902566A (zh) 一种应用软件的安装及启动方法和装置
CN102279784A (zh) 一种电子设备及其系统资源使用状态的提示方法、系统
TW201826102A (zh) 應用運行方法及裝置
CN103902300B (zh) 一种Android模拟器快速安装APK程序的方法及系统
US10007529B2 (en) Data terminal running mode switching method, device, and data terminal
CN108958808A (zh) 终端启动方法及装置、终端及存储介质
US8281091B2 (en) Automatic selection of storage volumes in a data storage system
CN106569848A (zh) 终端及其应用程序的启动管理方法
WO2019137298A1 (zh) 进程管理及进程间通信方法、装置、计算设备及存储介质
CN110120963B (zh) 一种数据处理方法、装置、设备和机器可读介质
EP3586225B1 (en) Apparatus and method for reducing energy consumption of hardware based on application state
CN103257894A (zh) 一种管理程序的方法及电子终端
WO2018049941A1 (zh) 数据迁移方法及相关产品

Legal Events

Date Code Title Description
REEP Request for entry into the european phase

Ref document number: 2012801790

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012801790

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2014523179

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE