WO2019201193A1 - Application program management method, mobile terminal, and computer readable storage medium - Google Patents

Application program management method, mobile terminal, and computer readable storage medium Download PDF

Info

Publication number
WO2019201193A1
WO2019201193A1 PCT/CN2019/082612 CN2019082612W WO2019201193A1 WO 2019201193 A1 WO2019201193 A1 WO 2019201193A1 CN 2019082612 W CN2019082612 W CN 2019082612W WO 2019201193 A1 WO2019201193 A1 WO 2019201193A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
condition
matching
mobile terminal
priority
Prior art date
Application number
PCT/CN2019/082612
Other languages
French (fr)
Chinese (zh)
Inventor
黄勤波
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019201193A1 publication Critical patent/WO2019201193A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention provides an application management method, the method comprising the steps of:
  • Step 340 setting the specific application as an application with a low degree of matching with the running condition.
  • the method for managing the application of the embodiment when detecting that the current operating condition of the mobile terminal is switched from the first priority condition to the second priority condition, first comparing the ranking levels of the first priority condition and the second priority condition, When the order of the first priority condition is higher than or equal to the second priority condition, the current application is kept running; otherwise, the high matching application corresponding to the first priority condition is closed, and the second priority is loaded and loaded.
  • the high-matching application corresponding to the level condition further enhances the user experience.
  • the operating conditions include, but are not limited to, one of a parameter condition, an energy condition, a network condition, and a foreground running program, or any combination.
  • the parameter condition may refer to the screen brightness of the mobile terminal itself, geographic coordinate information, whether the data line jack or the headphone jack is plugged in, time, date, and the like.
  • the energy condition may refer to the amount of power of the mobile terminal.
  • the network condition may refer to the type of network used by the mobile terminal, including a wireless local area network (Wi-Fi), a mobile operator's 2G, 3G, 4G, 5G network, and the like.
  • the foreground running program may refer to an application displayed on the display interface of the mobile terminal, that is, an application displayed in the foreground.
  • the application management module 740 is configured to preload a high-matching application, or/and to close a low-matching application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed is an application program management method, the method comprising the steps of: acquiring the current operating condition of a mobile terminal; extracting the matching degree of each application program with respect to the current operating condition according to a data usage record in a database to obtain an application program with a high matching degree and/or an application program with a low matching degree; and preloading the application program with a high matching degree, and/or closing the application program with a low matching degree. Moreover, further provided are a mobile terminal and a computer readable storage medium.

Description

应用程序的管理方法、移动终端及计算机可读存储介质Application management method, mobile terminal and computer readable storage medium
交叉引用cross reference
本发明要求在2018年4月17日提交中国专利局、申请号为201810344615.4、发明名称为“应用程序的管理方法、移动终端及计算机可读存储介质”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。The present invention claims priority to Chinese Patent Application No. 201810344615.4, entitled "Application Management Method, Mobile Terminal, and Computer Readable Storage Medium", filed on April 17, 2018, the disclosure of which is incorporated herein by reference. The entire contents are incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种应用程序的管理方法、移动终端及计算机可读存储介质。The present invention relates to the field of communications technologies, and in particular, to an application management method, a mobile terminal, and a computer readable storage medium.
背景技术Background technique
近几年来,随着智能手机技术的提升也使得移动应用得到了快速发展。如今的智能手机通常支持多种多样的应用和服务,比如音乐、视频、网页浏览、游戏以及拍照等,远远超越了传统的以通话为中心的服务。智能手机技术的快速发展已经使得移动终端应用广泛盛行,如此多样的移动应用也使得智能手机更加有趣和人性化,与此同时运行这些应用程序也成为了智能手机的主要功能。大量的移动应用软件被下载和安装,一个智能手机用户会同时打开和使用多个应用。当今智能手机的资源有限,这就要求研究者和公司更加注意如何有效的管理这些移动应用。电池和内存的有限容量目前已经成为了智能手机的瓶颈,因为多个应用同时运行会消耗很多的资源,不仅浪费了手机的电池电量也浪费了手机的内存容量,特别是有些消耗没有必要产生的。同时运行太多的应用程序延长响应时间,影响用户的体验。如何开发出一种有效管理移动软件的方法,可以针对智能手机中的软件使用进行预测从而在 需要使用时预先加载已经成为急需解决的技术问题。In recent years, with the improvement of smart phone technology, mobile applications have been rapidly developed. Today's smartphones typically support a wide variety of applications and services, such as music, video, web browsing, gaming, and photography, far beyond traditional call-centric services. The rapid development of smart phone technology has made mobile terminal applications popular. Such diverse mobile applications have also made smart phones more interesting and user-friendly. At the same time, running these applications has become the main function of smart phones. A large number of mobile applications are downloaded and installed, and one smartphone user opens and uses multiple applications at the same time. The limited resources of today's smartphones require researchers and companies to pay more attention to how to effectively manage these mobile applications. The limited capacity of batteries and memory has become a bottleneck for smartphones. Because multiple applications run at the same time, it consumes a lot of resources. It not only wastes the battery power of the mobile phone but also wastes the memory capacity of the mobile phone. In particular, some consumption is unnecessary. . Running too many applications at the same time increases response time and affects the user experience. How to develop a method for effectively managing mobile software can predict the use of software in a smartphone and preload it as a technical problem that has become urgently needed when it is needed.
安卓手机由于系统自身的问题,往往会使得各种应用软件在运行过程中相互抢占系统的运行资源,并且随着运行时间的增长,各类应用程序的数据库也会越来越大。Due to the system's own problems, Android phones often cause various application software to seize each other's operating resources during the running process, and as the running time increases, the database of various application programs will become larger and larger.
有些手机在设计时就考虑到了这一点,首先在系统层面上合理安排各种APP使用时所占用的系统资源比例,并且还会在用户夜晚睡眠时,自动在后台进行文件碎片查找并进行整理,而该功能最多能够使得用户的手机在整理之后性能提升30%,并不能从本质上解决软件管理的问题。Some mobile phones have been designed with this in mind. First, at the system level, the proportion of system resources occupied by various APPs is reasonably arranged, and the file fragments are automatically searched and sorted in the background when the user sleeps at night. This feature can increase the performance of the user's mobile phone by up to 30% after finishing, and can not solve the problem of software management in essence.
发明内容Summary of the invention
本发明的主要目的在于提出一种应用程序的管理方法、移动终端及计算机可读存储介质,旨在解决繁杂的应用程序同时在后台运行,占用内存并耗电的问题。The main purpose of the present invention is to provide an application management method, a mobile terminal, and a computer readable storage medium, which are designed to solve the problem that a complicated application runs in the background at the same time, occupies memory and consumes power.
为实现上述目的,本发明提供的一种应用程序的管理方法,所述方法包括步骤:To achieve the above objective, the present invention provides an application management method, the method comprising the steps of:
获取移动终端的当前运行条件;Obtaining a current operating condition of the mobile terminal;
根据数据库中的数据使用记录,提取每个应用程序相对于所述当前运行条件的匹配度,以得到高匹配度的应用程序和/或者低匹配度的应用程序;Extracting the matching degree of each application with respect to the current running condition according to the data usage record in the database to obtain a high-matching application and/or a low-matching application;
预加载高匹配度的应用程序,或者/和关闭低匹配度的应用程序。Preload high-matching applications, or / and turn off low-matching applications.
此外,为实现上述目的,本发明还提出一种移动终端,所述移动终端包括处理器以及存储器;In addition, to achieve the above object, the present invention further provides a mobile terminal, where the mobile terminal includes a processor and a memory;
所述处理器用于执行存储器中存储的应用程序的管理程序,以实现上述的方法。The processor is configured to execute a hypervisor of an application stored in the memory to implement the method described above.
此外,为实现上述目的,本发明还提出一种计算机可读存储介质,所述 计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现上述的方法。Moreover, in order to achieve the above object, the present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors To achieve the above method.
附图说明DRAWINGS
图1为本发明第一实施例提供的应用程序的管理方法的流程示意图;1 is a schematic flowchart of a method for managing an application program according to a first embodiment of the present invention;
图2为本发明各个实施例中运行条件与前途运行的应用程序的映射表;2 is a mapping table of an operating condition and an application running in the future according to various embodiments of the present invention;
图3为本发明第一实施例提供的应用程序的管理方法的子流程示意图;3 is a schematic flowchart of a sub-flow of a method for managing an application according to a first embodiment of the present invention;
图4为本发明第一实施例提供的应用程序的管理方法的另一流程示意图;4 is another schematic flowchart of a method for managing an application according to a first embodiment of the present invention;
图5为本发明第二实施例提供的应用程序的管理方法的流程示意图;FIG. 5 is a schematic flowchart of a method for managing an application according to a second embodiment of the present invention;
图6为本发明第四实施例提供的设备硬件架构的示意图;FIG. 6 is a schematic diagram of a hardware architecture of a device according to a fourth embodiment of the present invention; FIG.
图7为图6中应用程序的管理程序的模块示意图。FIG. 7 is a block diagram of a management program of the application in FIG. 6.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and has no specific meaning per se. Therefore, "module", "component" or "unit" can be used in combination.
第一实施例First embodiment
如图1所示,为本发明第一实施例提供的应用程序的管理方法的流程示 意图。在图1中,所述应用程序的管理方法包括:As shown in FIG. 1, a flow chart of a method for managing an application provided by the first embodiment of the present invention is shown. In FIG. 1, the management method of the application includes:
步骤110,获取移动终端的当前运行条件。Step 110: Obtain a current operating condition of the mobile terminal.
具体的,在本实施例中,运行条件包括但不限于:参数条件、能量条件、网络条件和前台运行程序之一或者任意组合。在一实施方式中,参数条件可以是指移动终端自身的屏幕亮度、地理坐标信息、数据线插孔或者耳机线插口是否插线、时间、日期等。能量条件可以是指移动终端的电量。网络条件可以是指移动终端所使用的网络类型,包括无线局域网(Wi-Fi),移动运营商的2G、3G、4G、5G网络等。前台运行程序可以是指移动终端的显示界面所显示的应用程序,也就是前台运行显示的应用程序。Specifically, in this embodiment, the operating conditions include, but are not limited to, one of a parameter condition, an energy condition, a network condition, and a foreground running program, or any combination. In an embodiment, the parameter condition may refer to the screen brightness of the mobile terminal itself, geographic coordinate information, whether the data line jack or the headphone jack is plugged in, time, date, and the like. The energy condition may refer to the amount of power of the mobile terminal. The network condition may refer to the type of network used by the mobile terminal, including a wireless local area network (Wi-Fi), a mobile operator's 2G, 3G, 4G, 5G network, and the like. The foreground running program may refer to an application displayed on the display interface of the mobile terminal, that is, an application displayed in the foreground.
在一实施方式中,每隔预设时间可以更新当前运行条件;或者,当检测到切换前台运行的应用程序时,则更新当前运行条件。In an embodiment, the current running condition may be updated every preset time; or, when it is detected that the application running in the foreground is switched, the current running condition is updated.
本发明中描述的移动终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端。The mobile terminal described in the present invention may include, for example, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a personal digital assistant (PDA), a portable media player (PMP), a navigation device, and a wearable device. Mobile terminals such as devices, smart bracelets, and pedometers.
步骤120,根据数据库中的数据使用记录,提取每个应用程序相对于所述当前运行条件的匹配度,以得到高匹配度的应用程序和/或者低匹配度的应用程序。Step 120: Extract a matching degree of each application with respect to the current running condition according to the data usage record in the database to obtain a high matching application and/or a low matching application.
具体的,根据数据库所记载的应用程序与当前运行条件的匹配情况,从数据库中提取每个应用程序与当前运行条件对应的匹配度。Specifically, according to the matching between the application program recorded in the database and the current running condition, the matching degree of each application corresponding to the current running condition is extracted from the database.
步骤130,预加载所述高匹配度的应用程序,或者/和关闭所述低匹配度的应用程序。Step 130: Preload the high-matching application, or/and close the low-matching application.
具体的,根据所提取的匹配度,将高匹配度的应用程序提前预加载,以优先分配系统资源,相反地,对于低匹配度的应用程序则可以采取冻结、清理进程等方式降低系统资源消耗的问题,起到降低系统功耗、提升应用使用 流畅度及进行电量规划的效果。Specifically, according to the extracted matching degree, the high-matching application is pre-loaded in advance to preferentially allocate system resources. Conversely, for low-matching applications, freezing, cleaning processes, etc. may be adopted to reduce system resource consumption. The problem is to reduce system power consumption, improve application fluency, and perform power planning.
在本实施例中,若在当前运行条件下,没有某个应用程序的记录,则该应用程序在当前运行条件的匹配度为零,归入到低匹配度的应用程序。In this embodiment, if there is no record of an application under the current running condition, the matching degree of the application in the current running condition is zero, and the application is classified into the low matching degree.
在一实施方式中,在本实施例中,步骤110之前,所述应用程序的管理方法还包括:In an embodiment, in the embodiment, before the step 110, the management method of the application further includes:
建立包括所述数据使用记录的数据库。A database is created that includes the data usage record.
具体的,数据库中记载的数据使用记录可以是映射表的形式。示例性地,如图2所示,为运行条件与前台运行的应用程序的映射表。根据不同的实用场景,图2中的运行条件分为以下几种情况:Specifically, the data usage record recorded in the database may be in the form of a mapping table. Illustratively, as shown in FIG. 2, is a mapping table of operating conditions and applications running in the foreground. According to different practical scenarios, the operating conditions in Figure 2 are divided into the following cases:
第一种,连续切换应用程序的场景。由于用户在切换不同应用程序时存在一定程度的连贯性,若当前运行条件为运行第一应用程序,则在第一应用程序之后切换至第二应用程序的概率很高,从而第二应用程序是相对于第一应用程序的高匹配度的应用程序。例如,用户在使用完WPS应用程序编辑文档之后,会切换至邮件程序将编辑后的文档作为附件发送,则将该应用场景对应到步骤110-130中,本示例的应用程序管理的过程为:The first type is to continuously switch the scene of the application. Since the user has a certain degree of consistency when switching between different applications, if the current running condition is running the first application, the probability of switching to the second application after the first application is high, so that the second application is A high-matching application relative to the first application. For example, after the user finishes editing the document by using the WPS application, the user switches to the mail program to send the edited document as an attachment, and the application scenario is corresponding to steps 110-130. The application management process of this example is:
第一步,获取移动终端在前台运行WPS文档并触发关闭文档的触控操作(当前运行条件为:运行第一应用程序并触发关闭文档的触控操作);The first step is to obtain a touch operation in which the mobile terminal runs the WPS document in the foreground and triggers the document to be closed (the current running condition is: running the first application and triggering the touch operation of closing the document);
第二步,提取移动终端所有应用程序与当前运行条件的匹配度,并获得与当前运行条件对应的高匹配度的程序为邮件(Email)应用程序;The second step is to extract the matching degree between all the applications of the mobile terminal and the current running condition, and obtain a program with a high matching degree corresponding to the current running condition as an email (Email) application;
第三步,打开Email软件,显示“添加新邮件”或者“回复/转发邮件”的界面,并将WPS程序中编辑的文档作为附件进行加载。The third step is to open the Email software and display the interface of “Add New Mail” or “Reply/Forward Mail” and load the document edited in the WPS program as an attachment.
第二种,网络类型的场景。在不同的网络条件下,运行的应用程序类型会不同,若当前运行条件为Wi-Fi网络条件下,则运行视频类应用的概率较高,则高匹配度的应用程序为视频类应用程序,例如:腾讯视频、爱奇艺等 等。Second, a network type scenario. Under different network conditions, the type of application running will be different. If the current operating condition is Wi-Fi network, the probability of running a video application is higher, and the application with high matching is a video application. For example: Tencent video, iQiyi, etc.
第三种,剩余电量的场景。不同电量的使用场景对应不同的应用程序,例如,在低电量的运行条件下,则关闭低匹配度的应用程序(例如:视频类应用程序),以降低对系统的耗电量。Third, the scene of remaining power. Different power usage scenarios correspond to different applications. For example, under low power operating conditions, low-match applications (for example, video applications) are turned off to reduce power consumption to the system.
第四种,耳机孔是否插入耳机的场景。若当前运行条件为插入耳机,则运行音频类、视频类、电台等应用的概率较高,则高匹配度的应用程序为音频类、视频类、电台应用程序。相反地,若当前运行条件为拔出耳机,则关闭音频类、视频类、电台应用的概率较高,则对上述应用程序的管理为关闭音频类、视频类、电台应用程序。Fourth, the scene where the earphone jack is inserted into the earphone. If the current operating condition is to insert a headset, the probability of running an audio class, a video class, a radio station, etc. is high, and the high-matching application is an audio class, a video class, a radio application. Conversely, if the current operating condition is to remove the earphone, the probability of turning off the audio class, the video class, and the radio application is high, and the management of the above application is to turn off the audio class, the video class, and the radio application.
第五种,日期的场景。一周内不同的时间段,运行的应用程序类型不同,例如,在工作日运行办公类应用程序的概率较大,在假期运行娱乐类应用程序的概率较大。The fifth, the scene of the date. Different types of applications run during different periods of the week, for example, the probability of running an office application on a business day is greater, and the probability of running an entertainment application during the vacation is greater.
第六种,时间段的场景。可以将每天分割为多个时间段,例如,0:00-6:00、6:00-12:00、12:00-18:00、18:00-24:00四个等分的时间区间。或者,还可以设置为非等分的时间区间,例如,上班时间段、下班时间段;再如,按照股市交易时间段分为9:30-11:00和13:00-15:00,在这个时间段内,运行炒股类应用程序的概率较大。The sixth type, the scene of the time period. You can divide the time into multiple time periods, for example, time intervals of 0:00-6:00, 6:00-12:00, 12:00-18:00, 18:00-24:00 . Alternatively, it can be set to a non-equal time interval, for example, a working time period and an off-duty time period; for example, according to the stock market trading time period, it is divided into 9:30-11:00 and 13:00-15:00, During this time period, there is a high probability of running a stock-based application.
第七种,显示屏亮度的场景。在不同的亮度情况下,运行的应用程序会有不同,在高亮度情况下,视频类应用程序为高匹配度的应用程序,在低亮度的情况下,电量保护类应用程序为高匹配度的应用程序The seventh, the scene of the display brightness. In different brightness situations, the running application will be different. In high brightness, the video application is a high-matching application. In the case of low brightness, the power protection application is highly matched. application
第八种,地理坐标的场景。在不同的位置运行的应用程序会有不同,例如,若在家里,则运行娱乐类应用程序的概率较大。若在公司,则运行办公类或者新闻类应用程序的概率较大。The eighth, the scene of geographic coordinates. Applications running in different locations will be different, for example, if you are at home, the probability of running an entertainment application is greater. If you are in a company, the probability of running an office or news application is high.
本领域技术人员可以理解的是,在实际运行条件中,本发明并不限于图2中的运行场景,还可以包括其他的运行场景,或者上述运行场景的任意组 合等。It can be understood by those skilled in the art that, in actual operating conditions, the present invention is not limited to the running scenario in FIG. 2, and may include other running scenarios, or any combination of the above running scenarios, and the like.
在一实施方式中,如图3所示,所述建立包括所述数据使用记录的数据库的步骤,具体包括:In an embodiment, as shown in FIG. 3, the step of establishing a database including the data usage record specifically includes:
步骤310,记录移动终端在特定运行条件下,启动特定应用程序的频率;Step 310: Record a frequency at which the mobile terminal starts a specific application under a specific operating condition;
步骤320,判断所述频率是否达到或者高于第一预设值,若是,则进入步骤330,若否,则进入步骤340; Step 320, it is determined whether the frequency reaches or is higher than the first preset value, and if so, proceeds to step 330, and if not, proceeds to step 340;
步骤330,将所述特定应用程序设置为与所述运行条件高匹配度的应用程序;Step 330: Set the specific application to an application that has a high degree of matching with the running condition;
步骤340,将所述特定应用程序设置为与所述运行条件低匹配度的应用程序。 Step 340, setting the specific application as an application with a low degree of matching with the running condition.
具体的,根据预设的运行条件(如图2所示),则记录启动应用程序的频率,在该频率达到或者高于第一预设值时,则进入步骤330,否则进入步骤340。示例性地,在10次运行条件A的情况下,启动应用程序A的次数为8次,则启动应用程序A的概率为0.8,若第一预设值为0.5,则应用程序A为运行条件A对应的高匹配度应用程序。也就是说,预先统计与应用场景规律对应的应用程序范围,例如:前台运行的应用程序,对移动终端性能要求高的应用程序,或者其他对使用有特定规律要求的应用程序。当这些应用程序在使用时,可以是前台使用,也可以是在后台运行特定的功能,例如:后台播放音乐、后台导航、后台下载视频,音乐,小说等数据,将这些应用程序对应的各个场景进行记录。特别地,对于多个场景数据进行聚合计算,例如,获取时间、场景、地理位置等多场景情况下运行应用程序的规律。Specifically, according to the preset operating conditions (as shown in FIG. 2), the frequency of starting the application is recorded. When the frequency reaches or exceeds the first preset value, the process proceeds to step 330, otherwise, the process proceeds to step 340. Exemplarily, in the case of 10 operating conditions A, the number of times the application A is started is 8 times, the probability of starting the application A is 0.8, and if the first preset value is 0.5, the application A is the operating condition. A corresponding high-matching application. That is to say, the application scope corresponding to the application scenario law is pre-stated, for example, an application running in the foreground, an application having high performance requirements on the mobile terminal, or other applications that have specific rules for use. When these applications are in use, they can be used in the foreground, or they can run specific functions in the background, such as: background music, background navigation, background download video, music, novels, etc., and the corresponding scenes of these applications. Make a record. Specifically, the aggregation calculation is performed on a plurality of scene data, for example, the law of running the application in a plurality of scenarios such as time, scene, and geographic location.
在一实施方式中,若两个或者以上应用程序的匹配度相同,则还可以设置其他预设值进行筛选,例如,在某个运行条件下,腾讯视频和爱奇艺的第一匹配度(启动频率)相同,则将判断腾讯视频和爱奇艺应用的用户信息作为第二匹配度(会员情况),且具备会员信息的应用程序高于非会员信息的 应用程序。也就是说,还可以设置多种不同的匹配度进行比较,相应的,设置不同的预设值来筛选高匹配度的应用程序。In an embodiment, if the matching degree of two or more applications is the same, other preset values may also be set for screening, for example, the first matching degree of Tencent video and iQiyi under a certain operating condition ( If the activation frequency is the same, the user information of the Tencent video and the iQiyi application will be judged as the second matching degree (membership situation), and the application with the member information is higher than the application of the non-member information. In other words, you can also set a variety of different matching degrees for comparison, and correspondingly, set different preset values to filter high-matching applications.
在一实施方式中,若在当前运行条件下没有匹配的应用程序,也就是说,所有应用程序相对于当前运行条件的匹配度为零,则先保持移动终端的当前状态,当检测到用户对移动终端发出的启动应用程序的触控指令时,如图4所示,所述方法还包括如下步骤:In an embodiment, if there is no matching application under the current running condition, that is, the matching degree of all the applications with respect to the current running condition is zero, the current state of the mobile terminal is first maintained, and when the user pair is detected When the mobile terminal sends a touch command for launching the application, as shown in FIG. 4, the method further includes the following steps:
步骤410,接收启动应用程序的指令;Step 410: Receive an instruction to start an application.
步骤420,将所述应用程序的数据信息和所述当前运行条件保存在所述数据库中。Step 420: Save the data information of the application and the current running condition in the database.
具体的,若在当前运行条件下,没有与其相匹配的应用程序,则先保持当前的运行状态,直至检测到用户对移动终端发出的启动应用程序的指令,则接收该指令,并将显示界面切换至该应用程序的显示页面。同时,将应用程序的数据信息和当前运行条件进行保存,以更新数据库中的信息。Specifically, if there is no application matching the current running condition, the current running state is maintained until the user initiates an instruction to start the application sent by the mobile terminal, and the instruction is received, and the display interface is displayed. Switch to the display page of the app. At the same time, the application's data information and current operating conditions are saved to update the information in the database.
示例性地,预先将1天的时间分为3个时间段,分别为0:00-6:00、6:00-12:00、12:00-18:00、18:00-24:00,并用1,2,3,4进行标示。在9:00接收到启动应用程序X的指令时,在数据库中记录应用程序X与9:00(运行条件)的匹配关系,从而能够根据场景特征反向查找与之相匹配的的应用程序,便于提前加载,优先调度,提高用户体验。Illustratively, the time of one day is divided into three time periods in advance, which are 0:00-6:00, 6:00-12:00, 12:00-18:00, 18:00-24:00. And marked with 1, 2, 3, 4. When the instruction to start the application X is received at 9:00, the matching relationship between the application X and the 9:00 (running condition) is recorded in the database, so that the matching application can be reversely searched according to the scene feature. Easy to load in advance, prioritize scheduling, and improve user experience.
本实施例提供的应用程序的管理方法,通过实时获取移动终端的当前运行条件,并根据数据库中的数据使用记录,提取每个应用程序相对于当前运行条件的匹配度,并预加载高匹配度的应用程序,或者/和关闭低匹配度的应用程序,提前为用户准备相应程序,提升了对用户操作的响应速度,进而提高了用户体验,同时,关闭了低匹配度的应用程序,减少了对内存和电量的不必要消耗。The application management method provided by the embodiment obtains the current running condition of the mobile terminal in real time, and extracts the matching degree of each application with respect to the current running condition according to the data usage record in the database, and preloads the high matching degree. The application, or / and close the low-matching application, prepare the program in advance for the user, improve the response speed to the user's operation, thereby improving the user experience, and at the same time, closing the low-matching application, reducing the number of applications Unnecessary consumption of memory and power.
第二实施例Second embodiment
如图5所示,为本发明第二实施例提供的应用程序的管理方法。在第二实施例中,所述应用程序的管理方法是在第一实施例的基础上所作出的进一步改进,区别仅在于,若第一实施例中的当前运行条件为第一优先级条件,当检测移动终端的当前运行条件由第一优先级条件切换至第二优先级条件时,所述方法还包括:As shown in FIG. 5, it is a management method of an application program according to a second embodiment of the present invention. In the second embodiment, the management method of the application is a further improvement based on the first embodiment, except that if the current operating condition in the first embodiment is the first priority condition, When the current operating condition of the mobile terminal is detected to be switched from the first priority condition to the second priority condition, the method further includes:
步骤510,判断所述第一优先级条件的排序是否高于或者等于所述第二优先级条件;若是,则进入步骤520,若否,则进入步骤530; Step 510, it is determined whether the ranking of the first priority condition is higher than or equal to the second priority condition; if yes, proceed to step 520, and if not, proceed to step 530;
步骤520,保持加载与所述第一优先级条件对应的高匹配度的应用程序;Step 520: Maintain an application that loads a high matching degree corresponding to the first priority condition;
步骤530,关闭与所述第一优先级条件对应的高匹配度的应用程序;Step 530: Close the high-matching application corresponding to the first priority condition;
步骤540,加载与所述第二优先级条件对应的高匹配度的应用程序。Step 540: Load a high-matching application corresponding to the second priority condition.
具体的,对各个运行条件进行排序,高优先级的运行条件对应的应用程序的级别高于低优先级的运行条件对应的应用程序。在本实施例中,当检测到移动终端的当前运行条件由第一优先级条件切换至第二优先级条件时,先比较第一优先级条件和第二优先级条件,并按照优先级条件的排序确定当前启动或者关闭的应用程序。Specifically, each running condition is sorted, and the high priority operating condition corresponds to the application level higher than the low priority running condition corresponding to the application. In this embodiment, when it is detected that the current operating condition of the mobile terminal is switched from the first priority condition to the second priority condition, the first priority condition and the second priority condition are compared first, and according to the priority condition Sorting determines which application is currently started or closed.
例如,第一优先级条件为:下班时间段,第二优先级条件为:下班时间段和当前电量10%,与第一优先级条件对应的高匹配度的应用程序为启动腾讯视频,与第一优先级条件对应的低匹配度的应用程序为关闭腾讯视频、高匹配度的应用程序为启动电量保护程序。由于第一优先级条件小于第二优先级,则关闭腾讯视频,并启动电量保护程序。For example, the first priority condition is: the off-duty time period, and the second priority condition is: the off-duty time period and the current power amount is 10%, and the high-matching application corresponding to the first priority condition is to start the Tencent video, and the first A low-matching application corresponding to a priority condition is to start the power saver for the application that closes Tencent video and has a high matching degree. Since the first priority condition is less than the second priority, the Tencent video is turned off and the power saver is started.
本实施例的应用程序的管理方法,当检测移动终端的当前运行条件由第一优先级条件切换至第二优先级条件时,先比较第一优先级条件与第二优先级条件的排序级别,当第一优先级条件的排序高于或者等于第二优先级条件时,保持运行当前的应用程序,否则,关闭与第一优先级条件对应的高匹配 度的应用程序,并加载与第二优先级条件对应的高匹配度的应用程序,进一步提高用户的使用体验。The method for managing the application of the embodiment, when detecting that the current operating condition of the mobile terminal is switched from the first priority condition to the second priority condition, first comparing the ranking levels of the first priority condition and the second priority condition, When the order of the first priority condition is higher than or equal to the second priority condition, the current application is kept running; otherwise, the high matching application corresponding to the first priority condition is closed, and the second priority is loaded and loaded. The high-matching application corresponding to the level condition further enhances the user experience.
第三实施例Third embodiment
如图6所示,为本发明第三实施例提供一种移动终端硬件架构的示意图。在图6中,移动终端包括:存储器610、处理器620及存储在所述存储器610上并可在所述处理器620上运行的应用程序的管理程序630。在本实施例中,所述的应用程序的管理程序630包括一系列的存储于存储器610上的计算机程序指令,当该计算机程序指令被处理器620执行时,可以实现本发明各实施例的应用程序的管理操作。在一些实施例中,基于该计算机程序指令各部分所实现的特定的操作,应用程序的管理程序630可以被划分为一个或多个模块。如图7所示,应用程序的管理程序630包括:数据更新模块710、获取模块720、提取模块730、应用程序管理模块740、判断模块750。其中,FIG. 6 is a schematic diagram of a hardware architecture of a mobile terminal according to a third embodiment of the present invention. In FIG. 6, the mobile terminal includes a memory 610, a processor 620, and a hypervisor 630 of an application stored on the memory 610 and executable on the processor 620. In the present embodiment, the application management program 630 includes a series of computer program instructions stored on the memory 610. When the computer program instructions are executed by the processor 620, the applications of the embodiments of the present invention may be implemented. The management operation of the program. In some embodiments, the application's hypervisor 630 can be divided into one or more modules based on the particular operations implemented by the various portions of the computer program instructions. As shown in FIG. 7, the application management program 630 includes a data update module 710, an acquisition module 720, an extraction module 730, an application management module 740, and a determination module 750. among them,
数据更新模块710,用于建立包括数据使用记录的数据库。The data update module 710 is configured to establish a database including data usage records.
具体的,数据库中记载的数据使用记录可以是以映射表形式。示例性地,如图2所示,为运行条件与前台运行的应用程序的映射表。根据不同的实用场景,图2中的运行条件分为以下几种情况:Specifically, the data usage record recorded in the database may be in the form of a mapping table. Illustratively, as shown in FIG. 2, is a mapping table of operating conditions and applications running in the foreground. According to different practical scenarios, the operating conditions in Figure 2 are divided into the following cases:
第一种,连续切换应用程序的场景。由于用户在切换不同应用程序时存在一定程度的连贯性,若当前运行条件为运行第一应用程序,则在第一应用程序之后切换至第二应用程序的概率很高,从而第二应用程序是相对于第一应用程序的高匹配度的应用程序。例如,用户在使用完WPS应用程序编辑文档之后,会切换至邮件程序将编辑后的文档作为附件发送,则将该应用场景对应到步骤110-130中,本示例的应用程序管理的过程为:The first type is to continuously switch the scene of the application. Since the user has a certain degree of consistency when switching between different applications, if the current running condition is running the first application, the probability of switching to the second application after the first application is high, so that the second application is A high-matching application relative to the first application. For example, after the user finishes editing the document by using the WPS application, the user switches to the mail program to send the edited document as an attachment, and the application scenario is corresponding to steps 110-130. The application management process of this example is:
第一步,获取移动终端在前台运行WPS文档并触发关闭文档的触控操作(当前运行条件为:运行第一应用程序并触发关闭文档的触控操作);The first step is to obtain a touch operation in which the mobile terminal runs the WPS document in the foreground and triggers the document to be closed (the current running condition is: running the first application and triggering the touch operation of closing the document);
第二步,提取移动终端所有应用程序与当前运行条件的匹配度,并获得与当前运行条件对应的高匹配度的程序为邮件(Email)应用程序;The second step is to extract the matching degree between all the applications of the mobile terminal and the current running condition, and obtain a program with a high matching degree corresponding to the current running condition as an email (Email) application;
第三步,打开Email软件,显示“添加新邮件”或者“回复/转发邮件”的界面,并将WPS程序中编辑的文档作为附件进行加载。The third step is to open the Email software and display the interface of “Add New Mail” or “Reply/Forward Mail” and load the document edited in the WPS program as an attachment.
第二种,网络类型的场景。在不同的网络条件下,运行的应用程序类型会不同,若当前运行条件为Wi-Fi网络条件下,则运行视频类应用的概率较高,则高匹配度的应用程序为视频类应用程序,例如:腾讯视频、爱奇艺等等。Second, a network type scenario. Under different network conditions, the type of application running will be different. If the current operating condition is Wi-Fi network, the probability of running a video application is higher, and the application with high matching is a video application. For example: Tencent video, iQiyi, etc.
第三种,剩余电量的场景。不同电量的使用场景对应不同的应用程序,例如,在低电量的运行条件下,则关闭低匹配度的应用程序(例如:视频类应用程序),以降低对系统的耗电量。Third, the scene of remaining power. Different power usage scenarios correspond to different applications. For example, under low power operating conditions, low-match applications (for example, video applications) are turned off to reduce power consumption to the system.
第四种,耳机孔是否插入耳机的场景。若当前运行条件为插入耳机,则运行音频类、视频类、电台等应用的概率较高,则高匹配度的应用程序为音频类、视频类、电台应用程序。相反地,若当前运行条件为拔出耳机,则关闭音频类、视频类、电台应用的概率较高,则对上述应用程序的管理为关闭音频类、视频类、电台应用程序。Fourth, the scene where the earphone jack is inserted into the earphone. If the current operating condition is to insert a headset, the probability of running an audio class, a video class, a radio station, etc. is high, and the high-matching application is an audio class, a video class, a radio application. Conversely, if the current operating condition is to remove the earphone, the probability of turning off the audio class, the video class, and the radio application is high, and the management of the above application is to turn off the audio class, the video class, and the radio application.
第五种,日期的场景。一周内不同的时间段,运行的应用程序类型不同,例如,在工作日运行办公类应用程序的概率较大,在假期运行娱乐类应用程序的概率较大。The fifth, the scene of the date. Different types of applications run during different periods of the week, for example, the probability of running an office application on a business day is greater, and the probability of running an entertainment application during the vacation is greater.
第六种,时间段的场景。可以将每天分割为多个时间段,例如,0:00-6:00、6:00-12:00、12:00-18:00、18:00-24:00四个等分的时间区间。或者,还可以设置为非等分的时间区间,例如,上班时间段、下班时间段;再如,按照股市交易时间段分为9:30-11:00和13:00-15:00,在这个时间段内,运行炒股类应用程序的概率较大。The sixth type, the scene of the time period. You can divide the time into multiple time periods, for example, time intervals of 0:00-6:00, 6:00-12:00, 12:00-18:00, 18:00-24:00 . Alternatively, it can be set to a non-equal time interval, for example, a working time period and an off-duty time period; for example, according to the stock market trading time period, it is divided into 9:30-11:00 and 13:00-15:00, During this time period, there is a high probability of running a stock-based application.
第七种,显示屏亮度的场景。在不同的亮度情况下,运行的应用程序会 有不同,在高亮度情况下,视频类应用程序为高匹配度的应用程序,在低亮度的情况下,电量保护类应用程序为高匹配度的应用程序The seventh, the scene of the display brightness. In different brightness situations, the running application will be different. In high brightness, the video application is a high-matching application. In the case of low brightness, the power protection application is highly matched. application
第八种,地理坐标的场景。在不同的位置运行的应用程序会有不同,例如,若在家里,则运行娱乐类应用程序的概率较大。若在公司,则运行办公类或者新闻类应用程序的概率较大。The eighth, the scene of geographic coordinates. Applications running in different locations will be different, for example, if you are at home, the probability of running an entertainment application is greater. If you are in a company, the probability of running an office or news application is high.
本领域技术人员可以理解的是,在实际运行条件中,本发明并不限于图2中的运行场景,还可以包括其他的运行场景,或者上述运行场景的任意组合等。It can be understood by those skilled in the art that, in actual operating conditions, the present invention is not limited to the running scenario in FIG. 2, and may include other running scenarios, or any combination of the above running scenarios, and the like.
在一实施方式中,数据更新模块710具体用于:In an embodiment, the data update module 710 is specifically configured to:
记录移动终端在特定运行条件下,启动特定应用程序的频率;Record the frequency at which the mobile terminal launches a particular application under certain operating conditions;
判断所述频率是否达到或者高于第一预设值,若是,则将所述特定应用程序设置为与所述运行条件高匹配度的应用程序,若否,则将所述特定应用程序设置为与所述运行条件低匹配度的应用程序。Determining whether the frequency reaches or is higher than a first preset value, and if so, setting the specific application to an application that has a high degree of matching with the operating condition, and if not, setting the specific application as An application that has a low degree of matching with the operating conditions.
具体的,根据预设的运行条件(如图2所示),则数据更新模块710记录启动应用程序的频率,并根据频率值确定应用程序与运行环境的匹配度。示例性地,在10次运行条件A的情况下,启动应用程序A的次数为8次,则启动应用程序A的概率为0.8,若第一预设值为0.5,则应用程序A为运行条件A对应的高匹配度应用程序。也就是说,预先统计与应用场景规律对应的应用程序范围,例如:前台运行的应用程序,对移动终端性能要求高的应用程序,或者其他对使用有特定规律要求的应用程序。当这些应用程序在使用时,可以是前台使用,也可以是在后台运行特定的功能,例如:后台播放音乐、后台导航、后台下载视频,音乐,小说等数据,将这些应用程序对应的各个场景进行记录。特别地,对于多个场景数据进行聚合计算,例如,获取时间、场景、地理位置等多场景情况下运行应用程序的规律。Specifically, according to the preset operating conditions (as shown in FIG. 2), the data update module 710 records the frequency of starting the application, and determines the matching degree between the application and the operating environment according to the frequency value. Exemplarily, in the case of 10 operating conditions A, the number of times the application A is started is 8 times, the probability of starting the application A is 0.8, and if the first preset value is 0.5, the application A is the operating condition. A corresponding high-matching application. That is to say, the application scope corresponding to the application scenario law is pre-stated, for example, an application running in the foreground, an application having high performance requirements on the mobile terminal, or other applications that have specific rules for use. When these applications are in use, they can be used in the foreground, or they can run specific functions in the background, such as: background music, background navigation, background download video, music, novels, etc., and the corresponding scenes of these applications. Make a record. Specifically, the aggregation calculation is performed on a plurality of scene data, for example, the law of running the application in a plurality of scenarios such as time, scene, and geographic location.
在一实施方式中,若两个或者以上应用程序的匹配度相同,则还可以设 置其他预设值进行筛选,例如,在某个运行条件下,腾讯视频和爱奇艺的第一匹配度(启动频率)相同,则将判断腾讯视频和爱奇艺应用的用户信息作为第二匹配度(会员情况),且具备会员信息的应用程序高于非会员信息的应用程序。也就是说,还可以设置多种不同的匹配度进行比较,相应的,设置不同的预设值来筛选高匹配度的应用程序。In an embodiment, if the matching degree of two or more applications is the same, other preset values may also be set for screening, for example, the first matching degree of Tencent video and iQiyi under a certain operating condition ( If the activation frequency is the same, the user information of the Tencent video and the iQiyi application will be judged as the second matching degree (membership situation), and the application with the member information is higher than the application of the non-member information. In other words, you can also set a variety of different matching degrees for comparison, and correspondingly, set different preset values to filter high-matching applications.
在一实施方式中,若在当前运行条件下没有匹配的应用程序,也就是说,所有应用程序相对于当前运行条件的匹配度为零,则先保持移动终端的当前状态,当检测到用户对移动终端发出的启动应用程序的触控指令时,数据更新模块710还用于:In an embodiment, if there is no matching application under the current running condition, that is, the matching degree of all the applications with respect to the current running condition is zero, the current state of the mobile terminal is first maintained, and when the user pair is detected When the mobile terminal sends a touch command for launching the application, the data update module 710 is further configured to:
接收启动应用程序的指令;Receiving an instruction to launch an application;
将所述应用程序的数据信息和所述当前运行条件保存在所述数据库中。The data information of the application and the current operating conditions are saved in the database.
具体的,若在当前运行条件下,没有与其相匹配的应用程序,则先保持当前的运行状态,直至检测到用户对移动终端发出的启动应用程序的指令,则接收该指令,并将显示界面切换至该应用程序的显示页面。同时,将数据更新模块710应用程序的数据信息和当前运行条件进行保存,以更新数据库中的信息。Specifically, if there is no application matching the current running condition, the current running state is maintained until the user initiates an instruction to start the application sent by the mobile terminal, and the instruction is received, and the display interface is displayed. Switch to the display page of the app. At the same time, the data information of the data update module 710 application and the current running conditions are saved to update the information in the database.
示例性地,预先将1天的时间分为3个时间段,分别为0:00-6:00、6:00-12:00、12:00-18:00、18:00-24:00,并用1,2,3,4进行标示。在9:00接收到启动应用程序X的指令时,在数据库中记录应用程序X与9:00(运行条件)的匹配关系,从而能够根据场景特征反向查找与之相匹配的的应用程序,便于提前加载,优先调度,提高用户体验。Illustratively, the time of one day is divided into three time periods in advance, which are 0:00-6:00, 6:00-12:00, 12:00-18:00, 18:00-24:00. And marked with 1, 2, 3, 4. When the instruction to start the application X is received at 9:00, the matching relationship between the application X and the 9:00 (running condition) is recorded in the database, so that the matching application can be reversely searched according to the scene feature. Easy to load in advance, prioritize scheduling, and improve user experience.
获取模块720,用于获取移动终端的当前运行条件。The obtaining module 720 is configured to obtain a current operating condition of the mobile terminal.
具体的,在本实施例中,运行条件包括但不限于:参数条件、能量条件、网络条件和前台运行程序之一或者任意组合。在一实施方式中,参数条件可以是指移动终端自身的屏幕亮度、地理坐标信息、数据线插孔或者耳机线插 口是否插线、时间、日期等。能量条件可以是指移动终端的电量。网络条件可以是指移动终端所使用的网络类型,包括无线局域网(Wi-Fi),移动运营商的2G、3G、4G、5G网络等。前台运行程序可以是指移动终端的显示界面所显示的应用程序,也就是前台运行显示的应用程序。Specifically, in this embodiment, the operating conditions include, but are not limited to, one of a parameter condition, an energy condition, a network condition, and a foreground running program, or any combination. In an embodiment, the parameter condition may refer to the screen brightness of the mobile terminal itself, geographic coordinate information, whether the data line jack or the headphone jack is plugged in, time, date, and the like. The energy condition may refer to the amount of power of the mobile terminal. The network condition may refer to the type of network used by the mobile terminal, including a wireless local area network (Wi-Fi), a mobile operator's 2G, 3G, 4G, 5G network, and the like. The foreground running program may refer to an application displayed on the display interface of the mobile terminal, that is, an application displayed in the foreground.
在一实施方式中,每隔预设时间可以更新当前运行条件;或者,当检测到切换前台运行的应用程序时,则更新当前运行条件。In an embodiment, the current running condition may be updated every preset time; or, when it is detected that the application running in the foreground is switched, the current running condition is updated.
本发明中描述的移动终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、PDA、PMP、导航装置、可穿戴设备、智能手环、计步器等移动终端。The mobile terminal described in the present invention may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a PDA, a PMP, a navigation device, a wearable device, a smart bracelet, a pedometer, and the like.
提取模块730,用于根据数据库中的数据使用记录,提取每个应用程序相对于所述当前运行条件的匹配度,以得到高匹配度的应用程序和/或者低匹配度的应用程序。The extracting module 730 is configured to extract a matching degree of each application with respect to the current running condition according to the data usage record in the database, to obtain a high-matching application and/or a low-matching application.
具体的,根据数据库所记载的应用程序与当前运行条件的匹配情况,提取模块730从数据库中提取每个应用程序与当前运行条件对应的匹配度。Specifically, according to the matching between the application program recorded in the database and the current running condition, the extraction module 730 extracts the matching degree of each application from the database corresponding to the current running condition.
应用程序管理模块740,用于预加载高匹配度的应用程序,或者/和关闭低匹配度的应用程序。The application management module 740 is configured to preload a high-matching application, or/and to close a low-matching application.
具体的,根据所提取的匹配度,应用程序管理模块740将高匹配度的应用程序提前预加载,以优先分配系统资源,相反地,对于低匹配度的应用程序则可以采取冻结、清理进程等方式降低系统资源消耗的问题,起到降低系统功耗、提升应用使用流畅度及进行电量规划的效果。Specifically, according to the extracted matching degree, the application management module 740 preloads the high-matching application in advance to preferentially allocate system resources, and conversely, for the low-matching application, the freezing, cleaning process, etc. may be adopted. The method reduces the problem of system resource consumption, and reduces the system power consumption, improves the application fluency, and performs power planning.
在本实施例中,若在当前运行条件下,没有某个应用程序的记录,则该应用程序在当前运行条件的匹配度为零,归入到低匹配度的应用程序。In this embodiment, if there is no record of an application under the current running condition, the matching degree of the application in the current running condition is zero, and the application is classified into the low matching degree.
判断模块750,用于判断所述第一优先级条件的排序是否高于或者等于所述第二优先级条件;若是,则应用程序管理模块740用于保持加载与所述第一优先级条件对应的高匹配度的应用程序;若否,则应用程序管理模块740 关闭与所述第一优先级条件对应的高匹配度的应用程序,并加载与所述第二优先级条件对应的高匹配度的应用程序。The determining module 750 is configured to determine whether the ranking of the first priority condition is higher than or equal to the second priority condition; if yes, the application management module 740 is configured to keep loading corresponding to the first priority condition a high-matching application; if not, the application management module 740 closes the high-matching application corresponding to the first priority condition and loads a high matching degree corresponding to the second priority condition s application.
具体的,对各个运行条件进行排序,高优先级的运行条件对应的应用程序的级别高于低优先级的运行条件对应的应用程序。在本实施例中,当检测到移动终端的当前运行条件由第一优先级条件切换至第二优先级条件时,判断模块750先比较第一优先级条件和第二优先级条件,应用程序管理模块740按照优先级条件的排序确定当前启动或者关闭的应用程序。Specifically, each running condition is sorted, and the high priority operating condition corresponds to the application level higher than the low priority running condition corresponding to the application. In this embodiment, when it is detected that the current operating condition of the mobile terminal is switched from the first priority condition to the second priority condition, the determining module 750 first compares the first priority condition and the second priority condition, and the application management Module 740 determines the currently started or closed application in accordance with the ordering of the priority conditions.
例如,第一优先级条件为:下班时间段,第二优先级条件为:下班时间段和当前电量10%,与第一优先级条件对应的高匹配度的应用程序为启动腾讯视频,与第一优先级条件对应的低匹配度的应用程序为关闭腾讯视频、高匹配度的应用程序为启动电量保护程序。由于第一优先级条件小于第二优先级,则关闭腾讯视频,并启动电量保护程序。For example, the first priority condition is: the off-duty time period, and the second priority condition is: the off-duty time period and the current power amount is 10%, and the high-matching application corresponding to the first priority condition is to start the Tencent video, and the first A low-matching application corresponding to a priority condition is to start the power saver for the application that closes Tencent video and has a high matching degree. Since the first priority condition is less than the second priority, the Tencent video is turned off and the power saver is started.
本实施例提供的移动终端,通过获取模块720实时获取移动终端的当前运行条件,并提取模块730根据数据库中的数据使用记录,提取每个应用程序相对于当前运行条件的匹配度,应用程序管理模块740预加载高匹配度的应用程序,或者/和关闭低匹配度的应用程序,提前为用户准备相应程序,提升了对用户操作的响应速度,进而提高了用户体验,同时,关闭了低匹配度的应用程序,减少了对内存和电量的不必要消耗。The mobile terminal provided in this embodiment acquires the current running condition of the mobile terminal in real time through the obtaining module 720, and the extraction module 730 extracts the matching degree of each application program with respect to the current running condition according to the data usage record in the database, and the application management The module 740 preloads the high-matching application, or/and closes the low-matching application, prepares the corresponding program in advance for the user, improves the response speed to the user operation, thereby improving the user experience, and at the same time, closing the low match. The application of the degree reduces the unnecessary consumption of memory and power.
第四实施例Fourth embodiment
本发明实施例还提供了一种计算机可读存储介质。这里的计算机可读存储介质存储有一个或者多个程序。其中,计算机可读存储介质可以包括易失性存储器,例如随机存取存储器;存储器也可以包括非易失性存储器,例如只读存储器、快闪存储器、硬盘或固态硬盘;存储器还可以包括上述种类的存储器的组合。当计算机可读存储介质中一个或者多个程序可被一个或者多 个处理器执行,以实现上述实施例所提供的应用程序的管理方法。The embodiment of the invention further provides a computer readable storage medium. The computer readable storage medium herein stores one or more programs. The computer readable storage medium may include a volatile memory such as a random access memory; the memory may also include a non-volatile memory such as a read only memory, a flash memory, a hard disk or a solid state hard disk; the memory may also include the above categories a combination of memory. One or more programs in a computer readable storage medium may be executed by one or more processors to implement a method of managing the applications provided by the above embodiments.
本发明提出的应用程序的管理方法、移动终端及计算机可读存储介质,通过实时获取移动终端的当前运行条件,并根据数据库中的数据使用记录,提取每个应用程序相对于当前运行条件的匹配度,以得到高匹配度的应用程序和/或者低匹配度的应用程序,并预加载高匹配度的应用程序,或者/和关闭低匹配度的应用程序,提前为用户准备相应程序,提升了对用户操作的响应速度,进而提高了用户体验,同时,关闭了低匹配度的应用程序,减少了对内存和电量的不必要消耗。The application management method, the mobile terminal and the computer readable storage medium provided by the invention obtain the current running condition of the mobile terminal in real time, and extract the matching of each application program with respect to the current running condition according to the data usage record in the database. Degrees to get high-matching applications and/or low-matching applications, and preloading high-matching applications, or / and closing low-matching applications, preparing programs for users in advance, improved The responsiveness to user actions, which in turn improves the user experience, while turning off low-matching applications, reducing unnecessary consumption of memory and power.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上 述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。The embodiments of the present invention have been described above with reference to the drawings, but the present invention is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative and not restrictive, and those skilled in the art In the light of the present invention, many forms may be made without departing from the spirit and scope of the invention as claimed.

Claims (10)

  1. 一种应用程序的管理方法,其特征在于,所述方法包括步骤:An application management method, characterized in that the method comprises the steps of:
    获取移动终端的当前运行条件;Obtaining a current operating condition of the mobile terminal;
    根据数据库中的数据使用记录,提取每个应用程序相对于所述当前运行条件的匹配度,以得到高匹配度的应用程序和/或者低匹配度的应用程序;Extracting the matching degree of each application with respect to the current running condition according to the data usage record in the database to obtain a high-matching application and/or a low-matching application;
    预加载高匹配度的应用程序,或者/和关闭低匹配度的应用程序。Preload high-matching applications, or / and turn off low-matching applications.
  2. 根据权利要求1所述的应用程序的管理方法,其特征在于,在获取移动终端的当前运行条件之前,所述方法还包括:The method for managing an application according to claim 1, wherein the method further comprises: before acquiring the current operating condition of the mobile terminal, the method further comprising:
    建立包括所述数据使用记录的数据库。A database is created that includes the data usage record.
  3. 根据权利要求2所述的应用程序的管理方法,其特征在于,所述建立包括所述数据使用记录的数据库,包括:The method for managing an application according to claim 2, wherein the establishing a database including the data usage record comprises:
    记录移动终端在特定运行条件下,启动特定应用程序的频率;Record the frequency at which the mobile terminal launches a particular application under certain operating conditions;
    当所述频率达到或者高于第一预设值时,则将所述特定应用程序设置为与所述运行条件高匹配度的应用程序;When the frequency reaches or is higher than the first preset value, setting the specific application to an application with a high degree of matching with the operating condition;
    当所述频率低于所述第一预设值时,则将所述特定应用程序设置为与所述运行条件低匹配度的应用程序。When the frequency is lower than the first preset value, the specific application is set to an application with a low degree of matching with the operating condition.
  4. 根据权利要求3所述的应用程序的管理方法,其特征在于,所述低匹配度的应用程序还包括:在所述运行条件下,没有启动的应用程序。The application management method according to claim 3, wherein the low-matching application further comprises: an application that is not started under the operating condition.
  5. 根据权利要求1所述的应用程序的管理方法,其特征在于,若所述当前运行条件为第一优先级条件,当检测所述移动终端的当前运行条件由所述第一优先级条件切换至第二优先级条件时,所述方法还包括:The method for managing an application according to claim 1, wherein if the current operating condition is a first priority condition, when detecting that the current operating condition of the mobile terminal is switched from the first priority condition to The second priority condition, the method further includes:
    判断所述第一优先级条件的排序是否高于或者等于所述第二优先级条件;Determining whether the ranking of the first priority condition is higher than or equal to the second priority condition;
    若是,则保持加载与所述第一优先级条件对应的高匹配度的应用程序。If so, the application with a high degree of matching corresponding to the first priority condition is maintained.
  6. 根据权利要求5所述的应用程序的管理方法,其特征在于,当判定所述第一优先级条件的排序低于所述第二优先级条件时,所述方法还包括:The method for managing an application according to claim 5, wherein when the ranking of the first priority condition is determined to be lower than the second priority condition, the method further comprises:
    关闭与所述第一优先级条件对应的高匹配度的应用程序;Closing a high-matching application corresponding to the first priority condition;
    加载与所述第二优先级条件对应的高匹配度的应用程序。A high-matching application corresponding to the second priority condition is loaded.
  7. 根据权利要求1所述的应用程序的管理方法,其特征在于,若在所述当前运行条件下没有匹配的应用程序时,所述方法还包括:The method for managing an application according to claim 1, wherein if there is no matching application under the current operating condition, the method further comprises:
    接收启动应用程序的指令;Receiving an instruction to launch an application;
    将所述应用程序的数据信息和所述当前运行条件保存在所述数据库中。The data information of the application and the current operating conditions are saved in the database.
  8. 根据权利要求1所述的应用程序的管理方法,其特征在于,所述运行条件包括:参数条件、能量条件、网络条件和前台运行程序之一或者任意组合。The method for managing an application according to claim 1, wherein the operating condition comprises one or any combination of a parameter condition, an energy condition, a network condition, and a foreground running program.
  9. 一种移动终端,其特征在于,所述移动终端包括处理器以及存储器;A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory;
    所述处理器用于执行存储器中存储的应用程序的管理程序,以实现权利要求1-8任一项所述的方法。The processor is operative to execute a hypervisor of an application stored in a memory to implement the method of any of claims 1-8.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现权利要求1-8任一项所述的方法。A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs, the one or more programs being executable by one or more processors to implement claim 1 The method of any of 8.
PCT/CN2019/082612 2018-04-17 2019-04-15 Application program management method, mobile terminal, and computer readable storage medium WO2019201193A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810344615.4A CN110392156A (en) 2018-04-17 2018-04-17 Management method, mobile terminal and the computer readable storage medium of application program
CN201810344615.4 2018-04-17

Publications (1)

Publication Number Publication Date
WO2019201193A1 true WO2019201193A1 (en) 2019-10-24

Family

ID=68240464

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/082612 WO2019201193A1 (en) 2018-04-17 2019-04-15 Application program management method, mobile terminal, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN110392156A (en)
WO (1) WO2019201193A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111444116B (en) * 2020-03-23 2022-11-25 海信电子科技(深圳)有限公司 Storage space fragment processing method and device
CN115016855B (en) * 2021-11-17 2023-05-09 荣耀终端有限公司 Method, apparatus and storage medium for application preloading

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369508A (en) * 2013-06-25 2013-10-23 华为技术有限公司 Data loading method and terminal device
CN106547582A (en) * 2015-09-22 2017-03-29 阿里巴巴集团控股有限公司 A kind of preprocess method and device
CN106843961A (en) * 2017-01-19 2017-06-13 上海斐讯数据通信技术有限公司 System and its application method that a kind of application program of mobile phone is preloaded and cleared up
CN107295044A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of method and apparatus for carrying out application program management
CN107783801A (en) * 2017-11-06 2018-03-09 广东欧珀移动通信有限公司 Application program forecast model is established, preloads method, apparatus, medium and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102401772B1 (en) * 2015-10-02 2022-05-25 삼성전자주식회사 Apparatus and method for executing application in electronic deivce
CN106371906A (en) * 2016-08-29 2017-02-01 珠海格力电器股份有限公司 Control method and device for background application software of intelligent equipment, and processor
CN106406966B (en) * 2016-10-31 2020-04-07 维沃移动通信有限公司 Application program preloading method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369508A (en) * 2013-06-25 2013-10-23 华为技术有限公司 Data loading method and terminal device
CN106547582A (en) * 2015-09-22 2017-03-29 阿里巴巴集团控股有限公司 A kind of preprocess method and device
CN107295044A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of method and apparatus for carrying out application program management
CN106843961A (en) * 2017-01-19 2017-06-13 上海斐讯数据通信技术有限公司 System and its application method that a kind of application program of mobile phone is preloaded and cleared up
CN107783801A (en) * 2017-11-06 2018-03-09 广东欧珀移动通信有限公司 Application program forecast model is established, preloads method, apparatus, medium and terminal

Also Published As

Publication number Publication date
CN110392156A (en) 2019-10-29

Similar Documents

Publication Publication Date Title
US10946276B2 (en) Application state backup and restoration across multiple devices
CN109947498B (en) Application program preloading method and device, storage medium and mobile terminal
EP3502889B1 (en) Method and device for preloading application, storage medium, and terminal device
US10146790B2 (en) Game state synchronization and restoration across multiple devices
CN109213539B (en) Memory recovery method and device
US9600552B2 (en) Proximity based application state synchronization
US9106721B2 (en) Application state synchronization across multiple devices
US8764555B2 (en) Video game application state synchronization across multiple devices
US8813175B2 (en) Multimodal computing device
CN102508701A (en) User terminal and method for controlling automatically-operating application program
CN104699218A (en) Task management method and equipment
CN107479953B (en) Process management method, device, storage medium and electronic equipment
WO2019201193A1 (en) Application program management method, mobile terminal, and computer readable storage medium
US9002992B2 (en) Location based game state synchronization
CN110032321B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN101986662A (en) Widget instance operation method and system
US9729698B2 (en) Increasing user memory space on end-of-life mobile user devices
CN113885969A (en) Embedded device, embedded software loading method and storage medium
CN110753909B (en) Service scheduling method and device, computer equipment and computer readable storage medium
WO2020206694A1 (en) Application program management method and apparatus, storage medium and electronic device
CN110032398B (en) Application processing method and device, electronic equipment and computer readable storage medium
WO2020133455A1 (en) Application program management method, device, storage medium and electronic apparatus
WO2019071405A1 (en) Terminal application control 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: 19789360

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11.02.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19789360

Country of ref document: EP

Kind code of ref document: A1