WO2014198106A1 - 一种终端及其实现应用管理的方法 - Google Patents

一种终端及其实现应用管理的方法 Download PDF

Info

Publication number
WO2014198106A1
WO2014198106A1 PCT/CN2013/087782 CN2013087782W WO2014198106A1 WO 2014198106 A1 WO2014198106 A1 WO 2014198106A1 CN 2013087782 W CN2013087782 W CN 2013087782W WO 2014198106 A1 WO2014198106 A1 WO 2014198106A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
user
information
time
usage
Prior art date
Application number
PCT/CN2013/087782
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 WO2014198106A1 publication Critical patent/WO2014198106A1/zh

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • 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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a terminal and a method for implementing application management. Background technique
  • embodiments of the present invention provide a terminal and a method for implementing the application management that overcome the above problems or parts to solve the above problems.
  • a method for implementing application management by a terminal including:
  • the usage status of all applications of the terminal in the set time period is statistically reported, and the user is prompted to process the application in the specified state.
  • the acquiring the application information currently used by the terminal includes acquiring time information used by the user, application memory usage information, and application CPU usage information;
  • Application memory usage information (application occupancy memory percentage size X application runtime) I prompt Total time of device operation during the interval;
  • Application CPU usage information (application occupancy CPU percentage size X application runtime) The total time the device is running during the interval;
  • Application time information used by the user the time the application was used by the user I The total time the user used the device during the interval.
  • the storing, according to the stored application information, the usage status of all applications of the terminal in the set time period including:
  • the usage state of all applications of the terminal in the T time period is counted and saved every set time T.
  • the saved times are made.
  • the set time period is counted by using the status information to obtain the usage status of each application of the terminal; wherein, ⁇ , which is greater than the set time interval for information acquisition, and n is an integer greater than 1.
  • the application of the specified state includes: an application whose accumulated usage time is zero, and the accumulated usage time is lower than a set threshold and the resource occupancy rate is higher than a set threshold Applications.
  • the method before the prompting the user to process the application in the specified state, the method further includes:
  • the prompting the user to apply to the specified state Line processing including: delete applications, keep apps, or mark apps as common.
  • a terminal including:
  • a management module configured to periodically trigger the information collection module according to the set time interval, and periodically trigger the analysis module according to the set time period;
  • An information collecting module configured to periodically acquire application information currently used by the terminal; a storage module configured to store information acquired by the information collecting module; and an analysis module configured to be based on the application stored by the storage module Information, statistics the usage status of all applications of the terminal during the set time period;
  • the interaction module is configured to prompt the user to process the application of the specified state based on the usage status of each application obtained by the analysis module.
  • the interaction module is configured to prompt the user to use the accumulated usage time to be zero, and the accumulated usage time is lower than the set threshold and the resource occupancy rate is higher than the set width. The application of the value is processed.
  • the interaction module is further configured to:
  • the interaction module is configured to prompt the user to delete, retain, or mark the application in the specified state as commonly used.
  • the method and the terminal in the embodiment of the present invention use a time-sliced fragmentation to acquire a "snapshot" of each application running state every other time slice, and consider that the application running state is "snapshot" in this time slice.
  • the presented state so that by counting these "snapshots", an overall state of an application over a period of time is obtained, and each application is managed by the overall state, which is simpler than determining whether the program is used by the user by the program startup frequency.
  • the use can better reflect the real situation of each application being used by the user, thereby making the management method of the embodiment of the present invention more accurate.
  • FIG. 1 is a flowchart of a method for implementing application management in a terminal according to Embodiment 1 of the present invention
  • FIG. 2 is a structural block diagram of a terminal according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of a method for implementing application management by a terminal according to Embodiment 3 of the present invention.
  • the embodiment of the present invention provides a terminal and a method for implementing the application management, the method helps the user to streamline the application on the mobile terminal, delete the application that the user does not need, and let the user use the user.
  • the program has more memory and CPU runtime, which is explained in the program.
  • the embodiment of the invention provides a method for implementing application management by a terminal. As shown in FIG. 1 , the method includes: Step S101: Periodically acquire and store application information currently used by the terminal according to the set time interval.
  • the set time interval may be selected as a time interval of a second level, for example, 30 s, so that the real-time application running state can be accurately reflected.
  • the collection of application information mainly includes the time when the application is used by the user, the application memory usage information, and the application CPU usage information; it can be simply expressed by the following expression:
  • Application memory usage information (application occupancy memory percentage size X application runtime) I prompt Total time of device operation during the interval;
  • Application CPU usage information (application occupancy CPU percentage size X application runtime) I prompts the total device operation time during the interval;
  • Application time information used by the user time when the application is used by the user I reminds the total time of the user using the device during the interval;
  • the total running time of the device refers to each information gathering time during the accumulated prompt interval; the user uses the device time to count the time when the device is not in standby;
  • the collection of application information not only collects application information when the user uses the terminal (the screen is non-standby), but also collects application information when the terminal is in standby.
  • Step S102 Calculate, according to the stored application information, a usage status of all applications of the terminal in the set time period.
  • the set time period is a time interval for prompting the user, and it is recommended to use the weekly unit, for example, once every one week, neither too often nor too long.
  • users can also flexibly set them according to their needs.
  • this embodiment also provides a solution, as follows:
  • the usage state of all applications of the terminal in the T time period is counted and saved every every set time T, and when the set time period arrives, The saved usage status information is counted to obtain the usage status of each application of the terminal. That is, In the embodiment of the present invention, the stored application information is counted in a time-division manner. When the set time period arrives, only the pre-statistic data needs to be used for integration, thereby avoiding all the arrivals in the set time period. The stored information is processed uniformly, affecting the problems used by users. - set time period
  • Step S103 prompting the user to process the application of the specified state based on the usage status of each application obtained by the statistics.
  • the application of the specified state includes: an application whose accumulated usage time is zero, and an application whose accumulated usage time is lower than the set threshold and the resource occupancy rate is higher than the set threshold.
  • the user's personal preference may also be considered, that is, when the user performs a common mark on an application, even if the application is in the specified state. , and the application is not processed.
  • the embodiment of the present invention further provides a concept of identifying an expiration date. When the expiration date, the application is not placed in the specified state application list; otherwise, the tag is ignored.
  • the application in the specified state contains the application marked as common by the user
  • the time reaches the set interval several times of the prompt time the actual time may be several months
  • the common identifier of the application is cancelled, because the interval is several After the month, the user's usage habits of the device may change.
  • the user is prompted to process the application in the specified state, including but not limited to: deleting the application, retaining the application, or marking the application as a common one.
  • a time snapshot is used to obtain a "snapshot" of each application running state every other time slice, and it is considered that the application running state is in this time slice.
  • the "snapshot” is presented, so that by counting these "snapshots", the overall state of an application over a period of time is obtained, and each application is managed by the overall state, which is simpler than determining the program by the program startup frequency. Whether it is used by the user or not, it can better reflect the real situation that each application is used by the user, thereby making the management method of the embodiment of the present invention more accurate.
  • the embodiment of the present invention provides a terminal, as shown in FIG. 2, specifically including:
  • the management module 210 is configured to periodically trigger the information collection module according to the set time interval, and periodically trigger the analysis module according to the set time period;
  • the information collecting module 220 is configured to periodically acquire application information currently used by the terminal according to the set time interval.
  • the storage module 230 is configured to store the information acquired by the information collection module 220, and the analysis module 240 is configured to collect, according to the application information stored by the storage module 230, the usage status of all applications of the terminal in the set time period;
  • the interaction module 250 is configured to prompt the user to process the application of the specified state based on the usage status of each application calculated by the analysis module 240.
  • the time interval set by the management module 210 can be selected as a time interval of a second level, for example, 30s, so that the real-time program running state can be accurately reflected; Indicates the user's time interval, recommended in weeks, for example, every 1 week, neither too often nor too long.
  • a second level for example, 30s
  • users can also flexibly set according to their needs.
  • Application CPU usage information (application occupancy CPU percentage size X application runtime) I prompts the total device operation time during the interval;
  • Application time information used by the user time when the application is used by the user I reminds the total time of the user using the device during the interval;
  • the total running time of the device refers to each information gathering time during the accumulated prompt interval; the user uses the device time to count the time when the device is not in standby;
  • the collection of application information not only collects application information when the user uses the terminal (the screen is non-standby), but also collects application information when the terminal is in standby.
  • this embodiment also provides a solution, as follows:
  • the analyzing module 240 is further configured to: during the set time period, count the usage state of all applications of the terminal in the T time period every set time T, and save, when the set time period arrives The statistics of the saved usage status information are obtained, and the usage status of each application of the terminal is obtained. That is to say, in the present invention, the stored application information is counted in a time-division manner, and when the set time period arrives, only the pre-statisticd data needs to be used for integration, thereby avoiding the arrival of the set time period. Unified processing of all stored information affects users' problems. - set time period
  • ⁇ " is greater than the set time interval for information acquisition, and n is an integer greater than 1.
  • the size and analysis of the time interval according to the information acquisition cycle The amount of data, T is recommended in hours, for example, 1 hour.
  • the interaction module 250 is specifically configured to prompt the user to apply the application that the accumulated usage time is zero, and the application whose accumulated usage time is lower than the set threshold and the resource occupancy rate is higher than the set threshold.
  • the user's personal preference may also be considered, that is, when the user performs a common mark on an application, even if the application is in the specified state. , and the application is not processed.
  • the embodiment of the present invention further provides a concept of identifying an expiration date. When the expiration date, the application is not placed in the specified state application list; otherwise, the tag is ignored.
  • the interaction module 250 is further configured to: determine, according to the threshold, whether an application needs to be deleted, and specifically determine according to the following rules:
  • each application selects 1 ⁇ 3 applications to prompt the user:
  • the application in the specified state contains the application marked as common by the user
  • the time reaches the set interval several times of the prompt time the actual time may be several months
  • the common identifier of the application is cancelled, because the interval is several After the month, the user's usage habits of the device may change.
  • the interaction module 250 prompts the user to process the application of the specified state, including but not limited to: deleting the application, retaining the application, or marking the application as commonly used.
  • Embodiment 3
  • This embodiment provides a terminal.
  • This embodiment is an Android (Android) system as an example.
  • the method described in the second embodiment is further elaborated in the manner of a process step. As shown in FIG. 3, the following includes:
  • Step 301 The management module interval time T1 starts information collection and sends an information collection instruction to the information collection module.
  • the interval T1 is based on the actual situation, and the time required for the information collection and the collection frequency should accurately reflect the real-time program running status. It is recommended in the embodiment of the invention to be in seconds, for example 30 seconds.
  • Step 302 The information collection module obtains the information collection instruction of the management module, collects information (PI, Program Info) of the currently running program, and collects the information, and then feeds back to the management module.
  • the information collection module may further perform information on the terminal device. Collect and feed back the collected device information to the management module.
  • the collected program information includes, but is not limited to, an application name, a version number, a program priority, a program occupied CPU size, and a program occupied memory size, which are running in the foreground (ie, whether the application is currently used).
  • Device information collected including but not limited to: CPU information, memory usage, total memory size, operating system, screen resolution, remaining battery capacity, current system time, and current standby. If the current time is in the standby state, the user does not operate the device during the current time and the time period of 30 seconds after the push; if the current is non-standby state, the user is operating the device at this time, that is, the program running in the foreground is being When the user uses it, at this time, it can be considered that the user is using the application in the foreground during the current time and the time period of 30 seconds.
  • Step 303 After obtaining the information fed back by the information collection module, the management module calls the storage module to store the information, and the information collection ends.
  • the storage function can use the simple database SQLite that comes with the Android system.
  • Step 304 Manage the module interval time T2, start information analysis, and send an analysis instruction to the analysis module.
  • T2 is recommended to be in hours, for example, 1 hour.
  • the application in the foreground is being used by the user, the Android platform has provided the interface for querying the standby state and whether the application is running in the foreground), using the CPU time, occupying the CPU size, occupying the memory size, and occupying the memory time.
  • the usage status of the application in the terminal is obtained and saved by the storage module, and the information analysis ends.
  • each parameter (such as the usage time) that affects the usage state of the application may be optionally selected in each analysis.
  • the program that gives different scores, is not used by the user, and uses a lot of device resources, will get a higher score.
  • each T2 can be counted. A list of scores for each program during the time period to support subsequent overall analysis.
  • Step 306 the management module interval time T3, start prompting the user, and send an analysis instruction to the analysis module;
  • the interval time T3 is a time interval for prompting the user, and is recommended to be performed in units of weeks, for example, once every week; neither is too frequent, It won't be too long.
  • Step 307 The analysis module receives the T3 analysis instruction, obtains each score list in the T3 time period through the storage module, and calculates a final program score list (that is, cumulatively adds the scores of the same program in each score list). Feedback to the management module.
  • Step 308 The management module obtains a final program score list of the analysis module, and the interaction module prompts the user to delete, retain, or identify the application in a specified state that is not used by the user, and performs the deletion procedure, retention, or according to the user operation. Identify the program and store the user's identification of the program for subsequent use.
  • the application in the specified state includes the application marked as common by the user, whether the time interval between the marked time and the current time exceeds the set threshold, and if not, the identified application is in the specified state. Delete in the application; otherwise, prompt the application of the specified state directly.
  • the embodiment of the present invention uses time-sharing fragmentation to acquire a "snapshot" of the device state and each program running state every other time slice, and considers the device state and the program running state in this time slice. Are all "snapshots”presented; then, by counting these "snapshots” Thereby getting the overall state of a device and program over a period of time.
  • the system Compared with the simple program startup frequency to determine whether the program is used by the user, the system accumulates the accumulated time used by the user by the statistical application, and the user's preference setting for the program, which more reflects the true use of an application on the device by the user. Situation; more adaptable to current mobile applications and devices. Programs that are not used by users for a long time and occupy a lot of equipment resources will be fed back to the user to remind the user to handle such programs.
  • the spirit and scope of the invention Thus, it is intended that the present invention cover the modifications and variations of the inventions
  • the method and the terminal in the embodiment of the present invention use a time-sliced fragmentation to acquire a "snapshot" of each application running state every other time slice, and consider that the application running state is "snapshot" in this time slice.
  • the presented state so that by counting these "snapshots", an overall state of an application over a period of time is obtained, and each application is managed by the overall state, which is simpler than determining whether the program is used by the user by the program startup frequency.
  • the use can better reflect the real situation of each application being used by the user, thereby making the management method of the embodiment of the present invention more accurate.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

一种终端实现应用管理的方法,包括:按照设定的时间间隔,周期性地获取并存储终端当前使用的应用信息;以及基于存储的应用信息,统计设定的时间段内终端所有应用的使用状态,提示用户对指定状态的应用进行处理。

Description

一种终端及其实现应用管理的方法
技术领域
本发明涉及通信技术领域,尤其涉及一种终端及其实现应用管理的方法。 背景技术
目前, 随着通讯技术的迅速发展, 各类终端应用层出不穷, 用户为了实 现不同的使用体验, 将大量的应用程序安装于移动终端内。 安装后的应用有 的可能会被频繁使用, 但更多应用是在被使用几次后就不会再次被使用, 这 些不再被使用的应用若一直存储于移动终端内,必然会占用一定的终端资源, 影响用户使用。 发明内容
鉴于上述问题, 本发明实施例提供了一种克服上述问题或者部分的解决 上述问题的终端及其实现应用管理的方法。
依据本发明实施例的一个方面, 提供了一种终端实现应用管理的方法, 包括:
按照设定的时间间隔, 周期性地获取并存储终端当前使用的应用信息; 以及
基于存储的应用信息, 统计设定的时间段内终端所有应用的使用状态, 提示用户对指定状态的应用进行处理。
可选地, 本发明实施例所述方法中, 所述获取终端当前使用的应用信息, 包括获取应用被用户使用的时间信息、应用内存使用信息和应用 CPU使用信 息; 其中:
应用内存使用信息 = (应用占用内存百分比大小 X应用运行时间) I提示 间隔期间设备运行总时间;
应用 CPU使用信息 = (应用占用 CPU百分比大小 X应用运行时间) I提 示间隔期间设备运行总时间; 以及
应用被用户使用时间信息=该应用被用户使用时间 I提示间隔期间用户 使用设备的总时间。
可选地, 本发明实施例所述方法中, 所述基于存储的应用信息, 统计设 定的时间段内终端所有应用的使用状态, 包括:
在所述设定的时间段内, 每隔设定的时间 T, 统计一次 T时间段内终端 所有应用的使用状态并保存, 当所述设定的时间段到达时, 对保存的各次使 —设定的时间段 用状态信息进行统计, 得到终端各应用的使用状态; 其中, ― η , 其大于设定的用于信息获取的时间间隔, 所述 n为大于 1的整数。 可选地, 本发明实施例所述方法中, 所述应用的使用状态, 包括: 在设 定时间段内累计使用时间以及累计资源占用率; 其中, 累计使用时间 =被使用 次数 X信息获取的时间间隔。
可选地, 本发明实施例所述方法中, 所述指定状态的应用, 包括: 累计 使用时间为零的应用, 以及累计使用时间低于设定阔值且资源占用率高于设 定阔值的应用。
可选地, 本发明实施例所述方法中, 所述提示用户对指定状态的应用进 行处理前, 还包括:
删除用户使用时间没有达到时间阔值、 并且没有被用户标记为常用的应 用;
删除应用存储空间使用信息超过空间阔值、 并且没有被用户标记为常用 的应用;
删除应用 CPU使用信息超过 CPU使用阔值、 并且没有被用户标记为常 用的应用; 以及
当指定状态的应用中包含有用户标记为常用的应用时, 当时间达到设定 的间隔数次提示时间后, 取消应用的常用标识。
可选地, 本发明实施例所述方法中, 所述提示用户对指定状态的应用进 行处理, 包括: 删除应用、 保留应用或标记应用为常用。
依据本发明实施例的另一个方面, 提供了一种终端, 包括:
管理模块, 其设置成按照设定的时间间隔, 周期性的触发信息收集模块, 以及按照设定的时间段, 周期性的触发分析模块;
信息收集模块, 其设置成周期性地获取终端当前使用的应用信息; 存储模块, 其设置成将所述信息收集模块获取的信息进行存储; 分析模块, 其设置成基于所述存储模块存储的应用信息, 统计设定的时 间段内终端所有应用的使用状态; 以及
交互模块, 其设置成基于所述分析模块统计得到的各应用的使用状态, 提示用户对指定状态的应用进行处理。
可选地, 本发明实施例所述终端中, 所述分析模块是设置成基于存储的 应用信息, 统计设定时间段内终端各应用的累计使用时间以及累计资源占用 率; 其中, 累计使用时间 =被使用次数 X信息获取的时间间隔。
可选地, 本发明实施例所述终端中, 所述交互模块是设置成提示用户对 累计使用时间为零的应用, 以及累计使用时间低于设定阔值且资源占用率高 于设定阔值的应用进行处理。
可选地, 本发明实施例所述终端中, 所述交互模块还设置成:
删除用户使用时间没有达到时间阔值、 并且没有被用户标记为常用的应 用;
删除应用存储空间使用信息超过空间阔值、 并且没有被用户标记为常用 的应用;
删除应用 CPU使用信息超过 CPU使用阔值、 并且没有被用户标记为常 用的应用; 以及
当指定状态的应用中包含有用户标记为常用的应用时, 当时间达到设定 的间隔数次提示时间后, 取消应用的常用标识。
可选地, 本发明实施例所述终端中, 所述交互模块是设置成提示用户对 指定状态的应用进行删除、 保留或标记为常用。 本发明实施例有益效果如下:
本发明实施例所述方法及终端, 釆用对时间散列分片, 每隔一个时间片, 获取一次各应用运行状态的 "快照" , 认为这个时间片内, 应用运行状态都 是 "快照" 所呈现的样子, 从而通过统计这些 "快照" 得到一个应用在一段 时间内的整体状态, 通过该整体状态对各应用进行管理, 该管理方式相比简 单的通过程序启动频率来确定程序是否被用户使用, 更能反映出各应用被用 户使用的真实情况, 进而使得本发明实施例的管理方法更精确。 附图概述
下面将对实施例或相关技术描述中所需要使用的附图作一简单地介绍, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来 讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例一提供的一种终端实现应用管理的方法的流程图; 图 2为本发明实施例二提供的一种终端的结构框图;
图 3为本发明实施例三提供的终端实现应用管理的方法的流程图。
本发明的较佳实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
为了实现对终端应用的有效管理, 本发明实施例提出了一种终端及其实 现应用管理的方法, 所述方法帮助用户精简移动终端上的应用程序, 删除用 户不需要的应用程序, 让用户常用的程序有更多的内存和 CPU运行时间, 以 程进行阐述。
实施例一
本发明实施例提供一种终端实现应用管理的方法, 如图 1所示, 包括: 步骤 S101 , 按照设定的时间间隔, 周期性地获取并存储终端当前使用的 应用信息;
该步骤中, 所述设定的时间间隔可选为秒级别的时间间隔, 例如, 30s, 这样可以准确反映实时的应用程序运行状态。
对应用信息的搜集, 主要包括应用被用户使用的时间、 应用内存使用信 息和应用 CPU使用信息; 可以简单的用下面的表达式来表达:
应用内存使用信息 = (应用占用内存百分比大小 X应用运行时间) I提示 间隔期间设备运行总时间;
应用 CPU使用信息 = (应用占用 CPU百分比大小 X应用运行时间) I提 示间隔期间设备运行总时间;
应用被用户使用时间信息=该应用被用户使用时间 I提示间隔期间用户 使用设备的总时间;
其中, 设备运行总时间是指累加提示间隔期间的每次信息搜集时间; 用 户使用设备时间统计设备处于非待机的时间;
应用信息的搜集, 不仅收集用户在使用终端的时候的应用信息 (屏幕是 非待机状况) , 也要收集终端在待机的时候的应用信息。
步骤 S102, 基于存储的应用信息, 统计设定的时间段内终端所有应用的 使用状态。
该步骤中, 所述设定的时间段为提示用户的时间间隔, 建议以周为单位, 例如, 每 1周执行一次, 既不会太频繁, 也不会间隔太久。 当然, 用户也可 以根据需求进行灵活设定。
由于设定的时间段远远大于信息获取周期,所以当设定的时间段到达时, 会存储有大量的应用程序信息, 此时终端要对各应用的程序信息进行统计, 应该会占用大量的终端资源, 可能会影响用户的使用。 对此, 本实施例还提 供了一种解决方案, 具体如下:
本实施例中, 在所述设定的时间段内, 每隔设定的时间 T, 统计一次 T 时间段内终端所有应用的使用状态并保存, 当所述设定的时间段到达时, 对 保存的各次使用状态信息进行统计, 得到终端各应用的使用状态。 也就是说, 本发明实施例中分时段的对存储的应用程序信息进行统计, 当设定的时间段 到达时, 只需要利用预先统计的数据进行整合即可, 避免了在设定时间段到 达时, 对所有存储的信息进行统一处理, 影响用户使用的问题。 —设定的时间段
其中, ― " , 其大于设定的用于信息获取的时间间隔, 所述 n为大于 1 的整数。 本实施例中, 根据信息获取周期时间间隔的大小和分析 数据量的大小, T建议以小时为单位, 例如, 1小时。 所述步骤 S102中, 统计得到的应用的使用状态可选地包括: 在设定时间 段内累计使用时间以及累计资源占用率; 其中, 累计使用时间 =被使用次数 X 信息获取的时间间隔。
步骤 S103 , 基于统计得到的各应用的使用状态, 提示用户对指定状态的 应用进行处理。
该步骤中, 所述指定状态的应用, 包括: 累计使用时间为零的应用, 以 及累计使用时间低于设定阔值且资源占用率高于设定阔值的应用。
本发明实施例中在提示用户对指定状态的应用进行处理时, 可选地, 还 可以考虑用户的个人偏好, 即, 当用户对某一应用做了常用标记时, 即便该 应用处于指定状态下, 也不对该应用进行处理。 可选地, 本发明实施例还提 出一个标识有效期的概念, 当在有效期内时, 不将应用放入指定状态应用列 表中; 否则, 忽视标记。 具体实现手段为:
在根据阔值判断某个应用是否需要删除的时候, 可以根据如下规则来确 定:
1、删除用户使用时间没有达到时间阔值、 并且没有被用户标记为常用的 应用;
2、删除应用存储空间使用信息超过空间阔值、 并且没有被用户标记为常 用的应用;
3、 删除应用 CPU使用信息超过 CPU使用阔值、 并且没有被用户标记为 常用的应用; 简单处理的话, 就是每一条选取 1~3个应用来提示用户:
对用户标记为常用的应用的处理:
当指定状态的应用中包含有用户标记为常用的应用时, 当时间达到设定 的间隔数次提示时间 (实际上的时间可以是几个月)后, 取消应用的常用标 识, 因为间隔几个月之后, 用户对设备的使用习惯可能会改变。
本实施例中所述提示用户对指定状态的应用进行处理,包括但不限于为: 删除应用、 保留应用或标记应用为常用。
综上所述, 本发明实施例所述方法, 釆用对时间散列分片, 每隔一个时 间片, 获取一次各应用运行状态的 "快照" , 认为这个时间片内, 应用运行 状态都是 "快照" 所呈现的样子, 从而通过统计这些 "快照" 得到一个应用 在一段时间内的整体状态, 通过该整体状态对各应用进行管理, 该管理方式 相比简单的通过程序启动频率来确定程序是否被用户使用, 更能反映出各应 用被用户使用的真实情况, 进而使得本发明实施例的管理方法更精确。
实施例二
本发明实施例提供一种终端, 如图 2所示, 具体包括:
管理模块 210, 用于按照设定的时间间隔, 周期性的触发信息收集模块, 以及按照设定的时间段, 周期性的触发分析模块;
信息收集模块 220 , 用于按照设定的时间间隔, 周期性地获取终端当前 使用的应用信息;
存储模块 230, 用于将所述信息收集模块 220获取的信息进行存储; 分析模块 240, 用于基于存储模块 230存储的应用信息, 统计设定的时 间段内终端所有应用的使用状态;
交互模块 250, 用于基于分析模块 240统计得到的各应用的使用状态, 提示用户对指定状态的应用进行处理。
本实施例中, 管理模块 210设定的时间间隔可选为秒级别的时间间隔, 例如, 30s, 这样可以准确反映实时的程序运行状态; 所述设定的时间段为提 示用户的时间间隔, 建议以周为单位, 例如, 每 1周执行一次, 既不会太频 繁, 也不会间隔太久。 当然, 用户也可以根据需求进行灵活设定。
信息收集模块 220对应用信息的搜集,主要包括应用被用户使用的时间、 应用内存使用信息和应用 CPU使用信息;可以简单的用下面的表达式来表达: 应用内存使用信息 = (应用占用内存百分比大小 X应用运行时间) I提示 间隔期间设备运行总时间;
应用 CPU使用信息 = (应用占用 CPU百分比大小 X应用运行时间) I提 示间隔期间设备运行总时间;
应用被用户使用时间信息=该应用被用户使用时间 I提示间隔期间用户 使用设备的总时间;
其中, 设备运行总时间是指累加提示间隔期间的每次信息搜集时间; 用 户使用设备时间统计设备处于非待机的时间;
应用信息的搜集, 不仅收集用户在使用终端的时候的应用信息 (屏幕是 非待机状况) , 也要收集终端在待机的时候的应用信息。
由于设定的时间段远远大于信息获取周期,所以当设定的时间段到达时 , 会存储有大量的应用程序信息, 此时终端要对各应用的程序信息进行统计, 应该会占用大量的终端资源, 可能会影响用户的使用。 对此, 本实施例还提 供了一种解决方案, 具体如下:
分析模块 240, 还用于在所述设定的时间段内, 每隔设定的时间 T, 统计 一次 T时间段内终端所有应用的使用状态并保存, 当所述设定的时间段到达 时, 对保存的各次使用状态信息进行统计, 得到终端各应用的使用状态。 也 就是说, 本发明中分时段的对存储的应用程序信息进行统计, 当设定的时间 段到达时, 只需要利用预先统计的数据进行整合即可, 避免了在设定时间段 到达时, 对所有存储的信息进行统一处理, 影响用户使用的问题。 —设定的时间段
其中, ― " , 其大于设定的用于信息获取的时间间隔, 所述 n为大于 1 的整数。 本实施例中, 根据信息获取周期时间间隔的大小和分析 数据量的大小, T建议以小时为单位, 例如, 1小时。 本实施例中, 分析模块 240 , 具体用于基于存储的应用程序信息, 统计 设定时间段内终端各应用的累计使用时间以及累计资源占用率; 其中, 累计 使用时间 =被使用次数 X信息获取的时间间隔。
本实施例中, 交互模块 250 , 具体用于提示用户对累计使用时间为零的 应用, 以及累计使用时间低于设定阔值且资源占用率高于设定阔值的应用进 行处理。
本发明实施例中在提示用户对指定状态的应用进行处理时, 可选地, 还 可以考虑用户的个人偏好, 即, 当用户对某一应用做了常用标记时, 即便该 应用处于指定状态下, 也不对该应用进行处理。 可选地, 本发明实施例还提 出一个标识有效期的概念, 当在有效期内时, 不将应用放入指定状态应用列 表中; 否则, 忽视标记。 具体实现手段为:
交互模块 250 , 还用于: 根据阔值判断某个应用是否需要删除, 具体根 据如下规则来确定:
1、删除用户使用时间没有达到时间阔值、 并且没有被用户标记为常用的 应用;
2、删除应用存储空间使用信息超过空间阔值、 并且没有被用户标记为常 用的应用;
3、 删除应用 CPU使用信息超过 CPU使用阔值、 并且没有被用户标记为 常用的应用;
简单处理的话, 就是每一条选取 1~3个应用来提示用户:
对用户标记为常用的应用的处理:
当指定状态的应用中包含有用户标记为常用的应用时, 当时间达到设定 的间隔数次提示时间 (实际上的时间可以是几个月)后, 取消应用的常用标 识, 因为间隔几个月之后, 用户对设备的使用习惯可能会改变。
交互模块 250提示用户对指定状态的应用进行处理, 包括但不限于为: 删除应用、 保留应用或标记应用为常用。 实施例三
本实施例提供一种终端, 该实施例是以安卓(Android ) 系统为例, 通过 流程步骤的方式, 对实施例二所述方案的进一步详细阐述, 如图 3所示, 具 体包括如下内容:
步骤 301 , 管理模块间隔时间 T1 , 启动一次信息收集, 向信息收集模块 发送信息收集指令。 其中, 间隔时间 T1根据实际情况, 综合考虑一次信息收 集需要的时间和收集频度要能准确反映实时的程序运行状态。 本发明实施例 中建议以秒为单位, 例如 30秒。
步骤 302, 信息收集模块得到管理模块的信息收集指令, 收集当前运行 程序的信息 (PI , Program Info ) , 收集好之后, 反馈给管理模块; 可选地, 信息收集模块还可以对终端设备信息进行收集, 并将收集的设备信息反馈给 管理模块。
其中, 收集的程序信息, 包括但不限于为: 正在前台运行(即应用当前 是否被使用)的应用程序名、 版本号、 程序优先级、 程序占用 CPU大小、 程 序占用内存大小等。
收集的设备信息, 包括但不限于为: CPU信息、 内存使用、 内存总大小、 操作系统、 屏幕分辨率、 剩余电量、 当前系统时间、 以及当前是否待机等。 其中, 如果当前是待机状态, 则认为当前时间及后推 30秒的时间段内, 用户 没有操作设备; 如果当前是非待机状态, 说明此时用户正在操作设备, 即处 于前台正在运行的程序正在被用户使用, 此时, 可以认为, 当前时间及后推 30秒的时间段内, 用户正在使用处于前台的应用。
步骤 303 , 管理模块得到信息收集模块反馈的信息之后, 调用存储模块, 把信息存储起来, 本次信息收集结束。 其中, 存储功能可以使用 Android 系 统自带的简易数据库 SQLite。
步骤 304, 管理模块间隔时间 T2, 启动信息分析, 向分析模块发送分析 指令; 其中, 根据 T1的间隔大小和分析数据量的大小, T2建议以小时为单 位, 例如 1小时。 步骤 305 , 分析模块从存储模块获取到 T2时间段内的存储信息并分析, 逐条统计每个 T1时间中, 各程序累计被用户使用时间 (例如, 某个 T1时间 片中, 设备处于非待机状态, 那么可以认为: 处于前台的应用正在被用户使 用, Android平台已经提供查询待机状态和应用是否在前台运行的接口)、 使 用 CPU时间、 占用 CPU大小、 占用内存大小、 占用内存时间的情况, 来得 到终端内应用程序的使用状态, 并通过存储模块保存起来, 本次信息分析结 束。
本发明实施例中由于要对用户不使用或者不经常使用且占用资源多的程 序进行管理, 所以在每次分析时, 可选地, 可以对影响应用程序使用状态的 各参数(如使用时间长短、 占用资源多少等等)给于不同的分值, 不被用户 使用、 使用设备资源多的程序, 将会得到较高的分值, 通过这种分值设定方 式,可以统计得到每个 T2时间段内各程序的分值列表, 为后续整体分析提供 支持。
步骤 306, 管理模块间隔时间 T3 , 启动提示用户, 向分析模块发送分析 指令; 间隔时间 T3 为提示用户的时间间隔, 建议以周为单位, 例如, 每 1 周执行一次; 既不会太频繁, 也不会间隔太久。
步骤 307 , 分析模块收到 T3分析指令, 通过存储模块获取 T3时间段内 的各分值列表, 统计出最终的程序分值列表(即将各分值列表中同一程序的 分数进行累计相加)并反馈给管理模块。
步骤 308 , 管理模块得到分析模块的最终程序分值列表, 通过交互模块 提醒用户对不被用户使用等指定状态的应用进行删除、保留或者标识为常用 , 并根据用户的操作执行删除程序、 保留或标识程序, 并把用户对程序的标识 存储起来, 以便后续使用。
可选地, 当指定状态的应用中包含有用户标记为常用的应用时, 检测标 记时间与当前时间的时间间隔是否超过设定的门限值, 若未超过, 将标识的 应用在指定状态的应用中删除; 否则, 直接对指定状态的应用进行提示。
综上所述, 本发明实施例釆用对时间散列分片, 每隔一个时间片, 获取 一次设备状态和各程序运行状态的 "快照" , 认为这个时间片内, 设备状态 和程序运行状态都是 "快照" 所呈现的样子; 然后, 再通过统计这些 "快照" 从而得到一个设备和程序在一段时间内的整体状态。
相比简单的通过程序启动频率来确定程序是否被用户使用, 该系统通过 统计应用被用户使用的累计时间, 以及用户对程序的偏好设定, 更能反映出 设备上一个应用被用户使用的真实情况; 更加适应当前的移动应用和设备。 那些长时间不被用户使用、 占用设备资源多的程序将被反馈给用户, 提醒用 户对此类程序进行处理。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。
工业实用性
本发明实施例所述方法及终端, 釆用对时间散列分片, 每隔一个时间片, 获取一次各应用运行状态的 "快照" , 认为这个时间片内, 应用运行状态都 是 "快照" 所呈现的样子, 从而通过统计这些 "快照" 得到一个应用在一段 时间内的整体状态, 通过该整体状态对各应用进行管理, 该管理方式相比简 单的通过程序启动频率来确定程序是否被用户使用, 更能反映出各应用被用 户使用的真实情况, 进而使得本发明实施例的管理方法更精确。

Claims

权 利 要 求 书
1、 一种终端实现应用管理的方法, 包括:
按照设定的时间间隔, 周期性地获取并存储终端当前使用的应用信息; 以及
基于存储的应用信息, 统计设定的时间段内终端所有应用的使用状态, 提示用户对指定状态的应用进行处理。
2、 如权利要求 1所述的方法, 其中, 获取终端当前使用的应用信息, 包 括获取应用被用户使用的时间信息、应用内存使用信息和应用 CPU使用信息; 其中:
应用内存使用信息 = (应用占用内存百分比大小 X应用运行时间) I提示 间隔期间设备运行总时间;
应用 CPU使用信息 = (应用占用 CPU百分比大小 X应用运行时间) I提 示间隔期间设备运行总时间; 以及
应用被用户使用时间信息=该应用被用户使用时间 I提示间隔期间用户 使用设备的总时间。
3、 如权利要求 1所述的方法, 其中, 所述基于存储的应用信息, 统计设 定的时间段内终端所有应用的使用状态, 包括:
在所述设定的时间段内, 每隔设定的时间 T, 统计一次 T时间段内终端 所有应用的使用状态并保存, 当所述设定的时间段到达时, 对保存的各次使 —设定的时间段 用状态信息进行统计, 得到终端各应用的使用状态; 其中, ― η , 其大于设定的用于信息获取的时间间隔, 所述 n为大于 1的整数。
4、 如权利要求 1或 2或 3所述的方法, 其中, 所述应用的使用状态, 包 括: 在设定时间段内累计使用时间以及累计资源占用率; 其中, 累计使用时 间=被使用次数 X信息获取的时间间隔。
5、 如权利要求 4所述的方法, 其中, 所述指定状态的应用, 包括: 累计 使用时间为零的应用, 以及累计使用时间低于设定阔值且资源占用率高于设 定阔值的应用。
6、 如权利要求 5所述的方法, 其中, 所述提示用户对指定状态的应用进 行处理前, 还包括:
删除用户使用时间没有达到时间阔值、 并且没有被用户标记为常用的应 用;
删除应用存储空间使用信息超过空间阔值、 并且没有被用户标记为常用 的应用;
删除应用 CPU使用信息超过 CPU使用阔值、 并且没有被用户标记为常 用的应用; 以及
当指定状态的应用中包含有用户标记为常用的应用时, 当时间达到设定 的间隔数次提示时间后, 取消应用的常用标识。
7、 如权利要求 1或 2或 3或 5或 6所述的方法, 其中, 所述提示用户对 指定状态的应用进行处理, 包括: 删除应用、 保留应用或标记应用为常用。
8、 一种终端, 包括:
管理模块, 其设置成按照设定的时间间隔, 周期性的触发信息收集模块, 以及按照设定的时间段, 周期性的触发分析模块;
信息收集模块, 其设置成周期性地获取终端当前使用的应用信息; 存储模块, 其设置成将所述信息收集模块获取的信息进行存储; 分析模块, 其设置成基于所述存储模块存储的应用信息, 统计设定的时 间段内终端所有应用的使用状态; 以及
交互模块, 其设置成基于所述分析模块统计得到的各应用的使用状态, 提示用户对指定状态的应用进行处理。
9、 如权利要求 8所述的终端, 其中, 所述分析模块是设置成基于存储的 应用信息, 统计设定时间段内终端各应用的累计使用时间以及累计资源占用 率; 其中, 累计使用时间 =被使用次数 X信息获取的时间间隔。
10、 如权利要求 9所述的终端, 其中, 所述交互模块是设置成提示用户 对累计使用时间为零的应用, 以及累计使用时间低于设定阔值且资源占用率 高于设定阔值的应用进行处理。
11、 如权利要求 10所述的终端, 其中, 所述交互模块还设置成: 删除用户使用时间没有达到时间阔值、 并且没有被用户标记为常用的应 用;
删除应用存储空间使用信息超过空间阔值、 并且没有被用户标记为常用 的应用;
删除应用 CPU使用信息超过 CPU使用阔值、 并且没有被用户标记为常 用的应用; 以及
当指定状态的应用中包含有用户标记为常用的应用时, 当时间达到设定 的间隔数次提示时间后, 取消应用的常用标识。
12、 如权利要求 8至 11中任一项所述的终端, 其中, 所述交互模块是设 置成提示用户对指定状态的应用进行删除、 保留或标记为常用。
PCT/CN2013/087782 2013-06-13 2013-11-25 一种终端及其实现应用管理的方法 WO2014198106A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310232748.X 2013-06-13
CN201310232748.XA CN104239179B (zh) 2013-06-13 2013-06-13 一种终端及其实现应用管理的方法

Publications (1)

Publication Number Publication Date
WO2014198106A1 true WO2014198106A1 (zh) 2014-12-18

Family

ID=52021604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087782 WO2014198106A1 (zh) 2013-06-13 2013-11-25 一种终端及其实现应用管理的方法

Country Status (2)

Country Link
CN (1) CN104239179B (zh)
WO (1) WO2014198106A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573782A (zh) * 2015-12-11 2016-05-11 中南大学 一种用于透明可穿戴智能设备的软件预加载方法
CN107885603A (zh) * 2017-11-13 2018-04-06 湖南新云网科技有限公司 基于透明计算的移动智能终端空间优化方法、终端及系统

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293445B (zh) * 2015-06-29 2021-03-23 腾讯科技(深圳)有限公司 应用程序使用数据的获取方法、装置及终端设备
CN105700827A (zh) * 2016-01-07 2016-06-22 福建天晴数码有限公司 迁移安卓app的方法及系统
CN105718028B (zh) * 2016-01-22 2019-11-05 青岛海信移动通信技术股份有限公司 一种基于识别耗电应用的省电方法及装置
CN105917343A (zh) * 2016-04-07 2016-08-31 汤美 教育app的控制方法及系统
CN106250289B (zh) * 2016-08-01 2019-03-19 珠海格力电器股份有限公司 应用程序的处理方法和装置
CN107577507A (zh) * 2017-08-09 2018-01-12 广州视源电子科技股份有限公司 一种应用删除方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050144025A1 (en) * 2003-12-29 2005-06-30 Veritas Operating Corporation Using technical performance metrics for business and usage analysis and cost allocation
CN101563672A (zh) * 2006-12-18 2009-10-21 株式会社爱可信 应用程序更新管理终端、系统以及程序
CN103034498A (zh) * 2012-12-13 2013-04-10 广东欧珀移动通信有限公司 整理应用程序的方法及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019842B (zh) * 2012-11-29 2015-04-01 广东欧珀移动通信有限公司 后台程序整理方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050144025A1 (en) * 2003-12-29 2005-06-30 Veritas Operating Corporation Using technical performance metrics for business and usage analysis and cost allocation
CN101563672A (zh) * 2006-12-18 2009-10-21 株式会社爱可信 应用程序更新管理终端、系统以及程序
CN103034498A (zh) * 2012-12-13 2013-04-10 广东欧珀移动通信有限公司 整理应用程序的方法及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573782A (zh) * 2015-12-11 2016-05-11 中南大学 一种用于透明可穿戴智能设备的软件预加载方法
CN105573782B (zh) * 2015-12-11 2019-01-15 中南大学 一种用于透明可穿戴智能设备的软件预加载方法
CN107885603A (zh) * 2017-11-13 2018-04-06 湖南新云网科技有限公司 基于透明计算的移动智能终端空间优化方法、终端及系统

Also Published As

Publication number Publication date
CN104239179B (zh) 2019-01-08
CN104239179A (zh) 2014-12-24

Similar Documents

Publication Publication Date Title
WO2014198106A1 (zh) 一种终端及其实现应用管理的方法
CN106293445B (zh) 应用程序使用数据的获取方法、装置及终端设备
US8997104B2 (en) System and method for managing performance of a mobile device
WO2016107077A1 (zh) 空气净化器滤芯剩余使用时长的确定方法及装置
US20160174156A1 (en) Method and device for pushing information
CN103823543A (zh) 便携式电子设备和在其中操作的方法
CN112311617A (zh) 一种配置化数据监控告警方法及系统
CN107276799B (zh) 移动终端流量预测方法及装置
CN105323640A (zh) 一种基于互联网实现智能电视售后服务的方法、系统和设备
CN108288069B (zh) 一种定位功能管理方法、移动终端及可读存储介质
CN110335022B (zh) 自动稽核方法、装置、设备及存储介质
CN110244991B (zh) 一种微服务依赖分析方法及装置
CN111277640B (zh) 用户请求处理方法、装置、系统、计算机设备和存储介质
CN106209412B (zh) 资源监控系统与其方法
WO2013174322A1 (zh) 软件的升级方法及终端
TW200539609A (en) Data delivery device and alteration method of data delivery time
WO2019144803A1 (zh) 流量统计方法、装置、存储介质及电子装置
US8255012B2 (en) Mobile phone and status control method thereof
CN109002381B (zh) 进程通信监控方法、电子装置及计算机可读存储介质
CN111756589A (zh) 云资源管理方法、装置、云服务器及存储介质
Severini et al. Energy-aware task scheduler for self-powered sensor nodes: From model to firmware
CN104462116B (zh) 数据选择的方法及装置
CN106327038B (zh) 电子工单处理方法及装置
CN115510035A (zh) 日志数据处理方法、装置、设备及存储介质
WO2021244548A1 (zh) 即时消息处理方法和装置

Legal Events

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

Ref document number: 13886666

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13886666

Country of ref document: EP

Kind code of ref document: A1