CN106293480B - Operation execution method and device - Google Patents

Operation execution method and device Download PDF

Info

Publication number
CN106293480B
CN106293480B CN201610712355.2A CN201610712355A CN106293480B CN 106293480 B CN106293480 B CN 106293480B CN 201610712355 A CN201610712355 A CN 201610712355A CN 106293480 B CN106293480 B CN 106293480B
Authority
CN
China
Prior art keywords
target object
target
touch
preset condition
contents
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
CN201610712355.2A
Other languages
Chinese (zh)
Other versions
CN106293480A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610712355.2A priority Critical patent/CN106293480B/en
Publication of CN106293480A publication Critical patent/CN106293480A/en
Application granted granted Critical
Publication of CN106293480B publication Critical patent/CN106293480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to an operation execution method and device, and belongs to the technical field of touch control. The method comprises the following steps: acquiring touch operation corresponding to a target object; detecting whether the touch operation is a pressing operation meeting a preset condition; and if the touch operation is the pressing operation meeting the preset condition, executing the clearing operation corresponding to the target object. Wherein the clearing operation is a clear operation or a delete operation. The zero clearing operation refers to that the target content included by the target object is processed in a unified manner. The delete operation refers to deleting the target object. The method and the device solve the problems that the target item can be deleted only by the user executing a plurality of times of clicking/sliding operations in the mode provided by the related technology, and the operation is complex; the user can trigger the clearing operation by one step through pressing operation, so that the user operation is fully simplified, and the operation efficiency is improved.

Description

Operation execution method and device
Technical Field
The present disclosure relates to the field of touch technologies, and in particular, to an operation execution method and apparatus.
Background
Terminals such as mobile phones and tablet computers generally have a touch function, and a user can trigger the terminal to execute a preset operation through a touch operation such as clicking and sliding.
In the related art, a user deletes a certain target item included in a terminal in the following two ways. Firstly, sliding an item corresponding to the target item to the left, triggering the mobile terminal to display a delete button, and clicking the delete button to delete the target item. Secondly, clicking an editing button to trigger the target item to enter an editing mode, selecting the target item by a user in the editing mode, and clicking a deleting button to delete the target item. For example, the target item may be a short message, a push notification, a mail, an item in a shopping cart of a shopping application, and so forth.
Disclosure of Invention
The embodiment of the disclosure provides an operation execution method and device. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided an operation execution method, the method including:
acquiring touch operation corresponding to a target object;
detecting whether the touch operation is a pressing operation meeting a preset condition;
if the touch operation is a pressing operation meeting the preset condition, executing a clearing operation corresponding to the target object;
the clearing operation is a zero clearing operation or a deleting operation, the zero clearing operation refers to performing unified processing on target contents included in the target object, and the deleting operation refers to deleting the target object.
Optionally, the clearing operation is the zeroing operation;
the performing a cleanup operation corresponding to the target object includes:
adjusting the target content included by the target object from an unread state to a read state;
alternatively, the first and second electrodes may be,
and clearing all the target content included by the target object.
Optionally, the preset condition includes that a pressure value of the touch operation is greater than a first threshold;
the detecting whether the touch operation is a pressing operation meeting a preset condition includes:
acquiring a pressure value of the touch operation;
detecting whether the pressure value is greater than the first threshold value.
Optionally, the preset condition includes that a touch area of the touch operation is larger than a second threshold;
the detecting whether the touch operation is a pressing operation meeting a preset condition includes:
acquiring a touch area of the touch operation;
and detecting whether the touch area is larger than the second threshold value.
Optionally, the method further comprises:
if the touch operation is a pressing operation meeting the preset condition, generating inquiry information, wherein the inquiry information is used for inquiring whether to execute a clearing operation corresponding to the target object;
after acquiring the confirmation indication corresponding to the inquiry information, executing the step of executing the clearing operation corresponding to the target object.
According to a second aspect of the embodiments of the present disclosure, there is provided an operation performing apparatus including:
the acquisition module is configured to acquire a touch operation corresponding to a target object;
a detection module configured to detect whether the touch operation is a pressing operation satisfying a preset condition;
an execution module configured to execute a clear operation corresponding to the target object when the touch operation is a press operation satisfying the preset condition;
the clearing operation is a zero clearing operation or a deleting operation, the zero clearing operation refers to performing unified processing on target contents included in the target object, and the deleting operation refers to deleting the target object.
Optionally, the clearing operation is the zeroing operation;
the execution module is configured to adjust the target content included in the target object from an unread state to a read state;
alternatively, the first and second electrodes may be,
the execution module is configured to clear all the target content included in the target object.
Optionally, the preset condition includes that a pressure value of the touch operation is greater than a first threshold;
the detection module comprises:
a pressure obtaining submodule configured to obtain a pressure value of the touch operation;
a first detection submodule configured to detect whether the pressure value is greater than the first threshold value.
Optionally, the preset condition includes that a touch area of the touch operation is larger than a second threshold;
the detection module comprises:
the area acquisition submodule is configured to acquire a touch area of the touch operation;
a second detection submodule configured to detect whether the touch area is greater than the second threshold.
Optionally, the apparatus further comprises:
an inquiry module configured to generate inquiry information for inquiring whether to execute a clear operation corresponding to the target object when the touch operation is a press operation satisfying the preset condition;
the execution module is further configured to execute a purge operation corresponding to the target object after acquiring the confirmation indication corresponding to the query information.
According to a third aspect of the embodiments of the present disclosure, there is provided an operation performing apparatus including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring touch operation corresponding to a target object;
detecting whether the touch operation is a pressing operation meeting a preset condition;
if the touch operation is a pressing operation meeting the preset condition, executing a clearing operation corresponding to the target object;
the clearing operation is a zero clearing operation or a deleting operation, the zero clearing operation refers to performing unified processing on target contents included in the target object, and the deleting operation refers to deleting the target object.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
detecting whether the touch operation is a pressing operation meeting a preset condition or not by acquiring the touch operation corresponding to the target object, and executing a clearing operation corresponding to the target object if the detection result is yes; the problem that the target item can be deleted only by the user executing a plurality of clicking/sliding operations in a mode provided by the related technology and the operation is complex is solved; the user can trigger the clearing operation by one step through pressing operation, so that the user operation is fully simplified, and the operation efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of operation execution in accordance with an exemplary embodiment;
FIG. 2A is a flowchart illustrating a method of operation execution in accordance with another illustrative embodiment;
FIG. 2B is a schematic view of an interface according to the embodiment shown in FIG. 2A;
FIG. 3A is a flowchart illustrating a method of operation execution in accordance with another illustrative embodiment;
FIG. 3B is a schematic view of an interface according to the embodiment shown in FIG. 3A;
FIG. 4 is a block diagram illustrating an operation performing apparatus in accordance with an exemplary embodiment;
fig. 5 is a block diagram illustrating an operation performing apparatus according to another exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the method for deleting a certain target item included in a terminal provided in the related art, a user needs to perform multiple clicking and/or sliding operations to delete the target item, and the operation is complex. Moreover, the related art only provides a way of processing a single target project, and when a user needs to process a plurality of target projects, the user needs to repeat operations for many times. In the embodiment of the disclosure, a technical scheme for deleting a single target item simply and efficiently is provided, and a technical scheme for uniformly processing a plurality of target items is also provided, so that the user operation is fully simplified, and the operation efficiency is improved.
In the method provided by the embodiment of the disclosure, the execution subject of each step may be a terminal. For example, the terminal may be an electronic device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), an e-book reader, a multimedia player, and the like.
FIG. 1 is a flow chart illustrating a method of operation execution according to an exemplary embodiment. The method may include the steps of:
in step 101, a touch operation corresponding to a target object is acquired.
The target object may be an operable control, such as a button, displayed by the terminal. In a typical case, a user tapping the button may trigger the display of the corresponding content. For example, a user clicking on a message box button may trigger the display of a corresponding number of messages. As another example, a user clicking on a shopping cart button may trigger the display of a corresponding number of items. As another example, a user clicking on a message button may trigger the display of corresponding message content.
The target object may also be a non-operable control, such as an entry, an icon, displayed by the terminal. For example, the target object may be an entry or icon for a message, an entry or icon for each item in a shopping cart, and so forth.
In step 102, it is detected whether the touch operation is a pressing operation satisfying a preset condition.
In the embodiment of the disclosure, the terminal detects whether the touch operation triggered by the user is a pressing operation, and whether the pressing operation meets a preset condition. For example, the pressure value is greater than a first threshold.
In step 103, if the touch operation is a pressing operation satisfying a preset condition, a clearing operation corresponding to the target object is performed.
Wherein the clearing operation is a clear operation or a delete operation. The zero clearing operation refers to that the target content included by the target object is processed in a unified manner. The delete operation refers to deleting the target object.
In summary, in the method provided in this embodiment, by obtaining the touch operation corresponding to the target object, it is detected whether the touch operation is a pressing operation that meets a preset condition, and if so, a clearing operation corresponding to the target object is executed; the problem that the target item can be deleted only by the user executing a plurality of clicking/sliding operations in a mode provided by the related technology and the operation is complex is solved; the user can trigger the clearing operation by one step through pressing operation, so that the user operation is fully simplified, and the operation efficiency is improved.
FIG. 2A is a flowchart illustrating a method of operation execution according to another exemplary embodiment. In the present embodiment, the clear operation is explained as the clear operation. The method may include the steps of:
in step 201, a touch operation corresponding to a target object is acquired.
In this embodiment, the target object includes content. In this embodiment, the specific form of the content included in the target object is not limited. For example, the content includes, but is not limited to, any of the following: information such as received messages, notifications and push, information such as states published by friends, microblogs and friend circle information, items in shopping carts, network information such as emoticons, applications, music and videos, and the like.
Since the target object includes content, in this embodiment, the target object may be an operable control, such as a button. In a typical case, a user tapping the button may trigger the display of the corresponding content. For example, the target object may be an application icon button, a message box button, a shopping cart button, and so forth.
In this embodiment, when the user needs to perform a zero clearing operation on the target content included in the target object, a touch operation corresponding to the target object may be performed. The target content may be all content included in the target object, or may be partial content included in the target object. When the target content is a partial content included in the target object, the partial content has a different state from other content included in the target object. In one example, taking the content included in the target object as a message as an example, the target content may be a whole message or a part of a message. For example, the partial message may be an unread message.
In step 202, it is detected whether the touch operation is a pressing operation satisfying a preset condition.
In the present embodiment, the clear operation is triggered to be performed by the press operation satisfying the preset condition.
In one possible implementation, the preset condition includes that the pressure value of the touch operation is greater than a first threshold. Accordingly, the steps include: and acquiring a pressure value of the touch operation, and detecting whether the pressure value is greater than a first threshold value. The terminal can be provided with a pressure sensor, for example, a pressure sensor is arranged below the whole display screen, and the pressure value of the touch operation is collected through the pressure sensor. In the present embodiment, the type of the pressure sensor is not limited, and includes, but is not limited to, a capacitive type, a resistive type, and the like. By setting a first threshold, a light touch operation (such as clicking and sliding operation) and a pressing operation are distinguished, and a zero clearing operation is executed when the touch operation is judged to be the pressing operation. In addition, the size of the first threshold may be set according to an actual situation, when the value of the first threshold is larger (for example, larger than the first threshold), the zero clearing operation is implemented when the user performs the heavy-pressing operation, and the light-pressing operation and the light-touching operation may trigger the execution of other functional operations.
In another possible implementation, the preset condition includes that the touch area of the touch operation is greater than a second threshold. Accordingly, the steps include: and acquiring the touch area of the touch operation, and detecting whether the touch area is larger than a second threshold value. Since the user usually performs touch operation by fingers, and the skin of the fingers is flexible, the contact area between the fingers and the terminal screen is different by using different pressing force degrees. Therefore, by acquiring the touch area of the touch operation (i.e. the contact area between the finger and the terminal screen), and detecting whether the touch area is larger than the second threshold, the light touch operation (e.g. click operation, sliding operation) and the pressing operation can be similarly distinguished. The contact area between the finger and the terminal screen can be collected through a touch sensor or a fingerprint identification sensor. And distinguishing the light touch operation from the press operation by setting a second threshold, and executing a clear operation when the touch operation is judged to be the press operation. In addition, the size of the second threshold may be set according to actual conditions, when the value of the second threshold is larger (for example, larger than the second threshold), the zero clearing operation is implemented when the user performs the heavy-pressing operation, and the light-pressing operation and the light-touching operation may trigger the execution of other functional operations.
In other possible embodiments, the preset condition may include that the pressure value of the touch operation is greater than a first threshold, and the duration of keeping the pressure value greater than the first threshold is greater than a third threshold. Alternatively, the preset condition may include that the touch area of the touch operation is greater than a second threshold, and the duration of the state in which the touch area is greater than the second threshold is greater than a third threshold. Considering that some users may have a large pressing force when performing operations such as clicking and sliding, the terminal has a certain difficulty in distinguishing the light touch operation from the pressing operation, and in order to reduce false recognition, a further requirement may be made for the pressing operation, and when the duration of the pressing force is greater than a third threshold, the terminal is determined to be the pressing operation, so that the terminal can distinguish the light touch operation from the pressing operation.
In step 203, if the touch operation is a pressing operation that satisfies a preset condition, query information is generated.
The inquiry information is for inquiring of the user whether to perform a purge operation corresponding to the target object. The inquiry information can be displayed by popup information, and the popup comprises an operation control for a user to trigger a confirmation instruction and a cancellation instruction.
In step 204, after the confirmation instruction corresponding to the inquiry information is acquired, a clear operation corresponding to the target object is executed, where the clear operation refers to performing a unified process on the target content included in the target object.
In one example, the target content included in the target object is adjusted from an unread state to a read state. For example, when the target content is unread information, the terminal adjusts the unread information from an unread state to a read state. The unread information includes, but is not limited to, an unread message, an unread mail, an unread notification, an unread friend status, an unread microblog, unread friend circled information, and the like. Optionally, the terminal further clears the prompt identifier of the target object, where the prompt identifier is used to prompt the user that the target object includes the target content. In one example, as shown in fig. 2B, a prompt identifier 22 is displayed on the upper right corner of the icon button 21 of the short message application, and the prompt identifier 22 is used for prompting the user of the number of unread short messages. The user selects the icon button 21 of the short message application and presses with a certain force, if the terminal detects that the touch operation is the pressing operation meeting the preset condition, the terminal sets all the unread short messages included in the short message application to be in the read state and clears the prompt identifier 22.
In another example, the target content included in the target object is cleared altogether. For example, when the target content is all the short messages in the short message application, the terminal clears all the short messages, that is, clears the short message record. For another example, when the target content is an item in a shopping cart of the shopping application, the terminal clears all the items in the shopping cart, i.e., empties the shopping cart.
It should be noted that the step 203 is an optional step. In other embodiments, after detecting that the touch operation is a pressing operation satisfying a preset condition, the terminal may directly perform a clear operation corresponding to the target object. By inquiring the user with the inquiry information and performing the zero clearing operation after the user confirms, the misoperation can be avoided.
In summary, in the method provided in this embodiment, by obtaining the touch operation corresponding to the target object, it is detected whether the touch operation is a pressing operation that meets a preset condition, and if so, a clear operation corresponding to the target object is executed; the user can trigger the zero clearing operation by one step through the pressing operation, so that the user operation is fully simplified, and the operation efficiency is improved. With the popularization of the 3D Touch technology, the terminal can sense different pressing force degrees acting on a screen, and technical support is provided for realizing one-step triggering zero clearing operation.
In a typical application scenario, the user is not concerned with certain hints in the application, but does not want to see the hints identification on the application icon. By adopting the mode provided by the related technology, the user needs to click the application icon to enter the related page and read the unread prompt messages one by one, so that the prompt identifier on the application icon can be eliminated. By adopting the mode provided by the embodiment, the user only needs to press the application icon to eliminate the prompt mark. In another typical application scenario, a user would like to empty the shopping cart of the shopping application. By adopting the mode provided by the related technology, the user needs to click the shopping cart button to enter the related page, select all the articles in the shopping cart and select to delete the articles. By adopting the mode provided by the embodiment, the user can empty the shopping cart only by pressing the shopping cart button. The mode provided by the embodiment can reduce the operation steps of the user, save the time for the user to wait for the page jump and fully improve the operation efficiency.
FIG. 3A is a flowchart illustrating a method of operation execution according to another exemplary embodiment. In this embodiment, the description is made with the clear operation as the delete operation. The method may include the steps of:
in step 301, a touch operation corresponding to a target object is acquired.
In the present embodiment, the specific form of the target object is not limited. The target object may be any information or resource in the terminal. For example, the target object includes, but is not limited to, any of the following: messages, mails, applications, files, items in a shopping cart, orders, and so forth.
In this embodiment, when the user needs to delete the target object, the touch operation corresponding to the target object may be performed.
In step 302, it is detected whether the touch operation is a pressing operation satisfying a preset condition.
In the present embodiment, the deletion operation is triggered to be performed by the pressing operation satisfying the preset condition. The detailed implementation of step 302 can refer to the description and illustration of step 202 in the embodiment shown in fig. 2A, and is not described herein again.
In step 303, if the touch operation is a pressing operation satisfying a preset condition, a deleting operation corresponding to the target object is performed, where the deleting operation is to delete the target object.
In an example, as shown in fig. 3B, when the user needs to delete the Lucy short message record, the user selects an entry 32 corresponding to the Lucy short message record in the short message list 31 and presses the entry with a certain force, and if the terminal detects that the touch operation is the pressing operation meeting the preset condition, the terminal deletes the Lucy short message record.
Alternatively, the terminal may produce the inquiry information after detecting the pressing operation that determines that the touch operation satisfies the preset condition, and perform the deleting operation corresponding to the target object after acquiring the confirmation instruction corresponding to the inquiry information.
In summary, in the method provided in this embodiment, by obtaining the touch operation corresponding to the target object, it is detected whether the touch operation is a pressing operation that meets a preset condition, and if so, a deleting operation corresponding to the target object is executed; the user can trigger the deletion operation by one step through the pressing operation, so that the user operation is fully simplified, and the operation efficiency is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 4 is a block diagram illustrating an operation performing apparatus according to an exemplary embodiment. The device has the functions of realizing the method examples, and the functions can be realized by hardware or by executing corresponding software by hardware. The apparatus may include: an acquisition module 410, a detection module 420, and an execution module 430.
An obtaining module 410 configured to obtain a touch operation corresponding to the target object.
A detecting module 420 configured to detect whether the touch operation is a pressing operation satisfying a preset condition.
An executing module 430 configured to execute a clearing operation corresponding to the target object when the touch operation is a pressing operation satisfying the preset condition.
The clearing operation is a zero clearing operation or a deleting operation, the zero clearing operation refers to performing unified processing on target contents included in the target object, and the deleting operation refers to deleting the target object.
In summary, the apparatus provided in this embodiment detects whether the touch operation is a pressing operation that satisfies a preset condition by obtaining the touch operation corresponding to the target object, and executes a clearing operation corresponding to the target object if the detection result is yes; the problem that the target item can be deleted only by the user executing a plurality of clicking/sliding operations in a mode provided by the related technology and the operation is complex is solved; the user can trigger the clearing operation by one step through pressing operation, so that the user operation is fully simplified, and the operation efficiency is improved.
Fig. 5 is a block diagram illustrating an operation performing apparatus according to another exemplary embodiment. The device has the functions of realizing the method examples, and the functions can be realized by hardware or by executing corresponding software by hardware. The apparatus may include: an acquisition module 410, a detection module 420, and an execution module 430.
An obtaining module 410 configured to obtain a touch operation corresponding to the target object.
A detecting module 420 configured to detect whether the touch operation is a pressing operation satisfying a preset condition.
An executing module 430 configured to execute a clearing operation corresponding to the target object when the touch operation is a pressing operation satisfying the preset condition.
The clearing operation is a zero clearing operation or a deleting operation, the zero clearing operation refers to performing unified processing on target contents included in the target object, and the deleting operation refers to deleting the target object.
In one example, the clear operation is the clear operation. The executing module 430 is configured to adjust the target content included in the target object from an unread state to a read state. Alternatively, the executing module 430 is configured to clear all the target content included in the target object.
In one example, the preset condition includes that a pressure value of the touch operation is greater than a first threshold. The detection module 420 includes: a pressure acquisition submodule 420a and a first detection submodule 420 b.
A pressure obtaining sub-module 420a configured to obtain a pressure value of the touch operation.
A first detection submodule 420b configured to detect whether the pressure value is greater than the first threshold value.
In another example, the preset condition includes that a touch area of the touch operation is greater than a second threshold. The detection module 420 includes: an area acquisition submodule 420c and a second detection submodule 420 d.
An area obtaining submodule 420c configured to obtain a touch area of the touch operation.
A second detection submodule 420d configured to detect whether the touch area is larger than the second threshold.
In one example, the apparatus further comprises: an interrogation module 440.
An inquiry module 440 configured to generate inquiry information for inquiring whether to perform a clearing operation corresponding to the target object when the touch operation is a pressing operation satisfying the preset condition.
The executing module 430 is further configured to execute a cleaning operation corresponding to the target object after acquiring the confirmation indication corresponding to the query information.
In summary, the apparatus provided in this embodiment detects whether the touch operation is a pressing operation that satisfies a preset condition by obtaining the touch operation corresponding to the target object, and executes a clearing operation corresponding to the target object if the detection result is yes; the problem that the target item can be deleted only by the user executing a plurality of clicking/sliding operations in a mode provided by the related technology and the operation is complex is solved; the user can trigger the clearing operation by one step through pressing operation, so that the user operation is fully simplified, and the operation efficiency is improved.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the above functional modules is illustrated, and in practical applications, the above functions may be distributed by different functional modules according to actual needs, that is, the content structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An exemplary embodiment of the present disclosure also provides an operation execution apparatus, which can implement the operation execution method provided by the present disclosure. The device includes: a processor, and a memory for storing executable instructions for the processor. Wherein the processor is configured to:
acquiring touch operation corresponding to a target object;
detecting whether the touch operation is a pressing operation meeting a preset condition;
if the touch operation is a pressing operation meeting the preset condition, executing a clearing operation corresponding to the target object;
the clearing operation is a zero clearing operation or a deleting operation, the zero clearing operation refers to performing unified processing on target contents included in the target object, and the deleting operation refers to deleting the target object.
In one example, the clear operation is the clear operation;
the processor is configured to:
adjusting the target content included by the target object from an unread state to a read state;
alternatively, the first and second electrodes may be,
and clearing all the target content included by the target object.
In one example, the preset condition includes that a pressure value of the touch operation is greater than a first threshold;
the processor is configured to:
acquiring a pressure value of the touch operation;
detecting whether the pressure value is greater than the first threshold value.
In another example, the preset condition includes that a touch area of the touch operation is greater than a second threshold;
the processor is configured to:
acquiring a touch area of the touch operation;
and detecting whether the touch area is larger than the second threshold value.
Optionally, the processor is further configured to:
if the touch operation is a pressing operation meeting the preset condition, generating inquiry information, wherein the inquiry information is used for inquiring whether to execute a clearing operation corresponding to the target object;
after the confirmation indication corresponding to the inquiry information is acquired, the clearing operation corresponding to the target object is executed.
Fig. 6 is a block diagram illustrating an apparatus 600 according to an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein that, when executed by a processor of an apparatus 600, enable the apparatus 600 to perform an operation-performing method, the method comprising:
acquiring touch operation corresponding to a target object;
detecting whether the touch operation is a pressing operation meeting a preset condition;
if the touch operation is a pressing operation meeting the preset condition, executing a clearing operation corresponding to the target object;
the clearing operation is a zero clearing operation or a deleting operation, the zero clearing operation refers to performing unified processing on target contents included in the target object, and the deleting operation refers to deleting the target object.
Optionally, the clearing operation is the zeroing operation;
the performing a cleanup operation corresponding to the target object includes:
adjusting the target content included by the target object from an unread state to a read state;
alternatively, the first and second electrodes may be,
and clearing all the target content included by the target object.
Optionally, the preset condition includes that a pressure value of the touch operation is greater than a first threshold;
the detecting whether the touch operation is a pressing operation meeting a preset condition includes:
acquiring a pressure value of the touch operation;
detecting whether the pressure value is greater than the first threshold value.
Optionally, the preset condition includes that a touch area of the touch operation is larger than a second threshold;
the detecting whether the touch operation is a pressing operation meeting a preset condition includes:
acquiring a touch area of the touch operation;
and detecting whether the touch area is larger than the second threshold value.
Optionally, the method further comprises:
if the touch operation is a pressing operation meeting the preset condition, generating inquiry information, wherein the inquiry information is used for inquiring whether to execute a clearing operation corresponding to the target object;
after acquiring the confirmation indication corresponding to the inquiry information, executing the step of executing the clearing operation corresponding to the target object.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. An operation execution method, characterized in that the method comprises:
acquiring touch operation corresponding to a target object;
detecting whether the touch operation is a pressing operation meeting a preset condition, wherein the preset condition comprises that the touch area of the touch operation is larger than a second threshold value, and the duration of the state that the touch area is larger than the second threshold value is larger than a third threshold value;
if the touch operation is a pressing operation meeting the preset condition and the target object is an operable control, executing a zero clearing operation corresponding to the target object, wherein the zero clearing operation refers to uniformly processing target contents included by the target object, and the target contents are all contents or partial contents included by the target object, wherein when the states of the contents included by the target object are the same, the target contents are all contents, and when the states of the contents included by the target object are different, the target contents are the partial contents, and the partial contents and other contents included by the target object have different states;
and if the touch operation is a pressing operation meeting the preset condition and the target object is information or resource, executing a deleting operation corresponding to the target object, wherein the deleting operation refers to deleting the target object.
2. The method of claim 1, wherein said performing a zeroing operation corresponding to said target object comprises:
adjusting the target content included by the target object from an unread state to a read state;
alternatively, the first and second electrodes may be,
and clearing all the target content included by the target object.
3. The method according to claim 1, wherein the preset condition further includes that a pressure value of the touch operation is greater than a first threshold;
the detecting whether the touch operation is a pressing operation meeting a preset condition includes:
acquiring a pressure value of the touch operation;
detecting whether the pressure value is greater than the first threshold value.
4. The method according to any one of claims 1 to 3, further comprising:
if the touch operation is a pressing operation meeting the preset condition, generating inquiry information, wherein the inquiry information is used for inquiring whether a clearing operation corresponding to the target object is executed or not, and the clearing operation is the zero clearing operation or the deleting operation;
after a confirmation indication corresponding to the query information is acquired, the step of performing the cleaning operation corresponding to the target object is performed.
5. An operation execution apparatus, characterized in that the apparatus comprises:
the acquisition module is configured to acquire a touch operation corresponding to a target object;
the detection module is configured to detect whether the touch operation is a pressing operation meeting a preset condition, wherein the preset condition comprises that the touch area of the touch operation is larger than a second threshold value, and the duration of a state that the touch area is larger than the second threshold value is larger than a third threshold value;
an execution module, configured to execute a clear operation corresponding to the target object if the touch operation is a press operation that meets the preset condition and the target object is an operable control, where the clear operation refers to performing unified processing on target content included in the target object, and the target content is all content or partial content included in the target object, where when states of content included in the target object are the same, the target content is the all content, and when states of content included in the target object are different, the target content is the partial content, and the partial content and other content included in the target object have different states;
and if the touch operation is a pressing operation meeting the preset condition and the target object is information or resource, executing a deleting operation corresponding to the target object, wherein the deleting operation refers to deleting the target object.
6. The apparatus according to claim 5, wherein the execution module is configured to adjust the target content included in the target object from an unread state to a read state;
alternatively, the first and second electrodes may be,
the execution module is configured to clear all the target content included in the target object.
7. The apparatus according to claim 5, wherein the preset condition further includes that a pressure value of the touch operation is greater than a first threshold;
the detection module comprises:
a pressure obtaining submodule configured to obtain a pressure value of the touch operation;
a first detection submodule configured to detect whether the pressure value is greater than the first threshold value.
8. The apparatus of any one of claims 5 to 7, further comprising:
an inquiry module configured to generate inquiry information when the touch operation is a pressing operation that satisfies the preset condition, where the inquiry information is used to inquire whether to execute a clearing operation corresponding to the target object, and the clearing operation is the clearing operation or the deleting operation;
the execution module is further configured to execute the cleaning operation corresponding to the target object after acquiring the confirmation indication corresponding to the query information.
9. An operation execution apparatus, characterized in that the apparatus comprises:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring touch operation corresponding to a target object;
detecting whether the touch operation is a pressing operation meeting a preset condition, wherein the preset condition comprises that the touch area of the touch operation is larger than a second threshold value, and the duration of the state that the touch area is larger than the second threshold value is larger than a third threshold value;
if the touch operation is a pressing operation meeting the preset condition and the target object is an operable control, executing a zero clearing operation corresponding to the target object, wherein the zero clearing operation refers to uniformly processing target contents included by the target object, and the target contents are all contents or partial contents included by the target object, wherein when the states of the contents included by the target object are the same, the target contents are all contents, and when the states of the contents included by the target object are different, the target contents are the partial contents, and the partial contents and other contents included by the target object have different states;
and if the touch operation is a pressing operation meeting the preset condition and the target object is information or resource, executing a deleting operation corresponding to the target object, wherein the deleting operation refers to deleting the target object.
CN201610712355.2A 2016-08-23 2016-08-23 Operation execution method and device Active CN106293480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610712355.2A CN106293480B (en) 2016-08-23 2016-08-23 Operation execution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610712355.2A CN106293480B (en) 2016-08-23 2016-08-23 Operation execution method and device

Publications (2)

Publication Number Publication Date
CN106293480A CN106293480A (en) 2017-01-04
CN106293480B true CN106293480B (en) 2020-06-02

Family

ID=57615960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610712355.2A Active CN106293480B (en) 2016-08-23 2016-08-23 Operation execution method and device

Country Status (1)

Country Link
CN (1) CN106293480B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107256109B (en) * 2017-05-27 2021-03-16 北京小米移动软件有限公司 Information display method and device and terminal
CN110052022A (en) * 2019-04-22 2019-07-26 网易(杭州)网络有限公司 Processing method, processing unit, storage medium and the processor of message
CN111427587B (en) * 2019-05-30 2023-08-29 杭州海康威视数字技术股份有限公司 Target deleting method and device
CN110531916A (en) * 2019-08-22 2019-12-03 维沃移动通信有限公司 Handle the method and electronic equipment of unread message

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094642A (en) * 2015-07-21 2015-11-25 努比亚技术有限公司 Message processing method and device
CN105607805A (en) * 2015-12-18 2016-05-25 小米科技有限责任公司 Corner mark processing method and apparatus for application icon
CN105677081A (en) * 2015-12-28 2016-06-15 广东欧珀移动通信有限公司 Touch control method and terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681847B (en) * 2012-04-28 2015-06-03 华为终端有限公司 Touch screen terminal object processing method and touch screen terminal
CN104915111B (en) * 2015-05-28 2018-08-14 努比亚技术有限公司 terminal operation control method and device
CN105389093B (en) * 2015-10-30 2019-01-29 维沃移动通信有限公司 A kind of warning banner removing method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094642A (en) * 2015-07-21 2015-11-25 努比亚技术有限公司 Message processing method and device
CN105607805A (en) * 2015-12-18 2016-05-25 小米科技有限责任公司 Corner mark processing method and apparatus for application icon
CN105677081A (en) * 2015-12-28 2016-06-15 广东欧珀移动通信有限公司 Touch control method and terminal device

Also Published As

Publication number Publication date
CN106293480A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN107544809B (en) Method and device for displaying page
CN106020784B (en) Application message display method and device and terminal
EP3301558A1 (en) Method and device for sharing content
CN104866179B (en) Terminal application program management method and device
US10942616B2 (en) Multimedia resource management method and apparatus, and storage medium
KR101840145B1 (en) Method for controlling mobile terminal and mobile terminal
US10509540B2 (en) Method and device for displaying a message
EP3316527A1 (en) Method and device for managing notification messages
CN107193553B (en) Key control method and device
WO2018098865A1 (en) Message reading method and apparatus
CN106527883B (en) Content sharing method and device and terminal
CN106293480B (en) Operation execution method and device
CN106775202B (en) Information transmission method and device
CN110968364B (en) Method and device for adding shortcut plugins and intelligent device
JP7252905B2 (en) Touch signal processing method, device and medium
CN107729098B (en) User interface display method and device
CN108803892B (en) Method and device for calling third party application program in input method
CN108984098B (en) Information display control method and device based on social software
EP3190561A1 (en) Method and device for sending information
CN106447747B (en) Image processing method and device
CN106126050B (en) Menu display method and device
CN107678544B (en) Message processing method and device
CN107885571B (en) Display page control method and device
CN107844257B (en) Information display method, device, terminal and storage medium
CN106990893B (en) Touch screen operation processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant