Movatterモバイル変換


[0]ホーム

URL:


CN111427587A - Target deleting method and device - Google Patents

Target deleting method and device
Download PDF

Info

Publication number
CN111427587A
CN111427587ACN201910465608.4ACN201910465608ACN111427587ACN 111427587 ACN111427587 ACN 111427587ACN 201910465608 ACN201910465608 ACN 201910465608ACN 111427587 ACN111427587 ACN 111427587A
Authority
CN
China
Prior art keywords
button
operation button
target
dragging
display interface
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
CN201910465608.4A
Other languages
Chinese (zh)
Other versions
CN111427587B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology 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 Hangzhou Hikvision Digital Technology Co LtdfiledCriticalHangzhou Hikvision Digital Technology Co Ltd
Priority to CN201910465608.4ApriorityCriticalpatent/CN111427587B/en
Publication of CN111427587ApublicationCriticalpatent/CN111427587A/en
Application grantedgrantedCritical
Publication of CN111427587BpublicationCriticalpatent/CN111427587B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The application provides a target deleting method and a target deleting device, wherein the method comprises the following steps: when a dragging operation aiming at an operation button in a display interface is detected, acquiring the displacement of the dragging operation movement; and if the displacement of the movement of the dragging operation is larger than a preset threshold value when the dragging operation is finished, controlling the target to be deleted to move in a display interface according to a preset track until the target to be deleted disappears when the target to be deleted reaches a specified position. The method can improve the man-machine interaction in the target deleting process and increase the operability of the terminal equipment.

Description

Target deleting method and device
Technical Field
The present application relates to the field of application software technologies, and in particular, to a target deletion method and apparatus.
Background
Currently, the operation flow of deleting a target by a terminal such as a mobile phone, a Pad (tablet Computer), or a PC (Personal Computer) is generally as follows: a user selects a target to be deleted, then clicks a delete button, the target disappears suddenly, the target is deleted, and the human-computer interaction is poor.
Disclosure of Invention
In view of the above, the present application provides a target deleting method and apparatus.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of embodiments of the present application, there is provided a target deletion method, including:
when a dragging operation aiming at an operation button in a display interface is detected, acquiring the displacement of the dragging operation movement;
and if the displacement of the movement of the dragging operation is larger than a preset threshold value when the dragging operation is finished, controlling the target to be deleted to move in a display interface according to a preset track until the target to be deleted disappears when the target to be deleted reaches a specified position.
According to a second aspect of embodiments of the present application, there is provided a target deletion apparatus, including: the device comprises a detection unit, an acquisition unit, a judgment unit and a control unit; wherein:
the acquisition unit is used for acquiring the displacement of the dragging operation movement when the detection unit detects the dragging operation of an operation button in a display interface;
the judging unit is used for judging whether the displacement of the dragging operation movement is larger than a preset threshold value or not when the dragging operation is finished;
and the control unit is used for controlling the target to be deleted to move in the display interface according to a preset track if the displacement of the movement of the dragging operation is greater than a preset threshold value when the dragging operation is finished, and the target to be deleted disappears when the target to be deleted reaches a specified position.
According to a third aspect of the embodiments of the present application, there is provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the target deleting method when executing the program stored in the memory.
According to a fourth aspect of embodiments of the present application, there is provided a machine-readable storage medium having stored therein a computer program which, when executed by a processor, implements the above-described object deletion method.
According to the target deleting method, the target deleting is triggered by dragging the dragging button in the display interface, and when the target is deleted, the target to be deleted is controlled to move in the display interface according to the preset track until the target to be deleted disappears when reaching the specified position, so that the target deleting is completed, the man-machine interaction in the target deleting process is improved, and the operability of the terminal device is improved; in addition, as the displacement of the movement required by the dragging operation is larger than the preset threshold value to trigger the target deletion, the occurrence of misoperation can be effectively avoided, and the controllability of the target deletion is improved.
Drawings
FIG. 1 is a flow chart illustrating a target deletion method in accordance with an exemplary embodiment of the present application;
FIG. 2 is a flow chart diagram illustrating a target deletion method in accordance with yet another exemplary embodiment of the present application;
FIG. 3 is a flow chart diagram illustrating a method for target deletion in accordance with yet another exemplary embodiment of the present application;
FIG. 4 is a flow chart diagram illustrating a method for target deletion in accordance with yet another exemplary embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a tag management interface in accordance with an exemplary embodiment of the present application;
FIG. 6 is a schematic illustration of a tag management interface shown in yet another exemplary embodiment of the present application;
FIG. 7 is a block diagram of a target deletion apparatus according to an exemplary embodiment of the present application;
FIG. 8 is a schematic diagram illustrating a target deletion apparatus according to yet another exemplary embodiment of the present application;
fig. 9 is a schematic structural diagram of a target deletion apparatus according to another exemplary embodiment of the present application;
FIG. 10 is a schematic diagram illustrating a target deletion apparatus according to yet another exemplary embodiment of the present application;
fig. 11 is a schematic diagram illustrating a hardware structure of an electronic device according to an exemplary embodiment of the present application.
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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In order to make the technical solutions provided in the embodiments of the present application better understood and make the above objects, features and advantages of the embodiments of the present application more comprehensible, the technical solutions in the embodiments of the present application are described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic flow chart of a target deleting method according to an embodiment of the present application is shown, as shown in fig. 1, the target deleting method may include the following steps:
it should be noted that the target deleting method shown in fig. 1 can be applied to terminal devices, such as a mobile phone, a Pad, or a PC.
Step S100, when the dragging operation of the operation button in the display interface is detected, the displacement of the dragging operation movement is acquired.
In the embodiment of the present application, in order to implement target deletion, a function button (referred to as an operation button herein) for triggering target deletion may be added to the terminal device.
When the terminal device detects a dragging operation for an operation button in the display interface, for example, a user clicks and drags the operation button with a finger (for a touch screen scene), or the user clicks and drags the operation button with a mouse (for a scene supporting mouse input), the terminal device may obtain a displacement of a movement of the dragging operation.
For example, taking the user clicking and dragging the operation button with a finger as an example, the displacement of the dragging operation movement may be a distance between a position where the finger is located when the operation button is released and a position where the finger clicks the operation button after the operation button is clicked with the finger.
For another example, taking the user clicking and dragging the operation button with the mouse as an example, the displacement of the dragging operation movement may be a distance between a position where the cursor is located when the user releases the mouse after clicking the operation button with the mouse and a position where the cursor is located when the user clicks the operation button with the mouse.
And step S110, if the displacement of the movement of the dragging operation is larger than a preset threshold value when the dragging operation is finished, controlling the target to be deleted to move in the display interface according to a preset track until the target to be deleted disappears when the target to be deleted reaches a specified position.
In this embodiment, when the terminal device detects that the dragging operation for the operation button in the display interface is finished, for example, the finger of the user is separated from the operation button, or the user releases the mouse, the terminal device may compare the displacement of the dragging operation movement with a preset displacement threshold (herein, the preset threshold may be set according to an actual scene, for example, 75 pixels).
When the displacement of the dragging operation movement is larger than a preset threshold value, the terminal device can determine that a target deleting instruction is received, at the moment, the terminal device can control the target to be deleted to move in the display interface according to a preset track until the target to be deleted disappears when reaching the specified position, and the target deletion is completed.
For example, the target to be deleted may include a user application running on the terminal device and occupying system resources such as a CPU (central processing unit) and a memory, or an object in an application running on the terminal device, such as a note displayed in a display interface of the brainstorming software.
As an example, the terminal device may control the object to be deleted to disappear after sliding to a certain boundary (e.g., a following boundary) of the display interface at a random speed according to a random trajectory.
As another example, the terminal device may control the target to be deleted to move downward at a constant speed according to a preset speed, and disappear after reaching a lower boundary of the display interface.
Illustratively, when the terminal device detects that the displacement of the dragging operation movement is greater than a preset threshold, the target to be deleted may be controlled to shake in a display interface according to preset shaking parameters (which may include shaking amplitude, shaking frequency, and the like, and may be set according to an actual scene) so as to prompt a user that a condition for triggering target deletion has been reached, and improve human-computer interactivity in the target deletion process.
It can be seen that, in the method flow shown in fig. 1, target deletion is triggered by dragging a drag button in a display interface, and when the target is deleted, the target to be deleted is controlled to move in the display interface according to a preset track until the target to be deleted disappears when reaching a specified position, and the target deletion is completed, so that man-machine interactivity in the target deletion process is improved, and operability of the terminal device is increased; in addition, as the displacement of the movement required by the dragging operation is larger than the preset threshold value to trigger the target deletion, the occurrence of misoperation can be effectively avoided, and the controllability of the target deletion is improved.
Referring to fig. 2, a schematic flow chart of another target deletion method provided in the embodiment of the present application is shown, and as shown in fig. 2, the target deletion method may include the following steps:
step S200, when the dragging operation of the operation button in the display interface is detected, the displacement of the dragging operation movement is obtained, and a line with the starting point as the operation button and matched with the movement track of the dragging operation is displayed in the display interface in response to the dragging operation.
In the embodiment of the present application, the initial state of the operation button may be a single operation button.
When the terminal device detects a dragging operation for an operation button in a display interface, the terminal device can obtain a displacement of the movement of the dragging operation on one hand, and can respond to the dragging operation on the other hand, a line which has a starting point as the operation button and is matched with the movement track of the dragging operation is displayed in the display interface (the thickness of the line can be set according to actual requirements, such as 6 pixels, 8 pixels and the like), so that the man-machine interactivity in the target deleting process is enhanced.
Step S210, if the displacement of the movement of the dragging operation is larger than a preset threshold value when the dragging operation is finished, controlling the target to be deleted to move in the display interface according to a preset track until the target to be deleted disappears when the target to be deleted reaches a specified position. In this embodiment, when the terminal device detects that the dragging operation for the operation button in the display interface is finished, for example, the finger of the user is separated from the operation button, or the user releases the mouse, the terminal device may compare the displacement of the dragging operation movement with a preset displacement threshold (herein, the preset threshold may be set according to an actual scene, for example, 75 pixels).
When the displacement of the dragging operation movement is larger than a preset threshold value, the terminal device can determine that a target deleting instruction is received, at the moment, the terminal device can control the target to be deleted to move in the display interface according to a preset track until the target to be deleted disappears when reaching the specified position, and the target deletion is completed.
Referring to fig. 3, a schematic flow chart of another target deletion method provided in the embodiment of the present application is shown, and as shown in fig. 3, the target deletion method may include the following steps:
and step S300, when the dragging operation of the operation button in the display interface is detected, acquiring the displacement of the dragging operation movement, responding to the dragging operation, controlling the operation button to move in the vertical direction according to the movement track of the dragging operation, and controlling a pull wire connected with the operation button to be matched with the position of the operation button for stretching.
In the embodiment of the present application, the initial state of the operation button may be an operation button and a pull line connected to the operation button.
When the terminal device detects the dragging operation of the operation button in the display interface, the terminal device can obtain the displacement of the dragging operation movement on one hand, and can control the operation button to move in the vertical direction according to the movement track of the dragging operation on the other hand, and control the position of a stay wire connected with the operation button to be matched with the operation button to stretch.
For example, when the user presses the operation button with a finger and pulls the operation button downward, the pull wire connected to the operation button may extend in matching with the position of the operation button; when the user presses the operating button by a finger and pulls the operating button upwards, the pull wire connected with the operating button can be matched with the position of the operating button to stretch and contract.
And S310, if the displacement of the movement of the dragging operation is larger than a preset threshold value when the dragging operation is finished, controlling the target to be deleted to move in the display interface according to a preset track until the target to be deleted disappears when the target to be deleted reaches a specified position.
In this embodiment, when the terminal device detects that the dragging operation for the operation button in the display interface is finished, for example, the finger of the user is separated from the operation button, or the user releases the mouse, the terminal device may compare the displacement of the dragging operation movement with a preset displacement threshold (herein, the preset threshold may be set according to an actual scene, for example, 75 pixels).
When the displacement of the dragging operation movement is larger than a preset threshold value, the terminal device can determine that a target deleting instruction is received, at the moment, the terminal device can control the target to be deleted to move in the display interface according to a preset track until the target to be deleted disappears when reaching the specified position, and the target deletion is completed.
In one example, as shown in fig. 4, after the step S300, the following steps may be further included:
and S301, updating the color displayed by the operating button and the pull line connected with the operating button from the first color to the second color.
After the step S310, the following steps may be further included: and step S311, controlling the operation button and the pull wire connected with the operation button to return to the initial position, and updating the color displayed by the operation button and the pull wire connected with the operation button from the second color to the first color.
In the embodiment of the application, in order to more intuitively reflect the response of the terminal device to the dragging operation, when the dragging operation of the operation button of the display interface is detected, the color of the operation button and the color of the pulling line connected with the operation button can be updated from the first color to the second color.
For example, the operation button and the pull line connected to the operation button are updated to white (second color) from gray (i.e., the operation button in the initial state and the pull line connected to the operation button are gray (first color)); alternatively, the operation button and the pull line connected to the operation button are updated to red (second color) from green (that is, the operation button in the initial state and the pull line connected to the operation button are green (first color)).
When the dragging operation is finished, the terminal device may control the operation button and the pull wire connected to the operation button to return to the initial position, and update the color of the operation button and the pull wire connected to the operation button from the second color to the first color.
It should be noted that, in the embodiment of the present application, when the terminal device detects a dragging operation for an operation button in the display interface, the operation button is controlled to move in the vertical direction according to a moving track of the dragging operation, and a pull wire connected to the operation button is controlled to match a position of the operation button to perform an operation of stretching and retracting, and a color of the operation button and a color of a pull wire connected to the operation button is updated from a first color to a second color, where there is no necessary timing relationship between the two operations, that is, a previous operation may be performed before a subsequent operation is performed as shown in fig. 4; or, the next operation may be executed first, and then the previous operation may be executed; alternatively, the two operations may also be performed in parallel, and the specific implementation thereof is not described herein again.
Similarly, when the terminal device detects that the dragging operation is finished, if the displacement of the dragging operation movement is greater than a preset threshold, the target to be deleted is controlled to move in the display interface according to a preset track until the operation disappears when the target to be deleted reaches a specified position, the pull wire connected with the control operation button and the pull wire connected with the operation button return to the initial position, the operation button and the pull wire connected with the operation button are updated to the first color from the second color, and a certain time sequence relationship does not exist between the operation button and the pull wire, so that the former operation can be executed first and the latter operation can be executed later according to the operation shown in fig. 4; or, the next operation may be executed first, and then the previous operation may be executed; alternatively, the two operations may also be performed in parallel, and the specific implementation thereof is not described herein again.
In one example, the controlling the operation button and the pulling wire connected to the operation button to return to the initial position may include:
if the displacement of the dragging operation movement is larger than a preset threshold value when the dragging operation is finished, controlling the operation button to vertically move upwards to an initial position, and controlling a stay wire connected with the operation button to recover to an initial length;
if the dragging operation is finished, the displacement of the dragging operation is larger than zero and smaller than or equal to a preset threshold value, the operation button is controlled to vibrate up and down by using the gradually reduced amplitude and the initial position of the operation button as the center until the amplitude is reduced to zero, and the stay wire connected with the operation button is controlled to stretch and retract by matching with the up and down vibration of the control button.
For example, when the terminal device detects that the drag operation is ended, in addition to determining whether or not to perform the target deletion in the above-described manner, the manner of controlling the operation button and the pull wire connected to the operation button to return to the initial position may be determined according to the displacement of the drag operation movement.
When the displacement of the dragging operation movement is larger than the preset threshold, the terminal device can control the operation button to vertically move upwards to the initial position, and control the stay wire connected with the operation button to recover to the initial length.
When the displacement that the dragging operation moved is greater than zero, and when being less than or equal to above-mentioned threshold value of predetermineeing, terminal equipment can control operating button and act as go-between with the operating button is connected with the amplitude that reduces gradually, and use operating button's initial position as the center, vibrate from top to bottom, reduce to zero (get back to initial position) until the amplitude to the control is acted as go-between with operating button and is connected and vibrate from top to bottom that control button's the up-and-down vibration of control button stretches out and draws back (the vibration mode is similar to the spring and vibrates), reinforcing operation interest improves.
In another possible embodiment of the present application, the target deleting method may further include:
when the target to be deleted exists in the display interface, displaying an operation button at the specified position of the display interface;
and when the target to be deleted does not exist in the display interface, hiding the operation button.
For example, in order to simplify the display interface of the terminal device, when an object to be deleted exists in the display interface, an operation button (which may include a separate operation button or an operation button and a pull line connected to the operation button) may be displayed at a designated position of the display interface; when the target to be deleted does not exist in the display interface, the operation button can be hidden.
In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application, the technical solutions provided by the embodiments of the present application are described below with reference to specific examples.
In this embodiment, note deletion in the brainstorming software is taken as an example.
Referring to fig. 5, when the PC establishes a connection with the brain storm software running in the large-screen device through the brain storm software, the large-screen device may obtain notes sent by the PC, and sequentially arrange and display the notes in a main interface (which may be referred to as a note management interface) of the brain storm software.
As shown in fig. 5, in a normal state, the brainstorming software may sequentially display notes collected from the PC end from left to right and from top to bottom in the note management interface, and a certain gap is provided between the notes.
To achieve target deletion (note deletion in this embodiment), a circular drag button (i.e., operation button) and a pull line connected to the drag button (e.g., a pull line 6 pixels wide and 190 pixels long) may be created at the upper left of the note management interface of the brainstorming software. In a normal state, the dragging button and the pull wire are gray; and if no note is displayed in the note management interface, the dragging button and the pull line are automatically hidden.
When the large-screen-end equipment detects that a user finger clicks a dragging button, setting the dragging button to be in a clicked state; when the user's finger is dragged across the note management interface, the system converts the finger movement event into a mouse left click movement event.
When the large-screen-end equipment monitors the left-click movement event of the mouse, the position of a finger on a screen is determined according to the position of the left-click movement event of the mouse, a drawing interface of a QT (graphical user interface application program) is utilized, the pull button is vertically moved downwards to the position of the finger of the user, the pull wire is vertically extended downwards to the position above the pull button, the pull wire and the pull button are kept in a connected state, and the color of the pull wire and the pull button is set to be white (namely, the pull wire and the pull button are updated to be white from gray); in addition, a delete tab is displayed at the center of the lowest part of the note management interface, which indicates that the note can be deleted by dragging the pull line downwards, and the schematic diagram can be as shown in fig. 6.
In this embodiment, to ensure procedural robustness, the drag button vertical movement range may be set to 0-150 pixels.
Acquiring the vertical movement length of the dragging button in real time, and comparing the vertical movement length of the dragging button with a preset threshold (assumed to be 75 pixels); wherein:
when the vertical movement length of the drag button is more than 75 pixels and not more than 150 pixels, setting a drawing interface to control the notes displayed in the note management interface to shake in random tracks between the notes and gaps of other notes, and setting a shaking position to prevent the notes from being overlapped with each other, wherein the notes are deleted by releasing the drag button;
when the vertical movement length of the drag button is not more than 75 pixels and is more than 0 pixel, controlling the label displayed in the note management interface to keep still;
when the vertical movement length is more than 150 pixels or less than 0 pixel, the dragging button is controlled to keep the last movement position, the dragging button is not moved, and the pull wire is not stretched.
In this embodiment, when the large-screen-end device detects that the operation of moving the drag button is finished, that is, when the user releases the touch and press effect between the finger and the screen, the large-screen-end device monitors a mouse release event, and at this time, the large-screen-end device may calculate the vertical movement length of the drag button, where:
when the vertical movement length of the drag button is larger than 75 pixels, controlling the drag button to move upwards to an initial position, controlling the pull line to shrink upwards to the initial length, setting the colors of the pull line and the drag button to be gray (namely, updating from white to gray), calling a command of deleting all notes, and controlling the deleted notes to vertically fall into the lower boundary of the note management interface at a random speed and disappear; after all the notes are deleted, hiding a pull wire and a dragging button; when a new note appears, displaying the pull line and the dragging button again;
when the vertical movement length of the pull button is not more than 75 pixels, the pull button and the pull wire are controlled to return to the initial position in a spring oscillation mode, and the color of the pull wire and the pull button is set to be gray (namely, the pull wire and the pull button are updated to be white from gray).
In this embodiment, when the operation of detecting the movement of the drag button is finished, the delete tab at the center below the memo management interface may also be subjected to the hiding process.
In the embodiment of the application, target deletion is triggered by dragging a dragging button in a display interface, and when the target is deleted, the target to be deleted is controlled to move in the display interface according to a preset track until the target to be deleted disappears when reaching a specified position, so that the target deletion is completed, the man-machine interaction in the target deletion process is improved, and the operability of terminal equipment is improved; in addition, as the displacement of the movement required by the dragging operation is larger than the preset threshold value to trigger the target deletion, the occurrence of misoperation can be effectively avoided, and the controllability of the target deletion is improved.
The methods provided herein are described above. The following describes the apparatus provided in the present application:
referring to fig. 7, a schematic structural diagram of a target deleting device provided in an embodiment of the present application is shown, where the target deleting device may be applied to a terminal device in the foregoing method embodiment, and as shown in fig. 7, the target deleting device may include: adetection unit 710, anacquisition unit 720, ajudgment unit 730, and acontrol unit 740; wherein:
the acquiringunit 720, configured to acquire, when the detectingunit 710 detects a drag operation for an operation button in a display interface, a displacement of the drag operation movement;
the judgingunit 730 is configured to judge whether a displacement of the dragging operation movement is greater than a preset threshold value when the dragging operation is finished;
thecontrol unit 740 is configured to, if the displacement of the movement of the dragging operation is greater than a preset threshold when the dragging operation is finished, control the target to be deleted to move in the display interface according to a preset track until the target to be deleted disappears when the target to be deleted reaches the specified position.
In an alternative embodiment, as shown in fig. 8, the apparatus further comprises:
afirst display unit 750, configured to display, in response to the dragging operation, a line having a starting point as the operation button and matching with a movement trajectory of the dragging operation in the display interface.
In an alternative embodiment, thecontrol unit 740 is further configured to, in response to the dragging operation, control the operation button to move in a vertical direction according to a movement trajectory of the dragging operation, and control a pull wire connected to the operation button to extend and retract in accordance with a position of the operation button.
In an alternative embodiment, as shown in fig. 9, the apparatus further comprises:
acolor updating unit 760 for updating the color of the operation button and a pull line connected to the operation button from a first color to a second color when the detectingunit 710 detects a drag operation for the operation button in a display interface;
thecontrol unit 740 is further configured to control the operation button and the pull wire connected to the operation button to return to an initial position when thedetection unit 710 detects that the dragging operation is finished;
thecolor updating unit 760 is further configured to update the color of the operation button and the color of the pull line connected to the operation button from the second color to the first color.
In an optional embodiment, thecontrol unit 740 is specifically configured to, if the displacement of the dragging operation movement is greater than the preset threshold when the dragging operation is finished, control the operation button to move vertically upward to an initial position, and control the pull wire connected to the operation button to return to an initial length; and if the displacement of the dragging operation is larger than zero and smaller than or equal to the preset threshold value after the dragging operation is finished, controlling the operation button to vibrate up and down with gradually reduced amplitude and the initial position of the operation button as the center until the amplitude is reduced to zero, and controlling a pull wire connected with the operation button to be matched with the up and down vibration of the control button to stretch and retract.
In an alternative embodiment, as shown in fig. 10, the apparatus further comprises:
asecond display unit 770 for displaying the operation button at a designated position of the display interface when an object to be deleted exists in the display interface; and when the target to be deleted does not exist in the display interface, hiding the operation button.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure. The electronic device may include aprocessor 1101, acommunication interface 1102, amemory 1103, and a communication bus 1104. Theprocessor 1101, thecommunication interface 1102 and thememory 1103 communicate with each other via a communication bus 1104. Wherein, thememory 1103 stores a computer program; theprocessor 1101 may execute the target deletion method described above by executing a program stored on thememory 1103.
Thememory 1103 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example,memory 1102 may be: RAM (random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, dvd, etc.), or similar storage medium, or a combination thereof.
Embodiments of the present application also provide a machine-readable storage medium, such as thememory 1103 in fig. 11, storing a computer program, which can be executed by theprocessor 1101 in the electronic device shown in fig. 11 to implement the target deletion method described above.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (12)

the control unit is specifically configured to, if the displacement of the dragging operation movement is greater than the preset threshold when the dragging operation is finished, control the operation button to move vertically upward to an initial position, and control a pull wire connected to the operation button to return to an initial length; and if the displacement of the dragging operation is larger than zero and smaller than or equal to the preset threshold value after the dragging operation is finished, controlling the operation button to vibrate up and down with gradually reduced amplitude and the initial position of the operation button as the center until the amplitude is reduced to zero, and controlling a pull wire connected with the operation button to be matched with the up and down vibration of the control button to stretch and retract.
CN201910465608.4A2019-05-302019-05-30Target deleting method and deviceActiveCN111427587B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910465608.4ACN111427587B (en)2019-05-302019-05-30Target deleting method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910465608.4ACN111427587B (en)2019-05-302019-05-30Target deleting method and device

Publications (2)

Publication NumberPublication Date
CN111427587Atrue CN111427587A (en)2020-07-17
CN111427587B CN111427587B (en)2023-08-29

Family

ID=71546751

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910465608.4AActiveCN111427587B (en)2019-05-302019-05-30Target deleting method and device

Country Status (1)

CountryLink
CN (1)CN111427587B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113568534A (en)*2021-07-202021-10-29维沃移动通信有限公司Application icon display method and device and electronic equipment

Citations (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20030084436A1 (en)*2001-10-302003-05-01Joubert BergerSystem and method for installing applications in a trusted environment
CN102968277A (en)*2012-11-302013-03-13北京小米科技有限责任公司Method and device for deleting or cutting file based on touch screen
CN103186339A (en)*2011-12-312013-07-03联想(北京)有限公司Input method and electronic equipment provided with virtual keyboard
WO2014103388A1 (en)*2012-12-272014-07-03株式会社 東芝Electronic device, display method, and program
CN104360812A (en)*2014-10-302015-02-18北京元心科技有限公司Sliding unlocking method and device
CN105824677A (en)*2016-04-182016-08-03徐亚萍Method for deleting installation packages based on user operation data
CN106033307A (en)*2015-03-112016-10-19青岛海信移动通信技术股份有限公司A mail deleting method and a terminal device
CN106250757A (en)*2016-07-292016-12-21维沃移动通信有限公司The control method of a kind of application program and mobile terminal
CN106293480A (en)*2016-08-232017-01-04北京小米移动软件有限公司Operation performs method and device
US20170123497A1 (en)*2015-10-302017-05-04Canon Kabushiki KaishaTerminal, and image pickup apparatus including the same
CN106648280A (en)*2015-10-282017-05-10腾讯科技(深圳)有限公司Task management interaction method and device
CN106843710A (en)*2015-12-042017-06-13程喜庆A kind of method that editor is slided on touch-screen
CN107205090A (en)*2017-05-312017-09-26深圳酷比通信股份有限公司Reminding method, system and the intelligent terminal of intelligent terminal application message
CN107479786A (en)*2017-07-282017-12-15珠海市魅族科技有限公司A kind of method, apparatus, computer installation and computer-readable recording medium for deleting text
WO2018219261A1 (en)*2017-06-012018-12-06腾讯科技(深圳)有限公司Text recombination method and device, terminal device, and computer-readable storage medium
US20180373409A1 (en)*2017-05-162018-12-27Apple Inc.Device, Method, and Graphical User Interface for Managing Data Stored on a Device
CN109298790A (en)*2018-10-112019-02-01科大讯飞股份有限公司Character deleting method and device
WO2019089443A1 (en)*2017-10-302019-05-09Hitachi Vantara CorporationGenerating code for deploying cloud infrastructure

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20030084436A1 (en)*2001-10-302003-05-01Joubert BergerSystem and method for installing applications in a trusted environment
CN103186339A (en)*2011-12-312013-07-03联想(北京)有限公司Input method and electronic equipment provided with virtual keyboard
CN102968277A (en)*2012-11-302013-03-13北京小米科技有限责任公司Method and device for deleting or cutting file based on touch screen
WO2014103388A1 (en)*2012-12-272014-07-03株式会社 東芝Electronic device, display method, and program
CN104360812A (en)*2014-10-302015-02-18北京元心科技有限公司Sliding unlocking method and device
CN106033307A (en)*2015-03-112016-10-19青岛海信移动通信技术股份有限公司A mail deleting method and a terminal device
CN106648280A (en)*2015-10-282017-05-10腾讯科技(深圳)有限公司Task management interaction method and device
US20170123497A1 (en)*2015-10-302017-05-04Canon Kabushiki KaishaTerminal, and image pickup apparatus including the same
CN106843710A (en)*2015-12-042017-06-13程喜庆A kind of method that editor is slided on touch-screen
CN105824677A (en)*2016-04-182016-08-03徐亚萍Method for deleting installation packages based on user operation data
CN106250757A (en)*2016-07-292016-12-21维沃移动通信有限公司The control method of a kind of application program and mobile terminal
CN106293480A (en)*2016-08-232017-01-04北京小米移动软件有限公司Operation performs method and device
US20180373409A1 (en)*2017-05-162018-12-27Apple Inc.Device, Method, and Graphical User Interface for Managing Data Stored on a Device
CN107205090A (en)*2017-05-312017-09-26深圳酷比通信股份有限公司Reminding method, system and the intelligent terminal of intelligent terminal application message
WO2018219261A1 (en)*2017-06-012018-12-06腾讯科技(深圳)有限公司Text recombination method and device, terminal device, and computer-readable storage medium
CN107479786A (en)*2017-07-282017-12-15珠海市魅族科技有限公司A kind of method, apparatus, computer installation and computer-readable recording medium for deleting text
WO2019089443A1 (en)*2017-10-302019-05-09Hitachi Vantara CorporationGenerating code for deploying cloud infrastructure
CN109298790A (en)*2018-10-112019-02-01科大讯飞股份有限公司Character deleting method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113568534A (en)*2021-07-202021-10-29维沃移动通信有限公司Application icon display method and device and electronic equipment

Also Published As

Publication numberPublication date
CN111427587B (en)2023-08-29

Similar Documents

PublicationPublication DateTitle
US11747975B2 (en)Devices, methods, and graphical user interfaces for touch input processing
US11921978B2 (en)Devices, methods, and graphical user interfaces for navigating, displaying, and editing media items with multiple display modes
US20230324996A1 (en)Tactile Feedback for Locked Device User Interfaces
KR102642883B1 (en)Systems and methods for interacting with multiple applications that are simultaneously displayed on an electronic device with a touch-sensitive display
US10268658B2 (en)Page loading method and system, and computer-readable storage medium
US20210117054A1 (en)Devices, Methods, and Graphical User Interfaces for Content Navigation and Manipulation
KR101356368B1 (en)Application switching apparatus and method
CN102187303B (en) Object management method and device using touch screen
US10198421B2 (en)Method for inserting or deleting cells, rows or columns in spreadsheet and a device therefor
US11256333B2 (en)Closing, starting, and restarting applications
CN103744576B (en)A kind of method and system at the operation interface for realizing mobile terminal
WO2015183503A2 (en)Safari tab and private browsing ui enhancement
CN105549814B (en)Photographing method based on mobile terminal and mobile terminal
KR20130052753A (en)Method of executing application using touchscreen and terminal supporting the same
KR20210089799A (en)Systems and methods for interacting with multiple applications that are simultaneously displayed on an electronic device with a touch-sensitive display
EP3593235A1 (en)Devices, methods, and graphical user interfaces for touch input processing
CN111427587B (en)Target deleting method and device
CN111198644A (en)Method and system for identifying screen operation of intelligent terminal
CN109948578B (en)Control method, control device and electronic equipment
KR102229818B1 (en)Portable terminal having touch screen and method for performing function thereof
CN102982045A (en)Method and browser of moving fast interlinkage
CN111083550B (en)Display method of floating view, television and computer readable storage medium
KR101801724B1 (en)Portable terminal having touch screen and method for performing function thereof
KR101801173B1 (en)Portable terminal having touch screen and method for performing function thereof
CN115167734A (en)Message control method and device based on human-computer interaction interface

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp