CN109299600B - Application locking and unlocking method and device, terminal and readable storage medium - Google Patents
Application locking and unlocking method and device, terminal and readable storage medium Download PDFInfo
- Publication number
- CN109299600B CN109299600B CN201810870361.XA CN201810870361A CN109299600B CN 109299600 B CN109299600 B CN 109299600B CN 201810870361 A CN201810870361 A CN 201810870361A CN 109299600 B CN109299600 B CN 109299600B
- Authority
- CN
- China
- Prior art keywords
- locking
- application icon
- target application
- background
- terminal
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 238000003860 storage Methods 0.000 title claims abstract description 22
- 230000015654 memory Effects 0.000 claims description 58
- 238000004891 communication Methods 0.000 claims description 33
- 238000004590 computer program Methods 0.000 claims description 21
- 238000007726 management method Methods 0.000 description 61
- 230000008569 process Effects 0.000 description 35
- 238000010586 diagram Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/04817—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses an application locking and unlocking method, an application locking and unlocking device, a terminal and a readable storage medium, wherein the method comprises the following steps: receiving a locking selection request of a target application icon in a multitask management interface; and locking the background application corresponding to the target application icon according to the locking selection request. According to the invention, a user can lock and select the application icon of the background application through one-time operation, so that the background application corresponding to the application icon is locked, the operation steps of the user are simplified, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of terminals, in particular to an application locking and unlocking method, an application locking and unlocking device, a terminal and a readable storage medium.
Background
With the improvement of hardware technology, the storage space of the intelligent terminal is continuously enlarged, more and more application functions are installed on the intelligent terminal by a user, the applications used by the user are basically placed in a background, the applications placed in the background can be displayed in a multi-task management interface of the terminal, the application is proved to continue to execute a process in the background of a terminal system, and the terminal can display an interface displayed in the last step of the last operation of the user in a page when the application is clicked and checked under the condition that the process of the application is reserved.
Taking an operating system used by a terminal as an android as an example, in a native mechanism of the android system, in order to protect the running speed of the system, the system of the terminal can automatically kill a process of an application in a background after a period of time, and in this case, the application is clicked to check the application, so that the application is restarted, and the application state where the user stays in the last operation cannot be reserved. For example, when a user plays a game, if the user leaves a game page to operate another application such as a reply text message or a phone call, the background process of the game application is often terminated, and when the user switches back to the game application again, the game application is restarted, half of the game that was played is interrupted, resulting in poor user experience.
Therefore, in the prior art, an application locking function is provided to inform a system of a terminal to reserve a process of the application, so as to prevent a background from killing the application process and causing the problem of application restart. In the prior art, when application locking is performed, a user finds a background application to be locked in a multitask management interface, slides down a content display panel of the application, clicks a lock-shaped icon above the content display panel to lock the application, and the user needs to perform locking at least twice, so that the user is complicated in operation and poor in user experience.
Disclosure of Invention
The invention provides an application locking and unlocking method and device, electronic equipment and a readable storage medium, which are used for solving the problem of complex operation and poor user experience in the application locking process in the prior art.
The invention provides an application locking method, which comprises the following steps:
receiving a locking selection request of a target application icon in a multitask management interface;
and locking the background application corresponding to the target application icon according to the locking selection request.
Further, the multitask management interface comprises an annular display area, and the receiving a request for locking and selecting a target application icon comprises:
and receiving a locking selection request of the target application icon displayed in the annular display area.
Further, the locking the background application corresponding to the target application icon includes:
displaying the target application icon in a preset locking mode, and identifying the background application corresponding to the target application icon as a locking state.
Further, before the displaying the target application icon in a preset locking style, the method further includes:
predicting the locking time consumption of the background application corresponding to the target application icon according to the memory occupied by the background application corresponding to the target application icon and the CPU utilization rate of the current terminal;
judging whether the locking time consumption exceeds a preset locking time threshold;
if so, performing subsequent steps when the current locking time consumption of the background application corresponding to the target application icon reaches the locking time length threshold.
Further, the displaying the target application icon in a preset locking style comprises at least one of the following:
displaying the target application icon in a preset animation style;
displaying the target application icon in a magnified way;
and adding a locking mark on the target application icon for displaying.
Further, before the receiving a lock selection request for a target application icon, the method further comprises:
determining a corresponding display position of each locked background application according to the locked duration of each locked background application;
and displaying the application icon of each background application at a corresponding display position in the multitask management interface.
Further, before the background application corresponding to the target application icon is locked, the method further includes:
judging whether the background application corresponding to the target application icon is in a non-locking state;
if yes, the subsequent steps are carried out.
The invention provides an application unlocking method, which comprises the following steps:
receiving an unlocking selection request of a target application icon in a multitask management interface;
and unlocking the background application corresponding to the target application icon according to the unlocking selection request.
Further, the multitask management interface comprises an annular display area, and the receiving of the request for unlocking and selecting the target application icon comprises:
and receiving an unlocking and selecting request for the target application icon displayed in the annular display area.
Further, the unlocking the background application corresponding to the target application icon includes:
displaying the target application icon in a preset non-locking mode, and identifying the background application corresponding to the target application icon as a non-locking state.
Further, before the background application corresponding to the target application icon is unlocked, the method further includes:
judging whether the background application corresponding to the background application icon is in a locked state;
if yes, the subsequent steps are carried out.
The invention provides an application locking device, comprising:
the receiving module is used for receiving a locking selection request of a target application icon in the multitask management interface;
and the locking module is used for locking the background application corresponding to the target application icon according to the locking selection request.
Further, the multitask management interface includes an annular display area, and the receiving module is specifically configured to receive a request for locking and selecting a target application icon displayed in the annular display area.
Further, the locking module is specifically configured to display the target application icon in a preset locking style, and identify a background application corresponding to the target application icon as a locked state.
Furthermore, the locking module is further configured to predict time consumed for locking the background application corresponding to the target application icon according to a memory occupied by the background application corresponding to the target application icon and a current terminal CPU utilization rate; judging whether the locking time consumption exceeds a preset locking time threshold; if so, when the current locking time consumption of the background application corresponding to the target application icon reaches the locking time length threshold, performing subsequent steps before displaying the target application icon in a preset locking mode.
Further, the locking module is specifically configured to display the target application icon in at least one of the following preset locking styles and display the target application icon in a preset animation style; displaying the target application icon in a magnified way; and adding a locking mark on the target application icon for displaying.
Further, the apparatus further comprises:
the display module is used for determining a corresponding display position of each locked background application according to the locked duration of each locked background application before the request for locking and selecting the target application icon is received; and displaying the application icon of each background application at a corresponding display position in the multitask management interface.
Further, the locking module is further configured to determine whether a background application corresponding to the target application icon is in a non-locked state; and if so, locking the background application corresponding to the target application icon.
The invention provides an application unlocking device, which comprises:
the receiving module is used for receiving an unlocking and selecting request of a target application icon in the multitask management interface;
and the unlocking module is used for unlocking the background application corresponding to the target application icon according to the unlocking selection request.
Further, the multitask management interface includes an annular display area, and the receiving module is specifically configured to receive an unlocking selection request for a target application icon displayed in the annular display area.
Further, the unlocking module is specifically configured to display the target application icon in a preset non-locking manner, and identify a background application corresponding to the target application icon as a non-locking state.
Further, the unlocking module judges whether the background application corresponding to the background application icon is in a locked state; and if so, unlocking the background application corresponding to the target application icon.
The present invention provides a terminal, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform any of the steps of the application locking method described above.
The present invention provides a computer-readable storage medium storing a computer program executable by a terminal, the program, when run on the terminal, causing the terminal to perform any of the steps of the application locking method described above.
The present invention provides a terminal, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform any of the above-described steps of the application unlocking method.
The present invention provides a computer-readable storage medium storing a computer program executable by a terminal, the program, when run on the terminal, causing the terminal to perform any of the steps of the application unlocking method described above.
The invention provides an application locking and unlocking method, an application locking and unlocking device, a terminal and a readable storage medium, wherein the method comprises the following steps: receiving a locking selection request of a target application icon in a multitask management interface; and locking the background application corresponding to the target application icon according to the locking selection request. According to the invention, a user can lock and select the application icon of the background application through one-time operation, so that the background application corresponding to the application icon is locked, the operation steps of the user are simplified, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an application locking process provided in embodiment 1 of the present invention;
fig. 2 is a schematic view of an annular display area provided in embodiment 2 of the present invention;
fig. 3 is a schematic diagram of a locked state of a background application according to embodiment 3 of the present invention;
fig. 4 is a schematic diagram of a locked state of a background application according to embodiment 3 of the present invention;
fig. 5 is a schematic diagram of an application unlocking process provided in embodiment 7 of the present invention;
fig. 6 is a schematic diagram of an unlocked state of a background application according to embodiment 9 of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to embodiment 11 of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to embodiment 13 of the present invention;
FIG. 9 is a schematic diagram of an application locking apparatus according to an embodiment of the present invention;
fig. 10 is a schematic view of an application unlocking device according to an embodiment of the present invention.
Detailed Description
In order to simplify the operation steps of a user and improve the user experience, the embodiment of the invention provides an application locking and unlocking method, an application locking and unlocking device, a terminal and a readable storage medium.
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 1 is a schematic diagram of an application locking process provided in an embodiment of the present invention, where the process includes the following steps:
s101: in a multitasking management interface, a lock selection request for a target application icon is received.
The application locking method provided by the embodiment of the invention can be applied to a terminal, and the terminal comprises a hardware layer, an operating system layer running on the hardware layer and an application layer running on the operating system.
The hardware layer includes hardware such as a Central Processing Unit (CPU), a Memory Management Unit (MMU), and a Memory.
The operating system may be any one or more computer operating systems that implement business processing through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer includes a lock selection module capable of receiving a user request for a target application icon.
In the embodiment of the present invention, the terminal may be a terminal device such as a smart phone and a tablet computer, or an image capturing device such as a camera and a video camera, which is not particularly limited in the embodiment of the present invention, as long as application locking can be achieved by running a program recorded with a code of the application locking method in the embodiment of the present invention.
The execution main body of the application lock in the embodiment of the present invention may be a terminal, or a functional module capable of calling a program and executing the program in the terminal.
The terminal can display a multitask management interface, the multitask management interface can be an interface called up according to the operation of a user, and information of background application is displayed in the multitask management interface, specifically, the information includes an application icon of the background application and information such as an application name of the background application.
The user can call the multitask management interface by pressing a physical key or a virtual key arranged on the terminal, the user can call the multitask management interface by clicking a multitask management interface inlet provided on a terminal display screen, and the user can call the multitask management interface by drawing a gesture on the terminal display screen.
When a user wants to lock the background application, the terminal can lock the background application corresponding to the target application icon by initiating a locking selection request for the application icon of the background application, namely the target application icon, to the terminal.
The terminal may determine that a lock selection request for the target application icon is received when recognizing that the application icon is pressed, may determine that a lock selection request for the target application icon is received when recognizing that the application icon is added in a preset lock area, and the like.
S102: and locking the background application corresponding to the target application icon according to the locking selection request.
After the terminal receives the locking selection request for the target application icon, the background application corresponding to the target application icon can be locked according to the locking selection request, after the background application corresponding to the target application icon is locked, the system is informed of reserving the process of the background application, the system cannot automatically kill the process of the background application, and therefore the problem of application restart when the background application is opened again is solved.
The terminal locking the background application corresponding to the target application icon may be displaying the background application corresponding to the target application icon in a locked state in the foreground, may be identifying the background application corresponding to the target application icon in a locked state in the background, or may be a combination of the background application and the background application.
The user only needs to send a locking selection request for the target application icon to the terminal once, the background application corresponding to the target application icon can be locked, and the operation steps of the user in the application locking process are simplified.
According to the embodiment of the invention, the user can lock and select the application icon of the background application through one-time operation, so that the background application corresponding to the application icon is locked, the operation steps of the user are simplified, and the user experience is improved.
Example 2:
in order to improve the efficiency of locking the background application by the user, on the basis of the above embodiment, in an embodiment of the present invention, the multitasking management interface includes an annular display area, and the receiving a request for locking and selecting a target application icon includes:
and receiving a locking selection request of the target application icon displayed in the annular display area.
If the number of the background applications is too large, the background applications needing to be displayed in the multitask management interface are too much, and a user may not be capable of quickly finding the background applications needing to be locked, so that the application icons of the background applications are displayed in the annular display area in a centralized manner, the user can conveniently and intuitively and quickly find the corresponding application icons of the background applications, and the background applications are locked.
The multitask management interface comprises an annular display area, the application icons of the background applications can be displayed in the annular display area, and due to the fact that the application icons corresponding to different applications are different, a user can accurately view the application icons of each background application.
The annular display areas included in the multitask management interface can be one or more, if the multitask management interface includes a plurality of annular display areas, each annular display area is not overlapped, in order to improve visual effect, the circle centers of each annular display area can be the same, the radiuses of the annular display areas are different, specifically, the multitask management interface shown in fig. 2 can be used, the multitask management interface includes two annular display areas, the circle centers of the two annular display areas are the same, the radiuses of the annular display areas located in the inner ring are different, and the radius of the annular display area located in the inner ring is not more than the radius of the annular display area located in the outer.
The application icons of the background application can be displayed in the annular display area in a gathering mode, and a user can operate the target application icons displayed in the annular display area to enable the terminal to receive a locking selection request of the target application icons displayed in the annular display area.
On the basis of fig. 2, fig. 3 shows that the terminal receives a request for locking and selecting the target application icon a displayed in the annular display area, and the terminal locks the background application corresponding to the target application icon a.
On the basis of fig. 3, fig. 4 shows that the terminal receives a request for locking and selecting the target application icon B displayed in the annular display area, and the terminal locks the background application corresponding to the target application B.
In the embodiment of the invention, the application icons are displayed in the annular display area in the multitask management interface in a centralized manner, and a user can visually and quickly find the target application icon, so that the background application corresponding to the target application icon is locked, and the locking efficiency of the background application is improved.
Example 3:
in order to facilitate a user to visually check the locked background application, on the basis of the foregoing examples, in the embodiment of the present invention, the locking the background application corresponding to the target application icon includes:
displaying the target application icon in a preset locking mode, and identifying the background application corresponding to the target application icon as a locking state.
The displaying the target application icon in a preset locking style comprises at least one of the following steps:
displaying the target application icon in a preset animation style;
displaying the target application icon in a magnified way;
and adding a locking mark on the target application icon for displaying.
Therefore, when the background application is locked, the target application icon of the background application is displayed in a preset locking mode, the user can conveniently and visually check which background applications are locked, and when the background application is not needed, the user can unlock in time, and occupation of the memory resource of the terminal is avoided.
When the terminal locks the background application corresponding to the target application icon, the terminal can display the target application icon in a preset locking style in the foreground and identify the background application corresponding to the target application icon as a locking state in the background.
The terminal may display the target application icon in a preset locking mode at the foreground, identify the background application corresponding to the target application icon in a locking mode at the background, or display the target application icon in a preset locking mode at the foreground after identifying the background application corresponding to the target application icon in a locking mode at the background, or display the target application icon in a preset locking mode at the foreground and identify the background application corresponding to the target application icon in a locking mode at the background.
The terminal stores a preset locking pattern, wherein the preset locking pattern can comprise a preset animation pattern, can comprise an amplification display pattern, and can comprise a locking mark adding pattern.
Specifically, if the preset locking style includes a preset animation style, when the target application icon is displayed in the preset locking style, the target application icon is displayed in the preset animation style, for example, the preset animation style may be that the target application icon rotates according to a preset rotation direction, and a pattern extends around the target application icon until the target application icon is surrounded.
If the preset locking style comprises a magnifying display style, when the target application icon is displayed in the preset locking style, the target application icon is magnified and displayed, for example, when the target application icon may be a preset multiple of an application icon of an unlocked background application, such as a preset multiple of 1 or 1.5.
If the preset locking style comprises a locking mark adding style, when the target application icon is displayed in the preset locking style, a locking mark is added on the target application icon for displaying, for example, a locking icon prompt is added on the target application icon, the target application icon is circled by a white circle, or other locking marks are added, as long as the mark that the background application corresponding to the target application icon is locked can be identified.
As shown in fig. 3 and 4, when the target application icon a and the target application icon B are displayed in a preset locking style, the terminal circles the target application icon a and the target application icon B with white circles, respectively.
In addition, in order to further improve user experience, in the process of displaying the target application icon in a preset locking mode, the terminal can also perform linear vibration feedback.
The process of the terminal marking the background application in the background as the locking state can be completed by adopting the existing background application locking method, and details are not repeated in the embodiment of the invention.
In the embodiment of the invention, the target application icon of the locked background application is displayed in the preset locking style, so that a user can conveniently and visually check which background applications are locked, and can unlock in time when the background applications are not needed, and the occupation of memory resources of the terminal is also avoided.
Example 4:
in order to improve user experience, on the basis of the foregoing embodiments, in an embodiment of the present invention, before displaying the target application icon in a preset locking style, the method further includes:
predicting the locking time consumption of the background application corresponding to the target application icon according to the memory occupied by the background application corresponding to the target application icon and the CPU utilization rate of the current terminal;
judging whether the locking time consumption exceeds a preset locking time threshold;
if so, performing subsequent steps when the current locking time consumption of the background application corresponding to the target application icon reaches the locking time length threshold.
Considering that some applications occupy a memory comparatively and influence of the running speed of the current terminal system is taken into account, the required locking time consumption of each background application is different when the background application is locked, in order to consider user experience, the execution time of the feedback animation for locking the application icon can be consistent, namely, if the target application icon is displayed in a preset locking mode, the user can determine that the background application corresponding to the target application icon is locked according to foreground display, but the background application corresponding to the target application icon is not completely locked in the background of the system, the system continues to execute locking of the background application in the background, the operation is realized in a background hiding mode and cannot be presented to the user, so that the problem that the user waits too long time when the background application consuming longer locking time is locked is avoided, and the user experience is improved.
The terminal can obtain the memory occupied by the background application corresponding to the target application icon and the current terminal CPU utilization rate, and the process that the terminal obtains the memory occupied by the application and the current terminal CPU utilization rate belongs to the prior art, and is not described in detail in the invention.
After acquiring the memory occupied by the background application corresponding to the target application icon and the utilization rate of the current terminal CPU, the terminal can predict the locking time consumption of the background application corresponding to the target application icon according to the memory occupied by the background application and the utilization rate of the current terminal CPU, specifically, the terminal can pre-store the corresponding relation between the memory occupied by the background application and the utilization rate of the CPU and the locking time consumption of the background application, so as to predict the locking time consumption of the background application according to the memory occupied by the background application and the utilization rate of the current terminal CPU; the terminal can predict the locking time consumption of the background application and the like according to the memory and CPU utilization rate occupied by the background application and a preset locking time consumption algorithm, wherein the preset locking time consumption algorithm can be determined by a system developer and stored in the terminal.
The terminal stores a preset locking duration threshold, the locking duration threshold can be a locking duration threshold determined when the occupied memory is minimum and the CPU utilization rate is minimum, can be a locking duration determined when the occupied memory is maximum and the CPU utilization rate is maximum, can be a counted maximum duration which can be waited by a user in the background application locking process, and if the target application icon is displayed in a preset animation mode, the locking duration threshold can be time consumed when the preset animation mode is displayed at one time.
After predicting the locking time consumption of the background application corresponding to the target application icon, the terminal judges whether the predicted locking time consumption exceeds a preset locking time threshold, if not, the terminal can display the target application icon in a preset locking mode after identifying the background application corresponding to the target application icon in a locking state in a background, and at the moment, the terminal can understand that the process of identifying the background application corresponding to the target application icon in the locking state in the background is prior to the process of displaying the target application icon in the preset locking mode in a foreground.
If the predicted locking time consumption exceeds the preset locking time threshold, in order to avoid that the time for the user to wait for locking the background application is too long, the current locking time consumption of the background application corresponding to the target application icon may be obtained in real time, and when it is determined that the current locking time consumption obtained in real time reaches the preset locking time threshold, the target application icon is displayed in a preset locking mode in the foreground, and at this time, the process of identifying the background application corresponding to the target application icon as a locking state in the background can be understood as being performed simultaneously with the process of displaying the target application icon in the preset locking mode in the foreground.
The process of marking the background application corresponding to the target application icon as the locking state is completed in the system background, so that the user exits the multitask management interface in the locking process and can normally exit, the system continues to execute the locking action in the background, and the target application icon is displayed in a preset locking mode when the user enters the multitask management interface again.
In the embodiment of the invention, when the predicted locking time consumption of the background application corresponding to the target application icon exceeds the locking time length threshold value and the current locking time consumption reaches the locking time length threshold value, the target application icon is displayed in the preset locking mode, so that the phenomenon that a user waits for the locking of the background application for too long time is avoided, and the user experience is improved.
Example 5:
on the basis of the foregoing embodiments, in an embodiment of the present invention, before the receiving a request for locking and selecting a target application icon, the method further includes:
determining a corresponding display position of each locked background application according to the locked duration of each locked background application;
and displaying the application icon of each background application at a corresponding display position in the multitask management interface.
When the multi-task management interface is re-entered each time, the locked background application can be displayed according to the locked duration, and the user can click and use and unlock the background application more conveniently.
The terminal may determine the locked duration of each locked background application, specifically, when each background application is locked, the terminal may obtain the locked duration in real time for each locked background application, or may store the locked time of each locked background application in the terminal, so that the terminal may determine the locked duration of each locked background application according to the current system time.
The terminal can determine the display position corresponding to each locked background application according to the locked time length of each locked background application, specifically, the display position in the multitask management interface is fixed, the locked time length of each locked background application is longer, the corresponding display position of each locked background application is closer to the front, so that the locked time length can be prevented from being too long, a user forgets that the background application is locked, the display position in the multitask management interface is fixed, the locked time length of each locked background application is shorter, and the corresponding display of each locked background application is closer to the back, so that the user can find the latest locked background application more quickly, and the use of the user is facilitated.
And after the terminal determines the corresponding display position of each locked background application, displaying the application icon of each background application at the corresponding display position in the multitask management interface.
And if the multitask management interface comprises an annular display area, displaying the application icon of each background application at the corresponding display position in the annular display area.
In the embodiment of the invention, the locked background application can be displayed according to the locked duration, so that the user can click and use and unlock the background application more conveniently.
Example 6:
on the basis of the foregoing embodiments, in an embodiment of the present invention, before the locking the background application corresponding to the target application icon, the method further includes:
judging whether the background application corresponding to the target application icon is in a non-locking state;
if yes, the subsequent steps are carried out.
In order to avoid misoperation of a user, when the background application corresponding to the target application icon is determined to be in a non-locking state, the background application corresponding to the target application icon is locked.
Because the locking state and the non-locking state of the background application are stored in the terminal, after the terminal receives a locking selection request of a target application icon, whether the background application corresponding to the target application icon is in the non-locking state or not is judged according to the target application icon, if yes, the background application corresponding to the target application icon is locked, and misoperation of a user can be avoided.
If the terminal determines that the background application corresponding to the target application icon is not in a non-locking state, namely the background application corresponding to the target application icon is in a locking state, the background application corresponding to the target application icon does not need to be locked, the locking state of the background application corresponding to the target application icon is kept unchanged, and therefore CPU resources of the terminal are saved.
In the embodiment of the invention, when the background application corresponding to the target application icon is in a non-locking state, the background application corresponding to the target application is locked, so that the misoperation of a user is avoided, and the CPU resource of the terminal is saved.
Example 7:
on the basis of the foregoing embodiments, fig. 5 is a schematic diagram of an application unlocking process provided in an embodiment of the present invention, where the process includes the following steps:
s501: in a multitask management interface, an unlocking selection request of a target application icon is received.
The application unlocking method provided by the embodiment of the invention can be applied to a terminal, and the terminal comprises a hardware layer, an operating system layer running on the hardware layer and an application layer running on the operating system.
The hardware layer includes hardware such as a Central Processing Unit (CPU), a Memory Management Unit (MMU), and a Memory.
The operating system may be any one or more computer operating systems that implement business processing through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer comprises a function of receiving a user unlocking selection request of a target application icon.
In the embodiment of the present invention, the terminal may be a terminal device such as a smart phone and a tablet computer, or an image capturing device such as a camera and a video camera, which is not particularly limited in the embodiment of the present invention, as long as the application unlocking can be realized by running a program recorded with a code of the application unlocking method in the embodiment of the present invention.
The execution main body for unlocking the application in the embodiment of the invention can be a terminal or a functional module capable of calling a program and executing the program in the terminal.
The terminal can display a multitask management interface, the multitask management interface can be an interface called up according to the operation of a user, and information of background application is displayed in the multitask management interface, specifically, the information includes an application icon of the background application and information such as an application name of the background application.
The user can call the multitask management interface by pressing a physical key or a virtual key arranged on the terminal, the user can call the multitask management interface by clicking a multitask management interface inlet provided on a terminal display screen, and the user can call the multitask management interface by drawing a gesture on the terminal display screen.
When the terminal wants to unlock the background application, the terminal can unlock the background application corresponding to the target application icon by initiating an unlocking selection request for an application icon of the background application, namely the target application icon, to the terminal.
The terminal may determine that an unlocking and selecting request for the target application icon is received when recognizing that the application icon is pressed, may determine that an unlocking and selecting request for the target application icon is received when recognizing that the application icon is added in a preset non-locking area, and the like.
S502: and unlocking the background application corresponding to the target application icon according to the unlocking selection request.
After receiving the unlocking selection request of the target application icon, the terminal can unlock the background application corresponding to the target application icon according to the unlocking selection request, and after the background application corresponding to the target application icon is unlocked, the terminal informs the system that the process of the background application is not required to be reserved, and when the system clears the process, the process of the background application can be automatically killed, so that the problem of memory resource occupation of the terminal is avoided.
When the terminal unlocks the background application corresponding to the target application icon, the background application corresponding to the target application icon can be displayed in a non-locking state in a foreground, the background application corresponding to the target application icon can be identified in a non-locking state in the background, or the background application corresponding to the target application icon can be combined with the background application.
The user can unlock the background application corresponding to the target application icon only by sending the unlocking selection request of the target application icon to the terminal once, so that the operation steps of the user in the application unlocking process are simplified.
According to the embodiment of the invention, the user can unlock and select the application icon of the background application through one-time operation, so that the background application corresponding to the application icon is unlocked, the operation steps of the user are simplified, and the user experience is improved.
Example 8:
in order to improve the efficiency of a user for unlocking a background application, on the basis of the above embodiment, in an embodiment of the present invention, the multitask management interface includes an annular display area, and the receiving a request for unlocking and selecting a target application icon includes:
and receiving an unlocking and selecting request for the target application icon displayed in the annular display area.
If the number of the background applications is too large, the background applications needing to be displayed in the multitask management interface are too much, and a user may not be capable of quickly finding the background applications needing to be unlocked, so that the application icons of the background applications are displayed in the annular display area in a centralized manner, the user can conveniently and intuitively and quickly find the corresponding application icons of the background applications, and the background applications are unlocked.
The multitask management interface comprises an annular display area, the application icons of the background applications can be displayed in the annular display area, and due to the fact that the application icons corresponding to different applications are different, a user can accurately view the application icons of each background application.
The number of the annular display areas included in the multitask management interface can be one or more, if a plurality of annular display areas are included, the annular display areas are not overlapped, and in order to improve the visual effect, the circle center of each annular display area can be the same, and the radius of each annular display area is different.
The application icons of the background application can be displayed in the annular display area in a gathering mode, and a user can operate the target application icons displayed in the annular display area to enable the terminal to receive an unlocking selection request of the target application icons displayed in the annular display area.
In the embodiment of the invention, the application icons are displayed in the annular display area in the multitask management interface in a centralized manner, and a user can visually and quickly find the target application icon, so that the background application corresponding to the target application icon is unlocked, and the unlocking efficiency of the background application is improved.
Example 9:
in order to facilitate a user to visually check the locked background application, on the basis of the foregoing embodiments, in an embodiment of the present invention, the unlocking the background application corresponding to the target application icon includes:
displaying the target application icon in a preset non-locking mode, and identifying the background application corresponding to the target application icon as a non-locking state.
Therefore, when the background application is unlocked, the application icons of the background application are displayed in a preset non-locking mode to prominently display the locked background application, so that the user can conveniently and intuitively check which background applications are locked, and when the background application is not needed, the background application can be timely unlocked, and the occupation of the memory resource of the terminal is also avoided.
When the terminal unlocks the background application corresponding to the target application icon, the terminal can display the target application icon in a preset non-locking mode in the foreground of the terminal, and mark the background application corresponding to the target application icon in a non-locking state in the background.
The terminal may display the target application icon in a preset non-locking manner in the foreground, while identifying the background application corresponding to the target application icon in a non-locking manner in the background, or display the target application icon in a preset non-locking manner in the foreground after identifying the background application corresponding to the target application icon in a non-locking manner in the background, or display the target application icon in a preset non-locking manner in the foreground and identify the background application corresponding to the target application icon in a non-locking manner in the background, that is, in the embodiment of the present invention, the sequence of the time for displaying the target application icon in a preset non-locking manner in the foreground and the time for identifying the background application corresponding to the target application icon in a non-locking manner in the background is not limited.
The terminal stores a preset non-locking style, the preset non-locking style may be an application icon of the background application after non-highlighting unlocking, for example, the preset non-locking style may be a display style of the application icon of the background application defaulted in the terminal.
On the basis of the step 4, the terminal receives an unlocking selection request of the target application icon A displayed in the annular display area, the terminal unlocks the background application corresponding to the target application icon A, and the unlocked target application icon A is shown in fig. 6.
In the embodiment of the invention, the target application icon of the unlocked background application is displayed in a preset non-locking mode, so that a user can conveniently and visually check which background applications are locked, and when the background applications are not needed, the background applications can be unlocked in time, and the occupation of memory resources of the terminal is also avoided.
Example 10:
on the basis of the foregoing embodiments, in an embodiment of the present invention, before unlocking the background application corresponding to the target application icon, the method further includes:
judging whether the background application corresponding to the background application icon is in a locked state;
if yes, the subsequent steps are carried out.
In order to avoid misoperation of a user, when the background application corresponding to the target application icon is determined to be in a locked state, the background application corresponding to the target application icon is unlocked.
The locking state and the non-locking state of the background application are stored in the terminal, so that after the terminal receives an unlocking selection request of a target application icon, whether the background application corresponding to the target application icon is in the locking state or not is judged according to the target application icon, and if yes, the background application corresponding to the target application icon is unlocked, so that misoperation of a user can be avoided.
If the terminal determines that the background application corresponding to the target application icon is not in the locked state, that is, the background application corresponding to the target application icon is in the unlocked state, the background application corresponding to the target application icon does not need to be unlocked, the non-locked state of the background application corresponding to the target application icon is kept unchanged, and therefore the CPU resource of the terminal is saved.
In the embodiment of the invention, when the background application corresponding to the target application icon is in the locking state, the background application corresponding to the target application is locked, so that the misoperation of a user is avoided, and the CPU resource of the terminal is saved.
Example 11:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a terminal 700, as shown in fig. 7, including: the system comprises a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702 and the memory 703 complete mutual communication through the communication bus 704;
the memory 703 has stored therein a computer program which, when executed by the processor 701, causes the processor 701 to perform the steps of:
receiving a locking selection request of a target application icon in a multitask management interface;
and locking the background application corresponding to the target application icon according to the locking selection request.
The embodiment of the invention provides an application locking method applied to a terminal.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 702 is used for communication between the above-described terminal and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
In the embodiment of the invention, when the processor executes the program stored in the memory, the application icon of the background application can be selected in a locking way through one-time operation by a user, the background application corresponding to the application icon is locked, the operation steps of the user are simplified, and the user experience is improved.
Example 12:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer storage readable storage medium, in which a computer program executable by a terminal is stored, and when the program is run on the terminal, the terminal is caused to execute the following steps:
receiving a locking selection request of a target application icon in a multitask management interface;
and locking the background application corresponding to the target application icon according to the locking selection request.
The computer-readable storage medium may be any available medium or data storage device that can be accessed by a processor in a terminal, including but not limited to magnetic memory such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, nonvolatile memories (NAND FLASH), Solid State Disks (SSDs), etc.
The computer-readable storage medium provided by the embodiment of the invention stores the computer program, and when the computer program is executed by the processor, the user can lock and select the application icon of the background application through one-time operation, so that the background application corresponding to the application icon is locked, the operation steps of the user are simplified, and the user experience is improved.
Example 13:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a terminal 800, as shown in fig. 8, including: the system comprises a processor 801, a communication interface 802, a memory 803 and a communication bus 804, wherein the processor 801, the communication interface 802 and the memory 803 complete mutual communication through the communication bus 804;
the memory 803 has stored therein a computer program which, when executed by the processor 801, causes the processor 801 to perform the steps of:
receiving an unlocking selection request of a target application icon in a multitask management interface;
and unlocking the background application corresponding to the target application icon according to the unlocking selection request.
The application unlocking method provided by the embodiment of the invention is applied to the terminal.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 802 is used for communication between the above-described terminal and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
In the embodiment of the invention, when the processor executes the program stored in the memory, the user can unlock and select the application icon of the background application through one-time operation, the background application corresponding to the application icon is unlocked, the operation steps of the user are simplified, and the user experience is improved.
Example 14:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer storage readable storage medium, in which a computer program executable by a terminal is stored, and when the program is run on the terminal, the terminal is caused to execute the following steps:
receiving an unlocking selection request of a target application icon in a multitask management interface;
and unlocking the background application corresponding to the target application icon according to the unlocking selection request.
The computer-readable storage medium may be any available medium or data storage device that can be accessed by a processor in a terminal, including but not limited to magnetic memory such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, nonvolatile memories (NAND FLASH), Solid State Disks (SSDs), etc.
The computer-readable storage medium provided by the embodiment of the invention stores the computer program, and when the computer program is executed by the processor, the user can unlock and select the application icon of the background application through one-time operation, so that the background application corresponding to the application icon is unlocked, the operation steps of the user are simplified, and the user experience is improved.
Fig. 9 is a schematic diagram of an application locking apparatus 900 according to an embodiment of the present invention, which is applied to a terminal, and includes:
a receiving module 901, configured to receive a request for locking and selecting a target application icon in a multitasking management interface;
and a locking module 902, configured to lock the background application corresponding to the target application icon according to the locking selection request.
The multitask management interface comprises an annular display area;
the receiving module 901 is specifically configured to receive a request for locking and selecting a target application icon displayed in the annular display area.
The locking module 902 is specifically configured to display the target application icon in a preset locking style, and identify a background application corresponding to the target application icon as a locked state.
The locking module 902 is further configured to predict, according to the memory occupied by the background application corresponding to the target application icon and the current terminal CPU utilization, time consumed for locking the background application corresponding to the target application icon; judging whether the locking time consumption exceeds a preset locking time threshold; if so, when the current locking time consumption of the background application corresponding to the target application icon reaches the locking time length threshold, performing subsequent steps before displaying the target application icon in a preset locking mode.
The locking module 902 is specifically configured to display the target application icon in at least one of the following preset locking styles, and display the target application icon in a preset animation style; displaying the target application icon in a magnified way; and adding a locking mark on the target application icon for displaying.
The device further comprises:
a display module 903, configured to determine, before the request for locking and selecting the target application icon is received, a corresponding display position of each locked background application according to a length of time that each locked background application is locked; and displaying the application icon of each background application at a corresponding display position in the multitask management interface.
The locking module 902 is further configured to determine whether a background application corresponding to the target application icon is in a non-locked state; and if so, locking the background application corresponding to the target application icon.
In the embodiment of the invention, the user can lock and select the application icon of the background application through one-time operation to realize the corresponding. And locking is performed by using the background application corresponding to the icon, so that the operation steps of the user are simplified, and the user experience is improved.
Fig. 10 is a schematic diagram of an application unlocking device 1000 according to an embodiment of the present invention, which is applied to a terminal, and includes:
a receiving module 1001, configured to receive, in a multitasking management interface, an unlocking selection request for a target application icon;
and the unlocking module 1002 is configured to unlock the background application corresponding to the target application icon according to the unlocking selection request.
The multitask management interface comprises an annular display area;
the receiving module 1001 is specifically configured to receive an unlocking selection request for a target application icon displayed in the annular display area.
The unlocking module 1002 is specifically configured to display the target application icon in a preset non-locking manner, and identify a background application corresponding to the target application icon as a non-locking state.
The unlocking module 1002 is configured to determine whether the background application corresponding to the background application icon is in a locked state; and if so, unlocking the background application corresponding to the target application icon.
According to the embodiment of the invention, the user can unlock and select the application icon of the background application through one-time operation, so that the background application corresponding to the application icon is unlocked, the operation steps of the user are simplified, and the user experience is improved.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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 the preferred embodiments of the present application 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 alterations and modifications as fall within the scope of the application.
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 (8)
1. An application locking method, comprising:
receiving a locking selection request of a target application icon in a multitask management interface;
locking the background application corresponding to the target application icon according to the locking selection request;
the locking the background application corresponding to the target application icon comprises:
displaying the target application icon in a preset locking mode, and identifying background application corresponding to the target application icon as a locking state;
the method further comprises the following steps:
predicting the locking time consumption of the background application corresponding to the target application icon according to the memory occupied by the background application corresponding to the target application icon and the CPU utilization rate of the current terminal;
judging whether the locking time consumption exceeds a preset locking time threshold;
if so, displaying the target application icon in a preset locking mode when the current locking time consumption of the background application corresponding to the target application icon reaches the locking time length threshold;
prior to the receiving the lock selection request for the target application icon, the method further comprises:
determining a corresponding display position of each locked background application according to the locked duration of each locked background application;
displaying the application icon of each background application at a corresponding display position in a multitask management interface;
the multitask management interface comprises an annular display area, and the receiving of the locking selection request of the target application icon comprises the following steps:
and receiving a locking selection request of the target application icon displayed in the annular display area.
2. The method of claim 1, wherein the presenting the target application icon in a preset locking style comprises at least one of:
displaying the target application icon in a preset animation style;
displaying the target application icon in a magnified way;
and adding a locking mark on the target application icon for displaying.
3. The method of claim 1, wherein prior to locking the background application corresponding to the target application icon, the method further comprises:
judging whether the background application corresponding to the target application icon is in a non-locking state;
if yes, the subsequent steps are carried out.
4. An application locking device, characterized in that the device comprises:
the receiving module is used for receiving a locking selection request of a target application icon in the multitask management interface;
the locking module is used for locking the background application corresponding to the target application icon according to the locking selection request;
the locking module is specifically configured to display the target application icon in a preset locking style, and identify a background application corresponding to the target application icon as a locked state;
the locking module is further used for predicting the time consumed by locking the background application corresponding to the target application icon according to the memory occupied by the background application corresponding to the target application icon and the utilization rate of the CPU of the current terminal; judging whether the locking time consumption exceeds a preset locking time threshold; if so, displaying the target application icon in a preset locking mode when the current locking time consumption of the background application corresponding to the target application icon reaches the locking time length threshold;
the device further comprises:
the display module is used for determining a corresponding display position of each locked background application according to the locked duration of each locked background application before the request for locking and selecting the target application icon is received; displaying the application icon of each background application at a corresponding display position in a multitask management interface;
the multitask management interface comprises an annular display area, and the receiving module is specifically used for receiving a locking selection request of a target application icon displayed in the annular display area.
5. The apparatus of claim 4, wherein the locking module is specifically configured to display the target application icon in at least one of a preset locking style and a preset animation style; displaying the target application icon in a magnified way; and adding a locking mark on the target application icon for displaying.
6. The apparatus of claim 4, wherein the locking module is further configured to determine whether a background application corresponding to the target application icon is in a non-locked state; and if so, locking the background application corresponding to the target application icon.
7. A terminal, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method of any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that it stores a computer program executable by a terminal, which program, when run on the terminal, causes the terminal to carry out the steps of the method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810870361.XA CN109299600B (en) | 2018-08-02 | 2018-08-02 | Application locking and unlocking method and device, terminal and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810870361.XA CN109299600B (en) | 2018-08-02 | 2018-08-02 | Application locking and unlocking method and device, terminal and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109299600A CN109299600A (en) | 2019-02-01 |
CN109299600B true CN109299600B (en) | 2021-07-13 |
Family
ID=65172399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810870361.XA Active CN109299600B (en) | 2018-08-02 | 2018-08-02 | Application locking and unlocking method and device, terminal and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109299600B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111782298B (en) * | 2020-06-30 | 2024-03-19 | Oppo(重庆)智能科技有限公司 | Application management method and device, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104965668A (en) * | 2015-06-19 | 2015-10-07 | 北京奇虎科技有限公司 | Interface operating method and device |
CN105868007A (en) * | 2015-12-15 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Background task triggering method and apparatus |
CN106445287A (en) * | 2016-09-18 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | Background application management method and device |
CN107256191A (en) * | 2017-05-17 | 2017-10-17 | 努比亚技术有限公司 | Cartoon display method, device and the computer-readable recording medium of task cleaning |
CN107450985A (en) * | 2017-07-27 | 2017-12-08 | 北京珠穆朗玛移动通信有限公司 | EMS memory management process, mobile terminal and storage medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9104476B2 (en) * | 2010-04-07 | 2015-08-11 | Apple Inc. | Opportunistic multitasking of VOIP applications |
US8813177B2 (en) * | 2012-07-12 | 2014-08-19 | Microsoft Corporation | Background application management |
CN104899153A (en) * | 2015-06-04 | 2015-09-09 | 上海卓易科技股份有限公司 | Background application cleaning method and system |
CN105045514B (en) * | 2015-08-27 | 2018-11-16 | 广东欧珀移动通信有限公司 | A kind of application process management method and terminal |
CN105653312A (en) * | 2015-11-06 | 2016-06-08 | 乐视移动智能信息技术(北京)有限公司 | Multi-application locking and unlocking method and apparatus |
CN107391198B (en) * | 2017-07-25 | 2019-07-16 | Oppo广东移动通信有限公司 | Task scheduling method and device, computer readable storage medium and mobile terminal |
CN108052244A (en) * | 2017-10-30 | 2018-05-18 | 努比亚技术有限公司 | A kind of terminal operation method, terminal and computer readable storage medium |
-
2018
- 2018-08-02 CN CN201810870361.XA patent/CN109299600B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104965668A (en) * | 2015-06-19 | 2015-10-07 | 北京奇虎科技有限公司 | Interface operating method and device |
CN105868007A (en) * | 2015-12-15 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Background task triggering method and apparatus |
CN106445287A (en) * | 2016-09-18 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | Background application management method and device |
CN107256191A (en) * | 2017-05-17 | 2017-10-17 | 努比亚技术有限公司 | Cartoon display method, device and the computer-readable recording medium of task cleaning |
CN107450985A (en) * | 2017-07-27 | 2017-12-08 | 北京珠穆朗玛移动通信有限公司 | EMS memory management process, mobile terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109299600A (en) | 2019-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111427596B (en) | Software upgrading method and device and terminal equipment | |
CN104516783A (en) | Authority control method and device | |
CN111552567B (en) | Thread management method and device, electronic equipment and storage medium | |
CN108293197B (en) | Resource statistical method, device and terminal | |
CN112988185A (en) | Cloud application updating method, device and system, electronic equipment and storage medium | |
CN109299600B (en) | Application locking and unlocking method and device, terminal and readable storage medium | |
CN109164955B (en) | Application display method and device, terminal and storage medium | |
CN113467981A (en) | Exception handling method and device | |
CN110780830A (en) | Household equipment display method and device, terminal and readable storage medium | |
US10719456B2 (en) | Method and apparatus for accessing private data in physical memory of electronic device | |
CN112800401A (en) | Privacy processing method and device and terminal | |
CN113360251A (en) | Intelligent contract execution and cross-contract calling method, device and storage medium | |
CN109710278B (en) | Method and device for unloading application program and terminal equipment | |
CN114065295A (en) | Screen capturing method, device, equipment and medium | |
CN115830777A (en) | Goods access method and device, storage medium and electronic equipment | |
CN109725966B (en) | Mode conversion method, device, terminal equipment and storage medium | |
CN113760631B (en) | Page loading time length determining method, device, equipment and storage medium | |
CN113992784A (en) | Audio and video call method and device, computer equipment and storage medium | |
CN113872797A (en) | Matching method, device, server and terminal device for distribution network strategy | |
CN108197930B (en) | DOI display and transaction information verification method, device and equipment | |
CN111443907A (en) | Method and device for calling SDK function | |
CN107577422B (en) | Photo storage method and device based on double-domain space | |
EP3944103A1 (en) | Method for operational check of software program, electronic device and storage medium | |
CN110262871A (en) | Container instance start and stop method, apparatus, computer equipment and the storage medium of container application | |
CN109324852B (en) | Application display method and device, terminal 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 |