终端和应用程序的管理方法 Terminal and application management method
技术领域 Technical field
本发明涉及终端管理技术领域, 具体而言, 涉及一种终端和一种应用 程序的管理方法。 背景技术 The present invention relates to the field of terminal management technologies, and in particular, to a terminal and an application management method. Background technique
目前终端中的应用程序的种类和数量越来越多, 但在实际生活中, 用 户可能只是在特定的情况下 (比如某个时间段内) 有某种需求, 才需要安 装一类应用, 而在其他情况下这类应用就用不着了。 如果用户忘了删除这 些应用, 在相当长的时间内, 这些应用将浪费用户终端的空间。 而一旦用 户直接删掉这些应用, 以后在类似的条件下用户可能又需要安装应用, 此 时只能手动重复安装。 At present, there are more and more types of applications in the terminal, but in real life, users may only need to install a certain type of application in a specific situation (such as a certain period of time). In other cases, such applications are not needed. If the user forgets to delete these applications, these applications will waste space on the user terminal for a long time. Once the user deletes these applications directly, the user may need to install the application under similar conditions in the future. At this time, the installation can only be repeated manually.
针对上述问题, 例如世界杯赛程应用, 在世界杯前期和世界杯期间, 此时赛程应用比较有价值, 能够提供用户世界杯赛程信息, 然而, 当世界 杯结束后, 这些应用往往没有多大作用。 In response to the above issues, such as the World Cup schedule application, during the pre-World Cup and World Cup period, the application of the schedule is more valuable and can provide users with World Cup schedule information. However, when the World Cup is over, these applications often do not play much role.
因此, 需要一种新的应用程序的管理技术, 可以自动判断用户的需 求, 并安装或卸载应用程序, 从而实现对应用程序的有效管理, 满足用户 的使用需求和对终端资源的合理利用。 发明内容 Therefore, there is a need for a new application management technology that automatically determines the user's needs and installs or uninstalls the application, thereby enabling efficient management of the application, meeting user needs and rational use of terminal resources. Summary of the invention
本发明正是基于上述问题, 提出了一种新的应用程序的管理技术, 可 以自动判断用户的需求, 并安装或卸载应用程序, 从而实现对应用程序的 有效管理, 满足用户的使用需求和对终端资源的合理利用。 The invention is based on the above problems, and proposes a new application management technology, which can automatically determine the user's needs and install or uninstall the application, thereby realizing effective management of the application, satisfying the user's use requirements and Rational use of terminal resources.
有鉴于此, 本发明提出了一种终端, 包括: 信息获取单元, 用于获取 终端中包含的特定信息; 判断单元, 用于判断是否存在对应于所述特定信 息的应用程序; 程序处理单元, 用于在所述判断单元的判断结果为存在的
情况下, 根据所述应用程序与所述特定信息的对应关系, 安装 /卸载或提 示安装 /卸载所述应用程序。 In view of this, the present invention provides a terminal, including: an information acquiring unit, configured to acquire specific information included in the terminal; a determining unit, configured to determine whether an application corresponding to the specific information exists; a program processing unit, Used for the judgment result of the judgment unit to be present In the case, the application is installed/uninstalled or prompted to be installed/uninstalled according to the correspondence between the application and the specific information.
在该技术方案中, 通过终端中的特定信息, 从而判断用户对某个应用 程序是否存在需求, 从而确定是否需要对应用程序进行相应的处理。 比如 当前为假期前或假期中, 则自动安装票务软件, 当度过假期之后, 则自动 卸载该票务软件, 当下次假期来临时, 再自动安装, 以确保在用户可能需 要使用的时候, 能够在终端上找到该应用程序, 在用户不需要使用的时 候, 不会占用终端资源。 In the technical solution, the specific information in the terminal is used to determine whether the user has a demand for an application, thereby determining whether the application needs to be processed accordingly. For example, the ticketing software is automatically installed before the holiday or during the holiday. When the holiday is over, the ticketing software is automatically uninstalled. When the next holiday comes, it is automatically installed to ensure that when the user may need to use it, The application is found on the terminal and does not occupy terminal resources when the user does not need to use it.
在上述技术方案中, 优选地, 所述特定信息包括指定关键字及所述指 定关键字对应的时间区间, 则所述信息获取单元用于: 根据所述终端中的 预设字库判断所述终端中的信息和 /或日程中是否记录有所述指定关键 字, 若记录有所述指定关键字, 则进一步获取被记录的指定关键字对应的 时间区间; 所述判断单元用于: 确定对应于所述被记录的指定关键字的应 用程序, 并在当前时间处于所述时间区间时, 判定所述应用程序对应于所 述特定信息, 以由所述程序处理单元安装 /提示安装所述应用程序。 In the above technical solution, preferably, the specific information includes a specified keyword and a time interval corresponding to the specified keyword, and the information acquiring unit is configured to: determine the terminal according to a preset font in the terminal. Whether the specified keyword is recorded in the information and/or the schedule, and if the specified keyword is recorded, the time interval corresponding to the recorded designated keyword is further acquired; the determining unit is configured to: determine that the corresponding keyword is And the recorded application of the specified keyword, and when the current time is in the time interval, determining that the application corresponds to the specific information, to install/prompt to install the application by the program processing unit .
在该技术方案中, 用户可能在日程中安排了一些计划, 比如在某个时 间外出、 约会等, 通过对这些关键字进行获取, 从而确定相应的应用程 序, 比如外出一一需要票务软件、 约会一一需要购买礼品相关的软件等; 可以预先设置关键字的有效时间区间, 比如外出为外出前十天至外出结 束、 约会为约会当天及前三天等, 从而通过对关键字的获取, 可以直接确 定是否需要安装应用程序, 以及可以按照有效时间区间及时对应用程序进 行后续的卸载 /提示卸载的操作。 另外, 这里的信息可以包括短信 (已接 收和 /或已发送) 、 邮件、 社交网络信息等。 当然, 对于终端中其他可能 存在有用信息的位置、 应用程序等, 显然均可以通过类似的关键字匹配来 实现对应用程序的管理, 而通过对这些信息、 日程等的监测, 以全面掌握 用户的真正需求。 In this technical solution, the user may arrange some plans in the schedule, such as going out at a certain time, dating, etc., by obtaining these keywords, thereby determining corresponding applications, such as going out, requiring ticketing software, dating One-to-one need to purchase gifts-related software, etc.; You can pre-set the effective time interval of the keyword, such as going out for the first ten days before going out to the end of the trip, dating for the date of the appointment and the first three days, etc., so that by obtaining the keyword, you can Determine directly whether you need to install the application, and you can follow the uninstall/prompt uninstallation of the application in time according to the effective time interval. In addition, the information herein may include text messages (received and/or sent), mail, social network information, and the like. Of course, for other locations, applications, and the like in the terminal that may have useful information, it is obvious that the application management can be realized by similar keyword matching, and by monitoring the information, the schedule, etc., to fully grasp the user's Real needs.
在上述任一技术方案中, 优选地, 还包括: 字库设置单元, 用于根据 接收到的字库设置命令, 对所述预设字库中包含的关键字、 每个关键字对 应的时间区间和 /或关键字与时间区间之间的对应关系进行设置。
在该技术方案中, 允许厂商或用户对其中的参数进行选择和调整, 从 而满足不同的个性化需求。 In any one of the foregoing technical solutions, the method further includes: a font setting unit, configured to:, according to the received font setting command, a keyword included in the preset font, a time interval corresponding to each keyword, and/or Or the correspondence between the keyword and the time interval is set. In this technical solution, the manufacturer or the user is allowed to select and adjust the parameters therein to meet different individual needs.
在上述任一技术方案中, 优选地, 所述程序处理单元还用于: 在所述 终端完成对所述对应于所述特定信息的应用程序的安装后, 若当前时间不 属于所述时间区间, 则卸载 /提示卸载对应于所述特定信息的应用程序。 In any one of the foregoing technical solutions, the program processing unit is further configured to: after the terminal completes installation of the application corresponding to the specific information, if the current time does not belong to the time interval , then uninstall/prompt to uninstall the application corresponding to the specific information.
在该技术方案中, 在自动安装某个应用程序后, 由于事先设定了与对 应的关键字相关联的时间区间, 则当过了这个时间区间之后, 判定用户对 该应用程序不再有使用需求, 从而可以自动卸载, 以避免对终端的资源占 用。 In this technical solution, after automatically installing an application, since the time interval associated with the corresponding keyword is set in advance, after the time interval is passed, it is determined that the user no longer uses the application. The requirements can be automatically uninstalled to avoid resource usage on the terminal.
在上述任一技术方案中, 优选地, 所述信息获取单元用于: 获取所述 In any one of the foregoing technical solutions, preferably, the information acquiring unit is configured to: obtain the
时间不处于所述有效时间区间时, 卸载 /提示卸载对应于所述有效时间区 间的应用程序。 When the time is not within the valid time interval, the uninstall/prompt unloads the application corresponding to the valid time zone.
在该技术方案中, 除了事先设置有效时间区间, 以自动安装 /卸载应 用程序, 还可以是单独为已经安装的应用程序设置有效时间区间, 从而实 现对该应用程序的自动卸载, 具体地, 可以是在每次安装应用程序时, 实 时设置对应的有效时间区间, 以实现对应用程序的管理。 In this technical solution, in addition to setting an effective time interval in advance to automatically install/uninstall an application, it is also possible to separately set an effective time interval for an already installed application, thereby implementing automatic uninstallation of the application, specifically, It is to set the corresponding effective time interval in real time every time the application is installed to realize the management of the application.
在上述任一技术方案中, 优选地, 还包括: 第一区间设置单元, 用于 接收第一区间设置命令, 以根据所述第一区间设置命令, 为所述应用程序 设置对应的有效时间区间。 In any one of the above aspects, the method further includes: a first interval setting unit, configured to receive a first interval setting command, to set a corresponding effective time interval for the application according to the first interval setting command .
在该技术方案中, 可以由用户直接输入相应的时间参数, 或是在显示 出的多个预设时间区间中选出用户希望应用的时间区间, 从而实现对有效 时间区间的设置。 In the technical solution, the corresponding time parameter may be directly input by the user, or the time interval that the user desires to apply may be selected in the plurality of preset time intervals displayed, thereby realizing the setting of the effective time interval.
在上述任一技术方案中, 优选地, 所述终端中的应用程序包括至少一 种类型, 则所述终端还包括: 第二区间设置单元, 用于接收第二区间设置 命令, 以根据所述第二区间设置命令, 为每种类型的应用程序设置对应的 有效时间区间; 以及类型判断单元, 用于在安装所述应用程序时, 根据所 述应用程序所处的类型, 将该类型对应的有效时间区间作为所述应用程序
对应的有效时间区间。 In any one of the foregoing technical solutions, preferably, the application in the terminal includes at least one type, and the terminal further includes: a second interval setting unit, configured to receive a second interval setting command, according to the a second interval setting command, which sets a corresponding valid time interval for each type of application; and a type determining unit, configured to, when the application is installed, correspond to the type according to the type of the application Effective time interval as the application Corresponding effective time interval.
在该技术方案中, 应用程序的数量可能很多, 但往往所属的种类是有 限的, 比如 "旅行外出" 、 "饮食" 等, 因而无需逐一对每个应用程序进 行设置, 而是直接对每一种类型设置有效时间区间, 则该类型下的应用程 序对应的有效时间区间均完成了设置。 当然, 对于一些应用程序的特殊要 求, 显然可以单独进行设置, 从而满足个性化需求。 另外, 由于这里是根 据应用程序的种类进行有效时间区间等参数的设置的, 那么对于某个种类 的所有应用程序而言, 若没有进行其他的单独设置, 应该具有相同的有效 时间区间等, 因而可以通过对这些相同的参数的判断, 从而对应用程序实 现批量操作。 In this technical solution, the number of applications may be many, but the types that are often belonged to are limited, such as "travel out", "diet", etc., so there is no need to set each application one by one, but directly to each If the type sets the effective time interval, the valid time interval corresponding to the application under this type is completed. Of course, for some of the application's special requirements, it is obvious that it can be set up separately to meet individual needs. In addition, since the parameters such as the effective time interval are set according to the type of the application, all the applications of a certain type should have the same effective time interval and the like if no other separate settings are made. Batch operations can be implemented on the application by judging these same parameters.
在上述任一技术方案中, 优选地, 还包括: 存储单元, 用于在卸载所 述应用程序时, 保存所述应用程序对应的有效时间区间; 以及所述信息获 取单元用于: 当再次安装所述应用程序时, 获取所述存储单元保存的对应 于该应用程序的有效时间区间, 以由所述程序处理单元确定是否卸载 /提 示卸载所述应用程序。 In any one of the above aspects, preferably, the method further includes: a storage unit, configured to save an effective time interval corresponding to the application when the application is uninstalled; and the information acquiring unit is configured to: when installed again At the time of the application, an effective time interval corresponding to the application saved by the storage unit is obtained, so that the program processing unit determines whether to uninstall/prompt to uninstall the application.
在该技术方案中, 对于应用程序或是某一类型的应用程序进行有效时 间区间的设置时, 可以在每次安装时均执行设置, 从而具有更好的实时 性; 也可以仅在首次安装时进行设置, 并在卸载该应用程序时仍然保留设 置参数, 则在之后再次安装时, 直接沿用保留下的参数即可。 In this technical solution, when an effective time interval is set for an application or a certain type of application, the setting can be performed every time the installation is performed, thereby having better real-time performance; or only during the first installation. Make settings, and still retain the setting parameters when uninstalling the application, then use the reserved parameters directly after installing again.
根据本发明的又一方面, 还提出了一种应用程序的管理方法, 包括: 步骤 202 , 获取终端中包含的特定信息; 步骤 204 , 判断是否存在对应于 所述特定信息的应用程序, 若存在, 则根据所述应用程序与所述特定信息 的对应关系, 安装 /卸载或提示安装 /卸载所述应用程序。 According to still another aspect of the present invention, a method for managing an application is provided, including: Step 202: Acquire specific information included in a terminal; Step 204: Determine whether an application corresponding to the specific information exists, if yes And installing/uninstalling or prompting to install/uninstall the application according to the correspondence between the application and the specific information.
在该技术方案中, 通过终端中的特定信息, 从而判断用户对某个应用 程序是否存在需求, 从而确定是否需要对应用程序进行相应的处理。 比如 当前为假期前或假期中, 则自动安装票务软件, 当度过假期之后, 则自动 卸载该票务软件, 当下次假期来临时, 再自动安装, 以确保在用户可能需 要使用的时候, 能够在终端上找到该应用程序, 在用户不需要使用的时 候, 不会占用终端资源。
在上述技术方案中, 优选地, 所述特定信息包括指定关键字及所述指 定关键字对应的时间区间, 则所述步骤 202 包括: 根据所述终端中的预设 字库判断所述终端中的信息和 /或日程中是否记录有所述指定关键字, 若 记录有所述指定关键字, 则进一步获取将被记录的指定关键字对应的时间 区间; 所述步骤 204 包括: 确定对应于所述被记录的指定关键字的应用程 序, 并在当前时间处于所述时间区间时, 判定所述应用程序对应于所述特 定信息, 以安装 /提示安装所述应用程序。 In the technical solution, the specific information in the terminal is used to determine whether the user has a demand for an application, thereby determining whether the application needs to be processed accordingly. For example, the ticketing software is automatically installed before the holiday or during the holiday. When the holiday is over, the ticketing software is automatically uninstalled. When the next holiday comes, it is automatically installed to ensure that when the user may need to use it, The application is found on the terminal and does not occupy terminal resources when the user does not need to use it. In the above technical solution, preferably, the specific information includes a specified keyword and a time interval corresponding to the specified keyword, and the step 202 includes: determining, according to the preset font in the terminal, the terminal Whether the specified keyword is recorded in the information and/or the schedule, and if the specified keyword is recorded, the time interval corresponding to the specified keyword to be recorded is further acquired; the step 204 includes: determining corresponding to the The application of the specified keyword is recorded, and when the current time is in the time interval, it is determined that the application corresponds to the specific information to install/prompt to install the application.
在该技术方案中, 用户可能在日程中安排了一些计划, 比如在某个时 间外出、 约会等, 通过对这些关键字进行获取, 从而确定相应的应用程 序, 比如外出一一需要票务软件、 约会一一需要购买礼品相关的软件等; 可以预先设置关键字的有效时间区间, 比如外出为外出前十天至外出结 束、 约会为约会当天及前三天等, 从而通过对关键字的获取, 可以直接确 定是否需要安装应用程序, 以及可以按照有效时间区间及时对应用程序进 行后续的卸载 /提示卸载的操作。 另外, 这里的信息可以包括短信 (已接 收和 /或已发送) 、 邮件、 社交网络信息等。 当然, 对于终端中其他可能 存在有用信息的位置、 应用程序等, 显然均可以通过类似的关键字匹配来 实现对应用程序的管理, 而通过对这些信息、 日程等的监测, 以全面掌握 用户的真正需求。 In this technical solution, the user may arrange some plans in the schedule, such as going out at a certain time, dating, etc., by obtaining these keywords, thereby determining corresponding applications, such as going out, requiring ticketing software, dating One-to-one need to purchase gifts-related software, etc.; You can pre-set the effective time interval of the keyword, such as going out for the first ten days before going out to the end of the trip, dating for the date of the appointment and the first three days, etc., so that by obtaining the keyword, you can Determine directly whether you need to install the application, and you can follow the uninstall/prompt uninstallation of the application in time according to the effective time interval. In addition, the information herein may include text messages (received and/or sent), mail, social network information, and the like. Of course, for other locations, applications, and the like in the terminal that may have useful information, it is obvious that the application management can be realized by similar keyword matching, and by monitoring the information, the schedule, etc., to fully grasp the user's Real needs.
在上述任一技术方案中, 优选地, 所述步骤 202之前, 还包括: 根据 接收到的字库设置命令, 对所述预设字库中包含的关键字、 每个关键字对 应的时间区间和 /或关键字与时间区间之间的对应关系进行设置。 In any one of the foregoing technical solutions, before the step 202, the method further includes: selecting, according to the received font setting command, a keyword included in the preset font, a time interval corresponding to each keyword, and/or Or the correspondence between the keyword and the time interval is set.
在该技术方案中, 允许厂商或用户对其中的参数进行选择和调整, 从 而满足不同的个性化需求。 In this technical solution, the manufacturer or the user is allowed to select and adjust the parameters therein to meet different individualization requirements.
在上述任一技术方案中, 优选地, 所述步骤 204还包括: 在所述终端 完成对所述对应于所述特定信息的应用程序的安装后, 若当前时间不属于 所述时间区间, 则卸载 /提示卸载对应于所述特定信息的应用程序。 In any one of the foregoing technical solutions, preferably, the step 204 further includes: after the terminal completes installation of the application corresponding to the specific information, if the current time does not belong to the time interval, Uninstall/prompt to uninstall the application corresponding to the specific information.
在该技术方案中, 在自动安装某个应用程序后, 由于事先设定了与对 应的关键字相关联的时间区间, 则当过了这个时间区间之后, 判定用户对 该应用程序不再有使用需求, 从而可以自动卸载, 以避免对终端的资源占
用。 In this technical solution, after automatically installing an application, since the time interval associated with the corresponding keyword is set in advance, after the time interval is passed, it is determined that the user no longer uses the application. Demand, which can be automatically uninstalled, to avoid the resources occupied by the terminal use.
在上述任一技术方案中, 优选地, 所述步骤 202 包括: 获取所述终端 中存储的对应于应用程序的有效时间区间; 以及所述步骤 204 包括: 若所 于所述有效时间区间时, 卸载 /提示卸载对应于所述有效时间区间的应用 程序。 In any one of the foregoing technical solutions, preferably, the step 202 includes: acquiring an effective time interval corresponding to the application stored in the terminal; and the step 204 includes: if the valid time interval is Uninstall/prompt to uninstall the application corresponding to the valid time interval.
在该技术方案中, 除了事先设置有效时间区间, 以自动安装 /卸载应 用程序, 还可以是单独为已经安装的应用程序设置有效时间区间, 从而实 现对该应用程序的自动卸载, 具体地, 可以是在每次安装应用程序时, 实 时设置对应的有效时间区间, 以实现对应用程序的管理。 In this technical solution, in addition to setting an effective time interval in advance to automatically install/uninstall an application, it is also possible to separately set an effective time interval for an already installed application, thereby implementing automatic uninstallation of the application, specifically, It is to set the corresponding effective time interval in real time every time the application is installed to realize the management of the application.
在上述任一技术方案中, 优选地, 为所述应用程序设置对应的有效时 间区间的步骤包括: 根据接收到的第一区间设置命令, 为所述应用程序设 置对应的有效时间区间。 In any one of the above aspects, preferably, the step of setting a corresponding valid time interval for the application comprises: setting a corresponding valid time interval for the application according to the received first interval setting command.
在该技术方案中, 可以由用户直接输入相应的时间参数, 或是在显示 出的多个预设时间区间中选出用户希望应用的时间区间, 从而实现对有效 时间区间的设置。 In the technical solution, the corresponding time parameter may be directly input by the user, or the time interval that the user desires to apply may be selected in the plurality of preset time intervals displayed, thereby realizing the setting of the effective time interval.
在上述任一技术方案中, 优选地, 所述终端中的应用程序包括至少一 种类型, 则为所述应用程序设置对应的有效时间区间的步骤包括: 根据接 收到的第二区间设置命令, 为每种类型的应用程序设置对应的有效时间区 间; 以及在安装所述应用程序时, 根据所述应用程序所处的类型, 将该类 在该技术方案中, 应用程序的数量可能很多, 但往往所属的种类是有 限的, 比如 "旅行外出" 、 "饮食" 等, 因而无需逐一对每个应用程序进 行设置, 而是直接对每一种类型设置有效时间区间, 则该类型下的应用程 序对应的有效时间区间均完成了设置。 当然, 对于一些应用程序的特殊要 求, 显然可以单独进行设置, 从而满足个性化需求。 另外, 由于这里是根 据应用程序的种类进行有效时间区间等参数的设置的, 那么对于某个种类 的所有应用程序而言, 若没有进行其他的单独设置, 应该具有相同的有效 时间区间等, 因而可以通过对这些相同的参数的判断, 从而对应用程序实
现批量操作。 In any one of the foregoing technical solutions, preferably, the application in the terminal includes at least one type, and the step of setting a corresponding valid time interval for the application includes: setting a command according to the received second interval, Setting a corresponding valid time interval for each type of application; and when installing the application, depending on the type of the application, the number of applications in the technical solution may be many, but Often there are limited types, such as "travel out", "diet", etc., so there is no need to set each application one by one, but to set a valid time interval directly for each type, then the application under that type The corresponding valid time intervals are all set. Of course, for the special requirements of some applications, it is obvious that they can be set separately to meet the individual needs. In addition, since the parameters such as the effective time interval are set according to the type of the application, all the applications of a certain type should have the same effective time interval and the like if no other separate settings are made. It is possible to judge the application of these same parameters and thus to the application. Now in batch operation.
在上述任一技术方案中, 优选地, 所述步骤 206还包括: 在卸载所述 应用程序时, 保存所述应用程序对应的有效时间区间; 以及当再次安装所 述应用程序时, 获取所述终端中保存的对应于该应用程序的有效时间区 间, 以用于确定是否卸载 /提示卸载所述应用程序。 In any one of the foregoing technical solutions, preferably, the step 206 further includes: when the application is uninstalled, saving an effective time interval corresponding to the application; and when the application is installed again, acquiring the An effective time interval corresponding to the application saved in the terminal for determining whether to uninstall/prompt to uninstall the application.
在该技术方案中, 对于应用程序或是某一类型的应用程序进行有效时 间区间的设置时, 可以在每次安装时均执行设置, 从而具有更好的实时 性; 也可以仅在首次安装时进行设置, 并在卸载该应用程序时仍然保留设 置参数, 则在之后再次安装时, 直接沿用保留下的参数即可。 In this technical solution, when an effective time interval is set for an application or a certain type of application, the setting can be performed every time the installation is performed, thereby having better real-time performance; or only during the first installation. Make settings, and still retain the setting parameters when uninstalling the application, then use the reserved parameters directly after installing again.
通过以上技术方案, 可以自动判断用户的需求, 并安装或卸载应用程 序, 从而实现对应用程序的有效管理, 满足用户的使用需求和对终端资源 的合理利用。 附图说明 Through the above technical solutions, the user's needs can be automatically determined, and the application program can be installed or uninstalled, thereby realizing effective management of the application, satisfying the user's use requirements and rational utilization of the terminal resources. DRAWINGS
图 1示出了根据本发明的实施例的终端的框图; 图 3 示出了根据本发明的实施例的对应用程序进行参数设置的流程 图; 1 shows a block diagram of a terminal in accordance with an embodiment of the present invention; FIG. 3 shows a flow diagram of parameter setting an application in accordance with an embodiment of the present invention;
图 4示出了根据本发明的实施例的卸载应用程序的流程图; 4 shows a flow diagram of an uninstall application in accordance with an embodiment of the present invention;
图 5示出了根据本发明的实施例的安装应用程序的流程图。 具体实施方式 Figure 5 shows a flow diagram of an installation application in accordance with an embodiment of the present invention. detailed description
为了能够更清楚地理解本发明的上述目的、 特征和优点, 下面结合附 图和具体实施方式对本发明进行进一步的详细描述。 需要说明的是, 在不 沖突的情况下, 本申请的实施例及实施例中的特征可以相互组合。 The above described objects, features and advantages of the present invention will be more fully understood from the following detailed description. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本发明, 但是, 本发明还可以采用其他不同于在此描述的其他方式来实施, 因此, 本发明 的保护范围并不受下面公开的具体实施例的限制。 In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the invention may be practiced otherwise than as described herein. Limitations of the embodiments.
图 1示出了根据本发明的实施例的终端的框图。
如图 1 所示, 根据本发明的实施例的终端 100, 包括: 信息获取单元 102 , 用于获取终端 100 中包含的特定信息; 判断单元 104 , 用于判断是 否存在对应于所述特定信息的应用程序; 程序处理单元 106 , 用于在所述 判断单元 104的判断结果为存在的情况下, 根据所述应用程序与所述特定 信息的对应关系, 安装 /卸载或提示安装 /卸载所述应用程序。 FIG. 1 shows a block diagram of a terminal in accordance with an embodiment of the present invention. As shown in FIG. 1, a terminal 100 according to an embodiment of the present invention includes: an information acquiring unit 102, configured to acquire specific information included in the terminal 100; and a determining unit 104, configured to determine whether there is a corresponding information corresponding to the specific information. The application processing unit 106 is configured to: install/uninstall or prompt to install/uninstall the application according to the correspondence between the application and the specific information if the determination result of the determining unit 104 is present program.
在该技术方案中, 通过终端 100 中的特定信息, 从而判断用户对某个 应用程序是否存在需求, 从而确定是否需要对应用程序进行相应的处理。 比如当前为假期前或假期中, 则自动安装票务软件, 当度过假期之后, 则 自动卸载该票务软件, 当下次假期来临时, 再自动安装, 以确保在用户可 能需要使用的时候, 能够在终端 100上找到该应用程序, 在用户不需要使 用的时候, 不会占用终端资源。 In the technical solution, the specific information in the terminal 100 is used to determine whether the user has a demand for an application, thereby determining whether the application needs to be processed accordingly. For example, the ticketing software is automatically installed before the holiday or during the holiday. When the holiday is over, the ticketing software is automatically uninstalled. When the next holiday comes, it is automatically installed to ensure that when the user may need to use it, The application is found on the terminal 100 and does not occupy terminal resources when the user does not need to use it.
在上述技术方案中, 优选地, 所述特定信息包括指定关键字及所述指 定关键字对应的时间区间, 则所述信息获取单元 102用于: 根据所述终端 100中的预设字库判断所述终端 100中的信息和 /或日程中是否记录有所述 指定关键字, 若记录有所述指定关键字, 则进一步获取被记录的指定关键 字对应的时间区间; 所述判断单元 104用于: 确定对应于所述被记录的指 定关键字的应用程序, 并在当前时间处于所述时间区间时, 判定所述应用 程序对应于所述特定信息, 以由所述程序处理单元 106 安装 /提示安装所 述应用程序。 In the above technical solution, preferably, the specific information includes a specified keyword and a time interval corresponding to the specified keyword, and the information acquiring unit 102 is configured to: determine, according to the preset font in the terminal 100, Whether the specified keyword is recorded in the information and/or the schedule in the terminal 100, and if the specified keyword is recorded, the time interval corresponding to the recorded designated keyword is further acquired; the determining unit 104 is configured to: Determining an application corresponding to the recorded specified keyword, and when the current time is in the time interval, determining that the application corresponds to the specific information to be installed/prompted by the program processing unit 106 Install the application.
在该技术方案中, 用户可能在日程中安排了一些计划, 比如在某个时 间外出、 约会等, 通过对这些关键字进行获取, 从而确定相应的应用程 序, 比如外出一一需要票务软件、 约会一一需要购买礼品相关的软件等; 可以预先设置关键字的有效时间区间, 比如外出为外出前十天至外出结 束、 约会为约会当天及前三天等, 从而通过对关键字的获取, 可以直接确 定是否需要安装应用程序, 以及可以按照有效时间区间及时对应用程序进 行后续的卸载 /提示卸载的操作。 另外, 这里的信息可以包括短信 (已接 收和 /或已发送) 、 邮件、 社交网络信息等。 当然, 对于终端 100 中其他 可能存在有用信息的位置、 应用程序等, 显然均可以通过类似的关键字匹 配来实现对应用程序的管理, 而通过对这些信息、 日程等的监测, 以全面
掌握用户的真正需求。 In this technical solution, the user may arrange some plans in the schedule, such as going out at a certain time, dating, etc., by obtaining these keywords, thereby determining corresponding applications, such as going out, requiring ticketing software, dating One-to-one need to purchase gifts-related software, etc.; You can pre-set the effective time interval of the keyword, such as going out for the first ten days before going out to the end of the trip, dating for the date of the appointment and the first three days, etc., so that by obtaining the keyword, you can Determine directly whether you need to install the application, and you can follow the uninstall/prompt uninstallation of the application in time according to the effective time interval. Additionally, the information herein may include text messages (received and/or sent), mail, social network information, and the like. Of course, for other locations, applications, and the like in the terminal 100 that may have useful information, it is obvious that the application management can be realized by similar keyword matching, and the monitoring of the information, the schedule, and the like is comprehensive. Master the real needs of users.
在上述任一技术方案中, 优选地, 还包括: 字库设置单元 108 , 用于 根据接收到的字库设置命令, 对所述预设字库中包含的关键字、 每个关键 字对应的时间区间和 /或关键字与时间区间之间的对应关系进行设置。 In any one of the foregoing technical solutions, the method further includes: a font setting unit 108, configured to:, according to the received font setting command, a keyword included in the preset font, a time interval corresponding to each keyword, and / or the correspondence between the keyword and the time interval is set.
在该技术方案中, 允许厂商或用户对其中的参数进行选择和调整, 从 而满足不同的个性化需求。 In this technical solution, the manufacturer or the user is allowed to select and adjust the parameters therein to meet different individualization requirements.
在上述任一技术方案中, 优选地, 所述程序处理单元 106还用于: 在 所述终端 100完成对所述对应于所述特定信息的应用程序的安装后, 若当 前时间不属于所述时间区间, 则卸载 /提示卸载对应于所述特定信息的应 用程序。 In any one of the foregoing technical solutions, the program processing unit 106 is further configured to: after the terminal 100 completes installation of the application corresponding to the specific information, if the current time does not belong to the The time interval, then uninstall/prompt to uninstall the application corresponding to the specific information.
在该技术方案中, 在自动安装某个应用程序后, 由于事先设定了与对 应的关键字相关联的时间区间, 则当过了这个时间区间之后, 判定用户对 该应用程序不再有使用需求, 从而可以自动卸载, 以避免对终端 100的资 源占用。 In this technical solution, after automatically installing an application, since the time interval associated with the corresponding keyword is set in advance, after the time interval is passed, it is determined that the user no longer uses the application. The demand can be automatically uninstalled to avoid resource occupation of the terminal 100.
在上述任一技术方案中, 优选地, 还包括: 所述信息获取单元 102用 于: 获取所述终端 100 中存储的对应于应用程序的有效时间区间; 以及所 述程序处理单元 106用于: 若所述终端 100中安装有对应于所述有效时间 区间的应用程序, 则在当前时间不处于所述有效时间区间时, 卸载 /提示 卸载对应于所述有效时间区间的应用程序。 In any one of the foregoing technical solutions, the method further includes: the information acquiring unit 102 is configured to: acquire an effective time interval corresponding to the application stored in the terminal 100; and the program processing unit 106 is configured to: If the application corresponding to the valid time interval is installed in the terminal 100, when the current time is not in the valid time interval, the application corresponding to the valid time interval is uninstalled/prompted to be uninstalled.
在该技术方案中, 除了事先设置有效时间区间, 以自动安装 /卸载应 用程序, 还可以是单独为已经安装的应用程序设置有效时间区间, 从而实 现对该应用程序的自动卸载, 具体地, 可以是还可以是在每次安装应用程 序时, 实时设置对应的有效时间区间, 以实现对应用程序的管理。 In this technical solution, in addition to setting an effective time interval in advance to automatically install/uninstall an application, it is also possible to separately set an effective time interval for an already installed application, thereby implementing automatic uninstallation of the application, specifically, It is also possible to set a corresponding effective time interval in real time each time the application is installed to implement management of the application.
在上述任一技术方案中, 优选地, 还包括: 第一区间设置单元 110 , 用于接收第一区间设置命令, 以根据所述第一区间设置命令, 为所述应用 程序设置对应的有效时间区间。 In any one of the foregoing technical solutions, the method further includes: a first interval setting unit 110, configured to receive a first interval setting command, to set a corresponding effective time for the application according to the first interval setting command Interval.
在该技术方案中, 可以由用户直接输入相应的时间参数, 或是在显示 出的多个预设时间区间中选出用户希望应用的时间区间, 从而实现对有效 时间区间的设置。
在上述任一技术方案中, 优选地, 所述终端 100 中的应用程序包括至 少一种类型, 则所述终端 100还包括: 第二区间设置单元 112 , 用于接收 第二区间设置命令, 以根据所述第二区间设置命令, 为每种类型的应用程 序设置对应的有效时间区间; 以及类型判断单元 1 14 , 用于在安装所述应 用程序时, 根据所述应用程序所处的类型, 将该类型对应的有效时间区间 作为所述应用程序对应的有效时间区间。 In this technical solution, the corresponding time parameter may be directly input by the user, or the time interval that the user desires to apply may be selected among the plurality of preset time intervals displayed, thereby realizing the setting of the effective time interval. In any one of the foregoing technical solutions, preferably, the application in the terminal 100 includes at least one type, and the terminal 100 further includes: a second interval setting unit 112, configured to receive a second interval setting command, to Setting a corresponding valid time interval for each type of application according to the second interval setting command; and a type determining unit 14 14 for, when installing the application, according to a type of the application, The valid time interval corresponding to the type is used as the effective time interval corresponding to the application.
在该技术方案中, 应用程序的数量可能很多, 但往往所属的种类是有 限的, 比如 "旅行外出" 、 "饮食" 等, 因而无需逐一对每个应用程序进 行设置, 而是直接对每一种类型设置有效时间区间, 则该类型下的应用程 序对应的有效时间区间均完成了设置。 当然, 对于一些应用程序的特殊要 求, 显然可以单独进行设置, 从而满足个性化需求。 另外, 由于这里是根 据应用程序的种类进行有效时间区间等参数的设置的, 那么对于某个种类 的所有应用程序而言, 若没有进行其他的单独设置, 应该具有相同的有效 时间区间等, 因而可以通过对这些相同的参数的判断, 从而对应用程序实 现批量操作。 In this technical solution, the number of applications may be many, but the types that are often belonged to are limited, such as "travel out", "diet", etc., so there is no need to set each application one by one, but directly to each If the type sets the effective time interval, the valid time interval corresponding to the application under this type is completed. Of course, for some of the application's special requirements, it is obvious that it can be set up separately to meet individual needs. In addition, since the parameters such as the effective time interval are set according to the type of the application, all the applications of a certain type should have the same effective time interval and the like if no other separate settings are made. Batch operations can be implemented on the application by judging these same parameters.
在上述任一技术方案中, 优选地, 还包括: 存储单元 116 , 用于在卸 载所述应用程序时, 保存所述应用程序对应的有效时间区间; 以及所述信 息获取单元 102 用于: 当再次安装所述应用程序时, 获取所述存储单元 112 保存的对应于该应用程序的有效时间区间, 以由所述程序处理单元 106确定是否卸载 /提示卸载所述应用程序。 In any one of the foregoing technical solutions, the method further includes: a storage unit 116, configured to save an effective time interval corresponding to the application when the application is uninstalled; and the information acquiring unit 102 is configured to: When the application is installed again, the valid time interval corresponding to the application saved by the storage unit 112 is obtained, so that the program processing unit 106 determines whether to uninstall/prompt to uninstall the application.
在该技术方案中, 对于应用程序或是某一类型的应用程序进行有效时 间区间的设置时, 可以在每次安装时均执行设置, 从而具有更好的实时 性; 也可以仅在首次安装时进行设置, 并在卸载该应用程序时仍然保留设 置参数, 则在之后再次安装时, 直接沿用保留下的参数即可。 如图 2所示, 根据本发明的实施例的应用程序的管理方法, 包括: 步 骤 202 , 获取终端中包含的特定信息; 步骤 204 , 判断是否存在对应于所 述特定信息的应用程序, 若存在, 则根据所述应用程序与所述特定信息的 对应关系, 安装 /卸载或提示安装 /卸载所述应用程序。
在该技术方案中, 通过终端中的特定信息, 从而判断用户对某个应用 程序是否存在需求, 从而确定是否需要对应用程序进行相应的处理。 比如 当前为假期前或假期中, 则自动安装票务软件, 当度过假期之后, 则自动 卸载该票务软件, 当下次假期来临时, 再自动安装, 以确保在用户可能需 要使用的时候, 能够在终端上找到该应用程序, 在用户不需要使用的时 候, 不会占用终端资源。 In this technical solution, when an effective time interval is set for an application or a certain type of application, the setting can be performed every time the installation is performed, thereby having better real-time performance; or only during the first installation. Make settings, and still retain the setting parameters when uninstalling the application, then use the reserved parameters directly after installing again. As shown in FIG. 2, the method for managing an application according to an embodiment of the present invention includes: Step 202: Acquire specific information included in a terminal; Step 204: Determine whether an application corresponding to the specific information exists, if yes, And installing/uninstalling or prompting to install/uninstall the application according to the correspondence between the application and the specific information. In the technical solution, the specific information in the terminal is used to determine whether the user has a demand for an application, thereby determining whether the application needs to be processed accordingly. For example, the ticketing software is automatically installed before the holiday or during the holiday. When the holiday is over, the ticketing software is automatically uninstalled. When the next holiday comes, it is automatically installed to ensure that when the user may need to use it, The application is found on the terminal and does not occupy terminal resources when the user does not need to use it.
在上述技术方案中, 优选地, 所述特定信息包括指定关键字及所述指 定关键字对应的时间区间, 则所述步骤 202 包括: 根据所述终端中的预设 字库判断所述终端中的信息和 /或日程中是否记录有所述指定关键字, 若 记录有所述指定关键字, 则进一步获取将被记录的指定关键字对应的时间 区间; 所述步骤 204 包括: 确定对应于所述被记录的指定关键字的应用程 序, 并在当前时间处于所述时间区间时, 判定所述应用程序对应于所述特 定信息, 以安装 /提示安装所述应用程序。 In the above technical solution, preferably, the specific information includes a specified keyword and a time interval corresponding to the specified keyword, and the step 202 includes: determining, according to the preset font in the terminal, the terminal Whether the specified keyword is recorded in the information and/or the schedule, and if the specified keyword is recorded, the time interval corresponding to the specified keyword to be recorded is further acquired; the step 204 includes: determining corresponding to the The application of the specified keyword is recorded, and when the current time is in the time interval, it is determined that the application corresponds to the specific information to install/prompt to install the application.
在该技术方案中, 用户可能在日程中安排了一些计划, 比如在某个时 间外出、 约会等, 通过对这些关键字进行获取, 从而确定相应的应用程 序, 比如外出一一需要票务软件、 约会一一需要购买礼品相关的软件等; 可以预先设置关键字的有效时间区间, 比如外出为外出前十天至外出结 束、 约会为约会当天及前三天等, 从而通过对关键字的获取, 可以直接确 定是否需要安装应用程序, 以及可以按照有效时间区间及时对应用程序进 行后续的卸载 /提示卸载的操作。 另外, 这里的信息可以包括短信 (已接 收和 /或已发送) 、 邮件、 社交网络信息等。 当然, 对于终端中其他可能 存在有用信息的位置、 应用程序等, 显然均可以通过类似的关键字匹配来 实现对应用程序的管理, 而通过对这些信息、 日程等的监测, 以全面掌握 用户的真正需求。 In this technical solution, the user may arrange some plans in the schedule, such as going out at a certain time, dating, etc., by obtaining these keywords, thereby determining corresponding applications, such as going out, requiring ticketing software, dating One-to-one need to purchase gifts-related software, etc.; You can pre-set the effective time interval of the keyword, such as going out for the first ten days before going out to the end of the trip, dating for the date of the appointment and the first three days, etc., so that by obtaining the keyword, you can Determine directly whether you need to install the application, and you can follow the uninstall/prompt uninstallation of the application in time according to the effective time interval. In addition, the information herein may include text messages (received and/or sent), mail, social network information, and the like. Of course, for other locations, applications, and the like in the terminal that may have useful information, it is obvious that the application management can be realized by similar keyword matching, and by monitoring the information, the schedule, etc., to fully grasp the user's Real needs.
在上述任一技术方案中, 优选地, 所述步骤 202之前, 还包括: 根据 接收到的字库设置命令, 对所述预设字库中包含的关键字、 每个关键字对 应的时间区间和 /或关键字与时间区间之间的对应关系进行设置。 In any one of the foregoing technical solutions, before the step 202, the method further includes: selecting, according to the received font setting command, a keyword included in the preset font, a time interval corresponding to each keyword, and/or Or the correspondence between the keyword and the time interval is set.
在该技术方案中, 允许厂商或用户对其中的参数进行选择和调整, 从 而满足不同的个性化需求。
在上述任一技术方案中, 优选地, 所述步骤 204还包括: 在所述终端 完成对所述对应于所述特定信息的应用程序的安装后, 若当前时间不属于 所述时间区间, 则卸载 /提示卸载对应于所述特定信息的应用程序。 In this technical solution, the manufacturer or the user is allowed to select and adjust the parameters therein to meet different individual needs. In any one of the foregoing technical solutions, preferably, the step 204 further includes: after the terminal completes installation of the application corresponding to the specific information, if the current time does not belong to the time interval, Uninstall/prompt to uninstall the application corresponding to the specific information.
在该技术方案中, 在自动安装某个应用程序后, 由于事先设定了与对 应的关键字相关联的时间区间, 则当过了这个时间区间之后, 判定用户对 该应用程序不再有使用需求, 从而可以自动卸载, 以避免对终端的资源占 用。 In this technical solution, after automatically installing an application, since the time interval associated with the corresponding keyword is set in advance, after the time interval is passed, it is determined that the user no longer uses the application. The requirements can be automatically uninstalled to avoid resource usage on the terminal.
在上述任一技术方案中, 优选地, 所述步骤 202 包括: 获取所述终端 中存储的对应于应用程序的有效时间区间; 以及所述步骤 204 包括: 若所 于所述有效时间区间时, 卸载 /提示卸载对应于所述有效时间区间的应用 程序。 In any one of the foregoing technical solutions, preferably, the step 202 includes: acquiring an effective time interval corresponding to the application stored in the terminal; and the step 204 includes: if the valid time interval is Uninstall/prompt to uninstall the application corresponding to the valid time interval.
在该技术方案中, 除了事先设置有效时间区间, 以自动安装 /卸载应 用程序, 还可以是单独为已经安装的应用程序设置有效时间区间, 从而实 现对该应用程序的自动卸载, 具体地, 可以是还可以是在每次安装应用程 序时, 实时设置对应的有效时间区间, 以实现对应用程序的管理。 In this technical solution, in addition to setting an effective time interval in advance to automatically install/uninstall an application, it is also possible to separately set an effective time interval for an already installed application, thereby implementing automatic uninstallation of the application, specifically, It is also possible to set a corresponding effective time interval in real time each time the application is installed to implement management of the application.
在上述任一技术方案中, 优选地, 为所述应用程序设置对应的有效时 间区间的步骤包括: 根据接收到的第一区间设置命令, 为所述应用程序设 置对应的有效时间区间。 In any one of the above aspects, preferably, the step of setting a corresponding valid time interval for the application comprises: setting a corresponding valid time interval for the application according to the received first interval setting command.
在该技术方案中, 可以由用户直接输入相应的时间参数, 或是在显示 出的多个预设时间区间中选出用户希望应用的时间区间, 从而实现对有效 时间区间的设置。 In the technical solution, the corresponding time parameter may be directly input by the user, or the time interval that the user desires to apply may be selected in the plurality of preset time intervals displayed, thereby realizing the setting of the effective time interval.
在上述任一技术方案中, 优选地, 所述终端中的应用程序包括至少一 种类型, 则为所述应用程序设置对应的有效时间区间的步骤包括: 根据接 收到的第二区间设置命令, 为每种类型的应用程序设置对应的有效时间区 间; 以及在安装所述应用程序时, 根据所述应用程序所处的类型, 将该类 在该技术方案中, 应用程序的数量可能很多, 但往往所属的种类是有 限的, 比如 "旅行外出" 、 "饮食" 等, 因而无需逐一对每个应用程序进
行设置, 而是直接对每一种类型设置有效时间区间, 则该类型下的应用程 序对应的有效时间区间均完成了设置。 当然, 对于一些应用程序的特殊要 求, 显然可以单独进行设置, 从而满足个性化需求。 另外, 由于这里是根 据应用程序的种类进行有效时间区间等参数的设置的, 那么对于某个种类 的所有应用程序而言, 若没有进行其他的单独设置, 应该具有相同的有效 时间区间等, 因而可以通过对这些相同的参数的判断, 从而对应用程序实 现批量操作。 In any one of the foregoing technical solutions, preferably, the application in the terminal includes at least one type, and the step of setting a corresponding valid time interval for the application includes: setting a command according to the received second interval, Setting a corresponding valid time interval for each type of application; and when installing the application, depending on the type of the application, the number of applications in the technical solution may be many, but Often there are limited types, such as "travel out", "diet", etc., so there is no need to go through each application one by one. Line setting, but setting the effective time interval directly for each type, the effective time interval corresponding to the application under this type is completed. Of course, for the special requirements of some applications, it is obvious that they can be set separately to meet the individual needs. In addition, since the parameters such as the effective time interval are set according to the type of the application, all the applications of a certain type should have the same effective time interval and the like if no other separate settings are made. Batch operations can be implemented on the application by judging these same parameters.
在上述任一技术方案中, 优选地, 所述步骤 206还包括: 在卸载所述 应用程序时, 保存所述应用程序对应的有效时间区间; 以及当再次安装所 述应用程序时, 获取所述终端中保存的对应于该应用程序的有效时间区 间, 以用于确定是否卸载 /提示卸载所述应用程序。 In any one of the foregoing technical solutions, preferably, the step 206 further includes: when the application is uninstalled, saving an effective time interval corresponding to the application; and when the application is installed again, acquiring the An effective time interval corresponding to the application saved in the terminal for determining whether to uninstall/prompt to uninstall the application.
在该技术方案中, 对于应用程序或是某一类型的应用程序进行有效时 间区间的设置时, 可以在每次安装时均执行设置, 从而具有更好的实时 性; 也可以仅在首次安装时进行设置, 并在卸载该应用程序时仍然保留设 置参数, 则在之后再次安装时, 直接沿用保留下的参数即可。 In this technical solution, when an effective time interval is set for an application or a certain type of application, the setting can be performed every time the installation is performed, thereby having better real-time performance; or only during the first installation. Make settings, and still retain the setting parameters when uninstalling the application, then use the reserved parameters directly after installing again.
图 3 示出了根据本发明的实施例的对应用程序进行参数设置的流程 图。 FIG. 3 shows a flow diagram of parameterizing an application in accordance with an embodiment of the present invention.
如图 3所示, 根据本发明的实施例的对应用程序进行参数设置的流程 包括: As shown in FIG. 3, the process of parameter setting an application according to an embodiment of the present invention includes:
步骤 302 , 用户需要安装应用程序。 In step 302, the user needs to install an application.
步骤 304 , 判断是否为首次安装。 这需要每次安装或卸载应用程序 时, 对每个应用程序进行相关记录。 Step 304: Determine whether it is the first time installation. This requires a separate record of each application each time an application is installed or uninstalled.
第一种情况下, 是首次安装, 进入步骤 306 , 根据用户实时输入的参 数, 设置对应的有效时间区间。 还可以对该应用程序的类型、 关联的关键 字等进行设置。 具体如表 1所示。 In the first case, it is installed for the first time, and the process proceeds to step 306, and the corresponding effective time interval is set according to the parameters input by the user in real time. You can also set the type of application, associated keywords, and more. The details are shown in Table 1.
健康手册 养身 健康, 身体 永久 2011.4.20 已安装 孕期手册 孕期育儿 怀孕 预产期后延 1周 2011.10.12 已删除 世界杯应用 世界杯 世界杯 世界杯闭幕曰 2011.7.20 已删除 圣诞节应用 圣诞节 圣诞节 12月 26日 2011.12.20 已安装 Health Handbook Health, Body Permanent 2011.4.20 Installed Pregnancy Handbook Pregnancy Parenting Pregnancy Period Delay 1 Week 2011.10.12 Deleted World Cup Application World Cup World Cup Closing Ceremony 2011.7.20 Deleted Christmas App Christmas Christmas December 26 Day 2011.12.20 installed
表 1 Table 1
将每个应用程序以及对应的参数以表单的形式, 存储在终端对应的数 据库 (本地或云端) 中, 以供需要时进行查询。 Each application and its corresponding parameters are stored in the form of a form in the corresponding database (local or cloud) of the terminal for query when needed.
第二种情况下, 是首次安装, 进入步骤 308 , 获取应用程序的类型, 比如具体地, 票务软件属于 "旅行" 类的应用程序。 然后进入步骤 310 , 当终端中的应用程序数量较多时, ——设置需要耗费大量的精力, 又由于 确定了应用程序的类型, 因而可以分别对每个类型进行参数设置, 然后批 量实施于该类型的所有应用程序。 当然, 可以事先设置好每个类型对应的 参数, 然后针对每个安装的应用程序, 自动调用相应的参数, 也可以随时 对类型对应的参数进行设置或编辑, 然后应用于相应的应用程序上。 具体 如表 2所示。 In the second case, it is the first time installation, and in step 308, the type of the application is obtained, for example, the ticketing software belongs to the "Travel" type of application. Then, proceeding to step 310, when the number of applications in the terminal is large, the setting requires a lot of effort, and since the type of the application is determined, each type can be separately parameterized, and then batch implemented in the type. All the apps. Of course, the parameters corresponding to each type can be set in advance, and then the corresponding parameters are automatically called for each installed application, and the parameters corresponding to the type can be set or edited at any time, and then applied to the corresponding application. The details are shown in Table 2.
表 2 Table 2
第三种情况下, 不是首次安装, 进入步骤 312 , 获取存储的参数, 并 用于设置该应用程序。 具体地, 需要在之前安装相同应用程序 (不一定为 完全相同, 比如在版本号等方面可以允许存在差异) 时, 设置过相应的参 数, 然后在卸载时, 对该参数进行了保留, 则当此时又一次安装时, 可以 直接使用之前保留下的参数。 In the third case, instead of installing for the first time, the process proceeds to step 312, where the stored parameters are obtained and used to set up the application. Specifically, when the same application is installed before (not necessarily identical, for example, the difference may be allowed in the version number, etc.), the corresponding parameter is set, and then the parameter is reserved when uninstalling, then At this time, when you install again, you can directly use the parameters that were previously saved.
图 4示出了根据本发明的实施例的卸载应用程序的流程图。 4 shows a flow diagram of an uninstall application in accordance with an embodiment of the present invention.
如图 4所示, 根据本发明的实施例的卸载应用程序的流程包括: 步骤 402 , 获取当前时间。 As shown in FIG. 4, the process of uninstalling an application according to an embodiment of the present invention includes: Step 402: Acquire a current time.
步骤 404 , 判断当前时间是否处于有效时间区间内, 具体地, 是指某 个应用程序或某类应用程序对应的有效时间区间。 若处于, 则结束流程,
若不处于, 则进入步骤 406。 Step 404: Determine whether the current time is in a valid time interval, specifically, an effective time interval corresponding to an application or a certain type of application. If it is, the process ends. If not, proceed to step 406.
步骤 406, 提示用户卸载相应的应用程序。 当然, 在一种情况下, 若 终端具有对应的权限, 可以不用提醒而直接卸载。 Step 406, prompting the user to uninstall the corresponding application. Of course, in one case, if the terminal has the corresponding authority, it can be uninstalled without a reminder.
步骤 408 , 用户选择是否卸载应用程序。 若是, 则进入步骤 410 , 否 则结束流程。 Step 408: The user selects whether to uninstall the application. If yes, go to step 410, otherwise the process ends.
步骤 410 , 判断终端中是否存在针对该应用程序的个性化参数, 包括 对某个应用程序的有效时间区间、 对应的关键字、 所属类别等。 若存在, 则进入步骤 412 , 否则进入步骤 414。 当然, 针对比如图 3 中的第二种参 数设置方式, 更趋近于批量设置, 当再次进行设置时, 若针对类型的参数 不改变, 得到的针对应用程序的参数显然也不会发生变化, 因而此类参数 可以认为不属于个性化参数, 当然, 这可以由厂商或用户根据需要进行设 置。 Step 410: Determine whether there is a personalized parameter for the application in the terminal, including an effective time interval for an application, a corresponding keyword, a category, and the like. If yes, go to step 412, otherwise go to step 414. Of course, for the second parameter setting method in FIG. 3, it is closer to the batch setting. When the setting is performed again, if the parameter for the type does not change, the obtained parameter for the application obviously does not change. Therefore, such parameters can be considered as not being personalized parameters. Of course, this can be set by the manufacturer or the user as needed.
步骤 412 , 保留个性化参数, 具体地, 可以采用如表 1 所示的方式, 将应用程序的名称和相应的参数进行关联存储。 Step 412: The personalization parameter is reserved. Specifically, the name of the application and the corresponding parameter may be stored in association according to the manner shown in Table 1.
步骤 414 , 卸载应用程序。 Step 414, uninstall the application.
图 5示出了根据本发明的实施例的安装应用程序的流程图。 Figure 5 shows a flow diagram of an installation application in accordance with an embodiment of the present invention.
如图 5所示, 根据本发明的实施例的安装应用程序的流程包括: 步骤 502 , 监测日程、 信息等。 As shown in FIG. 5, the process of installing an application according to an embodiment of the present invention includes: Step 502, monitoring a schedule, information, and the like.
步骤 504, 判断终端中是否存在于预设字库相匹配的关键字。 若是, 则进入步骤 506, 否则结束流程。 Step 504: Determine whether the terminal has a keyword that matches the preset font. If yes, go to step 506, otherwise the process ends.
步骤 506, 具体地, 比如终端中采用了如表 1 所示的方式, 存储有应 用程序及对应的参数。 例如日程中监测到存在 "世界杯" 一词, 则终端根 据对应关系, 将查找到 "世界杯应用" 这个程序, 并确定对应的有效时间 区间为到闭幕日截止。 Step 506, specifically, for example, the method shown in Table 1 is used in the terminal, and the application program and corresponding parameters are stored. For example, if the word "World Cup" is detected in the schedule, the terminal will find the "World Cup Application" program according to the correspondence, and determine that the corresponding effective time interval is the closing date.
步骤 508 , 判断当前时间是否处于有效时间区间, 比如当天 (或设置 为提前一段时间) 为世界杯的开赛日, 则判定为处于有效时间区间内, 否 则判定为不处于。 Step 508: Determine whether the current time is in the valid time interval. For example, if the current day (or set to advance for a certain period of time) is the start date of the World Cup, it is determined to be within the valid time interval, otherwise it is determined not to be.
步骤 510 , 若处于有效时间区间内, 则安装该应用程序, 比如安装 "世界杯应用" 这个软件。
步骤 512 , 判断终端中是否存储有针对步骤 510安装的应用程序的个 性化参数, 这里的个性化参数是指该终端之前安装过相同的应用程序, 并 进行过有效时间区间、 关键字等个性化参数的设置, 则当卸载该应用程序 时, 将对应的个性化参数存储在终端中, 以供在下次安装时, 直接使用这 些个性化参数。 若存在, 则进入步骤 514 , 否则进入步骤 516。 当然, 不 存在个性化参数并不意味着该应用程序一定是首次安装, 也可能是由于数 据丟失等原因。 Step 510: If it is in the valid time interval, install the application, such as installing the "World Cup Application" software. Step 512: Determine whether the personalized parameter of the application installed in step 510 is stored in the terminal, where the personalized parameter refers to that the terminal has previously installed the same application, and has performed personalized time intervals, keywords, and the like. The parameter settings, when uninstalling the application, store the corresponding personalized parameters in the terminal for direct use of these personalized parameters on the next installation. If yes, go to step 514, otherwise go to step 516. Of course, the absence of personalized parameters does not mean that the application must be installed for the first time, or it may be due to data loss.
步骤 514 , 获取个性化参数。 Step 514, obtaining a personalized parameter.
步骤 516, 当终端中不存在对应于刚安装的应用程序个性化参数时, 根据用户的输入命令, 直接进行设置。 当然, 也可以是由终端根据应用程 序的类型, 利用该类型对应的参数, 实现对该应用程序的参数设置。 Step 516: When there is no application personalization parameter corresponding to the newly installed application in the terminal, the setting is directly performed according to the input command of the user. Of course, it is also possible for the terminal to implement parameter setting of the application according to the type of the application, by using parameters corresponding to the type.
步骤 518 , 利用终端中存储的或实时设置的个性化参数, 对应用程序 进行相应的设置。 Step 518: Perform corresponding setting on the application by using the personalized parameters stored in the terminal or set in real time.
以上结合附图详细说明了本发明的技术方案, 考虑到相关技术中对于 应用程序的管理无法兼顾时效性, 因此, 本发明提供了一种终端和一种应 用程序的管理方法, 可以自动判断用户的需求, 并安装或卸载应用程序, 从而实现对应用程序的有效管理, 满足用户的使用需求和对终端资源的合 理利用。 The technical solution of the present invention is described in detail above with reference to the accompanying drawings. In view of the fact that the management of the application in the related art cannot take into account the timeliness, the present invention provides a terminal and an application management method, which can automatically determine the user. The requirements, and the installation or uninstallation of the application, in order to achieve effective management of the application, to meet the user's needs and the rational use of terminal resources.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。
The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. within the spirit and scope of the invention are intended to be included within the scope of the invention.