WO2017215089A1 - 应用冻结方法及移动终端 - Google Patents
应用冻结方法及移动终端 Download PDFInfo
- Publication number
- WO2017215089A1 WO2017215089A1 PCT/CN2016/092528 CN2016092528W WO2017215089A1 WO 2017215089 A1 WO2017215089 A1 WO 2017215089A1 CN 2016092528 W CN2016092528 W CN 2016092528W WO 2017215089 A1 WO2017215089 A1 WO 2017215089A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target application
- configuration file
- application
- frozen
- execution
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
Definitions
- the present application relates to the field of mobile terminal technologies, for example, to an application freezing method and a mobile terminal.
- the application technology of mobile terminals is also increasing. More and more applications can be installed in the mobile terminal in the related art to enable the terminal to implement more functions. In some cases, the user may choose to manually freeze some applications due to the mobile terminal running speed, the current memory usage ratio of the mobile terminal, the number of applications used, or current network security factors.
- the freezing of the application is triggered by the user actively, and the operation is cumbersome, so that the application freezing efficiency is low.
- the embodiment of the present application provides an application freezing method and a mobile terminal, so as to simplify the freezing operation and improve the efficiency of application freezing.
- the first aspect of the embodiment of the present application provides an application freezing method, including:
- the method further includes:
- the piece includes information indicating that the target application is thawed
- the original configuration file of the target application includes application entry information of the target application and system event information monitored by the target application;
- Modifying the original configuration file of the target application according to the frozen configuration file of the target application, so as to obtain the first execution configuration file of the target application including:
- the original configuration file of the target application includes application entry information of the target application
- Modifying the original configuration file of the target application according to the frozen configuration file of the target application, so as to obtain the first execution configuration file of the target application including:
- the application entry information in the original configuration file of the target application is modified based on the frozen configuration file of the target application, so that the first execution configuration file of the target application is obtained.
- the original configuration file of the target application includes system event information that is monitored by the target application
- Modifying the original configuration file of the target application according to the frozen configuration file of the target application, so as to obtain the first execution configuration file of the target application including:
- the method before the receiving the frozen configuration file of the target application delivered by the first server, the method further includes:
- the step of receiving the freeze configuration file of the target application delivered by the first server is performed.
- the method further includes:
- a second aspect of the embodiments of the present application provides a mobile terminal, including:
- a receiving unit configured to receive a frozen configuration file of a target application delivered by the first server, where the first server is configured to simultaneously send the frozen configuration file to a plurality of mobile terminals, and the frozen configuration file of the target application Containing information indicating that the target application is frozen;
- a modifying unit configured to modify an original configuration file of the target application according to the frozen configuration file of the target application, to obtain a first execution configuration file of the target application, where the first execution configuration file includes a Information obtained by the frozen configuration file for indicating that the target application is frozen;
- a freezing unit configured to run a first execution profile of the target application to freeze the target application.
- the receiving unit is further configured to receive a defrosted configuration file of the target application delivered by the second server, where the second server is configured to simultaneously deliver the multiple mobile terminals And releasing the thawed configuration file, where the thawed configuration file of the target application includes information used to indicate that the target application performs thawing;
- the modifying unit is further configured to modify a first execution configuration file of the target application according to the defrosted configuration file of the target application, thereby obtaining a second execution configuration file of the target application, where the second execution configuration
- the file includes information obtained from the defrosted configuration file to indicate that the target application is thawed;
- a defrosting unit configured to execute a second execution profile of the target application to thaw the target application.
- the original configuration file of the target application includes application entry information of the target application and system event information monitored by the target application;
- the modifying unit when modifying the original configuration file of the target application according to the frozen configuration file of the target application, to obtain the first execution configuration file of the target application, is set to be based on a frozen configuration file of the target application, modifying application entry information in the original configuration file of the target application, thereby obtaining a first execution configuration file of the target application; and modifying the target based on the frozen configuration file
- the original configuration file of the target application includes application entry information of the target application
- the modifying unit when modifying the original configuration file of the target application according to the frozen configuration file of the target application, to obtain the first execution configuration file of the target application, is set to freeze based on the target application And configuring a file to modify application entry information in the original configuration file of the target application, so as to obtain a first execution configuration file of the target application.
- the original configuration file of the target application includes system event information that is monitored by the target application
- the modifying unit when modifying the original configuration file of the target application according to the frozen configuration file of the target application, to obtain the first execution configuration file of the target application, is set to be based on the frozen configuration file, Modifying system event information of the application monitoring in the original configuration file of the target application, thereby obtaining a first execution configuration file of the target application.
- the receiving unit before receiving the frozen configuration file of the target application delivered by the first server, is further configured to receive the frozen application notification that is sent by the first server, where
- the freeze application notification carries the target application identifier, and the freeze application notification is used to remind the user that the target application corresponding to the target application identifier is frozen after a preset time period;
- a detecting unit configured to detect whether a confirmation freeze operation for the freeze application notification is received
- the notification unit is configured to notify the receiving unit to perform the operation of receiving the frozen configuration file of the target application delivered by the first server after the detecting unit detects the confirmation freezing operation for the frozen application notification.
- the mobile terminal further includes:
- An icon modification unit configured to delete an application icon corresponding to the target application, or to correspond to the target application, after the freeze execution unit runs the first execution configuration file of the target application to freeze the target application
- the upper layer of the application icon covers a preset image, and the preset image is used to indicate that the target application is frozen.
- the embodiment of the present application further provides a non-transitory computer readable storage medium storing computer executable instructions for performing the above method.
- the mobile terminal receives the frozen configuration file of the target application delivered by the first server, where the first server is configured to simultaneously deliver the frozen configuration file to multiple mobile terminals.
- the frozen configuration file of the target application includes information for indicating that the target application is frozen, and the mobile terminal modifies the original configuration file of the target application according to the frozen configuration file of the target application, thereby obtaining the target application.
- An execution configuration file where the first execution configuration file includes information obtained from the frozen configuration file to indicate that the target application is frozen, and the mobile terminal runs a first execution configuration file of the target application, thereby Freeze the target application.
- FIG. 1 is a schematic flowchart of an application freezing method according to a first embodiment of the present application
- FIG. 2 is a schematic flowchart of an application freezing method according to a second embodiment of the present application.
- FIG. 3 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present application.
- FIG. 4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present application.
- a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products, or equipment.
- references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application.
- the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will appreciate that the embodiments described herein can be combined with other embodiments. Combine.
- FIG. 1 is a schematic flowchart of an application freezing method according to a first embodiment of the present application.
- the application freezing method in the embodiment of the present application includes the following steps:
- the mobile terminal receives the frozen configuration file of the target application delivered by the first server, where the first server is configured to simultaneously deliver the frozen configuration file to the multiple mobile terminals, and the frozen configuration of the target application
- the file contains information indicating that the target application is frozen.
- the mobile terminal modifies the original configuration file of the target application according to the frozen configuration file of the target application, thereby obtaining a first execution configuration file of the target application, where the first execution configuration file includes And the information obtained by the frozen configuration file is used to indicate that the target application is frozen.
- the original configuration file of the target application includes application entry information of the target application and system event information monitored by the target application;
- the method for modifying the original configuration file of the target application according to the frozen configuration file of the target application, so as to obtain the first execution configuration file of the target application may be:
- the mobile terminal runs a first execution profile of the target application, thereby freezing the target application.
- the mobile terminal receives the frozen configuration file of the target application delivered by the first server, where the first server is configured to simultaneously deliver the frozen configuration file to the multiple mobile terminals, where the target
- the frozen configuration file of the application includes information for indicating that the target application is frozen
- the mobile terminal modifies the original configuration file of the target application according to the frozen configuration file of the target application, thereby obtaining the first execution of the target application.
- a configuration file, where the first execution configuration file includes information obtained from the frozen configuration file for indicating that the target application is frozen
- the mobile terminal runs a first execution configuration file of the target application, thereby The target application is frozen.
- the mobile terminal may also perform the following operations:
- the second server is configured to simultaneously deliver the defrosted configuration file to the plurality of mobile terminals, where the defrosted configuration file of the target application includes Information about the target application for thawing;
- the mobile terminal before receiving the frozen configuration file of the target application delivered by the first server, the mobile terminal may perform the following operations:
- the step of receiving the freeze configuration file of the target application delivered by the first server is performed.
- the following operations may also be performed:
- FIG. 2 is a schematic flowchart of an application freezing method according to a second embodiment of the present application.
- the application freezing method in the embodiment of the present application includes the following steps:
- the mobile terminal receives the freeze application notification that is sent by the first server, where the freeze application notification carries the target application identifier, and the freeze application notification is used to remind the user that the target application corresponding to the target application identifier is It is frozen after the preset time period.
- the mobile terminal detects whether a confirmation freeze operation for the freeze application notification is received.
- the mobile terminal performs S230 after detecting the confirmation freeze operation for the freeze application notification.
- the mobile terminal receives the frozen configuration file of the target application delivered by the first server, where the first server is configured to simultaneously deliver the frozen configuration file to the multiple mobile terminals, where the The frozen profile of the target application contains information indicating that the target application is frozen.
- the first server sends the frozen configuration file to multiple mobile terminals simultaneously through an Over the Air Technology (OTA).
- OTA Over the Air Technology
- the mobile terminal downloads the frozen configuration file through a wireless network or a mobile data network without downloading the frozen configuration file through a wired connection.
- the mobile terminal modifies the original configuration file of the target application according to the frozen configuration file of the target application, thereby obtaining a first execution configuration file of the target application, where the first execution configuration file includes And the information obtained by the frozen configuration file is used to indicate that the target application is frozen.
- the original configuration file of the target application includes application entry information of the target application and system event information monitored by the target application;
- the method for modifying the original configuration file of the target application according to the frozen configuration file of the target application, so as to obtain the first execution configuration file of the target application may be:
- the Android application needs to register the application entry and the monitored system event into the application's configuration file during development.
- the entry to an application is the Main Activity, so the system launches the portal when the user clicks on the program icon. If you need to monitor the system's power refresh event, you can register a receiver, you can notify the corresponding application when the system's power changes.
- the system monitors the events and portals registered by the application, and when the corresponding event occurs, it will perform the corresponding operation according to the application's configuration file.
- the Android system responds to various types of messages generated by the system by registering events in the system by the application itself.
- An event is an action in which a user interacts with an application's user interface (UI).
- Commonly used events include: on Click button click event, on Long Click long press event, on Create Context Menu context menu event, on Focus Change focus event, on Touch Event touch screen event, and on Key Up keyboard event.
- the mobile terminal may determine the location of the configuration file of the target application, where The implementation of determining the location of the target application's configuration file can be:
- each application has a configuration file named AndroidManifest.xml, located in the root directory of each application. For example, when the user needs to freeze the QQ application, find the configuration file in the QQ program installation file and determine the location as data/app/com.tecent.qq/AndroidManifest.xml.
- the configuration file includes entry information of the application and registration event information of the application in the terminal system. Each application can register one or more events.
- the registration event information includes: the application's package name package, the entry registration activity name, self-starting events, and other events.
- the mobile terminal runs a first execution profile of the target application, thereby freezing the target application.
- the configuration file is modified, that is, the entry information of the target application and all registration event information are modified, because the configuration file includes the entry information and the registration event information of the application.
- the target application has no entry, and does not perform any event that can be triggered, thereby achieving the purpose of freezing.
- the frozen application becomes a suspended state, and the frozen application does not perform operations such as background startup to reduce application resource consumption to the mobile terminal, but the frozen application still exists in the mobile terminal.
- the mobile terminal receives the defrosted configuration file of the target application delivered by the second server, where the second server is configured to simultaneously deliver the defrosted configuration file to the plurality of mobile terminals, and the defrosting configuration of the target application
- the file contains information indicating that the target application is thawed.
- the mobile terminal modifies the first execution configuration file of the target application according to the defrosted configuration file of the target application, thereby obtaining a second execution configuration file of the target application, where the second execution configuration file includes Information obtained from the defrosted configuration file indicating that the target application is defrosting.
- the mobile terminal runs a second execution profile of the target application to thaw the target application.
- the mobile terminal deletes the application icon corresponding to the target application, or overlays a preset image on the application icon corresponding to the target application, where the preset image is used to indicate that the target application is frozen.
- the mobile terminal may delete the target application after the target application is frozen.
- the application icon, wherein the deletion of the application icon corresponding to the target application may be: the mobile terminal searches for the shortcut startup file of the target application and backs up the shortcut startup file of the target application, and deletes the shortcut startup file after the backup is completed.
- the shortcut startup file may be backed up to another newly created backup folder directory, or the backup startup startup file may be classified into the cloud.
- the configuration file may be backed up to the local disk file system. Or, it is sent to the cloud software platform for virtual network storage, which is not limited in the embodiment of the present application.
- the shortcut startup file is also the shortcut displayed by the application on the system desktop. It exists in the system database, usually a file with a .lnk suffix.
- the mobile terminal may further overlay a preset image on the application icon corresponding to the target application, where the preset image is used to indicate that the target application is frozen.
- the preset image may be a frozen image identification image, such as an ice layer or the like.
- the mobile terminal receives the frozen configuration file of the target application delivered by the first server, where the first server is configured to simultaneously deliver the frozen configuration file to multiple mobile terminals.
- the frozen configuration file of the target application includes information for indicating that the target application is frozen, and the mobile terminal modifies the original configuration file of the target application according to the frozen configuration file of the target application, thereby obtaining the target application.
- a first execution configuration file where the first execution configuration file includes information obtained from the frozen configuration file for indicating that the target application is frozen, and the mobile terminal runs the first execution configuration file of the target application , thereby freezing the target application.
- the device embodiment of the present application is used to perform the method for implementing the first to second embodiments of the present application.
- the device embodiment of the present application is used to perform the method for implementing the first to second embodiments of the present application.
- the device embodiment of the present application is used to perform the method for implementing the first to second embodiments of the present application.
- Only parts related to the embodiment of the present application are shown, and the technical details are not disclosed. Please refer to Embodiment 1 and Embodiment 2 of the present application.
- FIG. 3 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present disclosure.
- the mobile terminal in the embodiment of the present application includes the following units:
- the receiving unit 301 is configured to receive a frozen configuration file of the target application delivered by the first server, where the first server is configured to simultaneously send the frozen configuration file to the multiple mobile terminals, and the frozen configuration of the target application
- the file contains information indicating that the target application is frozen
- the modifying unit 302 is configured to modify the original configuration file of the target application according to the frozen configuration file of the target application, thereby obtaining a first execution configuration file of the target application, where the An execution configuration file includes information obtained from the frozen configuration file for indicating that the target application is frozen; and,
- the freezing unit 303 is configured to run the first execution profile of the target application to freeze the target application.
- the receiving unit 301 is further configured to receive a defrosted configuration file of the target application delivered by the second server, where the second server is configured to simultaneously serve multiple mobile terminals. And sending the thawed configuration file, where the thawed configuration file of the target application includes information used to indicate that the target application performs thawing;
- the modifying unit 302 is further configured to modify a first execution configuration file of the target application according to the defrosted configuration file of the target application, thereby obtaining a second execution configuration file of the target application, where the second execution
- the configuration file includes information obtained from the defrosted configuration file for indicating that the target application performs thawing;
- the mobile terminal may further include:
- the defrosting unit 304 is configured to run a second execution profile of the target application to thaw the target application.
- the original configuration file of the target application includes application entry information of the target application and system event information monitored by the target application;
- the modifying unit 302 when modifying the original configuration file of the target application according to the frozen configuration file of the target application, to obtain the first execution configuration file of the target application, is set to be based on the target a frozen configuration file of the application, modifying application entry information in the original configuration file of the target application to obtain a first execution configuration file of the target application; and/or modifying the target based on the frozen configuration file
- the receiving unit 301 is further configured to receive the frozen application notification that is sent by the first server, before receiving the frozen configuration file of the target application delivered by the first server,
- the freeze application notification carries the target application identifier, and the freeze application notification is used to remind the user that the target application corresponding to the target application identifier is frozen after a preset time period;
- the detecting unit 305 is configured to detect whether a confirmation freeze operation for the freeze application notification is received
- the notification unit 306 is configured to notify the receiving unit 301 to perform the receiving of the target application delivered by the first server after the detecting unit detects the confirmation freezing operation for the frozen application notification The operation of freezing the configuration file.
- the mobile terminal may further include:
- An icon modification unit 307 after the freeze execution unit 303 runs the first execution profile of the target application, thereby freezing the target application, setting to delete the application icon corresponding to the target application, or at the target
- the upper layer of the application application icon overlays the preset image, and the preset image is used to indicate that the target application is frozen.
- the mobile terminal receives the frozen configuration file of the target application delivered by the first server, where the first server is configured to simultaneously deliver the frozen configuration file to multiple mobile terminals.
- the frozen configuration file of the target application includes information for indicating that the target application is frozen, and the mobile terminal modifies the original configuration file of the target application according to the frozen configuration file of the target application, thereby obtaining the target application.
- a first execution configuration file where the first execution configuration file includes information obtained from the frozen configuration file for indicating that the target application is frozen, and the mobile terminal runs the first execution configuration file of the target application , thereby freezing the target application.
- FIG. 4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present application.
- the mobile terminal in the embodiment of the present application includes at least one processor 401, such as a CPU, at least one receiver 403, at least one memory 404, at least one transmitter 405, and at least one communication bus 402.
- the communication bus 402 is used to implement connection communication between these components.
- the receiver 403 and the transmitter 405 of the device in the embodiment of the present application may be a wired sending port, or may be a wireless device, for example, including an antenna device, for performing signaling or data communication with other node devices.
- the memory 404 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
- the memory 404 can optionally also be at least one storage device located remotely from the aforementioned processor 401.
- a set of program code is stored in memory 404, and said processor 401 can invoke code stored in memory 404 via communication bus 402 to perform the associated functions.
- the processor 401 is configured to receive a frozen configuration file of a target application that is sent by the first server, where the first server is configured to simultaneously send the frozen configuration file to multiple mobile terminals, where the target application is
- the frozen configuration file includes information indicating that the target application is frozen
- the processor 401 may be further configured to receive a defrosted configuration file of the target application delivered by the second server, where the second server is configured to simultaneously send to the multiple mobile terminals. And releasing the thawed configuration file, where the thawed configuration file of the target application includes information used to indicate that the target application performs thawing;
- the original configuration file of the target application includes application entry information of the target application and system event information monitored by the target application;
- the processor 401 when the original configuration file of the target application is modified according to the frozen configuration file of the target application, to obtain the first execution configuration file of the target application, for the target application a frozen configuration file, modifying application entry information in the original configuration file of the target application to obtain a first execution configuration file of the target application; and/or modifying the target application based on the frozen configuration file
- the processor 401 may be configured to receive the frozen application notification that is sent by the first server before receiving the frozen configuration file of the target application delivered by the first server.
- the freeze application notification carries the target application identifier, the freeze application notification is used to remind the user that the target application corresponding to the target application identifier is frozen after a preset time period; and the application notification for the freeze is detected.
- the step of receiving the frozen configuration file of the target application delivered by the first server is performed.
- the processor 401 may be further configured to delete the target after the first execution profile for running the target application is used to freeze the target application. Applying a corresponding application icon, or overlaying a preset image on the application icon corresponding to the target application, the preset image is used to indicate that the target application is frozen.
- each unit may refer to the description of related steps in the corresponding embodiment in FIG. 2 As described, it will not be described here.
- the mobile terminal receives the frozen configuration file of the target application delivered by the first server, where the first server is configured to simultaneously deliver the frozen configuration file to multiple mobile terminals.
- the frozen configuration file of the target application includes information for indicating that the target application is frozen, and the mobile terminal modifies the original configuration file of the target application according to the frozen configuration file of the target application, thereby obtaining the target application.
- a first execution configuration file where the first execution configuration file includes information obtained from the frozen configuration file for indicating that the target application is frozen, and the mobile terminal runs the first execution configuration file of the target application , thereby freezing the target application.
- the embodiment of the present application further provides a non-transitory computer readable storage medium, wherein the computer storage medium may store a program, where the program includes any part of the application freezing method method described in the foregoing method embodiment or All steps.
- the sequence of steps of the method in the embodiment of the present application may be adjusted, merged, or deleted according to actual needs.
- the unit of the terminal in the embodiment of the present application may be integrated, divided, or deleted according to actual needs.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are schematic, for example, the division of the unit is a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated into Another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or It can also be distributed to multiple network elements. Some or all of the units may be selected according to actual needs to implement the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- the technical solution of the present application or the part contributing to the related technology or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several
- the instructions are for causing a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
- the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
- the program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or optical disk.
- ROM Read-Only Memory
- RAM Random Access Memory
- the application freezing method and the mobile terminal provided in the embodiment of the present application the process of freezing the application by the mobile terminal in the method does not require a person to participate in the setting. Therefore, the implementation of the embodiment of the present application can simplify the freezing operation and improve the efficiency of the application freezing.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
一种应用冻结方法及移动终端,其中的方法包括:移动终端接收第一服务器下发的目标应用的冻结配置文件(S110),其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息;移动终端根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件(S120),其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息;移动终端运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结(S130)。
Description
本申请要求于2016年6月15日提交中国专利局,申请号为201610421542.5、发明名称为“一种应用冻结方法及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及移动终端技术领域,例如涉及一种应用冻结方法及移动终端。
随着人们对移动终端的要求越来越高,移动终端的应用技术也日益增进。相关技术中的移动终端中可以安装越来越多的应用以使终端实现更多的功能。在一些情况下,用户出于移动终端运行速度、移动终端当前内存占用比例、应用的使用次数或者当前网络安全因素等考虑,会选择手动将一些应用进行冻结。
但是,相关技术中,应用的冻结都是由用户主动触发的,操作繁琐,使得应用冻结效率低。
发明内容
本申请实施例提供了一种应用冻结方法及移动终端,以期简化冻结操作,提高应用冻结的效率。
本申请实施例第一方面提供一种应用冻结方法,包括:
接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息;
根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息;以及,
运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。
结合第一方面,在一些可能的实现方式中,所述方法还包括:
接收第二服务器下发的目标应用的解冻配置文件,其中,所述第二服务器用于同时向多个移动终端下发所述解冻配置文件,所述目标应用的解冻配置文
件包含用于指示所述目标应用进行解冻的信息;
根据所述目标应用的解冻配置文件修改所述目标应用的第一执行配置文件,从而得到所述目标应用的第二执行配置文件,其中,所述第二执行配置文件包括从所述解冻配置文件获得的用于指示所述目标应用进行解冻的信息;以及,
运行所述目标应用的第二执行配置文件,从而对所述目标应用进行解冻。
结合第一方面,在一些可能的实现方式中,所述目标应用的原有配置文件包括目标应用的应用入口信息以及目标应用监听的系统事件信息;
所述根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,包括:
基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件;以及,基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
结合第一方面,在一些可能的实现方式中,所述目标应用的原有配置文件包括目标应用的应用入口信息;
所述根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,包括:
基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件。
结合第一方面,在一些可能的实现方式中,所述目标应用的原有配置文件包括目标应用监听的系统事件信息;
所述根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,包括:
基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
结合第一方面,在一些可能的实现方式中,所述接收第一服务器下发的目标应用的冻结配置文件之前,所述方法还包括:
接收所述第一服务器推送的冻结应用通知,所述冻结应用通知携带所述目标应用标识,所述冻结应用通知用于提醒用户所述目标应用标识对应的目标应用会在预设时间段后被冻结;以及,
在检测到针对所述冻结应用通知的确认冻结操作后,执行所述接收第一服务器下发的目标应用的冻结配置文件的步骤。
结合第一方面,在一些可能的实现方式中,所述运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结之后,所述方法还包括:
删除所述目标应用对应的应用图标,或在所述目标应用对应的应用图标上层覆盖预设图像,所述预设图像用于表示所述目标应用被冻结。
本申请实施例第二方面提供一种移动终端,包括:
接收单元,设置为接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息;
修改单元,设置为根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息;以及,
冻结单元,设置为运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。
结合第二方面,在一些可能的实现方式中,所述接收单元,还设置为接收第二服务器下发的目标应用的解冻配置文件,其中,所述第二服务器用于同时向多个移动终端下发所述解冻配置文件,所述目标应用的解冻配置文件包含用于指示所述目标应用进行解冻的信息;
所述修改单元,还设置为根据所述目标应用的解冻配置文件修改所述目标应用的第一执行配置文件,从而得到所述目标应用的第二执行配置文件,其中,所述第二执行配置文件包括从所述解冻配置文件获得的用于指示所述目标应用进行解冻的信息;以及,
解冻单元,设置为运行所述目标应用的第二执行配置文件,从而对所述目标应用进行解冻。
结合第二方面,在一些可能的实现方式中,所述目标应用的原有配置文件包括目标应用的应用入口信息以及目标应用监听的系统事件信息;
所述修改单元,在根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件时,是设置为基于
所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件;和基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
结合第二方面,在一些可能的实现方式中,所述目标应用的原有配置文件包括目标应用的应用入口信息;
所述修改单元,在根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件时,是设置为基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件。
结合第二方面,在一些可能的实现方式中,所述目标应用的原有配置文件包括目标应用监听的系统事件信息;
所述修改单元,在根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件时,是设置为基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
结合第二方面,在一些可能的实现方式中,所述接收单元,在接收第一服务器下发的目标应用的冻结配置文件之前,还设置为接收所述第一服务器推送的冻结应用通知,所述冻结应用通知携带所述目标应用标识,所述冻结应用通知用于提醒用户所述目标应用标识对应的目标应用会在预设时间段后被冻结;
检测单元,设置为检测是否接收到针对所述冻结应用通知的确认冻结操作;以及,
通知单元,设置为在所述检测单元检测到针对所述冻结应用通知的确认冻结操作后,通知所述接收单元执行所述接收第一服务器下发的目标应用的冻结配置文件的操作。
结合第二方面,在一些可能的实现方式中,所述移动终端还包括:
图标修改单元,在所述冻结单元运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结之后,设置为删除所述目标应用对应的应用图标,或在所述目标应用对应的应用图标上层覆盖预设图像,所述预设图像用于表示所述目标应用被冻结。
本申请实施例还提供一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。
本申请实施例提供的应用冻结方法,移动终端接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息,移动终端根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息,移动终端运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。可见,上述移动终端冻结应用的过程不需要人参与设置,因此,通过实施本申请实施例能够简化冻结操作,提高应用冻结的效率。
图1是本申请第一实施例提供的一种应用冻结方法的流程示意图;
图2是本申请第二实施例提供的一种应用冻结方法的流程示意图;
图3是本申请第三实施例提供的一种移动终端的结构示意图;
图4是本申请第四实施例提供的一种移动终端的结构示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员可以理解的是,本文所描述的实施例可以与其它实施例
相结合。
请参阅图1,图1是本申请第一实施例提供的一种应用冻结方法的流程示意图,如图1所示,本申请实施例中的应用冻结方法包括以下步骤:
在S110中,移动终端接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息。
在S120中,移动终端根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息。
本申请一些实施例中,所述目标应用的原有配置文件包括目标应用的应用入口信息以及目标应用监听的系统事件信息;
所述根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件的实现方式可以是:
基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件;和/或,基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
在S130中,移动终端运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。
本申请实施例技术方案中,移动终端接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息,移动终端根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息,移动终端运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。可见,上述移动终端冻结应用的过程不需要人参与设置,因此,通过实施本申请实施例能够简化冻结操作,提高应用冻结的效率。
可选的,本申请一些实施例中,移动终端还可以执行以下操作:
接收第二服务器下发的目标应用的解冻配置文件,其中,所述第二服务器用于同时向多个移动终端下发所述解冻配置文件,所述目标应用的解冻配置文件包含用于指示所述目标应用进行解冻的信息;
根据所述目标应用的解冻配置文件修改所述目标应用的第一执行配置文件,从而得到所述目标应用的第二执行配置文件,其中,所述第二执行配置文件包括从所述解冻配置文件获得的用于指示所述目标应用进行解冻的信息;以及,
运行所述目标应用的第二执行配置文件,从而对所述目标应用进行解冻。
可选的,本申请一些实施例中,移动终端在接收第一服务器下发的目标应用的冻结配置文件之前,还可以执行以下操作:
接收所述第一服务器推送的冻结应用通知,所述冻结应用通知携带所述目标应用标识,所述冻结应用通知用于提醒用户所述目标应用标识对应的目标应用会在预设时间段后被冻结;以及,
在检测到针对所述冻结应用通知的确认冻结操作后,执行所述接收第一服务器下发的目标应用的冻结配置文件的步骤。
可选的,本申请一些实施例中,移动终端运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结之后,还可以执行以下操作:
删除所述目标应用对应的应用图标,或在所述目标应用对应的应用图标上层覆盖预设图像,所述预设图像用于表示所述目标应用被冻结。
请参阅图2,图2是本申请第二实施例提供的一种应用冻结方法的流程示意图,如图2所示,本申请实施例中的应用冻结方法包括以下步骤:
在S210中,移动终端接收所述第一服务器推送的冻结应用通知,所述冻结应用通知携带所述目标应用标识,所述冻结应用通知用于提醒用户所述目标应用标识对应的目标应用会在预设时间段后被冻结。
在S220中,移动终端检测是否接收到针对所述冻结应用通知的确认冻结操作。
其中,移动终端在检测到针对所述冻结应用通知的确认冻结操作后,执行S230。
在S230中,移动终端接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目
标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息。
可选的,所述第一服务器通过空间下载技术(Over the Air Technology,OTA)向同时向多个移动终端下发所述冻结配置文件。移动终端通过无线网络或移动数据网络进行下载所述冻结配置文件,而不用通过有线连接来下载所述冻结配置文件。
在S240中,移动终端根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息。
其中,所述目标应用的原有配置文件包括目标应用的应用入口信息以及目标应用监听的系统事件信息;
所述根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件的实现方式可以是:
基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件;和/或,基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
可选的,Android应用程序在开发的时候需要将应用程序的入口以及监听的系统事件注册到该应用程序的配置文件中。例如,一个应用程序的入口是Main Activity,这样当用户点击程序图标时系统就会启动这个入口界面。如果需要监听系统的电量刷新事件就可以注册一个接收器,当系统的电量有变化时就可以通知相应的应用程序。当用户安装该应用程序后,系统就会监控应用程序所注册的事件和入口,当有相应的事件发生时就会根据应用程序的配置文件执行相应操作。
Android系统通过应用程序自行在系统中登记注册事件来响应系统产生的各类消息。事件是用户与应用程序的用户界面(User Interface,UI)交互的动作。常用的事件包括:on Click按钮单击事件、on Long Click长按事件、on Create Context Menu上下文菜单事件、on Focus Change焦点事件、on Touch Event触屏事件以及on Key Up键盘事件。
可选的,移动终端在根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件之前,可以先确定该目标应用的配置文件所在的位置,其中,
确定该目标应用的配置文件所在的位置的实现方式可以是:
在该应用程序的安装文件夹下通过文件夹树形结构查找该应用程序的配置文件。在Android系统中,每个应用程序都有一个配置文件,名称均为AndroidManifest.xml,位于各个应用程序的根目录下。比如:当用户需要冻结QQ应用程序时,查找QQ程序安装文件中的配置文件并确定位置为data/app/com.tecent.qq/AndroidManifest.xml。其中,配置文件中包括有该应用程序的入口信息以及该应用程序在终端系统中的注册事件信息。每个应用程序注册的事件可以是一个或多个,注册事件信息包括:应用程序的包名package、入口注册activity名称、自启动事件以及其他事件等属性。
在S250中,移动终端运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。
其中,由于配置文件中包含该应用程序的入口信息和注册事件信息,将配置文件进行修改也即修改了该目标应用的入口信息以及所有注册事件信息。这样操作之后,该目标应用就没有入口进入,也不会进行任何可以触发的事件,从而达到冻结的目的。
可选的,冻结后的应用变为假死状态,冻结后的应用不会进行后台启动等操作,以减少应用对移动终端的资源消耗,但是冻结后的应用仍存在于移动终端中。
在S260中,移动终端接收第二服务器下发的目标应用的解冻配置文件,其中,所述第二服务器用于同时向多个移动终端下发所述解冻配置文件,所述目标应用的解冻配置文件包含用于指示所述目标应用进行解冻的信息。
在S270中,移动终端根据所述目标应用的解冻配置文件修改所述目标应用的第一执行配置文件,从而得到所述目标应用的第二执行配置文件,其中,所述第二执行配置文件包括从所述解冻配置文件获得的用于指示所述目标应用进行解冻的信息。
在S280中,移动终端运行所述目标应用的第二执行配置文件,从而对所述目标应用进行解冻。
在S290中,移动终端删除所述目标应用对应的应用图标,或在所述目标应用对应的应用图标上层覆盖预设图像,所述预设图像用于表示所述目标应用被冻结。
其中,移动终端在对目标应用进行冻结之后,可以删除所述目标应用对应
的应用图标,其中,删除所述目标应用对应的应用图标的实现方式可以是:移动终端查找该目标应用的快捷启动文件并将目标应用的快捷启动文件备份,备份完成后将该快捷启动文件删除。其中,可以将该快捷启动文件备份到另一个新建的备份文件夹目录下,也可以将需要备份快捷启动文件被分到云端,在本申请实施例中,配置文件可以备份到本地磁盘的文件系统或者发送到云端软件平台进行虚拟网络存储,本申请实施例不作限制。快捷启动文件也即该应用程序在系统桌面显示的快捷方式,它存在于系统数据库中,一般为后缀为.lnk的文件。
可选的,移动终端在对目标应用进行冻结之后,还可以在所述目标应用对应的应用图标上层覆盖预设图像,所述预设图像用于表示所述目标应用被冻结。其中,上述预设图像可以为冻结的形象标识图像,例如冰层等。
可以看出,本申请实施例技术方案中,移动终端接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息,移动终端根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息,移动终端运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。可见,上述移动终端冻结应用的过程不需要人参与设置,因此,通过实施本申请实施例能够简化冻结操作,提高应用冻结的效率。
下面为本申请装置实施例,本申请装置实施例用于执行本申请方法实施例一至二实现的方法,为了便于说明,仅示出了与本申请实施例相关的部分,技术细节未揭示的,请参照本申请实施例一和实施例二。
请参阅图3,图3是本申请第三实施例提供的一种移动终端的结构示意图,如图3所示,本申请实施例中的移动终端包括以下单元:
接收单元301,设置为接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息;
修改单元302,设置为根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第
一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息;以及,
冻结单元303,设置为运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。
可选的,本申请一些实施例中,所述接收单元301,还设置为接收第二服务器下发的目标应用的解冻配置文件,其中,所述第二服务器用于同时向多个移动终端下发所述解冻配置文件,所述目标应用的解冻配置文件包含用于指示所述目标应用进行解冻的信息;
所述修改单元302,还设置为根据所述目标应用的解冻配置文件修改所述目标应用的第一执行配置文件,从而得到所述目标应用的第二执行配置文件,其中,所述第二执行配置文件包括从所述解冻配置文件获得的用于指示所述目标应用进行解冻的信息;
所述移动终端还可以包括:
解冻单元304,设置为运行所述目标应用的第二执行配置文件,从而对所述目标应用进行解冻。
可选的,本申请一些实施例中,所述目标应用的原有配置文件包括目标应用的应用入口信息以及目标应用监听的系统事件信息;
所述修改单元302,在用于根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件时,是设置为基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件;和/或,基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
可选的,本申请一些实施例中,所述接收单元301,在用于接收第一服务器下发的目标应用的冻结配置文件之前,还设置为接收所述第一服务器推送的冻结应用通知,所述冻结应用通知携带所述目标应用标识,所述冻结应用通知用于提醒用户所述目标应用标识对应的目标应用会在预设时间段后被冻结;
检测单元305,设置为检测是否接收到针对所述冻结应用通知的确认冻结操作;
通知单元306,设置为在所述检测单元检测到针对所述冻结应用通知的确认冻结操作后,通知所述接收单元301执行所述接收第一服务器下发的目标应用的
冻结配置文件的操作。
可选的,本申请一些实施例中,所述移动终端还可以包括:
图标修改单元307,在所述冻结单元303运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结之后,设置为删除所述目标应用对应的应用图标,或在所述目标应用对应的应用图标上层覆盖预设图像,所述预设图像用于表示所述目标应用被冻结。
可选的,上述各个单元的实现可参考图1至图2对应实施例中相关步骤的描述,在此不赘述。
可以看出,本申请实施例技术方案中,移动终端接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息,移动终端根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息,移动终端运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。可见,上述移动终端冻结应用的过程不需要人参与设置,因此,通过实施本申请实施例能够简化冻结操作,提高应用冻结的效率。
请参考图4,图4是本申请第四实施例提供的一种移动终端的结构示意图。如图4所示,本申请实施例中的移动终端包括:至少一个处理器401,例如CPU,至少一个接收器403,至少一个存储器404,至少一个发送器405以及至少一个通信总线402。其中,通信总线402用于实现这些组件之间的连接通信。其中,本申请实施例中装置的接收器403和发送器405可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他节点设备进行信令或数据的通信。存储器404可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器404可选的还可以是至少一个位于远离前述处理器401的存储装置。存储器404中存储一组程序代码,且所述处理器401可通过通信总线402,调用存储器404中存储的代码以执行相关的功能。
所述处理器401,用于接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息;
根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息;
运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。
可选的,本申请一些实施例中,所述处理器401,还可以用于接收第二服务器下发的目标应用的解冻配置文件,其中,所述第二服务器用于同时向多个移动终端下发所述解冻配置文件,所述目标应用的解冻配置文件包含用于指示所述目标应用进行解冻的信息;
根据所述目标应用的解冻配置文件修改所述目标应用的第一执行配置文件,从而得到所述目标应用的第二执行配置文件,其中,所述第二执行配置文件包括从所述解冻配置文件获得的用于指示所述目标应用进行解冻的信息;
运行所述目标应用的第二执行配置文件,从而对所述目标应用进行解冻。
可选的,本申请一些实施例中,所述目标应用的原有配置文件包括目标应用的应用入口信息以及目标应用监听的系统事件信息;
所述处理器401,在用于根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件时,用于基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件;和/或,基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
可选的,本申请一些实施例中,所述处理器401,在用于接收第一服务器下发的目标应用的冻结配置文件之前,还可以用于接收所述第一服务器推送的冻结应用通知,所述冻结应用通知携带所述目标应用标识,所述冻结应用通知用于提醒用户所述目标应用标识对应的目标应用会在预设时间段后被冻结;在检测到针对所述冻结应用通知的确认冻结操作后,执行所述接收第一服务器下发的目标应用的冻结配置文件的步骤。
可选的,本申请一些实施例中,所述处理器401,在用于运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结之后,还可以用于删除所述目标应用对应的应用图标,或在所述目标应用对应的应用图标上层覆盖预设图像,所述预设图像用于表示所述目标应用被冻结。
可选的,上述各个单元的实现可参考图至图2对应实施例中相关步骤的描
述,在此不赘述。
可以看出,本申请实施例技术方案中,移动终端接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息,移动终端根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息,移动终端运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。可见,上述移动终端冻结应用的过程不需要人参与设置,因此,通过实施本申请实施例能够简化冻结操作,提高应用冻结的效率。
本申请实施例还提供一种非瞬时性计算机可读存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种应用冻结方法方法的部分或全部步骤。
需要说明的是,对于前述的各方法实施例,为了简单描述,故都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和单元并不一定是本申请所必须的。
本申请实施例的方法的步骤顺序可以根据实际需要进行调整、合并或删减。本申请实施例的终端的单元可以根据实际需要进行整合、划分或删减。
在上述实施例中,对各个实施例的描述都各有侧重,一个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例是示意性的,例如所述单元的划分,为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者
也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例的方案。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例所提供的一种应用冻结方法及移动终端进行介绍,以上实施例的说明只是用于帮助理解本申请综上所述,本说明书内容不应理解为对本申请的限制。
本申请实施例提供的应用冻结方法及移动终端,该方法中的移动终端冻结应用的过程不需要人参与设置,因此,通过实施本申请实施例能够简化冻结操作,提高应用冻结的效率。
Claims (15)
- 一种应用冻结方法,包括:接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息;根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结的信息;以及,运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。
- 根据权利要求1所述的方法,其中,所述方法还包括:接收第二服务器下发的目标应用的解冻配置文件,其中,所述第二服务器用于同时向多个移动终端下发所述解冻配置文件,所述目标应用的解冻配置文件包含用于指示所述目标应用进行解冻的信息;根据所述目标应用的解冻配置文件修改所述目标应用的第一执行配置文件,从而得到所述目标应用的第二执行配置文件,其中,所述第二执行配置文件包括从所述解冻配置文件获得的用于指示所述目标应用进行解冻的信息;以及,运行所述目标应用的第二执行配置文件,从而对所述目标应用进行解冻。
- 如权利要求1所述的方法,,其中,所述目标应用的原有配置文件包括目标应用的应用入口信息以及目标应用监听的系统事件信息;所述根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,包括:基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件;以及基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
- 如权利要求1所述的方法,其中,所述目标应用的原有配置文件包括目标应用的应用入口信息;所述根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文 件,从而得到所述目标应用的第一执行配置文件,包括:基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件。
- 如权利要求1所述的方法,其中,所述目标应用的原有配置文件包括目标应用监听的系统事件信息;所述根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,包括:基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
- 如权利要求1所述的方法,其中,所述接收第一服务器下发的目标应用的冻结配置文件之前,所述方法还包括:接收所述第一服务器推送的冻结应用通知,所述冻结应用通知携带所述目标应用标识,所述冻结应用通知用于提醒用户所述目标应用标识对应的目标应用会在预设时间段后被冻结;以及,在检测到针对所述冻结应用通知的确认冻结操作后,执行所述接收第一服务器下发的目标应用的冻结配置文件的步骤。
- 如权利要求1至6任一项所述的方法,其中,所述运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结之后,所述方法还包括:删除所述目标应用对应的应用图标,或在所述目标应用对应的应用图标上层覆盖预设图像,所述预设图像用于表示所述目标应用被冻结。
- 一种移动终端,包括:接收单元,设置为接收第一服务器下发的目标应用的冻结配置文件,其中,所述第一服务器用于同时向多个移动终端下发所述冻结配置文件,所述目标应用的冻结配置文件包含用于指示所述目标应用进行冻结的信息;修改单元,设置为根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件,其中,所述第一执行配置文件包括从所述冻结配置文件获得的用于指示所述目标应用进行冻结 的信息;以及,冻结单元,设置为运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结。
- 根据权利要求8所述的移动终端,其中,所述接收单元,还设置为接收第二服务器下发的目标应用的解冻配置文件,其中,所述第二服务器用于同时向多个移动终端下发所述解冻配置文件,所述目标应用的解冻配置文件包含用于指示所述目标应用进行解冻的信息;所述修改单元,还设置为根据所述目标应用的解冻配置文件修改所述目标应用的第一执行配置文件,从而得到所述目标应用的第二执行配置文件,其中,所述第二执行配置文件包括从所述解冻配置文件获得的用于指示所述目标应用进行解冻的信息;以及,解冻单元,设置为运行所述目标应用的第二执行配置文件,从而对所述目标应用进行解冻。
- 如权利要求8所述的移动终端,其中,所述目标应用的原有配置文件包括目标应用的应用入口信息以及目标应用监听的系统事件信息;所述修改单元,在根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件时,是设置为基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件;和基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
- 如权利要求8所述的移动终端,其中,所述目标应用的原有配置文件包括目标应用的应用入口信息;所述修改单元,在根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件时,是设置为基于所述目标应用的冻结配置文件,修改所述目标应用的原有配置文件中的应用入口信息,从而得到所述目标应用的第一执行配置文件。
- 如权利要求8所述的移动终端,其中,所述目标应用的原有配置文件包括目标应用监听的系统事件信息;所述修改单元,在根据所述目标应用的冻结配置文件修改所述目标应用的原有配置文件,从而得到所述目标应用的第一执行配置文件时,是设置为基于所述冻结配置文件,修改所述目标应用的原有配置文件中的应用监听的系统事件信息,从而得到所述目标应用的第一执行配置文件。
- 如权利要求8所述的移动终端,其中,所述接收单元,在接收第一服务器下发的目标应用的冻结配置文件之前,还设置为接收所述第一服务器推送的冻结应用通知,所述冻结应用通知携带所述目标应用标识,所述冻结应用通知用于提醒用户所述目标应用标识对应的目标应用会在预设时间段后被冻结;检测单元,设置为检测是否接收到针对所述冻结应用通知的确认冻结操作;以及,通知单元,设置为在所述检测单元检测到针对所述冻结应用通知的确认冻结操作后,通知所述接收单元执行所述接收第一服务器下发的目标应用的冻结配置文件的操作。
- 如权利要求8至13任一项所述的移动终端,其中,所述移动终端还包括:图标修改单元,在所述冻结单元运行所述目标应用的第一执行配置文件,从而对所述目标应用进行冻结之后,设置为删除所述目标应用对应的应用图标,或在所述目标应用对应的应用图标上层覆盖预设图像,所述预设图像用于表示所述目标应用被冻结。
- 一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-7任一项的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610421542.5 | 2016-06-15 | ||
CN201610421542.5A CN106095553A (zh) | 2016-06-15 | 2016-06-15 | 一种应用冻结方法及移动终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017215089A1 true WO2017215089A1 (zh) | 2017-12-21 |
Family
ID=57845378
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/092528 WO2017215089A1 (zh) | 2016-06-15 | 2016-07-31 | 应用冻结方法及移动终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106095553A (zh) |
WO (1) | WO2017215089A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669697A (zh) * | 2018-12-25 | 2019-04-23 | 北京潘达互娱科技有限公司 | 一种内容列表的组件化展示方法和移动终端 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120150785A1 (en) * | 2010-12-14 | 2012-06-14 | Microsoft Corporation | Addressing system degradation by application disabling |
CN102782645A (zh) * | 2009-12-21 | 2012-11-14 | 惠普发展公司,有限责任合伙企业 | 从远程设备中清除活动应用程序 |
CN103136043A (zh) * | 2013-01-28 | 2013-06-05 | 华为技术有限公司 | 一种异步io的迁移方法、系统和网络节点 |
CN104881299A (zh) * | 2014-02-28 | 2015-09-02 | 可牛网络技术(北京)有限公司 | 一种应用程序冻结方法及装置 |
CN105094962A (zh) * | 2015-08-25 | 2015-11-25 | 小米科技有限责任公司 | 应用程序禁用方法及装置 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102148948B1 (ko) * | 2013-12-06 | 2020-08-27 | 삼성전자주식회사 | 전자 장치의 멀티 태스킹 방법 및 그 전자 장치 |
CN103744681A (zh) * | 2014-01-16 | 2014-04-23 | 广州市久邦数码科技有限公司 | 一种冻结/解冻程序的方法及系统 |
CN105468426A (zh) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | 一种应用冻结的方法及终端 |
-
2016
- 2016-06-15 CN CN201610421542.5A patent/CN106095553A/zh active Pending
- 2016-07-31 WO PCT/CN2016/092528 patent/WO2017215089A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102782645A (zh) * | 2009-12-21 | 2012-11-14 | 惠普发展公司,有限责任合伙企业 | 从远程设备中清除活动应用程序 |
US20120150785A1 (en) * | 2010-12-14 | 2012-06-14 | Microsoft Corporation | Addressing system degradation by application disabling |
CN103136043A (zh) * | 2013-01-28 | 2013-06-05 | 华为技术有限公司 | 一种异步io的迁移方法、系统和网络节点 |
CN104881299A (zh) * | 2014-02-28 | 2015-09-02 | 可牛网络技术(北京)有限公司 | 一种应用程序冻结方法及装置 |
CN105094962A (zh) * | 2015-08-25 | 2015-11-25 | 小米科技有限责任公司 | 应用程序禁用方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669697A (zh) * | 2018-12-25 | 2019-04-23 | 北京潘达互娱科技有限公司 | 一种内容列表的组件化展示方法和移动终端 |
Also Published As
Publication number | Publication date |
---|---|
CN106095553A (zh) | 2016-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108040108B (zh) | 通信切换方法、装置、协调服务器及可读存储介质 | |
US10728314B2 (en) | Cross device application discovery and control | |
CN106095458B (zh) | 一种应用程序中插件的管理方法和装置 | |
US10320719B2 (en) | Message withdrawal method, apparatus and storage medium | |
EP3493059B1 (en) | Application data migration method and device | |
US20160224207A1 (en) | Method and system for freezing and unfreezing applications | |
CN106951335B (zh) | 一种进程守护方法和移动终端 | |
CN106155789B (zh) | 一种应用冻结方法及移动终端 | |
WO2017107830A1 (zh) | 一种安装应用软件的方法、装置及电子设备 | |
US20150244665A1 (en) | Apparatus and method for transmitting message | |
WO2020057131A1 (zh) | 内容分享方法、终端设备及存储介质 | |
US11317276B2 (en) | Methods and/or systems for activation and/or configuration of an electronic subscriber identity module (eSIM) | |
EP2687988A1 (en) | Method for contents backup and an electronic device thereof | |
US10474507B2 (en) | Terminal application process management method and apparatus | |
KR20130135134A (ko) | 원격으로 애플리케이션들을 설치 | |
WO2018000500A1 (zh) | 应用程序的管理方法、管理装置及移动终端 | |
CN104615421A (zh) | 虚拟礼物展示方法和装置 | |
CN110032321B (zh) | 应用程序处理方法和装置、电子设备、计算机可读存储介质 | |
CN109564517B (zh) | 将被本地删除的内容留存在存储服务处的方法和服务器 | |
CN109144596B (zh) | 快捷启动方法、装置、终端、服务器及系统 | |
US20160308879A1 (en) | Application-Based Service Providing Method, Apparatus, and System | |
WO2015058701A1 (zh) | 基于悬浮操作板的应用间通讯方法和装置 | |
WO2017215089A1 (zh) | 应用冻结方法及移动终端 | |
CN106850600B (zh) | 多媒体信息推送方法及装置 | |
CN115225966B (zh) | 应用启动方法、装置、终端设备和存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16905202 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16905202 Country of ref document: EP Kind code of ref document: A1 |