CN102147681A - Input method and device based on touch screen - Google Patents

Input method and device based on touch screen Download PDF

Info

Publication number
CN102147681A
CN102147681A CN 201110113105 CN201110113105A CN102147681A CN 102147681 A CN102147681 A CN 102147681A CN 201110113105 CN201110113105 CN 201110113105 CN 201110113105 A CN201110113105 A CN 201110113105A CN 102147681 A CN102147681 A CN 102147681A
Authority
CN
China
Prior art keywords
input
input instruction
line image
predetermined direction
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201110113105
Other languages
Chinese (zh)
Other versions
CN102147681B (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.)
Guangzhou Shengxia Intellectual Property Operation Co ltd
Jiangsu Sanhao Medical Technology Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN 201110113105 priority Critical patent/CN102147681B/en
Publication of CN102147681A publication Critical patent/CN102147681A/en
Application granted granted Critical
Publication of CN102147681B publication Critical patent/CN102147681B/en
Withdrawn - After Issue legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an input method based on a touch screen, comprising the following steps of: converting an input action on the touch screen into input coordinates; judging the direction of the input action according to the input coordinates; acquiring character pictures according to the input coordinates; and outputting an operation instruction corresponding to the preset direction when the character picture is a horizontal line picture or an oblique line image and the direction is the preset direction. The invention further discloses an input device based on a touch screen. Through the manner and the technical scheme provided by the invention, a special operation instruction can be handwritten-input only by a user finger sliding on the touch screen simply, so that the input speed and the smoothness are improved greatly.

Description

Input method and device based on touch-screen
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of input method and device based on touch-screen.
Background technology
In recent years, touch-screen has been widely used on the various terminals, the user by on touch-screen, click, handwriting input such as paddling operation, can import corresponding character, therefore, touch-screen can make man-machine interaction more simple and direct.
But present hand-writing input method mentality of designing does not still break away from traditional thinking of keyboard, it is the solution of handwriting pad+dummy keyboard, near handwriting area, function buttons such as space, carriage return, deletion, line feed or punctuation mark are set, when the user imports above-mentioned space, carriage return, deletion, line feed or punctuation mark at needs, must temporarily stop handwriting input, and the corresponding keyboard on the click dummy keyboard, yet what more wish for the user, is that all operations can be finished at handwriting area.
Because in the prior art, other operations of user, for example space, carriage return, deletion, line feed or punctuation mark input etc., need carry out clicking operation at special operating area, this has just brought very big inconvenience to the user, because on user's angle, the operation that finger leaves input area can greatly influence input speed and fluency.
Therefore, needing badly provides a kind of input method and device based on touch-screen, to address the above problem.
Summary of the invention
The technical matters that the present invention mainly solves provides a kind of input method and device based on touch-screen, to address the above problem.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of input method based on touch-screen is provided, may further comprise the steps: a. is converted to input coordinate with the input action on touch-screen; B. judge the direction of input action according to input coordinate; C. obtain character picture according to input coordinate; D. be horizontal line image or oblique line image at character picture, and direction is when being predetermined direction, output and predetermined direction instruction corresponding.
Wherein, input method comprises that further step: e. is horizontal line image or oblique line image at character picture, and direction is not when being not predetermined direction, output horizontal line image or oblique line image.
Wherein, predetermined direction is for from right to left, and operational order is one in space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction or the punctuation mark input instruction.
Wherein, predetermined direction is extremely upper left from the bottom right, and operational order is one in space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction or the punctuation mark input instruction.
Wherein, predetermined direction is for from top to bottom, and operational order is one in space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction or the punctuation mark input instruction.
Wherein, in step c,,, utilize the coordinate diagram picture in character database, to compare to obtain corresponding coordinate diagram picture according to the input coordinate computing of drawing, with in character database, obtain with coordinate diagram as the corresponding characters image.
Wherein, input method comprises that further step: f. is not horizontal line image or oblique line image at character picture, and direction is not when being not predetermined direction, the output character image.
For solving the problems of the technologies described above, the present invention further provides a kind of input media based on touch-screen, comprising: load module is used for the input action on touch-screen is converted to input coordinate; The vector judge module is used for the direction according to input coordinate judgement input action; Identification module is used for obtaining character picture according to input coordinate, and is horizontal line image or oblique line image at character picture, and direction is when being predetermined direction, output and predetermined direction instruction corresponding.
Wherein, it is horizontal line image or oblique line image that identification module is further used for determining character picture, and direction is not when being not predetermined direction, output horizontal line image or oblique line image.
Wherein, predetermined direction be from right to left, from the bottom right to upper left and from top to bottom one, operational order is one in space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction and the punctuation mark input instruction.
The invention has the beneficial effects as follows: be different from prior art, input method and device based on touch-screen provided by the present invention discerned by the specific action that the user is imported, can make the user only need on touch-screen, to make simple paddling and get final product the handwriting input specific operating instructions, thereby greatly improve input speed and fluency.
Description of drawings
Fig. 1 is the process flow diagram based on the input method of touch-screen according to first embodiment of the invention;
Fig. 2 is the structural representation based on the input media of touch-screen according to first embodiment of the invention.
Embodiment
At first see also Fig. 1, Fig. 1 is the process flow diagram based on the input method of touch-screen according to first embodiment of the invention.
As shown in Figure 1, in the present embodiment, may further comprise the steps based on the input method of touch-screen:
Step 101 is converted to input coordinate with the input action on touch-screen.Particularly, can take a sample to input action, to obtain as the pairing input coordinate of input action, wherein, input coordinate is embodied in a series of two-dimensional coordinate value.
Step 102 is according to the direction of input coordinate judgement input action.Wherein, can judge the direction of input action according to the two-dimensional coordinate value, as in a preferred embodiment, the two-dimensional coordinate value that can establish last sampling spot that is obtained is (X n, Y n), the two-dimensional coordinate value of establishing first sampling spot that is obtained is (X 0, Y 0), with X n-X 0, Y n-Y 0To obtain horizontal ordinate difference Δ X and ordinate difference Δ Y, horizontal ordinate difference Δ X be on the occasion of the time, the direction that can judge input action is normal input direction (as the point in the Chinese-character stroke, a horizontal stroke, stroke such as press down, carry), and be negative value or zero at horizontal ordinate difference Δ X, and when ordinate difference Δ Y was negative value, the direction that also can determine input action was normal input direction (as strokes such as perpendicular, the left-falling strokes in the Chinese-character stroke).And when horizontal ordinate difference Δ X be negative value or zero and ordinate difference Δ Y on the occasion of the time, the direction that can judge input action is improper input direction (promptly not being point, horizontal, vertical, in casting aside, press down, carrying any one).
Step 103 is obtained character picture according to input coordinate.Generally speaking, this step can be realized by following mode: according to the input coordinate computing of drawing, to obtain corresponding coordinate diagram picture, utilize the coordinate diagram picture in character database, to compare, with in character database, obtain with coordinate diagram as the corresponding characters image.Certainly, more than just obtain a kind of preferred implementation of character picture, the present invention also can comprise other character picture acquisition methods.
Step 104 judges whether character picture is horizontal line image or oblique line image, when judged result is "No", and execution in step 105, when judged result is "Yes", execution in step 106.
Step 105, the output character image.
Step 106 judges further whether direction is predetermined direction, when judged result is "Yes", and execution in step 107, and when judged result is "No", execution in step 108.Wherein, above-mentioned improper input direction being set is predetermined direction.
Step 107, output and predetermined direction instruction corresponding.Wherein, operational order comprises space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction or punctuation mark input instruction etc., specifically can choose according to actual needs.
Step 108, output horizontal line image or oblique line image.
Compared with prior art, the present invention further judges the direction of action according to input coordinate in step 102, and in step 104, determine character picture when being horizontal line image or oblique line image, whether the direction of obtaining in the further determining step 102 in step 106 meets predetermined direction, and when direction meets predetermined direction, output and predetermined direction instruction corresponding in step 107.
And when in step 104, when determining character picture and not being horizontal line image or oblique line image, then execution in step 105, directly output is not the character picture of horizontal line image or oblique line image, when in step 106, determine direction when being not predetermined direction, then execution in step 108, output horizontal line image or oblique line image, thereby guarantee when character picture is not horizontal line image or oblique line image, can normally not export, or be that horizontal line image or oblique line image and direction are not output horizontal line or oblique lines under the predetermined direction situation of (promptly meeting the normal Chinese characters input habit) at character picture.
Therefore, in the present embodiment, when input action corresponding characters image is horizontal line image or oblique line image, and the direction of the coordinate of input action can guarantee output and predetermined direction instruction corresponding when being predetermined direction.
As described in step 102, predetermined direction should be chosen for the direction opposite with the normal input habit of Chinese character, specifically, in input method of Chinese character, the point, horizontal, perpendicular, cast aside, press down, stroke such as carrying all is from left to right, from upper left to the bottom right, extremely upper right from the lower-left, from top to bottom or from upper right to lower-left input, above input direction is the normal input habit of Chinese character, therefore, in the present invention, with the user from right to left, from the bottom right to upper left or wait the input action of the normal input habit that does not meet Chinese character to carry out related from top to bottom with operational order, make the input coordinate of working as the input action correspondence that detects the user for from right to left, from the bottom right to upper left or from top to bottom 1 o'clock, export specific operational order.
In preferred implementation of the present invention, can set predetermined direction for from right to left, when predetermined direction for from right to left the time, carry out one in dextrosinistral predetermined direction and space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction or the punctuation mark input instruction related.
In another preferred implementation of the present invention, can set predetermined direction for extremely upper left from the bottom right, when predetermined direction be from the bottom right when upper left, will be from the bottom right to upper left predetermined direction with space input instruction, carriage return input instruction, deletion input instruction, enter a new line input instruction or punctuation mark input instruction one carry out related.
In another preferred implementation of the present invention, can set predetermined direction for from top to bottom, when predetermined direction for from top to bottom the time, carry out one in from top to bottom predetermined direction and space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction or the punctuation mark input instruction related.
Certainly, in other embodiments of the present invention, predetermined direction can comprise from right to left simultaneously, from the bottom right to upper left or three kinds of situations from top to bottom, and in advance above three kinds of situations are associated to three instructions choosing according to actual needs in space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction or the punctuation mark input instruction respectively, make and detecting predetermined direction for from right to left the time, deletion input instruction (or other input instructions that output is corresponding, reality can be provided with as required, below in like manner); Detect predetermined direction for from the bottom right when upper left, the carriage return input instruction that output is corresponding; Detecting predetermined direction for from top to bottom the time, the line feed input instruction that output is corresponding.
And comprise from right to left in above-mentioned use, from upper right to the lower-left or from top to bottom the embodiment of the predetermined direction of three kinds of situations, need after the step 106 of first embodiment is finished, to set up a predetermined direction determining step, judge that according to Δ X and Δ Y the direction of input action is for from right to left, from the bottom right to upper left or from top to bottom any, and after determining the result, with the pairing operational order output of this result, analogy, if determine direction is right-to-left, the deletion input instruction of exportable its correspondence then, and its concrete determination methods can utilize the plane geometry formula to calculate according to trigonometric function, it is this area common technology, does not give unnecessary details in this.
Below see also Fig. 2, Fig. 2 is the structural representation based on the input media of touch-screen according to first embodiment of the invention.
As shown in Figure 2, the disclosed input media based on touch-screen comprises: load module 201 is used for the input action on touch-screen is converted to input coordinate; Vector judge module 202 is used for the direction according to input coordinate judgement input action; Identification module 203 is used for obtaining character picture according to input coordinate, and is horizontal line image or oblique line image at character picture, and direction is when being predetermined direction, output and predetermined direction instruction corresponding.
In a preferred embodiment, it is horizontal line image or oblique line image that identification module 203 can be further used for determining character picture, and direction is not when being not predetermined direction, output horizontal line image or oblique line image.
Load module 201 can be used for execution in step 101, and vectorial judge module 202 can be used for execution in step 102, and identification module 203 can be used for execution in step 103-108, more than the working method of each module specifically describe in above having obtained, repeat no more in this.
It should be noted that, in the present invention, predetermined direction comprises from right to left, from the bottom right to upper left and from top to bottom, described operational order comprises space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction and punctuation mark input instruction, thereby make in actual use, extended operation instruction as required, and be accustomed to specific predetermined direction related with specific operational order according to the user.
Therefore, input method and device based on touch-screen provided by the present invention discerned by the specific action that the user is imported, can make the user only need on touch-screen, to make simple paddling and get final product the handwriting input specific operating instructions, thereby greatly improve input speed and fluency.
Below only be embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. the input method based on touch-screen is characterized in that, may further comprise the steps:
A. will be converted to input coordinate at the input action on the described touch-screen;
B. judge the direction of described input action according to described input coordinate;
C. obtain character picture according to described input coordinate;
D. be horizontal line image or oblique line image at described character picture, and described direction is when being predetermined direction, output and described predetermined direction instruction corresponding.
2. method according to claim 1 is characterized in that, described input method further comprises step:
E. be horizontal line image or oblique line image at described character picture, and described direction is exported described horizontal line image or described oblique line image when being not predetermined direction.
3. according to claim 1 or 2 each described methods, it is characterized in that, described predetermined direction is for from right to left, and described operational order is one in space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction or the punctuation mark input instruction.
4. according to claim 1 or 2 each described methods, it is characterized in that, described predetermined direction is extremely upper left from the bottom right, and described operational order is one in space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction or the punctuation mark input instruction.
5. according to claim 1 or 2 each described methods, it is characterized in that, described predetermined direction is for from top to bottom, and described operational order is one in space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction or the punctuation mark input instruction.
6. method according to claim 1, it is characterized in that, in described step c, according to the computing of drawing of described input coordinate, to obtain corresponding coordinate diagram picture, utilize described coordinate diagram picture in character database, to compare, with in described character database, obtain with described coordinate diagram as the corresponding characters image.
7. method according to claim 1 is characterized in that, further comprises step in described input method:
F. be not horizontal line image or oblique line image at described character picture, and described direction is exported described character picture when being not predetermined direction.
8. the input media based on touch-screen is characterized in that, comprising:
Load module is used for the input action on described touch-screen is converted to input coordinate;
The vector judge module is used for judging according to described input coordinate the direction of described input action;
Identification module is used for obtaining character picture according to described input coordinate, and is horizontal line image or oblique line image at described character picture, and described direction is when being predetermined direction, output and described predetermined direction instruction corresponding.
9. input media according to claim 8, it is characterized in that, it is horizontal line image or oblique line image that described identification module is further used for determining described character picture, and described direction is exported described horizontal line image or described oblique line image when being not predetermined direction.
10. input media according to claim 8, it is characterized in that, described predetermined direction be from right to left, from the bottom right to upper left and from top to bottom one, described operational order is one in space input instruction, carriage return input instruction, deletion input instruction, line feed input instruction and the punctuation mark input instruction.
CN 201110113105 2011-05-03 2011-05-03 Input method and device based on touch screen Withdrawn - After Issue CN102147681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110113105 CN102147681B (en) 2011-05-03 2011-05-03 Input method and device based on touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110113105 CN102147681B (en) 2011-05-03 2011-05-03 Input method and device based on touch screen

Publications (2)

Publication Number Publication Date
CN102147681A true CN102147681A (en) 2011-08-10
CN102147681B CN102147681B (en) 2013-03-13

Family

ID=44421971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110113105 Withdrawn - After Issue CN102147681B (en) 2011-05-03 2011-05-03 Input method and device based on touch screen

Country Status (1)

Country Link
CN (1) CN102147681B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707891A (en) * 2012-05-16 2012-10-03 华为终端有限公司 Method and mobile terminal for calibrating touch screen input
CN102902475A (en) * 2012-08-15 2013-01-30 中国联合网络通信集团有限公司 Method and device for inputting numerical value
CN109189254A (en) * 2018-06-26 2019-01-11 广州小鸡快跑网络科技有限公司 Input equipment, operating method, system and storage medium based on touch screen driving

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1454343A (en) * 2000-04-13 2003-11-05 高通股份有限公司 Method and apparatus for entry of multi-stroke characters
CN1619583A (en) * 2003-11-20 2005-05-25 摩托罗拉公司 Hand writing identifying method and system
CN101135946A (en) * 2006-08-30 2008-03-05 黄金富 Chinese characters hand-written input method
US20090289902A1 (en) * 2008-05-23 2009-11-26 Synaptics Incorporated Proximity sensor device and method with subregion based swipethrough data entry

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1454343A (en) * 2000-04-13 2003-11-05 高通股份有限公司 Method and apparatus for entry of multi-stroke characters
CN1619583A (en) * 2003-11-20 2005-05-25 摩托罗拉公司 Hand writing identifying method and system
CN101135946A (en) * 2006-08-30 2008-03-05 黄金富 Chinese characters hand-written input method
US20090289902A1 (en) * 2008-05-23 2009-11-26 Synaptics Incorporated Proximity sensor device and method with subregion based swipethrough data entry

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707891A (en) * 2012-05-16 2012-10-03 华为终端有限公司 Method and mobile terminal for calibrating touch screen input
CN102707891B (en) * 2012-05-16 2015-08-19 华为终端有限公司 A kind of method and mobile terminal calibrating touch-screen input
CN102902475A (en) * 2012-08-15 2013-01-30 中国联合网络通信集团有限公司 Method and device for inputting numerical value
CN109189254A (en) * 2018-06-26 2019-01-11 广州小鸡快跑网络科技有限公司 Input equipment, operating method, system and storage medium based on touch screen driving

Also Published As

Publication number Publication date
CN102147681B (en) 2013-03-13

Similar Documents

Publication Publication Date Title
US20140111416A1 (en) Electronic apparatus and handwritten document processing method
US9025879B2 (en) Electronic apparatus and handwritten document processing method
EP2650766A1 (en) Multi-character continuous handwriting input method
JP2019507915A5 (en)
CN101408824A (en) Method for recognizing mouse gesticulation
CN101976114B (en) System and method for realizing information interaction between computer and pen and paper based on camera
US20150123988A1 (en) Electronic device, method and storage medium
CN105302464B (en) System and method for scribing flow type document
CN103218160A (en) Man-machine interaction method and terminal
CN1991699A (en) Method for realizing hand-write input
CN102768595B (en) A kind of method and device identifying touch control operation instruction on touch-screen
CN102937864A (en) Method and device for determining selected texts on touch terminals
US20140104201A1 (en) Electronic apparatus and handwritten document processing method
CN101893987A (en) Handwriting input method of electronic equipment
CN106527940A (en) Handwriting determination method and apparatus
CN101556501A (en) Computer mouse simulation system and method
CN102147681B (en) Input method and device based on touch screen
CN102929394B (en) A kind of Braille input method based on gesture identification
US9940536B2 (en) Electronic apparatus and method
US9927971B2 (en) Electronic apparatus, method and storage medium for generating chart object
CN103971104A (en) Identity authentication method based on electronic handwriting feature analysis of Chinese characters
WO2014122794A1 (en) Electronic apparatus and handwritten-document processing method
TW201539308A (en) Method for user interface display and electronic device using the same
CN102129321A (en) Touch screen-based track recording and comparing method
US20150213320A1 (en) Electronic device and method for processing handwritten document

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

Effective date of registration: 20201225

Address after: 224300 No.15, North Third Ring, science and Technology Pioneer Park, Hede Town, Sheyang County, Yancheng City, Jiangsu Province

Patentee after: Jiangsu Sanhao Medical Technology Co.,Ltd.

Address before: 510000 No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province

Patentee before: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Effective date of registration: 20201225

Address after: 510000 No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province

Patentee after: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. 23 District

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

AV01 Patent right actively abandoned
AV01 Patent right actively abandoned
AV01 Patent right actively abandoned

Granted publication date: 20130313

Effective date of abandoning: 20231212

AV01 Patent right actively abandoned

Granted publication date: 20130313

Effective date of abandoning: 20231212