CN110908732B - Application task deleting method and electronic equipment - Google Patents

Application task deleting method and electronic equipment Download PDF

Info

Publication number
CN110908732B
CN110908732B CN201911080369.7A CN201911080369A CN110908732B CN 110908732 B CN110908732 B CN 110908732B CN 201911080369 A CN201911080369 A CN 201911080369A CN 110908732 B CN110908732 B CN 110908732B
Authority
CN
China
Prior art keywords
display mode
task card
deleting
target task
deleted
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
CN201911080369.7A
Other languages
Chinese (zh)
Other versions
CN110908732A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911080369.7A priority Critical patent/CN110908732B/en
Publication of CN110908732A publication Critical patent/CN110908732A/en
Application granted granted Critical
Publication of CN110908732B publication Critical patent/CN110908732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Abstract

The invention provides an application task deleting method and electronic equipment. The method comprises the following steps: when a deleting operation of a target task card in the currently displayed multi-task cards is received, setting a display mode of the target task card as a display mode to be deleted; recording the deleting time corresponding to the deleting operation; determining the deletion error retention time length corresponding to the display mode to be deleted according to the target application corresponding to the target task card; and starting timing from the deleting time, and updating the display mode of the target task card from the display mode to be deleted to a normal display mode under the condition that the awakening operation of the target task card is received within the deletion error retention time. The method and the device can reserve the task card which executes the deleting operation, wake up the task card to be deleted in time when receiving the wake-up operation, avoid repeated operation and information loss caused by the false deletion of the user, and improve the use experience of the user.

Description

Application task deleting method and electronic equipment
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a task deletion method for an application and an electronic device.
Background
With the rapid development of mobile communication technology, an electronic device (such as a mobile phone) can simultaneously run multiple tasks in the background, and users often need to switch between different applications according to personal use requirements.
In the prior art, a background multitasking card switching mechanism is provided, a user can enter a multitasking card mode through gestures or keys and the like, and task cards can be switched through sliding left and right or sliding up and down.
In the process of switching task cards by users, the situation of deleting the task cards by mistake can occur, the task cards which need to be reserved originally are deleted by mistake in the process of deleting the task cards by sliding upwards, the data and the operation of the application corresponding to the task cards are lost, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides an application task deleting method and electronic equipment, which are used for solving the problems that in the prior art, task cards are possibly deleted by mistake in the switching process of the task cards, and the user experience is poor.
In order to solve the technical problems, the embodiment of the invention is realized as follows: :
in a first aspect, an embodiment of the present invention provides a method for deleting a task of an application, including:
When a deleting operation of a target task card in the currently displayed multi-task cards is received, setting a display mode of the target task card as a display mode to be deleted;
recording the deleting time corresponding to the deleting operation;
determining the deletion error retention time length corresponding to the display mode to be deleted according to the target application corresponding to the target task card;
and starting timing from the deleting time, and updating the display mode of the target task card from the display mode to be deleted to a normal display mode under the condition that the awakening operation of the target task card is received within the deletion error retention time.
In a second aspect, an embodiment of the present invention provides an electronic device, including: :
the system comprises a deletion mode setting module, a display mode setting module and a display mode setting module, wherein the deletion mode setting module is used for setting the display mode of a target task card to be a display mode to be deleted when a deletion operation of the target task card in a currently displayed multitask card is received;
the deleting time recording module is used for recording deleting time corresponding to the deleting operation;
the reservation time length determining module is used for determining the false deletion reservation time length corresponding to the display mode to be deleted according to the target application corresponding to the target task card;
And the display mode recovery module is used for starting timing from the deleting time, and updating the display mode of the target task card from the display mode to be deleted to a normal display mode under the condition that the awakening operation of the target task card is received in the deletion error retention time.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program when executed by the processor implements the steps of the task deletion method of any one of the applications described above.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program, when executed by a processor, implements the steps of the task deletion method of any one of the applications described above.
In the embodiment of the invention, when the deleting operation of the target task card in the currently displayed multi-task card is received, the display mode of the target task card is set as a display mode to be deleted, the deleting time corresponding to the deleting operation is recorded, the false deletion retaining time corresponding to the display mode to be deleted is determined according to the target application corresponding to the target task card, the time is counted from the deleting time, and under the condition that the awakening operation of the target task card is received within the false deletion retaining time, the display mode of the target task card is updated from the display mode to be deleted to the normal display mode. According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card with the deleting operation executed by the user can be reserved, and when the awakening operation is received, the task card to be deleted is awakened in time, so that repeated operation and information loss caused by false deletion of the user can be avoided, and the user experience is improved.
Drawings
FIG. 1 is a flowchart illustrating steps of a task deletion method for an application according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a task deletion method for another application according to an embodiment of the present invention;
FIG. 2a is a schematic diagram of a deletion task card according to an embodiment of the present invention;
FIG. 2b is a schematic diagram of a wake-up operation according to an embodiment of the present invention;
FIG. 2c is a schematic diagram of a wake-up operation according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention; the method comprises the steps of carrying out a first treatment on the surface of the
Fig. 4 is a block diagram of still another electronic device according to an embodiment of the present invention;
fig. 5 is a block diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, a step flowchart of an application task deletion method provided by an embodiment of the present invention is shown, where the application task deletion method may be applied to an electronic device, and specifically may include the following steps:
step 101: and when a deleting operation of a target task card in the currently displayed multi-task cards is received, setting the display mode of the target task card as a display mode to be deleted.
In the embodiment of the invention, the electronic equipment can be mobile electronic equipment such as a mobile phone, a PAD (Portablle Android Device, tablet computer) and the like.
The task card refers to a view of the displayed application, namely the task card, when the application is in a front-end running state or a background running state, and when the application needs to be switched to a certain application or the background running state of the certain application is cancelled, a user uses a full-screen gesture or certain keys to enter a multi-task card switching view.
The multi-task card refers to a task card displayed in a multi-task card switching view by an application running in the foreground and an application running in the background of the electronic device.
The target task card is a task card in which the user performs a deletion operation.
In the present invention, the number of the target task cards may be one or a plurality, and in particular, may be determined according to practical situations, which is not limited in the embodiment of the present invention.
The delete operation refers to an operation of deleting the target task card.
The deleting operation of the target task card may be a sliding operation, for example, in the case where a plurality of task cards are arranged laterally in the multi-task card switching view, the target task card may be slid to the left or right, and the sliding operation to the left or right is the deleting operation of the target task card. In the multi-task card switching view, when a plurality of task cards are arranged vertically, the target task card can be slid upwards or downwards, and the operation of sliding upwards or downwards is the deleting operation of the target task card.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solution of the embodiments of the present invention, and are not to be construed as the only limitation of the embodiments of the present invention.
In a specific implementation, the deleting operation of the target task card is not limited to the sliding operation, but may be other types of operations, such as a double click operation, etc., and in particular, may be determined according to the service requirement, which is not limited by the embodiment of the present invention.
The display mode refers to a mode of displaying the task card in the multi-task card switching view.
The display mode to be deleted refers to a display mode in which the target task card is subjected to transparency processing and the transparent target task card is arranged at the bottom layer of the task cards.
When a deleting operation of a target task card in a plurality of currently displayed task cards is received, the display mode of the target task card can be set to be a display mode to be deleted, specifically, the target task card can be transparently processed and hidden, then a task bookmark can be set at the original position of the target task card, and the task bookmark can be used for prompting a user that the task card to be deleted exists currently; and finally, the target task card to be deleted after the transparentization treatment can be placed on the bottom layer of the multi-task card so as to avoid influencing the switching among other task cards. For example, referring to fig. 2a, a schematic diagram of a deletion task card provided by an embodiment of the present invention is shown, where, as shown in fig. 2a, the multi-task card includes: when the application three corresponding task card needs to be deleted, as shown in fig. 2a-1, the application two corresponding task card (as shown in fig. 2 a-2) and the application three corresponding task card (as shown in fig. 2 a-3), the user can slide the application three corresponding task card upwards to execute the deleting operation on the application three corresponding task card, then the display mode of the application three corresponding task card is set to be a display mode to be deleted, as shown in fig. 2a-2, the application three corresponding task card is subjected to transparency processing, finally the transparent application three corresponding task card is placed at the bottommost layer of the task cards, as shown in fig. 2a-3, and the transparent application three corresponding task card is placed at the application two and the application one corresponding task card.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solution of the embodiments of the present invention, and are not to be construed as the only limitation of the embodiments of the present invention.
After the display mode of the target task card is set to the display mode to be deleted, step 102 is performed.
Step 102: and recording the deleting time corresponding to the deleting operation.
The deletion time refers to a time corresponding to the deletion time.
After receiving the deletion operation of the target task card, the time corresponding to the deletion operation, that is, the deletion time may be recorded.
After the deletion time corresponding to the deletion operation is recorded, step 103 is performed.
Step 103: and determining the deletion error retention time corresponding to the display mode to be deleted according to the target application corresponding to the target task card.
The target application refers to an application corresponding to the target task card.
The deletion error retention time is the time for retaining the target task card in the display mode to be deleted.
After the target application corresponding to the target task card is obtained, the deletion error retention time corresponding to the display mode to be deleted can be determined according to the target application, that is, the time of retaining the target task card in the display mode to be deleted, specifically, the deletion error retention time of the target application in the display mode to be deleted can be determined according to the use frequency of the target application, and specifically, the description of the embodiment of the present invention will be omitted herein.
After determining the deletion error retention time corresponding to the display mode to be deleted according to the target application corresponding to the target task card, executing step 104.
Step 104: and starting timing from the deleting time, and updating the display mode of the target task card from the display mode to be deleted to a normal display mode under the condition that the awakening operation of the target task card is received within the deletion error retention time.
The wake-up operation is an operation of waking up the target application in the display mode to be deleted, i.e., an operation of updating the target application after the transparency process to the normal display mode.
The normal display mode is a mode in which a target task card that is in transparency is displayed in a mode before the transparency process.
The wake-up operation may be an operation of waking up the target task card in the display mode to be deleted according to the facial expression of the user, or an operation of waking up the target task card in the display mode to be deleted, which is obtained by rotating the electronic device, specifically, will be described in detail in the following second embodiment, which is not described herein.
And (3) timing from the deleting time, and judging whether wake-up operation of the target task card is received or not under the condition that the timing time is within the mistaken deleting retention time.
And under the condition that the wake-up operation on the target task card is not received, the target task card of the display mode to be deleted is cleared from the multi-task card switching view.
And under the condition that the wake-up operation of the target task card is received, updating the display mode of the target task card from the display mode to be deleted to the normal display mode, namely updating the transparent target task card to a state before the transparent, and placing the target task card at the position of adding the task bookmark.
According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card with the deleting operation executed by the user can be reserved, and when the awakening operation is received, the task card to be deleted is awakened in time, so that repeated operation and information loss caused by false deletion of the user can be avoided.
According to the task deleting method of the application, when deleting operation of the target task card in the currently displayed multi-task card is received, the display mode of the target task card is set to be the display mode to be deleted, deleting time corresponding to the deleting operation is recorded, the mistaken deleting reserved time length corresponding to the display mode to be deleted is determined according to the target application corresponding to the target task card, timing is started from the deleting time, and under the condition that awakening operation of the target task card is received within the mistaken deleting reserved time length, the display mode of the target task card is updated from the display mode to be deleted to the normal display mode. According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card with the deleting operation executed by the user can be reserved, and when the awakening operation is received, the task card to be deleted is awakened in time, so that repeated operation and information loss caused by false deletion of the user can be avoided, and the user experience is improved.
Example two
Referring to fig. 2, a step flowchart of a task deletion method of another application provided by an embodiment of the present invention is shown, where the task deletion method of the application may be applied to an electronic device, and specifically may include the following steps:
step 201: and when a deleting operation of a target task card in the currently displayed multi-task cards is received, setting the display mode of the target task card as a display mode to be deleted.
In the embodiment of the invention, the electronic equipment can be mobile electronic equipment such as a mobile phone, a PAD (Portablle Android Device, tablet computer) and the like.
The task card refers to a view of the displayed application, namely the task card, when the application is in a front-end running state or a background running state, and when the application needs to be switched to a certain application or the background running state of the certain application is cancelled, a user uses a full-screen gesture or certain keys to enter a multi-task card switching view.
The multi-task card refers to a task card displayed in a multi-task card switching view by an application running in the foreground and an application running in the background of the electronic device.
The target task card is a task card in which the user performs a deletion operation.
In the present invention, the number of the target task cards may be one or a plurality, and in particular, may be determined according to practical situations, which is not limited in the embodiment of the present invention.
The delete operation refers to an operation of deleting the target task card.
The deleting operation of the target task card may be a sliding operation, for example, in the case where a plurality of task cards are arranged laterally in the multi-task card switching view, the target task card may be slid to the left or right, and the sliding operation to the left or right is the deleting operation of the target task card. In the multi-task card switching view, when a plurality of task cards are arranged vertically, the target task card can be slid upwards or downwards, and the operation of sliding upwards or downwards is the deleting operation of the target task card.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solution of the embodiments of the present invention, and are not to be construed as the only limitation of the embodiments of the present invention.
In a specific implementation, the deleting operation of the target task card is not limited to the sliding operation, but may be other types of operations, such as a double click operation, etc., and in particular, may be determined according to the service requirement, which is not limited by the embodiment of the present invention.
The display mode refers to a mode of displaying the task card in the multi-task card switching view.
The display mode to be deleted refers to that the target task card is subjected to transparency treatment, and the transparent target task card is arranged at the bottom layers of the task cards.
When a deleting operation of a target task card in the displayed plurality of task cards is received, the display mode of the target task card can be set to be a display mode to be deleted, specifically, the target task card can be transparently processed and hidden, then a task bookmark can be set at the original position of the target task card, and the task bookmark can be used for prompting a user that the task card to be deleted exists currently; and finally, the target task card to be deleted after the transparentization treatment can be placed on the bottom layer of the multi-task card so as to avoid influencing the switching among other task cards. For example, referring to fig. 2a, a schematic diagram of a deletion task card provided by an embodiment of the present invention is shown, where, as shown in fig. 2a, the multi-task card includes: when the application three corresponding task card needs to be deleted, as shown in fig. 2a-1, the application two corresponding task card (as shown in fig. 2 a-2) and the application three corresponding task card (as shown in fig. 2 a-3), the user can slide the application three corresponding task card upwards to execute the deleting operation on the application three corresponding task card, then the display mode of the application three corresponding task card is set to be a display mode to be deleted, as shown in fig. 2a-2, the application three corresponding task card is subjected to transparency processing, finally the transparent application three corresponding task card is placed at the bottommost layer of the task cards, as shown in fig. 2a-3, and the transparent application three corresponding task card is placed at the application two and the application one corresponding task card.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solution of the embodiments of the present invention, and are not to be construed as the only limitation of the embodiments of the present invention.
After the display mode of the target task card is set to the display mode to be deleted, step 202 is performed.
Step 202: and recording the deleting time corresponding to the deleting operation.
The deletion time refers to a time corresponding to the deletion time.
After receiving the deletion operation of the target task card, the time corresponding to the deletion operation, that is, the deletion time may be recorded.
After the deletion time corresponding to the deletion operation is recorded, step 203 is performed.
Step 203: and acquiring the use frequency of the target application in a preset time length from the current time.
The target application refers to an application corresponding to the target task card.
The frequency of use refers to a frequency of use of the target application within a preset time period from the current time, specifically, the frequency of use of the target application may be taken as a unit of days, and a ratio of the number of times to the number of days may be taken as the frequency of use of the target application in combination with the number of times of use of the target application by the user.
Of course, not limited to this, in a specific implementation, the frequency of use of the target application in the preset duration from the current time may be obtained in other manners, for example, in units of hours, etc., and specifically, the embodiment of the present invention may be determined according to the service requirement, which is not limited.
After obtaining the frequency of use of the target application within a preset time period from the current time, step 204 is performed.
Step 204: and acquiring the deletion error retention time corresponding to the display mode to be deleted according to the use frequency.
The deletion error retention time length refers to the time length of retaining the target task card of the display mode to be deleted.
After the use frequency of the target application is obtained, the mistaken deletion retention time corresponding to the display mode to be deleted can be obtained according to the use frequency, namely the time for retaining the target task card of the display mode to be deleted, specifically, the higher the use frequency is, the larger the value of the mistaken deletion retention time is, and conversely, the smaller the value of the mistaken deletion retention time is.
The size of the deletion error retention time corresponding to the use frequency can be determined according to the service requirement, and the embodiment of the invention is not limited to this.
After acquiring the deletion error reservation duration corresponding to the display mode to be deleted according to the use frequency, step 205 is executed, or step 208 is executed, or step 210 is executed.
Step 205: and starting timing from the deleting time, and acquiring face image information of the user in the false deleting retention time.
The face image information refers to face information in a face image of a user of the electronic device, which is acquired by a front camera of the electronic device after the display mode of the target task card is set to be a display mode to be deleted.
After the display mode of the target task card is set as the display mode to be deleted and the mistaken deletion retention time corresponding to the display mode to be deleted is obtained, a front camera of the electronic equipment can be started to acquire the face image of the user.
After acquiring the face image information of the user, step 206 is performed.
Step 206: and determining the expression type corresponding to the facial expression of the user according to the facial image information.
The expression type refers to a type corresponding to a facial expression of the user.
After face image information of a user is obtained, facial expressions of the user can be identified according to the face image information, and expression types corresponding to the facial expressions of the user are determined, for example, referring to fig. 2b, a schematic diagram of a wake-up operation provided by an embodiment of the present invention is shown, as shown in fig. 2b, first, as shown in fig. 2b-1, a front camera of a mobile phone can be turned on to collect the face image of the user, and then the facial expressions of the user of the face image are identified. As shown in fig. 2b-2, after the facial expression of the user is recognized, the expression type corresponding to the facial expression, such as remorse, smile, chaise, etc., may be obtained.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solution of the embodiments of the present invention, and are not to be construed as the only limitation of the embodiments of the present invention.
After determining the expression type corresponding to the facial expression of the user from the facial image, step 207 is performed.
Step 207: and under the condition that the expression type belongs to a negative expression type, updating the display mode of the target task card from the display mode to be deleted to a normal display mode.
The negative expression type refers to the expression type such as remorse, smile, frustration and the like.
After the expression type corresponding to the facial expression of the user is obtained, whether the expression type of the facial expression of the user is a negative expression type or not can be judged.
Under the condition that the expression type of the facial expression of the user is a negative expression type, the display mode of the target task card can be updated from the display mode to be deleted to the normal display mode, namely, the transparent target task card is restored to the state before the transparency, and the target task card is placed at the position where the task bookmark is added.
Step 208: and starting timing from the deleting time, and receiving the rotation operation of the user on the electronic equipment in the mistaken deleting retention time.
The rotating operation refers to an operation of rotating the electronic device by a user, for example, referring to fig. 2c, a schematic diagram of another wake-up operation provided in an embodiment of the present invention is shown in fig. 2c, as shown in fig. 2c-1, in which a user may rotate a mobile phone with a finger, and a sensor disposed in the mobile phone may sense the rotating operation of the mobile phone.
And in the false deletion retention time after the time from the deletion time begins, the rotation operation of the user on the electronic equipment can be received.
After receiving the rotation operation of the user with respect to the electronic device, step 209 is performed.
Step 209: and under the condition that the rotation angle of the electronic equipment reaches a set angle, updating the display mode of the target task card from the display mode to be deleted to a normal display mode.
The set angle is an angle preset by a business person and used for updating the display mode of the task card from the display mode to be deleted to the normal display mode.
Specific values for the setting angle may depend on the service requirement, such as 360 °, 180 °, and so on, which is not limited by the embodiment of the present invention.
After receiving the rotation operation of the user on the electronic equipment, the rotation angle of the electronic equipment can be obtained, and under the condition that the rotation angle reaches the set angle, the display mode of the target task card is updated from the display mode to be deleted to the normal display mode, namely, the transparent target task card is restored to the state before the transparency, and the target task card is placed at the position of adding the task bookmark.
According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card with the deleting operation executed by the user can be reserved, and when the awakening operation is received, the task card to be deleted is awakened in time, so that repeated operation and information loss caused by false deletion of the user can be avoided.
Step 210: and starting timing from the deleting time, and deleting the target task card under the condition that the awakening operation of the target task card is not received within the deletion error retention time.
The wake-up operation is an operation of waking up the target application in the display mode to be deleted, i.e., an operation of updating the target application after the transparency process to the normal display mode.
The wake-up operation may be an operation of waking up the target task card in the display mode to be deleted according to the facial expression of the user, or an operation of waking up the target task card in the display mode to be deleted, which is obtained by rotating the electronic device, by the user.
And (3) counting from the deleting time, and judging whether a wake-up operation of the target task card is received or not under the condition that the counting time is within the mistaken deleting retention time.
And under the condition that the wake-up operation for the target task card is not received, the target task card of the display mode to be deleted is cleared from the multi-task card switching view, namely the target task card is deleted.
The task deleting method of the application provided by the embodiment of the invention not only has the beneficial effects of the task deleting method of the application provided by the first embodiment, but also can set the awakening modes of the task cards with different display modes to be deleted, enrich the operation of users, awaken the task cards and improve the use experience of the users.
Example III
Referring to fig. 3, a block diagram of an electronic device provided by an embodiment of the present invention is shown, and as shown in fig. 3, the electronic device may specifically include the following modules:
a deletion mode setting module 310, configured to set a display mode of a target task card in a currently displayed multitask card as a display mode to be deleted when a deletion operation of the target task card is received;
a deletion time recording module 320, configured to record a deletion time corresponding to the deletion operation;
the retention time determining module 330 is configured to determine, according to a target application corresponding to the target task card, a deletion error retention time corresponding to the display mode to be deleted;
and the display mode restoring module 340 is configured to start timing from the deletion time, and update the display mode of the target task card from the display mode to be deleted to a normal display mode when a wake-up operation for the target task card is received within the deletion-error retention time.
According to the electronic device provided by the embodiment of the invention, when the deleting operation of the target task card in the currently displayed multitask cards is received, the display mode of the target task card is set to be the display mode to be deleted, the deleting time corresponding to the deleting operation is recorded, the false deletion retaining time corresponding to the display mode to be deleted is determined according to the target application corresponding to the target task card, the time is counted from the deleting time, and under the condition that the awakening operation of the target task card is received within the false deletion retaining time, the display mode of the target task card is updated from the display mode to be deleted to the normal display mode. According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card with the deleting operation executed by the user can be reserved, and when the awakening operation is received, the task card to be deleted is awakened in time, so that repeated operation and information loss caused by false deletion of the user can be avoided, and the user experience is improved.
Example IV
Referring to fig. 4, a block diagram of still another electronic device provided by an embodiment of the present invention is shown, and as shown in fig. 4, the electronic device may specifically include the following modules:
a deletion mode setting module 410, configured to set a display mode of a target task card in a currently displayed multitask card as a display mode to be deleted when a deletion operation of the target task card is received;
A deletion time recording module 420, configured to record a deletion time corresponding to the deletion operation;
the retention time determining module 430 is configured to determine, according to a target application corresponding to the target task card, a deletion error retention time corresponding to the display mode to be deleted;
the display mode restoring module 440 is configured to start timing from the deletion time, and update the display mode of the target task card from the display mode to be deleted to a normal display mode when a wake-up operation for the target task card is received within the deletion-error retention time;
and the task card deleting module 450 is configured to delete the target task card when the wake-up operation for the target task card is not received within the deletion error retention time from the time of deletion.
Preferably, the reservation duration determining module 430 includes:
a usage frequency obtaining sub-module 431, configured to obtain a usage frequency of the target application within a preset duration from a current time;
and the retention time length obtaining sub-module 432 is configured to obtain, according to the usage frequency, a deletion error retention time length corresponding to the display mode to be deleted.
Preferably, the display mode recovery module 440 includes:
the face image acquisition sub-module 441 is configured to start timing from the deletion time, and acquire face image information of a user within the deletion error retention time;
an expression type determining sub-module 442, configured to determine an expression type corresponding to a facial expression of the user according to the facial image information;
the first mode restoring sub-module 443 is configured to update the display mode of the target task card from the display mode to be deleted to a normal display mode when the expression type belongs to a negative expression type.
Preferably, the display mode recovery module 440 includes:
a rotation operation receiving sub-module 444, configured to start timing from the deletion time, and receive a rotation operation of the electronic device by a user in the deletion error retention period;
and a second mode restoring sub-module 445, configured to update the display mode of the target task card from the display mode to be deleted to a normal display mode when the rotation angle of the electronic device reaches a set angle.
The electronic equipment provided by the embodiment of the invention not only has the beneficial effects of the electronic equipment provided by the third embodiment, but also can set the awakening modes of the task cards with different display modes to be deleted, enriches the operation of users, and can improve the use experience of the users while awakening the task cards.
Example five
Referring to fig. 5, a hardware configuration of another electronic device for implementing various embodiments of the present invention is shown.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and power source 511. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 5 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
A processor 510, configured to set a display mode of a target task card in a currently displayed multitasking card as a display mode to be deleted when a deletion operation of the target task card is received; recording the deleting time corresponding to the deleting operation; determining the deletion error retention time length corresponding to the display mode to be deleted according to the target application corresponding to the target task card; and starting timing from the deleting time, and updating the display mode of the target task card from the display mode to be deleted to a normal display mode under the condition that the awakening operation of the target task card is received within the deletion error retention time.
In the embodiment of the invention, when the deleting operation of the target task card in the currently displayed multi-task card is received, the display mode of the target task card is set as a display mode to be deleted, the deleting time corresponding to the deleting operation is recorded, the false deletion retaining time corresponding to the display mode to be deleted is determined according to the target application corresponding to the target task card, the time is counted from the deleting time, and under the condition that the awakening operation of the target task card is received within the false deletion retaining time, the display mode of the target task card is updated from the display mode to be deleted to the normal display mode. According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card with the deleting operation executed by the user can be reserved, and when the awakening operation is received, the task card to be deleted is awakened in time, so that repeated operation and information loss caused by false deletion of the user can be avoided, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 510; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 502, such as helping the user to send and receive e-mail, browse web pages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 500. The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used for receiving an audio or video signal. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. Microphone 5042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 501 in case of a phone call mode.
The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or the backlight when the electronic device 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 505 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 506 is used to display information input by a user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 is operable to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 5071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). Touch panel 5071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (e.g., volume control keys, switch keys, etc.), trackballs, mice, joysticks, and so forth, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 510 to determine a type of touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and an external device.
The memory 509 may be used to store software programs as well as various data. The memory 509 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 (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The electronic device 500 may also include a power supply 511 (e.g., a battery) for powering the various components, and preferably the power supply 511 may be logically connected to the processor 510 via a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 500 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides an electronic device, including a processor 510, a memory 509, and a computer program stored in the memory 509 and capable of running on the processor 510, where the computer program when executed by the processor 510 implements each process of the task deletion method embodiment of the application, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the task deletion method embodiment of the application, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. An applied task deleting method is applied to electronic equipment and is characterized by comprising the following steps:
when a deleting operation of a target task card in a currently displayed multi-task card is received, setting a display mode of the target task card as a display mode to be deleted, wherein the display mode to be deleted refers to a display mode of performing transparency processing on the target task card and placing the transparent target task card on the bottom layer of the multi-task card;
recording the deleting time corresponding to the deleting operation;
determining the deletion error retention time length corresponding to the display mode to be deleted according to the target application corresponding to the target task card;
and starting timing from the deleting time, and updating the display mode of the target task card from the display mode to be deleted to a normal display mode under the condition that the awakening operation of the target task card is received within the deletion error retention time.
2. The method of claim 1, wherein the step of determining the deletion error retention time corresponding to the display mode to be deleted according to the target application corresponding to the target task card includes:
acquiring the use frequency of the target application in a preset time length from the current time;
and acquiring the deletion error retention time corresponding to the display mode to be deleted according to the use frequency.
3. The method according to claim 1, wherein the step of updating the display mode of the target task card from the display mode to be deleted to a normal display mode when the wake-up operation for the target task card is received within the deletion time reservation period, includes:
timing from the deleting time, and acquiring face image information of a user in the false deleting retention time;
determining the expression type corresponding to the facial expression of the user according to the facial image information;
and under the condition that the expression type belongs to a negative expression type, updating the display mode of the target task card from the display mode to be deleted to a normal display mode.
4. The method according to claim 1, wherein the step of updating the display mode of the target task card from the display mode to be deleted to a normal display mode when the wake-up operation for the target task card is received within the deletion time reservation period, includes:
starting timing from the deleting time, and receiving the rotation operation of the user on the electronic equipment in the mistaken deleting retention time;
and under the condition that the rotation angle of the electronic equipment reaches a preset angle, updating the display mode of the target task card from the display mode to be deleted to a normal display mode.
5. The method of claim 1, further comprising, after the step of determining the deletion error retention time corresponding to the display mode to be deleted:
and starting timing from the deleting time, and deleting the target task card under the condition that the awakening operation of the target task card is not received within the deletion error retention time.
6. An electronic device, comprising:
the system comprises a deletion mode setting module, a display mode setting module and a display mode setting module, wherein the deletion mode setting module is used for setting a display mode of a target task card to be a display mode to be deleted when a deletion operation of the target task card in a currently displayed multitask card is received, the display mode to be deleted refers to a display mode of the target task card which is subjected to transparency processing and the transparent target task card is placed at the bottom layer of the multitask card;
The deleting time recording module is used for recording deleting time corresponding to the deleting operation;
the reservation time length determining module is used for determining the false deletion reservation time length corresponding to the display mode to be deleted according to the target application corresponding to the target task card;
and the display mode recovery module is used for starting timing from the deleting time, and updating the display mode of the target task card from the display mode to be deleted to a normal display mode under the condition that the awakening operation of the target task card is received in the deletion error retention time.
7. The electronic device of claim 6, wherein the reserve time period determination module comprises:
the using frequency obtaining sub-module is used for obtaining the using frequency of the target application in a preset duration from the current time;
and the reservation time length acquisition sub-module is used for acquiring the false deletion reservation time length corresponding to the display mode to be deleted according to the use frequency.
8. The electronic device of claim 6, wherein the display mode restoration module comprises:
the face image acquisition sub-module is used for timing from the deleting time and acquiring face image information of a user in the false deleting retention time;
The expression type determining submodule is used for determining the expression type corresponding to the facial expression of the user according to the facial image information;
and the first mode recovery submodule is used for updating the display mode of the target task card from the display mode to be deleted to a normal display mode under the condition that the expression type belongs to a negative expression type.
9. The electronic device of claim 6, wherein the display mode restoration module comprises:
the rotating operation receiving sub-module is used for starting timing from the deleting time and receiving the rotating operation of the user on the electronic equipment in the mistaken deleting retention time;
and the second mode recovery submodule is used for updating the display mode of the target task card from the display mode to be deleted to a normal display mode under the condition that the rotation angle of the electronic equipment reaches a set angle.
10. The electronic device of claim 6, further comprising:
and the task card deleting module is used for starting timing from the deleting time and deleting the target task card under the condition that the awakening operation of the target task card is not received within the false deleting retention time.
CN201911080369.7A 2019-11-06 2019-11-06 Application task deleting method and electronic equipment Active CN110908732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911080369.7A CN110908732B (en) 2019-11-06 2019-11-06 Application task deleting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911080369.7A CN110908732B (en) 2019-11-06 2019-11-06 Application task deleting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110908732A CN110908732A (en) 2020-03-24
CN110908732B true CN110908732B (en) 2024-02-02

Family

ID=69816492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911080369.7A Active CN110908732B (en) 2019-11-06 2019-11-06 Application task deleting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110908732B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112379822A (en) * 2020-11-25 2021-02-19 武汉市人机科技有限公司 Method for removing whiteboard cards

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867971A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Application management method and device
CN110262877A (en) * 2019-04-30 2019-09-20 华为技术有限公司 A kind of card processing method and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9189642B2 (en) * 2007-03-14 2015-11-17 Oracle America, Inc. Safe processing of on-demand delete requests
US9658740B2 (en) * 2013-03-15 2017-05-23 Apple Inc. Device, method, and graphical user interface for managing concurrently open software applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867971A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Application management method and device
CN110262877A (en) * 2019-04-30 2019-09-20 华为技术有限公司 A kind of card processing method and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Oracle数据库的经营分析系统数据支撑方案;王闯 等;《漯河职业技术学院学报》;第14卷(第5期);第55-57页 *

Also Published As

Publication number Publication date
CN110908732A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN107613131B (en) Application program disturbance-free method, mobile terminal and computer-readable storage medium
CN109343759B (en) Screen-turning display control method and terminal
CN108135033B (en) Bluetooth connection method and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN108089891B (en) Application program starting method and mobile terminal
CN110837327B (en) Message viewing method and terminal
CN108737904B (en) Video data processing method and mobile terminal
WO2021017776A1 (en) Information processing method and terminal
CN108712566B (en) Voice assistant awakening method and mobile terminal
CN110062105B (en) Interface display method and terminal equipment
CN110989882B (en) Control method, electronic device and computer readable storage medium
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN107613095B (en) Incoming call processing method and mobile terminal
CN108196753B (en) Interface switching method and mobile terminal
CN111339515A (en) Application program starting method and electronic equipment
US20210320995A1 (en) Conversation creating method and terminal device
CN109062634B (en) Application starting method and mobile terminal
CN111459362A (en) Information display method, information display device, electronic apparatus, and storage medium
CN108536349B (en) Icon management method and mobile terminal
JP7221305B2 (en) Object recognition method and mobile terminal
CN109257489B (en) Display method and mobile terminal
CN109126127B (en) Game control method, dual-screen mobile terminal and computer-readable storage medium
CN108089935B (en) Application program management method and mobile terminal
CN107967086B (en) Icon arrangement method and device for mobile terminal and mobile terminal
CN111124537B (en) Application starting method and electronic equipment

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