CN107231469B - Terminal application management method, terminal and computer readable storage medium - Google Patents

Terminal application management method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107231469B
CN107231469B CN201710330354.6A CN201710330354A CN107231469B CN 107231469 B CN107231469 B CN 107231469B CN 201710330354 A CN201710330354 A CN 201710330354A CN 107231469 B CN107231469 B CN 107231469B
Authority
CN
China
Prior art keywords
application
management
file
terminal
files
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710330354.6A
Other languages
Chinese (zh)
Other versions
CN107231469A (en
Inventor
张敏瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongtong Information Service Co., Ltd
Original Assignee
Zhongtong Information Service Co Ltd
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 Zhongtong Information Service Co Ltd filed Critical Zhongtong Information Service Co Ltd
Priority to CN201710330354.6A priority Critical patent/CN107231469B/en
Publication of CN107231469A publication Critical patent/CN107231469A/en
Application granted granted Critical
Publication of CN107231469B publication Critical patent/CN107231469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a terminal application management method, a terminal and a computer readable storage medium, wherein when an application management request is received, a corresponding target application is determined, then a file to be managed related to the target application is searched and managed, when the management mode is used for managing the target application, not only the application is managed, but also the file related to the application is managed, and the problem that the application cannot be well managed due to the fact that the existing terminal application management technology only manages the application per se is solved.

Description

Terminal application management method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal management, and in particular, to a terminal application management method, a terminal, and a computer-readable storage medium.
Background
With the sophistication and growth of terminal systems such as mobile phones, users increasingly rely on mobile phones to perform daily activities, and therefore requirements for endurance of terminals such as mobile phones are higher and higher.
In the prior art, in order to provide endurance, there are two main aspects: the method is characterized in that the battery capacity is increased, the equipment cost is increased, or the power consumption caused by background running of the application is reduced through the management application, but the method is performed for the managed application, and after the applications are managed, the applications can be awakened through related files and run in the background, so that the applications cannot be well managed.
Disclosure of Invention
The invention mainly aims to provide a terminal application management method, a terminal and a computer readable storage medium, and aims to solve the problem that the application cannot be well managed due to the fact that the existing terminal application management technology only manages the application.
In order to achieve the above object, the present invention provides a terminal application management method, including:
receiving an application management request, and determining a target application corresponding to the application management request;
searching a file to be managed related to the target application;
and managing the files to be managed.
In some embodiments, finding the file to be managed related to the target application comprises:
determining a management purpose of the application management request;
searching all files to be screened related to the target application;
and screening all the files to be screened according to the management purpose to determine the files to be managed.
In some embodiments, the managing is for killing, all the files to be screened are screened, and determining the files to be managed includes:
analyzing file attributes of files in all files to be screened;
determining awakening files in all files to be screened according to file attributes, wherein the awakening files are used for re-awakening the target application after the target application is killed;
and taking the awakening file as a file to be managed.
In some embodiments, the wake-up file comprises: carrying alarm information for a particular field.
In some embodiments, the alarm information carrying the special field includes alarm information with FLAG _ ALLOW _ WHILE _ IDLE.
In some embodiments, determining the target application to which the application management request corresponds includes:
determining a management object of the application management request;
and searching the application matched with the management object as a target application according to a preset rule.
In some embodiments, managing the file to be managed includes:
determining a management operation of an application management request;
determining a file management rule corresponding to management operation;
and managing the files to be managed according to the file management rules.
In some embodiments, when the file management rule is removal, managing the file to be managed includes:
taking a file to be managed as an object to be removed in a polling mode;
and removing the object to be removed.
Meanwhile, the present invention provides a terminal, comprising: the terminal application management program is stored on the memory and can be operated on the processor, and when being executed by the processor, the terminal application management program realizes the steps of the terminal application management method provided by the invention.
Meanwhile, the invention provides a computer readable storage medium, wherein a terminal application management program is stored on the computer readable storage medium, and the terminal application management program realizes the steps of the terminal application management method provided by the invention when being executed by a processor.
The method comprises the steps of determining a corresponding target application when an application management request is received, searching a file to be managed related to the target application, and managing the file, wherein the management mode is not only to manage the application but also to manage the file related to the application when the target application is managed; for example, when the management application is a destruction application, the prior art is only to destroy the application process, but the destroyed applications can be wakened again through other files, such as wake-up files carrying alarm information of special fields, and the like, and run in the background.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a flowchart of a terminal application management method according to a first embodiment of the present invention;
FIG. 4 is a flowchart of a terminal application management method according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to a first embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal according to a second embodiment of the present invention;
FIG. 7 is a first schematic diagram of a display interface according to an embodiment of the present invention;
FIG. 8 is a second schematic view of a display interface according to an embodiment of the present invention;
FIG. 9 is a third schematic view of a display interface according to an embodiment of the invention;
fig. 10 is a fourth schematic view of a display interface according to an embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (global system for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
As shown in fig. 3, a first embodiment of the terminal application management method of the present invention is provided, in which the terminal application management method includes the following steps:
s301: receiving an application management request, and determining a target application corresponding to the application management request;
s302: searching a file to be managed related to the target application;
s303: and managing the files to be managed.
In practical applications, the application management request according to the present invention refers to a request for requesting the terminal to manage an application, and the management may include operations such as deleting the application and cleaning the memory, which will be described in detail below.
In practical applications, one application management request may correspond to only one target application, or may be simultaneously targeted to multiple target applications, for example, an application management request for deleting an application generally appears in a scenario of deleting an application, and the corresponding target application may be one, while an application management request for destroying an application generally appears in a scenario of cleaning a background application, and the corresponding target application generally appears in all applications except necessary applications of the system, and is generally more than one.
In practical applications, the application management request related to the present invention may be triggered and generated through one or a combination of operations such as voice, gesture, pressing, etc., and then, the corresponding trigger parameters of the application management request may be as shown in table 1 below:
trigger operation Triggering parameter
Speech sound Semantics, tone, volume, etc
Gesture Direction, magnitude, etc. of the gesture
Pressing device Pressing position, pressure, pressing duration, fingerprint, etc
TABLE 1
In practical applications, in combination with the terminal device shown in fig. 1, the function of receiving the application management request can be implemented by collecting the voice of the user through the microphone 1042, collecting the gesture and the pressing of the user on the terminal screen or the like through the sensor 105, and collecting the gesture and the pressing of the user on the terminal screen through the touch panel 1071.
In actual application, receiving the application management request may be realized by receiving an explicit application management request, or may be realized by matching a corresponding application management request in a mapping relationship between the trigger parameter and the application management request according to a trigger operation such as a meaningless gesture, press, voice, or the like.
Specifically, the manner for receiving the explicit application management request may be implemented as follows: the terminal user is triggered by the terminal application (such as the software management APP or the memory cleaning APP), for example, the terminal user needs to delete the application ' hot dog music ', can open the software management APP ' unloading the computer software ' in the terminal, and select to delete the ' hot dog music ', at this moment, the software management APP generates a clear application management request for deleting the hot dog music, and if the terminal user needs to request the background application, the memory cleaning ' cleaning memory APP can be opened, and the memory is selected to be cleaned, at this moment, the memory cleaning APP generates a clear application management request for cleaning the memory.
Correspondingly, for the way of matching the corresponding application management request according to the trigger operation, the following effects can be achieved: the terminal user speaks voice operation of 'cleaning the memory' and matches an application management request for cleaning the memory, and the terminal user performs pressing operation such as heavy pressing or light pressing, gesture operation such as circular rotation and the like at a middle position of a sensor arranged on the back of the mobile phone, and matches the application management request for cleaning the memory and the like.
In practical applications, the mapping relationship between the trigger parameter and the application management request according to the present invention can be shown in table 2 below:
Figure BDA0001292339150000101
TABLE 2
The application management request related to the present invention includes at least 3 parameters: management objects, management operations and management purposes, e.g. for application management request 1 in table 2, which is used to clean up memory, then management objects are application processes running in memory, management purposes are to destroy these application processes, in order to avoid these application processes to be woken up again in the background, management operations are to remove wake-up files that can wake up these applications, etc. The details are shown in table 3 below:
Figure BDA0001292339150000102
TABLE 3
In actual application, the mode of determining the target application corresponding to the application management request is as follows: and determining a management object of the application management request, and searching an application matched with the management object according to a preset rule to serve as a target application.
Specifically, for an application management request for cleaning a memory, a management object of the application management request is an application process running in the memory, the application process can be seen through a task manager and the like, a preset rule may be that all application processes are killed by default, an application process corresponding to an application which is not operated by a terminal user within a preset time (for example, 30 minutes) is killed by default, and the application process in the memory may be displayed through a display interface as shown in fig. 7, so that the terminal user can select some application processes which do not need to run the application.
In the prior art, when a terminal user closes an application process through a task manager, the terminal user can only close the application as a whole, for example, the application simultaneously supporting playing and downloading aiming at the love art and the like, and when the application process is closed, the terminal user can only select to close the application process of the love art application, so that video playing and downloading are simultaneously closed, and the video playing and downloading are not matched with the situation that the terminal user only closes background downloading; for example, for an application such as a browser, a user often opens a plurality of web pages, and when an application process is closed by a task manager, if the application process corresponding to the browser is selected to be closed, all the web pages are closed, which is not consistent with the situation that a terminal user wants to close only a part of the web pages.
As shown in fig. 8 and 9, in order to solve the above problems, the present invention provides a new application process selection method, and for a scenario where one application includes multiple sub-processes, the application process selection method is also displayed on a display interface for a terminal user to perform personalized selection.
In practical application, application 1 takes the magic art as an example, and comprises 2 sub-processes, namely time-frequency playing and background downloading respectively; the application 2 takes a browser as an example and comprises 4 subprocesses, namely a page 1 to a page 4; in order to facilitate the selection of the end user, in the initial presentation interface, only the applications corresponding to all the large applications may be displayed, and the application including a plurality of sub-processes may be displayed with a special mark, where the special mark may be implemented in a form of a "+" sign as shown in fig. 8 or a dashed box as shown in fig. 9.
In FIG. 8, both application 1 and application 2 include sub-processes, with a "+" display behind their application names; in fig. 9, both application 1 and application 2 include sub-processes, the application names of which are circled with a dashed box.
After the terminal user clicks the special mark, the sub-processes of each application will be displayed, as shown in fig. 10, which is not described again.
In practical application, the method for searching the file to be managed related to the target application comprises the following steps: and determining the management purpose of the application management request, searching all files to be screened related to the target application, screening all the files to be screened according to the management purpose, and determining the files to be managed.
Specifically, all the files to be screened related to the target application include the application file itself, a file downloaded through the application, an installation file of the application, a recommendation file (such as a registry, etc.) that the application in other applications recommends to install the application, a trigger file (such as a loading address link, etc.) that the application in other applications triggers to download the application, an application process file, and a wake-up file (such as alarm information, etc. described below in a focused manner) that is used for waking up the application again after the application is killed.
At this time, aiming at the application management request of cleaning the memory, the management purpose is to destroy, and then the corresponding file to be managed is an application process file and a wake-up file for waking up the application again after the application is destroyed; for an application management request of deleting an application, the management purpose is to uninstall, and the corresponding file to be managed is the application file itself, a file downloaded by the application, an installation file of the application, a recommendation file (such as a registry, etc.) for recommending the application to be installed by the application in other applications, a trigger file (such as a download address link, etc.) for triggering the application to be downloaded by the application in other applications, an application process file, and a wake-up file for waking up the application again after the application is destroyed.
In practical application, taking an application management request of cleaning a memory for checking and killing for management purposes as an example, all files to be screened are screened, and the mode of determining the files to be managed comprises the following steps: analyzing file attributes of files in all files to be screened, determining awakening files in all files to be screened according to the file attributes, wherein the awakening files are used for re-awakening the corresponding target application after the target application is killed, and taking the awakening files as files to be managed. Specifically, the wake-up file may be various, and the present application takes the alarm information as an example for description.
In practical application, after the application is checked and killed, there are various ways that the application can still run in the background in a surreptitious manner, and the way related to the embodiment is an Alarm (Alarm), and since the application is checked and killed, the system deletes the process related information thereof, including the corresponding Alarm information. However, there are many types of flags for the alarm, and when the alarm carries its special flag (flag), the alarm information will not be deleted, and there are many third party applications, which are due to the fact that the flag is set for its application after this point in the google native code, so that its application process can still be woken up even after being killed, and then runs frequently in the background, resulting in power consumption.
The embodiment is mainly operated on a frame layer, and corresponding alias information of an application can be deleted after the application is killed, but the corresponding alias information can be reserved. It is verified that this special alarm information carries flag bits: FLAG _ ALLOW _ WHILE _ IDLE, that is, when an application sets an alert, if the FLAG bit of its alert information is set to the alert, the application can still be woken up in the background in this special alert manner even after the application is killed.
Based on the analysis, the embodiment firstly collects application specific alarm information, imitates the existing alarm deleting mode, utilizes a registered (list) member variable to learn whether the special alarm information exists in the installed application of the mobile phone, and then adds the special alarm information to the corresponding list; then after the application is checked and killed, executing a shift-out operation through an Alarm Manager Service, traversing the collected special Alarm application list through a for cycle, performing matching comparison through the incoming packet names, and deleting the common Alarm information and the special Alarm information when the packet names are the same; according to the above alarm information collection and traversal deletion, the application can be completely deleted and is not woken up any more, so that the purpose of eliminating the application is completely realized.
In practical application, the way of managing files to be managed includes: and determining the management operation of the application management request, determining a file management rule corresponding to the management operation, and managing the file to be managed according to the file management rule. Specifically, the management operation generally corresponds to the file management rule, for example, if the management operation for cleaning the memory is a move-out operation, the corresponding file management rule is to move out all the related files to be managed, for example, if the management operation for deleting the application is a delete operation, the corresponding file management rule is to delete all the related files to be managed, and at this time, when the file management rule is a remove operation, managing the files to be managed includes: and taking the file to be managed as the object to be removed by adopting a polling mode, and removing the object to be removed.
In summary, the terminal application management method provided in the embodiments of the present invention determines the corresponding target application when receiving the application management request, and then searches for the file to be managed related to the target application and manages the file.
Taking memory cleaning as an example, as shown in fig. 4, a second embodiment of the terminal application management method of the present invention is proposed, in this embodiment, the terminal application management method includes the following steps:
s401: collecting application specific alarm information;
the embodiment imitates the existing method for deleting the alarm, utilizes a registered (list) member variable to learn whether special alarm information exists in the installed application of the mobile phone, and then adds the special alarm information to a corresponding list.
S402: receiving an application management request for cleaning a memory;
in this embodiment, when it is detected that the end user rotates on the back of the mobile phone, matching is performed through the table mapping relationship, and it is considered that an application management request for clearing the memory is received.
S403: displaying the application process running in the memory through a display interface;
in practical application, an application process running in a memory is shown in any one of the modes of fig. 7 to fig. 10;
s404: determining a target application according to the selection operation of a terminal user;
in actual practice, if the end user selects application 1 and application 2, then application 1 and application 2 are the target applications.
S405: killing the process of the target application;
in practical application, the corresponding process is ended;
s406: managing a file to be managed of a target application;
after the application is checked and killed, executing a shift-out operation through an Alarm Manager Service, traversing the collected special Alarm application list through a for cycle, performing matching comparison through the incoming packet names, and deleting the common Alarm information and the special Alarm information when the packet names are the same; according to the above alarm information collection and traversal deletion, the application can be completely deleted and is not woken up any more, so that the purpose of eliminating the application is completely realized.
The embodiment provides a terminal application management method, when a management application is an elimination application, the prior art only eliminates an application process, but the eliminated applications can be wakened again through other files, such as wake-up files carrying alarm information of special fields and the like, and run in the background.
As shown in fig. 5, based on the above-mentioned mobile terminal hardware structure and communication system, an embodiment of the terminal of the present invention is proposed, and specifically, the terminal provided by the present invention includes:
a receiving module 51, configured to receive an application management request, and determine a target application corresponding to the application management request;
a searching module 52, configured to search for a file to be managed related to the target application;
and a management module 53, configured to manage the file to be managed.
In practical applications, the application management request according to the present invention refers to a request for requesting the terminal to manage an application, and the management may include operations such as deleting the application and cleaning the memory, which will be described in detail below.
In practical applications, one application management request may correspond to only one target application, or may be simultaneously targeted to multiple target applications, for example, an application management request for deleting an application generally appears in a scenario of deleting an application, and the corresponding target application may be one, while an application management request for destroying an application generally appears in a scenario of cleaning a background application, and the corresponding target application generally appears in all applications except necessary applications of the system, and is generally more than one.
In practical applications, the application management request related to the present invention may be triggered and generated through one or a combination of operations such as voice, gesture, pressing, etc., and then, the corresponding trigger parameters of the application management request may be as shown in table 1.
In practical applications, in combination with the terminal device shown in fig. 1, the functions of the receiving module 51 can be implemented by collecting voice of the user through the microphone 1042, collecting gestures and presses of the user on a terminal screen or the like through the sensor 105, and collecting gestures and presses of the user on the terminal screen through the touch panel 1071.
In actual application, receiving the application management request may be realized by receiving an explicit application management request, or may be realized by matching a corresponding application management request in a mapping relationship between the trigger parameter and the application management request according to a trigger operation such as a meaningless gesture, press, voice, or the like.
Specifically, the manner for receiving the explicit application management request may be implemented as follows: the terminal user is triggered by the terminal application (such as the software management APP or the memory cleaning APP), for example, the terminal user needs to delete the application ' hot dog music ', can open the software management APP ' unloading the computer software ' in the terminal, and select to delete the ' hot dog music ', at this moment, the software management APP generates a clear application management request for deleting the hot dog music, and if the terminal user needs to request the background application, the memory cleaning ' cleaning memory APP can be opened, and the memory is selected to be cleaned, at this moment, the memory cleaning APP generates a clear application management request for cleaning the memory.
Correspondingly, for the way of matching the corresponding application management request according to the trigger operation, the following effects can be achieved: the terminal user speaks voice operation of 'cleaning the memory' and matches an application management request for cleaning the memory, and the terminal user performs pressing operation such as heavy pressing or light pressing, gesture operation such as circular rotation and the like at a middle position of a sensor arranged on the back of the mobile phone, and matches the application management request for cleaning the memory and the like.
The application management request related to the present invention includes at least 3 parameters: management objects, management operations and management purposes, e.g. for application management request 1 in table 2, which is used to clean up memory, then management objects are application processes running in memory, management purposes are to destroy these application processes, in order to avoid these application processes to be woken up again in the background, management operations are to remove wake-up files that can wake up these applications, etc.
In practical applications, the receiving module 51 may operate as follows: and determining a management object of the application management request, and searching an application matched with the management object according to a preset rule to serve as a target application.
Specifically, for an application management request for cleaning a memory, a management object of the application management request is an application process running in the memory, the application process can be seen through a task manager and the like, a preset rule may be that all application processes are killed by default, an application process corresponding to an application which is not operated by a terminal user within a preset time (for example, 30 minutes) is killed by default, and the application process in the memory may be displayed through a display interface as shown in fig. 7, so that the terminal user can select some application processes which do not need to run the application.
In the prior art, when a terminal user closes an application process through a task manager, the terminal user can only close the application as a whole, for example, the application simultaneously supporting playing and downloading aiming at the love art and the like, and when the application process is closed, the terminal user can only select to close the application process of the love art application, so that video playing and downloading are simultaneously closed, and the video playing and downloading are not matched with the situation that the terminal user only closes background downloading; for example, for an application such as a browser, a user often opens a plurality of web pages, and when an application process is closed by a task manager, if the application process corresponding to the browser is selected to be closed, all the web pages are closed, which is not consistent with the situation that a terminal user wants to close only a part of the web pages.
As shown in fig. 8 and 9, in order to solve the above problems, the present invention provides a new application process selection method, and for a scenario where one application includes multiple sub-processes, the application process selection method is also displayed on a display interface for a terminal user to perform personalized selection.
In practical application, application 1 takes the magic art as an example, and comprises 2 sub-processes, namely time-frequency playing and background downloading respectively; the application 2 takes a browser as an example and comprises 4 subprocesses, namely a page 1 to a page 4; in order to facilitate the selection of the end user, in the initial presentation interface, only the applications corresponding to all the large applications may be displayed, and the application including a plurality of sub-processes may be displayed with a special mark, where the special mark may be implemented in a form of a "+" sign as shown in fig. 8 or a dashed box as shown in fig. 9.
In FIG. 8, both application 1 and application 2 include sub-processes, with a "+" display behind their application names; in fig. 9, both application 1 and application 2 include sub-processes, the application names of which are circled with a dashed box.
After the terminal user clicks the special mark, the sub-processes of each application will be displayed, as shown in fig. 10, which is not described again.
In practical applications, the lookup module 52 may operate as follows: and determining the management purpose of the application management request, searching all files to be screened related to the target application, screening all the files to be screened according to the management purpose, and determining the files to be managed.
Specifically, all the files to be screened related to the target application include the application file itself, a file downloaded through the application, an installation file of the application, a recommendation file (such as a registry, etc.) that the application in other applications recommends to install the application, a trigger file (such as a loading address link, etc.) that the application in other applications triggers to download the application, an application process file, and a wake-up file (such as alarm information, etc. described below in a focused manner) that is used for waking up the application again after the application is killed.
At this time, aiming at the application management request of cleaning the memory, the management purpose is to destroy, and then the corresponding file to be managed is an application process file and a wake-up file for waking up the application again after the application is destroyed; for an application management request of deleting an application, the management purpose is to uninstall, and the corresponding file to be managed is the application file itself, a file downloaded by the application, an installation file of the application, a recommendation file (such as a registry, etc.) for recommending the application to be installed by the application in other applications, a trigger file (such as a download address link, etc.) for triggering the application to be downloaded by the application in other applications, an application process file, and a wake-up file for waking up the application again after the application is destroyed.
In practical application, taking an application management request of cleaning a memory for checking and killing for management purposes as an example, all files to be screened are screened, and the mode of determining the files to be managed comprises the following steps: analyzing file attributes of files in all files to be screened, determining awakening files in all files to be screened according to the file attributes, wherein the awakening files are used for re-awakening the corresponding target application after the target application is killed, and taking the awakening files as files to be managed. Specifically, the wake-up file may be various, and the present application takes the alarm information as an example for description.
In practical application, after the application is checked and killed, there are various ways that the application can still run in the background in a surreptitious manner, and the way related to the embodiment is an Alarm (Alarm), and since the application is checked and killed, the system deletes the process related information thereof, including the corresponding Alarm information. However, there are many types of flags for the alarm, and when the alarm carries its special flag (flag), the alarm information will not be deleted, and there are many third party applications, which are due to the fact that the flag is set for its application after this point in the google native code, so that its application process can still be woken up even after being killed, and then runs frequently in the background, resulting in power consumption.
The embodiment is mainly operated on a frame layer, and corresponding alias information of an application can be deleted after the application is killed, but the corresponding alias information can be reserved. It is verified that this special alarm information carries flag bits: FLAG _ ALLOW _ WHILE _ IDLE, that is, when an application sets an alert, if the FLAG bit of its alert information is set to the alert, the application can still be woken up in the background in this special alert manner even after the application is killed.
Based on the analysis, the embodiment firstly collects application specific alarm information, imitates the existing alarm deleting mode, utilizes a registered (list) member variable to learn whether the special alarm information exists in the installed application of the mobile phone, and then adds the special alarm information to the corresponding list; then after the application is checked and killed, executing a shift-out operation through an Alarm Manager Service, traversing the collected special Alarm application list through a for cycle, performing matching comparison through the incoming packet names, and deleting the common Alarm information and the special Alarm information when the packet names are the same; according to the above alarm information collection and traversal deletion, the application can be completely deleted and is not woken up any more, so that the purpose of eliminating the application is completely realized.
In practical applications, the management module 53 may operate as follows: and determining the management operation of the application management request, determining a file management rule corresponding to the management operation, and managing the file to be managed according to the file management rule. Specifically, the management operation generally corresponds to the file management rule, for example, if the management operation for cleaning the memory is a move-out operation, the corresponding file management rule is to move out all the related files to be managed, for example, if the management operation for deleting the application is a delete operation, the corresponding file management rule is to delete all the related files to be managed, and at this time, when the file management rule is a remove operation, managing the files to be managed includes: and taking the file to be managed as the object to be removed by adopting a polling mode, and removing the object to be removed.
In summary, according to the terminal provided in this embodiment, when receiving an application management request, the terminal determines a target application corresponding to the terminal, then searches for a file to be managed related to the target application, and manages the file.
In an embodiment of the present invention, the processor 110 in fig. 1 may include the functions of all the functional modules in the embodiment shown in fig. 5. In this case, the above embodiment may be:
firstly, the processor 110 receives an application management request and determines a target application corresponding to the application management request;
then, the processor 110 searches for a file to be managed related to the target application;
finally, the processor 110 manages the files to be managed
In practical applications, the processor 110 is configured to: the application management request is received by capturing a user voice through the microphone 1042, capturing a gesture and a press of the user on a terminal screen or the like through the sensor 105, capturing a gesture and a press of the user on the terminal screen through the touch panel 1071, or the like.
In practical applications, the processor 110 is configured to: and determining a management object of the application management request, and searching an application matched with the management object according to a preset rule to serve as a target application.
In practical applications, the processor 110 is configured to: and determining the management purpose of the application management request, searching all files to be screened related to the target application, screening all the files to be screened according to the management purpose, and determining the files to be managed.
In practical applications, the processor 110 is configured to: and determining the management operation of the application management request, determining a file management rule corresponding to the management operation, and managing the file to be managed according to the file management rule.
In summary, according to the terminal provided in this embodiment, when receiving an application management request, the terminal determines a target application corresponding to the terminal, then searches for a file to be managed related to the target application, and manages the file.
As shown in fig. 6, a second embodiment of the terminal of the present invention is proposed, in this embodiment, the terminal at least includes: an input/output (IO) bus 61, a processor 62, a storage 63, a memory 64, an input module 65, a presentation module 66, and a terminal application management program stored on the storage 63 and operable on the processor 62, the terminal application management program when executed by the processor implementing the following steps. Wherein the content of the first and second substances,
the input/output (IO) bus 61 is connected to the other components (the processor 62, the RAM63, the memory 64, the input module 65, and the presentation module 66) of the terminal to which it belongs, and provides a transmission line for the other components.
The processor 62 typically controls the overall operation of the terminal to which it belongs. For example, processor 62 performs computations, validation, etc. The processor 62 may be a Central Processing Unit (CPU), among others.
The memory 63 stores processor-readable, processor-executable software code containing instructions for controlling the processor 62 to perform the functions described herein (i.e., software execution functions). In the present embodiment, the RAM63 needs to store at least the programs necessary for the processor 62 to perform the functions described above.
In the terminal control device provided by the present invention, the software codes for implementing all the functions of the modules in fig. 5 may be stored in the memory 63 and executed by the processor 62 or compiled and executed.
The memory 64, which is typically a semiconductor memory unit, includes Random Access Memory (RAM), Read Only Memory (ROM), and CACHE memory (CACHE), of which RAM is the most important. The memory 44 is one of the important components in the computer, and is a bridge for communicating with the CPU, and the operation of all programs in the computer is performed in the memory, and is used for temporarily storing the operation data in the CPU and the data exchanged with an external storage such as a hard disk, and the CPU transfers the data to be operated to the memory for operation as long as the computer is in operation, and the CPU transmits the result after the operation is completed, and the operation of the memory also determines the stable operation of the computer.
The input module 65, such as the microphone 1042, the sensor 105, the touch panel 1071, etc., is used for user input and transmitted to the processor 62.
A presentation module 46, such as a display panel 1061, is used for presenting selectable target applications to the end user through a presentation interface.
On the basis of the terminal component shown in fig. 6, the terminal application management program provided by the present embodiment, when executed by the processor, implements the following steps:
receiving an application management request, and determining a target application corresponding to the application management request;
searching a file to be managed related to the target application;
and managing the files to be managed.
In practical applications, the application management request according to the present invention refers to a request for requesting the terminal to manage an application, and the management may include operations such as deleting the application and cleaning the memory, which will be described in detail below.
In practical applications, one application management request may correspond to only one target application, or may be simultaneously targeted to multiple target applications, for example, an application management request for deleting an application generally appears in a scenario of deleting an application, and the corresponding target application may be one, while an application management request for destroying an application generally appears in a scenario of cleaning a background application, and the corresponding target application generally appears in all applications except necessary applications of the system, and is generally more than one.
In practical applications, the application management request related to the present invention may be triggered and generated through one or a combination of operations such as voice, gesture, pressing, etc., and then, the corresponding trigger parameters of the application management request may be as shown in table 1.
In practical applications, in combination with the terminal device shown in fig. 1, the functions of the receiving module 51 can be implemented by collecting voice of the user through the microphone 1042, collecting gestures and presses of the user on a terminal screen or the like through the sensor 105, and collecting gestures and presses of the user on the terminal screen through the touch panel 1071.
In actual application, receiving the application management request may be realized by receiving an explicit application management request, or may be realized by matching a corresponding application management request in a mapping relationship between the trigger parameter and the application management request according to a trigger operation such as a meaningless gesture, press, voice, or the like.
Specifically, the manner for receiving the explicit application management request may be implemented as follows: the terminal user is triggered by the terminal application (such as the software management APP or the memory cleaning APP), for example, the terminal user needs to delete the application ' hot dog music ', can open the software management APP ' unloading the computer software ' in the terminal, and select to delete the ' hot dog music ', at this moment, the software management APP generates a clear application management request for deleting the hot dog music, and if the terminal user needs to request the background application, the memory cleaning ' cleaning memory APP can be opened, and the memory is selected to be cleaned, at this moment, the memory cleaning APP generates a clear application management request for cleaning the memory.
Correspondingly, for the way of matching the corresponding application management request according to the trigger operation, the following effects can be achieved: the terminal user speaks voice operation of 'cleaning the memory' and matches an application management request for cleaning the memory, and the terminal user performs pressing operation such as heavy pressing or light pressing, gesture operation such as circular rotation and the like at a middle position of a sensor arranged on the back of the mobile phone, and matches the application management request for cleaning the memory and the like.
The application management request related to the present invention includes at least 3 parameters: management objects, management operations and management purposes, e.g. for application management request 1 in table 2, which is used to clean up memory, then management objects are application processes running in memory, management purposes are to destroy these application processes, in order to avoid these application processes to be woken up again in the background, management operations are to remove wake-up files that can wake up these applications, etc.
In practical application, the terminal application management program realizes the following steps when being executed by the processor: and determining a management object of the application management request, and searching an application matched with the management object according to a preset rule to serve as a target application.
Specifically, for an application management request for cleaning a memory, a management object of the application management request is an application process running in the memory, the application process can be seen through a task manager and the like, a preset rule may be that all application processes are killed by default, an application process corresponding to an application which is not operated by a terminal user within a preset time (for example, 30 minutes) is killed by default, and the application process in the memory may be displayed through a display interface as shown in fig. 7, so that the terminal user can select some application processes which do not need to run the application.
In the prior art, when a terminal user closes an application process through a task manager, the terminal user can only close the application as a whole, for example, the application simultaneously supporting playing and downloading aiming at the love art and the like, and when the application process is closed, the terminal user can only select to close the application process of the love art application, so that video playing and downloading are simultaneously closed, and the video playing and downloading are not matched with the situation that the terminal user only closes background downloading; for example, for an application such as a browser, a user often opens a plurality of web pages, and when an application process is closed by a task manager, if the application process corresponding to the browser is selected to be closed, all the web pages are closed, which is not consistent with the situation that a terminal user wants to close only a part of the web pages.
As shown in fig. 8 and 9, in order to solve the above problems, the present invention provides a new application process selection method, and for a scenario where one application includes multiple sub-processes, the application process selection method is also displayed on a display interface for a terminal user to perform personalized selection.
In practical application, application 1 takes the magic art as an example, and comprises 2 sub-processes, namely time-frequency playing and background downloading respectively; the application 2 takes a browser as an example and comprises 4 subprocesses, namely a page 1 to a page 4; in order to facilitate the selection of the end user, in the initial presentation interface, only the applications corresponding to all the large applications may be displayed, and the application including a plurality of sub-processes may be displayed with a special mark, where the special mark may be implemented in a form of a "+" sign as shown in fig. 8 or a dashed box as shown in fig. 9.
In FIG. 8, both application 1 and application 2 include sub-processes, with a "+" display behind their application names; in fig. 9, both application 1 and application 2 include sub-processes, the application names of which are circled with a dashed box.
After the terminal user clicks the special mark, the sub-processes of each application will be displayed, as shown in fig. 10, which is not described again.
In practical application, the terminal application management program realizes the following steps when being executed by the processor: and determining the management purpose of the application management request, searching all files to be screened related to the target application, screening all the files to be screened according to the management purpose, and determining the files to be managed.
Specifically, all the files to be screened related to the target application include the application file itself, a file downloaded through the application, an installation file of the application, a recommendation file (such as a registry, etc.) that the application in other applications recommends to install the application, a trigger file (such as a loading address link, etc.) that the application in other applications triggers to download the application, an application process file, and a wake-up file (such as alarm information, etc. described below in a focused manner) that is used for waking up the application again after the application is killed.
At this time, aiming at the application management request of cleaning the memory, the management purpose is to destroy, and then the corresponding file to be managed is an application process file and a wake-up file for waking up the application again after the application is destroyed; for an application management request of deleting an application, the management purpose is to uninstall, and the corresponding file to be managed is the application file itself, a file downloaded by the application, an installation file of the application, a recommendation file (such as a registry, etc.) for recommending the application to be installed by the application in other applications, a trigger file (such as a download address link, etc.) for triggering the application to be downloaded by the application in other applications, an application process file, and a wake-up file for waking up the application again after the application is destroyed.
In practical application, taking an application management request of cleaning a memory for checking and killing for management purposes as an example, all files to be screened are screened, and the mode of determining the files to be managed comprises the following steps: analyzing file attributes of files in all files to be screened, determining awakening files in all files to be screened according to the file attributes, wherein the awakening files are used for re-awakening the corresponding target application after the target application is killed, and taking the awakening files as files to be managed. Specifically, the wake-up file may include alarm information carrying a special field, and the alarm information carrying the special field includes alarm information with FLAG _ ALLOW _ WHILE _ IDLE.
In practical application, the terminal application management program realizes the following steps when being executed by the processor: and determining the management operation of the application management request, determining a file management rule corresponding to the management operation, and managing the file to be managed according to the file management rule. Specifically, the management operation generally corresponds to the file management rule, for example, if the management operation for cleaning the memory is a move-out operation, the corresponding file management rule is to move out all the related files to be managed, for example, if the management operation for deleting the application is a delete operation, the corresponding file management rule is to delete all the related files to be managed, and at this time, when the file management rule is a remove operation, managing the files to be managed includes: and taking the file to be managed as the object to be removed by adopting a polling mode, and removing the object to be removed.
To sum up, in the terminal provided in this embodiment, when receiving the application management request, the terminal determines the corresponding target application, then searches for the file to be managed related to the target application, and manages the file
Meanwhile, the invention provides a computer readable storage medium, on which a terminal application management program is stored, and when the terminal application management program is executed by a processor, the following steps are implemented:
receiving an application management request, and determining a target application corresponding to the application management request;
searching a file to be managed related to the target application;
managing files to be managed
In practical application, the terminal application management program realizes the following steps when executed: the application management request is received by capturing a user voice through the microphone 1042, capturing a gesture and a press of the user on a terminal screen or the like through the sensor 105, capturing a gesture and a press of the user on the terminal screen through the touch panel 1071, or the like.
In practical application, the terminal application management program realizes the following steps when executed: and determining a management object of the application management request, and searching an application matched with the management object according to a preset rule to serve as a target application.
In practical application, the terminal application management program realizes the following steps when executed: and determining the management purpose of the application management request, searching all files to be screened related to the target application, screening all the files to be screened according to the management purpose, and determining the files to be managed.
In practical application, the terminal application management program realizes the following steps when executed: and determining the management operation of the application management request, determining a file management rule corresponding to the management operation, and managing the file to be managed according to the file management rule.
In summary, in the storage medium provided in the embodiment of the present invention, when a program stored in the storage medium runs, when a terminal receives an application management request, a corresponding target application is determined, and then a file to be managed related to the target application is searched and managed.
The method comprises the steps of determining a corresponding target application when an application management request is received, searching a file to be managed related to the target application, and managing the file, wherein the management mode is not only to manage the application but also to manage the file related to the application when the target application is managed; for example, when the management application is a destruction application, the prior art is only to destroy the application process, but the destroyed applications can be wakened again through other files, such as wake-up files carrying alarm information of special fields, and the like, and run in the background.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A terminal application management method is characterized by comprising the following steps:
receiving an application management request, and determining a target application corresponding to the application management request; the application management request comprises memory cleaning;
searching a file to be managed related to the target application;
managing the file to be managed; the management mode can manage different process files of the same application program, and the management files are wake-up files for waking up the application process;
the searching for the file to be managed related to the target application comprises:
determining a management purpose of the application management request;
searching all files to be screened related to the target application;
screening all the files to be screened according to the management purpose to determine the files to be managed;
the management purpose is searching and killing, all the files to be screened are screened, and the file to be managed is determined to comprise:
analyzing the file attributes of the files in all the files to be screened;
and determining wake-up files in all the files to be screened according to file attributes, wherein the wake-up files are used for re-waking up corresponding target applications after the target applications are searched and killed.
2. The terminal application management method of claim 1, wherein the wake-up file comprises: carrying alarm information for a particular field.
3. The terminal application management method of claim 2, wherein the alarm information carrying the special field comprises an alarm information with FLAG _ ALLOW _ WHILE _ IDLE.
4. The terminal application management method according to claim 1, wherein the determining the target application corresponding to the application management request comprises:
determining a management object of the application management request;
and searching the application matched with the management object as the target application according to a preset rule.
5. The terminal application management method according to any one of claims 1 to 4, wherein the managing the file to be managed comprises:
determining a management operation of the application management request;
determining a file management rule corresponding to the management operation;
and managing the file to be managed according to the file management rule.
6. The terminal application management method according to claim 5, wherein when the file management rule is removal, the managing the file to be managed comprises:
taking the file to be managed as an object to be removed in a polling mode;
and removing the object to be removed.
7. A terminal, characterized in that the terminal comprises: memory, a processor and a terminal application management program stored on the memory and executable on the processor, the terminal application management program when executed by the processor implementing the steps of the terminal application management method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a terminal application management program, which when executed implements the steps of the terminal application management method according to any one of claims 1 to 6.
CN201710330354.6A 2017-05-11 2017-05-11 Terminal application management method, terminal and computer readable storage medium Active CN107231469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710330354.6A CN107231469B (en) 2017-05-11 2017-05-11 Terminal application management method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710330354.6A CN107231469B (en) 2017-05-11 2017-05-11 Terminal application management method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107231469A CN107231469A (en) 2017-10-03
CN107231469B true CN107231469B (en) 2020-09-25

Family

ID=59933308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710330354.6A Active CN107231469B (en) 2017-05-11 2017-05-11 Terminal application management method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107231469B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765834B (en) * 2017-10-31 2020-05-12 Oppo广东移动通信有限公司 Application management method and device, storage medium and electronic equipment
CN110032321B (en) * 2018-01-12 2024-02-20 Oppo广东移动通信有限公司 Application processing method and device, electronic equipment and computer readable storage medium
CN108595271A (en) * 2018-04-27 2018-09-28 宇龙计算机通信科技(深圳)有限公司 A kind of memory method for cleaning and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7243267B2 (en) * 2002-03-01 2007-07-10 Avaya Technology Llc Automatic failure detection and recovery of applications
CN102521031A (en) * 2011-12-13 2012-06-27 华为终端有限公司 Management method of preset application programs of mobile terminal and mobile terminal
CN104991948A (en) * 2015-07-14 2015-10-21 谢蓓 File deletion prompting method and system for android mobile phone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199708A (en) * 2014-09-09 2014-12-10 厦门美图移动科技有限公司 System cleaning method and equipment and mobile terminal
CN105517132A (en) * 2015-11-30 2016-04-20 青岛海信移动通信技术股份有限公司 Method and device for managing alarms

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7243267B2 (en) * 2002-03-01 2007-07-10 Avaya Technology Llc Automatic failure detection and recovery of applications
CN102521031A (en) * 2011-12-13 2012-06-27 华为终端有限公司 Management method of preset application programs of mobile terminal and mobile terminal
CN104991948A (en) * 2015-07-14 2015-10-21 谢蓓 File deletion prompting method and system for android mobile phone

Also Published As

Publication number Publication date
CN107231469A (en) 2017-10-03

Similar Documents

Publication Publication Date Title
CN107967322B (en) File classification display method, mobile terminal and computer readable storage medium
CN107547741B (en) Information processing method and device and computer readable storage medium
CN108600516B (en) Data acquisition method, mobile terminal and computer readable storage medium
CN107220132B (en) Method, equipment and storage medium for monitoring file creation information
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN107656743B (en) Application unloading method, terminal and readable storage medium
CN107168626B (en) Information processing method and device and computer readable storage medium
CN107317855B (en) Data caching method, data requesting method and server
CN110180181B (en) Method and device for capturing wonderful moment video and computer readable storage medium
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
CN109472157B (en) Application data storage method, mobile terminal and computer storage medium
CN108769126B (en) Application recommendation method, mobile terminal and computer-readable storage medium
CN108449513B (en) Interactive regulation and control method, equipment and computer readable storage medium
CN107231469B (en) Terminal application management method, terminal and computer readable storage medium
CN108196774B (en) Message lookup method, flexible screen terminal and computer readable storage medium
CN107846725B (en) Notification message processing method, terminal and storage medium
CN107480054B (en) Call chain data processing method and device and computer readable storage medium
CN107809527B (en) Method for presenting shortcut operation and electronic equipment
CN110278481A (en) Picture-in-picture implementing method, terminal and computer readable storage medium
CN107360211B (en) Information flow information offline method, related equipment and computer storage medium
CN108900696B (en) Data processing method, terminal and computer readable storage medium
CN109684132B (en) Data backup method of mobile terminal, mobile terminal and storage medium
CN107766544B (en) Information management method, terminal and computer readable storage medium
CN108845821B (en) Application program updating method, terminal and computer readable storage medium
CN108287863B (en) Message record cleaning method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TA01 Transfer of patent application right

Effective date of registration: 20200907

Address after: 518000 26 / F, 27 / F, 28 / F, Guotong building, 9023 Binhe Road, Xinhua community, Shatou street, Futian District, Shenzhen City, Guangdong Province

Applicant after: Zhongtong Information Service Co., Ltd

Address before: 518057 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right