CN110908732A - Task deleting method of application and electronic equipment - Google Patents

Task deleting method of application and electronic equipment Download PDF

Info

Publication number
CN110908732A
CN110908732A CN201911080369.7A CN201911080369A CN110908732A CN 110908732 A CN110908732 A CN 110908732A CN 201911080369 A CN201911080369 A CN 201911080369A CN 110908732 A CN110908732 A CN 110908732A
Authority
CN
China
Prior art keywords
display mode
task card
deleting
deleted
target task
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.)
Granted
Application number
CN201911080369.7A
Other languages
Chinese (zh)
Other versions
CN110908732B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

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 currently displayed multitask cards is received, setting a display mode of the target task card as a display mode to be deleted; recording the deletion time corresponding to the deletion operation; determining the mistaken deletion reserved 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 mistaken deleting reserved time length. The task card executing the deleting operation can be reserved, the task card to be deleted is awakened in time when the awakening operation is received, repeated operation and information loss caused by mistaken deletion of the user can be avoided, and the use experience of the user is improved.

Description

Task deleting method of application 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, electronic devices (such as mobile phones and the like) can simultaneously run multiple tasks in the background, and users often need to switch between different applications according to personal use requirements.
The prior art provides a background multitask card switching mechanism, a user can enter a multitask card mode through gestures or keys and the like, and task cards can be switched by sliding left and right or up and down.
In the process of switching the task cards by the user, the situation of mistaken deletion may occur, the task cards which are originally required to be reserved are mistakenly deleted in the process of deleting the task cards by sliding upwards, data and operation of applications corresponding to the task cards are lost, and user experience is poor.
Disclosure of Invention
The embodiment of the invention provides an application task deleting method and electronic equipment, and aims to solve the problems that in the prior art, in the switching process of task cards, the task cards are mistakenly deleted and the user experience is poor.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows: :
in a first aspect, an embodiment of the present invention provides a method for deleting a task of an application, where the method includes:
when a deleting operation of a target task card in currently displayed multitask cards is received, setting a display mode of the target task card as a display mode to be deleted;
recording the deletion time corresponding to the deletion operation;
determining the mistaken deletion reserved 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 mistaken deleting reserved time length.
In a second aspect, an embodiment of the present invention provides an electronic device, including: :
the system comprises a deleting mode setting module, a displaying module and a displaying module, wherein the deleting mode setting module is used for setting the displaying mode of a target task card in a currently displayed multitask card as a to-be-deleted displaying mode when the deleting operation of the target task card is received;
the deleting time recording module is used for recording the deleting time corresponding to the deleting operation;
the reserved time length determining module is used for determining the mistaken deletion reserved 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 deletion 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 mistaken deletion reserved time.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes 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 for an application described in any one of the above.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the task deletion method for an application described in any one of the above.
In 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 as the display mode to be deleted, the deleting time corresponding to the deleting operation is recorded, the mistaken deletion reserved 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 the display mode of the target task card is updated to the normal display mode from the display mode to be deleted under the condition that the awakening operation of the target task card is received within the mistaken deletion reserved time. According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card which is deleted by the user can be reserved, and the task card to be deleted is awakened in time when the awakening operation is received, so that repeated operation and information loss caused by mistaken deletion of the user can be avoided, and the user experience is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a task deleting method for an application according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a task deleting method for another application according to an embodiment of the present invention;
FIG. 2a is a schematic diagram of a task card deletion 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 diagram illustrating another 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; (ii) a
Fig. 4 is a block diagram of 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 technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 one
Referring to fig. 1, a flowchart illustrating steps of a task deleting method for an application according to an embodiment of the present invention is shown, where the task deleting method for an application may be applied to an electronic device, and specifically may include the following steps:
step 101: when a deleting operation of a target task card in the currently displayed multitask cards is received, setting the display mode of the target task card as a display mode to be deleted.
In the embodiment of the present invention, the electronic Device may be a mobile electronic Device such as a mobile phone and a PAD (tablet Android Device).
The task card refers to a task card which is displayed 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 enters a multi-task card switching view by using a full-screen gesture or certain keys.
The multitask card refers to a task card displayed in a multitask card switching view of an application running in the foreground and an application running in the background of the electronic equipment.
The target task card refers to a task card on which the user has performed the delete operation.
In the present invention, the number of the target task cards may be one or multiple, and specifically, may be determined according to actual situations, and the embodiment of the present invention is not limited thereto.
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 that the plurality of task cards are arranged horizontally in the multi-task card switching view, the target task card may be slid leftward or rightward, and the leftward or rightward sliding operation is the deleting operation of the target task card. In the multi-task card switching view, when the plurality of task cards are longitudinally arranged, 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 should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken 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 also be other forms of operations, such as a double-click operation, and the like, and specifically, may be determined according to business requirements, which is not limited in this embodiment of the present invention.
The display mode is 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 of performing transparentization processing on the target task cards and placing the transparentized target task cards on the bottom layers of the plurality of task cards.
When a deleting operation of a target task card in a plurality of currently displayed task cards is received, setting a display mode of the target task card as a display mode to be deleted, specifically, transparentizing and hiding the target task card, and then setting a task bookmark at an original position of the target task card, wherein the task bookmark can be used for prompting a user that the task card to be deleted currently exists; and finally, the target task card to be deleted after the transparentization treatment can be placed at 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 deleting a task card according to an embodiment of the present invention is shown, and as shown in fig. 2a, the multitask card includes: application one corresponding task card (e.g., FIGS. 2a-1), application two corresponding task card (e.g., FIGS. 2a-2), and application three corresponding task card (e.g., FIGS. 2a-3), when the task card corresponding to the application three needs to be deleted, as shown in fig. 2a-1, the user can slide the task card corresponding to the application three upwards to execute the deletion operation on the task card corresponding to the application three, then setting the display mode of the task card corresponding to the application III as the display mode to be deleted, as shown in FIG. 2a-2, performing transparentization processing on the task card corresponding to the application III, finally, placing the transparentized task card corresponding to the application III on the bottommost layer of the task cards, 2a-3, the task card corresponding to the application three that is transparent is placed in the task card corresponding to the application two and the application one.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After the display mode of the target task card is set to be the display mode to be deleted, step 102 is executed.
Step 102: and recording the deletion time corresponding to the deletion operation.
The deletion time is a time corresponding to the deletion time.
After the deletion operation of the target task card is received, the time corresponding to the deletion operation, namely the deletion time, can be recorded.
After recording the deletion time corresponding to the deletion operation, step 103 is performed.
Step 103: and determining the mistaken deletion reserved time length 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 mistakenly deleted retention time length refers to the time length for retaining the target task card of the display mode to be deleted.
After the target application corresponding to the target task card is obtained, the mistaken deletion retention time corresponding to the display mode to be deleted, that is, the time for retaining the target task card of the display mode to be deleted, may be determined according to the use frequency of the target application, and specifically, the mistaken deletion retention time of the target application of the display mode to be deleted may be determined according to the use frequency of the target application, which will be described in detail in the following embodiment two, and details of the embodiment of the present invention are not repeated herein.
And executing step 104 after determining the mistaken deletion reserved time corresponding to the display mode to be deleted according to the target application corresponding to the target task card.
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 mistaken deleting reserved time length.
The wake-up operation is an operation of waking up the target application of the display mode to be deleted, that is, an operation of updating the target application after the transparentization processing to the normal display mode.
The normal display mode is a mode in which the target task card that has been transparentized is displayed before the transparentization processing.
The waking operation may be an operation of waking up the target task card in the to-be-deleted display mode according to the facial expression of the user, or an operation of waking up the target task card in the to-be-deleted display mode by rotating the electronic device by the user, and specifically, will be described in detail in the following second embodiment, which is not described herein again in this embodiment of the present invention.
And timing from the deleting time, and judging whether the awakening operation of the target task card is received or not under the condition that the timing duration is within the mistaken deleting reserved duration.
And under the condition that the awakening operation on the target task card is not received, the target task card with the display mode to be deleted is removed from the multi-task card switching view.
And under the condition of receiving the awakening operation of the target task card, updating the display mode of the target task card from the display mode to be deleted to the normal display mode, namely updating the transparentized target task card to the state before transparentization, and placing the target task card at the position where the task bookmark is added.
According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card which is deleted by the user can be reserved, and the task card to be deleted is awakened in time when the awakening operation is received, so that repeated operation and information loss caused by mistaken deletion of the user can be avoided.
According to the task deleting method for the application provided by the embodiment of the invention, when the deleting operation of the target task card in the currently displayed multitask card 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 mistaken deletion reserved time length 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 length, and the display mode of the target task card is updated to the normal display mode from the display mode to be deleted under the condition that the awakening operation of the target task card is received within the mistaken deletion reserved time length. According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card which is deleted by the user can be reserved, and the task card to be deleted is awakened in time when the awakening operation is received, so that repeated operation and information loss caused by mistaken deletion of the user can be avoided, and the user experience is improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of a task deleting method for another application according to an embodiment of the present invention is shown, where the task deleting method for an application may be applied to an electronic device, and specifically may include the following steps:
step 201: when a deleting operation of a target task card in the currently displayed multitask cards is received, setting the display mode of the target task card as a display mode to be deleted.
In the embodiment of the present invention, the electronic Device may be a mobile electronic Device such as a mobile phone and a PAD (tablet Android Device).
The task card refers to a task card which is displayed 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 enters a multi-task card switching view by using a full-screen gesture or certain keys.
The multitask card refers to a task card displayed in a multitask card switching view of an application running in the foreground and an application running in the background of the electronic equipment.
The target task card refers to a task card on which the user has performed the delete operation.
In the present invention, the number of the target task cards may be one or multiple, and specifically, may be determined according to actual situations, and the embodiment of the present invention is not limited thereto.
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 that the plurality of task cards are arranged horizontally in the multi-task card switching view, the target task card may be slid leftward or rightward, and the leftward or rightward sliding operation is the deleting operation of the target task card. In the multi-task card switching view, when the plurality of task cards are longitudinally arranged, 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 should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken 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 also be other forms of operations, such as a double-click operation, and the like, and specifically, may be determined according to business requirements, which is not limited in this embodiment of the present invention.
The display mode is a mode of displaying the task card in the multi-task card switching view.
The display mode to be deleted is to perform transparentization processing on the target task cards and place the transparentized target task cards on the bottom layers of the plurality of task cards.
When a deleting operation of a target task card in a plurality of displayed task cards is received, setting a display mode of the target task card as a display mode to be deleted, specifically, transparentizing and hiding the target task card, and then setting a task bookmark at an original position of the target task card, wherein the task bookmark can be used for prompting a user that the task card to be deleted currently exists; and finally, the target task card to be deleted after the transparentization treatment can be placed at 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 deleting a task card according to an embodiment of the present invention is shown, and as shown in fig. 2a, the multitask card includes: application one corresponding task card (e.g., FIGS. 2a-1), application two corresponding task card (e.g., FIGS. 2a-2), and application three corresponding task card (e.g., FIGS. 2a-3), when the task card corresponding to the application three needs to be deleted, as shown in fig. 2a-1, the user can slide the task card corresponding to the application three upwards to execute the deletion operation on the task card corresponding to the application three, then setting the display mode of the task card corresponding to the application III as the display mode to be deleted, as shown in FIG. 2a-2, performing transparentization processing on the task card corresponding to the application III, finally, placing the transparentized task card corresponding to the application III on the bottommost layer of the task cards, 2a-3, the task card corresponding to the application three that is transparent is placed in the task card corresponding to the application two and the application one.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After the display mode of the target task card is set to be the display mode to be deleted, step 202 is executed.
Step 202: and recording the deletion time corresponding to the deletion operation.
The deletion time is a time corresponding to the deletion time.
After the deletion operation of the target task card is received, the time corresponding to the deletion operation, namely the deletion time, can be recorded.
After recording the deletion time corresponding to the deletion operation, step 203 is executed.
Step 203: and acquiring the use frequency of the target application within a preset time length from the current time.
The target application refers to an application corresponding to the target task card.
The usage frequency refers to a usage frequency of the target application within a preset time period from the current time, and specifically, a ratio of the number of times to the number of days may be used as the usage frequency of the target application in units of days in combination with the number of times that the user uses the target application.
Of course, without limitation, in a specific implementation, the usage frequency of the target application within a preset time period from the current time may also be obtained in other manners, such as in units of hours, and the like, and specifically, the usage frequency may be determined according to a service requirement, which is not limited in this embodiment of the present invention.
After acquiring the usage frequency of the target application within a preset time from the current time, step 204 is executed.
Step 204: and acquiring the mistaken deletion reserved time length corresponding to the display mode to be deleted according to the use frequency.
The mistakenly deleted retention time length refers to the time length for 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 reserved time length corresponding to the display mode to be deleted, namely the time length of the target task card of the display mode to be deleted, can be obtained according to the use frequency, specifically, the higher the use frequency is, the larger the value of the mistaken deletion reserved time length is, and on the contrary, the smaller the value of the mistaken deletion reserved time length is.
The size of the mistaken deletion reserved time length corresponding to the use frequency may be determined according to the service requirement, which is not limited in the embodiment of the present invention.
After acquiring the mistaken deletion reserved time length corresponding to the display mode to be deleted according to the use frequency, executing step 205, or executing step 208, or executing step 210.
Step 205: and timing from the deleting time, and acquiring the face image information of the user within the mistaken deleting reserved time.
The face image information refers to face information in a face image of a user of the electronic equipment acquired by a front camera of the electronic equipment 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 to be the display mode to be deleted and the mistaken deletion reserved time corresponding to the display mode to be deleted is obtained, a front-facing camera of the electronic equipment can be started to collect the face image of the user.
After the face image information of the user is acquired, step 206 is performed.
Step 206: and determining an 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 the facial expression of the user.
After the facial image information of the user is acquired, the facial expression of the user can be identified according to the facial image information, and the expression type corresponding to the facial expression of the user is 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 acquire a facial image of the user, and then the facial expression of the user in the facial image is identified. As shown in fig. 2b-2, after the facial expression of the user is identified, the expression type corresponding to the facial expression can be obtained, such as regret, laugh, chagrin, and the like.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After determining the expression type corresponding to the facial expression of the user according to the facial image, step 207 is executed.
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 to-be-deleted display mode to a normal display mode.
The negative expression type refers to the expression types of remorse, kurtosis, chagrin 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 can be judged.
In the case 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 transparentized target task card is restored to the state before transparentization, 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 within the mistaken deleting reserved time.
The rotation 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 by the embodiment of the present invention is shown, as shown in fig. 2c-1, a user may rotate the mobile phone by a finger, and a sensor provided in the mobile phone may sense the rotation operation of the mobile phone.
The rotation operation of the user for the electronic equipment can be received within the mistaken deletion reserved time length after the time is counted from the deletion time.
After receiving the rotation operation of the user for the electronic device, step 209 is executed.
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 to-be-deleted display mode to a normal display mode.
The set angle refers to an angle preset by a service staff and used for updating the display mode of the task card from the display mode to be deleted to the normal display mode.
The specific value of the set angle may be determined according to business requirements, such as 360 °, 180 °, and the like, which is not limited in the embodiment of the present invention.
After receiving the rotation operation of the electronic equipment by the user, the rotation angle of the electronic equipment can be acquired, and under the condition that the rotation angle reaches a set angle, the display mode of the target task card is updated to a normal display mode from a display mode to be deleted, namely, the transparentized target task card is restored to the state before transparentization, and the target task card is placed at the position where the task bookmark is added.
According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card which is deleted by the user can be reserved, and the task card to be deleted is awakened in time when the awakening operation is received, so that repeated operation and information loss caused by mistaken deletion of the user can be avoided.
Step 210: and timing from the deleting time, and deleting the target task card under the condition that the awakening operation on the target task card is not received within the mistaken deleting reserved time.
The wake-up operation is an operation of waking up the target application of the display mode to be deleted, that is, an operation of updating the target application after the transparentization processing to the normal display mode.
The awakening operation may be an operation of awakening the target task card of the display mode to be deleted, which is obtained according to the facial expression of the user, or an operation of awakening the target task card of the display mode to be deleted, which is obtained by rotating the electronic device by the user.
And under the condition that the timing is started from the deleting time and the timing duration is within the mistaken deleting reserved duration, judging whether the awakening operation of the target task card is received or not.
And under the condition that the awakening operation aiming at the target task card is not received, the target task card with the display mode to be deleted is removed from the switching view of the multi-task card, namely the target task card is deleted.
The task deleting method of the application provided by the embodiment of the invention has the beneficial effects of the task deleting method of the application provided by the embodiment one, and can also set the awakening modes of the task cards with different display modes to be deleted, so that the operation of a user can be enriched, and the use experience of the user can be improved while the task cards are awakened.
EXAMPLE III
Referring to fig. 3, a block diagram of an electronic device according to an embodiment of the present invention is shown, and as shown in fig. 3, the electronic device may specifically include the following modules:
the deleting mode setting module 310 is configured to set a display mode of a target task card to be deleted when a deleting operation for the target task card in currently displayed multitask cards is received;
a deletion time recording module 320, configured to record deletion time corresponding to the deletion operation;
a reserved time length determining module 330, configured to determine, according to the target application corresponding to the target task card, a mistakenly deleted reserved time length corresponding to the display mode to be deleted;
and the display mode recovery 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 the target task card is awakened within the mistaken deletion reserved time.
According to the electronic equipment 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 mistaken deletion reserved time length 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 the display mode of the target task card is updated to the normal display mode from the display mode to be deleted under the condition that the awakening operation of the target task card is received within the mistaken deletion reserved time length. According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card which is deleted by the user can be reserved, and the task card to be deleted is awakened in time when the awakening operation is received, so that repeated operation and information loss caused by mistaken deletion of the user can be avoided, and the user experience is improved.
Example four
Referring to fig. 4, a block diagram of a structure of another electronic device according to 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 currently displayed multitask cards as a to-be-deleted display mode when a deletion operation for the target task card is received;
a deletion time recording module 420, configured to record deletion time corresponding to the deletion operation;
a reserved time length determining module 430, configured to determine, according to the target application corresponding to the target task card, a mistakenly deleted reserved time length corresponding to the display mode to be deleted;
the display mode recovery module 440 is configured to start timing from the deletion time, and update the display mode of the target task card from the to-be-deleted display mode to a normal display mode when receiving a wakeup operation on the target task card within the mistaken deletion reserved time;
and the task card deleting module 450 is configured to start timing from the deleting time, and delete the target task card when the target task card is not awakened within the mistaken deletion reserved time.
Preferably, the remaining duration determining module 430 includes:
a use frequency obtaining submodule 431, configured to obtain a use frequency of the target application within a preset duration from a current time;
the reserved time obtaining submodule 432 is configured to obtain the mistakenly deleted reserved time corresponding to the display mode to be deleted according to the use frequency.
Preferably, the display mode restoration module 440 includes:
the face image acquisition submodule 441 is used for timing from the deletion time and acquiring face image information of the user within the mistaken deletion reserved time;
an expression type determining sub-module 442, configured to determine, according to the facial image information, an expression type corresponding to a facial expression of the user;
and the first mode recovery sub-module 443 is configured to update the display mode of the target task card from the to-be-deleted display mode to a normal display mode when the expression type belongs to the negative expression type.
Preferably, the display mode restoration module 440 includes:
the rotation operation receiving submodule 444 is configured to start timing from the deletion time and receive a rotation operation of the electronic device by a user within the mistaken deletion reserved time;
and the second mode recovery submodule 445 is configured to update the display mode of the target task card from the to-be-deleted display mode to a normal display mode when the rotation angle of the electronic device reaches the set angle.
The electronic device provided by the embodiment of the invention has the beneficial effects of the electronic device provided by the third embodiment, and can also set different task card awakening modes of display modes to be deleted, so that the operation of a user can be enriched, and the use experience of the user can be improved while the task card is awakened.
EXAMPLE five
Referring to fig. 5, a hardware structure diagram of another electronic device for implementing various embodiments of the invention is shown.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, 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.
The processor 510 is configured to set a display mode of a target task card to be a display mode to be deleted when a deletion operation for the target task card in currently displayed multitask cards is received; recording the deletion time corresponding to the deletion operation; determining the mistaken deletion reserved 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 mistaken deleting reserved time length.
In 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 as the display mode to be deleted, the deleting time corresponding to the deleting operation is recorded, the mistaken deletion reserved 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 the display mode of the target task card is updated to the normal display mode from the display mode to be deleted under the condition that the awakening operation of the target task card is received within the mistaken deletion reserved time. According to the embodiment of the invention, by setting the display mode to be deleted of the task card, the task card which is deleted by the user can be reserved, and the task card to be deleted is awakened in time when the awakening operation is received, so that repeated operation and information loss caused by mistaken 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 for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, 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 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
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 related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture 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 graphic 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. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, 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 a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the 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 (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and 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 by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 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 a resistive type, a capacitive type, an infrared ray, and a 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, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, 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 nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement 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, and 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 device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
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 by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 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 whole electronic device by using various interfaces and lines, 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, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the task deletion method embodiment of the application are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned task deleting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A task deleting method of an application is applied to an electronic device, and is characterized by comprising the following steps:
when a deleting operation of a target task card in currently displayed multitask cards is received, setting a display mode of the target task card as a display mode to be deleted;
recording the deletion time corresponding to the deletion operation;
determining the mistaken deletion reserved 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 mistaken deleting reserved time length.
2. The method according to claim 1, wherein the step of determining the mistaken deletion reserved time corresponding to the display mode to be deleted according to the target application corresponding to the target task card comprises:
acquiring the use frequency of the target application within a preset time length from the current time;
and acquiring the mistaken deletion reserved time length 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 timing is started from the deletion time and the wake-up operation for the target task card is received within the mistaken deletion reserved time includes:
timing from the deleting time, and acquiring the face image information of the user within the mistaken deleting reserved time;
determining an 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 to-be-deleted display mode 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 timing is started from the deletion time and the wake-up operation for the target task card is received within the mistaken deletion reserved time includes:
timing from the deleting time, and receiving the rotation operation of the user on the electronic equipment within the mistaken deleting reserved 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 to-be-deleted display mode to a normal display mode.
5. The method according to claim 1, wherein after the step of determining the mistaken deletion retention time corresponding to the display mode to be deleted, the method further comprises:
and timing from the deleting time, and deleting the target task card under the condition that the awakening operation on the target task card is not received within the mistaken deleting reserved time.
6. An electronic device, comprising:
the system comprises a deleting mode setting module, a displaying module and a displaying module, wherein the deleting mode setting module is used for setting the displaying mode of a target task card in a currently displayed multitask card as a to-be-deleted displaying mode when the deleting operation of the target task card is received;
the deleting time recording module is used for recording the deleting time corresponding to the deleting operation;
the reserved time length determining module is used for determining the mistaken deletion reserved 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 deletion 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 mistaken deletion reserved time.
7. The electronic device of claim 6, wherein the retention duration determination module comprises:
the using frequency obtaining submodule is used for obtaining the using frequency of the target application within a preset time length from the current time;
and the reserved time obtaining submodule is used for obtaining the mistakenly deleted reserved time 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 submodule is used for timing from the deletion time and acquiring face image information of the user within the mistaken deletion reserved time;
the expression type determining submodule is used for determining an 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 rotation operation receiving submodule is used for starting timing from the deleting time and receiving the rotation operation of the user on the electronic equipment within the mistaken deleting reserved 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 on the target task card is not received within the mistaken deletion reserved 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 true CN110908732A (en) 2020-03-24
CN110908732B 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)

Cited By (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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080228827A1 (en) * 2007-03-14 2008-09-18 Radia Joy Perlman Safe processing of on-demand delete requests
US20140282110A1 (en) * 2013-03-15 2014-09-18 Apple Inc. Device, method, and graphical user interface for managing concurrently open software applications
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080228827A1 (en) * 2007-03-14 2008-09-18 Radia Joy Perlman Safe processing of on-demand delete requests
US20140282110A1 (en) * 2013-03-15 2014-09-18 Apple Inc. Device, method, and graphical user interface for managing concurrently open software applications
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数据库的经营分析系统数据支撑方案", 《漯河职业技术学院学报》, vol. 14, no. 5, pages 55 - 57 *

Cited By (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

Also Published As

Publication number Publication date
CN110908732B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
EP4047940A1 (en) Screencast control method and electronic device
CN107613131B (en) Application program disturbance-free method, mobile terminal and computer-readable storage medium
CN109343759B (en) Screen-turning display control method and terminal
CN108459797B (en) Control method of folding screen and mobile terminal
CN108135033B (en) Bluetooth connection method and mobile terminal
CN110062105B (en) Interface display method and terminal equipment
CN108737904B (en) Video data processing method and mobile terminal
CN110837327B (en) Message viewing method and terminal
CN107943390B (en) Character copying method and mobile terminal
CN109240577B (en) Screen capturing method and terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN108391008B (en) Message reminding method and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN108196753B (en) Interface switching method and mobile terminal
CN110855921B (en) Video recording control method and electronic equipment
CN110096203B (en) Screenshot method and mobile terminal
CN110308834B (en) Setting method of application icon display mode and terminal
CN108536349B (en) Icon management method and mobile terminal
CN109597546B (en) Icon processing method and terminal equipment
CN109166164B (en) Expression picture generation method and terminal
CN111061404A (en) Control method and first electronic device
CN110825474A (en) Interface display method and device and electronic equipment
CN108600498B (en) Information prompting method and device
CN108089935B (en) Application program management method and mobile terminal
CN111694537B (en) Audio playing method, electronic equipment and readable 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