CN102243561A - Method and device for modifying input information - Google Patents
Method and device for modifying input information Download PDFInfo
- Publication number
- CN102243561A CN102243561A CN2010101768284A CN201010176828A CN102243561A CN 102243561 A CN102243561 A CN 102243561A CN 2010101768284 A CN2010101768284 A CN 2010101768284A CN 201010176828 A CN201010176828 A CN 201010176828A CN 102243561 A CN102243561 A CN 102243561A
- Authority
- CN
- China
- Prior art keywords
- character string
- cursor
- state
- corrected
- command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 230000037430 deletion Effects 0.000 claims abstract description 21
- 230000008569 process Effects 0.000 claims description 30
- 238000012937 correction Methods 0.000 claims description 21
- 230000000694 effects Effects 0.000 claims description 13
- 230000003321 amplification Effects 0.000 claims description 10
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 9
- 238000012217 deletion Methods 0.000 abstract description 5
- 230000004048 modification Effects 0.000 abstract description 5
- 238000012986 modification Methods 0.000 abstract description 5
- 238000001514 detection method Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 9
- 230000008859 change Effects 0.000 description 3
- 239000003086 colorant Substances 0.000 description 1
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a method and a device for modifying input information. The method comprises the following steps: when the input information is required to be modified, determining an object to be modified; and carrying out modification on the object to be modified. Through using the embodiment of the invention, the deletion of character strings is implemented through sliding operation without moving a click object downwards to click a virtual delete key; and meanwhile, the operation of carrying out detection on character strings by using the virtual delete key is supported, and the operation of clicking a character string key on a virtual keyboard is supported so as to add a character string into the character strings or replace the original object to be modified with the clicked character string, so that the modification function is more comprehensive. In addition, through amplifying a character string area, the probability of successful positioning is improved.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for correcting input information.
Background
On an input method interface of equipment such as a terminal, many users like to input a series of character strings at one time, and according to the input series of character strings, corresponding characters can be generated in a candidate area, and then required characters are selected in the candidate area in sequence, so that the users can input the required characters on the equipment such as the terminal. It can be seen that by adopting the use mode of inputting a series of character strings at one time, a user can feel quick and smooth input experience, and the use experience of the user is good.
In practical applications, there are no actual character string (e.g., letter) keys on a touch screen terminal (e.g., a touch screen mobile phone), and a virtual keyboard is used to input a series of character strings. Wherein, the virtual keyboard is drawn and provided by mobile phone input method software.
When the virtual keys in the virtual keyboard are clicked, because actual character string keys do not exist, the screen of the virtual keyboard does not have the feeling of key pressing, and only can prompt in a mode of changing the colors of the virtual keys or displaying bubble graphs, so that a user is reminded of what character strings the current input keys are.
As shown in fig. 1A and 1B, the current input key is prompted to be the character string S by the change of the color of the virtual key, and the current input key is prompted to be the character string S by displaying the bubble graph. Fig. 1A is a schematic diagram of a color change of an effect after the virtual key s is pressed; fig. 1B is a schematic diagram showing a bubble graphic display showing the effect of pressing the s key of the virtual key.
In practical applications, when the area of the virtual keys on the virtual keyboard is not large enough, if a series of character strings are continuously input, the virtual keys are likely to be pressed by mistake. Therefore, the user's line of sight needs to stay on the virtual keys of the virtual keyboard throughout the entire input of the series of character strings. Only when a series of character strings is input and a candidate character is selected in the candidate region, the line of sight is shifted to the candidate region and the character strings outside the candidate region.
In addition, in different mobile phone input method software, the character string may be placed above the candidate area, as shown in the schematic diagram of the position effect of a character string in fig. 2A; the character string may also be embedded in the text area, as shown in fig. 2B for another schematic illustration of the position effect of the character string.
When the character string is placed at the above position, the character string is not easily noticed by the sight of the user, so that if a click error occurs during the input of the character string, the error is often found after a series of character strings are input.
Based on the above situation, it is important how to quickly locate the wrong character string and correct the character string.
The case of correcting a character string will be described by taking a schematic diagram of comparison between correct and incorrect character strings shown in fig. 3A and 3B as an example. Fig. 3A shows a correct character string, fig. 3B shows an incorrect character string after the virtual keys M and Z are pressed in the middle, and the cursor stays at the last position of the character string after the input is finished.
In the prior art, in order to correct a character string, the mobile phone input method software generally provides the following ways to correct the character string.
1) First method of operation
a) Conditions are as follows: virtual delete keys exist on the virtual keyboard.
b) The method comprises the following steps: and continuously clicking the virtual deletion key to delete the character strings in sequence from the position of the cursor until the wrong character string is deleted, and then re-inputting the correct and deleted character string contents.
2) Second method of operation
a) Conditions are as follows: virtual left and right keys and virtual delete keys exist on the virtual keyboard.
b) The method comprises the following steps: by clicking the left and right arrows of the virtual left and right buttons, the cursor is focused to the right of the error character string, the virtual delete button is clicked to delete the error character string, and the correct character string is input.
3) Third method of operation
a) Conditions are as follows: the mobile phone system supports 'directly clicking the writing area, moving the cursor to the character string', and a virtual deleting key exists on the virtual keyboard.
b) The method comprises the following steps: and clicking the writing area to position the cursor at the right position of the error character string, clicking the virtual deleting key to delete the error character string, and inputting the correct character string.
4) Fourth method of operation
a) Conditions are as follows: virtual keys providing a one-time character string deleting function exist on the virtual keyboard.
b) The method comprises the following steps: clicking the virtual key to re-input the character string.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
for the first operation method, if the virtual delete key is continuously and repeatedly clicked in a mode of clicking, then lifting and then clicking, the experience of the user is very poor when the operation is performed, and the operation is inconvenient; if the virtual deletion key is clicked in a long-time pressing mode, the virtual deletion key is not easy to locate, easily misses the position of the wrong character string, and deletes the character string to the front correct character string.
For the second operation method, the input method software is required to support the left and right arrow virtual keys, and the left and right arrows are required on the input virtual keyboard interface, while the left and right arrow keys of the existing input method software are basically on the editing panel and cannot be switched to the input virtual keyboard interface in the input process; moreover, when the left/right arrow is continuously clicked, the positioning is not good, and the position of the wrong character string is easily missed.
For the third operation method, the input method software is required to support that the cursor is positioned to the right position of the error character string by clicking the writing area region, and even if the input method software supports, the probability of just clicking the right position of the error character string is not high because the writing area is not suitable for being made large.
For the fourth operation method, the input method software is required to support the virtual key with the function of deleting the character string once, and after the character string is deleted once, the character string needs to be input again, so that the operation is inconvenient, and the use feeling of a user is influenced.
Disclosure of Invention
The embodiment of the invention provides a method and a device for correcting input information, which are used for accurately positioning a character string when the character string has an error, correcting the character string in time and improving the use experience of a user.
In order to achieve the above object, an embodiment of the present invention provides a method for correcting input information, including:
when the input information needs to be corrected, determining an object to be corrected; and correcting the object to be corrected.
The input information includes an input character string, and the determining an object to be corrected previously includes:
in the state of the character string that has been input S1, when a command to click the character string is received, the area of the character string is enlarged and displayed, and the state goes to the enlarged state of the character string S2.
The determining the object to be corrected specifically includes:
when a command of clicking the specified position in the amplified character string area and stopping triggering is obtained, determining that the object to be corrected is a character string on one side of a cursor, and entering a state of positioning the cursor position S3; or,
when a command that the designated position in the character string area after being clicked and amplified is obtained, the designated position slides up and down under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished is obtained, determining that the object to be corrected is the character string on one side of the cursor, and entering a state S3 of positioning the position of the cursor; or,
when a command that the designated position in the character string area after the click and the amplification is clicked, the left and right sides slide under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished is obtained, it is determined that the object to be corrected is the selected character string determined in the sliding process, and a state of positioning the selected character string is entered S4.
The determining the object to be corrected then further comprises:
when a command for clicking a specified position in the amplified character string area is acquired, the step of determining the object to be corrected is quitted, and the step of entering the amplification state S2 of the character string is executed; or,
when the command of clicking the designated position outside the amplified character string area and the virtual keyboard area is obtained, the input character string state is entered in S1; or,
when a command for clicking a virtual keyboard area is acquired, executing a step of correcting the object to be corrected; or,
if in the state of locating the cursor position S3 or in the state of locating the selected character string S4, when the command of clicking the specified position outside the character string area after the enlargement and outside the virtual keyboard area is acquired, the character string correction process is exited, the effect of enlargement display is cancelled, and the state of the input character string S1 is entered.
Correcting the object to be corrected, specifically comprising:
when it is determined that the object to be corrected is a character string on one side of the cursor, and when a command of clicking a virtual key of the virtual keyboard is acquired, adding the character string on the other side of the object to be corrected, automatically positioning the cursor on the other side of the added character string, and entering a state of positioning the cursor position S3; or,
when a command of clicking a virtual deletion key of the virtual keyboard or sliding up and down is acquired, a character string on one side of the cursor is directly deleted, the cursor is automatically positioned at the position of the deleted character string, and the state of positioning the cursor position is entered S3; or,
when the object to be corrected is determined to be the selected character string determined in the sliding process, and when a command of clicking a character string key of the virtual keyboard is obtained, the clicked character string is used for replacing the selected character string, the cursor is automatically positioned on the other side of the added character string, and the state S3 of positioning the cursor position is entered; or,
when a command for clicking a virtual delete key of the virtual keyboard or sliding up and down is acquired, the selected character string is deleted, the cursor is automatically positioned at the original position of the deleted character string, and the state of positioning the cursor position is entered S3.
An apparatus for correcting input information, comprising:
the determining module is used for determining an object to be corrected when the input information needs to be corrected;
and the correction module is used for correcting the object to be corrected determined by the determination module.
The entered information includes an entered character string, the apparatus further comprising:
and the processing module is used for displaying the area of the character string in an enlarged mode when a command of clicking the character string is received in the state S1 of the input character string, and entering the enlarged state S2 of the character string.
The determining means is particularly adapted to determine,
when a command of clicking the specified position in the amplified character string area and stopping triggering is obtained, determining that the object to be corrected is a character string on one side of a cursor, and entering a state of positioning the cursor position S3; or,
when a command that the designated position in the character string area after being clicked and amplified is obtained, the designated position slides up and down under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished is obtained, determining that the object to be corrected is the character string on one side of the cursor, and entering a state S3 of positioning the position of the cursor; or,
when a command that the designated position in the character string area after the click and the amplification is clicked, the left and right sides slide under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished is obtained, it is determined that the object to be corrected is the selected character string determined in the sliding process, and a state of positioning the selected character string is entered S4.
The processing module is further configured to,
when a command for clicking a specified position in the amplified character string area is acquired, the step of determining the object to be corrected is quitted, and the step of entering the amplification state S2 of the character string is executed; or,
when the command of clicking the designated position outside the amplified character string area and the virtual keyboard area is obtained, the input character string state is entered in S1; or,
when a command for clicking a virtual keyboard area is acquired, executing a step of correcting the object to be corrected; or,
if in the state of locating the cursor position S3 or in the state of locating the selected character string S4, when the command of clicking the specified position outside the character string area after the enlargement and outside the virtual keyboard area is acquired, the character string correction process is exited, the effect of enlargement display is cancelled, and the state of the input character string S1 is entered.
The correction module is specifically configured to,
when it is determined that the object to be corrected is a character string on one side of the cursor, and when a command of clicking a virtual key of the virtual keyboard is acquired, adding the character string on the other side of the object to be corrected, automatically positioning the cursor on the other side of the added character string, and entering a state of positioning the cursor position S3; or,
when a command of clicking a virtual deletion key of the virtual keyboard or sliding up and down is acquired, a character string on one side of the cursor is directly deleted, the cursor is automatically positioned at the position of the deleted character string, and the state of positioning the cursor position is entered S3; or,
when the object to be corrected is determined to be the selected character string determined in the sliding process, and when a command of clicking a character string key of the virtual keyboard is obtained, the clicked character string is used for replacing the selected character string, the cursor is automatically positioned on the other side of the added character string, and the state S3 of positioning the cursor position is entered; or,
when a command for clicking a virtual delete key of the virtual keyboard or sliding up and down is acquired, the selected character string is deleted, the cursor is automatically positioned at the original position of the deleted character string, and the state of positioning the cursor position is entered S3.
Compared with the prior art, the invention has the following advantages:
the character string is deleted by adopting sliding operation, and a virtual deletion key is not required to be clicked by moving a click downwards; and simultaneously, the virtual deletion key is used for deletion, the character string key of the virtual keyboard is clicked, the character string is added into the character string, or the clicked character string replaces the original object to be corrected, so that the correction function is more comprehensive. In addition, the probability of successful positioning is improved by enlarging the character string area.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings used in the description of the present invention or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
FIGS. 1A and 1B are schematic diagrams illustrating a situation in which a user is alerted to a current input key by a change in key color or a bubble graphic display in the prior art;
FIGS. 2A and 2B are schematic diagrams illustrating the effect of the position of a character string in the prior art;
FIGS. 3A and 3B are schematic diagrams illustrating the comparison between correct and incorrect character strings in the prior art;
fig. 4 is a flowchart of a method for correcting input information according to a first embodiment of the present invention;
fig. 5 is a flowchart of another input information correction method according to a second embodiment of the present invention;
FIG. 6 is a schematic view of up-down sliding and left-right sliding in an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an apparatus for correcting input information according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another input information correction apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Aiming at the problem that the character string cannot be corrected quickly in the prior art, the embodiment of the invention provides a correction method of input information, so that a user can quickly locate the character string to be corrected and finish correction quickly.
The embodiment of the invention provides a method for correcting input information, which specifically comprises the following steps as shown in fig. 4:
In the embodiment of the present invention, the determining the object to be corrected further includes: in the state of the character string that has been input S1, when a command to click the character string is received, the area of the character string is enlarged and displayed, and the state goes to the enlarged state of the character string S2.
In the embodiment of the present invention, the determining an object to be corrected specifically includes: when a command of clicking the specified position in the amplified character string area and stopping triggering is obtained, determining that the object to be corrected is a character string on one side of a cursor, and entering a state of positioning the cursor position S3; or when acquiring a command that the specified position in the character string area after being clicked and amplified is clicked, the specified position slides up and down under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished, determining that the object to be corrected is the character string on one side of the cursor, and entering a state S3 of positioning the cursor position; or when a command that the designated position in the character string area after the click and the enlargement is clicked, the left and right slide is performed under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished is obtained, determining that the object to be corrected is the selected character string determined in the sliding process, and entering a state S4 of positioning the selected character string.
The determining the object to be corrected then further comprises: when a command for clicking a specified position in the amplified character string area is acquired, the step of determining the object to be corrected is quitted, and the step of entering the amplification state S2 of the character string is executed; or when the command of clicking the designated position outside the amplified character string area and the virtual keyboard area is acquired, the input character string state is entered in S1; or when a command for clicking a virtual keyboard area is acquired, executing a step of correcting the object to be corrected; alternatively, if in the state of positioning the cursor position S3 or in the state of positioning the selected character string S4, when a command to click a specified position outside the enlarged character string region and outside the virtual keyboard region is acquired, the character string correction process is exited and the effect of enlarged display is canceled, and the state S1 of the character string that has been input is entered.
Correcting the object to be corrected, specifically comprising: when it is determined that the object to be corrected is a character string on one side of the cursor, and when a command of clicking a virtual key of the virtual keyboard is acquired, adding the character string on the other side of the object to be corrected, automatically positioning the cursor on the other side of the added character string, and entering a state of positioning the cursor position S3; or, when a virtual delete key of the virtual keyboard is clicked or a command of sliding up and down is acquired, the character string on the side of the cursor is directly deleted, the cursor is automatically positioned at the position of the deleted character string, and the state of positioning the cursor position is entered S3; or, when it is determined that the object to be corrected is the selected character string determined in the sliding process, and when a command of clicking a character string key of the virtual keyboard is obtained, replacing the selected character string with the clicked character string, automatically positioning the cursor at the other side of the added character string, and entering a state of positioning the cursor position S3; alternatively, when a command for clicking a virtual delete key of the virtual keyboard or sliding up and down is acquired, the selected character string is deleted, the cursor is automatically positioned at the original position of the deleted character string, and the state S3 in which the cursor position is positioned is entered.
It should be noted that, in the embodiment of the present invention, the character string may be displayed horizontally, and the character string may also be displayed vertically, and of course, in practical applications, the character string may also be displayed in other manners, which is not described in detail in the embodiment of the present invention.
When the character string is displayed horizontally, the above-mentioned side is the left side (for example, the cursor side is the cursor left side), and the other side is the right side (for example, the cursor other side is the cursor right side). When the character string is displayed vertically, the above-mentioned side is the upper side (for example, the cursor side is the cursor upper side), and the other side is the lower side (for example, the cursor other side is the cursor lower side).
Therefore, in the method provided by the embodiment of the invention, the character string is deleted by adopting sliding operation, and the virtual deletion key is clicked without moving the clicker downwards; and simultaneously, the virtual deletion key is used for deletion, the character string key of the virtual keyboard is clicked, the character string is added into the character string, or the clicked character string replaces the original object to be corrected, so that the correction function is more comprehensive. In addition, the probability of successful positioning is improved by enlarging the character string area.
In order to more clearly explain the technical solution provided by the present invention, the following further describes the method for correcting the input information. The second embodiment of the present invention provides a method for correcting input information, where the input information includes, but is not limited to, an input character string, where the character string is a finite sequence of at least one character, the input character string may be a numeric character string, such as 1, 2, 3, 4, etc., the input character string may also be an alphabetic character string, such as z, i, f, u, c, h, etc., and the input character string may also be a punctuation character string, such as a comma, a period, etc. Currently, in practical applications, the input character string may also be other information, and the input information may also be other information, which is not described in detail in this embodiment of the present invention.
Based on the input character string, as shown in fig. 5, the method for correcting the input information further includes the steps of:
in step 501, the state of the input character string is acquired S1. The state S1 of the character string being input is the character string not enlarged, and is the state of the character string input at the beginning.
Specifically, when a command for the user to input a character string by using the virtual keyboard is received, the state S1 in which the character string has been input can be acquired.
In step 502, when a command to click the character string is received in state S1 of the inputted character string, the area of the character string is displayed in an enlarged manner, and the state proceeds to enlarged state S2 of the character string. Wherein, the enlarged state S2 of the character string is: a state entered when the enlarged display of the inputted character string in the state S1 is required.
Specifically, in the state S1 where the character string has been input, if the character string is clicked by using a pointing object (for example, a finger, a touch pen, and the like, in the following description, the clicking is by default clicked using the pointing object), it indicates that a command for clicking the character string is received, and at this time, it is necessary to display an area of the character string in an enlarged manner, and the state S2 where the character string is enlarged is entered. For example, the width of each character string font in the character string region that can be amplified is m, and the range of m may be selected according to actual needs, for example, m is selected to be 2 times, 3 times, and the like of the width of the current character string, and details are not repeated in the embodiment of the present invention.
It should be noted that, in the embodiment of the present invention, if a command to click on an area outside the enlarged character string is received, the character string correction process is exited by default, and the effect of the enlarged display is canceled, returning to the state of the character string having been input S1.
Specifically, on the premise of acquiring a command for clicking a specified position in the enlarged character string region (the specified position may be arbitrarily selected according to actual needs, for example, may be an arbitrary position in the enlarged character string region), when determining the object to be corrected in this step, the object to be corrected may be determined in the following three cases.
In the first case, when a command that the user clicks the designated position in the enlarged string region and stops triggering is acquired, it is determined that the object to be corrected is a string on the left side of the cursor, and the state S3 in which the cursor position is positioned is entered. The state S3 of positioning the cursor position is: a state entered when it is determined that the object to be corrected is a character string to the left of the cursor.
In the second case, when the command that the designated position in the character string region after the click and the enlargement is acquired, the character string region is slid up and down without interruption, and the triggering is stopped after the sliding is finished is acquired, it is determined that the object to be corrected is the character string on the left side of the cursor, and the state S3 in which the cursor position is positioned is entered.
In the third case, when the command that the designated position in the character string region after the click and the enlargement is clicked, the left and right slide is performed without interruption, and the triggering is stopped after the sliding is finished is obtained, it is determined that the object to be corrected is the selected character string determined in the sliding process, and the state S4 in which the selected character string is positioned is entered. Wherein the state S4 for locating the selected character string is: a state entered when it is determined that the object to be corrected is the selected character string determined during the sliding.
As shown in fig. 6, the vertical sliding means in the above process: in the vertically upward and downward directions, a range of directions inclined leftward or rightward by a preset first angle (the preset first angle may be arbitrarily selected, for example, 30 °, 45 °, 60 °, and the like) is allowed, and a straight direction inclined leftward and rightward by the preset first angle is included.
The left-right sliding means: in the horizontal leftward and rightward directions, a direction range of a preset second angle (which may be arbitrarily selected, may be the same as the preset first angle, or may be different from the preset first angle, for example, 30 °, 45 °, 60 °, or the like) is allowed to be inclined upward or downward, but a straight direction in which the preset second angle is inclined upward or downward is not included.
Preferably, the preset first angle and the preset second angle are both 45 °, the up-and-down sliding means: a direction range allowing a 45 ° inclination to the left or right in the vertically upward and downward directions, and including straight directions of 45 ° to the left and right; the left-right sliding means: in the horizontal leftward and rightward directions, a directional range of 45 ° upward or downward inclination is allowed, but a straight direction of 45 ° upward and downward is not included.
In the embodiment of the present invention, after the operations in the first case, the second case, and the third case are finished, the following operations need to be further performed:
if the command for clicking the amplified character string area is obtained (that is, the contact point of the obtained click command is in the amplified character string area), directly exiting the operation in the step 503; namely, when a command for clicking the specified position in the amplified character string area is acquired, the step of determining the object to be corrected is quitted, and the step of entering the amplified character string state S2 is executed;
if a command for clicking the region outside the amplified character string region and the virtual keyboard region is obtained (i.e. the contact point of the obtained click command is in the region outside the amplified character string region and the virtual keyboard region), directly exiting the operation in step 501; namely, when the command of clicking the designated position outside the amplified character string area and the virtual keyboard area is obtained, the step of entering the amplified character string state S2 is quitted, and the input character string state S1 is entered;
if a command for clicking the virtual keyboard area is acquired (namely the contact point of the acquired click command is in the virtual keyboard area), directly entering the subsequent step; namely, when the command of clicking the virtual keyboard area is acquired, the step of correcting the object to be corrected is directly executed.
It should be noted that, in the embodiment of the present invention, if a command for clicking a designated position outside the enlarged character string region and outside the virtual keyboard region is acquired in the state of locating the cursor position S3 or in the state of locating the selected character string S4, the character string correction process is exited, the effect of the enlarged display is canceled, and the state of entering the character string already input S1 is entered.
If the step is entered in the first and second cases, the following two processes are divided according to the operation at the time of entry:
(1) when the command of clicking the virtual key of the virtual keyboard is acquired, a character string is added to one side of the object to be corrected (for example, when the character string is displayed horizontally, the character string is added to the right side of the object to be corrected, when the character string is displayed vertically, the character string is added to the lower side of the object to be corrected), and the cursor is automatically positioned to one side of the added character string (for example, when the character string is displayed horizontally, the cursor is automatically positioned to the right side of the added character string, when the character string is displayed vertically, the cursor is automatically positioned to the lower side of the added character string), and a state of positioning the cursor position is entered S3.
It should be noted that, in the embodiment of the present invention, the above-mentioned processes are all processing processes for the character string horizontal display, and for the processing process for the character string vertical display, similar to the processing process for the character string horizontal display, only the left side (left side) of the character string horizontal display corresponds to the upper side of the character string vertical display, and the right side of the character string vertical display corresponds to the lower side of the character string vertical display.
(2) When a command of clicking a virtual delete key of the virtual keyboard or sliding up and down is acquired, the character string on the left side of the cursor is directly deleted, the cursor is automatically positioned at the position of the deleted character string, and the state of positioning the cursor position is entered S3.
If the step is entered in the third situation, the following two processes are divided according to the operation at the time of entering:
(1) when the command that the character string key of the virtual keyboard is clicked is acquired, the clicked character string is directly substituted for the selected character string, the cursor is automatically positioned on the right side of the added character string, and the state of positioning the cursor position is entered S3.
(2) When a command of clicking a virtual deletion key of the virtual keyboard or sliding up and down is acquired, the selected character string is directly deleted, the cursor is automatically positioned at the original position of the deleted character string, and the state of positioning the cursor position is entered S3.
The above steps may also be adjusted according to actual needs, and are not described herein again.
Therefore, by using the method provided by the embodiment of the invention, the character string is deleted by adopting sliding operation, and the virtual deletion key is clicked without moving the clicker downwards; and simultaneously, the virtual deletion key is used for deletion, the character string key of the virtual keyboard is clicked, the character string is added into the character string, or the clicked character string replaces the original object to be corrected, so that the correction function is more comprehensive. In addition, the probability of successful positioning is improved by enlarging the character string area.
Based on the same inventive concept as the method described above, an embodiment of the present invention further provides an apparatus for correcting input information, as shown in fig. 7, including:
and the determining module 10 is used for determining an object to be corrected when the input information needs to be corrected.
A modification module 20, configured to modify the object to be modified determined by the determination module 10.
Based on the same inventive concept as the above method, an embodiment of the present invention further provides a device for correcting a character string, as shown in fig. 8, including:
and the determining module 30 is used for determining an object to be corrected when the input information needs to be corrected.
A correcting module 40, configured to correct the object to be corrected determined by the determining module 30.
In this embodiment of the present invention, the input information includes an input character string, and the apparatus further includes:
and the processing module 50 is used for displaying the area of the character string in an enlarged mode when a command of clicking the character string is received in the state S1 of the input character string, and entering the enlarged state S2 of the character string.
In this embodiment of the present invention, the determining module 30 is specifically configured to, when a command that a specified position in a clicked and amplified character string region is obtained and the triggering is stopped, determine that the object to be corrected is a character string on one side of a cursor, and enter a state S3 of positioning a cursor position; or when acquiring a command that the specified position in the character string area after being clicked and amplified is clicked, the specified position slides up and down under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished, determining that the object to be corrected is the character string on one side of the cursor, and entering a state S3 of positioning the cursor position; or when a command that the designated position in the character string area after the click and the enlargement is clicked, the left and right slide is performed under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished is obtained, determining that the object to be corrected is the selected character string determined in the sliding process, and entering a state S4 of positioning the selected character string.
In this embodiment of the present invention, the processing module 50 is further configured to, when a command for clicking a specified position in the amplified character string region is obtained, exit from the step of determining the object to be corrected, and execute a step of entering an amplification state S2 of the character string; or when the command of clicking the designated position outside the amplified character string area and the virtual keyboard area is acquired, the input character string state is entered in S1; or when a command for clicking a virtual keyboard area is acquired, executing a step of correcting the object to be corrected; alternatively, if in the state of positioning the cursor position S3 or in the state of positioning the selected character string S4, when a command to click a specified position outside the enlarged character string region and outside the virtual keyboard region is acquired, the character string correction process is exited and the effect of enlarged display is canceled, and the state S1 of the character string that has been input is entered.
In this embodiment of the present invention, the correcting module 40 is specifically configured to, when it is determined that the object to be corrected is a character string on one side of a cursor, and when a command of clicking a virtual key of a virtual keyboard is obtained, add the character string on the other side of the object to be corrected, automatically position the cursor on the other side of the added character string, and enter a state S3 of positioning a cursor position; or, when a virtual delete key of the virtual keyboard is clicked or a command of sliding up and down is acquired, the character string on the side of the cursor is directly deleted, the cursor is automatically positioned at the position of the deleted character string, and the state of positioning the cursor position is entered S3; or, when it is determined that the object to be corrected is the selected character string determined in the sliding process, and when a command of clicking a character string key of the virtual keyboard is obtained, replacing the selected character string with the clicked character string, automatically positioning the cursor at the other side of the added character string, and entering a state of positioning the cursor position S3; alternatively, when a command for clicking a virtual delete key of the virtual keyboard or sliding up and down is acquired, the selected character string is deleted, the cursor is automatically positioned at the original position of the deleted character string, and the state S3 in which the cursor position is positioned is entered.
Therefore, by using the device provided by the embodiment of the invention, the character string is deleted by adopting sliding operation, and the virtual deletion key is clicked without moving a clicker downwards; and simultaneously, the virtual deletion key is used for deletion, the character string key of the virtual keyboard is clicked, the character string is added into the character string, or the clicked character string replaces the original object to be corrected, so that the correction function is more comprehensive. In addition, the probability of successful positioning is improved by enlarging the character string area.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for enabling a terminal device (which may be a mobile phone, a personal computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements should also be considered within the scope of the present invention.
Those skilled in the art will appreciate that the modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, and may be correspondingly changed in one or more devices different from the embodiments. The modules of the above embodiments may be integrated into one body, or may be separately deployed; the sub-modules can be combined into one module, or can be further split into a plurality of sub-modules.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above disclosure is only for a few specific embodiments of the present invention, but the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.
Claims (10)
1. A method for correcting input information, comprising:
when the input information needs to be corrected, determining an object to be corrected; and correcting the object to be corrected.
2. The method of claim 1, wherein the entered information comprises an entered string, and wherein the determining an object to be corrected further comprises:
in the state of the character string that has been input S1, when a command to click the character string is received, the area of the character string is enlarged and displayed, and the state goes to the enlarged state of the character string S2.
3. The method according to claim 2, wherein the determining of the object to be corrected specifically comprises:
when a command of clicking the specified position in the amplified character string area and stopping triggering is obtained, determining that the object to be corrected is a character string on one side of a cursor, and entering a state of positioning the cursor position S3; or,
when a command that the designated position in the character string area after being clicked and amplified is obtained, the designated position slides up and down under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished is obtained, determining that the object to be corrected is the character string on one side of the cursor, and entering a state S3 of positioning the position of the cursor; or,
when a command that the designated position in the character string area after the click and the amplification is clicked, the left and right sides slide under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished is obtained, it is determined that the object to be corrected is the selected character string determined in the sliding process, and a state of positioning the selected character string is entered S4.
4. The method of claim 3, wherein the determining an object to be corrected further comprises:
when a command for clicking a specified position in the amplified character string area is acquired, the step of determining the object to be corrected is quitted, and the step of entering the amplification state S2 of the character string is executed; or,
when the command of clicking the designated position outside the amplified character string area and the virtual keyboard area is obtained, the input character string state is entered in S1; or,
when a command for clicking a virtual keyboard area is acquired, executing a step of correcting the object to be corrected; or,
if in the state of locating the cursor position S3 or in the state of locating the selected character string S4, when the command of clicking the specified position outside the character string area after the enlargement and outside the virtual keyboard area is acquired, the character string correction process is exited, the effect of enlargement display is cancelled, and the state of the input character string S1 is entered.
5. The method according to claim 3, wherein modifying the object to be modified specifically comprises:
when it is determined that the object to be corrected is a character string on one side of the cursor, and when a command of clicking a virtual key of the virtual keyboard is acquired, adding the character string on the other side of the object to be corrected, automatically positioning the cursor on the other side of the added character string, and entering a state of positioning the cursor position S3; or,
when a command of clicking a virtual deletion key of the virtual keyboard or sliding up and down is acquired, a character string on one side of the cursor is directly deleted, the cursor is automatically positioned at the position of the deleted character string, and the state of positioning the cursor position is entered S3; or,
when the object to be corrected is determined to be the selected character string determined in the sliding process, and when a command of clicking a character string key of the virtual keyboard is obtained, the clicked character string is used for replacing the selected character string, the cursor is automatically positioned on the other side of the added character string, and the state S3 of positioning the cursor position is entered; or,
when a command for clicking a virtual delete key of the virtual keyboard or sliding up and down is acquired, the selected character string is deleted, the cursor is automatically positioned at the original position of the deleted character string, and the state of positioning the cursor position is entered S3.
6. An apparatus for correcting input information, comprising:
the determining module is used for determining an object to be corrected when the input information needs to be corrected;
and the correction module is used for correcting the object to be corrected determined by the determination module.
7. The apparatus of claim 6, wherein the entered information comprises an entered string, the apparatus further comprising:
and the processing module is used for displaying the area of the character string in an enlarged mode when a command of clicking the character string is received in the state S1 of the input character string, and entering the enlarged state S2 of the character string.
8. The apparatus of claim 7,
the determining means is particularly adapted to determine,
when a command of clicking the specified position in the amplified character string area and stopping triggering is obtained, determining that the object to be corrected is a character string on one side of a cursor, and entering a state of positioning the cursor position S3; or,
when a command that the designated position in the character string area after being clicked and amplified is obtained, the designated position slides up and down under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished is obtained, determining that the object to be corrected is the character string on one side of the cursor, and entering a state S3 of positioning the position of the cursor; or,
when a command that the designated position in the character string area after the click and the amplification is clicked, the left and right sides slide under the condition of uninterrupted triggering, and the triggering is stopped after the sliding is finished is obtained, it is determined that the object to be corrected is the selected character string determined in the sliding process, and a state of positioning the selected character string is entered S4.
9. The apparatus of claim 8,
the processing module is further configured to,
when a command for clicking a specified position in the amplified character string area is acquired, the step of determining the object to be corrected is quitted, and the step of entering the amplification state S2 of the character string is executed; or,
when the command of clicking the designated position outside the amplified character string area and the virtual keyboard area is obtained, the input character string state is entered in S1; or,
when a command for clicking a virtual keyboard area is acquired, executing a step of correcting the object to be corrected; or,
if in the state of locating the cursor position S3 or in the state of locating the selected character string S4, when the command of clicking the specified position outside the character string area after the enlargement and outside the virtual keyboard area is acquired, the character string correction process is exited, the effect of enlargement display is cancelled, and the state of the input character string S1 is entered.
10. The apparatus of claim 9,
the correction module is specifically configured to,
when it is determined that the object to be corrected is a character string on one side of the cursor, and when a command of clicking a virtual key of the virtual keyboard is acquired, adding the character string on the other side of the object to be corrected, automatically positioning the cursor on the other side of the added character string, and entering a state of positioning the cursor position S3; or,
when a command of clicking a virtual deletion key of the virtual keyboard or sliding up and down is acquired, a character string on one side of the cursor is directly deleted, the cursor is automatically positioned at the position of the deleted character string, and the state of positioning the cursor position is entered S3; or,
when the object to be corrected is determined to be the selected character string determined in the sliding process, and when a command of clicking a character string key of the virtual keyboard is obtained, the clicked character string is used for replacing the selected character string, the cursor is automatically positioned on the other side of the added character string, and the state S3 of positioning the cursor position is entered; or,
when a command for clicking a virtual delete key of the virtual keyboard or sliding up and down is acquired, the selected character string is deleted, the cursor is automatically positioned at the original position of the deleted character string, and the state of positioning the cursor position is entered S3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010176828.4A CN102243561B (en) | 2010-05-10 | 2010-05-10 | The modification method of input information and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010176828.4A CN102243561B (en) | 2010-05-10 | 2010-05-10 | The modification method of input information and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102243561A true CN102243561A (en) | 2011-11-16 |
CN102243561B CN102243561B (en) | 2016-10-19 |
Family
ID=44961639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010176828.4A Active CN102243561B (en) | 2010-05-10 | 2010-05-10 | The modification method of input information and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102243561B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103543947A (en) * | 2013-10-28 | 2014-01-29 | 北京三星通信技术研究有限公司 | Method and system for amending input contents on electronic device with touch screen |
WO2014079263A1 (en) * | 2012-11-26 | 2014-05-30 | 中兴通讯股份有限公司 | Method and terminal for text processing |
CN104469013A (en) * | 2014-12-12 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Mobile terminal and dial-up editing method thereof |
WO2015062511A1 (en) * | 2013-10-31 | 2015-05-07 | 乐视致新电子科技(天津)有限公司 | Smart television cursor control method and device therefor |
CN105242865A (en) * | 2014-07-10 | 2016-01-13 | 北京三星通信技术研究有限公司 | Input processing method, input processing apparatus and mobile terminal comprising apparatus |
CN105573650A (en) * | 2015-12-15 | 2016-05-11 | 魅族科技(中国)有限公司 | Data elimination method and terminal |
CN105759981A (en) * | 2014-12-17 | 2016-07-13 | 北京搜狗科技发展有限公司 | Method and device for inputting words in mobile device and touch screen input method system |
CN105843414A (en) * | 2015-01-13 | 2016-08-10 | 北京搜狗科技发展有限公司 | Input correction method for input method and input method device |
CN106126069A (en) * | 2016-06-30 | 2016-11-16 | 珠海市魅族科技有限公司 | A kind of event-handling method and device |
CN106446635A (en) * | 2016-09-29 | 2017-02-22 | 中国联合网络通信集团有限公司 | Method and device for modifying input password |
CN106843692A (en) * | 2012-08-30 | 2017-06-13 | 中兴通讯股份有限公司 | Characters by touch screen display methods and device |
CN107526449A (en) * | 2016-06-20 | 2017-12-29 | 国基电子(上海)有限公司 | Character input method |
CN110069143A (en) * | 2018-01-22 | 2019-07-30 | 北京搜狗科技发展有限公司 | A kind of information is anti-error to entangle method, apparatus and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132428A (en) * | 2006-08-23 | 2008-02-27 | 联想移动通信科技有限公司 | Implementing method for virtual simulation keyboard of mobile communication terminal |
US20080168075A1 (en) * | 2007-01-10 | 2008-07-10 | Kamiyabu Mitsuru | Portable information terminal capable of entering thereinto plurality of character types, record medium recording control program, and method for character entry processing |
CN101246470A (en) * | 2008-02-20 | 2008-08-20 | 北大方正集团有限公司 | A method and device for setting text attributes |
CN101393506A (en) * | 2007-09-13 | 2009-03-25 | 苹果公司 | Input methods for device having multi-language environment |
US20090228792A1 (en) * | 2008-03-04 | 2009-09-10 | Van Os Marcel | Methods and Graphical User Interfaces for Editing on a Portable Multifunction Device |
CN101563667A (en) * | 2006-10-26 | 2009-10-21 | 苹果公司 | Portable multifunction device, method, and graphical user interface for adjusting an insertion point marker |
-
2010
- 2010-05-10 CN CN201010176828.4A patent/CN102243561B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132428A (en) * | 2006-08-23 | 2008-02-27 | 联想移动通信科技有限公司 | Implementing method for virtual simulation keyboard of mobile communication terminal |
CN101563667A (en) * | 2006-10-26 | 2009-10-21 | 苹果公司 | Portable multifunction device, method, and graphical user interface for adjusting an insertion point marker |
US20080168075A1 (en) * | 2007-01-10 | 2008-07-10 | Kamiyabu Mitsuru | Portable information terminal capable of entering thereinto plurality of character types, record medium recording control program, and method for character entry processing |
CN101393506A (en) * | 2007-09-13 | 2009-03-25 | 苹果公司 | Input methods for device having multi-language environment |
CN101246470A (en) * | 2008-02-20 | 2008-08-20 | 北大方正集团有限公司 | A method and device for setting text attributes |
US20090228792A1 (en) * | 2008-03-04 | 2009-09-10 | Van Os Marcel | Methods and Graphical User Interfaces for Editing on a Portable Multifunction Device |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843692B (en) * | 2012-08-30 | 2021-05-18 | 中兴通讯股份有限公司 | Touch screen character display method and device |
CN106843692A (en) * | 2012-08-30 | 2017-06-13 | 中兴通讯股份有限公司 | Characters by touch screen display methods and device |
WO2014079263A1 (en) * | 2012-11-26 | 2014-05-30 | 中兴通讯股份有限公司 | Method and terminal for text processing |
CN103543947A (en) * | 2013-10-28 | 2014-01-29 | 北京三星通信技术研究有限公司 | Method and system for amending input contents on electronic device with touch screen |
CN103543947B (en) * | 2013-10-28 | 2017-06-20 | 北京三星通信技术研究有限公司 | The method and system of input content are corrected on the electronic equipment with touch-screen |
WO2015062511A1 (en) * | 2013-10-31 | 2015-05-07 | 乐视致新电子科技(天津)有限公司 | Smart television cursor control method and device therefor |
CN105242865A (en) * | 2014-07-10 | 2016-01-13 | 北京三星通信技术研究有限公司 | Input processing method, input processing apparatus and mobile terminal comprising apparatus |
CN104469013B (en) * | 2014-12-12 | 2018-02-13 | 上海斐讯数据通信技术有限公司 | A kind of mobile terminal and its dialing edit methods |
CN104469013A (en) * | 2014-12-12 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Mobile terminal and dial-up editing method thereof |
CN105759981A (en) * | 2014-12-17 | 2016-07-13 | 北京搜狗科技发展有限公司 | Method and device for inputting words in mobile device and touch screen input method system |
CN105843414A (en) * | 2015-01-13 | 2016-08-10 | 北京搜狗科技发展有限公司 | Input correction method for input method and input method device |
CN105843414B (en) * | 2015-01-13 | 2022-03-08 | 北京搜狗科技发展有限公司 | Input method input correction method and input method device |
CN105573650A (en) * | 2015-12-15 | 2016-05-11 | 魅族科技(中国)有限公司 | Data elimination method and terminal |
CN107526449A (en) * | 2016-06-20 | 2017-12-29 | 国基电子(上海)有限公司 | Character input method |
CN107526449B (en) * | 2016-06-20 | 2020-11-10 | 国基电子(上海)有限公司 | Character input method |
CN106126069A (en) * | 2016-06-30 | 2016-11-16 | 珠海市魅族科技有限公司 | A kind of event-handling method and device |
CN106446635B (en) * | 2016-09-29 | 2019-07-02 | 中国联合网络通信集团有限公司 | Modification has inputted the method and device of password |
CN106446635A (en) * | 2016-09-29 | 2017-02-22 | 中国联合网络通信集团有限公司 | Method and device for modifying input password |
CN110069143A (en) * | 2018-01-22 | 2019-07-30 | 北京搜狗科技发展有限公司 | A kind of information is anti-error to entangle method, apparatus and electronic equipment |
CN110069143B (en) * | 2018-01-22 | 2024-06-07 | 北京搜狗科技发展有限公司 | Information error correction preventing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102243561B (en) | 2016-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102243561B (en) | The modification method of input information and device | |
US9256366B2 (en) | Systems and methods for touch-based two-stage text input | |
KR100823083B1 (en) | Document correction method and apparatus for a document display device having a touch screen | |
KR102091235B1 (en) | Apparatus and method for editing a message in a portable terminal | |
Mascetti et al. | TypeInBraille: a braille-based typing application for touchscreen devices | |
CN105302784B (en) | Method and system for copying/cutting and pasting data | |
KR101633842B1 (en) | Multiple graphical keyboards for continuous gesture input | |
EP3557393A1 (en) | Interface operation method and terminal | |
KR20150049700A (en) | Method and apparautus for controlling input in portable device | |
US20140365929A1 (en) | Handhold electronic device and method for list item editing based on a touch screen | |
JP2020516994A (en) | Text editing method, device and electronic device | |
US20110227844A1 (en) | Method and apparatus for inputting character in portable terminal | |
CN103309596A (en) | Adjustment method of input method keyboard and mobile terminal thereof | |
JP2012243229A (en) | Display device and display method for input correction | |
JPWO2012161237A1 (en) | Information processing apparatus and control method thereof | |
JP5102894B1 (en) | Character input device and portable terminal device | |
JP2014023080A (en) | Portable terminal device, program and input correction method | |
CN105653176A (en) | Unlocking method and system for touch screen | |
CN113342241A (en) | Target character selection method and device, electronic equipment and storage medium | |
JP2013033395A (en) | Character input device, method of displaying flick input selection on character input device, and program | |
JP5345407B2 (en) | Name input device and name input method | |
CN105589570A (en) | Input error processing method and apparatus | |
KR20140131070A (en) | Apparatus and method for generating a message in a portable terminal | |
JP2014195202A (en) | Symbol inputting device and program | |
JP6085529B2 (en) | Character input device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |