WO2017167120A1 - 一种管理应用程序的方法及装置 - Google Patents

一种管理应用程序的方法及装置 Download PDF

Info

Publication number
WO2017167120A1
WO2017167120A1 PCT/CN2017/077914 CN2017077914W WO2017167120A1 WO 2017167120 A1 WO2017167120 A1 WO 2017167120A1 CN 2017077914 W CN2017077914 W CN 2017077914W WO 2017167120 A1 WO2017167120 A1 WO 2017167120A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
determining
information
current
state information
Prior art date
Application number
PCT/CN2017/077914
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 阿里巴巴集团控股有限公司
Publication of WO2017167120A1 publication Critical patent/WO2017167120A1/zh
Priority to US16/143,304 priority Critical patent/US11182213B2/en

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/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
    • 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
    • G06F9/5022Mechanisms to release resources
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3433Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment for load management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • 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]
    • 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
    • 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
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/81Threshold
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/865Monitoring of software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5019Workload prediction
    • 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 communications, and in particular, to a method and apparatus for managing an application.
  • the function of automatically reclaiming the running application is set. That is, the running application is automatically reclaimed when the system resources are insufficient.
  • the existing intelligent operating system mainly depends on the following factors when determining whether to recycle the resources of the application: whether the application is in the foreground, the startup time of the application, the size of the memory resources occupied by the application, and the like.
  • the resource recycling of the application requires the triggering of some events, such as: the user actively requests, or the system resources are tight.
  • the embodiment of the present application provides a method and a device for managing an application, which are used to implement reasonable management of an application in combination with user usage habits.
  • a method of managing an application including:
  • a device for managing applications including:
  • a monitoring unit for monitoring that the application is switched to the background
  • a determining unit configured to determine, according to the recorded history usage process information of the application, whether the application program is to be used continuously;
  • a processing unit configured to reclaim resources occupied by the application when the application is not used continuously.
  • the smart device monitors that the application is switched to the background, and uses the process information of the recorded application to determine whether the application is to be used continuously; if it is determined that the application does not Continued to use to reclaim the resources occupied by the application.
  • the application can be rationalized and managed in combination with user habits, which not only improves the user operation efficiency, but also improves the user experience, and at the same time achieves the effect of saving power and delaying battery life.
  • FIG. 1 is a flowchart of an overview of a smart device management application in an embodiment of the present application
  • FIG. 2 is a flow chart of an example of a smart device management application in an embodiment of the present application
  • FIG. 3 is a flowchart of a comprehensive state value of a smart device computing application in an embodiment of the present application
  • FIG. 4 is a flowchart of a memory idle rate management application according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a first function of a smart device according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a second function of a smart device according to an embodiment of the present application.
  • the smart device when the application on the smart device is started (for example, every time), the smart device records the location information or time information of the smart device when the application starts, as the foreground status information, after a certain period of time. Cumulative, you can get a collection of foreground status information.
  • the application is usually in the foreground when it starts, and generally only one application can be in the foreground at a time, and the rest of the applications may need to be switched to the background.
  • the smart device records the location information or time information of the smart device when the application switches to the background, as the background state information, after a certain The accumulation of time, you can get a collection of background states.
  • the foregoing foreground state information set and background state information set may be recorded in the same list.
  • the foreground state information set and the background state information set may be selected to be recorded in different lists, because the user's usage habits are inconsistent in different time periods.
  • the foreground state information set and the background state information set are recorded in the weekday list
  • the foreground state information set and the background state information set are recorded in the rest day list.
  • the foreground status information set and the background status information set are recorded in the first quarter list
  • the foreground status information set and the background status information set are recorded in the second quarter list
  • the foreground state information and the background state information generated by the application during the historical use process can be classified and recorded, that is, when the user starts the application in different time periods and switches the application to the background, what are the smart devices respectively? Location or at what time, this In this way, the user's historical data can be collected in a classified manner to grasp the user's usage habits.
  • the startup time of the application is implemented, and the application program is rationalized and managed in combination with the user usage habit.
  • the smart device needs to record a corresponding foreground state information set and background state information set, an application foreground state information set and a background state information set for each application. Also known as the historical usage process information for this application.
  • the smart device is managed for one application as an example, but it should be reasonably inferred that the smart device adopts the same or similar management manner for each application, and is different for each application. The management of the application can be parallelized and will not be described here.
  • an overview process of the smart device management application is as follows:
  • Step 100 The smart device monitors that the application is switched to the background.
  • the smart device monitors the usage status of the application at any time, and monitors when the application starts, and when the application is monitored to switch to the background, it needs to be recorded.
  • Step 110 The smart device determines, according to the recorded historical usage process information of the application, whether the application is to be used continuously.
  • step 110 when performing step 110, the following two methods may be used:
  • the foreground state information collection is selected in the history usage process information of the application.
  • the current state information of the application may be the current location information of the smart device carrying the application, or may be the current time, depending on which way the foreground state information set is recorded.
  • the information that matches the current state information of the application is calculated, the first proportion occupied in the foreground state information of the application.
  • the first ratio occupied by all the location information approximated by the location 1 in the foreground state information of the application is calculated.
  • the smart device can easily determine whether the user is placing the application in the foreground at a place where the application is frequently used.
  • the smart device determines whether the first ratio reaches the first set threshold, and if so, determines that the application is to continue to be used; otherwise, it is determined that the application is not to be used.
  • the current state information of the application is position 1, in the foreground state information of the application, all the location information similar to the location 1 occupies 80%, and exceeds the first set threshold by 40%, indicating that the intelligence is
  • the current location of the device is the range of locations where the user frequently uses the application, so the resources occupied by the application cannot be recycled.
  • the foreground state information set and the background state information set are selected in the history usage process information of the application.
  • the current state information of the application may be the current location information of the smart device carrying the application, or may be the current time, depending on which way the foreground state information set is recorded.
  • the current state information of the application is time 1
  • the smart device can easily determine whether the user will often use the above application in the foreground at the current time, or will often switch the application to the background.
  • the current information of the application is time 1
  • all time information similar to time 1 occupies 60%
  • in the background state information of the application similar to time 1.
  • the proportion of all time information occupied is 40%
  • the first ratio calculated by the smart device can also be regarded as a comprehensive state value in a special case, that is, only the comprehensive state value calculated by referring to the foreground state information set, and Let me repeat.
  • Step 120 The smart device determines that the application does not continue to be used, and recycles resources occupied by the application.
  • the smart device determines that the application does not continue to be used, and then the application occupies resources.
  • the smart device determines that the above application is to be used continuously, the smart device determines that the above application satisfies the condition for recycling the resource, and does not recycle the resource occupied by the application.
  • the determining that the application meets the condition for recovering the resource may include, but is not limited to, any one of the following situations:
  • Case 1 The smart device counts the time when the application is switched to the background and determines that the timing reaches the first set threshold.
  • the smart device does not recycle the resources occupied by the application once it is determined that the user is likely to continue using the application.
  • Case 2 The smart device determines that the resource occupation time of the application reaches a second set threshold.
  • the smart device does not recycle the resources occupied by the application once it determines that the user is likely to continue using the application.
  • Case 3 The smart device determines that the system's memory idle rate is below a third set threshold.
  • the smart device does not recycle the resources occupied by the application once it determines that the user is likely to continue using the application.
  • the smart device calculates the local location according to the second manner introduced in step 110.
  • the integrated state value of each application in the background, and the resources of the corresponding application are sequentially recovered according to the comprehensive state value until the current memory idle rate of the system is not less than the third set threshold.
  • the order of the recovery may be in the order of the comprehensive state values from the largest to the smallest, or may be recovered in the order of the comprehensive state values from small to large, and the specific operations are determined according to the application environment, and will not be described herein.
  • the smart device management application is as follows:
  • Step 200 After the application is started, the smart device records the application corresponding to the application The first location information of the smart device when the program starts, and saves the first location information as foreground state information of the application to the foreground state information set.
  • the smart device in order to save resources of the smart device, the smart device does not need to perform precise positioning when obtaining the first location information, for example, the first location information may be accurate to 100 meters around the smart device (only For example, the range is fine.
  • the smart device After the user opens the "video playback" application at home, the smart device records its location information corresponding to "video playback", which may be physical location information (eg, specific physical coordinates), or may be virtual location information (eg, home ).
  • location information corresponding to "video playback” may be physical location information (eg, specific physical coordinates), or may be virtual location information (eg, home ).
  • Step 210 After the application is switched to the background, the smart device records the second location information of the smart device when the application is switched, and saves the second location information as the background state information of the application to the background state. Information collection.
  • the smart device in order to save the resources of the smart device, the smart device does not need to perform precise positioning when obtaining the second location information, for example, the second location information may be accurate to 100 meters around the smart device (only For example, the scope is sufficient.
  • the smart device After the user goes out to the park from the home, after the application of "video playback" is turned off, the smart device records the location information corresponding to "video playback", which may be physical location information (eg, specific physical coordinates), or may be Virtual location information (eg, park).
  • location information corresponding to "video playback” which may be physical location information (eg, specific physical coordinates), or may be Virtual location information (eg, park).
  • Step 220 The smart device determines that the application is switched to the background, and determines that the current location information is obtained when the monitoring time point is reached.
  • the smart device starts a loop timer for the application, for example, the timer's timeout is 5 minutes.
  • the timer will be closed. Therefore, when an application is in the background for a long time, as long as the application does not exit, the timer will be triggered once every set time (for example, 5 minutes), and each time the timer is triggered, the monitoring time is reached. point.
  • the smart device obtains the current location information.
  • the smart device obtains the current location information. In the example, only one of them is introduced as an example.
  • Step 230 The smart device calculates information matching the current location information of the application, a ratio A occupied in the foreground state information of the application, and calculating information matching the current location information of the application, in the application.
  • A is the information that matches the current location information of the application, and the proportion occupied in the foreground state information of the application;
  • B is information that matches the current location information of the application, and the proportion occupied in the background state information of the application;
  • C is information that does not match the current location information of the above application, and the proportion occupied in the foreground state information of the application;
  • D is information that does not match the current location information of the above application, and the proportion occupied in the background state information of the application;
  • a is a preset first weight
  • b is a preset second weight
  • c is a preset third weight
  • d is a preset fourth weight.
  • R is the final composite state value.
  • Step 240 The smart device determines to calculate the integrated state value based on the ratio A and the ratio B, and determines whether the integrated state value reaches the threshold M. If yes, step 250 is performed; otherwise, the step is performed. 260.
  • Step 250 It is determined that the above application will continue to be used, and the resources occupied by the application are not recycled.
  • Step 260 It is determined that the above application is not used continuously, and the resources occupied by the application are reclaimed.
  • the application is evaluated by a pair of applications, and the integrated state value of the application can be obtained in combination with the user's usage habits, that is, if the user frequently uses an application (hereinafter referred to as application X) under a certain scene (hereinafter referred to as scene A), And in another scenario (hereinafter referred to as scene B), the application X is often switched to the background.
  • application X an application
  • scene A a certain scene
  • scene B scene B
  • the smart device each time the user is in the vicinity of the scene A (that is, the current location information is the scene A), the information detected by the smart device that matches the scene A appears in the foreground state information of the application X is high, in the application. If the proportion of the background state information of the program X is very low, the value of the comprehensive state value R calculated by the formula 1 will be very high, and it is easy to reach the threshold M; therefore, in the vicinity of the scene A, the smart device usually does not Reclaim resources occupied by application X.
  • the information detected by the smart device that matches the scene B has a low proportion in the foreground state information of the application X. If the proportion of the background state information of the application X is very high, the value of the comprehensive state value R calculated by the formula 1 will be very low, and it is easy to fall below the threshold M; therefore, in the vicinity of the scene B, the smart device usually The resources occupied by application X will be quickly reclaimed.
  • the smart device selects the historical use process information including the foreground state information and the background state information of the application X, optionally, the time range corresponding to the current time needs to be obtained, and the corresponding time is obtained.
  • Range preset historical data For example, if the current time is a rest day, the historical use process information corresponding to the rest day record is selected, and if the current time is a work day, the historical use process information corresponding to the work day record is selected.
  • the smart device determines whether to recycle the application X, it can further add Entering other elements, for example, further referencing the number of triggers of the timer, can also be understood as referring to the duration of the application X switching to the background, and, for example, further referring to the duration of the application X consuming resources, and, for example, further referencing the system's memory idle. Rate and so on.
  • the smart device calculates that the value of R corresponding to the application X reaches the threshold M, which indicates that the application X is likely to be used again by the user at this time, then even if it is satisfied
  • the smart device does not recycle the resources occupied by the application X in any of the following cases or any combination:
  • the application process X is still taken as an example.
  • the process of calculating the integrated state value of the application X by the smart device is as follows:
  • Step 300 The smart device determines whether the application X is currently in the foreground or the background according to the state change of the application X. If it is located in the foreground, step 310 is performed; if it is located in the background, step 320 is performed.
  • Step 310 The smart device corresponds to the application X removal timer.
  • Step 320 The smart device corresponds to the application X to set a timer.
  • Step 330 The smart device maintains a timer, and when it is determined that the timer expires, restarts the timer, and performs step 340.
  • Step 340 The smart device calculates the integrated state value of the application X, and determines whether the integrated state value is greater than a preset threshold (eg, 0.5). If yes, returns to step 330 to wait for the next timeout of the timer; otherwise, the execution Step 350.
  • a preset threshold eg, 0.5
  • Step 350 The smart device exits the application X and performs resource recovery.
  • the system has a memory idle rate less than or equal to the third set gate.
  • the limit for example, 20%
  • the resource recovery will be forcibly performed to ensure system performance.
  • the smart device mobile phone will traverse all at this time.
  • the application in the background exits in descending order of its comprehensive state value from low to high or high to low until the system's memory idle rate exceeds the third set threshold (eg, 20%). 4 shows:
  • Step 400 The smart device determines a change in the memory state, and determines whether the current content idle rate is less than or equal to 20%. If yes, step 410 is performed; otherwise, the operation is not currently performed, and the next determination is awaited.
  • Step 410 The smart device calculates a comprehensive status value for each application.
  • Step 420 The smart device sequentially sorts the applications according to the comprehensive state value from small to large.
  • Step 430 The smart device starts from the application with the smallest integrated state value, and sequentially exits the application until the memory idle rate is greater than 20%, and returns to step 400.
  • the first scene The first scene:
  • the user has opened the "online game” when he is at home nine times, and switches the “online game” to the background when leaving home, and that the user opens the “online game” when he leaves home one time, and at home Switch the "online game” to the background; if the mobile phone detects that the user currently switches the “online game” to the background, and the current location information is "at home”, then the mobile phone calculates the information matching the "home” in the user's foreground status information.
  • the user still does not turn off the "online game” on the mobile phone, and the timer has timed out many times, and the mobile phone also calculates the comprehensive state value of the "online game” multiple times, and the comprehensive state value will be over time.
  • the progress is getting lower and lower, after less than 0.5, the phone closes the app "online”.
  • the smart device recycles the resources occupied by the "online game” to ensure the system availability of the system.
  • the mobile phone detects that the user currently switches the "order” to the background, and the current time information is "16:00", which belongs to "the rest of the time”. Then, the mobile phone calculates the information matching "16:00" in the user's foreground.
  • the ratio A appearing in the status information set is 20%
  • the information matching the "16:00” in the user's background status information set is 80%
  • the smart device includes at least a monitoring unit 50, a determining unit 51, and a processing unit 52, where
  • the monitoring unit 50 is configured to monitor that the application is switched to the background
  • the determining unit 51 is configured to determine, according to the recorded history usage process information of the application, whether the application program is to be used continuously;
  • the processing unit 52 is configured to reclaim resources occupied by the application when the application is not used continuously.
  • the processing unit 52 is further configured to:
  • the processing unit 52 when determining that the application meets the condition for reclaiming resources, is configured to:
  • the processing unit 52 is configured to:
  • processing unit 52 is further configured to:
  • the resources occupied by the application are not reclaimed when it is determined that the application satisfies the conditions for reclaiming resources and it is determined that the application will continue to be used.
  • the historical usage process information includes:
  • the determining unit 51 is configured to:
  • the historical usage process information further includes:
  • the determining unit 51 is configured to:
  • Determining whether the integrated status value reaches a second set threshold and if so, determining that the application is to continue to be used; otherwise, determining that the application is not to be used.
  • the current status information of the application includes:
  • the current location information of the smart device hosting the application or,
  • processing unit 52 is further configured to:
  • the smart device includes at least a processor 60 and a transceiver 61, where
  • the processor 60 is configured to read a program in the memory by performing the following process:
  • the transceiver 61 is configured to receive and transmit data under the control of the processor 60.
  • the processor 60 is further configured to:
  • the processor 60 when determining that the application meets a condition for reclaiming resources, the processor 60 is configured to:
  • the processor 60 when determining that the running state and/or the system state of the application meet the set condition, the processor 60 is configured to:
  • the processor 60 is further configured to:
  • the resources occupied by the application are not reclaimed when it is determined that the application satisfies the conditions for reclaiming resources and it is determined that the application will continue to be used.
  • the historical usage process information includes:
  • the processor 60 is configured to:
  • the historical usage process information further includes:
  • the processor 60 is configured to:
  • Determining whether the integrated status value reaches a second set threshold and if so, determining that the application is to continue to be used; otherwise, determining that the application is not to be used.
  • the current status information of the application includes:
  • the current location information of the smart device hosting the application or,
  • the processor 60 is further configured to:
  • a bus in a bus architecture, can include any number of interconnected buses and bridges that will be linked together by various circuits including one or more processors represented by general purpose processor 60 and memory represented by memory.
  • the bus can also link various other circuits, such as peripherals, voltage regulators, and power management circuits, as is well known in the art and, therefore, will not be further described herein.
  • the transceiver 61 can be an element or a plurality of elements, such as a plurality of receivers and transmitters, providing means for communicating with various other devices on a transmission medium. For example, the transceiver 61 receives external data from other devices.
  • the transceiver 61 is configured to transmit the processed data of the processor 60 to other devices.
  • a user interface can also be provided, such as a keypad, display, speaker, microphone, joystick.
  • the processor 60 is responsible for managing the bus and normal processing, running a general purpose operating system as described above.
  • the memory can be used to store data used by processor 60 when performing operations.
  • the processor 60 may be a CPU, an ASIC, an FPGA, or a CPLD.
  • the smart device monitors that the application is switched to the background, and determines whether the application will continue to be used according to the recorded historical usage process information of the application; The application will not be used continuously, reclaiming the resources occupied by the application.
  • the application can be rationalized and managed in combination with user habits, which not only improves the user operation efficiency, but also improves the user experience, and at the same time achieves the effect of saving power and delaying battery life.
  • the smart device evaluates the application, it also refers to the current memory idle rate.
  • the memory idle rate is not high, each application sequentially performs resource recovery according to the comprehensive state value, thereby effectively ensuring the system memory.
  • the idle rate maintains system stability and system performance.
  • the smart device is more intelligent in resource recovery for the application, and the quitted application is not used by the user for a period of time, and the smart device can always be at the right time.
  • Exit the application to reclaim resources, especially after the user has used it for a long time the whole system will become more and more smooth, and the way to exit the application will become more and more in line with the user's usage habits, and the battery life will be extended.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the computer readable memory is
  • the instructions in the memory produce an article of manufacture comprising an instruction device that implements the functions specified in one or more blocks of the flowchart or in a flow or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

一种管理应用程序的方法及装置,用以结合用户使用习惯对应用程序实现合理化管理。该方法为:智能设备监控到应用程序被切换到后台(100),会根据记录的所述应用程序的历史使用过程信息,判断所述应用程序是否会被继续使用(110);若确定所述应用程序不会被继续使用,回收所述应用程序占用的资源(120)。这样,可以结合用户使用习惯对应用程序实现合理化管理,不但提高了用户操作效率,提升了用户体验,同时能达到节省电能,延迟电池使用寿命的效果。

Description

一种管理应用程序的方法及装置 技术领域
本申请涉及通信领域,特别涉及一种管理应用程序的方法及装置。
背景技术
目前,在主流的智能操作系统中,均设置了能够自动回收运行中的应用程序功能。即:在系统资源不足的情况下,自动回收运行中的应用程序。而现有的智能操作系统在判断是否需要对应用程序进行的资源回收时,主要依赖如下一些因素:应用程序是否处于前台,应用程序的启动时长,应用程序占用内存资源的大小等等。并且,应用程序的资源回收需要一些事件的触发,例如:用户主动请求,或者,系统资源紧张。
然而,若智能操作系统长时间处于锁屏状态(例如,用户在睡觉时),最近打开的一些应用程序即便长时间都不会被使用,但仍然不会被回收。并且可能存在有些应用程序刚刚在被回收之后,立刻又被用户打开,从而造成了系统资源浪费。
发明内容
本申请实施例提供一种管理应用程序的方法及装置,用以结合用户使用习惯对应用程序实现合理化管理。
本申请实施例提供的具体技术方案如下:
一种管理应用程序的方法,包括:
监控到应用程序被切换到后台;
根据记录的所述应用程序的历史使用过程信息,判断所述应用程序是否会被继续使用;
若确定所述应用程序不会被继续使用,回收所述应用程序占用的资 源。
一种管理应用程序的装置,包括:
监控单元,用于监控到应用程序被切换到后台;
判断单元,用于根据记录的所述应用程序的历史使用过程信息,判断所述应用程序是否会被继续使用;
处理单元,用于确定所述应用程序不会被继续使用时,回收所述应用程序占用的资源。
本申请有益效果如下:
本申请实施例中,智能设备监控到应用程序被切换到后台,会根据记录的所述应用程序的历史使用过程信息,判断所述应用程序是否会被继续使用;若确定所述应用程序不会被继续使用,回收所述应用程序占用的资源。这样,可以结合用户使用习惯对应用程序实现合理化管理,不但提高了用户操作效率,提升了用户体验,同时能达到节省电能,延迟电池使用寿命的效果。
附图说明
图1本申请实施例中智能设备管理应用程序概述流程图;
图2为本申请实施例中智能设备管理应用程序示例流程图;
图3为本申请实施例中智能设备计算应用程序的综合状态值流程图;
图4为本申请实施例中基于内存空闲率管理应用程序流程图;
图5为本申请实施例中智能设备第一功能结构示意图;
图6为本申请实施例中智能设备第二功能结构示意图。
具体实施方式
为了能够结合用户使用习惯对智能设备上运行的应用程序实现合理化管理,本申请实施例中,结合用户所处的当前场景和用户的历史习惯, 来改善系统中运行状态的应用程序的管理方式,以提升用户体验,同时能达到节省电能,延迟电池使用寿命的效果。
下面结合附图对本申请优选的实施方式进行详细说明。
本申请实施例中,智能设备上的应用程序在启动(例如,每一次启动)时,智能设备会记录,应用程序启动时智能设备的位置信息或时间信息,作为前台状态信息,经过一定时间的累积,可以获得前台状态信息集合。
通常情况下,应用程序启动时一般位于前台,而一般一次只能有一个应用程序位于前台,其余应用程序可能需要被切换至后台。
相应的,智能设备上的应用程序在被切换至后台后(例如,每一次切换),智能设备会记录,应用程序切换至后台时智能设备的位置信息或时间信息,作为后台状态信息,经过一定时间的累积,可以获得后台状态集合。
上述前台状态信息集合和后台状态信息集合可以记录在同一列表中。
可选的,根据当前时间的不同,可以选择将前台状态信息集合和后台状态信息集合记录在不同的列表中,因为不同时间段,用户的使用习惯不一致。
例如,在工作日时,将前台状态信息集合和后台状态信息集合记录在工作日列表中,而在休息日,则将前台状态信息集合和后台状态信息集合记录在休息日列表中。
又例如,在第一季度,将前台状态信息集合和后台状态信息集合记录在第一季度列表中,第二季度时,将前台状态信息集合和后台状态信息集合记录在第二季度列表中……
显然,通过上述方式,可以分类记录应用程序在历史使用过程中产生的前台状态信息和后台状态信息,即用户在不同时间段启动应用程序及将应用程序切换至后台时,智能设备分别处于何种位置或处于何种时间,这 样,可以分类地收集用户的历史数据,从而掌握用户的使用习惯。
进一步地,除了对应应用程序记录前台状态信息集合和后台状态信息集合之外,可选的,还可以记录以下内容:应用程序每一次的启动时间、以结合用户使用习惯对应用程序实现合理化管理。
可选的,还可以记录以下内容:每一次处于前台的时间范围(起始时间和结束时间)、应用程序每一次切换至后台的时间,应用程序每一次处于后台的时间范围(起始时间和结束时间),应用程序每一次退出的时间(即应用程序被资源回收的时间)。
实际应用中,智能设备上通常存在多个应用程序,智能设备需要对应每一个应用程序分别记录相应的前台状态信息集合和后台状态信息集合,一个应用程序的前台状态信息集合和后台状态信息集合,也称为这个应用程序的历史使用过程信息。为了便于描述,后续实施例中,以智能设备针对一个应用程序进行管理为例进行说明,但应当能够合理推断出,智能设备针对每一个应用程序均采用的是相同或类似的管理方式,针对不同应用程序的管理可以并行,在此不再赘述。
基于上述应用场景,参阅图1所示,本申请实施例中,智能设备管理应用程序的概述流程如下:
步骤100:智能设备监控到应用程序被切换到后台。
具体的,智能设备会随时监控应用程序的使用状态,监控到应用程序启动时,以及监控到应用程序切换至后台时,均需要进行记录。
步骤110:智能设备根据记录的上述应用程序的历史使用过程信息,判断应用程序是否会被继续使用。
可选的,在执行步骤110时,可以采用但不限于以下两种方式:
第一种方式:
首先,应用程序的历史使用过程信息中选取前台状态信息集合;
其次,确定上述应用程序的当前状态信息。
应用程序的当前状态信息可以是承载应用程序的智能设备当前的位置信息,也可以是当前时间,具体视前台状态信息集合是按哪一种方式记录的。
再次,计算与应用程序的当前状态信息匹配的信息,在该应用程序的前台状态信息中占用的第一比例。
例如,假设应用程序的当前状态信息为位置1,则计算在应用程序的前台状态信息中,与位置1近似的所有位置信息占用的第一比例。
这样,智能设备可以很容易判断出,用户是否在一个经常使用上述应用程序的地点,将该应用程序放置在前台使用。
最后,智能设备判定第一比例是否达到第一设定门限,若是,则确定上述应用程序会被继续使用,否则,确定上述应用程序不会被继续使用。
例如,假设应用程序的当前状态信息为位置1,在应用程序的前台状态信息中,与位置1相似的所有位置信息占用的比例为80%,超过了第一设定门限40%,则说明智能设备当前所处的位置,是用户经常使用应用程序的位置范围,因此,不能回收应用程序占用的资源。
第二种方式:
首先,应用程序的历史使用过程信息中选取前台状态信息集合和后台状态信息集合。
其次,确定上述应用程序的当前状态信息。
应用程序的当前状态信息可以是承载应用程序的智能设备当前的位置信息,也可以是当前时间,具体视前台状态信息集合是按哪一种方式记录的。
再次,计算与上述应用程序的当前状态信息匹配的信息,在该应用程序的前台状态信息中占用的第二比例,以及计算与上述应用程序的当前状 态信息匹配的信息,在该应用程序的后台状态信息中占用的第三比例。
例如,假设应用程序的当前状态信息为时间1,则计算在上述应用程序的前台状态信息中,与时间1近似的所有时间信息占用的第二比例,以及计算在上述应用程序的后台状态信息中,与时间1近似的所有时间信息占用的第三比例。
这样,智能设备可以很容易判断出,用户在当前时间下,是会经常在前台使用上述应用程序,还是会经常将上述应用程序切换至后台。
最后,基于第二比例和第三比例,计算所述应用程序的综合状态值,判定所述综合状态值是否达到第二设定门限,若是,则确定上述应用程序会被继续使用,否则,确定上述应用程序不会被继续使用。
例如,假设应用程序的当前信息为时间1,在应用程序的前台状态信息中,与时间1相似的所有时间信息占用的比例为60%,在应用程序的后台状态信息中,与时间1相似的所有时间信息占用的比例为40%,则假设综合状态值=60%a+40%b=50%,其中,a、b为预设权值,那么,综合状态值达到了第二设定门限50%,则说明在当前时间下,用户会更多地在前台使用上述应用程序,因此,不能回收应用程序占用的资源。
当然,在上述第一种方式下,智能设备所计算的第一比例也可以视为一种特殊情况下的综合状态值,即仅参考前台状态信息集合所计算出的综合状态值,在此不再赘述。
步骤120:智能设备确定上述应用程序不会被继续使用时,回收应用程序占用的资源。
具体的,智能设备确定上述应用程序不会被继续使用时,才会回收应用程序占用资源。相应的,如果智能设备确定上述应用程序会被继续使用,则即使智能设备确定上述应用程序满足回收资源的条件、也不回收应用程序占用的资源。
具体的,所谓确定应用程序满足回收资源的条件,即是指确定应用程序的运行状态和/或系统状态满足设定条件,具体的,可以包含但不限于以下任意一种情况:
情况1:智能设备对应用程序被切换到后台的时间进行计时,并且确定计时达到第一设定阈值。
具体而言,即使应用程序被切换至后台很长时间了,智能设备一旦判定用户有可能继续使用该应用程序,也不会回收应用程序占用的资源。
情况2:智能设备确定应用程序的资源占用时长达到第二设定阈值。
具体而言,即使应用程序占用资源的时间过长,智能设备一旦判定用户有可能继续使用该应用程序,也不会回收应用程序占用的资源。
情况3:智能设备确定系统的内存空闲率低于第三设定阈值。
具体而言,即使系统的内存空闲率过低,智能设备一旦判定用户有可能继续使用该应用程序,也不会回收应用程序占用的资源。
基于上述实施例,实际应用中,为了保证智能设备的性能,智能设备在确定系统当前的内存空闲率小于第三设定门限时,会按照步骤110中介绍的第二种方式,分别计算本地位于后台的每一个应用程序的综合状态值,并按照综合状态值依次对相应的应用程序进行资源回收,直到系统当前的内存空闲率不小于所述第三设定门限为止。当然,回收的顺序,可以是按照综合状态值从大到小的顺序回收,也可以按照综合状态值从小到大的顺序回收,具体操作视运用环境而定在,在此不再赘述。
下面以一个具体的应用场景对上述实施例作出进一步详细说明。
仍以一个应用程序为例,且假设应用程序的前台状态信息和后台状态信息中均记录的是智能设备在相应状态下的位置信息,那么,参阅图2所示,本申请实施例中,智能设备管理应用程序的具体流程如下:
步骤200:在应用程序启动后,智能设备对应该应用程序记录该应用 程序启动时智能设备的第一位置信息,并将第一位置信息作为应用程序的前台状态信息保存至前台状态信息集合。
本申请实施例中,可选的,为了节省智能设备的资源,在获得第一位置信息时,智能设备无需进行精确定位,如,可以将第一位置信息精确到智能设备周围100米(仅为举例)范围即可。
例如,用户在家开启“视频播放”这一应用程序后,智能设备对应“视频播放”记录其位置信息,可以是物理位置信息(如,具体物理坐标),也可以是虚拟位置信息(如,家)。
步骤210:在上述应用程序被切换至后台后,智能设备对应该应用程序记录该应用程序切换时智能设备的第二位置信息,并将第二位置信息作为应用程序的后台状态信息保存至后台状态信息集合。
本申请实施例中,可选的,为了节省智能设备的资源,在获得第二位置信息时,智能设备亦无需进行精确定位,如,可以将第二位置信息精确到智能设备周围100米(仅为举例)范围即可。
又例如,用户由家外出至公园后,关闭“视频播放”这一应用程序后,智能设备对应“视频播放”记录其位置信息,可以是物理位置信息(如,具体物理坐标),也可以是虚拟位置信息(如,公园)。
步骤220:智能设备确定上述应用程序被切换至后台,且确定到达监控时间点时,获取当前位置信息。
可选的,每当应用程序被切换到后台之后,智能设备为该应用程序启动一个循环定时器,如,定时器的超时间是5分钟。当应用程序切换回前台后,定时器会被关闭。因此,当一个应用程序长时间处于后台,只要该应用程序没有退出,定时器每隔设定的时长(如,5分钟)便会触发一次,而定时器每触发一次,便是到达了监控时间点。
而每一次到达监控时间点时,智能设备均获取当前的位置信息,本实 施例中,仅以其中的一次为例进行介绍。
步骤230:智能设备计算与上述应用程序的当前位置信息匹配的信息,在该应用程序的前台状态信息中占用的比例A,以及计算与上述应用程序的当前位置信息匹配的信息,在该应用程序的后台状态信息中占用的比例B。
例如,可以采用以下公式计算:
R=A x a+B x b+C x c+D x d
公式一
A为与上述应用程序的当前位置信息匹配的信息,在该应用程序的前台状态信息中占用的比例;
B为与上述应用程序的当前位置信息匹配的信息,在该应用程序的后台状态信息中占用的比例;
C为与上述应用程序的当前位置信息不匹配的信息,在该应用程序的前台状态信息中占用的比例;
D为与上述应用程序的当前位置信息不匹配的信息,在该应用程序的后台状态信息中占用的比例;
a为预设的第一权值,b为预设的第二权值,c为预设的第三权值,d为预设的第四权值。
R为最终的综合状态值。
当然,如果只利用步骤110中介绍的第一种方式计算综合状态值,则也可以将上述公式转换为:
R=A x a+C x c
公式二
本实施例中,仅以公式一为例进行介绍,在此不再赘述。
步骤240:智能设备判断基于比例A和比例B计算综合状态值,并判断综合状态值是否达到门限M,若是,则执行步骤250;否则,执行步骤 260。
步骤250:确定上述应用程序会被继续使用,不回收该应用程序占用的资源。
步骤260:确定上述应用程序不会被继续使用,回收该应用程序占用的资源。
采用公式一对应用程序进行评估,可以结合用户使用习惯获得应用程序的综合状态值,即用户如果在某一场景(以下称场景A)下经常使用某一应用程序(以下称应用程序X),并且在另一场景(以下称场景B)下经常将应用程序X切换至后台。
那么,每次用户在场景A附近时(即当前位置信息为场景A),智能设备检测到的与场景A相匹配的信息,在应用程序X的前台状态信息中出现的比例很高,在应用程序X的后台状态信息中出现的比例很低,则采用公式一计算的综合状态值R的取值便会很高,很容易达到门限M;因此,在场景A附近时,智能设备通常不会回收应用程序X占用的资源。
相应的,每次用户在场景B附近时(即当前位置信息为场景B),智能设备检测到的与场景B相匹配的信息,在应用程序X的前台状态信息中出现的比例很低,在应用程序X的后台状态信息中出现的比例很高,则采用公式一计算的综合状态值R的取值便会很低,很容易低于门限M;因此,在场景B附近时,智能设备通常会很快回收应用程序X占用的资源。
当然,在上述过程中,智能设备在选定包含有应用程序X的前台状态信息和后台状态信息的历史使用过程信息时,可选的,需要根据当前时间所归属的时间范围,获取对应该时间范围预设的历史数据。如,若当前时间为休息日,则选定对应休息日记录的历史使用过程信息,若当前时间为工作日,则选定对应工作日记录的历史使用过程信息。
进一步在,智能设备在判断是否回收应用程序X时,还可以进一步加 入其他元素,如,进一步参考定时器的触发次数,也可以理解为参考应用程序X切换至后台的时长,又如,进一步参考应用程序X占用资源的时长,又如,进一步参考系统的内存空闲率等等。
仍以上述应用程序X为例,假设采用公式一,智能设备计算得到应用程序X对应的R的取值达到门限M,这说明应用程序X此时很有可能被用户再次使用,那么,即使满足以下情况中的任意一种或任意组合,智能设备也不会回收应用程序X占用的资源:
情况1,应用程序切换至后台的时长达到阈值1,换言之,定时器的触发次数达到阈值1’;
情况2、应用程序的资源占用时长达到阈值2;
情况3、系统的内存空闲率低于阈值3。
参阅图3所示,仍以应用程序X为例,本申请实施例中,智能设备计算应用程序X的综合状态值的流程如下:
步骤300:智能设备根据应用程序X的状态变化,判断应用程序X当前位于前台还是后台,若位于前台,则执行步骤310;若位于后台,则执行步骤320。
步骤310:智能设备对应应用程序X移除定时器。
步骤320:智能设备对应应用程序X设置定时器。
步骤330:智能设备维护定时器,并在确定定时器超时,重新启动定时器,以及执行步骤340。
步骤340:智能设备计算应用程序X的综合状态值,并判断综合状态值是否大于预设的门限值(如,0.5),若是,则返回步骤330,等待定时器下一次超时;否则,执行步骤350。
步骤350:智能设备将应用程序X退出,进行资源回收。
基于上述实施例,另一方面,系统在内存空闲率小于等于第三设定门 限(如,20%)的时候,即使没有应用程序的综合状态值低于上述第二设定门限,也会强行进行资源回收,以保证系统性能,具体的,智能设备手机此时会遍历所有处于后台的应用程序,按照其综合状态值从低到高或从高到低的顺序依次进行退出,直到系统的内存空闲率超过第三设定门限(如,20%)为止,具体过程如图4所示:
步骤400:智能设备确定内存状态的变化,判定当前的内容空闲率是否小于等于20%,若是,则执行步骤410,否则,当前不执行操作,等待下一次判定。
步骤410:智能设备为各个应用程序计算综合状态值。
步骤420:智能设备按照综合状态值从小到大的将各个应用程序依次排序。
步骤430:智能设备从综合状态值最小的应用程序开始,依次退出应用程序,直到内存空闲率大于20%,返回步骤400。
下面通过具体的应用场景对上述实施例作出坦步详细说明。
第一场景:
用户经常在家中在手机上使用应用程序“网游”,同时,在离开家时,将“网游”切换至后台,那么,每次用户在家打开“网游”时,手机记录“网游”的前台状态信息为“家”,而用户外出后,将“网游”切换至后台,用户记录“网游”的后台状态信息为“离家”。
那么,假设用户的历史使用过程信息中,用户曾经9次在家时打开“网游”,并且离家时将“网游”切换至后台,以及用户曾经1次离家时打开“网游”,并且在家时将“网游”切换至后台;假设手机检测到用户当前将“网游”切换至后台,且当前的位置信息为“在家”,那么,手机计算与“在家”相匹配的信息在用户的前台状态信息集合中出现的比例A为90%,与“在家”相匹配的信息在用户的后台状态信息集合中出现的比例 B为10%,手机采用公式一“R=A x 2+B x 1.8+C x 1.6+D x 1.5”计算后,假设获得的综合状态值R=5,远远高于门限M=2,则手机判定无需回收“网游”占用的资源。
显然,在第一场景中,“网游”非常符合用户的使用习惯,因此,在“网游”切换至后台之后,智能设备会保留分配给“网游”的资源,以便用户随时再次调用“网游”,从而保证了用户体验。
进一步地,经过一两个小时后,用户仍没有在手机上关闭“网游”,而定时器已多次超时,手机也多次计算“网游”的综合状态值,该综合状态值将随着时间的推移越来越低,在低于0.5后,手机关闭应用程序“网游”。
显然,在第一场景中,用户长时间不使用“网游”,智能设备也会回收“网游”所占用的资源,以保证系统的系统可用率。
第二场景:
用户经常在12:00至13:30在手机上使用应用程序“订餐”,而在其他时间段将“订餐”切换至后台,那么,每次用户在12:00至13:30之间打开“订餐”时,手机记录“订餐”的前台状态信息为“12:00至13:30”,而用户将“订餐”切换至后台时,用户记录“订餐”的后台状态信息为“其余时间”。
那么,假设用户的历史使用过程信息中,用户曾经8次在12:00至13:30打开“订餐”,以及在“其余时间”将“订餐”切换至后台,2次在“其余时间”打开“订餐”,以及在“其余时间”将“订餐”切换至后台;
假设手机检测到用户当前将“订餐”切换至后台,且当前的时间信息为“16:00”,属于“其余时间”,那么,手机计算与“16:00”相匹配的信息在用户的前台状态信息集合中出现的比例A为20%,与“16:00”相匹配的信息在用户的后台状态信息集合中出现的比例B为80%,手机采用 公式一“R=A x 2+B x 1.8+C x 1.6+D x 1.5”计算后,假设获得的综合状态值R=1.5,低于门限M=2,则手机判定立即回收“订餐”占用的资源。
基于上述实施例,参阅图5所示,本申请实施例中,智能设备至少包括监控单元50、判断单元51和处理单52,其中,
监控单元50,用于监控到应用程序被切换到后台;
判断单元51,用于根据记录的所述应用程序的历史使用过程信息,判断所述应用程序是否会被继续使用;
处理单元52,用于确定所述应用程序不会被继续使用时,回收所述应用程序占用的资源。
可选的,回收所述应用程序占用的资源之前,处理单元52还用于:
确定所述应用程序满足回收资源的条件。
可选的,确定所述应用程序满足回收资源的条件时,处理单元52用于:
当确定所述应用程序的运行状态和/或系统状态满足设定条件时,确定所述应用程序满足回收资源的条件。
可选的,确定所述应用程序的运行状态和/或系统状态满足设定条件时,处理单元52用于:
对所述应用程序被切换到后台的时间进行计时,并且确定所述计时达到第一设定阈值;或者,
确定所述应用程序的资源占用时长达到第二设定阈值;或者,
确定系统的内存空闲率低于第三设定阈值。
可选的,处理单元52进一步用于:
在确定所述应用程序满足回收资源的条件、且确定所述应用程序会被继续使用时,不回收所述应用程序占用的资源。
可选的,所述历史使用过程信息,包括:
所述应用程序的前台状态信息集合;
根据所述历史使用过程信息,判断所述应用程序是否会被继续使用时,判断单元51用于:
确定所述应用程序的当前状态信息;
计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的前台状态信息中占用的第一比例;
判定所述第一比例是否达到第一设定门限,若是,则确定所述应用程序会被继续使用,否则,确定所述应用程序不会被继续使用。
可选的,所述历史使用过程信息,还包括:
所述应用程序的后台状态信息集合;
根据所述历史使用过程信息,判断所述应用程序是否会被继续使用时,判断单元51用于:
确定所述应用程序的当前状态信息;
计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的前台状态信息中占用的第二比例;
计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的后台状态信息中占用的第三比例;
基于所述第二比例和第三比例,计算所述应用程序的综合状态值;
判定所述综合状态值是否达到第二设定门限,若是,则确定所述应用程序会被继续使用,否则,确定所述应用程序不会被继续使用。
可选的,所述应用程序的当前状态信息包括:
承载所述应用程序的智能设备的当前位置信息;或者,
当前的时间信息。
可选的,处理单元52进一步用于:
确定系统当前的内存空闲率小于第三设定门限时,分别计算本地位于后台的每一个应用程序的综合状态值,并按照综合状态值依次对相应的应用程序进行资源回收,直到系统当前的内存空闲率不小于所述第三设定门限为止。
基于上述实施例,参阅图6所示,本申请实施例中,智能设备至少包括处理器60和收发机61,其中,
处理器60,用于读取存储器中的程序,通过执行下列过程:
监控到应用程序被切换到后台;
根据记录的所述应用程序的历史使用过程信息,判断所述应用程序是否会被继续使用;
确定所述应用程序不会被继续使用时,回收所述应用程序占用的资源;
收发机61,用于在处理器60的控制下接收和发送数据。
可选的,回收所述应用程序占用的资源之前,处理器60还用于:
确定所述应用程序满足回收资源的条件。
可选的,确定所述应用程序满足回收资源的条件时,处理器60用于:
当确定所述应用程序的运行状态和/或系统状态满足设定条件时,确定所述应用程序满足回收资源的条件。
可选的,确定所述应用程序的运行状态和/或系统状态满足设定条件时,处理器60用于:
对所述应用程序被切换到后台的时间进行计时,并且确定所述计时达到第一设定阈值;或者,
确定所述应用程序的资源占用时长达到第二设定阈值;或者,
确定系统的内存空闲率低于第三设定阈值。
可选的,处理器60进一步用于:
在确定所述应用程序满足回收资源的条件、且确定所述应用程序会被继续使用时,不回收所述应用程序占用的资源。
可选的,所述历史使用过程信息,包括:
所述应用程序的前台状态信息集合;
根据所述历史使用过程信息,判断所述应用程序是否会被继续使用时,处理器60用于:
确定所述应用程序的当前状态信息;
计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的前台状态信息中占用的第一比例;
判定所述第一比例是否达到第一设定门限,若是,则确定所述应用程序会被继续使用,否则,确定所述应用程序不会被继续使用。
可选的,所述历史使用过程信息,还包括:
所述应用程序的后台状态信息集合;
根据所述历史使用过程信息,判断所述应用程序是否会被继续使用时,处理器60用于:
确定所述应用程序的当前状态信息;
计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的前台状态信息中占用的第二比例;
计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的后台状态信息中占用的第三比例;
基于所述第二比例和第三比例,计算所述应用程序的综合状态值;
判定所述综合状态值是否达到第二设定门限,若是,则确定所述应用程序会被继续使用,否则,确定所述应用程序不会被继续使用。
可选的,所述应用程序的当前状态信息包括:
承载所述应用程序的智能设备的当前位置信息;或者,
当前的时间信息。
可选的,处理器60进一步用于:
确定系统当前的内存空闲率小于第三设定门限时,分别计算本地位于后台的每一个应用程序的综合状态值,并按照综合状态值依次对相应的应用程序进行资源回收,直到系统当前的内存空闲率不小于所述第三设定门限为止。
在图6中,总线架构中,总线可以包括任意数量的互联的总线和桥,总线将包括由通用处理器60代表的一个或多个处理器和存储器代表的存储器的各种电路链接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。收发机61可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。例如:收发机61从其他设备接收外部数据。收发机61用于将处理器60处理后的数据发送给其他设备。取决于计算系统的性质,还可以提供用户接口,例如小键盘、显示器、扬声器、麦克风、操纵杆。
处理器60负责管理总线和通常的处理,如前述所述运行通用操作系统。而存储器可以被用于存储处理器60在执行操作时所使用的数据。
可选的,处理器60可以是CPU、ASIC、FPGA或CPLD。
综上所述,本申请实施例中,智能设备监控到应用程序被切换到后台,会根据记录的所述应用程序的历史使用过程信息,判断所述应用程序是否会被继续使用;若确定所述应用程序不会被继续使用,回收所述应用程序占用的资源。这样,可以结合用户使用习惯对应用程序实现合理化管理,不但提高了用户操作效率,提升了用户体验,同时能达到节省电能,延迟电池使用寿命的效果。
进一步地,智能设备在对应用程序进行评估时,还会参考当前的内存空闲率,在内存空闲率不高时,各个应用程序会按照综合状态值依次进行资源回收,从而有效保证了系统的内存空闲率,维持了系统的稳定性和系统性能。
显然,使用本申请实施例提供的技术方案,智能设备对于应用程序的资源回收更加智能,被退出的应用程序几乎是一段时间内用户不会在使用的,并且智能设备总是能够在合适的时候将应用程序退出以回收资源,尤其是在用户长时间使用之后,整个系统会越来越流畅,退出应用程序的方式会越来越符合用户的使用习惯,而电池寿命得到一定延长。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读 存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的精神和范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (18)

  1. 一种管理应用程序的方法,其特征在于,包括:
    监控到应用程序被切换到后台;
    根据记录的所述应用程序的历史使用过程信息,判断所述应用程序是否会被继续使用;
    若确定所述应用程序不会被继续使用,回收所述应用程序占用的资源。
  2. 如权利要求1所述的方法,其特征在于,回收所述应用程序占用的资源之前,还包括:
    确定所述应用程序满足回收资源的条件。
  3. 如权利要求2所述的方法,其特征在于,确定所述应用程序满足回收资源的条件,包括:
    当确定所述应用程序的运行状态和/或系统状态满足设定条件时,确定所述应用程序满足回收资源的条件。
  4. 如权利要求3所述的方法,其特征在于,确定所述应用程序的运行状态和/或系统状态满足设定条件,包括:
    对所述应用程序被切换到后台的时间进行计时,并且确定所述计时达到第一设定阈值;或者,
    确定所述应用程序的资源占用时长达到第二设定阈值;或者,
    确定系统的内存空闲率低于第三设定阈值。
  5. 如权利要求2所述的方法,其特征在于,在确定所述应用程序满足回收资源的条件、且确定所述应用程序会被继续使用时,不回收所述应用程序占用的资源。
  6. 如权利要求1至5任一项所述的方法,其特征在于,所述历史使用过程信息,包括:
    所述应用程序的前台状态信息集合;
    根据所述历史使用过程信息,判断所述应用程序是否会被继续使用,包括:
    确定所述应用程序的当前状态信息;
    计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的前台状态信息中占用的第一比例;
    判定所述第一比例是否达到第一设定门限,若是,则确定所述应用程序会被继续使用,否则,确定所述应用程序不会被继续使用。
  7. 如权利要求6所述的方法,其特征在于,所述历史使用过程信息,还包括:
    所述应用程序的后台状态信息集合;
    根据所述历史使用过程信息,判断所述应用程序是否会被继续使用,包括:
    确定所述应用程序的当前状态信息;
    计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的前台状态信息中占用的第二比例;
    计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的后台状态信息中占用的第三比例;
    基于所述第二比例和第三比例,计算所述应用程序的综合状态值;
    判定所述综合状态值是否达到第二设定门限,若是,则确定所述应用程序会被继续使用,否则,确定所述应用程序不会被继续使用。
  8. 如权利要求6或7所述的方法,其特征在于,所述应用程序的当前状态信息包括:
    承载所述应用程序的智能设备的当前位置信息;或者,
    当前的时间信息。
  9. 如权利要求7所述的方法,其特征在于,进一步包括:
    确定系统当前的内存空闲率小于第三设定门限时,分别计算本地位于后台的每一个应用程序的综合状态值,并按照综合状态值依次对相应的应用程序进行资源回收,直到系统当前的内存空闲率不小于所述第三设定门限为止。
  10. 一种管理应用程序的装置,其特征在于,包括:
    监控单元,用于监控到应用程序被切换到后台;
    判断单元,用于根据记录的所述应用程序的历史使用过程信息,判断所述应用程序是否会被继续使用;
    处理单元,用于确定所述应用程序不会被继续使用时,回收所述应用程序占用的资源。
  11. 如权利要求10所述的装置,其特征在于,回收所述应用程序占用的资源之前,所述处理单元还用于:
    确定所述应用程序满足回收资源的条件。
  12. 如权利要求11所述的装置,其特征在于,确定所述应用程序满足回收资源的条件时,所述处理单元用于:
    当确定所述应用程序的运行状态和/或系统状态满足设定条件时,确定所述应用程序满足回收资源的条件。
  13. 如权利要求12所述的装置,其特征在于,确定所述应用程序的运行状态和/或系统状态满足设定条件时,所述处理单元用于:
    对所述应用程序被切换到后台的时间进行计时,并且确定所述计时达到第一设定阈值;或者,
    确定所述应用程序的资源占用时长达到第二设定阈值;或者,
    确定系统的内存空闲率低于第三设定阈值。
  14. 如权利要求11所述的装置,其特征在于,所述处理单元进一步用于:
    在确定所述应用程序满足回收资源的条件、且确定所述应用程序会被继续使用时,不回收所述应用程序占用的资源。
  15. 如权利要求10至14任一项所述的装置,其特征在于,所述历史使用过程信息,包括:
    所述应用程序的前台状态信息集合;
    根据所述历史使用过程信息,判断所述应用程序是否会被继续使用时,所述判断单元用于:
    确定所述应用程序的当前状态信息;
    计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的前台状态信息中占用的第一比例;
    判定所述第一比例是否达到第一设定门限,若是,则确定所述应用程序会被继续使用,否则,确定所述应用程序不会被继续使用。
  16. 如权利要求15所述的装置,其特征在于,所述历史使用过程信息,还包括:
    所述应用程序的后台状态信息集合;
    根据所述历史使用过程信息,判断所述应用程序是否会被继续使用时,所述判断单元用于:
    确定所述应用程序的当前状态信息;
    计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的前台状态信息中占用的第二比例;
    计算与所述应用程序的当前状态信息匹配的信息,在所述应用程序的后台状态信息中占用的第三比例;
    基于所述第二比例和第三比例,计算所述应用程序的综合状态值;
    判定所述综合状态值是否达到第二设定门限,若是,则确定所述应用程序会被继续使用,否则,确定所述应用程序不会被继续使用。
  17. 如权利要求15或16所述的装置,其特征在于,所述应用程序的当前状态信息包括:
    承载所述应用程序的智能设备的当前位置信息;或者,
    当前的时间信息。
  18. 如权利要求16所述的装置,其特征在于,所述处理单元进一步用于:
    确定系统当前的内存空闲率小于第三设定门限时,分别计算本地位于后台的每一个应用程序的综合状态值,并按照综合状态值依次对相应的应用程序进行资源回收,直到系统当前的内存空闲率不小于所述第三设定门限为止。
PCT/CN2017/077914 2016-03-31 2017-03-23 一种管理应用程序的方法及装置 WO2017167120A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/143,304 US11182213B2 (en) 2016-03-31 2018-09-26 Application program management method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610201932.1 2016-03-31
CN201610201932.1A CN107291549B (zh) 2016-03-31 2016-03-31 一种管理应用程序的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/143,304 Continuation-In-Part US11182213B2 (en) 2016-03-31 2018-09-26 Application program management method and device

Publications (1)

Publication Number Publication Date
WO2017167120A1 true WO2017167120A1 (zh) 2017-10-05

Family

ID=59963440

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077914 WO2017167120A1 (zh) 2016-03-31 2017-03-23 一种管理应用程序的方法及装置

Country Status (3)

Country Link
US (1) US11182213B2 (zh)
CN (1) CN107291549B (zh)
WO (1) WO2017167120A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086835A (zh) * 2018-01-24 2019-08-02 腾讯科技(深圳)有限公司 应用程序管控方法、终端、服务器及系统

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10624104B2 (en) 2016-06-20 2020-04-14 Senseonics, Incorporated Communication between devices using a wireless communication protocol
CN107729081B (zh) * 2017-09-30 2020-07-07 Oppo广东移动通信有限公司 应用管理方法、装置、存储介质及电子设备
CN107678800B (zh) * 2017-09-30 2020-02-14 Oppo广东移动通信有限公司 后台应用清理方法、装置、存储介质及电子设备
CN109684069A (zh) * 2017-10-13 2019-04-26 华为技术有限公司 资源管理的方法及终端设备
CN107870809B (zh) * 2017-10-31 2020-02-11 Oppo广东移动通信有限公司 应用关闭方法、装置、存储介质及电子设备
CN107832131B (zh) * 2017-10-31 2020-07-07 Oppo广东移动通信有限公司 应用程序关闭方法、装置、存储介质和电子设备
CN107844342B (zh) * 2017-11-21 2021-07-09 Oppo广东移动通信有限公司 应用程序保活的管控方法、装置及存储介质和移动终端
CN108877143B (zh) * 2018-04-20 2021-06-22 深圳市沃特沃德股份有限公司 儿童游乐园项目安全提醒方法及其装置
CN109857544A (zh) * 2018-12-27 2019-06-07 努比亚技术有限公司 资源回收控制方法、终端及计算机可读存储介质
DE102019211173A1 (de) * 2019-07-26 2021-01-28 Robert Bosch Gmbh Verfahren und Vorrichtung zum Verwalten von Rechenleistung in einem Datenverarbeitungssystem
CN112231090A (zh) * 2020-11-04 2021-01-15 Oppo广东移动通信有限公司 应用进程管理方法、装置及终端设备
CN113099509B (zh) * 2021-03-04 2023-01-20 Oppo广东移动通信有限公司 服务选择方法、装置、终端及存储介质
CN112947739A (zh) * 2021-03-09 2021-06-11 北京小米移动软件有限公司 终端应用程序的管理方法、装置、终端及存储介质
CN113127053A (zh) * 2021-04-29 2021-07-16 平安国际智慧城市科技股份有限公司 应用环境参数的配置方法、装置、计算机设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996258A (zh) * 2006-12-28 2007-07-11 武汉虹旭信息技术有限责任公司 一种动态内存池的实现方法
CN101859261A (zh) * 2010-06-09 2010-10-13 中兴通讯股份有限公司 一种释放内存的控制方法及控制设备
CN103631661A (zh) * 2013-11-27 2014-03-12 青岛海信电器股份有限公司 一种内存管理方法和装置
CN104239225A (zh) * 2014-09-04 2014-12-24 浪潮(北京)电子信息产业有限公司 一种管理异构混合内存的方法及装置
CN104317673A (zh) * 2014-10-24 2015-01-28 新华瑞德(北京)网络科技有限公司 应用程序的回收方法、装置及其恢复方法、装置

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5355501A (en) 1990-03-09 1994-10-11 Novell, Inc. Idle detection system
US5555399A (en) * 1994-07-07 1996-09-10 International Business Machines Corporation Dynamic idle list size processing in a virtual memory management operating system
US20130024812A1 (en) * 2011-07-13 2013-01-24 Z124 Foreground/background assortment of hidden windows
US7051158B2 (en) * 2003-04-30 2006-05-23 Intelitrac, Inc. Single computer distributed memory computing environment and implementation thereof
US8667500B1 (en) * 2006-10-17 2014-03-04 Vmware, Inc. Use of dynamic entitlement and adaptive threshold for cluster process balancing
US20090158212A1 (en) * 2007-02-06 2009-06-18 Access Systems Americas, Inc. System and method for presenting recently-used and in-use applications for ease of navigation on an electronic device
US8060154B1 (en) 2009-03-26 2011-11-15 Sprint Communications Company L.P. Conserving power on a mobile device
CN101788926B (zh) * 2009-12-28 2014-04-30 中兴通讯股份有限公司 J2me应用前台切换的资源调配方法及装置
US8635630B2 (en) * 2010-10-25 2014-01-21 Microsoft Corporation Application lifetime management
US10631246B2 (en) * 2011-02-14 2020-04-21 Microsoft Technology Licensing, Llc Task switching on mobile devices
US20120324481A1 (en) * 2011-06-16 2012-12-20 Samsung Electronics Co. Ltd. Adaptive termination and pre-launching policy for improving application startup time
CN102799471B (zh) * 2012-05-25 2014-11-05 上海斐讯数据通信技术有限公司 操作系统的进程回收方法及系统
US9195721B2 (en) * 2012-06-04 2015-11-24 Apple Inc. Mobile device with localized app recommendations
CN102866908B (zh) * 2012-07-25 2015-06-03 广东欧珀移动通信有限公司 一种Android后台应用和服务的清理方法
US20140082383A1 (en) 2012-09-20 2014-03-20 Apple Inc. Predicting user intent and future interaction from application activities
CN102946486A (zh) * 2012-11-20 2013-02-27 惠州Tcl移动通信有限公司 一种基于手机的后台应用自动清理方法及手机
CN103324500B (zh) * 2013-05-06 2016-08-31 广州市动景计算机科技有限公司 一种回收内存的方法及装置
CN103530235B (zh) * 2013-10-18 2017-04-12 北京奇虎科技有限公司 移动终端中清理内存的方法及装置
CN104298612A (zh) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 移动终端中清理内存的方法、装置和移动终端
CN104536907B (zh) * 2015-01-26 2018-11-09 联想(北京)有限公司 一种内存清理方法及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996258A (zh) * 2006-12-28 2007-07-11 武汉虹旭信息技术有限责任公司 一种动态内存池的实现方法
CN101859261A (zh) * 2010-06-09 2010-10-13 中兴通讯股份有限公司 一种释放内存的控制方法及控制设备
CN103631661A (zh) * 2013-11-27 2014-03-12 青岛海信电器股份有限公司 一种内存管理方法和装置
CN104239225A (zh) * 2014-09-04 2014-12-24 浪潮(北京)电子信息产业有限公司 一种管理异构混合内存的方法及装置
CN104317673A (zh) * 2014-10-24 2015-01-28 新华瑞德(北京)网络科技有限公司 应用程序的回收方法、装置及其恢复方法、装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086835A (zh) * 2018-01-24 2019-08-02 腾讯科技(深圳)有限公司 应用程序管控方法、终端、服务器及系统
CN110086835B (zh) * 2018-01-24 2021-08-03 腾讯科技(深圳)有限公司 应用程序管控方法、终端、服务器及系统

Also Published As

Publication number Publication date
US20190095250A1 (en) 2019-03-28
US11182213B2 (en) 2021-11-23
CN107291549A (zh) 2017-10-24
CN107291549B (zh) 2020-11-24

Similar Documents

Publication Publication Date Title
WO2017167120A1 (zh) 一种管理应用程序的方法及装置
US20210232201A1 (en) Resource scheduling method and computer device
US10108251B2 (en) Virtualizing battery across a group of personal mobile devices
JP5785273B2 (ja) モバイル通信端末のためのスマート電力管理の方法および装置
CN106233571B (zh) 多电池设备中的负载调度
CN107479951B (zh) 进程管控方法、装置、存储介质及电子设备
KR102490908B1 (ko) 자원 스케줄링 방법 및 단말 장치
JP2016530657A (ja) アプリケーションの切り替え及び入力情報の追加方法及び装置
WO2017128980A1 (zh) 云平台中管理资源的方法和装置
US20160077571A1 (en) Heuristic Processor Power Management in Operating Systems
CN107835311B (zh) 应用管理方法、装置、存储介质及电子设备
JP2013542530A (ja) アプリケーション・ライフタイム管理
WO2019237891A1 (zh) 一种内存优化方法、装置、可读存储介质及移动终端
CN107577508B (zh) 应用程序处理方法、装置、可读存储介质和移动终端
WO2016183918A1 (zh) 存储空间处理方法及装置
WO2018072435A1 (zh) 一种慢充电方法及智能终端
JP6208344B2 (ja) コンテキストに応じた電力管理
WO2019085754A1 (zh) 应用清理方法、装置、存储介质及电子设备
CN108038050B (zh) 性能调整方法、装置、存储介质及电子设备
CN115883357A (zh) 一种软负载服务器处理方法、装置、电子设备及介质
US11880259B2 (en) Smart assertion management
CN107870809B (zh) 应用关闭方法、装置、存储介质及电子设备
US20240078165A1 (en) Multi-device context synchronization and applications thereof
US20240097470A1 (en) Optimizing battery charging with synchronized context data
CN116049025B (zh) 动态调整内存回收gc参数的方法、电子设备及存储介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17773150

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17773150

Country of ref document: EP

Kind code of ref document: A1