CN109284040B - Application management method, device and terminal and computer storage medium - Google Patents

Application management method, device and terminal and computer storage medium Download PDF

Info

Publication number
CN109284040B
CN109284040B CN201810989817.4A CN201810989817A CN109284040B CN 109284040 B CN109284040 B CN 109284040B CN 201810989817 A CN201810989817 A CN 201810989817A CN 109284040 B CN109284040 B CN 109284040B
Authority
CN
China
Prior art keywords
application
api
data channel
terminal
freezing
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
CN201810989817.4A
Other languages
Chinese (zh)
Other versions
CN109284040A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810989817.4A priority Critical patent/CN109284040B/en
Publication of CN109284040A publication Critical patent/CN109284040A/en
Application granted granted Critical
Publication of CN109284040B publication Critical patent/CN109284040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Abstract

The invention discloses an application management method, an application management device, a terminal and a computer storage medium, which are used for solving the technical problems of serious terminal heating and short endurance time caused by awakening of an application. The method comprises the following steps: monitoring whether an application installed in the terminal is added to a freezing warehouse; the application in the freezing library and the application outside the freezing library call an Application Programming Interface (API) provided by an operating system of the terminal through different data channels; if the first application is monitored to be added into the freezing library, switching a data channel between the first application and the API from a first data channel to a second data channel so as to isolate the first application from the API through the second data channel, and preventing data interaction between the first application and the API, so that the first application is dormant in the terminal.

Description

Application management method, device and terminal and computer storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an application management method, an application management apparatus, a terminal, and a computer storage medium.
Background
Currently, a user can install various Applications (APPs) in a terminal, and the wide variety of applications provide more convenience and enjoyment for the life of the user. Some applications are not used frequently after being installed in the terminal by the user, but in order to avoid the need to download the applications again when the applications are needed, the user generally keeps the applications installed in the terminal and does not want to uninstall the applications.
However, when the applications are networked, the applications may be awakened because the pushed information is awakened or is awakened by other applications associated with the pushed information, and the applications are automatically started to run in the background of the terminal, so that the power consumption is consumed, the system process runs at a high speed to occupy CPU resources, the power consumption of the terminal is increased, the terminal generates heat seriously, the endurance time is short, and the use experience of a user is reduced.
Disclosure of Invention
The embodiment of the invention provides an application management method, an application management device, a terminal and a computer storage medium, which are used for solving the technical problems of serious terminal heating and short endurance time caused by awakening of an application.
In a first aspect, an application management method is provided, including:
monitoring whether an application installed in the terminal is added to a freezing warehouse; the Application in the freezing library and the Application outside the freezing library call an Application Programming Interface (API) provided by an operating system of the terminal through different data channels;
if the first application is monitored to be added into the freezing library, switching a data channel between the first application and the API from a first data channel to a second data channel so as to isolate the first application from the API through the second data channel, and preventing data interaction between the first application and the API, so that the first application is dormant in the terminal.
In the embodiment of the invention, for the application which is not frequently used, a user can add the application into the freezing library, so that after the application is added into the freezing library, the data channel between the application and the API is automatically switched to the second data channel, the application is isolated from the API, the application is prevented from being automatically started or awakened by other applications, the problem that the terminal generates heat seriously due to the fact that the application is awakened is avoided, and the cruising ability of the terminal is improved.
Optionally, the method further includes:
receiving a moving operation of dragging the icon of the first application to an icon position corresponding to the freezing library;
in response to the move operation, adding the first application to the freeze bank.
In the embodiment of the invention, the user only needs to drag the icon of the application to the icon position of the freezing library, so that the application can be dormant, and the method is more convenient and quicker.
Optionally, the data interaction between the first application and the API includes:
the first application calls the API; alternatively, the first and second electrodes may be,
a second application different from the first application wakes up the first application by calling the API.
Optionally, after switching the data channel between the first application and the API from the first data channel to the second data channel, the method further includes:
monitoring whether an application in the freeze store is removed from the freeze store;
if the first application is monitored to be removed from the freezing library, switching a data channel between the first application and the API from the second data channel to the first data channel so as to enable data interaction between the first application and the API.
In the embodiment of the invention, for the applications in the freezing bank, when the user wants to use the applications, the user only needs to release the dormancy of the applications, namely, the applications are removed from the freezing bank, so that the user can normally use the applications without reinstalling the applications, and the method is more convenient.
In a second aspect, an application management apparatus is provided, including:
a monitoring unit for monitoring whether the application installed in the terminal is added to the freezing store; the application in the freezing library and the application outside the freezing library call an Application Programming Interface (API) provided by an operating system of the terminal through different data channels;
and the switching unit is used for switching the data channel between the first application and the API from a first data channel to a second data channel if the first application is monitored to be added into the freezing library, so that the first application is isolated from the API through the second data channel, and data interaction between the first application and the API is prevented, so that the first application is dormant in the terminal.
Optionally, the apparatus further comprises an operating unit for:
receiving a moving operation of dragging the icon of the first application to an icon position corresponding to the freezing library; and, in response to the move operation, adding the first application to the freeze reservoir.
Optionally, the data interaction between the first application and the API includes:
the first application calls the API; alternatively, the first and second electrodes may be,
a second application different from the first application wakes up the first application by calling the API.
Alternatively to this, the first and second parts may,
the monitoring unit is further used for monitoring whether the application in the freezing bank is removed from the freezing bank;
the switching unit is further configured to switch the data channel between the first application and the API from the second data channel to the first data channel if it is monitored that the first application is removed from the freeze library, so that data interaction between the first application and the API can be performed.
In a third aspect, a terminal is provided, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect.
In a fourth aspect, there is provided a computer storage medium storing computer instructions which, when run on a computer, cause the computer to perform the method of the first aspect.
Drawings
Fig. 1 is a schematic flowchart of an application management method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a data channel according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating adding a first application to a frozen library according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating another example of adding a first application to a frozen library according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an application management apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
The technical background of the embodiments of the present invention is described below.
At present, a user can install various applications in a terminal, and the various applications provide more convenience and fun for the life of the user. Some applications are not used frequently after being installed in the terminal by the user, but in order to avoid the need to download the applications again when the applications are needed, the user generally keeps the applications installed in the terminal and does not want to uninstall the applications.
However, when the applications are networked, the applications may be woken up because the pushed information is woken up or woken up by other applications associated with the pushed information, and the applications are automatically started and run in the background of the terminal, so that the power consumption is consumed, the system process runs at a high speed to occupy CPU resources, the power consumption of the terminal is increased, the terminal generates heat seriously, the endurance time is short, and the use experience of a user is reduced.
In view of this, an embodiment of the present invention provides an application management method, in which, for an application that is not frequently used, a user may add the application to a freezing library, and thus, after the application is added to the freezing library, a data channel between the application and an API is automatically switched to a second data channel, so as to isolate the application from the API, avoid the application from being started or awakened, avoid the problem that the terminal is seriously heated due to the awakened application, and improve the endurance of the terminal.
The technical scheme provided by the embodiment of the invention is described below by combining the accompanying drawings.
Referring to fig. 1, an embodiment of the present invention provides an application management method, which can be executed by an application management apparatus provided in an embodiment of the present invention, where the apparatus can be implemented by a mobile phone or a tablet computer (PAD), for example. The flow of the method is described below.
Step 101: an installation operation for installing a first application in a terminal is received.
In the embodiment of the invention, the user can select the first application in the application store and install the first application in the terminal, or download the installation package of the first application in the webpage and install the first application in the terminal through the installation package.
Specifically, various types of applications may be installed in the terminal, such as a video application, a social application, or a photo application, and the like, and the first application may be any one of these types of applications. The first application may be an application configured when the terminal leaves the factory, such as a call application or a short message application, or a system application downloaded in an application store of the manufacturer, or the first application may also be a third-party application installed by the user, generally, the application or the system application configured when the terminal leaves the factory is generally used to meet basic functions of the terminal and is not suitable for being frozen, so the first application is more prone to the third-party application.
Step 102: and responding to the installation operation, installing the first application into the terminal, and setting a data channel between the first application and the API as a first data channel.
In the embodiment of the present invention, in order to facilitate management of applications in different states, management of data channels is added between an application and an API provided by an operating system in a terminal, as shown in fig. 2, since an application generally includes a dormant state and a non-dormant state, where the non-dormant state is a normal state, two data channels are set in the embodiment of the present invention, where one state corresponds to one data channel, for example, the normal state corresponds to a first data channel, and the dormant state corresponds to a second data channel.
Specifically, when a user initially installs a first application, the first application is generally required to be used, and therefore, after receiving an installation operation for installing the first application, the first application is installed in the terminal in response to the installation operation, and a data channel between the first application and an API provided by an operating system of the terminal is set as a first data channel, so that after the first application is installed, data interaction with the API can be normally performed.
Data interaction between the first application and the operation-provided API may include, for example:
the first application may call the API to implement a certain function, for example, the first application may call a draw icon function to display an icon that needs to be displayed in the first application on the display unit of the terminal.
And calling the API by a second application different from the first application to wake up the first application, wherein the user may need to use the function of the first application in the process of using the second application, and then the first application can wake up the first application by calling the API to start the first application, so as to realize the function which needs to use the first application.
Step 103: monitoring whether an application installed in the terminal is added to the frozen library.
In the embodiment of the invention, some applications are installed in the terminal by the user when the applications need to be used, but the applications may not be used for a long time after the applications are used, or the frequency of the applications used by the user is extremely low, so that the applications can be added into the freezing bank by the user. The applications in the freezing warehouse are in a dormant state, cannot be started automatically, and cannot be awakened by other applications or pushed messages, so that the applications in the freezing warehouse cannot occupy the running memory of the terminal, the terminal is prevented from heating seriously, the electric quantity of the terminal cannot be consumed in background running, and the cruising ability of the terminal is improved.
Specifically, the application in the frozen library and the application located outside the frozen library call an API provided by an operating system of the terminal through different data channels.
Step 104: and if the first application is monitored to be added into the freezing library, switching the data channel between the first application and the API from the first data channel to a second data channel.
In the embodiment of the invention, a user can add an application which is not needed to be used for a long time but is not needed to be unloaded into the freezing library, so that the application can enter the dormancy state, the application can not be started or awakened in the terminal by self, the running memory of the terminal can not be occupied, the terminal can generate heat seriously, the electric quantity of the terminal can not be consumed in the background running, and the cruising ability of the terminal can be improved.
Specifically, an icon of the frozen library may be displayed on the display unit of the terminal, and the user may drag the icon of the application that is desired to be added to the frozen library to a position of the icon of the frozen library, that is, may add the application to the frozen library. Taking the first application as an example, please refer to fig. 3, in which a box represents an icon of the application, and the icon of the first application and the icon of the frozen library are located as shown in fig. 3, so that the user can drag the icon of the first application to the location of the icon of the frozen library, the terminal receives a moving operation of dragging the icon of the first application to the location of the icon of the frozen library, and the terminal responds to the moving operation to add the first application to the frozen library. After the first application is added into the freezing warehouse, the icon of the first application can be continuously displayed on the display unit of the terminal, or the icon of the first application can not be displayed on the display unit in order to prevent the first application from continuously occupying the space of the display unit. Or, referring to fig. 4, in order to not occupy the space of the icon on the display unit, the icon of the freezing warehouse may be hidden and the icon of the freezing warehouse may be triggered to be displayed in a preset manner, for example, when a typical user presses an application icon for a long time, a pull-down menu appears above the display unit, including the icon of the uninstalled application, the icon of the frozen library may be set near the icon of the uninstalled function, specifically, as shown in fig. 4, when the user wants to perform which operation, the user only needs to drag the application icon onto the corresponding icon, for example, if the user wants to uninstall the first application, only the icon of the first application needs to be dragged to the location where the icon of the uninstalled application is located, and if the user wants to add the first application to the frozen library, only the icon of the first application needs to be dragged to the location where the icon of the frozen library is located. Of course, the position of the icon of the frozen library is not limited, for example, when the icon of the frozen library is triggered, a pull-up menu appears below the display unit, and the icon of the frozen library is displayed in the pull-up menu, or the menu may be displayed on the left side or the right side of the display unit, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, when the user adds the first application to the freeze library, the terminal may also monitor that the first application is added to the freeze library, and then switch the data channel between the first application and the API from the first data channel to the second data channel, so as to isolate the first application from the API through the second data channel, and prevent data interaction between the first application and the API, so that the first application enters a dormant state in the terminal.
Step 105: monitoring whether the application in the freeze store is removed from the freeze store.
In the embodiment of the invention, when a user needs to use the application in the freezing library, the user removes the application from the freezing library so that the application exits from the dormant state and is recovered to the normal state. To enable the state of the application to be switched, the terminal may monitor whether the application in the frozen library is removed from the frozen library.
Step 106: and if the first application is monitored to be removed from the freezing library, switching the data channel between the first application and the API from the second data channel to the first data channel.
In the embodiment of the invention, after the user removes the first application in the freezing bank, the terminal can receive the removal operation and respond, namely remove the first application from the freezing bank. Accordingly, it may be monitored that the first application is removed from the frozen library, and then, in order to enable the first application to be used normally, the data channel between the first application and the API provided by the operating system of the terminal may be switched from the second data channel to the first data channel, so that data interaction between the first application and the API is enabled, that is, after the data channel between the first application and the API is switched to the first data channel, the first application may call the API through the first data channel, or another application may wake up the first application by calling the API.
In summary, in the embodiment of the present invention, a freezing library may be set in a terminal, a user may add an application to the freezing library, the application in the freezing library and the application outside the freezing library perform data interaction with an API through different data channels, and different data channels may achieve different effects, for example, when the data channel between the application and the API is a first data channel, the application may perform data interaction with the API, and when the data channel between the application and the API is a second data channel, the second data channel may isolate the application and the API, so that the application and the API cannot perform data interaction, and the application enters a dormant state, thereby avoiding a problem that the terminal is seriously heated due to self-starting or awakening of an application background, reducing power consumption of the terminal, improving endurance capability of the terminal, and improving user experience of the user.
Referring to fig. 5, based on the same inventive concept, an embodiment of the present invention provides an application management apparatus, including:
a monitoring unit 501, configured to monitor whether an application installed in the terminal is added to the freezer; the application in the freezing library and the application outside the freezing library call an Application Programming Interface (API) provided by an operating system of the terminal through different data channels;
a switching unit 502, configured to switch a data channel between the first application and the API from the first data channel to a second data channel if it is monitored that the first application is added to the freeze library, so as to isolate the first application from the API through the second data channel, and prevent data interaction between the first application and the API, so that the first application sleeps in the terminal.
Optionally, the apparatus further comprises an operation unit 503 for:
receiving a moving operation of dragging an icon of a first application to an icon position corresponding to a freezing library; and, in response to the move operation, adding the first application to the frozen bank.
Optionally, the data interaction between the first application and the API includes:
the first application calls an API; alternatively, the first and second electrodes may be,
a second application, different from the first application, wakes up the first application by calling the API.
Alternatively to this, the first and second parts may,
a monitoring unit 501, configured to monitor whether an application in the freeze library is removed from the freeze library;
the switching unit 502 is further configured to switch the data channel between the first application and the API from the second data channel to the first data channel if it is monitored that the first application is removed from the frozen library, so as to enable data interaction between the first application and the API.
The device may be configured to execute the method provided in the embodiment shown in fig. 1 to 4, and therefore, for functions and the like that can be realized by each functional module of the device, reference may be made to the description of the embodiment shown in fig. 1 to 4, which is not described in detail. Although fig. 5 also shows the operation unit 503, it is not an essential functional unit and is shown by a broken line.
Referring to fig. 6, based on the same technical concept, an embodiment of the present invention further provides a terminal, which may include a memory 601 and a processor 602.
The memory 601 is used for storing computer programs executed by the processor 602. The memory 601 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 for at least one function, and the like; the storage data area may store data created according to the use of the terminal, and the like. The processor 602 may be a Central Processing Unit (CPU), a digital processing unit, or the like. The embodiment of the present invention does not limit the specific connection medium between the memory 601 and the processor 602. In fig. 6, the memory 601 and the processor 602 are connected by a bus 603, the bus 603 is represented by a thick line in fig. 6, and the connection manner between other components is merely illustrative and not limited. The bus 603 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The memory 601 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 601 may also be a non-volatile memory (non-volatile) such as a read-only memory (rom), a flash memory (flash memory), a hard disk (HDD) or a solid-state drive (SSD), or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 601 may be a combination of the above memories.
A processor 602, configured to execute the application management method provided in the embodiments shown in fig. 1 to 4 when calling the computer program stored in the memory 601.
The embodiment of the invention also provides a computer storage medium, which stores computer-executable instructions required to be executed by the processor, and comprises a program required to be executed by the processor.
In some possible embodiments, various aspects of the application management method provided by the present invention may also be implemented in the form of a program product including program code for causing a computer device to perform the steps in the application management methods according to various exemplary embodiments of the present invention described above in this specification when the program product runs on the computer device, for example, the computer device may perform the application management methods provided by the embodiments shown in fig. 1 to 4.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for the application management method of the embodiment of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a computing device. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the invention. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. An application management method, comprising:
monitoring whether an application installed in the terminal is added to a freezing warehouse; the application in the freezing library and the application outside the freezing library call an Application Programming Interface (API) provided by an operating system of the terminal through different data channels;
if the first application is monitored to be added into the freezing library, switching a data channel between the first application and the API from a first data channel to a second data channel so as to isolate the first application from the API through the second data channel, and preventing data interaction between the first application and the API, so that the first application is dormant in the terminal.
2. The method of claim 1, wherein the method further comprises:
receiving a moving operation of dragging the icon of the first application to an icon position corresponding to the freezing library;
in response to the move operation, adding the first application to the freeze bank.
3. The method of claim 1, wherein the data interaction between the first application and the API comprises:
the first application calls the API; alternatively, the first and second electrodes may be,
a second application different from the first application wakes up the first application by calling the API.
4. The method of claim 1, wherein after switching the data channel between the first application and the API from a first data channel to a second data channel, the method further comprises:
monitoring whether an application in the freeze store is removed from the freeze store;
if the first application is monitored to be removed from the freezing library, switching a data channel between the first application and the API from the second data channel to the first data channel so as to enable data interaction between the first application and the API.
5. An application management apparatus, comprising:
a monitoring unit for monitoring whether the application installed in the terminal is added to the freezing store; the application in the freezing library and the application outside the freezing library call an Application Programming Interface (API) provided by an operating system of the terminal through different data channels;
and the switching unit is used for switching the data channel between the first application and the API from a first data channel to a second data channel if the first application is monitored to be added into the freezing library, so that the first application is isolated from the API through the second data channel, and data interaction between the first application and the API is prevented, so that the first application is dormant in the terminal.
6. The apparatus of claim 5, further comprising an operation unit to:
receiving a moving operation of dragging the icon of the first application to an icon position corresponding to the freezing library; and, in response to the move operation, adding the first application to the freeze reservoir.
7. The apparatus of claim 5, wherein the data interaction between the first application and the API comprises:
the first application calls the API; alternatively, the first and second electrodes may be,
a second application different from the first application wakes up the first application by calling the API.
8. The apparatus of claim 5,
the monitoring unit is further used for monitoring whether the application in the freezing bank is removed from the freezing bank;
the switching unit is further configured to switch the data channel between the first application and the API from the second data channel to the first data channel if it is monitored that the first application is removed from the freeze library, so that data interaction between the first application and the API can be performed.
9. A terminal, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 4.
10. A computer storage medium, characterized in that:
the computer storage medium stores computer instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-4.
CN201810989817.4A 2018-08-28 2018-08-28 Application management method, device and terminal and computer storage medium Active CN109284040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810989817.4A CN109284040B (en) 2018-08-28 2018-08-28 Application management method, device and terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810989817.4A CN109284040B (en) 2018-08-28 2018-08-28 Application management method, device and terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN109284040A CN109284040A (en) 2019-01-29
CN109284040B true CN109284040B (en) 2020-08-11

Family

ID=65183551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810989817.4A Active CN109284040B (en) 2018-08-28 2018-08-28 Application management method, device and terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN109284040B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114546217A (en) * 2022-02-28 2022-05-27 维沃移动通信有限公司 Application identifier control method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN106095520A (en) * 2016-08-01 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of limit the method and device that third-party application mutually starts
CN106155788A (en) * 2016-06-28 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of application program freezing method and terminal unit

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226491B (en) * 2013-04-08 2017-06-16 小米科技有限责任公司 A kind of method and device that Application Status are set
US9229522B1 (en) * 2013-08-27 2016-01-05 Symantec Corporation Mobile battery performance by identifying apps that disproportionally run background tasks that prevent mobile devices from sleeping
CN105975162A (en) * 2016-05-31 2016-09-28 宇龙计算机通信科技(深圳)有限公司 Application freezing method and touch screen terminal
CN106126026B (en) * 2016-06-24 2020-08-14 宇龙计算机通信科技(深圳)有限公司 Application management method and device and terminal
CN106155789B (en) * 2016-06-28 2020-02-21 宇龙计算机通信科技(深圳)有限公司 Application freezing method and mobile terminal
CN106959874B (en) * 2017-03-21 2019-11-26 联想(北京)有限公司 The electronic equipment of application management method and application this method based on operating system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN106155788A (en) * 2016-06-28 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of application program freezing method and terminal unit
CN106095520A (en) * 2016-08-01 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of limit the method and device that third-party application mutually starts

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《让病毒木马丧失自启动本领》;周勇生;《个人电脑》;20171231;第23卷(第12期);第75-77页 *

Also Published As

Publication number Publication date
CN109284040A (en) 2019-01-29

Similar Documents

Publication Publication Date Title
US10394655B2 (en) Method for detecting abnormal application and mobile terminal
US10470133B2 (en) Electronic device and method for controlling application and component
CN106547615B (en) Management method and management module for background application
CN103092700A (en) Internal memory cleaning method and cleaning device and terminal device
US20140237476A1 (en) Centralized task scheduling
CN105227626A (en) Content pushing method and device and terminal
CN105676993A (en) Method and device for saving electric quantity and electronic equipment
CN104978231A (en) Multisystem device based on internal storage partitions and loading and switching method thereof
CN111258921B (en) Garbage memory recycling method and device, electronic equipment and storage medium
WO2020052471A1 (en) Method and apparatus for detecting application to be managed, method and apparatus for controlling application, terminal, and storage medium
WO2017020781A1 (en) Power saving processing method, device, mobile terminal and cloud server
KR101941761B1 (en) Method, device and mobile terminal for reducing power consumption
CN105245718A (en) Control method and device of breathing lamp and mobile terminal
CN113474756A (en) Application processing method and device, storage medium and electronic equipment
CN108563472B (en) Service plug-in loading method and device based on multi-open application
CN109284040B (en) Application management method, device and terminal and computer storage medium
CN104216819A (en) Method for managing terminal application
EP3486823B1 (en) System notification service control method, apparatus, terminal device, and storage medium
CN107979843B (en) WiFi hotspot connection processing method, device and medium for terminal
US20140373027A1 (en) Application lifetime management
WO2014067392A1 (en) Apparatuses and methods for plug-in management
CN105676999A (en) Terminal application processing method and system
CN107317923B (en) Method, device and terminal for controlling GPS running state
EP3974977A1 (en) Application management method and apparatus, terminal, and readable storage medium
CN110737320A (en) Power consumption detection method and device, electronic equipment and storage medium

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