CN102207824B - Sliding pinyin input method based on touch screen device - Google Patents
Sliding pinyin input method based on touch screen device Download PDFInfo
- Publication number
- CN102207824B CN102207824B CN 201110132659 CN201110132659A CN102207824B CN 102207824 B CN102207824 B CN 102207824B CN 201110132659 CN201110132659 CN 201110132659 CN 201110132659 A CN201110132659 A CN 201110132659A CN 102207824 B CN102207824 B CN 102207824B
- Authority
- CN
- China
- Prior art keywords
- input
- point
- phonetic
- pinyin
- track
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention discloses a sliding pinyin input method based on a touch screen device. The sliding pinyin input method comprises the following steps of: step 1, displaying each pinyin letter on the touch screen of an electronic device; and step 2, obtaining a screen scratching track of a user on the touch screen, extracting characteristic points, including a start point and an inflection point, from the screen scratching track, calculating a direction of each two successive neighboring characteristic points, setting up a setup area which takes a variable parameter as the direction, obtaining one ore more pinyins arranged by the letters at the start point and the letters in the successively set area according to a pinyin combination law, reading a word stock corresponding to the pinyin, and clicking the pre-input words and phrases to finish the input process. The pinyin is input based the letters at the start point and the letters in each successively set area according to the pinyin combination law, and the user does not need to slide to the position of the pinyin letter while performing the sliding input process, so that the screen scratching track is short, input time can be reduced and input efficiency can be improved.
Description
Technical field
The present invention relates to a kind of sliding pinyin input method based on touch panel device.
Background technology
Conditional electronic equipment input method all adopts the key-press input mode, conventional mobile phone for example, and it comprises display module, processing module and key-press module.Described processing module connects key-press module and display module, and described key-press module receives the user and presses information, and described processing module is obtained the information of pressing after treatment, shows by display module.Because conditional electronic equipment adopts the mechanical compression mode, so awkward deficiency.
For above-mentioned deficiency, the someone proposes to adopt the solution of touch screen module electronic equipment.Described touch screen module not only has keypress function but also has Presentation Function.Described touch screen module can show each button character, the user is behind accurate pressing keys character, processing module is received button character, this solution also has following deficiency: when 1, inputting a plurality of character, for example during phonetic, accurately sequentially inputting a plurality of characters could obtain accurate character string to need the user, uses inconvenience; 2, excellent function and the character string of touch screen module are not inputted effectively cooperation together.
Summary of the invention
The invention provides a kind of sliding pinyin input method based on touch panel device, it has overcome the existing deficiency of electronic equipment input method in the background technology.
The technical scheme that adopts that the present invention solves its technical matters is:
A kind of sliding pinyin input method based on touch panel device, it comprises:
Step 1, the electronic equipment touch-screen shows each phonetic alphabet;
Step 2, obtain the track that swipes that the user slides at touch-screen, from the track that swipes, extract unique point, unique point comprises starting point and turns to point, calculate the direction of adjacent two unique points of every priority, set up the foundation zone take direction as variable element, obtain the one or more phonetic of arranging by the interior letter in foundation zone alphabetical, sequentially of starting point according to the pinyin combinations rule, read dictionary corresponding to phonetic, click pre-input vocabulary and finish input.
Among one preferred embodiment: described foundation zone is sector region, and default error angle is set up centered by direction line, the foundation zone take the first unique point of this direction as the angle point, take the error angle as angle.
Among one preferred embodiment: described step 2 comprises:
Step 21 is obtained the user at the track that swipes of touch-screen;
Step 22 extracts unique point according to the track that swipes that obtains;
Step 23, sequentially calculate the direction of adjacent two unique points of priority, set up the foundation zone take direction as variable element, obtain the phonetic of arranging by the interior letter in foundation zone alphabetical, sequentially of starting point according to the pinyin combinations rule, read dictionary corresponding to phonetic, click pre-input vocabulary and finish input.
Among one preferred embodiment: described step 2 comprises:
Step 21 is obtained the user at the track that swipes of touch-screen;
Step 22 extracts unique point according to the track that swipes that obtains;
Step 23, the direction of adjacent two unique points of sequentially calculating priority is set up the foundation zone take direction as variable element, obtains the phonetic of arranging by the regional interior letter of the foundation alphabetical, sequentially of starting point according to the pinyin combinations rule;
Step 24, calculated characteristics point quantity filters out phonetic and is uneven in length in the phonetic of unique point quantity, obtains one or more phonetic, reads dictionary corresponding to phonetic, clicks pre-input vocabulary and finishes input.
Among one preferred embodiment: described step 21 comprises:
Step 211 judges and calculates the track data that obtains whether only comprise some data, and if it is execution in step 212, otherwise execution in step 22;
Step 212, the corresponding screen of coordinate data that reads this tracing point is alphabetical, reads the corresponding vocabulary of this letter again, and the user clicks pre-input vocabulary and finishes input.
Among one preferred embodiment: described step 22, sequentially calculate and judge whether the direction between adjacent track point undergos mutation, and if it is preserving these tracing point data is unique point, otherwise filter out this tracing point data, and continue to take off a tracing point and calculate.
Among one preferred embodiment: described step 23 comprises:
Step 231 reads first characteristic point data and judges alphabetical S first of user's input
1, read that initial is S in the phonetic alphabet combination table
1All phonetics;
Step 232 is set up the foundation zone take direction as variable element;
Step 233, whether the secondary letter of sequentially judging phonetic is positioned at is set up the zone, filters out secondary letter and is positioned at and sets up extra-regional phonetic;
Step 234, repeating step 232 until all unique points take.
The technical program is compared with background technology, and it has following advantage:
In conjunction with the letter of starting point, each interior phonetic alphabet in foundation zone sequentially, pinyin combinations rule, finish input Pinyin, need not to slide to the phonetic alphabet position when then the user inputs, the track that swipes is short, can shorten input time, can improve input efficiency.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 has illustrated the phonetic database.
Fig. 2 has illustrated the synoptic diagram one of the track of user's input.
Fig. 3 has illustrated the synoptic diagram two of the track of user's input.
Fig. 4 has illustrated the synoptic diagram three of the track of user's input.
Fig. 5 has illustrated the synoptic diagram four of the track of user's input.
Fig. 6 has illustrated the synoptic diagram that track is processed.
Embodiment
A kind of sliding pinyin input method based on touch panel device, the electronic equipment that it is used such as mobile phone, computer touch device, panel computer, PDA, MP4 etc.Described electronic equipment has a touch-screen, a processor and a storer, described processor signal connects touch-screen and storer, store the phonetic database in the described storer, as shown in Figure 1, wherein, described the 1st, 7,12,17 classify the initial row as, the secondary letter row of classifying ordering as of initial row back.
A kind of sliding pinyin input method based on touch panel device, it comprises:
Step 1, the electronic equipment touch-screen shows each phonetic alphabet, described display case is as being common qwerty keyboard layout on the existing touch-screen;
Step 21, the system's constant duration Gather and input track that swipes, described collection be for example: sample frequency is set to 100H
Z, will carry out pre-service through the original sliding trace data that collect simultaneously, filter out wherein impure point and repeat a little.Described step 21 further comprises the steps:
Step 211 according to the track data after processing, judges and calculates the track data that obtains whether only comprise some data, and if it is execution in step 212, otherwise judge that the user carries out slide, and execution in step 22;
Step 212 is judged the user and is only carried out clicking operation, reads the corresponding screen letter of coordinate data of this tracing point, reads simultaneously the corresponding vocabulary of this letter, and user selection is inputted in advance vocabulary and finished input.For example: input Chinese " ", its phonetic only comprises a letter " a ", and its input mode is for clicking screen letter " a " operation, and the pretreated track of process only comprises the data of a point, the corresponding screen letter of the coordinate data of this point " a ".
Step 22, system extracts unique point according to the track that swipes that obtains, unique point comprises starting point and turns to point, and, the starting point letter, the corresponding letter of direction sequentially (successively forming between adjacent two unique points) (secondary letter, be divided into the secondary letter, three grades of letters ... .) and each sequential letter of input Pinyin is corresponding one by one in advance, for example: the position (starting point) of the initial of the pre-input Pinyin of first unique point respective user on screen, first, the position of secondary letter on screen of the pre-input Pinyin of direction respective user between Second Characteristic point, second, three grades of letter positions on screen of the pre-input Pinyin of direction respective user between the 3rd unique point, the rest may be inferred.Described feature point extraction is in the following way: calculate successively and judge whether the direction between adjacent track point undergos mutation, and is unique point if preserve these tracing point data, otherwise filter out this tracing point data, continue to take off a tracing point and calculate; For example: read successively first and second data, calculate the direction value of this point-to-point transmission, and then get thirdly, calculate the direction between second, third point, judge whether the direction between first, second point has sudden change.If direction is not undergone mutation, then second point is filtered out, thirdly become second point, recomputate the direction of first, second point, then from storer, taking off some continuation calculating; If direction has sudden change, preserve first, second, third data this moment, continue to take off a bit and calculate.Method successively until all tracing points take, and is preserved the last point data.
Step 23, system calculates the successively direction of adjacent two unique points successively, the foundation zone of foundation take direction as variable element, obtain the phonetic arranged by letter in starting point letter, sequentially the foundation zone, such as existing spelling commonly used, intelligent AB etc. of described pinyin combinations rule according to the pinyin combinations rule.Described step 23 further comprises:
Step 231 reads first characteristic point data and judges alphabetical S first of user's input
1, read phonetic
Initial is S in the monogram table
1All phonetics;
Step 232 is set up the foundation zone take direction as variable element;
Step 233 judges sequentially whether each secondary letter of phonetic is positioned at the correspondence establishment zone, filters out secondary letter and is positioned at the extra-regional phonetic of correspondence establishment; Perhaps, whether the secondary letter of sequentially judging phonetic is positioned at is set up area region, if it is keeps phonetic corresponding to this secondary letter, otherwise filters phonetic corresponding to this secondary letter;
Step 234 judges whether that unique point is desirable in addition, if having, then execution in step 232, otherwise execution in step 24;
Step 24, calculated characteristics point quantity, filter out the phonetic that phonetic length (such as spelling letter number) is not equal to unique point quantity, obtain one or more phonetic, read vocabulary corresponding to phonetic and carry out sequencing display in the candidate word hurdle according to the input word frequency from dictionary, the user clicks pre-input Pinyin and finishes Pinyin Input.
Among the present embodiment: described foundation zone is sector region, default error angle, line, the sector region take the first unique point of this direction as the angle point, take the error angle as angle are as setting up the zone centered by direction in foundation, and for example the specification error angle is 30 degree, then each 15 degree of direction two sides.But not as limit, also can adopt alternate manner as required, for example: setting up zone be the parallelogram zone, and it is line centered by direction, and with the default error spacing of the center line sidesway line that is limited, the zone between two limit lines of formation is regional for foundation.
Understand the present invention for the ease of the auditor, lower mask body describes for an example, user's input Pinyin chen for example, and it comprises:
Step 10, the electronic equipment touch-screen shows the qwerty keyboard layout;
Step 20 is please referred to Fig. 2,3,4,5, the user by direction shown in Fig. 2,3,4,5 from " c " the initial track that skids off;
Step 21, system is with constant duration Gather and input track, for example: sample frequency is set to 100Hz, will carry out pre-service through the original sliding trace data that collect simultaneously, filter out wherein impure point and repeat a little.
Step 22 is please referred to Fig. 6, and Fig. 6 (a) is depicted as user's sliding trace, and Fig. 6 (b) is for system's impurity screening point with the point-like track that obtains after repeating a little, and Fig. 6 (c) is for through the track behind the feature point extraction.
Wherein, the position of initial " c " on screen of the pre-input Pinyin of first unique point respective user, secondary letter " h " position on screen of the pre-input Pinyin of direction respective user between first, second unique point, the position of three grades of letters " e " on screen of the pre-input Pinyin of direction respective user between second, third unique point, the 3rd, the level Four letter " n " of the pre-input Pinyin of direction respective user between four characteristic points.
Step 23, system be the monogram relation recognition user input Pinyin in the vector between calculated characteristics point and the pinyin combinations table sequentially.Specifically comprise the steps:
Step 231 reads first data from the unique point storer, judge the letter of user selection " c ";
Step 232 according to letter " c ", reads initial in the phonetic alphabet combination table and is all phonetics of " c ";
Step 233, system be the direction between calculated characteristics point and set up sector region successively, filters out successively secondary letter " a, e ", three grades of letters " a, u, i, o, n ", and the level Four letter can filter without letter.The phonetic database that finally obtains comprises " chen ", " cheng ".
Step 234, calculated characteristics point quantity equals 4, filters out the phonetic " cheng " that is uneven in length in 4, preserves the phonetic " chen " that length equals 4.
Step 235 reads vocabulary corresponding to phonetic " chen " and carries out sequencing display in the candidate word hurdle according to the input word frequency, and the user clicks pre-input vocabulary and finishes input.
The above, only for preferred embodiment of the present invention, so can not limit according to this scope of the invention process, the equivalence of namely doing according to claim of the present invention and description changes and modifies, and all should still belong in the scope that the present invention contains.
Claims (4)
1. sliding pinyin input method based on touch panel device, it is characterized in that: it comprises:
Step 1, the electronic equipment touch-screen shows each phonetic alphabet;
Step 2, obtain the track that swipes that the user slides at touch-screen, from the track that swipes, extract unique point, unique point comprises starting point and turns to point, calculate the direction between adjacent two unique points of every priority, set up the foundation zone take direction as variable element, obtain the more than one phonetic of arranging by the interior letter in foundation zone alphabetical, sequentially of starting point according to the pinyin combinations rule, read dictionary corresponding to phonetic, click pre-input vocabulary and finish input; Described step 2 comprises:
Step 21 is obtained the user at the track that swipes of touch-screen;
Step 22 extracts unique point according to the track that swipes that obtains;
Step 23, the direction of adjacent two unique points of sequentially calculating priority is set up the foundation zone take direction as variable element, obtains the phonetic of arranging by the regional interior letter of the foundation alphabetical, sequentially of starting point according to the pinyin combinations rule;
Step 24, calculated characteristics point quantity filters out phonetic and is uneven in length in the phonetic of unique point quantity, obtains more than one phonetic, reads dictionary corresponding to phonetic, clicks pre-input vocabulary and finishes input.
2. a kind of sliding pinyin input method based on touch panel device according to claim 1, it is characterized in that: described step 21 comprises:
Step 211 judges and calculates the track data that obtains whether only comprise some data, and if it is execution in step 212, otherwise execution in step 22;
Step 212, the corresponding screen of coordinate data that reads this tracing point is alphabetical, reads the corresponding vocabulary of this letter again, and the user clicks pre-input vocabulary and finishes input.
3. a kind of sliding pinyin input method based on touch panel device according to claim 1, it is characterized in that: described step 22, sequentially calculate and judge whether the direction between adjacent track point undergos mutation, if it is preserving these tracing point data is unique point, otherwise filter out this tracing point data, and continue to take off a tracing point and calculate.
4. a kind of sliding pinyin input method based on touch panel device according to claim 1, it is characterized in that: described step 23 comprises:
Step 231 reads first characteristic point data and judges alphabetical S first of user's input
1, read that initial is S in the phonetic alphabet combination table
1All phonetics;
Step 232 is set up the foundation zone take direction as variable element;
Step 233, whether the secondary letter of sequentially judging phonetic is positioned at is set up the zone, filters out secondary letter and is positioned at and sets up extra-regional phonetic;
Step 234, repeating step 232 until all unique points take.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110132659 CN102207824B (en) | 2011-05-23 | 2011-05-23 | Sliding pinyin input method based on touch screen device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110132659 CN102207824B (en) | 2011-05-23 | 2011-05-23 | Sliding pinyin input method based on touch screen device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102207824A CN102207824A (en) | 2011-10-05 |
CN102207824B true CN102207824B (en) | 2013-01-16 |
Family
ID=44696683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110132659 Expired - Fee Related CN102207824B (en) | 2011-05-23 | 2011-05-23 | Sliding pinyin input method based on touch screen device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102207824B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102520804A (en) * | 2011-12-08 | 2012-06-27 | 周志农 | Touch screen soft keyboard and input method |
CN102693090B (en) * | 2012-05-16 | 2014-06-11 | 刘炳林 | Input method and electronic device |
CN102722335B (en) * | 2012-06-08 | 2016-06-29 | 深圳Tcl新技术有限公司 | A kind of remote slide input method based on touch apparatus and device |
CN104102438B (en) * | 2013-04-08 | 2018-03-09 | 储振华 | A kind of Chinese character pinyin input method based on touch panel device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1252551A (en) * | 1998-10-27 | 2000-05-10 | 三星电子株式会社 | Method and apparatus for selecting in screen menu |
CN1637686A (en) * | 2004-01-06 | 2005-07-13 | 国际商业机器公司 | System and method for improved user input on personal computing devices |
CN101667092A (en) * | 2008-05-15 | 2010-03-10 | 杭州惠道科技有限公司 | Human-computer interface for predicting user input in real time |
CN101943996A (en) * | 2010-09-13 | 2011-01-12 | 广东国笔科技股份有限公司 | Touch screen virtual keyboard-based screen scribing input system and method |
-
2011
- 2011-05-23 CN CN 201110132659 patent/CN102207824B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1252551A (en) * | 1998-10-27 | 2000-05-10 | 三星电子株式会社 | Method and apparatus for selecting in screen menu |
CN1637686A (en) * | 2004-01-06 | 2005-07-13 | 国际商业机器公司 | System and method for improved user input on personal computing devices |
EP1555601A2 (en) * | 2004-01-06 | 2005-07-20 | International Business Machines Corporation | System and method for improved user input on personal computing devices |
CN101667092A (en) * | 2008-05-15 | 2010-03-10 | 杭州惠道科技有限公司 | Human-computer interface for predicting user input in real time |
CN101943996A (en) * | 2010-09-13 | 2011-01-12 | 广东国笔科技股份有限公司 | Touch screen virtual keyboard-based screen scribing input system and method |
Also Published As
Publication number | Publication date |
---|---|
CN102207824A (en) | 2011-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190087084A1 (en) | User-centric soft keyboard predictive technologies | |
EP2650766B1 (en) | Multi-character continuous handwriting input method | |
EP2698692B1 (en) | System and method for implementing sliding input of text based upon on-screen soft keyboard on electronic equipment | |
US9696873B2 (en) | System and method for processing sliding operations on portable terminal devices | |
CN104346067B (en) | The method and system of continuously slipping input word | |
EP2837994A2 (en) | Methods and devices for providing predicted words for textual input | |
US20180300542A1 (en) | Drawing emojis for insertion into electronic text-based messages | |
CN103777774B (en) | The word error correction method of terminal installation and input method | |
CN101620480A (en) | Method for realizing handwritten stroke input on touch screen | |
CN102193736A (en) | Input method and system supporting multimode automatic switching | |
CN100555312C (en) | Utilize charcter topology information to carry out the method and apparatus of the handwriting recognition of aftertreatment | |
CN101276249A (en) | Method and device for forecasting and discriminating hand-written characters | |
WO2016107317A1 (en) | Method and device for input method cursor operation | |
CN103365573A (en) | Method and device for identifying multi-key input characters | |
CN102467319A (en) | Handwriting Chinese character input method and system | |
CN102207824B (en) | Sliding pinyin input method based on touch screen device | |
CN102063620A (en) | Handwriting identification method, system and terminal | |
CN101149806A (en) | Method and device for hand writing identification post treatment using context information | |
CN102243708B (en) | Handwriting recognition method, handwriting recognition system and handwriting recognition terminal | |
CN103019590A (en) | Method, client side and system for inputting handwriting characters and character strings | |
CN101281449A (en) | Hand-written character recognizing method and system | |
CN104346052A (en) | Method and device for Chinese characters input | |
CN104077268A (en) | Shaping device | |
CN104035551A (en) | Input method and electronic device | |
CN1991743A (en) | Method and device for voice input method |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130116 Termination date: 20150523 |
|
EXPY | Termination of patent right or utility model |