Disclosure of Invention
The technical problem to be solved by the embodiment of the invention is to provide the method for processing the information of the graphic interface text box of the mobile equipment, which is simple to operate and low in misoperation rate.
Correspondingly, the embodiment of the invention also provides an information processing device and equipment of the graphic interface text box of the mobile equipment, which are used for ensuring the realization and application of the method.
In order to solve the above problem, an embodiment of the present invention discloses an information processing method for a mobile device graphical interface text box, where the method includes:
receiving a touch screen gesture in a text box of a graphical interface of a mobile device;
acquiring an operation instruction corresponding to the touch screen gesture;
and executing corresponding operation aiming at the content in the text box according to the operation instruction.
Preferably, the step of receiving a touch screen gesture in a text box of a graphical interface of a mobile device comprises:
recognizing a touch screen gesture of a user;
when the touch screen gestures of the user are all located in the graphic interface text box of the mobile device; or when the starting position of the touch screen gesture of the user is located in the text box of the graphical interface of the mobile device, extracting the touch screen gesture.
Preferably, the step of obtaining the operation instruction corresponding to the touch screen gesture includes:
extracting a touch screen track of the touch screen gesture;
searching a matched track in a preset gesture library according to the touch screen track;
and when the matched track is found, extracting a corresponding operation instruction in the gesture library.
Preferably, the step of executing the corresponding operation for the content in the text box according to the operation instruction includes:
executing moving operation aiming at the cursor in the text box according to the operation instruction;
and/or the presence of a gas in the gas,
according to the operation instruction, the operation of canceling the previous operation is executed for the content in the text box; and/or the presence of a gas in the gas,
according to the operation instruction, the operation of repeating the previous operation is executed aiming at the content in the text box;
and/or the presence of a gas in the gas,
and performing integral operation on all contents in the text box according to the operation instruction.
Preferably, the touch screen trajectory of the touch screen gesture includes a sliding from top to bottom and then from right to left, and the touch screen gesture corresponds to an operation instruction for canceling a previous operation on the text box content;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises sliding from top to bottom and then from left to right, and the touch screen gesture corresponds to an operation instruction for repeating the previous operation aiming at the text box content;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises sliding from right to left, then from left to right, then from right to left, and the touch screen gesture corresponds to an operation instruction for selecting all the contents in the text box;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises a bottom-up sliding, a top-down sliding and a bottom-up sliding, and the touch screen gesture corresponds to an operation instruction for clearing all the contents in the text box.
Preferably, the touch screen trajectory of the touch screen gesture includes a right-left sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in a text box by one character to the left;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises left-to-right sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in a text box to the right by one character.
Preferably, the step of executing the corresponding operation for the content in the text box according to the operation instruction includes:
and when the time for keeping the touch screen gesture exceeds a preset threshold value, executing corresponding operation for the content in the text box for a plurality of times according to the operation instruction within the time for keeping the touch screen gesture.
The embodiment of the invention discloses an information processing device of a graphic interface text box of mobile equipment, which comprises:
the touch screen gesture receiving module is used for receiving a touch screen gesture in a text box of a graphical interface of the mobile device;
the operation instruction acquisition module is used for acquiring an operation instruction corresponding to the touch screen gesture;
and the operation execution module is used for executing corresponding operation aiming at the content in the text box according to the operation instruction.
Preferably, the touch screen gesture receiving module includes:
the touch screen gesture recognition submodule is used for recognizing a touch screen gesture of a user;
the first extraction submodule is used for extracting the touch screen gesture of the user when the touch screen gesture is completely positioned in the mobile equipment graphical interface text box; or,
and the second extraction submodule is used for extracting the touch screen gesture when the initial position of the touch screen gesture of the user is positioned in the mobile equipment graphical interface text box.
Preferably, the operation instruction obtaining module includes:
the touch screen track extraction submodule is used for extracting a touch screen track of the touch screen gesture;
the track matching submodule is used for searching a matched track in a preset gesture library according to the touch screen track;
and the operation instruction extracting submodule is used for extracting the corresponding operation instruction in the gesture library when the matched track is found.
Preferably, the operation executing module includes:
the first operation execution submodule is used for executing moving operation aiming at the cursor in the text box according to the operation instruction;
and/or the presence of a gas in the gas,
the second operation execution submodule is used for executing the operation of canceling the previous operation on the content in the text box according to the operation instruction; and/or the presence of a gas in the gas,
a third operation execution sub-module, configured to execute an operation of repeating a previous operation for the content in the text box according to the operation instruction;
and/or the presence of a gas in the gas,
and the fourth operation execution sub-module is used for executing integral operation on all contents in the text box according to the operation instruction.
Preferably, the touch screen trajectory of the touch screen gesture includes a sliding from top to bottom and then from right to left, and the touch screen gesture corresponds to an operation instruction for canceling a previous operation on the text box content;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises sliding from top to bottom and then from left to right, and the touch screen gesture corresponds to an operation instruction for repeating the previous operation aiming at the text box content;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises sliding from right to left, then from left to right, then from right to left, and the touch screen gesture corresponds to an operation instruction for selecting all the contents in the text box;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises a bottom-up sliding, a top-down sliding and a bottom-up sliding, and the touch screen gesture corresponds to an operation instruction for clearing all the contents in the text box.
Preferably, the touch screen trajectory of the touch screen gesture includes a right-left sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in a text box by one character to the left;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises left-to-right sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in a text box to the right by one character.
Preferably, the operation executing module includes:
and the multi-operation sub-module is used for executing corresponding operations for the content in the text box according to the operation instruction within the time of keeping the touch screen gesture when the time of keeping the touch screen gesture exceeds a preset threshold value.
The embodiment of the invention discloses equipment, which comprises:
one or more processors;
a memory; and
one or more modules stored in the memory and configured to be executed by the one or more processors, wherein the one or more modules have functionality to:
receiving a touch screen gesture in a text box of a graphical interface of a mobile device;
acquiring an operation instruction corresponding to the touch screen gesture;
and executing corresponding operation aiming at the content in the text box according to the operation instruction.
Compared with the background art, the embodiment of the invention has the following advantages:
the embodiment of the invention is not limited by an input method, directly supports the operation of the information of the graphic interface text box on the mobile equipment system level, has strong flexibility, reduces the steps of executing the same operation, is convenient and quick, and improves the operation efficiency.
The embodiment of the invention can receive the operation gesture initiated within the text box range and completed beyond the text box range, and for the text box with a smaller area, as long as the touch operation is initiated within the text box, the subsequent touch gesture can be identified even outside the text box, thereby facilitating the operation of a user and reducing the probability of misoperation.
The touch screen provided by the embodiment of the invention has the advantages of simple gesture, simplicity and convenience in operation, high recognition success rate and low misoperation rate.
Detailed Description
In order to make the aforementioned objects, features and advantages of the embodiments of the present invention more comprehensible, embodiments of the present invention are described in detail below with reference to the accompanying drawings and the detailed description.
One of the core concepts of the embodiment of the invention is to directly process the content of the text box of the graphic interface of the mobile device by using a touch screen gesture.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of an information processing method for a text box of a graphical interface of a mobile device according to an embodiment of the present invention is shown, where the embodiment of the present invention may include the following steps:
step 101, receiving a touch screen gesture in a text box of a graphical interface of a mobile device;
102, acquiring an operation instruction corresponding to a touch screen gesture;
and 103, executing corresponding operation aiming at the content in the text box according to the operation instruction.
It should be noted that the mobile device may be various mobile devices such as a tablet computer, a personal digital assistant, and a mobile phone, which is not limited in this embodiment of the present invention. The graphical interface can be a man-machine interaction interface, and intuitive operation can be performed on the interface in a button clicking mode and the like.
The touch screen gesture can be a gesture simulated by screen touch and utilizing a track of the touch screen. Of course, in the embodiment of the present invention, not unordered and disordered sliding or dragging on the screen of the mobile device, but gestures with specific tracks have corresponding operation instructions. The corresponding relationship between the touch screen gesture and the operation instruction may be preset by a mobile device system or may be user-defined, which is not limited in the embodiment of the present invention.
The traditional text box information operation is mostly carried out by depending on the input method of the system, but the embodiment of the invention can directly support the operation of the information of the graphic interface text box on the system level without depending on the input method of the system, has strong flexibility, reduces the steps of executing the same operation, is convenient and quick, and improves the operation efficiency
In a preferred embodiment of the present invention, step 101 may comprise the following sub-steps:
a substep S11 of recognizing a touch screen gesture of the user;
in the substep S12, when the touch screen gestures of the user are all located in the text box of the graphical interface of the mobile device, extracting the touch screen gestures; alternatively, after performing substep S11, substep S13 is continued;
and a substep S13, extracting the touch screen gesture when the starting position of the touch screen gesture of the user is located in the text box of the graphic interface of the mobile device.
It can be understood that the embodiment of the present invention can receive an operation gesture completely falling within the text box; alternatively, an operational gesture may be received that is initiated within the text box range, but completed beyond the text box range. In this way, for a text box with a small area, such as a single-line text box, as long as the touch operation starts in the text box, the subsequent touch gesture can be recognized even outside the text box, which is convenient for the user to perform corresponding operation in the single-line text box.
Of course, the manner of receiving the touch screen gesture is only an example, and when the embodiment of the present invention is implemented, other manners of receiving the touch screen gesture may be set according to an actual situation, for example, a specific receiving area is set to receive the touch screen gesture, and the like.
In a preferred embodiment of the present invention, step 102 may comprise the following sub-steps:
a substep S21 of extracting a touch screen track of the touch screen gesture;
a substep S22 of searching a matched track in a preset gesture library according to the touch screen track;
and a substep S23, when the matched track is found, extracting a corresponding operation instruction in the gesture library.
It is understood that the touch screen trajectory of the touch screen gesture may be a trajectory with a direction. In the embodiment of the present invention, the matching of the track is not exactly the same, and there may be errors caused by various influences, such as the length of the path, the fluctuation of the included angle in the direction, and the like, and the matching parameters may be set by those skilled in the art according to actual situations, and the embodiment of the present invention is not described in detail herein.
In a preferred example of the embodiment of the present invention, the similarity may be calculated according to the pixel points covered by the touch screen trajectory and the trajectory direction of the touch screen gesture and the trajectory in the preset gesture library, and when the similarity is greater than the preset threshold, the two are successfully matched.
Of course, the matching manner is only an example, and when the embodiment of the present invention is implemented, other matching manners may be set according to actual situations, and the embodiment of the present invention is not limited thereto.
In a preferred embodiment of the present invention, step 103 may comprise the following sub-steps:
a substep S31 of executing an operation of moving a cursor in the text box according to the operation instruction;
and/or the presence of a gas in the gas,
a substep S32 of executing an operation of canceling a previous operation for the content in the text box according to the operation instruction;
and/or the presence of a gas in the gas,
a substep S33 of executing an operation of repeating the previous operation for the content in the text box according to the operation instruction;
and/or the presence of a gas in the gas,
and a substep S34 of executing the entire operation for all the contents in the text box in accordance with the operation instruction.
It is understood that the operation of performing movement for the cursor in the text box may be an operation such as moving to the left, moving to the right, or the like; however, the general cursor positioning method is to directly touch the target position to perform cursor positioning, and when the text box is small, the precision of the existing cursor positioning method is poor.
The operation of canceling the previous operation is executed for the content in the text box, and the operation can be operations such as canceling the previously-typed characters, canceling all selections, sticking and the like; in the general text box input process, for example, in the process of typing a keyword in a text box for searching in a web page, there is no cancel key to perform a cancel operation, or it is often implemented by displaying corresponding text prompts such as cancel, sticky, etc. according to the search text box.
The operation of repeating the previous operation is performed for the content in the text box, which may be an operation such as pasting; in the general text box input process, repeated operation is not performed by repeated keys, or corresponding text prompts such as stickers are displayed by pressing the search text box frequently.
Performing an overall operation on all the contents in the text box, which may be an operation such as full selection or emptying of the contents; in the general text box input process, the input method needs to be realized by positioning a cursor and displaying corresponding word prompts such as copying, pasting, deleting and the like according to the input method or the text box.
Of course, the above operation modes may be used singly or in combination of a plurality of them, and the embodiment of the present invention is not limited thereto.
In addition, the above operation modes are only examples, and when implementing the embodiment of the present invention, other operation modes may be set according to practical situations, and the embodiment of the present invention is not limited thereto.
Referring to fig. 2, a diagram illustrating a preferred example of a touch screen gesture according to an embodiment of the present invention is shown, in the embodiment of the present invention, a touch screen trajectory of the touch screen gesture includes a sliding from top to bottom and then from right to left, and the touch screen gesture corresponds to an operation instruction to cancel a previous operation on content of a text box;
referring to fig. 3, a diagram illustrating a preferred example of a touch screen gesture according to an embodiment of the present invention is shown, in the embodiment of the present invention, a touch screen trajectory of the touch screen gesture includes a sliding from top to bottom and then from left to right, and the touch screen gesture corresponds to an operation instruction for repeating a previous operation on the content of the text box;
referring to fig. 4, a diagram illustrating a preferred example of a touch screen gesture according to an embodiment of the present invention is shown, where in the embodiment of the present invention, a touch screen trajectory of the touch screen gesture includes a right-left sliding, then a left-right sliding, and then a right-left sliding, and the touch screen gesture corresponds to an operation instruction for selecting all contents in a text box;
referring to fig. 5, a diagram illustrating a preferred example of a touch screen gesture according to an embodiment of the present invention is shown, in the embodiment of the present invention, a touch screen trajectory of the touch screen gesture includes a bottom-up trajectory, followed by a top-down trajectory, followed by a bottom-up trajectory, where the touch screen gesture corresponds to an operation instruction for clearing all contents in a text box;
referring to fig. 6, a diagram illustrating a preferred example of a touch screen gesture according to an embodiment of the present invention is shown, where in the embodiment of the present invention, a touch screen trajectory of the touch screen gesture includes a right-left sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in a text box by one character to the left;
referring to fig. 7, a diagram illustrating a preferred example of a touch screen gesture according to an embodiment of the present invention is shown, where a touch screen trajectory of the touch screen gesture includes a left-to-right sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in a text box to the right by one character.
Obviously, the touch screen gesture of the embodiment of the invention can be based on horizontal and vertical directions, and less ambiguity is likely to be generated, so that the touch screen gesture recognition rate is high; in the embodiment of the invention, the most complex touch screen gesture is only continuously slid for three times, so that the operation gesture is very simple and is easy to memorize; the embodiment of the invention adopts the hierarchical touch screen gesture, the simple operation instruction such as moving a cursor corresponds to single sliding, the important operation instruction such as clearing all contents in a text box corresponds to three sliding, and the probability of misoperation is reduced. In addition, the embodiment of the present invention may also add confirmation of secondary operation to some important operation instructions, and the embodiment of the present invention does not impose a limit value on this.
Of course, the touch screen gesture may be used singly or in combination of multiple gestures, which is not limited in this embodiment of the present invention.
In addition, the touch screen gesture is only used as an example, and when the embodiment of the present invention is implemented, other touch screen gestures may be set according to an actual situation, which is not limited in this embodiment of the present invention.
In a preferred embodiment of the present invention, when the time for holding the touch screen gesture exceeds the preset threshold, a preferred form ofstep 103 may be:
and performing corresponding operation for the content in the text box according to the operation instruction within the time of keeping the touch screen gesture.
It should be noted that the hold time is relative to the touch screen gesture that has been completed.
For example, the touch screen track of the touch screen gesture is slid from right to left, when the sliding is stopped, the time for keeping the touch screen gesture is calculated, and when the time for keeping the touch screen gesture exceeds a preset threshold value, the operation of moving the cursor in the text box to the left by one character is executed for multiple times within the time for keeping the touch screen gesture backwards until the user releases the touch screen gesture.
For another example, the touch screen trajectory of the touch screen gesture is a left-to-right sliding, when the sliding is stopped, the time for holding the touch screen gesture is calculated, and when the time for holding the touch screen gesture exceeds a preset threshold, the operation of moving the cursor in the text box to the right by one character is performed for multiple times within the time for holding the touch screen gesture backward until the user releases the touch screen gesture.
Of course, the preset threshold is set by a person skilled in the art according to actual situations, and the embodiment of the present invention is not limited thereto. In addition, the touch screen gesture capable of performing multiple operations is only an example, and when the embodiment of the present invention is implemented, other touch screen gestures capable of performing multiple operations may be set according to an actual situation, which is not limited in this embodiment of the present invention.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Based on the same inventive concept, referring to fig. 8, a block diagram of an embodiment of an information processing apparatus for a mobile device gui textbox according to the present invention is shown, where the embodiment of the present invention may include the following modules:
a touch screengesture receiving module 801, configured to receive a touch screen gesture in a text box of a graphical interface of a mobile device;
an operationinstruction obtaining module 802, configured to obtain an operation instruction corresponding to a touch screen gesture;
and theoperation executing module 803 is configured to execute a corresponding operation for the content in the text box according to the operation instruction.
Referring to fig. 9, which is a block diagram illustrating a preferred example of a touch screen gesture receiving module according to an embodiment of the present invention, in an embodiment of the present invention, the touch screengesture receiving module 801 may include the following sub-modules:
a touch screen gesture recognition sub-module 8011 configured to recognize a touch screen gesture of a user;
the first extracting sub-module 8012 is configured to extract a touch screen gesture when the touch screen gesture of the user is completely located in a text box of a graphical interface of the mobile device; alternatively, after invoking sub-module 8011, sub-module 8013 is invoked;
the second extracting sub-module 8013 is configured to extract a touch screen gesture of the user when a starting position of the touch screen gesture is located in a text box of a graphical interface of the mobile device.
Referring to fig. 10, a block diagram illustrating a preferred example of an operation instruction obtaining module according to an embodiment of the present invention is shown, in which the operationinstruction obtaining module 802 may include the following sub-modules:
a touch screentrajectory extraction submodule 8021 for extracting a touch screen trajectory of the touch screen gesture;
thetrack matching submodule 8022 is used for matching tracks in a preset gesture library according to touch screen tracks;
and the operationinstruction extracting submodule 8023 is used for extracting a corresponding operation instruction in the gesture library when the matching is successful.
Referring to fig. 11, a block diagram illustrating a preferred example of an operation execution module according to an embodiment of the present invention is shown, in which theoperation execution module 803 may include the following sub-modules:
a firstoperation execution submodule 8031, configured to execute a moving operation on a cursor in the text box according to the operation instruction;
and/or the presence of a gas in the gas,
a secondoperation execution submodule 8032, configured to execute, according to the operation instruction, an operation of canceling a previous operation with respect to the content in the text box; and/or the presence of a gas in the gas,
a thirdoperation execution sub-module 8033, configured to execute, according to the operation instruction, an operation of repeating a previous operation with respect to the content in the text box;
and/or the presence of a gas in the gas,
the fourthoperation execution sub-module 8034 is configured to execute the whole operation on all the contents in the text box according to the operation instruction.
In a preferred example of the embodiment of the present invention, a touch screen trajectory of a touch screen gesture includes a sliding from top to bottom and then from right to left, where the touch screen gesture corresponds to an operation instruction to cancel a previous operation on content of a text box;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises sliding from top to bottom and then from left to right, and the touch screen gesture corresponds to an operation instruction for canceling all operations aiming at the content of the text box;
and/or the presence of a gas in the gas,
the touch screen trajectory of the touch screen gesture comprises sliding from right to left, then from left to right, then from right to left, and the touch screen gesture corresponds to an operation instruction for selecting all contents in the text box;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises a bottom-up sliding, a top-down sliding and a bottom-up sliding, and the touch screen gesture corresponds to an operation instruction for clearing all the content in the text box.
In a preferred example of the embodiment of the present invention, a touch screen trajectory of a touch screen gesture includes a right-left sliding, where the touch screen gesture corresponds to an operation instruction for moving a cursor in a text box by one character to the left;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises left-to-right sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in the text box by one character to the right.
Referring to fig. 12, a block diagram illustrating a preferred example of an operation execution module according to an embodiment of the present invention is shown, in which theoperation execution module 803 may include the following sub-modules:
themulti-operation submodule 8035 is configured to, when the time for keeping the touch screen gesture exceeds a preset threshold, execute, according to the operation instruction, a plurality of corresponding operations on the content in the text box within the time for keeping the touch screen gesture.
The embodiment of the invention is not limited by an input method, directly supports the operation of the information of the graphic interface text box on the mobile equipment system level, has strong flexibility, reduces the steps of executing the same operation, is convenient and quick, and improves the operation efficiency.
The embodiment of the invention can receive the operation gesture initiated within the text box range and completed beyond the text box range, and for the text box with a smaller area, as long as the touch operation is initiated within the text box, the subsequent touch gesture can be identified even outside the text box, thereby facilitating the operation of a user and reducing the probability of misoperation.
The touch screen provided by the embodiment of the invention has the advantages of simple gesture, simplicity and convenience in operation, high recognition success rate and low misoperation rate.
For the device embodiment, since it is basically similar to the method embodiment of adding plug-in the address book, the description is relatively simple, and the relevant points can be referred to the partial description of the method embodiment of adding plug-in the address book.
An embodiment of the present invention further provides an apparatus, where the apparatus may include:
one or more processors;
a memory; and
one or more modules stored in the memory and configured to be executed by the one or more processors, wherein the one or more modules have the functionality to:
in a mobile device graphical interface text box;
acquiring an operation instruction corresponding to a touch screen gesture;
and executing corresponding operation aiming at the content in the text box according to the operation instruction.
Preferably, the one or more modules may have the following functions:
recognizing a touch screen gesture of a user;
when the touch screen gestures of the user are all positioned in a text box of a graphical interface of the mobile device; or, when the starting position of the touch screen gesture of the user is located in a text box of a graphical interface of the mobile device, the touch screen gesture is extracted.
Preferably, the one or more modules may have the following functions:
extracting a touch screen track of a touch screen gesture;
matching tracks in a preset gesture library according to the touch screen track;
and when the matching is successful, extracting a corresponding operation instruction in the gesture library.
Preferably, the one or more modules may have the following functions:
executing the moving operation aiming at the cursor in the text box according to the operation instruction;
and/or the presence of a gas in the gas,
according to the operation instruction, the operation of canceling the previous operation is executed aiming at the content in the text box;
and/or the presence of a gas in the gas,
according to the operation instruction, the operation of repeating the previous operation is executed aiming at the content in the text box;
and/or the presence of a gas in the gas,
and performing integral operation on all contents in the text box according to the operation instruction.
Preferably, the touch screen trajectory of the touch screen gesture includes a sliding from top to bottom and then from right to left, and the touch screen gesture corresponds to an operation instruction for canceling a previous operation on the content of the text box;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises sliding from top to bottom and then from left to right, and the touch screen gesture corresponds to an operation instruction for repeating the previous operation aiming at the content of the text box;
and/or the presence of a gas in the gas,
the touch screen trajectory of the touch screen gesture comprises sliding from right to left, then from left to right, then from right to left, and the touch screen gesture corresponds to an operation instruction for selecting all contents in the text box;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises a bottom-up sliding, a top-down sliding and a bottom-up sliding, and the touch screen gesture corresponds to an operation instruction for clearing all the content in the text box.
Preferably, the touch screen trajectory of the touch screen gesture includes a right-left sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in the text box by one character to the left;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises left-to-right sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in the text box by one character to the right.
Preferably, the one or more modules may have the following functions:
and when the time for keeping the touch screen gesture exceeds a preset threshold value, executing corresponding operation for a plurality of times according to the operation instruction in the time for keeping the touch screen gesture.
The embodiment of the invention is not limited by an input method, directly supports the operation of the information of the graphic interface text box on the mobile equipment system level, has strong flexibility, reduces the steps of executing the same operation, is convenient and quick, and improves the operation efficiency.
The embodiment of the invention can receive the operation gesture initiated within the text box range and completed beyond the text box range, and for the text box with a smaller area, as long as the touch operation is initiated within the text box, the subsequent touch gesture can be identified even outside the text box, thereby facilitating the operation of a user and reducing the probability of misoperation.
The touch screen provided by the embodiment of the invention has the advantages of simple gesture, simplicity and convenience in operation, high recognition success rate and low misoperation rate.
The present embodiment also provides a non-transitory readable storage medium, in which one or more modules (programs) are stored, and when the one or more modules are applied to a device with a touch screen, the one or more modules may cause the device to perform the following steps (instructions):
in a mobile device graphical interface text box;
acquiring an operation instruction corresponding to a touch screen gesture;
and executing corresponding operation aiming at the content in the text box according to the operation instruction.
Preferably, the one or more modules may have the following functions:
recognizing a touch screen gesture of a user;
when the touch screen gestures of the user are all positioned in a text box of a graphical interface of the mobile device; or, when the starting position of the touch screen gesture of the user is located in a text box of a graphical interface of the mobile device, the touch screen gesture is extracted.
Preferably, the one or more modules may have the following functions:
extracting a touch screen track of a touch screen gesture;
matching tracks in a preset gesture library according to the touch screen track;
and when the matching is successful, extracting a corresponding operation instruction in the gesture library.
Preferably, the one or more modules may have the following functions:
executing the moving operation aiming at the cursor in the text box according to the operation instruction;
and/or the presence of a gas in the gas,
according to the operation instruction, the operation of canceling the previous operation is executed aiming at the content in the text box;
and/or the presence of a gas in the gas,
according to the operation instruction, the operation of repeating the previous operation is executed aiming at the content in the text box;
and/or the presence of a gas in the gas,
and performing integral operation on all contents in the text box according to the operation instruction.
Preferably, the touch screen trajectory of the touch screen gesture includes a sliding from top to bottom and then from right to left, and the touch screen gesture corresponds to an operation instruction for canceling a previous operation on the content of the text box;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises sliding from top to bottom and then from left to right, and the touch screen gesture corresponds to an operation instruction for repeating the previous operation aiming at the content of the text box;
and/or the presence of a gas in the gas,
the touch screen trajectory of the touch screen gesture comprises sliding from right to left, then from left to right, then from right to left, and the touch screen gesture corresponds to an operation instruction for selecting all contents in the text box;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises a bottom-up sliding, a top-down sliding and a bottom-up sliding, and the touch screen gesture corresponds to an operation instruction for clearing all the content in the text box.
Preferably, the touch screen trajectory of the touch screen gesture includes a right-left sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in the text box by one character to the left;
and/or the presence of a gas in the gas,
the touch screen track of the touch screen gesture comprises left-to-right sliding, and the touch screen gesture corresponds to an operation instruction for moving a cursor in the text box by one character to the right.
Preferably, the one or more modules may have the following functions:
and when the time for keeping the touch screen gesture exceeds a preset threshold value, executing corresponding operation for a plurality of times according to the operation instruction in the time for keeping the touch screen gesture.
For the device embodiment, since it is basically similar to the method embodiment of adding a plug-in an address book, the description is relatively simple, and relevant points can be referred to the partial description of the method embodiment of adding a plug-in an address book.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts in the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of 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, embodiments of 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.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, mobile device apparatuses (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 mobile device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing mobile device, 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 of these 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 embodiments of the invention.
Finally, it should also be 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 mobile device 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 mobile device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or mobile device that comprises the element.
The information processing method, the information processing apparatus, and the device for a mobile device graphical interface text box according to the embodiments of the present invention are described in detail above, a specific example is applied in the description to explain the principles and embodiments of the present invention, and the description of the embodiments is only used to help understand the method and the core idea of the embodiments of the present invention; meanwhile, for a person skilled in the art, according to the idea of the embodiment of the present invention, there may be a change in the specific implementation and application scope, and in summary, the content of the present specification should not be construed as a limitation to the embodiment of the present invention.