WO2013182157A1 - Application program processing method and device - Google Patents
Application program processing method and device Download PDFInfo
- Publication number
- WO2013182157A1 WO2013182157A1 PCT/CN2013/079815 CN2013079815W WO2013182157A1 WO 2013182157 A1 WO2013182157 A1 WO 2013182157A1 CN 2013079815 W CN2013079815 W CN 2013079815W WO 2013182157 A1 WO2013182157 A1 WO 2013182157A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- terminal
- user
- memory
- memory card
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for processing an application. Background technique
- Embodiments of the present invention provide a method and apparatus for processing an application, managing memory according to a frequency of use of the application, moving an application that is not frequently used to a memory card, and improving the terminal without changing the memory of the terminal. operating efficiency.
- the method further comprises: receiving a request of the user mobile application, moving the application to the memory card, and updating the Application status table.
- the method further comprises: receiving a request of the user optimization application, prompting the user to use the application The program with the lowest frequency in the status table is moved to the memory card.
- obtaining information of the terminal application, and generating an application status table according to the acquired information includes:
- the basic application of the terminal in the application list is deleted, and the application list is updated.
- the embodiment of the invention further provides an apparatus for processing an application, comprising: a generating module, configured to: acquire information of an application running in the terminal, and generate an application state table;
- a judging module configured to: obtain a memory occupancy status of the terminal, and determine whether the free memory of the terminal is less than a set threshold, and if the memory is less than a set threshold, send a user prompt request to the first prompting unit;
- a first prompting module configured to: receive a user prompt request, prompt the user to move the program with the lowest frequency of use in the application state table to the memory card;
- the apparatus further includes a processing module configured to: receive a request from the user to move the application, move the application to the memory card, and update the application status table.
- a processing module configured to: receive a request from the user to move the application, move the application to the memory card, and update the application status table.
- the device further comprises a second prompting module, configured to: receive a request from the user to optimize the application, prompting the user to move the program with the lowest frequency of use in the application state table to the memory card.
- a second prompting module configured to: receive a request from the user to optimize the application, prompting the user to move the program with the lowest frequency of use in the application state table to the memory card.
- the application information in the application status table includes at least an application frequency and a usage duration.
- the generating module includes:
- a first generating unit configured to: acquire an application currently running by the terminal, and generate an application Sequence table
- a second generating unit configured to: acquire a usage status of the application in the application list, and generate an application status table.
- the generating module further comprises an updating unit, configured to: delete the basic application of the terminal in the application list and update the application list before generating the application state table.
- the embodiment of the present invention generates an application state table of the application in the terminal; when the memory of the terminal is small and the threshold is set, the user is reminded to move the application with low frequency of use in the program state table to the memory card; Under the premise of the terminal memory, the application is managed according to the frequency of use of the application, and the application with low frequency is moved to the memory card, thereby improving the operating efficiency of the terminal.
- FIG. 1 is a schematic flow chart of an embodiment of a method for processing an application according to the present invention
- FIG. 2 is a schematic flowchart of generating an application state table in a method for processing an application according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of an apparatus for processing an application according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a generation module in an apparatus for processing an application according to an embodiment of the present invention
- FIG. 1 is a schematic flowchart diagram of an embodiment of a method for processing an application according to the present invention.
- the method for processing an application proposed in this embodiment includes:
- Step S10 Obtain information about an application running in the terminal, and generate an application state table according to the acquired application information.
- the application information in the application state table includes at least an application. Frequency of use and duration of use.
- the status information of the application in the terminal is acquired every other cycle, and the application status table is updated. The user can customize the monitoring cycle.
- Step S21 Obtain a memory occupation status of the terminal, determine whether the free memory of the terminal is less than a set threshold, and if the free memory is less than a set threshold, prompt the user to move the program with the lowest frequency of use in the application status table to the memory card.
- the setting value of the memory in the terminal is the memory space required for the basic program in the terminal to operate normally.
- the basic program in the terminal refers to a program that must be used by the terminal such as sending a text message or browsing a web page.
- the application status information in the application status table includes at least the frequency of use and duration of the application.
- the application information of the application in the terminal is obtained, and the application status table is generated.
- the memory occupancy status of the terminal is detected, and the idle memory of the terminal is determined to be less than a set threshold.
- the threshold is less than the set threshold, the user is prompted to use the frequency.
- the lowest application is moved to the memory card.
- the application is managed according to the frequency of application, and the application with low frequency is moved to the memory card to improve the operating efficiency of the terminal.
- Step S30 Receive a request of the user mobile application, move the application to the memory card, and update the application status table.
- the application status table After moving the application to the memory card and updating the application status table, continue to determine whether the free memory in the terminal is less than the set threshold. If it is less than the set threshold, the user is prompted to use the application with the lowest frequency in the application status table. The program is moved to the memory card. After updating the application status table, the application status table indicates that the program moved to the memory card is already installed on the memory card.
- Step S30 the method further includes: Step S22: Receive a request of the user optimization application, and prompt the user to move the program with the lowest frequency of use in the application state table to the memory card.
- the user can optimize the application in the menu list of the terminal at any time. After receiving the request of the user to optimize the application, the user is prompted to move the application with the lowest frequency in the application state table to the memory card.
- FIG. 2 is a schematic flowchart of generating an application state table in a method for processing an application according to an embodiment of the present invention. Based on the above embodiment, step S10 includes:
- Step S11 Obtain an application running by the terminal, and generate an application list.
- the terminal sets a cycle, acquires the application running on the terminal every other cycle, and updates the application list.
- Step S12 deleting a basic application of the terminal in the application list, and updating an application list
- the basic application of the terminal refers to an application that implements the basic functions of the terminal, such as a call, a text message, a business card holder, and the like, and if the program is deleted, the application status table is generated. Previously, these basic applications should be removed from the application table and the application tables should be updated.
- Step S13 Obtain state information of the application in the application list, and generate an application state table.
- the basic application Before generating the application state table, the basic application should be deleted from the application list, and the application table should be updated, and then the state information of the application in the updated application list can be obtained to generate an application state table.
- the status information of the application includes at least the frequency of use and duration of the application.
- the user can enter the application status table of the terminal to move the application with the lowest frequency to the memory card.
- the user is prompted to continue to optimize, if received, Stopping the optimized information prompts the user to optimize the completion.
- FIG. 3 is a schematic structural diagram of an apparatus for processing an application according to an embodiment of the present invention.
- the device includes a generating module, a determining module, a prompting module, and a processing module, where
- the generating module 10 is configured to acquire information of an application running in the terminal, and generate an application state table
- the determining module 20 is configured to obtain a memory usage status of the terminal, and determine whether the free memory of the terminal is less than a set threshold, and if the free memory is less than a set threshold, send a user prompt request to the first prompting unit;
- the first prompt module 31 is configured to receive a user prompt request, prompting the user to use the application
- the program with the lowest frequency in the status table is moved to the memory card.
- the state of the application in the application state table in this embodiment includes at least the frequency of use of the application and the duration of use.
- the generation module 10 acquires the status information of the application in the terminal every other cycle, and updates the application status table, which can be set by the client.
- the set threshold of the memory in the terminal is the memory space required for the basic program in the terminal to operate normally.
- the basic program in the terminal refers to a program that must be used by the terminal such as sending a short message or browsing a web page.
- the prompting module 30 reminds the user of the program that should be moved according to the frequency of use of the application in the application status table when prompting the user to move the application.
- the generating module 10 acquires the application information of the application in the terminal, and generates an application state table.
- the determining module 20 detects the memory usage status of the terminal, and determines whether the free memory of the terminal is less than a set threshold, and is less than a set threshold.
- Sending a user prompt request to the first prompt module 31; the first prompt module 30 receives the user prompt request, prompting the user to move the application with the lowest frequency of use to the memory card.
- the application is managed according to the frequency of application, and the application with low frequency is moved to the memory card to improve the operating efficiency of the terminal.
- the apparatus for processing an application further includes a processing module 40 configured to receive a request from the user to move the application, move the application to the memory card, and update the application status table.
- the processing module 40 moves the application to the memory card and updates the application status table
- the determining module 20 continues to determine whether the free memory in the terminal is less than a set threshold. If the threshold is less than the set threshold, the user is sent to the first prompt module 30.
- the prompting request the first prompting module 30 receives the user prompting request, prompting the user to move the application with the lowest frequency of use in the application state table to the memory card.
- the processing module 40 indicates in the application status table that the program moved to the memory card has been installed in the memory card.
- the device for processing the application further includes a second prompting module 32 configured to receive a request from the user to optimize the application, prompting the user to move the program with the lowest frequency of use in the application state table to the memory card.
- the user can optimize the application in the menu list of the terminal at any time.
- the second prompting module 32 prompts the user to move the application with the lowest frequency in the application state table to the storage. In the card.
- FIG. 4 is a schematic structural diagram of a generating module in an apparatus for processing an application according to an embodiment of the present invention.
- the generating module includes: a first generating unit 11 configured to acquire an application currently running by the terminal, and generate an application list;
- the updating unit 12 is arranged to delete the basic application of the terminal in the application sequence table and update the application list before generating the application state table.
- the second generation unit 13 is configured to acquire the usage status of the application in the application list, and generate an application status table.
- the terminal sets a cycle, and the first generation unit 11 acquires an application running by the terminal every other cycle and updates the application list.
- the basic application of the terminal refers to an application that implements basic functions of the terminal, such as an application for basic functions of a terminal such as a call, a text message, a business card holder, etc. If the deletion of these programs affects the normal use of the terminal, the second generation unit 13 Before generating the application state table, the update unit 12 should delete the basic application from the application table and update the application table, and the second generation unit 13 obtains the state information of the application in the updated application list. Generate an application state table. In the application status table, the status information of the application includes at least the usage frequency and duration of the application.
- the user can enter the application status table from the menu of the terminal to move the application with low frequency to the memory card. After the completion of the movement, the user is prompted to continue to optimize, and if the information for stopping optimization is received, the user is prompted. User optimization is complete.
- the application program is managed according to the frequency of use of the application without changing the memory of the terminal, and the application program with low frequency of use is moved to the memory card, thereby improving the operation efficiency of the terminal.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Provided are an application program processing method and device. The method comprises: obtaining information about an application program which operates in a terminal, and generating a state table of the application program according to the obtained information about the application program; and obtaining a memory occupation state of the terminal, judging whether an idle memory of the terminal is smaller than a set threshold value, and if the memory is smaller than the set threshold value, prompting a user to move a program with the lowest usage frequency in the state table of the application program to a storage card.
Description
处理应用程序的方法和装置 技术领域 Method and apparatus for processing an application
本发明涉及通信技术领域, 尤其涉及一种处理应用程序的方法和装置。 背景技术 The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for processing an application. Background technique
目前以 Android为代表的移动智能终端正在蓬勃发展, 越来越多的用户 选择智能终端, 因为用户可以任意下载和使用各种应用程序。 相关技术中, 用户会将应用程序默认安装在终端内存中。 但是, 终端内存是有限的, 终端 的基本功能, 比如上网, 存储联系人, 信息收发等也需要占用一部分内存。 因此, 终端内存中供用户管理和使用的内存非常有限, 即使用户可以在安装 后, 将一些应用程序放到终端的外部存储卡, 但是将应用程序装在外部存储 卡上进行管理和使用时, 也有一些弊端, 比如稳定性降低, 读写时电池功耗 很大, 降低了终端的运行效率。 发明内容 At present, mobile intelligent terminals represented by Android are booming, and more and more users choose smart terminals because users can download and use various applications at will. In the related art, the user installs the application in the terminal memory by default. However, the terminal memory is limited, and the basic functions of the terminal, such as surfing the Internet, storing contacts, and sending and receiving information, also need to occupy a part of the memory. Therefore, the memory in the terminal memory for user management and use is very limited, even if the user can put some applications on the external memory card of the terminal after installation, but when the application is installed on an external memory card for management and use, There are also some drawbacks, such as reduced stability, high battery power consumption during reading and writing, and reduced terminal operating efficiency. Summary of the invention
本发明实施例提供一种处理应用程序的方法和装置, 按照应用程序的使 用频率来管理内存, 将不经常使用的应用程序移动到存储卡中, 在不改变终 端内存的前提下, 提高终端的运行效率。 Embodiments of the present invention provide a method and apparatus for processing an application, managing memory according to a frequency of use of the application, moving an application that is not frequently used to a memory card, and improving the terminal without changing the memory of the terminal. operating efficiency.
本发明实施例提出的一种处理应用程序的方法, 包括: A method for processing an application according to an embodiment of the present invention includes:
获取终端中运行的应用程序的信息 , 并根据所获取的应用程序信息生成 应用程序状态表; Obtaining information of an application running in the terminal, and generating an application state table according to the acquired application information;
获取终端的内存占用状态, 判断终端空闲内存是否小于设定阈值, 若内 存小于设定阈值, 则提示用户将所述应用程序状态表中使用频率最低的程序 移至存储卡中。 Obtaining the memory occupation status of the terminal, determining whether the free memory of the terminal is less than a set threshold, and if the memory is less than the set threshold, prompting the user to move the program with the lowest frequency of use in the application status table to the memory card.
优选地, 在提示用户将所述应用程序状态表中使用频率最低的程序移至 存储卡中步骤之后还包括: 接收用户移动应用程序的请求, 将应用程序移动 至存储卡中, 并更新所述应用程序状态表。
优选地, 在接收用户移动应用程序的请求, 将应用程序移动至存储卡中, 并更新所述应用程序状态表的步骤之前还包括: 接收用户优化应用程序的请 求, 提示用户将所述应用程序状态表中使用频率最低的程序移至存储卡中。 Preferably, after the step of prompting the user to move the program with the lowest frequency of use in the application state table to the memory card, the method further comprises: receiving a request of the user mobile application, moving the application to the memory card, and updating the Application status table. Preferably, before receiving the request of the user mobile application, moving the application to the memory card, and updating the application status table, the method further comprises: receiving a request of the user optimization application, prompting the user to use the application The program with the lowest frequency in the status table is moved to the memory card.
优选地, 获取终端应用程序的信息, 根据所获取的信息生成应用程序状 态表包括: Preferably, obtaining information of the terminal application, and generating an application status table according to the acquired information includes:
获取终端运行的应用程序, 生成应用程序列表; Obtain an application running on the terminal, and generate a list of applications;
获取所述应用程序列表中的应用程序的状态信息, 生成所述应用程序状 态表; Obtaining state information of the application in the application list, and generating the application state table;
优选地, 在生成所述应用程序状态表之前, 删除所述应用程序列表中的 终端的基本应用程序, 更新应用程序列表。 Preferably, before generating the application state table, the basic application of the terminal in the application list is deleted, and the application list is updated.
本发明实施例还提出一种处理应用程序的装置, 包括: 生成模块, 其设 置为: 获取终端中运行的应用程序的信息, 生成应用程序状态表; The embodiment of the invention further provides an apparatus for processing an application, comprising: a generating module, configured to: acquire information of an application running in the terminal, and generate an application state table;
判断模块, 其设置为: 获取终端内存占用状态, 并判断终端空闲内存是 否小于设定阈值, 若内存小于设定阈值, 向第一提示单元发送用户提示请求; 以及 a judging module, configured to: obtain a memory occupancy status of the terminal, and determine whether the free memory of the terminal is less than a set threshold, and if the memory is less than a set threshold, send a user prompt request to the first prompting unit;
第一提示模块, 其设置为: 接收用户提示请求, 提示用户将所述应用程 序状态表中使用频率最低的程序移至存储卡中; a first prompting module, configured to: receive a user prompt request, prompt the user to move the program with the lowest frequency of use in the application state table to the memory card;
优选地, 所述装置还包括处理模块, 其设置为: 接收用户移动应用程序 的请求, 将应用程序移动至存储卡中, 并更新所述应用程序状态表。 Preferably, the apparatus further includes a processing module configured to: receive a request from the user to move the application, move the application to the memory card, and update the application status table.
优选地, 所述装置还包括第二提示模块, 其设置为: 接收用户优化应用 程序的请求, 提示用户将所述应用程序状态表中使用频率最低的程序移至存 储卡中。 Preferably, the device further comprises a second prompting module, configured to: receive a request from the user to optimize the application, prompting the user to move the program with the lowest frequency of use in the application state table to the memory card.
优选地, 所述应用程序状态表中的应用程序信息至少包括应用程序的使 用频率和使用时长。 Preferably, the application information in the application status table includes at least an application frequency and a usage duration.
优选地, 所述生成模块包括: Preferably, the generating module includes:
第一生成单元, 其设置为: 获取终端当前运行的应用程序, 生成应用程
序列表, 以及 a first generating unit, configured to: acquire an application currently running by the terminal, and generate an application Sequence table, and
第二生成单元, 其设置为: 获取所述应用程序列表中的应用程序的使用 状态, 生成应用程序状态表。 And a second generating unit, configured to: acquire a usage status of the application in the application list, and generate an application status table.
优选地, 所述生成模块还包括更新单元, 其设置为: 于在生成所述应用 程序状态表之前, 删除所述应用程序列表中终端的基本应用程序, 并更新应 用程序列表。 Preferably, the generating module further comprises an updating unit, configured to: delete the basic application of the terminal in the application list and update the application list before generating the application state table.
本发明实施例通过生成终端内应用程序的应用程序状态表; 当终端的内 存小与设定阔值时, 提醒用户将用程序状态表中使用频率低的应用程序移动 至存储卡; 在不改变终端内存的前提下, 根据应用程序的使用频率来管理应 用程序, 将使用频率低的应用程序移动至存储卡中, 提高了终端的运行效率。 附图概述 The embodiment of the present invention generates an application state table of the application in the terminal; when the memory of the terminal is small and the threshold is set, the user is reminded to move the application with low frequency of use in the program state table to the memory card; Under the premise of the terminal memory, the application is managed according to the frequency of use of the application, and the application with low frequency is moved to the memory card, thereby improving the operating efficiency of the terminal. BRIEF abstract
图 1为本发明处理应用程序的方法一实施例的流程示意图; 1 is a schematic flow chart of an embodiment of a method for processing an application according to the present invention;
图 2为本发明实施例处理应用程序的方法中生成应用程序状态表的流程 示意图; 2 is a schematic flowchart of generating an application state table in a method for processing an application according to an embodiment of the present invention;
图 3为本发明处理应用程序的装置一实施例的结构示意图; 3 is a schematic structural diagram of an apparatus for processing an application according to an embodiment of the present invention;
图 4为本发明实施例处理应用程序的装置中生成模块的结构示意图; 本发明的较佳实施方式 4 is a schematic structural diagram of a generation module in an apparatus for processing an application according to an embodiment of the present invention;
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意組合。 Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
参照图 1 , 图 1为本发明处理应用程序的方法一实施例的流程示意图。 本实施例所述提出的处理应用程序的方法, 包括: Referring to FIG. 1 , FIG. 1 is a schematic flowchart diagram of an embodiment of a method for processing an application according to the present invention. The method for processing an application proposed in this embodiment includes:
步骤 S10 , 获取终端中运行的应用程序的信息, 并根据所获取的应用程 序信息生成应用程序状态表; Step S10: Obtain information about an application running in the terminal, and generate an application state table according to the acquired application information.
在本实施例中, 应用程序状态表中的应用程序信息至少包括应用程序的
使用频率和使用时长。 每隔一个周期获取终端中应用程序的状态信息, 并更 新应用程序状态表。 用户可对监测周期进行自定义设置。 In this embodiment, the application information in the application state table includes at least an application. Frequency of use and duration of use. The status information of the application in the terminal is acquired every other cycle, and the application status table is updated. The user can customize the monitoring cycle.
步骤 S21 , 获取终端的内存占用状态, 判断终端空闲内存是否小于设定 阈值, 若空闲内存小于设定阈值, 提示用户将应用程序状态表中使用频率最 低的程序移至存储卡中。 Step S21: Obtain a memory occupation status of the terminal, determine whether the free memory of the terminal is less than a set threshold, and if the free memory is less than a set threshold, prompt the user to move the program with the lowest frequency of use in the application status table to the memory card.
终端中内存的设定闳值是终端中的基本程序正常运行所需要的内存空 间, 终端中的基本程序是指发送短信、 浏览网页等终端必须使用的程序。 应 用程序状态表中的应用程序状态信息至少包括应用程序的使用频率和使用时 长。 The setting value of the memory in the terminal is the memory space required for the basic program in the terminal to operate normally. The basic program in the terminal refers to a program that must be used by the terminal such as sending a text message or browsing a web page. The application status information in the application status table includes at least the frequency of use and duration of the application.
本发明实施例中, 获取终端中应用程序的应用信息, 生成应用程序状态 表; 检测终端的内存占用状况, 判断终端的空闲内存是否小于设定阈值, 小 于设定阈值时, 提示用户将使用频率最低的应用程序移动至存储卡中。 在不 改变终端内存的前提下, 根据应用程序的使用频率来管理应用程序, 将使用 频率低的应用程序移动至存储卡中, 提高终端的运行效率。 In the embodiment of the present invention, the application information of the application in the terminal is obtained, and the application status table is generated. The memory occupancy status of the terminal is detected, and the idle memory of the terminal is determined to be less than a set threshold. When the threshold is less than the set threshold, the user is prompted to use the frequency. The lowest application is moved to the memory card. Under the premise of not changing the memory of the terminal, the application is managed according to the frequency of application, and the application with low frequency is moved to the memory card to improve the operating efficiency of the terminal.
在本实施例中, 在步骤 S21之后还包括: 步骤 S30, 接收用户移动应用 程序的请求, 将应用程序移动至存储卡中, 并更新应用程序状态表。 In this embodiment, after step S21, the method further includes: Step S30: Receive a request of the user mobile application, move the application to the memory card, and update the application status table.
将应用程序移动至存储卡中, 并更新应用程序状态表后, 继续判断终端 中的空闲内存是否小于设定阈值, 若小于设定阔值, 提示用户将应用程序状 态表中使用频率最低的应用程序移动至存储卡中。在更新应用程序状态表后, 在应用程序状态表中表明移动至存储卡中的程序已经安装在存储卡中。 After moving the application to the memory card and updating the application status table, continue to determine whether the free memory in the terminal is less than the set threshold. If it is less than the set threshold, the user is prompted to use the application with the lowest frequency in the application status table. The program is moved to the memory card. After updating the application status table, the application status table indicates that the program moved to the memory card is already installed on the memory card.
在本实施例中, 步骤 S30之前还包括: 步骤 S22, 接收用户优化应用程 序的请求,提示用户将应用程序状态表中使用频率最低的程序移至存储卡中。 In this embodiment, before step S30, the method further includes: Step S22: Receive a request of the user optimization application, and prompt the user to move the program with the lowest frequency of use in the application state table to the memory card.
用户可任一时间进入终端的菜单列表中对应用程序进行优化, 在接收到 用户优化应用程序的请求后, 提示用户将应用程序状态表中使用频率最低的 应用程序移至存储卡中。 The user can optimize the application in the menu list of the terminal at any time. After receiving the request of the user to optimize the application, the user is prompted to move the application with the lowest frequency in the application state table to the memory card.
参照图 2, 图 2为本发明实施例处理应用程序的方法中生成应用程序状 态表的流程示意图。
基于上述实施例, 步骤 S10包括: Referring to FIG. 2, FIG. 2 is a schematic flowchart of generating an application state table in a method for processing an application according to an embodiment of the present invention. Based on the above embodiment, step S10 includes:
步骤 S11 , 获取终端运行的应用程序, 生成应用程序列表; Step S11: Obtain an application running by the terminal, and generate an application list.
终端设定一个周期, 每隔一个周期获取终端运行的应用程序, 并更新应 用程序列表。 The terminal sets a cycle, acquires the application running on the terminal every other cycle, and updates the application list.
步骤 S12 , 删除所述应用程序列表中的终端的基本应用程序, 更新应用 程序列表; Step S12, deleting a basic application of the terminal in the application list, and updating an application list;
终端的基本应用程序是指实现终端基本功能的应用程序, 如打电话、 发 短信, 名片夹等终端基本功能的应用程序, 如果删除这些程序会影响终端的 正常使用, 所以在生成应用程序状态表之前, 应将这些基本应用程序由应用 程序表中删除, 并更新应用程序表。 The basic application of the terminal refers to an application that implements the basic functions of the terminal, such as a call, a text message, a business card holder, and the like, and if the program is deleted, the application status table is generated. Previously, these basic applications should be removed from the application table and the application tables should be updated.
步骤 S13 , 获取应用程序列表中的应用程序的状态信息, 生成应用程序 状态表。 Step S13: Obtain state information of the application in the application list, and generate an application state table.
在生成应用程序状态表之前,应将基本应用程序由应用程序列表中删除, 并更新应用程序表,再获取更新后的应用程序列表中的应用程序的状态信息, 生成应用程序状态表。 应用程序状态表中, 应用程序的状态信息至少包括应 用程序的使用频率、 使用时长。 Before generating the application state table, the basic application should be deleted from the application list, and the application table should be updated, and then the state information of the application in the updated application list can be obtained to generate an application state table. In the application status table, the status information of the application includes at least the frequency of use and duration of the application.
在本发明实施例中, 在终端运行过程中, 用户可由终端的菜单进入应用 程序状态表中将使用频率最低的应用程序移动至存储卡中, 移动完成后, 提 示用户是否继续优化, 若接收到停止优化的信息, 则提示用户优化完成。 In the embodiment of the present invention, during the operation of the terminal, the user can enter the application status table of the terminal to move the application with the lowest frequency to the memory card. After the mobile is completed, the user is prompted to continue to optimize, if received, Stopping the optimized information prompts the user to optimize the completion.
参照图 3 , 图 3 为本发明处理应用程序的装置一实施例的结构示意图。 所述装置包括生成模块、 判断模块、 提示模块和处理模块, 其中, Referring to FIG. 3, FIG. 3 is a schematic structural diagram of an apparatus for processing an application according to an embodiment of the present invention. The device includes a generating module, a determining module, a prompting module, and a processing module, where
生成模块 10, 设置为获取终端中运行的应用程序的信息, 生成应用程序 状态表; The generating module 10 is configured to acquire information of an application running in the terminal, and generate an application state table;
判断模块 20, 设置为获取终端内存占用状态, 并判断终端空闲内存是否 小于设定阈值, 若空闲内存小于设定阈值, 向第一提示单元发送用户提示请 求; The determining module 20 is configured to obtain a memory usage status of the terminal, and determine whether the free memory of the terminal is less than a set threshold, and if the free memory is less than a set threshold, send a user prompt request to the first prompting unit;
第一提示模块 31 , 设置为接收用户提示请求, 提示用户将所述应用程序
状态表中使用频率最低的程序移至存储卡中。 The first prompt module 31 is configured to receive a user prompt request, prompting the user to use the application The program with the lowest frequency in the status table is moved to the memory card.
在本实施例中应用程序状态表中的应用程序的状态至少包括应用程序的 使用频率和使用时长。 生成模块 10每隔一个周期, 获取终端中应用程序的状 态信息, 并更新应用程序状态表, 该周期可由客户设定。 The state of the application in the application state table in this embodiment includes at least the frequency of use of the application and the duration of use. The generation module 10 acquires the status information of the application in the terminal every other cycle, and updates the application status table, which can be set by the client.
终端中内存的设定阈值是终端中的基本程序正常运行所需要的内存空 间, 终端中的基本程序是指发送短信、 浏览网页等终端必须使用的程序。 提 示模块 30在提示用户移动应用程序时,根据应用程序状态表中的应用程序的 使用频率, 来提醒用户应该移动的程序。 The set threshold of the memory in the terminal is the memory space required for the basic program in the terminal to operate normally. The basic program in the terminal refers to a program that must be used by the terminal such as sending a short message or browsing a web page. The prompting module 30 reminds the user of the program that should be moved according to the frequency of use of the application in the application status table when prompting the user to move the application.
本发明实施例中, 生成模块 10获取终端中应用程序的应用信息, 生成应 用程序状态表; 判断模块 20检测终端的内存占用状况, 判断终端的空闲内存 是否小于设定阈值,小于设定阈值时,向第一提示模块 31发送用户提示请求; 第一提示模块 30接收到用户提示请求,提示用户将使用频率最低的应用程序 移动至存储卡中。 在不改变终端内存的前提下, 根据应用程序的使用频率来 管理应用程序, 将使用频率低的应用程序移动至存储卡中, 提高终端的运行 效率。 In the embodiment of the present invention, the generating module 10 acquires the application information of the application in the terminal, and generates an application state table. The determining module 20 detects the memory usage status of the terminal, and determines whether the free memory of the terminal is less than a set threshold, and is less than a set threshold. Sending a user prompt request to the first prompt module 31; the first prompt module 30 receives the user prompt request, prompting the user to move the application with the lowest frequency of use to the memory card. Under the premise of not changing the memory of the terminal, the application is managed according to the frequency of application, and the application with low frequency is moved to the memory card to improve the operating efficiency of the terminal.
在本实施例中, 处理应用程序的装置还包括处理模块 40, 设置为接收用 户移动应用程序的请求, 将应用程序移动至存储卡中, 并更新所述应用程序 状态表。 In this embodiment, the apparatus for processing an application further includes a processing module 40 configured to receive a request from the user to move the application, move the application to the memory card, and update the application status table.
处理模块 40将应用程序移动至存储卡中, 并更新应用程序状态表后, 判 断模块 20继续判断终端中的空闲内存是否小于设定阈值, 若小于设定阈值, 向第一提示模块 30发送用户提示请求, 第一提示模块 30接收到用户提示请 求,提示用户将应用程序状态表中使用频率最低的应用程序移动至存储卡中。 处理模块 40在更新应用程序状态表后,在应用程序状态表中表明移动至存储 卡中的程序已经安装在存储卡中。 After the processing module 40 moves the application to the memory card and updates the application status table, the determining module 20 continues to determine whether the free memory in the terminal is less than a set threshold. If the threshold is less than the set threshold, the user is sent to the first prompt module 30. The prompting request, the first prompting module 30 receives the user prompting request, prompting the user to move the application with the lowest frequency of use in the application state table to the memory card. After updating the application status table, the processing module 40 indicates in the application status table that the program moved to the memory card has been installed in the memory card.
在本实施例中, 处理应用程序的装置还包括第二提示模块 32, 设置为接 收用户优化应用程序的请求, 提示用户将应用程序状态表中使用频率最低的 程序移至存储卡中。
用户可任一时间进入终端的菜单列表中对应用程序进行优化, 第二提示 模块 32在接收到用户优化应用程序的请求后,提示用户将应用程序状态表中 使用频率最低的应用程序移至存储卡中。 In this embodiment, the device for processing the application further includes a second prompting module 32 configured to receive a request from the user to optimize the application, prompting the user to move the program with the lowest frequency of use in the application state table to the memory card. The user can optimize the application in the menu list of the terminal at any time. After receiving the request of the user optimization application, the second prompting module 32 prompts the user to move the application with the lowest frequency in the application state table to the storage. In the card.
参见图 4, 图 4为本发明实施例处理应用程序的装置中生成模块的结构 示意图。 Referring to FIG. 4, FIG. 4 is a schematic structural diagram of a generating module in an apparatus for processing an application according to an embodiment of the present invention.
在本发明实施例处理应用程序的装置一实施例的基础上,生成模块包括: 第一生成单元 11 , 设置为获取终端当前运行的应用程序, 生成应用程序 列表; On the basis of an embodiment of the apparatus for processing an application in the embodiment of the present invention, the generating module includes: a first generating unit 11 configured to acquire an application currently running by the terminal, and generate an application list;
更新单元 12, 设置为在生成所述应用程序状态表之前, 删除所述应用程 序列表中终端的基本应用程序, 并更新应用程序列表。 The updating unit 12 is arranged to delete the basic application of the terminal in the application sequence table and update the application list before generating the application state table.
第二生成单元 13 , 设置为获取所述应用程序列表中的应用程序的使用状 态, 生成应用程序状态表。 The second generation unit 13 is configured to acquire the usage status of the application in the application list, and generate an application status table.
终端设定一个周期,第一生成单元 11每隔一个周期获取终端运行的应用 程序, 并更新应用程序列表。 The terminal sets a cycle, and the first generation unit 11 acquires an application running by the terminal every other cycle and updates the application list.
终端的基本应用程序是指实现终端基本功能的应用程序, 如打电话、 发 短信, 名片夹等终端基本功能的应用程序, 如果删除这些程序会影响终端的 正常使用, 所以在第二生成单元 13生成应用程序状态表之前, 更新单元 12 应将这些基本应用程序由应用程序表中删除, 并更新应用程序表, 第二生成 单元 13再获取更新后的应用程序列表中的应用程序的状态信息,生成应用程 序状态表。 应用程序状态表中, 应用程序的状态信息至少包括应用程序的使 用频率、 使用时长。 The basic application of the terminal refers to an application that implements basic functions of the terminal, such as an application for basic functions of a terminal such as a call, a text message, a business card holder, etc. If the deletion of these programs affects the normal use of the terminal, the second generation unit 13 Before generating the application state table, the update unit 12 should delete the basic application from the application table and update the application table, and the second generation unit 13 obtains the state information of the application in the updated application list. Generate an application state table. In the application status table, the status information of the application includes at least the usage frequency and duration of the application.
在终端运行过程中, 用户可由终端的菜单进入应用程序状态表中将使用 频率低的应用程序移动至存储卡中, 移动完成后, 提示用户是否继续优化, 若接收到停止优化的信息, 则提示用户优化完成。 During the operation of the terminal, the user can enter the application status table from the menu of the terminal to move the application with low frequency to the memory card. After the completion of the movement, the user is prompted to continue to optimize, and if the information for stopping optimization is received, the user is prompted. User optimization is complete.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用
一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以采用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct the associated hardware, such as a read only memory, a magnetic disk, or an optical disk. Optionally, all or part of the steps of the above embodiments may also be used. One or more integrated circuits are implemented. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本发明的说明书及附图内容所作的等效结构变换, 或直接或间接运 用在其他相关的技术领域, 均同理包括在本发明的专利保护范围内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structural changes made by the description and the drawings of the present invention may be directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性 Industrial applicability
本发明实施例在不改变终端内存的前提下, 根据应用程序的使用频率来 管理应用程序, 将使用频率低的应用程序移动至存储卡中, 提高了终端的运 行效率。
In the embodiment of the present invention, the application program is managed according to the frequency of use of the application without changing the memory of the terminal, and the application program with low frequency of use is moved to the memory card, thereby improving the operation efficiency of the terminal.
Claims
1、 一种处理应用程序的方法, 包括: 1. A method of processing an application, comprising:
获取终端中运行的应用程序的信息, 并根据所获取的应用程序信息生成 应用程序状态表; Obtaining information of an application running in the terminal, and generating an application state table according to the acquired application information;
获取所述终端的内存占用状态, 判断所述终端的空闲内存是否小于设定 阈值, 若所述空闲内存小于设定阈值, 则提示用户将所述应用程序状态表中 使用频率最低的应用程序移至存储卡中。 Obtaining a memory occupation status of the terminal, determining whether the free memory of the terminal is less than a set threshold, and if the free memory is less than a set threshold, prompting a user to move an application with the lowest frequency of use in the application status table To the memory card.
2、 根据权利要求 1所述的方法, 其中, 在所述提示用户将所述应用程序 状态表中使用频率最低的应用程序移至存储卡中的步骤之后, 所述方法还包 括: 2. The method according to claim 1, wherein after the step of prompting the user to move the application with the lowest frequency of use in the application state table to the memory card, the method further comprises:
接收用户移动应用程序的请求, 将应用程序移动至存储卡中, 并更新所 述应用程序状态表。 Receiving a request from the user's mobile application, moving the application to the memory card, and updating the application status table.
3、 根据权利要求 2所述的方法, 其中, 在所述接收用户移动应用程序的 请求, 将应用程序移动至存储卡中, 并更新所述应用程序状态表的步骤之前, 所述方法还包括: 3. The method according to claim 2, wherein before the step of receiving a request of the user mobile application, moving the application to the memory card, and updating the application status table, the method further includes :
接收用户优化应用程序的请求, 提示用户将所述应用程序状态表中使用 频率最低的程序移至存储卡中。 Receiving a request from the user to optimize the application, prompting the user to move the program with the lowest frequency of use in the application status table to the memory card.
4、 根据权利要求 3所述的方法, 其中, 所述获取终端应用程序的信息, 根据所获取的信息生成应用程序状态表的步骤包括: 4. The method according to claim 3, wherein the step of acquiring information of the terminal application, and generating an application state table according to the acquired information comprises:
获取所述终端运行的应用程序, 生成应用程序列表; Obtaining an application running by the terminal, and generating an application list;
获取所述应用程序列表中的应用程序的状态信息, 生成所述应用程序状 态表。 The status information of the application in the application list is obtained, and the application status table is generated.
5、根据权利要求 4所述的方法,其中,在生成所述应用程序状态表之前, 删除所述应用程序列表中的所述终端的基本应用程序 , 更新应用程序列表。 The method according to claim 4, wherein the basic application of the terminal in the application list is deleted and the application list is updated before the application state table is generated.
6、 一种处理应用程序的装置, 包括: 6. A device for processing an application, comprising:
生成模块, 其设置为: 获取终端中运行的应用程序的信息, 生成应用程 序状态表;
判断模块, 其设置为: 获取终端内存占用状态, 并判断终端空闲内存是 否小于设定阈值, 若所述空闲内存小于设定阔值, 向第一提示模块发送用户 提示请求; a generating module, configured to: obtain information of an application running in the terminal, and generate an application state table; a judging module, configured to: obtain a memory usage status of the terminal, and determine whether the free memory of the terminal is less than a set threshold, and if the free memory is less than a set threshold, send a user prompt request to the first prompt module;
所述第一提示模块, 其设置为: 接收所述用户提示请求, 提示用户将所 述应用程序状态表中使用频率最低的应用程序移至存储卡中。 The first prompting module is configured to: receive the user prompt request, and prompt the user to move the application with the lowest frequency of use in the application state table to the memory card.
7、 根据权利要求 6 所述的装置, 其中, 所述装置还包括处理模块, 其 设置为: 接收用户移动应用程序的请求, 将应用程序移动至存储卡中, 并更 新所述应用程序状态表。 7. The apparatus according to claim 6, wherein the apparatus further comprises a processing module configured to: receive a request of the user mobile application, move the application to the memory card, and update the application status table. .
8、 根据权利要求 7所述的装置, 其中, 所述装置还包括第二提示模块, 其设置为: 接收用户优化应用程序的请求, 提示用户将所述应用程序状态表 中使用频率最低的应用程序移至存储卡中。 The device according to claim 7, wherein the device further comprises a second prompting module, configured to: receive a request of the user to optimize the application, and prompt the user to use the application with the lowest frequency in the application state table. The program is moved to the memory card.
9、 根据权利要求 8所述的装置, 其中, 所述生成模块包括: 9. The device according to claim 8, wherein the generating module comprises:
第一生成单元, 其设置为: 获取终端当前运行的应用程序, 生成应用程 序列表, a first generating unit, configured to: acquire an application currently running by the terminal, and generate an application sequence table,
第二生成单元, 其设置为: 获取所述应用程序列表中的应用程序的使用 状态, 生成应用程序状态表。 And a second generating unit, configured to: acquire a usage status of the application in the application list, and generate an application status table.
10、 根据权利要求 9所述的装置, 其中, 所述生成模块还包括更新单元, 其设置为: 在生成所述应用程序状态表之前, 删除所述应用程序列表中终端 的基本应用程序, 并更新应用程序列表。
10. The apparatus according to claim 9, wherein the generating module further comprises an updating unit, configured to: delete a basic application of the terminal in the application list before generating the application state table, and Update the list of applications.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210472337.3A CN103838620A (en) | 2012-11-20 | 2012-11-20 | Method and device for processing application programs |
CN201210472337.3 | 2012-11-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013182157A1 true WO2013182157A1 (en) | 2013-12-12 |
Family
ID=49711419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/079815 WO2013182157A1 (en) | 2012-11-20 | 2013-07-22 | Application program processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103838620A (en) |
WO (1) | WO2013182157A1 (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224468B (en) * | 2014-06-09 | 2019-02-05 | 华为技术有限公司 | A kind of internal memory sharing method, isomerization hardware, host and heterogeneous system |
CN104065822B (en) * | 2014-06-27 | 2017-06-20 | 宇龙计算机通信科技(深圳)有限公司 | Standby flow control methods and standby volume control device |
CN105320465A (en) * | 2014-07-22 | 2016-02-10 | 腾讯科技(深圳)有限公司 | Method and device for transferring software from internal memory to external memory |
CN105468506A (en) * | 2014-09-02 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Application management method, device and terminal |
CN104346452B (en) * | 2014-10-28 | 2016-08-17 | 腾讯科技(深圳)有限公司 | The method and device that a kind of software is moved |
CN105988869B (en) * | 2015-02-12 | 2019-06-11 | Oppo广东移动通信有限公司 | A kind of method and terminal shifting application program |
CN105988868B (en) * | 2015-02-12 | 2019-04-16 | Oppo广东移动通信有限公司 | A kind of method and terminal shifting application program |
CN104954426A (en) * | 2015-04-23 | 2015-09-30 | 太仓红码软件技术有限公司 | Method, device and mobile terminal for allowing application program to automatically associate cloud space |
CN106502783A (en) * | 2016-09-23 | 2017-03-15 | 深圳市金立通信设备有限公司 | A kind of EMS memory management process and terminal device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101171591A (en) * | 2005-05-09 | 2008-04-30 | 松下电器产业株式会社 | Memory card, application program holding method, and holding program |
US20100042801A1 (en) * | 2008-08-18 | 2010-02-18 | Samsung Electronics Co., Ltd. | Apparatus and method for reallocation of memory in a mobile communication terminal |
CN102226894A (en) * | 2011-05-23 | 2011-10-26 | 中兴通讯股份有限公司 | Mobile device memory management method and device |
-
2012
- 2012-11-20 CN CN201210472337.3A patent/CN103838620A/en active Pending
-
2013
- 2013-07-22 WO PCT/CN2013/079815 patent/WO2013182157A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101171591A (en) * | 2005-05-09 | 2008-04-30 | 松下电器产业株式会社 | Memory card, application program holding method, and holding program |
US20100042801A1 (en) * | 2008-08-18 | 2010-02-18 | Samsung Electronics Co., Ltd. | Apparatus and method for reallocation of memory in a mobile communication terminal |
CN102226894A (en) * | 2011-05-23 | 2011-10-26 | 中兴通讯股份有限公司 | Mobile device memory management method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103838620A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013182157A1 (en) | Application program processing method and device | |
CN111373775B (en) | Peripheral computing device | |
CN103646656B (en) | Sound effect treatment method, device, plugin manager and audio plug-in unit | |
KR20130031880A (en) | Method and device for automatic classification of applications in mobile terminal | |
CN103501333A (en) | Method, device and terminal equipment for downloading files | |
WO2016188060A1 (en) | Method and apparatus for processing application program package | |
CN103716793A (en) | Access point information sharing method and apparatus | |
TW201441934A (en) | Method and device for updating client | |
CN103607713A (en) | Method, apparatus, device and system for network access | |
CN103473092A (en) | Method and device for processing downloaded applications and terminal equipment | |
US9860177B2 (en) | Managing network load using device application programs | |
CN103049287A (en) | Mobile terminal and method for installing application programs of mobile terminal | |
CN103677899A (en) | Method and device for installing application programs | |
KR101626682B1 (en) | Method and apparatus for power management of uicc | |
CN103298163A (en) | Interface management method and device for multi-card terminal | |
CN103607431B (en) | Mobile terminal resource processing method, device and equipment | |
CN103631580A (en) | Method and device for generating theme icon | |
CN106528335A (en) | Data backup method and device and terminal | |
CN103713943A (en) | Native terminal operating system based application function realization method and device | |
CN103634463A (en) | Prompt method for state change and terminal | |
CN103533545A (en) | Method, device and equipment for acquiring effective communication account number | |
CN104750500A (en) | Method and system for starting application program | |
CN104104701A (en) | Online service configuration updating method and system | |
CN105306244A (en) | Router management method, router management system and router management device | |
WO2017020642A1 (en) | User switching method and apparatus |
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: 13800220 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: 13800220 Country of ref document: EP Kind code of ref document: A1 |