CN110825305B - Fuzzy input character judgment method and character input method for screen touch virtual keyboard - Google Patents

Fuzzy input character judgment method and character input method for screen touch virtual keyboard Download PDF

Info

Publication number
CN110825305B
CN110825305B CN201911040294.XA CN201911040294A CN110825305B CN 110825305 B CN110825305 B CN 110825305B CN 201911040294 A CN201911040294 A CN 201911040294A CN 110825305 B CN110825305 B CN 110825305B
Authority
CN
China
Prior art keywords
character
coordinate
delta
integer
keyboard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911040294.XA
Other languages
Chinese (zh)
Other versions
CN110825305A (en
Inventor
王稔秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201911040294.XA priority Critical patent/CN110825305B/en
Publication of CN110825305A publication Critical patent/CN110825305A/en
Application granted granted Critical
Publication of CN110825305B publication Critical patent/CN110825305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a fuzzy input character judgment method and a character input method for a screen touch virtual keyboard.A character coordinate set which takes an integer numerical value as a unit is established for the virtual keyboard of a system input method, and each character of the keyboard corresponds to an integer coordinate (r, c); recording numerical coordinates of contact points P on a virtual keyboard screen, wherein each contact point P corresponds to one numerical coordinate (x, y); by comparing the current contact point P1To the previous contact P0The relative deviation value (delta x, delta y) of the click numerical value coordinate is obtained according to the numerical value coordinate between the key width constants S and the key width constants S of the lateral deviation value delta x and the longitudinal deviation value delta yxDividing the key height constant Sy by rounding off and then rounding up to obtain the relative deviation value (delta r, delta c) of the integer coordinate, and the previous contact P0Integer coordinate (r)0,c0) Adding the relative offset values (Deltar ) of the click integer coordinates to obtain the current touch point P1Integer coordinate (r)1,c1) By integer coordinates (r)1,c1) The corresponding character is matched from the character coordinate set.

Description

Fuzzy input character judgment method and character input method for screen touch virtual keyboard
Technical Field
The invention belongs to the field of screen touch virtual keyboard fuzzy input methods, and particularly relates to a screen touch virtual keyboard fuzzy input character judgment method and a character input method.
Background
The existing virtual keyboard input methods generally include touch screen input, projected keyboard input, finger motion capture input, and the like. The touch screen input method system comprises a virtual keyboard display part, a touch screen part, an input method driving software part and the like; the projected keyboard includes portions of projection hardware, motion capture, software containing specific algorithms, and so forth. The input method realizes the input of characters by clicking the corresponding character keys on the touch screen or the projected keyboard.
Virtual keyboard input methods such as touch screen input and projected keyboard are insufficient. Because the touch screen and the projection keyboard have no hand feeling of a solid keyboard, a user has no character key feedback when inputting characters, and the positioning deviation among the character keys is easy to accumulate. The input error rate is high, and the touch typing is not easy to realize, so the input efficiency is low.
Because a certain deviation exists in the input clicking position in the process of operating software and hardware of man-machine interface programs such as a touch screen, a virtual keyboard and the like, when the touch screen is required to be touched, the deviation can be gradually accumulated under continuous action. If a person is required to close eyes and jump with fixed points on the flat ground with two feet, the distances of the person deviating from the original jump point are necessarily accumulated along with the increase of the jumping times under the condition of no external interference. Similarly, in the case of the user's touch typing input of the virtual character keys, the click coordinates inevitably drift. The result is that the character key range in which the click coordinates fall deviates from the user's input intention, which results in an input error.
Therefore, the inventor researches that the click coordinate inevitably drifts under the condition that the user inputs the virtual character key in a touch manner, and provides a method for judging the real intention of the user input.
Disclosure of Invention
The invention aims to provide a fuzzy input character judgment method of a screen touch virtual keyboard, which can judge the real input intention of a user and output corresponding characters under the condition of touch input of the user, thereby improving the accuracy rate of character input.
The present invention also provides a character input method using the fuzzy input character determination method of the screen touch virtual keyboard, which can determine the actual intention of inputting characters to the user and output corresponding characters under the condition of touch input by the user, thereby improving the accuracy of inputting characters.
In order to achieve the purpose, the technical scheme of the invention is as follows:
the fuzzy input character judgment method of the screen touch virtual keyboard comprises the following steps:
(1) establishing a character coordinate set taking an integer numerical value as a unit for a virtual keyboard carried by a system input method, wherein each character of the keyboard corresponds to an integer coordinate (r, c);
(2) recording numerical coordinates of contact points P on a virtual keyboard screen, wherein each contact point P corresponds to a numerical coordinate (x, y);
(3) by comparing the current contact point P1To the previous contact P0The current contact point P is obtained through the numerical coordinates of the two1To the previous contact P0The horizontal offset value Δ x and the vertical offset value Δ y therebetween, that is, the relative offset value (Δ x, Δ y) of the click value coordinates, where (x, Δ y) is given by the formula (Δ x, Δ y)1,y1)-(x0,y0) For the horizontal deviation value delta x and the key width constant SxDividing, rounding and rounding to obtain integral value Deltar of transverse relative shift, where Deltar is Deltax/Sx(ii) a Dividing the longitudinal deviation value delta y by the key height constant Sy, rounding off, and rounding to obtain a longitudinal relative deviation integral value delta c, wherein the formula is that delta c is equal to delta y/SyI.e. click integer coordinate relative offset value (Δ r, Δ c), the previous contact point P is added0Integer coordinate (r)0,c0) Adding the relative offset value (delta r, delta c) of the click integer coordinate to obtain the current contact point P1Integer coordinate (r)1,c1) The formula is (r)1,c1)=(r0,c0) + (. DELTA.r,. DELTA.c) through the current contact P1Integer coordinate (r)1,c1) The corresponding character is matched from the character coordinate set.
Further, the character coordinate set in the step (1) is established by taking the number of character keys in horizontal rows and vertical rows on a character keyboard as a unit.
Further, the virtual keyboard in the system input method in the step (1) is a nine-grid keyboard, and corresponds to 12 characters, the number of character keys in the horizontal row of the keyboard is 3, and is 0,1, and 2, the number of character keys in the vertical row of the character keyboard is 4, and is 0,1,2, and 3, the lower left corner is used as an origin of integer coordinates, each character corresponds to one integer coordinate (r, c), and 12 integer arrays are counted to form a character coordinate set.
Further, the numerical coordinate in the step (2) is a numerical coordinate in units of pixels in the horizontal direction x and the vertical direction y on the screen.
Further, the numerical coordinate in the step (2) takes the lower left corner as the origin of coordinates, the length of each character key is 100 pixels, and the height is 80 pixels.
The character input method during touch typing is carried out by using the fuzzy input character judgment method of the screen touch virtual keyboard, and comprises the following steps:
(1) at the beginning, when the system input method area is clicked, the record is recorded in P0(x0,y0) Numerical coordinates of clicks, by P0Directly determining character b by point coordinate, determining P according to b character in character coordinate set0Integer coordinate (r)0,c0) F (b), output b characterB is a variable representing the current target character, when passing P0(x0,y0) Directly determining the character by the numerical coordinate of the click, wherein the system timer begins to zero t to be 0 and begins to register, (2) starting the touch click, comparing the size of t with that of td when the input method area is clicked, wherein t represents the interval time between two previous key presses and the next key press, and td is the previous contact point P0To the current contact point P1The maximum delay upper limit of the time t between the front and the back, the maximum delay td is the time for the character key to return to zero, if the keyboard interval between the front and the back two times of clicking is too long, the time t is>td is established, which means that people can stare at the keyboard again, the key position on the keyboard is relatively accurate when being clicked, and the character can be directly determined by the input method through the clicked numerical value coordinate; if the time interval between the two previous and later keyboard clicks is short, t<td is true, it indicates that people are touch typing on the keyboard, and the current contact point P is recorded1Numerical coordinates (x) of1 y1) Calculating the current contact point P1To the previous contact P0The coordinate relative offset value (delta x, delta y) of the click value is represented by (x, delta y)1,y1)-(x0,y0) Calculating relative offset values (delta r, delta c) of the click integer coordinates, wherein the formula delta r is delta x/Sx(rounding up), Δ c ═ Δ y/Sy(rounding to an integer) and the previous contact P0Integer coordinate (r)0,c0) Adding the relative offset value (delta r, delta c) of the click integer coordinate to obtain the current contact point P1Integer coordinate (r)1,c1) The formula is (r)1,c1)=(r0,c0) + (. DELTA.r,. DELTA.c) through the current contact P1Integer coordinate (r)1,c1) Matching corresponding characters from a character coordinate set, where formula b ═ f (r)1,c1) (ii) a If the current contact point P1Integer coordinate (r)1,c1) The matched characters are other values, namely b is null, the click area of the touch typing of people possibly exceeds the click area of the input method or is not a valid character, the error is reported in the system, the character is not output, the timer is reset to zero, t is 0, the next click input is waited, and the system still uses the previous contact point P0As numerical coordinates and integer coordinates of charactersIs the origin of coordinates; if the current contact point P1Integer coordinate (r)1,c1) Matching corresponding characters from the character coordinate set, outputting the character b, and pairing (x)0,y0) And (r)0,c0) Reassign value, formula (x)0,y0)=(x1,y1)、(r0,c0)=(r1,c1) (ii) a And (5) resetting the timer to zero, wherein t is equal to 0, and waiting for the next click input.
Compared with the prior art, the character judgment method and the character input method have the core idea that the real input intention of a user is judged by calculating the distance variation (delta x, delta y) between click positions of a screen or a virtual area and comparing keyboard layout parameters through an algorithm, so that the aims of reducing the error rate and improving the input efficiency are fulfilled.
Drawings
FIG. 1 is a diagram of the implementation steps of the present invention;
FIG. 2 is a nine-grid keyboard diagram of the present invention:
FIG. 3 is a schematic diagram of the key digitalization extraction of the Sudoku keyboard of the present invention;
FIG. 4 is a graph of the numerical coordinates of a first point "A" of the present invention on a Sudoku keyboard;
FIG. 5 is a diagram of the relative movement of the first point "A" on the Sudoku keyboard with respect to the corresponding solid line keyboard with integer coordinates;
FIG. 6 is a graphical plot of the numerical values of a first point "A" and a second point "B" of the present invention on a Sudoku keyboard;
FIG. 7 is a diagram of the relative movement of the second dot "B" of the present invention on the Sudoku keyboard with the corresponding solid line of integer coordinates;
FIG. 8 is a graphical plot of the numerical values of a third point "C" and a second point "B" of the present invention on a Sudoku keyboard.
Detailed Description
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or the prior art will be described below, and it is obvious that the drawings in the following description are only some embodiments, and it is obvious for those skilled in the art that other technical solutions can be obtained according to the drawings without inventive exercise.
The table of the present embodiment has
Figure GDA0002899466270000051
And (4) respectively.
Figure GDA0002899466270000052
Figure GDA0002899466270000061
Figure GDA0002899466270000062
Figure GDA0002899466270000071
A fuzzy input character judgment method for a screen touch virtual keyboard comprises the following steps:
(1) establishing a character coordinate set taking an integer numerical value as a unit for a virtual keyboard carried by a system input method, wherein each character of the keyboard corresponds to an integer coordinate; specifically, a character coordinate set is established by taking the number of character keys in horizontal rows and vertical rows on a character keyboard as a unit, each character of the keyboard corresponds to one integer coordinate (r, c), as shown in fig. 2 and 3, the character keyboard in a nine-square grid corresponds to 12 characters respectively, the number of character keys in horizontal rows of the character keyboard is 3, 0,1 and 2 respectively, the number of character keys in vertical rows of the character keyboard is 4, 0,1,2 and 3 respectively, the lower left corner is an integer coordinate origin, each character corresponds to one integer coordinate (r, c), 12 integer arrays are counted in total, a character coordinate set is formed, as shown in table 2, the integer coordinate corresponding to a numeric character "5" is (1,2), and the integer coordinate corresponding to a symbol "#" is (2, 0);
(2) recording numerical coordinates of the contact points P on the virtual keyboard screen, specifically, the numerical coordinates taking pixels in the horizontal direction x and the vertical direction y on the screen as a unit, each contact point P corresponds to one numerical coordinate (x, y), for example, as shown in fig. 4, a character keyboard of a nine-square grid takes the lower left corner as the origin of coordinates, the length of each character key is 100 pixels, the height is 80 pixels, and the current contact point P is1(first point A) on the numerical coordinate (x)1,y1)=(175,180);
(3) By comparing the current contact point P1To the previous contact P0The current contact point P is obtained through the numerical coordinates of the two1To the previous contact P0The horizontal offset value Δ x and the vertical offset value Δ y therebetween, that is, the relative offset value (Δ x, Δ y) of the click value coordinates, where (x, Δ y) is given by the formula (Δ x, Δ y)1,y1)-(x0,y0) For the horizontal deviation value delta x and the key width constant SxDividing, rounding and rounding to obtain integral value Deltar of transverse relative shift, where Deltar is Deltax/SxDividing the longitudinal deviation value delta y by the key height constant Sy, rounding off and rounding up to obtain a longitudinal relative deviation integral value delta c, wherein the formula is that delta c is delta y/SyI.e. click integer coordinate relative offset value (Δ r, Δ c), the previous contact point P is added0Integer coordinate (r)0,c0) Adding the relative offset value (delta r, delta c) of the click integer coordinate to obtain the current contact point P1Integer coordinate (r)1,c1) The formula is (r)1,c1)=(r0,c0) + (. DELTA.r,. DELTA.c) through the current contact P1Integer coordinate (r)1,c1) The corresponding character is matched from the character coordinate set.
As shown in fig. 1, the character input method during touch typing is performed by using the fuzzy input character judgment method of the screen touch virtual keyboard:
(1) at the beginning, when the system input method area is clicked, the record is recorded in P0(x0,y0) Numerical coordinates of clicks, by P0Directly determining character b by point coordinate, determining P according to b character in character coordinate set0Integer coordinate (A), (B)r0,c0) F (b), the b character is output, b is a variable representing the current target character (see table 1), which therefore passes P0(x0,y0) The character is directly determined by the numerical coordinate of the click because when people click and input the character to be input for the first time, people can focus attention on the approximate position of the click input character on the screen, the input character is accurate, and at the moment, the system timer is reset to zero t to be 0 and starts to time; (2) starting touch typing, when the input method area is clicked, comparing the sizes of t and td, wherein t represents the interval time between two previous key presses and td is the previous contact P0To the current contact point P1The maximum delay upper limit of the interval time t before and after, the maximum delay td is the character key zeroing time, and td is determined according to the habit of people when the people touch typing, if the interval between two times of clicking the keyboard is too long, the t is the time>td is established, which means that people can stare at the keyboard again, the key position on the keyboard is relatively accurate when being clicked, and the character can be directly determined by the input method through the clicked numerical value coordinate; if the time interval between the two previous and later keyboard clicks is short, t<td is true, it indicates that people are typing on the keyboard, because people often continuously click the keyboard when typing on the keyboard, the time interval between two times of keyboard clicking is short, and the current contact point P is recorded at the moment1Numerical coordinates (x) of1y1) Calculating the current contact point P1To the previous contact P0The coordinate relative offset value (delta x, delta y) of the click value is represented by (x, delta y)1,y1)-(x0,y0) Calculating relative offset values (delta r, delta c) of the click integer coordinates, wherein the formula delta r is delta x/Sx(rounding up), Δ c ═ Δ y/Sy(rounding to an integer) and the previous contact P0Integer coordinate (r)0,c0) Adding the relative offset value (delta r, delta c) of the click integer coordinate to obtain the current contact point P1Integer coordinate (r)1,c1) The formula is (r)1,c1)=(r0,c0) + (. DELTA.r,. DELTA.c) through the current contact P1Integer coordinate (r)1,c1) Matching corresponding characters, formulas, from a character coordinate setb=f(r1,c1) (ii) a If the current contact point P1Integer coordinate (r)1,c1) The matched characters are other values, namely b is null, the click area of the touch typing of people possibly exceeds the click area of the input method or is not a valid character, the error is reported in the system, the character is not output, the timer is reset to zero, t is 0, the next click input is waited, and the system still uses the previous contact point P0The numerical coordinate and the integer coordinate of the character are used as the origin of coordinates; if the current contact point P1Integer coordinate (r)1,c1) Matching corresponding characters from the character coordinate set, outputting the character b, and pairing (x)0,y0) And (r)0,c0) Reassign value, formula (x)0,y0)=(x1,y1)、(r0,c0)=(r1,c1) (ii) a And (5) resetting the timer to zero, wherein t is equal to 0, and waiting for the next click input.
For convenience of understanding, the touch screen with the nine-grid keyboard layout of the common mobile phone in daily life is taken as an example here, touch typing is realized during one-hand operation, and other virtual keyboards, virtual buttons and the like are similar, so details are not repeated.
The noun explains:
A. b, C click point.
Dotted keyboard in the drawings: screen initial keyboard position.
Solid line keyboard in the drawings: indicating that the current system judges the keyboard position of the input character (the keyboard position is determined by relevant parameters and does not really exist, and the keyboard position is only used for helping to understand drawing).
In this example, the width of the grid key: 100 pixels namely (S)x100), 80 pixels high (i.e., S)y80), the origin of coordinates (0,0) is located in the lower left corner of the dashed keyboard.
As shown in fig. 2-8, table 1-6, the method for inputting characters in touch typing is implemented by taking a nine-square keyboard as an example.
(1) Opening the nine-grid keyboard input method, waiting for input, as shown in figure 4, and recording the current contact point P when the system receives that the click coordinate of the screen is positioned at the lower right corner position "A" of the nine-grid number "5", as shown in figure 41Numerical coordinates are (x)1,y1) When the character is directly output (175,180), the character "5" is directly output, the system timer is cleared to zero, t is 0, and the system timer begins to time, because the position of the character which is wanted to be input when the input method is opened for the first time on the screen is relatively accurate according to the input habit of people, at this moment, the previous contact point P is used0Numerical coordinates (x) of0,y0) Former contact point P0Integer coordinate (r)0,c0) To calculate the current contact point P1And record the previous contact P0The relative offset value (delta x, delta y) of the click numerical value coordinates and the relative offset value (delta r, delta c) of the click integer coordinates are meaningless; referring to table 3:
Figure GDA0002899466270000101
(2) it is convenient to understand that, as shown in fig. 5, the "solid keyboard" in the figure corresponds to a keyboard corresponding to a character coordinate set, the above-mentioned matching of the corresponding character coordinates (1,2) from the corresponding character coordinate set (2 in the table) according to the output character "5" is moved to the position of the "a" point in the middle of the middle character "5" corresponding to the "solid keyboard", as shown in table 4:
Figure GDA0002899466270000111
(3) the character ' 9 ' needs to be output under the condition of touch typing, the second point is clicked to be located in the ' B ' position, namely the lower right corner area of the ' number ' 9 ' of the solid line keyboard, because the point of the second point ' B ' is located in the position close to the boundary on the dotted line keyboard line, an error character or no output character can be output without adopting the input method of the scheme, and the time interval t between the click of the second point ' B ' and the click of the first point ' A ' is judged at the moment>td, if the time interval between the two times of keyboard clicking by the first point "A" and the second point "B" is shorter, t is<td is true, it indicates that a person is touch typing on the keyboard, and the first point "A" is the previous contact point P relative to the second point "B0The second point "B" is the current contact point P1Record the current contact point P as shown in FIG. 61(second point "B") numerical coordinates (x)1 y1) (300,85), calculate the current contact point P1To the previous contact P0The relative offset value (delta x, delta y) of the coordinate of the click value is (125-95), and the formula (delta x is 125, delta y is-95) is (x)1=300,y1=85)-(x0=175,y0180), calculating the click integer coordinate relative offset value (Δ r, Δ c) — (1, -1), and the formula (Δ r ═ 1) — (Δ x ═ 125)/(S)x1.25 ≈ 1 (rounding), and (Δ c ═ -1) (Δy ═ 95)/(S)y80 ═ 0.95 ≈ 1 (rounding), and the previous contact P is rounded0Integer coordinate (r)0,c0) Adding the relative offset value (delta r, delta c) of the click integer coordinate to obtain the current contact point P1Integer coordinate (r)1=2,c11) is (r)1=2,c1=1)=(r0=1,c02) + (Δr 1, Δ c 1), via the current contact point P1Integer coordinate (r)1,c1) The corresponding character "9" is matched from the character coordinate set (table 2) (2,1), and the formula (b) is 9 ═ f (r)1=2,c11), the system outputs the character "9", as shown in table 5;
Figure GDA0002899466270000121
Figure GDA0002899466270000131
(4) it is convenient to understand that, as shown in fig. 7, the above-mentioned character "9" is matched from the corresponding character coordinate set (table 2) according to the integer coordinate (2,1), and the character "9" is output, which corresponds to the middle character "9" of the "solid keyboard" being moved to the second point "B" point position in the middle, as shown in table 6:
Figure GDA0002899466270000132
Figure GDA0002899466270000141
(5) the character '7' needs to be output under the condition of continuous touch typing, the third point is clicked to be positioned in the 'C', namely the upper right corner area of the 'solid line keyboard' number '7', because the 'C' point is positioned in the lower left corner of the '8' dotted line keyboard number, the character '8' is wrongly output without adopting the input method of the scheme, and the time interval t between the click of the third point 'C' and the click of the second point 'B' is judged at the moment>td, if the time interval between the third point "C" and the second point "B" for twice clicking the keyboard is shorter, t is<td is true, it indicates that people are touch typing on the keyboard, and the second point "B" is changed to the previous contact point P relative to the third point "C0The third point "C" becomes the current contact point P1Record the current contact point P as shown in FIG. 81(third point "B") numerical coordinate (x)1,y1) (115,110), the current contact point P is calculated1To the previous contact P0The relative offset value of the coordinate of the click value (delta x, delta y) — 185,25), and the formula (delta x ═ 185, delta y ═ 25) — (x)1=115,y1=110)-(x0=300,y085), calculating click integer coordinate relative offset value ([ delta ] r, [ delta ] c) ([ delta ] 2) ([ delta ] x ═ 185)/(S) ]), and calculating a formula ([ delta ] x ═ 185)/(S) ]x100 ≈ 1.85 ≈ 2 (rounding), 0 ═ Δ c ═ 25)/(Sy80) 0.31 ≈ 0 (rounding), and the previous contact P is rounded0Integer coordinate (r)0,c0) Adding the relative offset value (delta r, delta c) of the click integer coordinate to obtain the current contact point P1Integer coordinate (r)1,c1) The formula is (r)1=0,c1=1)=(r0=2,c01) + (Δr-2, Δ c-0), via the current contact point P1Integer coordinate (r)1,c1) The corresponding character "7" is matched from the character coordinate set (table 2) (0,1), and the formula (b) is 7 ═ f (r)1=0,c11), the system outputs the character "7", as shown in table 7;
Figure GDA0002899466270000151
Figure GDA0002899466270000161
(6) repeating the steps (2) to (5) after the subsequent continuous touch typing; and (4) until the time-out of the two previous click intervals and the time-out of the two previous click intervals are t > td, returning the input method to be executed from the step (1).
The foregoing shows and describes the general principles and features of the present invention, together with the advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (6)

1. The fuzzy input character judgment method of the screen touch virtual keyboard is characterized by comprising the following steps:
(1) establishing a character coordinate set taking an integer numerical value as a unit for a virtual keyboard carried by a system input method, wherein each character of the keyboard corresponds to an integer coordinate (r, c);
(2) recording numerical coordinates of contact points P on a virtual keyboard screen, wherein each contact point P corresponds to a numerical coordinate (x, y);
(3) by comparing the current contact point P1To the previous contact P0The current contact point P is obtained through the numerical coordinates of the two1To the previous contact P0The horizontal offset value Δ x and the vertical offset value Δ y therebetween, that is, the relative offset value (Δ x, Δ y) of the click value coordinates, where (x, Δ y) is given by the formula (Δ x, Δ y)1,y1)-(x0,y0) For the horizontal deviation value delta x and the key width constant SxDividing, rounding and rounding to obtain integral value Deltar of transverse relative shift, where Deltar is Deltax/SxTo longitudinal deviationDividing the shift value delta y by the key height constant Sy, rounding off, and rounding to obtain a longitudinal relative shift integer value delta cyI.e. click integer coordinate relative offset value (Δ r, Δ c), the previous contact point P is added0Integer coordinate (r)0,c0) Adding the relative offset value (delta r, delta c) of the click integer coordinate to obtain the current contact point P1Integer coordinate (r)1,c1) The formula is (r)1,c1)=(r0,c0) + (. DELTA.r,. DELTA.c) through the current contact P1Integer coordinate (r)1,c1) The corresponding character is matched from the character coordinate set.
2. The method for judging the ambiguous input character by the screen-touch virtual keyboard as recited in claim 1, wherein: and (2) establishing a character coordinate set in the step (1) by taking the number of character keys in horizontal rows and vertical rows on a character keyboard as a unit.
3. The method for judging the ambiguous input character by the screen-touch virtual keyboard as recited in claim 2, wherein: the virtual keyboard in the system input method in the step (1) is a Sudoku keyboard, the virtual keyboard corresponds to 12 characters respectively, the number of character keys on the horizontal row of the keyboard is 3, the number of character keys on the horizontal row of the keyboard is 0,1 and 2 respectively, the number of character keys on the vertical row of the character keyboard is 4, the number of character keys is 0,1,2 and 3 respectively, the lower left corner is used as an origin of integer coordinates, each character corresponds to an integer coordinate (r and c), and 12 integer arrays are counted to form a character coordinate set.
4. The method for judging the ambiguous input character by the screen-touch virtual keyboard as recited in claim 1, wherein: and (3) the numerical coordinate in the step (2) is a numerical coordinate taking pixels in the horizontal direction x and the vertical direction y on the screen as a unit.
5. The method for judging the ambiguous input character by the screen-touch virtual keyboard as recited in claim 4, wherein: and (3) taking the lower left corner as the origin of coordinates, wherein the length of each character key is 100 pixels, and the height of each character key is 80 pixels.
6. A character input method using the fuzzy input character judgment method of the screen touch virtual keyboard of claim 1 above: the method is characterized in that:
(1) at the beginning, when the system input method area is clicked, the record is recorded in P0(x0,y0) Numerical coordinates of clicks, by P0Directly determining character b by point coordinate, determining P according to b character in character coordinate set0Integer coordinate (r)0,c0) F (b), outputting b character, b is variable representing current target character, and P is passed0(x0,y0) Directly determining the character according to the clicked numerical coordinate, wherein the system timer begins to zero t is 0 at the moment, and begins to time;
(2) starting touch typing, when the input method area is clicked, comparing the sizes of t and td, wherein t represents the interval time between two previous key presses and td is the previous contact P0To the current contact point P1Maximum delay of the time t between the front and the back, the maximum delay td is the time for the character key to return to zero, if the keyboard is clicked for two times before and after, the interval is too long, namely t>td is established, which means that people can stare at the keyboard again, the key position on the keyboard is relatively accurate when being clicked, and the character can be directly determined by the input method through the clicked numerical value coordinate; if the time interval between two previous and later keyboard clicks is short, i.e. t<td is true, it indicates that people are touch typing on the keyboard, and the current contact point P is recorded1Numerical coordinates (x) of1 y1) Calculating the current contact point P1To the previous contact P0The coordinate relative offset value (delta x, delta y) of the click value is represented by (x, delta y)1,y1)-(x0,y0) Calculating relative offset values (delta r, delta c) of the click integer coordinates, wherein the formula delta r is delta x/SxRounding off and rounding off, Δ c ═ Δ y/SyRounding off to get the whole, and putting the previous contact P0Integer coordinate (r)0,c0) Adding the relative offset value (delta r, delta c) of the click integer coordinate to obtain the current contact point P1Integer coordinate (r)1,c1) The formula is (r)1,c1)=(r0,c0) + (. DELTA.r,. DELTA.c) through the current contact P1Integer coordinate (r)1,c1) Matching corresponding characters from a character coordinate set, where formula b ═ f (r)1,c1) (ii) a If the current contact point P1Integer coordinate (r)1,c1) The matched characters are other values, namely b is null, the click area of the touch typing of people exceeds the click area of the input method or is not a valid character, the error is reported in the system, the character is not output, the timer is reset to zero, t is 0, the next click input is waited, and the system still has the previous contact point P0The numerical coordinate and the integer coordinate of the character are used as the origin of coordinates; if the current contact point P1Integer coordinate (r)1,c1) Matching corresponding characters from the character coordinate set, outputting the character b, and pairing (x)0,y0) And (r)0,c0) Reassign value, formula (x)0,y0)=(x1,y1)、(r0,c0)=(r1,c1) (ii) a And (5) resetting the timer to zero, wherein t is equal to 0, and waiting for the next click input.
CN201911040294.XA 2019-10-29 2019-10-29 Fuzzy input character judgment method and character input method for screen touch virtual keyboard Active CN110825305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911040294.XA CN110825305B (en) 2019-10-29 2019-10-29 Fuzzy input character judgment method and character input method for screen touch virtual keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911040294.XA CN110825305B (en) 2019-10-29 2019-10-29 Fuzzy input character judgment method and character input method for screen touch virtual keyboard

Publications (2)

Publication Number Publication Date
CN110825305A CN110825305A (en) 2020-02-21
CN110825305B true CN110825305B (en) 2021-02-12

Family

ID=69551192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911040294.XA Active CN110825305B (en) 2019-10-29 2019-10-29 Fuzzy input character judgment method and character input method for screen touch virtual keyboard

Country Status (1)

Country Link
CN (1) CN110825305B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650909A (en) * 2012-04-16 2012-08-29 杨林 Character inputting device and character inputting method
CN104375665A (en) * 2014-12-09 2015-02-25 三星电子(中国)研发中心 Input-method error correction method and input-method error correction device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100498674C (en) * 2007-09-07 2009-06-10 怡利电子工业股份有限公司 Method for correcting typewriting error according to keyboard character arrangement
TW201044232A (en) * 2009-06-05 2010-12-16 Htc Corp Method, system and computer program product for correcting software keyboard input
CN102467313B (en) * 2010-11-03 2016-08-10 北京普源精电科技有限公司 The readings application process of spectrum analyzer and device
CN104615262A (en) * 2013-11-01 2015-05-13 辉达公司 Input method and input system used for virtual keyboard
CN105094405A (en) * 2014-05-23 2015-11-25 中兴通讯股份有限公司 Method and apparatus for automatically adjusting effective contact
CN104035713A (en) * 2014-06-17 2014-09-10 Tcl集团股份有限公司 Soft keyboard operating method and device
CN109358802A (en) * 2018-10-11 2019-02-19 科大讯飞股份有限公司 A kind of data inputting method, device, equipment and readable storage medium storing program for executing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102650909A (en) * 2012-04-16 2012-08-29 杨林 Character inputting device and character inputting method
CN104375665A (en) * 2014-12-09 2015-02-25 三星电子(中国)研发中心 Input-method error correction method and input-method error correction device

Also Published As

Publication number Publication date
CN110825305A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
US10209885B2 (en) Method and device for building virtual keyboard
KR101411569B1 (en) Device and method for information processing using virtual keyboard
US20050179657A1 (en) System and method of emulating mouse operations using finger image sensors
US20050206730A1 (en) Data input device, information processing device, data input method, and computer product
US20030064736A1 (en) Text entry method and device therefor
EP2725458B1 (en) Information processing device, input control method, and input control program
US20120162083A1 (en) Multi-contact character input method and system
EP2042972A1 (en) Method for determining pressed location of touch screen
WO2010010350A1 (en) Data input system, method and computer program
EP2905689A1 (en) Method and apparatus for displaying character on touchscreen
JP2014512620A (en) Virtual keyboard and method of providing the same
CN107272881B (en) Information input method and device, input method keyboard and electronic equipment
US9539505B2 (en) Game device and computer-readable storage medium
CN101853076A (en) Method for acquiring input information by input equipment
KR20130051722A (en) Apparatus and method for inputting
Yin et al. CamK: Camera-based keystroke detection and localization for small mobile devices
CN103150114B (en) A kind of convenient input method for touch screen
CN110825305B (en) Fuzzy input character judgment method and character input method for screen touch virtual keyboard
CN104951437A (en) Data translation method and system based on touch screen terminal
CN102637108B (en) A kind of compound input control method
CN102566877B (en) Method for adjusting display appearance of keyboard interface
CN103713840B (en) Portable apparatus and its key hit area adjustment method
CN106502431A (en) A kind of touch screen dummy keyboard information input mode
US10082882B2 (en) Data input apparatus and method therefor
CN111240498B (en) System and method for typing out numbers by utilizing notebook computer touch pad

Legal Events

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