CN106445087B - Method and device for cancelling input operation - Google Patents

Method and device for cancelling input operation Download PDF

Info

Publication number
CN106445087B
CN106445087B CN201510432514.9A CN201510432514A CN106445087B CN 106445087 B CN106445087 B CN 106445087B CN 201510432514 A CN201510432514 A CN 201510432514A CN 106445087 B CN106445087 B CN 106445087B
Authority
CN
China
Prior art keywords
input operation
input
area
graph
application program
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
CN201510432514.9A
Other languages
Chinese (zh)
Other versions
CN106445087A (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.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510432514.9A priority Critical patent/CN106445087B/en
Publication of CN106445087A publication Critical patent/CN106445087A/en
Application granted granted Critical
Publication of CN106445087B publication Critical patent/CN106445087B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for cancelling input operation, wherein the method comprises the steps of generating an input operation cancelling area in an operation interface of any application program when detecting that the terminal starts the any application program; when the user performs input operation in any application program operation interface, if the terminal detects that the object of the input operation is in an effective state and is dragged to an input operation cancellation area, the input operation is cancelled. By adopting the technical scheme of the invention, any application program operation interface presented by the terminal comprises the input operation cancel area, when the input operation object in the effective state is dragged to the input operation cancel area, the terminal cancels the input operation and restores the input operation to the state before the input operation, and the terminal directly cancels the error input result, thereby improving the system performance; and the process of canceling the input operation is quick and simple, and the operability is strong.

Description

Method and device for cancelling input operation
Technical Field
The present invention relates to the field of information processing, and in particular, to a method and an apparatus for revoking an input operation.
Background
With the rapid development of electronic technology and mobile networks, terminals such as smart phones and Personal Digital Assistants (PDAs) have been widely used due to their powerful functions. The terminal can download abundant application software according to the instruction of the user, and the terminal can have more powerful functions and more convenient operation after the application software is installed.
At present, the situation of performing an input operation in a terminal with a touch function may include a variety of situations, for example, in a screen unlocking process, when a screen unlocking password is a pattern, a user needs to input a graphic corresponding to the pattern on the terminal; for another example, after the terminal runs the locally installed graph drawing application software, the user can perform graph drawing in the graph drawing application software operation interface through a sliding input operation; for another example, after the terminal runs any locally installed application software, the user may select any function icon (e.g., operation button, application icon, etc.) in the operation interface of the application software to implement the corresponding function.
In the above process, once the user performs the input operation in the terminal, the input operation will be submitted to the operating system of the terminal, and if the user confirms that the input operation is an error operation in the above input operation process, the input operation will not be cancelled. For example, in the process of unlocking the screen, if the user determines that part of the input unlocking pattern is an error pattern in the process of inputting the unlocking pattern, the unlocking pattern input operation cannot be cancelled, the terminal confirms that the unlocking pattern is input incorrectly, when the terminal sets the number of times of input errors allowed for the unlocking pattern input, the terminal is in a locked state due to multiple times of input errors of the unlocking pattern by the user, and the user cannot use the terminal.
Therefore, at present, the input operation executed in the terminal has the problem of poor usability of the terminal due to high complexity of the revocation process.
Disclosure of Invention
The embodiment of the invention provides a method and a device for cancelling input operation, which are used for solving the problem of poor terminal usability caused by high complexity of a cancelling process in the process of executing input operation by a terminal in the prior art.
The embodiment of the invention provides the following specific technical scheme:
a method of undoing an input operation, comprising: when an instruction for starting any application program is detected, starting the operation of the any application program, and generating an input operation cancel area in an operation interface of the any application program; when detecting that a user executes input operation in an operation interface of any application program, determining an object of the input operation; the input operation object comprises a sliding input graph or a selected function icon; and if the object in the effective state is detected to be dragged to the input operation canceling area, canceling the input operation.
Further, after the input operation cancellation area is generated in the operation interface of any application program, the method further includes: when detecting that the user performs the operation of selecting the input operation cancellation area, moving the input operation cancellation area along the dragging track of the user; positioning the input operation canceling area to a position indicated by the user; or when detecting that the user performs the operation of selecting the input operation cancellation area, adjusting the length and/or the width of the input operation cancellation area according to the instruction of the user.
Optionally, detecting that the object of the input operation is in an effective state specifically includes: if the input operation object is detected to be in an unconfirmed input state, determining that the input operation object is in an effective state; or if the input operation object is detected to be in the input confirmation state, starting a timer and recording the input confirmation duration of the input operation object; and if the recorded duration is less than the preset duration, determining that the object of the input operation is in an effective state.
Optionally, detecting that the object in the valid state is dragged to the input revocation area specifically includes: detecting that an object in an effective state is dragged to the input operation revocation area along an arbitrary track; or detecting that the object in the valid state is dragged to the input operation undo area along a preset track.
Optionally, revoking the input operation specifically includes: when the object of the input operation is a graph input in a sliding mode, acquiring a coverage area of the graph; and replacing the coverage area of the graph with a blank area; when the object of the input operation is the selected functional icon, acquiring the initial state of the icon before the input operation; and restoring the selected icon to the initial state.
Further, when the object of the input operation is a graphic of a slide input, the method further includes: receiving a graph selection instruction; the graph selection instruction comprises a selected area or a selected line mark; when the selected graphic region is contained in the graphic selection instruction, if the selected graphic region is detected to be dragged to the graphic revocation region, the input of the graphic contained in the selected graphic region is revoked; and when the selected line mark is contained in the graph selection instruction, if the line mark is detected to be input in the graph cancellation area, cancelling the input of the line corresponding to the selected line mark.
An apparatus to undo an input operation, comprising: the application program starting unit is used for starting any application program operation when detecting an instruction for starting any application program; the generating unit is used for generating an input operation canceling area in an operation interface of any application program; the object determination unit is used for determining an object of an input operation when the fact that the user executes the input operation in the operation interface of any application program is detected; the input operation object comprises a sliding input graph or a selected function icon; and the cancel input operation unit is used for canceling the input operation if the object in the effective state is detected to be dragged to the input operation cancel area.
Further, the apparatus further comprises an adjusting unit configured to: after an input operation revocation area is generated in an operation interface of any application program, when the fact that a user selects the input operation revocation area is detected, the input operation revocation area is moved along a dragging track of the user; positioning the input operation canceling area to a position indicated by the user; or when detecting that the user performs the operation of selecting the input operation cancellation area, adjusting the length and/or the width of the input operation cancellation area according to the instruction of the user.
Optionally, when the cancel input operation unit detects that the object of the input operation is in the valid state, the cancel input operation unit is specifically configured to: if the input operation object is detected to be in an unconfirmed input state, determining that the input operation object is in an effective state; or if the input operation object is detected to be in the input confirmation state, starting a timer and recording the input confirmation duration of the input operation object; and if the recorded duration is less than the preset duration, determining that the object of the input operation is in an effective state.
Optionally, when detecting that the object in the valid state is dragged to the input revocation area, the revocation input operation unit is specifically configured to: detecting that an object in an effective state is dragged to the input operation revocation area along an arbitrary track; or detecting that the object in the valid state is dragged to the input operation undo area along a preset track.
Optionally, the cancel input operation unit is specifically configured to: when the object of the input operation is a graph input in a sliding mode, acquiring a coverage area of the graph; and replacing the coverage area of the graph with a blank area; when the object of the input operation is the selected functional icon, acquiring the initial state of the icon before the input operation; and restoring the selected icon to the initial state.
Further, the apparatus further comprises a processing unit configured to: when the object of the input operation is a graph input in a sliding mode, receiving a graph selection instruction; the graph selection instruction comprises a selected area or a selected line mark; when the selected graphic region is contained in the graphic selection instruction, if the selected graphic region is detected to be dragged to the graphic revocation region, the input of the graphic contained in the selected graphic region is revoked; and when the selected line mark is contained in the graph selection instruction, if the line mark is detected to be input in the graph cancellation area, cancelling the input of the line corresponding to the selected line mark.
In the embodiment of the invention, when the terminal is detected to start any application program, an input operation cancellation area is generated in an operation interface of the any application program; when the user executes an input operation in any application program operation interface, if the terminal detects that the object of the input operation is in an effective state and is dragged to an input operation cancellation area, the input operation is cancelled. By adopting the technical scheme of the invention, any application program operation interface presented by the terminal comprises the input operation cancel area, when an object of the input operation in an effective state is dragged to the input operation cancel area, the terminal cancels the input operation and restores the input operation to the state before the input operation, and the terminal directly cancels the error input result, thereby solving the problem that the input operation cancel process is difficult in the prior art, and the terminal does not need to submit the error input result to an operation system, reducing the system consumption and improving the system performance; and the implementation process of canceling the input operation is quick and simple, and the operability is strong.
Drawings
FIG. 1 is a flow diagram of a undo input operation in an embodiment of the present invention;
FIGS. 2a and 2b are schematic diagrams of an operation interface of a graphical rendering application in an embodiment of the present invention;
fig. 3a and 3b are schematic diagrams of a video recording operation interface according to an embodiment of the present invention;
fig. 4a to 4c are schematic diagrams of a first input operation cancellation area according to an embodiment of the present invention;
FIG. 5a and FIG. 5b are schematic diagrams of a second input operation undo area in an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a cancel input operation in an exemplary application scenario according to an embodiment of the present invention;
fig. 7 is a flowchart of a cancel input operation in a second specific application scenario in the embodiment of the present invention;
fig. 8 is a flowchart of a cancel input operation in a third specific application scenario in the embodiment of the present invention;
fig. 9 is a flowchart of cancel input operation in a specific application scenario four in the embodiment of the present invention;
fig. 10 is a schematic structural diagram of a cancel input operation device according to an embodiment of the present invention.
Detailed Description
The problem that in the prior art, the complexity of a revocation process is high in the process of executing input operation by a terminal, and the usability of the terminal is poor is solved. In the embodiment of the invention, when the terminal is detected to start any application program, an input operation cancellation area is generated in an operation interface of the any application program; when the user executes an input operation in any application program operation interface, if the terminal detects that the object of the input operation is in an effective state and is dragged to an input operation cancellation area, the input operation is cancelled. By adopting the technical scheme of the invention, any application program operation interface presented by the terminal comprises the input operation cancel area, when an object of the input operation in an effective state is dragged to the input operation cancel area, the terminal cancels the input operation and restores the input operation to the state before the input operation, and the terminal directly cancels the error input result, thereby solving the problem that the input operation cancel process is difficult in the prior art, and the terminal does not need to submit the error input result to an operation system, reducing the system consumption and improving the system performance; and the implementation process of canceling the input operation is quick and simple, and the operability is strong.
The embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1, in the embodiment of the present invention, a process of a terminal cancelling an input operation of a user includes:
step 100: when detecting that any application program instruction is started, starting the any application program, and generating an input operation cancel area in an operation interface of the any application program.
In the embodiment of the invention, a plurality of application programs are installed in the terminal, and the terminal can locally run any application program to realize corresponding functions, wherein the application programs comprise the application programs pre-installed in the terminal, the application programs self-installed by a user and part of functions contained in an operating system pre-installed in the terminal. When the terminal responds to the user operation and locally runs any application program, the terminal presents an operation interface of the any application program, wherein the operation interface of the any application program comprises an input operation canceling area, and the input operation canceling area can be an area only comprising a canceling input operation button or an area comprising a canceling input operation button and an editing option. For example, the terminal runs a graphics rendering application, and the terminal presents a graphics rendering application operation interface as shown in fig. 2a, where the graphics rendering application operation interface includes an undo input operation area.
By adopting the technical scheme, the terminal adds the input cancellation operation area in any application program operation interface, and can determine whether the input operation needs to be cancelled or not only by detecting whether the user executes the operation related to the input cancellation operation area or not aiming at the object of the input operation, so that the terminal is suitable for various application scenes containing the input operation, and is wider in application range and more convenient and faster in input cancellation operation.
Further, after an input operation revocation area is generated in any application program operation interface, the input operation revocation area may be set at any position in the any application program operation interface in a suspension manner, and when it is detected that a user performs an operation of selecting the input operation revocation area, the input operation revocation area is moved along a dragging track of the user; and positioning the input operation cancel area to the position indicated by the user. For example, in an operation interface of any application program, an input operation cancelling area is located at the upper left corner of the operation interface of the any application program, and may block a toolbar option on the operation interface of the any application program, the terminal may obtain a selected point of the touch object on the input operation cancelling area, move the input operation cancelling area along a movement track on the touch screen of the touch object with the selected point as a movement center, and set the input operation cancelling area at the lower left corner of the operation interface of the any application program if the terminal finally detects that the touch object moves to the lower left corner of the operation interface of the any application program.
Further, when it is detected that the user selects the input operation cancellation area, the terminal may adjust the length and/or the width of the input operation cancellation area according to an instruction of the user. For example, in the operation interface of the drawing application program, the coverage area of the input operation cancellation region is too large, so that the drawing region is small, and the terminal may scale down the length and the width of the input operation cancellation region according to the instruction of the user, or adjust only the length of the input operation cancellation region, or adjust only the width of the input operation cancellation region. Specifically, when the terminal adjusts the length and/or the width of the input operation cancellation region, the size of the adjusted input operation cancellation region may be determined according to a dragging track of the touch object to the edge of the input operation cancellation region; in addition, the input operation canceling area may further include a size editing option, where the size editing option includes a length option and a width option, and the terminal may determine the adjusted size of the input operation canceling area according to the length and the width input by the user in the size editing option.
By adopting the technical scheme, the terminal can reset the position of the input operation cancelling area in the application program operation interface according to the instruction of the user, so that the situation that the layout of the application program operation interface needs to be readjusted in order to ensure that the input operation cancelling area does not shield partial area in the application program operation interface is avoided, and the operability of cancelling the input is effectively improved.
Step 110: when detecting that a user executes input operation in an operation interface of any application program, determining an object of the input operation; the object of the input operation comprises a graphic of a sliding input or a selected function icon.
Because the application scenes of input operation are more in the terminal, if the input operation is editable input operation, the terminal can cancel the input object according to the instruction of the user, such as the short message editing process and input 'Lanting' needs, and when the user determines that the 'needs' word is input incorrectly, the 'needs' can be deleted according to the short message editing button and the 'order' can be input again; therefore, in the embodiment of the present invention, the input operation only includes a sliding input operation and a function icon selection operation, wherein the sliding input trajectory may be explicitly presented on the corresponding operation interface of the terminal, or may not be presented on the corresponding operation interface of the terminal; for example, in the operation interface of the drawing application program, a graphic input operation is executed, and the graphic input operation track can be displayed on the operation interface of the drawing application program in an explicit mode; and executing multimedia playing progress adjusting operation in the multimedia playing application program operation interface, wherein the multimedia playing progress adjusting operation track cannot be displayed on the multimedia playing in an explicit mode.
Based on the process, when the terminal detects that the user locally executes the input operation, the object of the current input operation is determined; the corresponding input operation comprises a sliding input operation and a function icon selection operation, and the object of the input operation is a sliding input graph or a selected function icon. For example, in an operation interface of a drawing application program, a graphic input operation is executed, an object of the graphic input operation is a currently input graphic, and the graphic is a straight line or a curve, or a preset graphic template contained in the drawing application program; for another example, in the multimedia playing application program operation interface, the user instructs to perform multimedia playing progress adjustment, the terminal controls the moving track of the multimedia playing progress adjustment option on the multimedia playing progress bar according to the touch object, and determines the adjusted playing progress, where the object of the multimedia playing progress adjustment operation is the function icon (multimedia playing progress adjustment option).
By adopting the technical scheme, the terminal determines the object of the input operation according to the input operation of the user and different application scenes, the process for determining the object of the input operation is high in accuracy, and whether the input operation is cancelled or not is determined by the subsequent terminal according to the operation of the user on the determined object.
Step 120: and if the object in the effective state is detected to be dragged to the input operation canceling area, canceling the input operation.
In the embodiment of the invention, when the terminal detects the object of the input operation, if the object is dragged to the input operation cancellation area, whether the object of the input operation is a valid object is judged, if so, the current input operation can be cancelled, otherwise, the current input operation cannot be cancelled.
Optionally, the method for detecting that the object of the input operation is in the valid state by the terminal specifically includes: if the input operation object is detected to be in the unconfirmed input state, determining that the input operation object is in the valid state, for example, in any application program operation interface, if the touch object does not leave the touch screen in the process of executing the sliding input operation, determining that the sliding input object is in the valid state, and for example, in any application program operation interface, if any functional icon is selected by the touch object, executing a dragging operation on the any functional icon, but the touch object does not leave the touch screen, determining that the functional icon is in the valid state; or if the input operation object is detected to be in the input confirmation state, starting a timer and recording the input confirmation duration of the input operation object; and if the recorded duration is less than the preset duration, determining that the object of the input operation is in an effective state. For example, the preset time duration is set to 60 seconds, after the terminal detects that the touch object performs the sliding input in the terminal, the terminal leaves the touch screen, that is, a timer is started to start timing, and before the counted time duration of the timer reaches 60 seconds, all objects of the sliding input are in an effective state. In particular, when the object is a graphic, since the graphic is composed of a plurality of lines, all the lines in the graphic are not necessarily the object in the valid state, and only some lines satisfying the above condition are regarded as the object in the valid state.
Further, the terminal may determine an object satisfying any one of the two conditions as an object in an active state, and the user may set one of the two conditions as a policy for determining whether the object is an object in an active state on the terminal according to a requirement of the user.
Because all the input objects are set in the terminal to be submitted to the operating system, the operating system confirms the input operation, the object is the object in the invalid state, and the terminal cannot cancel the input operation after the operating system confirms the input operation. Therefore, the terminal can only execute the revocation operation on the object in the valid state, and the problem that in the information input process, the input part of information is known to have errors, and the error information still needs to be submitted to an operating system is solved.
Optionally, the detecting, by the terminal, that the object in the valid state is dragged to the input revocation area includes: detecting that an object in an effective state is dragged to the input operation revocation area along an arbitrary track; or, detecting that the object in the valid state is dragged to the input operation revocation area along a preset track, for example, a terminal specifies that a user can only drag the object in the valid state to the input operation revocation area along a straight track.
Optionally, when the terminal detects that the object in the valid state is dragged to the input operation revocation area, revoking the input operation includes: when the object of the input operation is a graph input in a sliding mode, acquiring a coverage area of the graph; and replacing the overlay area of the graph with a blank area, for example, referring to fig. 2b, a drawing application operating interface containing an input graph is shown, and when it is detected that the input graph is dragged to an input operation cancel area, the drawing application operating interface shown in fig. 2a is presented; when the object of the input operation is the selected icon, acquiring the initial state of the icon before the input operation; and restoring the selected icon to the initial state, for example, in the video recording operation interface, when the terminal detects that the user selects the video recording option (see fig. 3 a), if it is detected that the video recording option is dragged to the input operation cancel area, the initial state of the video recording operation interface shown in fig. 3b is presented.
By adopting the technical scheme, the terminal only detects whether the object in the effective state is dragged to the input operation cancellation area, if the object in the effective state is detected to be dragged to the input operation cancellation area, the input operation is cancelled, and an interface before the input operation is presented, so that the process of cancelling the input operation is convenient and quick; in addition, the terminal does not need to repeatedly confirm the input operation of the error information as the effective operation, thereby reducing the unnecessary operation of the system, reducing the waste of system resources and the power consumption of the system and improving the performance of the system.
Further, when the object of the input operation is a graph input in a sliding mode, a graph selection instruction is received; the graph selection instruction comprises a selected area or a selected line mark; when the selected graphic selection instruction includes a selected graphic region, if it is detected that the selected graphic region is dragged to the graphic cancel region, canceling the graphic input included in the selected graphic region, for example, referring to fig. 4a, the input operation cancel region may include a selected button, and after the button is triggered, if the terminal detects that the drawing region has the selected region, the interface illustrated in fig. 4b is presented, and when the terminal receives a confirmation instruction of the user input, the interface illustrated in fig. 4c is presented; when the selected line identifier is included in the instruction for selecting the graph, if it is detected that the line identifier is input in the graph revocation area, the input to the line corresponding to the selected line identifier is revoked, for example, referring to fig. 5a, the input operation revocation area of the operation interface of the drawing application program includes an editing option, when the terminal detects that the editing option is selected, the line identifier is set for the graph of the operation interface of the drawing application program, and if the user selects the line 1 and the line 2, the terminal presents the operation interface of the drawing application program shown in fig. 5 b.
By adopting the technical scheme, the terminal carries out cancellation operation on part of the graphs or part of lines in the graphs according to the instruction of the user, so that the operation aiming at the input graphs is more flexible and convenient.
Based on the above technical solution, the process of canceling the input operation is described in detail below with reference to a specific application scenario.
Application scenario one
Referring to fig. 6, taking a screen unlocking interface presented in the terminal as an example, a process of the terminal canceling the input of the unlocking pattern is described in detail.
Step 600: the terminal receives a screen unlocking pattern input by a user.
Step 610: in the input process of the screen unlocking pattern, when the fact that the screen unlocking pattern which is being input is dragged to an input operation canceling area in the screen unlocking interface is detected, the input of the screen unlocking pattern is cancelled.
In the embodiment of the invention, because the screen unlocking pattern is usually an uninterrupted curve, when a touch object does not leave the touch screen, the whole screen unlocking pattern can be determined to be in an effective state, and when the screen unlocking pattern is not input completely, the terminal can cancel the input of the screen unlocking pattern according to the user operation.
Application scenario two
Referring to fig. 7, the process of the terminal canceling the graphic input is described in detail by taking a drawing application operation interface presented by the terminal as an example.
Step 700: the terminal receives a graphic input by a user.
Step 710: in the process of inputting the graphics, when detecting that the graphics being input are dragged to an input operation cancel area in an operation interface of the drawing application program, canceling the input of the graphics.
In the embodiment of the invention, because the drawing graph usually consists of discontinuous curves or straight lines, the terminal needs to determine the effective state part graph from the drawn graphs and cancel the input of the effective part graph. Compared with the prior art, when the user determines that the input graph is wrong, if the input graph needs to be input again, the terminal records the input wrong graph locally.
Application scenario three
Referring to fig. 8, taking the operation adjustment interface with the standby interface icon presented by the terminal as an example, the process of the terminal undoing the operation interface adjustment operation will be described in detail.
Step 800: and the terminal acquires the function icon selected by the user.
Step 810: and when the selected function icon is detected to be dragged to an input operation cancellation area in the operation interface of the drawing application program, canceling the position adjustment of the function icon, and restoring the function icon to the position before the position adjustment.
In the embodiment of the invention, when a user adjusts the position of a function icon included in a standby interface of a terminal, misoperation may occur, for example, the function icon A is moved to the folder 1 by mistake, and at the moment, if the terminal detects that a touch object leaves a touch screen, the function icon A is moved to the folder 1; when the touch object does not leave the touch screen, the terminal detects that the function icon is dragged to the input operation cancel area, that is, the function icon a is restored to the initial position, that is, the position outside the folder 1. Compared with the prior art, when the user determines that the function icon is moved incorrectly, if the function icon needs to be moved again, the user needs to drag the function icon to the initial position again.
Application scenario four
Referring to fig. 9, taking an example in which the terminal presents a game application operation interface and the user selects a function icon with a function of increasing the battle consumptions of characters, a process of canceling the input operation by the terminal will be described in detail.
Step 900: and the terminal acquires the function icon selected by the user.
Step 910: and when the selected function icon is detected to be dragged to an input operation canceling area in the drawing application program operation interface, canceling the function icon selection operation, and restoring the game application program operation interface to the state before the function icon is selected.
In the embodiment of the invention, when a user selects a function icon contained in the standby interface of the terminal, misoperation can occur, for example, the user selects a function icon B with a function of increasing the fighting consumption of a character by misoperation, at the moment, if the terminal detects that a touch object leaves a touch screen, the fighting consumption of the character is determined to be increased; when the touch object does not leave the touch screen, the terminal detects that the function icon B is dragged to the input operation cancel area, namely, the selected operation on the function icon B is cancelled. Compared with the prior art, when the user determines that the function icon B is selected incorrectly, if the function icon B needs to be selected again, the user needs to select the function icon C with the function of increasing the battle consumption of the character.
Based on the above technical solution, referring to fig. 10, an apparatus for revoking an input operation according to an embodiment of the present invention further includes an application starting unit 100, a generating unit 101, an object determining unit 102, and a revoking input operation unit 103, where:
an application starting unit 100, configured to start an operation of any application when detecting an instruction to start the application;
a generating unit 101, configured to generate an input operation revocation area in an operation interface of the any application program;
an object determination unit 102, configured to determine, when it is detected that a user performs an input operation in an operation interface of the arbitrary application program, an object of the input operation; the input operation object comprises a sliding input graph or a selected function icon;
an undo input operation unit 103 configured to undo the input operation if it is detected that the object in the valid state is dragged to the input operation undo area.
Further, the apparatus further comprises an adjusting unit 104 configured to: after an input operation revocation area is generated in an operation interface of any application program, when the fact that a user selects the input operation revocation area is detected, the input operation revocation area is moved along a dragging track of the user; positioning the input operation canceling area to a position indicated by the user; or when detecting that the user performs the operation of selecting the input operation cancellation area, adjusting the length and/or the width of the input operation cancellation area according to the instruction of the user.
Optionally, when detecting that the object of the input operation is in the valid state, the cancel input operation unit 103 is specifically configured to: if the input operation object is detected to be in an unconfirmed input state, determining that the input operation object is in an effective state; or if the input operation object is detected to be in the input confirmation state, starting a timer and recording the input confirmation duration of the input operation object; and if the recorded duration is less than the preset duration, determining that the object of the input operation is in an effective state.
Optionally, when detecting that the object in the valid state is dragged to the input revocation area, the revocation input operation unit 103 is specifically configured to: detecting that an object in an effective state is dragged to the input operation revocation area along an arbitrary track; or detecting that the object in the valid state is dragged to the input operation undo area along a preset track.
Optionally, the cancel input operation unit 103 is specifically configured to: when the object of the input operation is a graph input in a sliding mode, acquiring a coverage area of the graph; and replacing the coverage area of the graph with a blank area; when the object of the input operation is the selected functional icon, acquiring the initial state of the icon before the input operation; and restoring the selected icon to the initial state.
Further, the apparatus further comprises a processing unit 105 configured to: when the object of the input operation is a graph input in a sliding mode, receiving a graph selection instruction; the graph selection instruction comprises a selected area or a selected line mark; when the selected graphic region is contained in the graphic selection instruction, if the selected graphic region is detected to be dragged to the graphic revocation region, the input of the graphic contained in the selected graphic region is revoked; and when the selected line mark is contained in the graph selection instruction, if the line mark is detected to be input in the graph cancellation area, cancelling the input of the line corresponding to the selected line mark.
In summary, when an instruction for starting any application program is detected, the any application program is started, and an input operation revocation area is generated in the operation interface including the any application program; when a user executes input operation in an operation interface of any application program, determining an object of the input operation; if the object in the effective state is detected to be dragged to the input operation canceling area, canceling the input operation; the object of the input operation comprises a graphic of a sliding input or a selected function icon. By adopting the technical scheme of the invention, any application program operation interface presented by the terminal comprises the input operation cancel area, when the input operation object in the effective state is dragged to the input operation cancel area, the terminal cancels the input operation and restores the input operation to the state before the input operation, thereby solving the problem of difficult input operation cancel process in the prior art, and the terminal only cancels the error input result directly without submitting the error input result to the operation system, thereby reducing the system consumption and improving the system performance; and the process of canceling the input operation is quick and simple, and the operability is strong.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (10)

1. A method of undoing an input operation, comprising:
when an instruction for starting any application program is detected, starting the operation of the any application program, and generating an input operation cancel area in an operation interface of the any application program;
when detecting that a user executes input operation in an operation interface of any application program, determining an object of the input operation; the input operation object comprises a sliding input graph or a selected function icon;
detecting whether the object of the input operation is in a valid state, wherein the valid state refers to that the object of the input operation is not submitted to an operating system;
if the object in the effective state is detected to be dragged to the input operation canceling area, canceling the input operation;
the detecting that the object of the input operation is in an effective state specifically includes:
if the input operation object is detected to be in an unconfirmed input state, determining that the input operation object is in an effective state; alternatively, the first and second electrodes may be,
if the input operation object is detected to be in the input confirmation state, starting a timer and recording the input confirmation duration of the input operation object; and if the recorded duration is less than the preset duration, determining that the object of the input operation is in an effective state.
2. The method of claim 1, after generating an input operation revocation area in the operation interface of the arbitrary application program, further comprising:
when detecting that the user performs the operation of selecting the input operation cancellation area, moving the input operation cancellation area along the dragging track of the user; positioning the input operation canceling area to a position indicated by the user; alternatively, the first and second electrodes may be,
when the fact that the user selects the input operation cancellation area is detected, the length and/or the width of the input operation cancellation area are/is adjusted according to the user instruction.
3. The method according to any one of claims 1-2, wherein detecting that the object in the valid state is dragged to the input undo area comprises:
detecting that an object in an effective state is dragged to the input operation revocation area along an arbitrary track; alternatively, the first and second electrodes may be,
and detecting that the object in the effective state is dragged to the input operation revocation area along a preset track.
4. The method of claim 3, wherein overriding the input operation specifically comprises:
when the object of the input operation is a graph input in a sliding mode, acquiring a coverage area of the graph; and replacing the coverage area of the graph with a blank area;
when the object of the input operation is the selected functional icon, acquiring the initial state of the icon before the input operation; and restoring the selected icon to the initial state.
5. The method of claim 3, wherein when the object of the input operation is a graphic of a slide input, the method further comprises:
receiving a graph selection instruction; the graph selection instruction comprises a selected area or a selected line mark;
when the selected graphic region is contained in the graphic selection instruction, if the selected graphic region is detected to be dragged to the graphic revocation region, the input of the graphic contained in the selected graphic region is revoked;
and when the selected line mark is contained in the graph selection instruction, if the line mark is detected to be input in the graph cancellation area, cancelling the input of the line corresponding to the selected line mark.
6. An apparatus for undoing an input operation, comprising:
the application program starting unit is used for starting any application program operation when detecting an instruction for starting any application program;
the generating unit is used for generating an input operation canceling area in an operation interface of any application program;
the object determination unit is used for determining an object of an input operation when the fact that the user executes the input operation in the operation interface of any application program is detected; the input operation object comprises a sliding input graph or a selected function icon;
the input operation canceling unit is used for detecting whether an object of the input operation is in an effective state, wherein the effective state refers to that the object of the input operation is not submitted to an operating system, and if the object in the effective state is detected to be dragged to the input operation canceling area, the input operation is cancelled;
when detecting that the object of the input operation is in the valid state, the cancel input operation unit is specifically configured to:
if the input operation object is detected to be in an unconfirmed input state, determining that the input operation object is in an effective state; or if the input operation object is detected to be in the input confirmation state, starting a timer and recording the input confirmation duration of the input operation object; and if the recorded duration is less than the preset duration, determining that the object of the input operation is in an effective state.
7. The apparatus of claim 6, further comprising an adjustment unit to:
after an input operation revocation area is generated in an operation interface of any application program, when the fact that a user selects the input operation revocation area is detected, the input operation revocation area is moved along a dragging track of the user; positioning the input operation canceling area to a position indicated by the user; or when detecting that the user performs the operation of selecting the input operation cancellation area, adjusting the length and/or the width of the input operation cancellation area according to the instruction of the user.
8. The apparatus according to any one of claims 6 to 7, wherein the undo input operation unit, when detecting that the object in the active state is dragged to the input undo area, is specifically configured to:
detecting that an object in an effective state is dragged to the input operation revocation area along an arbitrary track; or detecting that the object in the valid state is dragged to the input operation undo area along a preset track.
9. The apparatus of claim 8, wherein the undo input operation unit is specifically configured to:
when the object of the input operation is a graph input in a sliding mode, acquiring a coverage area of the graph; and replacing the coverage area of the graph with a blank area;
when the object of the input operation is the selected functional icon, acquiring the initial state of the icon before the input operation; and restoring the selected icon to the initial state.
10. The apparatus of claim 9, further comprising a processing unit to:
when the object of the input operation is a graph input in a sliding mode, receiving a graph selection instruction; the graph selection instruction comprises a selected area or a selected line mark; when the selected graphic region is contained in the graphic selection instruction, if the selected graphic region is detected to be dragged to the graphic revocation region, the input of the graphic contained in the selected graphic region is revoked; and when the selected line mark is contained in the graph selection instruction, if the line mark is detected to be input in the graph cancellation area, cancelling the input of the line corresponding to the selected line mark.
CN201510432514.9A 2015-07-21 2015-07-21 Method and device for cancelling input operation Active CN106445087B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510432514.9A CN106445087B (en) 2015-07-21 2015-07-21 Method and device for cancelling input operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510432514.9A CN106445087B (en) 2015-07-21 2015-07-21 Method and device for cancelling input operation

Publications (2)

Publication Number Publication Date
CN106445087A CN106445087A (en) 2017-02-22
CN106445087B true CN106445087B (en) 2020-02-21

Family

ID=59216110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510432514.9A Active CN106445087B (en) 2015-07-21 2015-07-21 Method and device for cancelling input operation

Country Status (1)

Country Link
CN (1) CN106445087B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107137930B (en) * 2017-05-03 2020-07-28 广州四三九九信息科技有限公司 Method for behavior cancellation in mobile terminal game
CN106951893A (en) * 2017-05-08 2017-07-14 奇酷互联网络科技(深圳)有限公司 Text information acquisition methods, device and mobile terminal
CN107273721A (en) * 2017-06-14 2017-10-20 深圳天珑无线科技有限公司 To the processing method and processing device of application
CN109521914A (en) * 2017-09-19 2019-03-26 阿里巴巴集团控股有限公司 Restore the methods, devices and systems of data in file
CN111149080B (en) * 2017-09-29 2023-12-26 深圳传音通讯有限公司 Icon management method and terminal equipment
CN107748842A (en) * 2017-10-27 2018-03-02 链家网(北京)科技有限公司 It is a kind of slide unlocking method, using and provided with the application terminal
CN110321692A (en) * 2019-07-12 2019-10-11 网易(杭州)网络有限公司 Cipher-code input method, device and storage medium
CN111524210A (en) * 2020-04-10 2020-08-11 北京百度网讯科技有限公司 Method and apparatus for generating drawings
CN115480654A (en) * 2021-05-29 2022-12-16 华为技术有限公司 Line backspacing method of input panel and related device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007832A (en) * 2013-02-25 2014-08-27 上海触乐信息科技有限公司 Method for continuously inputting texts by sliding, system and equipment
CN104346085A (en) * 2013-07-25 2015-02-11 北京三星通信技术研究有限公司 Control object operation method and device and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5464083B2 (en) * 2010-07-07 2014-04-09 ソニー株式会社 Information processing apparatus, information processing method, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007832A (en) * 2013-02-25 2014-08-27 上海触乐信息科技有限公司 Method for continuously inputting texts by sliding, system and equipment
CN104346085A (en) * 2013-07-25 2015-02-11 北京三星通信技术研究有限公司 Control object operation method and device and terminal device

Also Published As

Publication number Publication date
CN106445087A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106445087B (en) Method and device for cancelling input operation
KR102137240B1 (en) Method for adjusting display area and an electronic device thereof
US11301126B2 (en) Icon control method and terminal
US9436348B2 (en) Method and system for controlling movement of cursor in an electronic device
US20150277748A1 (en) Edit providing method according to multi-touch-based text block setting
RU2600979C2 (en) Method for quickly processing files of smartphone and smart phone
US9798400B2 (en) Displaying device and non-transitory computer-readable recording medium storing instructions
CN107562323A (en) icon moving method, device and terminal
CN111228810B (en) Control method and device of virtual rocker, electronic equipment and storage medium
US20200086214A1 (en) Storage medium storing game program, information processing apparatus, information processing system, and game processing method
US20200104004A1 (en) Display control device, display control method, and display control system
US20150199058A1 (en) Information processing method and electronic device
US20170161011A1 (en) Play control method and electronic client
US20200086209A1 (en) Storage medium storing game program, information processing apparatus, information processing system, and game processing method
CN108646962B (en) Editing method and device for terminal desktop layout, storage medium and mobile terminal
CN112860146A (en) Text selection method and device and electronic equipment
CN109164950B (en) Method, device, medium and equipment for setting system interface of mobile terminal
CN109165626A (en) Stroke writing processing method, device, equipment and the storage medium of electronic whiteboard
CN105635832B (en) A kind of method for processing video frequency and device
CN107529095A (en) A kind of video-splicing method and device
JP6501533B2 (en) Interface program for icon selection
CN105988659A (en) Icon grouping method and apparatus
WO2015109530A1 (en) Batch operation method and batch operation device
CN106096362B (en) Control method and electronic equipment
KR101538941B1 (en) Method for moving the cursor of text editor using motion sensor, and computer-readable recording medium with moving program of the cursor of text editor using motion sensor

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
TR01 Transfer of patent right

Effective date of registration: 20200918

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200918

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: Cayman Islands Grand Cayman capital building, a four storey No. 847 mailbox

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240221

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right