WO2019242580A1 - Method and apparatus for application program management, mobile terminal, and storage medium - Google Patents

Method and apparatus for application program management, mobile terminal, and storage medium Download PDF

Info

Publication number
WO2019242580A1
WO2019242580A1 PCT/CN2019/091523 CN2019091523W WO2019242580A1 WO 2019242580 A1 WO2019242580 A1 WO 2019242580A1 CN 2019091523 W CN2019091523 W CN 2019091523W WO 2019242580 A1 WO2019242580 A1 WO 2019242580A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
application program
started
background
module
Prior art date
Application number
PCT/CN2019/091523
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 WO2019242580A1 publication Critical patent/WO2019242580A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources

Definitions

  • the present disclosure relates to, but is not limited to, the field of communication technologies.
  • mobile terminals can support more and more applications, more and more powerful functions, and develop in a diversified and personalized direction. Users can install a variety of applications, such as game applications, music applications, video applications, office applications, and so on.
  • An application launched by an end user is usually cached in the background so that the application can be launched next time.
  • the system can clean up cached applications on its own.
  • the problem with this approach is that the mobile terminal can only cache applications started by the user to the background. If the applications are not cached to the background, the application startup or related device initialization will be very slow.
  • the application program that the end user needs to start next time may be cleared, which causes the terminal to initialize the application program too frequently and affect the user experience.
  • an application program management method including: obtaining weight parameters obtained through training of a machine learning model; obtaining an application to be started according to the weight parameter, and The application is loaded to run in the background; and in response to receiving a running instruction of the application to be started, the application to be started is switched from running in the background to running in the foreground.
  • an application management apparatus including a first obtaining module, a loading module, and a switching module.
  • the first obtaining module is configured to obtain a weight parameter obtained through training of a machine learning model
  • the loading module is configured to obtain an application to be started according to the weight parameter, and load the application to be started to run in the background.
  • the switching module is configured to switch the to-be-started application program from background running to foreground running in response to receiving a running instruction of the to-be-started application program.
  • a mobile terminal including a memory and a processor, and a computer program is stored on the memory, and when the computer program is executed by the processor, the processor executes Application management method according to the present disclosure.
  • a computer-readable storage medium on which a computer program is stored.
  • the processor executes an application program management method according to the present disclosure.
  • FIG. 1 is a schematic flowchart of an application management method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of an application management apparatus according to an embodiment of the present disclosure
  • FIG. 3 is another schematic structural diagram of an application management apparatus according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic flowchart of an application management method according to an embodiment of the present disclosure.
  • the application management method may be used for a terminal, and the terminal may be implemented in various forms.
  • the terminals may include mobile terminals such as mobile phones, tablets, laptops, PDAs, PDAs, Portable Media Players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc.
  • fixed terminals such as digital TVs, desktop computers, and more. This disclosure does not limit this.
  • the application management method includes steps S11 to S13.
  • step S11 weight parameters obtained by training the machine learning model are acquired.
  • Machine learning models include neural network-based models.
  • a machine learning model may include one or more convolutional neural network layers, may also include one or more activation function layers, and may also include one or more recurrent neural network layers.
  • the initial model for training can be established based on neural network theory, and the initial number of layers or related parameters can be preset to be used for training based on experience. It should be noted that machine learning models are not limited to this type.
  • step S11 may include: collecting startup data of an application and data of related devices; and obtaining the weight parameters through training of the machine learning model according to the startup data of the application and data of related devices. .
  • the mobile terminal may pass the data of the application programs and related devices that are started multiple times to the machine learning model for training to obtain the weight parameters.
  • Machine learning models can be obtained locally from a server or terminal.
  • the training process of the machine learning model can be performed locally on the terminal or in the server. After training, the training results can be sent directly to the terminal for storage, or stored locally on the server.
  • step S12 the application program to be started is acquired according to the weight parameter, and the application program to be started is loaded to run in the background.
  • the method may further include: obtaining a memory usage situation; and cleaning an application running in the background according to the memory usage situation.
  • step 12 may include: in response to the memory usage exceeding a preset threshold, obtaining an application to be cleaned out of the applications running in the background according to the weight parameter; and cleaning the application to be cleaned up.
  • the memory occupied by the applications can be released and it is easy to load the applications to be started.
  • step S13 in response to receiving a running instruction of the application program to be started, the application program to be started is switched from running in the background to running in the foreground.
  • a run instruction may be an instruction that triggers an application to run in response to an operation by an end user.
  • the applications to be launched through the weight parameter are "WeChat”, “QQ”, and “Qianqianjingting", and “Qianqianjingting” has already been started, so “WeChat” and “QQ” are started in advance, and Transfer the processes of "WeChat” and "QQ” to run in the background.
  • the process of "WeChat” or “QQ” is switched from the background to the foreground to make it obvious to the end user I feel that the application launches very quickly, which leads to a better experience.
  • the method may further include: obtaining the device to be activated according to the weight parameter, and initializing the device to be activated.
  • the "QQ" application is running in the foreground, and the camera of the terminal is obtained through the weight parameter to initialize the camera of the terminal.
  • the "QQ" application starts the camera of the terminal for shooting, the end user can obviously feel that the camera starts up very fast, and thus obtain a better experience.
  • the weight parameters obtained through training of the machine learning model can be used to obtain the application to be started, and the application to be started can be loaded to run in the background, so that the application can be started quickly To improve user experience.
  • FIG. 2 is a schematic structural diagram of an application management apparatus according to an embodiment of the present disclosure.
  • the application management apparatus may include a first obtaining module 21, a loading module 22, and a switching module 23.
  • the first acquisition module 21 is configured to acquire weight parameters obtained through training of a machine learning model.
  • the first obtaining module 21 may be further configured to collect startup data of an application program and modify data of a device, and train the machine learning model according to the startup data of the application program and data of a related device.
  • the weight parameter is obtained.
  • the loading module 22 is configured to obtain an application to be started according to the weight parameter, and load the application to be started to run in the background.
  • the switching module 23 is configured to switch the to-be-started application program from a background operation to a foreground operation in response to receiving a running instruction of the to-be-started application program.
  • FIG. 3 is another schematic structural diagram of an application management apparatus according to an embodiment of the present disclosure.
  • the application management apparatus may further include a second obtaining module 24 and a cleaning module 25.
  • the second acquisition module 24 is configured to acquire a memory usage situation.
  • the cleaning module 25 is configured to clean up applications running in the background according to the memory usage.
  • the cleaning module 25 may be further configured to: in response to the memory usage exceeding a preset threshold, obtain the application to be cleaned from the applications running in the background according to the weight parameter, and clean the application to be cleaned program.
  • the application management apparatus may further include a device initialization module 26.
  • the device initialization module 26 is configured to obtain a device to be activated according to the weight parameter, and initialize the device to be activated.
  • FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the mobile terminal includes a memory 31 and a processor 32.
  • a computer program is stored on the memory 31.
  • the processor 32 may execute an application program management method according to various embodiments of the present disclosure.
  • An embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored.
  • the processor may execute the application program management method according to the embodiments of the present disclosure.
  • the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical
  • the components execute cooperatively.
  • Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit .
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media).
  • computer storage medium includes both volatile and nonvolatile implementations in any method or technology used to store information such as computer-readable instructions, data structures, program modules or other data.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or Any other medium used to store desired information and which can be accessed by a computer.

Abstract

Provided are a method for application program management, an apparatus for application program management, a mobile terminal and a computer-readable storage medium. The method for application program management comprises: acquiring a weight parameter obtained by means of training a machine learning model; acquiring, according to the weight parameter, an application program to be started, and loading said application program for background running; and in response to receiving a running instruction for the application program to be started, switching said application program from background running to foreground running.

Description

应用程序管理方法、装置及移动终端、存储介质Application program management method, device, mobile terminal and storage medium 技术领域Technical field
本公开涉及(但不限于)通信技术领域。The present disclosure relates to, but is not limited to, the field of communication technologies.
背景技术Background technique
随着通信技术的不断发展,移动终端能够支持的应用越来越多,功能越来越强大,并向着多样化、个性化的方向发展。用户可自行安装各种各样的应用程序,例如:游戏应用程序、音乐应用程序、视频应用程序、办公应用程序等等。With the continuous development of communication technology, mobile terminals can support more and more applications, more and more powerful functions, and develop in a diversified and personalized direction. Users can install a variety of applications, such as game applications, music applications, video applications, office applications, and so on.
终端用户启动过的应用程序通常会缓存到后台,以使得下次可以加速启动该应用。当内存不足时,系统可自行清理缓存的应用程序。这种方式存在的问题是,移动终端只能将用户启动过的应用程序缓存到后台,若应用程序没有缓存到后台,则应用程序的启动或者相关设备的初始化都将非常缓慢。在内存不足时,可能把终端用户下次需要启动的应用程序清理掉,导致终端过于频繁的初始化启动应用程序,影响用户体验。An application launched by an end user is usually cached in the background so that the application can be launched next time. When memory is low, the system can clean up cached applications on its own. The problem with this approach is that the mobile terminal can only cache applications started by the user to the background. If the applications are not cached to the background, the application startup or related device initialization will be very slow. When the memory is insufficient, the application program that the end user needs to start next time may be cleared, which causes the terminal to initialize the application program too frequently and affect the user experience.
发明内容Summary of the Invention
根据本公开实施例的一个方面,提供的一种应用程序管理方法,包括:获取通过机器学习模型训练得到的权重参数;根据所述权重参数获取待启动的应用程序,并将所述待启动的应用程序加载到后台运行;以及响应于接收到所述待启动的应用程序的运行指令,将所述待启动的应用程序从后台运行切换到前台运行。According to an aspect of the embodiments of the present disclosure, an application program management method is provided, including: obtaining weight parameters obtained through training of a machine learning model; obtaining an application to be started according to the weight parameter, and The application is loaded to run in the background; and in response to receiving a running instruction of the application to be started, the application to be started is switched from running in the background to running in the foreground.
根据本公开实施例的另一个方面,提供的一种应用程序管理装置,包括第一获取模块、加载模块以及切换模块。所述第一获取模块构造为获取通过机器学习模型训练得到的权重参数,所述加载模块构造为根据所述权重参数获取待启动的应用程序,并将所述待启动的应用程序加载到后台运行,并且所述切换模块构造为响应于接收到所述待启动的应用程序的运行指令,将所述待启动的应用程序从后台运行 切换到前台运行。According to another aspect of the embodiments of the present disclosure, an application management apparatus is provided, including a first obtaining module, a loading module, and a switching module. The first obtaining module is configured to obtain a weight parameter obtained through training of a machine learning model, and the loading module is configured to obtain an application to be started according to the weight parameter, and load the application to be started to run in the background. And the switching module is configured to switch the to-be-started application program from background running to foreground running in response to receiving a running instruction of the to-be-started application program.
根据本公开实施例的另一个方面,提供的一种移动终端,包括存储器和处理器,在所述存储器上存储有计算机程序,所述计算机程序被所述处理器执行时,所述处理器执行根据本公开的应用程序管理方法。According to another aspect of the embodiments of the present disclosure, there is provided a mobile terminal including a memory and a processor, and a computer program is stored on the memory, and when the computer program is executed by the processor, the processor executes Application management method according to the present disclosure.
根据本公开实施例的另一个方面,提供的一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,所述处理器执行根据本公开的应用程序管理方法。According to another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the processor executes an application program management method according to the present disclosure. .
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为根据本公开实施例的应用程序管理方法的流程示意图;FIG. 1 is a schematic flowchart of an application management method according to an embodiment of the present disclosure;
图2为根据本公开实施例的应用程序管理装置的结构示意图;2 is a schematic structural diagram of an application management apparatus according to an embodiment of the present disclosure;
图3为根据本公开实施例的应用程序管理装置的另一结构示意图;以及FIG. 3 is another schematic structural diagram of an application management apparatus according to an embodiment of the present disclosure; and
图4为根据本公开实施例的移动终端结构示意图。FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
本公开目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the purpose of the present disclosure will be further described with reference to the embodiments and the drawings.
具体实施方式detailed description
为了使本公开所要解决的技术问题、技术方案及有益效果更加清楚、明白,以下结合附图和实施例,对本公开进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。In order to make the technical problems, technical solutions and beneficial effects to be more clearly understood by the present disclosure, the present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not intended to limit the present disclosure.
图1为根据本公开实施例的应用程序管理方法的流程示意图。FIG. 1 is a schematic flowchart of an application management method according to an embodiment of the present disclosure.
根据本公开实施例的应用程序管理方法可用于终端,并且终端可以以各种形式来实施。例如,终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、PDA、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字电视、台式计算机等固定终端。本公开对此不作限制。The application management method according to an embodiment of the present disclosure may be used for a terminal, and the terminal may be implemented in various forms. For example, the terminals may include mobile terminals such as mobile phones, tablets, laptops, PDAs, PDAs, Portable Media Players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc. And fixed terminals such as digital TVs, desktop computers, and more. This disclosure does not limit this.
如图1所示,根据本公开实施例的应用程序管理方法包括步骤S11至S13。As shown in FIG. 1, the application management method according to an embodiment of the present disclosure includes steps S11 to S13.
在步骤S11,获取通过机器学习模型训练得到的权重参数。In step S11, weight parameters obtained by training the machine learning model are acquired.
机器学习模型包括基于神经网络的模型,例如,机器学习模型可包括一个或多个卷积神经网络层,还可包括一个或多个激活函数层,也可包括一个或多个循环神经网络层。可基于神经网络理论建立用于训练的初始模型,还可基于经验对网络层数或相关参数进行预先设置用于训练的初始模型。需要说明的是,机器学习模型并不限于此种类型。Machine learning models include neural network-based models. For example, a machine learning model may include one or more convolutional neural network layers, may also include one or more activation function layers, and may also include one or more recurrent neural network layers. The initial model for training can be established based on neural network theory, and the initial number of layers or related parameters can be preset to be used for training based on experience. It should be noted that machine learning models are not limited to this type.
在一个实施例中,步骤S11可以包括:收集应用程序的启动数据以及相关设备的数据;以及根据所述应用程序的启动数据以及相关设备的数据,通过所述机器学习模型训练得到所述权重参数。In one embodiment, step S11 may include: collecting startup data of an application and data of related devices; and obtaining the weight parameters through training of the machine learning model according to the startup data of the application and data of related devices. .
移动终端可将多次启动的应用程序和相关设备的数据传递给机器学习模型进行训练得到所述权重参数。The mobile terminal may pass the data of the application programs and related devices that are started multiple times to the machine learning model for training to obtain the weight parameters.
机器学习模型可以从服务器或者终端本地获取。机器学习模型的训练过程可以在终端本地进行,也可以在服务器中进行。训练完毕后,可将训练结果直接发送至终端进行存储,或在服务器本地进行存储。Machine learning models can be obtained locally from a server or terminal. The training process of the machine learning model can be performed locally on the terminal or in the server. After training, the training results can be sent directly to the terminal for storage, or stored locally on the server.
在步骤S12,根据所述权重参数获取待启动的应用程序,并将所述待启动的应用程序加载到后台运行。In step S12, the application program to be started is acquired according to the weight parameter, and the application program to be started is loaded to run in the background.
在一个实施例中,在步骤12之前还可以包括:获取内存使用情况;以及根据所述内存使用情况清理后台运行的应用程序。In an embodiment, before step 12, the method may further include: obtaining a memory usage situation; and cleaning an application running in the background according to the memory usage situation.
在一个实施例中,步骤12可以包括:响应于内存使用超过预设阈值,根据所述权重参数获取后台运行的应用程序中的待清理的应用程序;以及清理所述待清理的应用程序。In one embodiment, step 12 may include: in response to the memory usage exceeding a preset threshold, obtaining an application to be cleaned out of the applications running in the background according to the weight parameter; and cleaning the application to be cleaned up.
通过将不使用的应用程序进行清理回收,可以释放应用程序所占用的内存,便于对待启动的应用程序进行加载。By cleaning up and recycling the unused applications, the memory occupied by the applications can be released and it is easy to load the applications to be started.
在步骤S13,响应于接收到所述待启动的应用程序的运行指令,将所述待启动的应用程序从后台运行切换到前台运行。In step S13, in response to receiving a running instruction of the application program to be started, the application program to be started is switched from running in the background to running in the foreground.
运行指令可以为响应于终端用户的操作而触发应用程序运行的 指令。A run instruction may be an instruction that triggers an application to run in response to an operation by an end user.
作为示例,通过权重参数获取待启动的应用程序为“微信”、“QQ”、“千千静听”,而“千千静听”已经启动,则提前启动“微信”与“QQ”,并将“微信”与“QQ”的进程转入后台运行。当接收到用户触控“微信”应用程序的图标或“QQ”应用程序的图标而触发的运行指令时,将“微信”或“QQ”的进程从后台切换至前台运行,从而使终端用户明显感受到应用程序的启动速度非常快,进而获得较好的使用体验。As an example, the applications to be launched through the weight parameter are "WeChat", "QQ", and "Qianqianjingting", and "Qianqianjingting" has already been started, so "WeChat" and "QQ" are started in advance, and Transfer the processes of "WeChat" and "QQ" to run in the background. When receiving a running instruction triggered by the user touching the icon of the "WeChat" application or the icon of the "QQ" application, the process of "WeChat" or "QQ" is switched from the background to the foreground to make it obvious to the end user I feel that the application launches very quickly, which leads to a better experience.
在一个实施例中,在步骤S13之后还可以包括:根据所述权重参数获取待启用设备,并对所述待启用设备进行初始化。In one embodiment, after step S13, the method may further include: obtaining the device to be activated according to the weight parameter, and initializing the device to be activated.
继续参照上述示例,假设正在前台运行“QQ”应用程序,通过权重参数获取待启用设备为终端的摄像头,从而对终端的摄像头进行初始化。在“QQ”应用程序启动终端的摄像头进行拍摄时,终端用户可明显感受到摄像头的启动速度非常快,进而获得较好的使用体验。Continuing to refer to the above example, it is assumed that the "QQ" application is running in the foreground, and the camera of the terminal is obtained through the weight parameter to initialize the camera of the terminal. When the "QQ" application starts the camera of the terminal for shooting, the end user can obviously feel that the camera starts up very fast, and thus obtain a better experience.
根据本公开实施例的应用程序管理方法,通过机器学习模型训练得到的权重参数可用于获取待启动的应用程序,并可以将待启动的应用程序加载到后台运行,从而使得应用程序可以快速地启动,提升用户体验。According to the application management method in the embodiment of the present disclosure, the weight parameters obtained through training of the machine learning model can be used to obtain the application to be started, and the application to be started can be loaded to run in the background, so that the application can be started quickly To improve user experience.
图2为根据本公开实施例的应用程序管理装置的结构示意图。FIG. 2 is a schematic structural diagram of an application management apparatus according to an embodiment of the present disclosure.
如图2所示,根据本公开实施例的应用程序管理装置可以包括第一获取模块21、加载模块22以及切换模块23。As shown in FIG. 2, the application management apparatus according to an embodiment of the present disclosure may include a first obtaining module 21, a loading module 22, and a switching module 23.
第一获取模块21构造为获取通过机器学习模型训练得到的权重参数。The first acquisition module 21 is configured to acquire weight parameters obtained through training of a machine learning model.
在一个实施例中,第一获取模块21可进一步构造为:收集应用程序的启动数据以及修改设备的数据,并且根据所述应用程序的启动数据以及相关设备的数据,通过所述机器学习模型训练得到所述权重参数。In one embodiment, the first obtaining module 21 may be further configured to collect startup data of an application program and modify data of a device, and train the machine learning model according to the startup data of the application program and data of a related device. The weight parameter is obtained.
加载模块22构造为根据所述权重参数获取待启动的应用程序,并将所述待启动的应用程序加载到后台运行。The loading module 22 is configured to obtain an application to be started according to the weight parameter, and load the application to be started to run in the background.
切换模块23构造为响应于接收到所述待启动的应用程序的运行 指令,将所述待启动的应用程序从后台运行切换到前台运行。The switching module 23 is configured to switch the to-be-started application program from a background operation to a foreground operation in response to receiving a running instruction of the to-be-started application program.
图3为根据本公开实施例的应用程序管理装置的另一结构示意图。FIG. 3 is another schematic structural diagram of an application management apparatus according to an embodiment of the present disclosure.
如图3所示,根据本公开实施例的应用程序管理装置还可以包括第二获取模块24和清理模块25。As shown in FIG. 3, the application management apparatus according to an embodiment of the present disclosure may further include a second obtaining module 24 and a cleaning module 25.
第二获取模块24构造为获取内存使用情况。The second acquisition module 24 is configured to acquire a memory usage situation.
清理模块25构造为根据所述内存使用情况清理后台运行的应用程序。The cleaning module 25 is configured to clean up applications running in the background according to the memory usage.
在一个实施例中,清理模块25可进一步构造为:响应于内存使用超过预设阈值,根据所述权重参数获取后台运行的应用程序中的待清理的应用程序,并且清理所述待清理的应用程序。In one embodiment, the cleaning module 25 may be further configured to: in response to the memory usage exceeding a preset threshold, obtain the application to be cleaned from the applications running in the background according to the weight parameter, and clean the application to be cleaned program.
如图3所示,根据本公开实施例的应用程序管理装置还可以包括设备初始化模块26。As shown in FIG. 3, the application management apparatus according to an embodiment of the present disclosure may further include a device initialization module 26.
设备初始化模块26构造为根据所述权重参数获取待启用设备,并对所述待启用设备进行初始化。The device initialization module 26 is configured to obtain a device to be activated according to the weight parameter, and initialize the device to be activated.
图4为根据本公开实施例的移动终端结构示意图。FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
如图4所示,根据本公开实施例的移动终端包括存储器31和处理器32。存储器31上存储有计算机程序,所述计算机程序被处理器32执行时,处理器32可以执行根据本公开各实施例的应用程序管理方法。As shown in FIG. 4, the mobile terminal according to an embodiment of the present disclosure includes a memory 31 and a processor 32. A computer program is stored on the memory 31. When the computer program is executed by the processor 32, the processor 32 may execute an application program management method according to various embodiments of the present disclosure.
本公开实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,所述处理器可以执行根据本公开各实施例的应用程序管理方法。An embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the processor may execute the application program management method according to the embodiments of the present disclosure.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。Those of ordinary skill in the art can understand that all or some steps in the methods disclosed above, and functional modules / units in the device can be implemented as software, firmware, hardware, and appropriate combinations thereof.
在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字 信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。In a hardware implementation, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components execute cooperatively. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media). As is known to those of ordinary skill in the art, the term computer storage medium includes both volatile and nonvolatile implementations in any method or technology used to store information such as computer-readable instructions, data structures, program modules or other data. Removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or Any other medium used to store desired information and which can be accessed by a computer.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。本公开的保护范围应以所述权利要求的保护范围以准。The above are only specific implementations of the present disclosure, but the scope of protection of the present disclosure is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present disclosure. It should be covered by the protection scope of this disclosure. The protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (12)

  1. 一种应用程序管理方法,包括:An application management method includes:
    获取通过机器学习模型训练得到的权重参数;Obtaining weight parameters obtained through machine learning model training;
    根据所述权重参数获取待启动的应用程序,并将所述待启动的应用程序加载到后台运行;以及Obtaining an application to be started according to the weight parameter, and loading the application to be started to run in the background; and
    响应于接收到所述待启动的应用程序的运行指令,将所述待启动的应用程序从后台运行切换到前台运行。In response to receiving a running instruction of the application program to be started, the application program to be started is switched from running in the background to running in the foreground.
  2. 根据权利要求1所述的应用程序管理方法,其中,获取通过机器学习模型训练得到的权重参数的步骤包括:The method for managing an application program according to claim 1, wherein the step of obtaining weight parameters obtained through training of a machine learning model comprises:
    收集应用程序的启动数据以及相关设备的数据;以及Collect application launch data and related device data; and
    根据所述应用程序的启动数据以及相关设备的数据,通过所述机器学习模型训练得到所述权重参数。The weight parameters are obtained by training the machine learning model according to the startup data of the application and data of related equipment.
  3. 根据权利要求1所述的应用程序管理方法,其中,在根据所述权重参数获取待启动的应用程序,并将所述待启动的应用程序加载到后台运行的步骤之前,所述方法还包括:The method for managing an application program according to claim 1, wherein before the step of obtaining an application program to be started according to the weight parameter and loading the application program to be started to run in the background, the method further comprises:
    获取内存使用情况;以及Get memory usage; and
    根据所述内存使用情况清理后台运行的应用程序。Clean up applications running in the background according to the memory usage.
  4. 根据权利要求3所述的应用程序管理方法,其中,根据所述内存使用情况清理后台运行的应用程序的步骤包括:The method for managing an application program according to claim 3, wherein the step of cleaning an application running in the background according to the memory usage comprises:
    响应于内存使用超过预设阈值,根据所述权重参数获取后台运行的应用程序中的待清理的应用程序;以及In response to the memory usage exceeding a preset threshold, obtaining an application to be cleaned out of the applications running in the background according to the weight parameter; and
    清理所述待清理的应用程序。Clean up the application to be cleaned.
  5. 根据权利要求1所述的应用程序管理方法,其中,在响应于接收到所述待启动的应用程序的运行指令,将所述待启动的应用程序从后台运行切换到前台运行的步骤之后,所述还包括:The method for managing an application program according to claim 1, wherein, in response to receiving a running instruction of the application program to be started, switching the application program to be started from a background operation to a foreground operation, It also includes:
    根据所述权重参数获取待启用设备,并对所述待启用设备进行初始化。Acquiring the device to be activated according to the weight parameter, and initializing the device to be activated.
  6. 一种应用程序管理装置,包括第一获取模块、加载模块以及切换模块,An application management device includes a first acquisition module, a loading module, and a switching module.
    所述第一获取模块构造为获取通过机器学习模型训练得到的权重参数,The first acquisition module is configured to acquire weight parameters obtained through training of a machine learning model,
    所述加载模块构造为根据所述权重参数获取待启动的应用程序,并将所述待启动的应用程序加载到后台运行,并且The loading module is configured to obtain an application to be started according to the weight parameter, and load the application to be started to run in the background, and
    所述切换模块构造为响应于接收到所述待启动的应用程序的运行指令,将所述待启动的应用程序从后台运行切换到前台运行。The switching module is configured to switch the to-be-started application program from a background operation to a foreground operation in response to receiving a running instruction of the to-be-started application program.
  7. 根据权利要求6所述的应用程序管理装置,其中,所述第一获取模块构造为:The application management device according to claim 6, wherein the first acquisition module is configured as:
    收集应用程序的启动数据以及相关设备的数据,并且Collect application launch data and related device data, and
    根据所述应用程序的启动数据以及相关设备的数据,通过所述机器学习模型训练得到所述权重参数。The weight parameters are obtained by training the machine learning model according to the startup data of the application and data of related equipment.
  8. 根据权利要求6所述的应用程序管理装置,还包括第二获取模块和清理模块,The application management apparatus according to claim 6, further comprising a second acquisition module and a cleaning module,
    所述第二获取模块构造为获取内存使用情况,并且The second obtaining module is configured to obtain a memory usage situation, and
    所述清理模块构造为根据所述内存使用情况清理后台运行的应用程序。The cleaning module is configured to clean up an application running in the background according to the memory usage.
  9. 根据权利要求8所述的应用程序管理装置,其中,所述清理模块构造为:The application management device according to claim 8, wherein the cleaning module is configured as:
    响应于内存使用超过预设阈值,根据所述权重参数获取后台运行的应用程序中的待清理的应用程序,并且In response to the memory usage exceeding a preset threshold, obtaining an application to be cleaned out of the applications running in the background according to the weight parameter, and
    清理所述待清理的应用程序。Clean up the application to be cleaned.
  10. 根据权利要求6所述的应用程序管理装置,还包括设备初始化模块,The apparatus for managing an application program according to claim 6, further comprising a device initialization module,
    所述设备初始化模块构造为根据所述权重参数获取待启用设备,并对所述待启用设备进行初始化。The device initialization module is configured to obtain a device to be activated according to the weight parameter, and initialize the device to be activated.
  11. 一种移动终端,包括存储器和处理器,在所述存储器上存储有计算机程序,所述计算机程序被所述处理器执行时,所述处理器执行根据权利要求1至5中任一项所述的应用程序管理方法。A mobile terminal includes a memory and a processor, and a computer program is stored on the memory. When the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 5. Application management method.
  12. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,所述处理器执行根据权利要求1至5中任一项所述的应用程序管理方法。A computer-readable storage medium having stored thereon a computer program. When the computer program is executed by a processor, the processor executes the application program management method according to any one of claims 1 to 5.
PCT/CN2019/091523 2018-06-22 2019-06-17 Method and apparatus for application program management, mobile terminal, and storage medium WO2019242580A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810648461.8 2018-06-22
CN201810648461.8A CN110633134A (en) 2018-06-22 2018-06-22 Application program management method and device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
WO2019242580A1 true WO2019242580A1 (en) 2019-12-26

Family

ID=68967799

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/091523 WO2019242580A1 (en) 2018-06-22 2019-06-17 Method and apparatus for application program management, mobile terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN110633134A (en)
WO (1) WO2019242580A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913759B (en) * 2020-07-31 2024-02-02 中国工商银行股份有限公司 Method, apparatus, computing device and medium for controlling execution of application program
CN112073820B (en) * 2020-09-08 2022-08-02 深圳创维-Rgb电子有限公司 Method and device for pre-starting television application program and computer readable storage medium
CN113068078A (en) * 2021-03-15 2021-07-02 湖南快乐阳光互动娱乐传媒有限公司 Network and content switching method and device thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325913A (en) * 2015-07-03 2017-01-11 龙芯中科技术有限公司 Application program starting method and apparatus
CN106951291A (en) * 2017-03-28 2017-07-14 努比亚技术有限公司 Application program accelerates to start method and device
CN107463403A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Course control method, device, storage medium and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885591A (en) * 2016-09-27 2018-04-06 华为技术有限公司 For the method and terminal of application distributing system resource
CN107249074A (en) * 2017-05-16 2017-10-13 努比亚技术有限公司 Application program quick start method, mobile terminal and computer-readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325913A (en) * 2015-07-03 2017-01-11 龙芯中科技术有限公司 Application program starting method and apparatus
CN106951291A (en) * 2017-03-28 2017-07-14 努比亚技术有限公司 Application program accelerates to start method and device
CN107463403A (en) * 2017-07-31 2017-12-12 广东欧珀移动通信有限公司 Course control method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN110633134A (en) 2019-12-31

Similar Documents

Publication Publication Date Title
WO2019242580A1 (en) Method and apparatus for application program management, mobile terminal, and storage medium
EP3479243B1 (en) Fault-tolerant variable region repaving during firmware over the air update
EP3073379B1 (en) Firmware recovery method, device and terminal
RU2615325C2 (en) Method and device for memory space reclamation
US10185553B2 (en) Fault-tolerant variable region repaving during firmware over the air update
CN109324857B (en) User guide implementation method, device and storage medium
US20160162302A1 (en) Fast initiation of workloads using memory-resident post-boot snapshots
CN105607972B (en) A kind of method and device repaired extremely
US10057273B1 (en) System and method for ensuring per tenant mutual exclusion of data and administrative entities with low latency and high scale
US20170168807A1 (en) Method and electronic device for updating application program
US11630851B2 (en) Systems and methods for providing predictions to applications executing on a computing device
CN108235756B (en) Audio competition playing device and method and mobile terminal
US11671379B1 (en) System and method for subscription management using dynamically composed management entities
CN111966410B (en) Start-up processing method and device, electronic equipment and storage medium
CN110515634A (en) Method, computer system and the medium of firmware are updated by Distal tool program
CN109117153A (en) Processing method, device, terminal and the storage medium of application program
EP3657326B1 (en) Broadcast event processing method and device
US11907153B2 (en) System and method for distributed subscription management
RU2632396C2 (en) Method and device to control router plug-in module
CN109471714B (en) Platform deployment method, device, equipment and storage medium
CN105573803A (en) Physical machine deployment method
CN106919460A (en) A kind of method for controlling broadcast transmission, device and mobile terminal
WO2015184959A2 (en) Method and apparatus for playing behavior event
CN104391742B (en) Optimizing application method and apparatus
CN113741945B (en) Cloud application-based application disk thermal updating method, device, medium and equipment

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: 19822915

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 07.05.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19822915

Country of ref document: EP

Kind code of ref document: A1