[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101561725B - Method and system of fast handwriting input - Google Patents

Method and system of fast handwriting input Download PDF

Info

Publication number
CN101561725B
CN101561725B CN2008101042167A CN200810104216A CN101561725B CN 101561725 B CN101561725 B CN 101561725B CN 2008101042167 A CN2008101042167 A CN 2008101042167A CN 200810104216 A CN200810104216 A CN 200810104216A CN 101561725 B CN101561725 B CN 101561725B
Authority
CN
China
Prior art keywords
track
value
coordinate
maximum value
handwriting
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
CN2008101042167A
Other languages
Chinese (zh)
Other versions
CN101561725A (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.)
Hanwang Technology Co Ltd
Original Assignee
Hanwang Technology 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 Hanwang Technology Co Ltd filed Critical Hanwang Technology Co Ltd
Priority to CN2008101042167A priority Critical patent/CN101561725B/en
Publication of CN101561725A publication Critical patent/CN101561725A/en
Application granted granted Critical
Publication of CN101561725B publication Critical patent/CN101561725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Discrimination (AREA)

Abstract

The invention provides a method of fast handwriting input, which comprises the steps: receiving handwriting information of a user; judging whether the handwriting information comprises predetermined trigger marks or not; if yes, identifying the handwriting information corresponding to the trigger marks; according to an identifying result, acquiring bulk information corresponding to the identifyingresult from a preset mapping table; using the mapping table to store all identification characters and bulk information corresponding to the identification characters; and outputting the bulk informa tion. The invention distinguishes the identification characters from common characters by means of the trigger marks, so the user can freely set marks which are familiar to the user or are convenient for memorization without avoiding the common characters(for instance, a key word can represent a long sentence or a related command, and the like), therefore, the invention can greatly relieve the memory burden of the user, enlarges applicable occasions of mark transformation and further improves the efficiency of the handwriting input of the user.

Description

A kind of method and system of hand-written quick input
Technical field
The present invention relates to computerized information input processing technology field, particularly relate to a kind of method and system that is used for the hand-written quick input on the electronic equipment.
Background technology
In recent years, along with the use of hand-written electric equipment is more and more universal, for example PDA (personal digital assistant), mobile phone, HPC (Hand Personal Computer) etc., it is more and more important that the hand-writing input method that arises at the historic moment with it also becomes.Though it is the input method kind in these electronic equipments is very many in the market,, also more and more higher to the requirement of hand-writing input method along with people need import and the increasing of process information amount.
Hand-writing input method on the present market in the various electronic equipments, generally need the user on the hand input device (as touch-screen) of equipment, to write each character in regular turn, just can identify corresponding individual character, word or short sentence, the most basic this handwriting input mode, its maximum defective is that recognition speed is slow, after user writing is finished, input method needs the pause in several seconds just can provide recognition result, in addition because hand-writing input method also relates to the problem of recognition accuracy, so the user also needs to spend the extra time and goes to correct mistakes; Therefore, this type of common handwriting input mode, its efficiency ratio is lower.
In order to improve the input efficiency of hand-writing input method, prior art has also proposed some solutions, for example, the Chinese patent publication number is that the patent document of CN1372182 discloses a kind of quick hand-writing input method, this input method mainly is the simple identification (as stroke or special symbol) that the user is write on a handwriting device, and appearance (as name, phrase or phrase or the like) within importing identifying, change and be stored on the storage device automatically; When this handwriting device is intercepted the user and is imported this sign once more, this sign and the sign that has been stored in this storage device can be compared, as conform to, then will identify the real content output that is replaced, so, can reach and use less stroke or certain special symbol, input the purpose of name, phrase, long sentence or password fast.
Under situation about having, the person's handwriting of user's handwriting input can also be used to call the corresponding function order, for example, the Chinese patent publication number is that the patent document of CN101118471A discloses a kind of system that utilizes self-defined hand-written symbol to carry out function, this system comprises: at least one hand-written symbol registering unit is used for the function of self-defining hand-written symbol of registered user and the user appointment corresponding with this symbol; With at least one hand-written symbol recognition unit, be used to read the hand-written symbol of user's input, and discern according to the user-defined hand-written symbol of hand-written symbol that reads and the registration of described hand-written symbol registering unit; With a performance element, be used for if the unanimity as a result of above-mentioned identification, the then corresponding function of registered hand-written symbol in startup and the described hand-written symbol registering unit.By this system, the user can be according to custom and the hobby of oneself, and oneself definition hand-written symbol and function that itself and oneself are often used are associated.
Above-mentioned solution allows the user that some information that need import (as long sentence, phrase etc.) or the order that need call, function etc. are defined as some simple identification (or symbol), the user is when these contents of input like this, only need write its corresponding identification, input method can be identified as it corresponding long sentence or corresponding command functions.Though this quick input mode accurately, fast, but because its sign that allows to use generally all is simple stroke or special symbol, when the user had defined too much sign or do not used this user-defined identification for a long time, the user was easy to forget or obscure the content of this sign representative.Secondly, the sign that sets as the user and common language comparatively near the time because handwriting tracks is more random, system is difficult to definite user and wishes identification character or the common language imported therefore, can have the identification error between identification character and the common language.
In a word, need the urgent technical matters that solves of those skilled in the art to be exactly: how can the creationary solution that proposes the hand-written quick input of another kind, can allow user's handwriting input fast, easily obtain required content, and reduce the memory burden of user identification character.
Summary of the invention
Technical matters to be solved by this invention provides a kind of solution of hand-written quick input, can allow the user finish input fast, easily, and reduces user's memory burden.
In order to address the above problem, the invention discloses a kind of method of hand-written quick input, can comprise: the handwriting information that receives the user; Judge whether described handwriting information comprises the preset trigger mark; If then discern at described triggered mark handwriting information pointed; According to this recognition result, from preset mapping table, obtain and this recognition result bulk information corresponding; Described mapping table is used to store each identification character and corresponding bulk information thereof; Export described bulk information.
Preferably, described preset trigger is labeled as an outside of finishing and surrounds line, the person's handwriting of handwriting information for being surrounded by this encirclement line that described triggered mark is pointed.
Preferably, when described bulk information is text message, send described bulk information to the text editing district; Described text message comprises long sentence, long word, phrase or special symbol.
Preferably, when described bulk information is command execution information, send described bulk information, to carry out corresponding function to the corresponding interface.
Preferably, when described preset trigger is labeled as an outside encirclement line of finishing, finish in the following manner surrounding the judgement of line: obtain the specific track in the described handwriting information; A described specific track is the first stroke track or finishing touch track; Obtain the X coordinate maximum value and the minimal value of a described specific track, Y coordinate maximum value and minimal value; Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value; The coordinate extreme value of a more above-mentioned specific track and other stroke track; If the X coordinate extreme value of described other stroke track is all between the X of described specific track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track all between the Y of described specific track coordinate maximum value and minimal value, determines that then a described specific track is that the outside surrounds line.
Preferably, when described preset trigger is labeled as an outside encirclement line of finishing, finish in the following manner surrounding the judgement of line: obtain the first stroke track in the described handwriting information; Obtain the X coordinate maximum value and the minimal value of described the first stroke track, Y coordinate maximum value and minimal value; Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value; The coordinate extreme value of more above-mentioned the first stroke track and other stroke track; If the X coordinate extreme value of described other stroke track is all between the X of described the first stroke track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track is all between the Y of described the first stroke track coordinate maximum value and minimal value, determine that then described the first stroke track is that the outside surrounds line, finishes to judge; Otherwise, continue to obtain the next record track, repeat above-mentioned determining step, up to the judgement of finishing the finishing touch track, finish.
Preferably, described method can also comprise: the user-defined identification character and the corresponding bulk information thereof that receive user's input; In mapping table, upgrade or add a data recording.
Preferably, described identification character is the same-language literal abbreviation of corresponding bulk information; Perhaps, described identification character is other spoken and written languages abbreviations of corresponding bulk information.
According to another embodiment of the present invention, a kind of system of hand-written quick input is also disclosed, comprising:
Interface unit is used to receive user's handwriting information;
The triggered mark identifying unit is used to judge whether described handwriting information comprises the preset trigger mark; If then notify the person's handwriting recognition unit to discern at described triggered mark handwriting information pointed;
The person's handwriting recognition unit is used to finish person's handwriting identification, obtains recognition result;
Converting unit is used for according to this recognition result, obtains from preset mapping table and this recognition result bulk information corresponding; Described mapping table is used to store each identification character and corresponding bulk information thereof;
Output unit is used to export described bulk information.
Preferably, described preset trigger is labeled as an outside of finishing and surrounds line, the person's handwriting of handwriting information for being surrounded by this encirclement line that described triggered mark is pointed.
Preferably, when described preset trigger was labeled as an outside encirclement line of finishing, described triggered mark identifying unit further comprised:
The track acquisition module is used for obtaining the specific track of described handwriting information; A described specific track is the first stroke track or finishing touch track;
Coordinate extreme value acquisition module is used to obtain the X coordinate maximum value and the minimal value of a described specific track, Y coordinate maximum value and minimal value; Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value;
Compare determination module, be used for the coordinate extreme value of a more above-mentioned specific track and other stroke track; If the X coordinate extreme value of described other stroke track is all between the X of described specific track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track all between the Y of described specific track coordinate maximum value and minimal value, determines that then a described specific track is that the outside surrounds line.
Preferably, when described preset trigger was labeled as an outside encirclement line of finishing, described triggered mark identifying unit further comprised:
The track acquisition module is used for obtaining the first stroke track of described handwriting information;
Coordinate extreme value acquisition module is used to obtain the X coordinate maximum value and the minimal value of described the first stroke track, Y coordinate maximum value and minimal value; Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value;
Compare determination module, be used for the coordinate extreme value of more above-mentioned the first stroke track and other stroke track; If the X coordinate extreme value of described other stroke track is all between the X of described the first stroke track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track is all between the Y of described the first stroke track coordinate maximum value and minimal value, determine that then described the first stroke track is that the outside surrounds line, finishes to judge; Otherwise, notify described track acquisition module to continue to obtain the next record track, until the finishing touch track.
Preferably, described system can also comprise: the identification character administrative unit, be used to receive the user-defined identification character and the corresponding bulk information thereof of user's input, and in mapping table, upgrade or add a data recording.
Compared with prior art, the present invention has the following advantages:
Because it is (preferred that the present invention adopts the mode of triggered mark that sign is indicated, the mode of surrounding by curve is wrapped in sign in the described curve), therefore, when recognition system detects this triggered mark of existence, determine that then this triggered mark handwriting pointed belongs to the sign of needs conversion; According to presetting mapping table this sign is converted to required long sentence or other information (as command function etc.) then.
At first, because the present invention is by the mode of triggered mark, identification character and common language are made a distinction, thereby the user can freely set own sign that be familiar with or that be convenient to remember, and (for example need not to avoid common language, can represent long sentence or related command or the like with keyword), therefore, the present invention can reduce the user greatly and remember burden, enlarge the applicable situation of sign conversion, thereby further improve the efficient of user's handwriting input.
Secondly,, therefore, can there be the identification error between sign and the common language, have improved the recognition accuracy of sign conversion because the present invention by the mode of triggered mark, will identify and the common language input makes a distinction.
Description of drawings
Fig. 1 is the flow chart of steps of the method embodiment of a kind of hand-written quick input of the present invention;
Fig. 2 is a kind of example flow diagram of judging the encirclement line from handwriting of the present invention;
Fig. 3 is the coordinate synoptic diagram when adopting judgement embodiment illustrated in fig. 2 to surround line;
Fig. 4 A-Fig. 4 D is the contrast synoptic diagram of handwriting and output information in the specific embodiment;
Fig. 5 is the example flow diagram of identification zone circle character in the specific embodiment;
Fig. 6 is an example flow diagram of obtaining the corresponding replacement of identification character in the specific embodiment;
Fig. 7 is the interface synoptic diagram of management identification character information in the specific embodiment;
Fig. 8 is the structured flowchart of the system embodiment of a kind of hand-written quick input of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The present invention can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module can comprise the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.
The invention belongs to a kind of special quick hand-writing input method, its core idea be with some long sentences, special symbol or command function pre-defined simple for some, be convenient to character or the entry (hereinafter referred to as identification character) remembering and manage; When the user prepares to import these long sentences (or special symbol, command function etc.) once more, only need its corresponding simple characters of handwriting input, and the handwriting input triggered mark (as, draw an outside and surround line); During identification, the character script that system then points to this triggered mark is searched comparison as identification character presetting mapping table, as conforms to, then with replacement (or order) output of this identification character correspondence.So, can reach, to realize importing in batches the purpose of long sentence (or special symbol, particular command etc.) by the less character of handwriting input.
With reference to Fig. 1, show the method preferred embodiment of a kind of hand-written quick input of the present invention, can may further comprise the steps:
Step 101, reception user's handwriting information.
Step 102, judge whether described handwriting information comprises the preset trigger mark;
Step 103 is if then discern at described triggered mark handwriting information pointed;
Triggered mark of the present invention can be set according to actual conditions by those skilled in the art, for example, adopts underscore, double underline or the like, as long as can be convenient to identification.Handwriting input for spoken and written languages such as English, triggered mark such as underscore or double underline is to be suitable for fully, but handwriting input for spoken and written languages such as Chinese, because this triggered mark might be mixed mutually with some stroke of literal, so the present invention proposes a more preferred embodiment.
In the preferred embodiment, described preset trigger is labeled as an outside of finishing and surrounds line, the person's handwriting of handwriting information for being surrounded by this encirclement line that described triggered mark is pointed.Concrete step 102 and 103 can be transformed to: judge whether described handwriting information comprises that an outside of finishing surrounds line; If then discern at the person's handwriting that is surrounded by this encirclement line.
Whether the present invention does not need qualification to surround line accurately closed, also do not need to limit the concrete shape of surrounding line, needs only in fact to have the characteristic of surrounding.For example, described encirclement line can also can be rectangle or triangle or the like for the curve of circular, oval or similar circle.
Certainly, surround line if do not comprise an outside of finishing in the handwriting information that is received, what illustrate then that the user imports is not sign, but common language information gets final product so directly carry out the identification of common person's handwriting.But in fact, the present invention also is indifferent to: when not comprising an outside encirclement line of finishing in the handwriting information, specifically how to carry out follow-up flow process; For example, can directly finish.
Step 104, according to this recognition result, from described preset mapping table, obtain and this recognition result bulk information corresponding; Described mapping table is used to store each identification character and corresponding bulk information thereof.
Step 105, export described bulk information.
Bulk information described in the present embodiment can comprise long sentence, long word, phrase or special symbol or the like, and described bulk information to the text editing district of step 105 transmission at this moment gets final product.
In another preferred embodiment of the present invention, described bulk information also can be various command functions, as, enter a new line, delete, copy, paste, duplicate, shearing etc.; Perhaps start certain application program, carry out computing function or the like.Certainly, in this embodiment, step 105 just need be sent to the corresponding interface with described bulk information, to carry out the corresponding function order.
In a word, the present invention does not need to limit the concrete form of bulk information, substitutes corresponding bulk information as long as the user thinks by identification character, can improve the input efficiency of oneself, and then the user just can self-defined required identification character and corresponding bulk information thereof.
In addition, need to prove that the present invention does not need to limit the concrete form of identification character yet, described identification character is as long as in the character set scope that recognition engine can be discerned; If the user remembers for convenience, also can adopt the mode of abbreviation, as, identification character " Chinese king " correspondence " Hanwang Technology Co., Ltd " or the like.Described abbreviation can belong to the same-language literal with corresponding bulk information, also can be different spoken and written languages, as, identification character " Chinese king " correspondence " Hanwang Technology Co, Ltd. " etc., the former is a Chinese, the latter is English full name.
Preferably, in order to satisfy the management of user to data in the mapping table, embodiment shown in Figure 1 can also comprise following preferred steps: the user-defined identification character and the corresponding bulk information thereof that receive user's input; In mapping table, upgrade or add a data recording.By the management of User Defined mode, can obtain personalized mapping table, to satisfy user's individual demand at the active user.
The triggered mark that adopts the outside to surround line in the preferred embodiment of the present invention can better be adapted to various spoken and written languages, and relatively is fit to people's use habit.Because for the triggered mark of types such as underscore, identification is got up than being easier to, and the identification of surrounding line for outside difficulty relatively is that example is elaborated so all adopts outside encirclement line in the following examples.
The present invention can judge whether described handwriting information comprises that an outside of finishing surrounds line, simply introduces it below by several concrete examples by various feasible modes.Those skilled in the art can adopt suitable scheme according to actual needs and experience.
Example 1
Referring to Fig. 2, this example can be finished in the following manner to surrounding the judgement of line:
Step 201, obtain the specific track in the described handwriting information; A described specific track is the first stroke track or finishing touch track;
Step 202, obtain the X coordinate maximum value and the minimal value of a described specific track, Y coordinate maximum value and minimal value;
Step 203, obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value;
The coordinate extreme value of step 204, a more above-mentioned specific track and other stroke track; If the X coordinate extreme value of described other stroke track is all between the X of described specific track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track all between the Y of described specific track coordinate maximum value and minimal value, determines that then a described specific track is that the outside surrounds line.
With reference to Fig. 3, show the coordinate synoptic diagram when relatively determining to surround line.Adopt X among Fig. 3 Fir_left, X Fir_right, Y Fir_top, Y Fir_bottomX coordinate minimal value and the maximum value of representing the first stroke track respectively, Y coordinate maximum value and minimal value; X Other_left, X Other_right, Y Other_top, Y Other_bottomX coordinate minimal value and the maximum value of representing other stroke track respectively, Y coordinate maximum value and minimal value.
If set input rule be: write the encirclement line earlier, write identification character again; Then, this example can only judge whether the first stroke track is that outside encirclement line gets final product.If set input rule be: write identification character earlier, write the encirclement line again; Then, this example can only judge whether the finishing touch track is that outside encirclement line gets final product.
Because what user's input habit was general is exactly above-mentioned two kinds, if so under the situation of not setting input rule, can judge earlier whether the first stroke track is that the outside surrounds line, judge again whether the finishing touch track is that the outside surrounds line, to satisfy most of user's input habit.Certainly, the present invention does not need to limit concrete priority judgement order; Preferably, can determine by statistics user's input habit, as, suppose to write the encirclement line after most of user gets used to, judge earlier then whether the finishing touch track is that the outside surrounds line, to raise the efficiency.
Example 2
This example can be finished in the following manner to surrounding the judgement of line:
Obtain the first stroke track in the described handwriting information;
Obtain the X coordinate maximum value and the minimal value of described the first stroke track, Y coordinate maximum value and minimal value;
Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value;
The coordinate extreme value of more above-mentioned the first stroke track and other stroke track;
If the X coordinate extreme value of described other stroke track is all between the X of described the first stroke track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track is all between the Y of described the first stroke track coordinate maximum value and minimal value, determine that then described the first stroke track is that the outside surrounds line, finishes to judge;
Otherwise, continue to obtain the next record track, repeat above-mentioned determining step, up to the judgement of finishing the finishing touch track, finish.
Example 2 is for example 1, and the key distinction is one by one stroke track to be judged.Because it need all judge that so its efficient is lower, but it can satisfy user's various input habits, does not need to set input rule to each stroke track, improve user's experience.
Example 3
This example can be finished in the following manner to surrounding the judgement of line: the curve regions of obtaining the first stroke track or finishing touch track is (if not closed; can virtual closure); whether statistics has the coordinate points of other stroke track to drop on outside the above-mentioned zone then; if no, determine that then this first stroke track or finishing touch track are for surrounding line.
Provide a specific embodiment below, the present invention is further illustrated.
In advance " Hanwang Technology Co., Ltd " is defined as identification character " Chinese king ", like this when the user needs often to import such long sentence under the text editing state, only need on hand input device, to write " Chinese king ", and draw one and surround line, encase " Chinese king " (being designated hereinafter simply as the zone circle character) (referring to accompanying drawing 4A); When system detect surround line after, its character identification result " Chinese king " can be inquired about in mapping table as identification character, and be converted to " Hanwang Technology Co., Ltd " and be sent to text editing district (referring to accompanying drawing 4B).Do not surround line (referring to accompanying drawing 4C) if when handwriting input, draw, then directly its recognition result " Chinese king " is sent to text editing district (referring to accompanying drawing 4D).
Its concrete internal technology implementation procedure can be divided into following three parts: the management of the identification of zone circle character, the transmission of recognition result and identification character.
(1) identification of zone circle character (referring to Fig. 5)
Step 501, gather and obtain the character script of the hand input device input of user by electronic equipment;
Step 502, judge whether the character script obtain is besieged, the person's handwriting that gets access to is detected and classifies, if character script is besieged, then this person's handwriting is peeled off out from the curve that surrounds, and this person's handwriting note is gone up mark (flag=1); Otherwise be designated as default label (flag=0);
Step 503, identification character person's handwriting, and the mark in the person's handwriting (flag) parameter information passed to recognition result.Be that recognition result also has identical mark (flag) parameter information.
Because the character script that the user writes is made up of some strokes, and described envelope curve is one maximum in the person's handwriting, and this curve may be the first stroke in the person's handwriting, also may be the finishing touch in the person's handwriting.Therefore when whether the character script obtained in judgement of present embodiment is besieged, can adopt any or combination in following two kinds of situations to judge:
Situation (1)
If drawing earlier, the user surrounds line, written character then extracts four extreme points (Xfir_left, Xfir_right, Yfir_top, Yfir_bottom) of the first stroke track in the person's handwriting and four extreme points (Xother_left, Xother_right, Yother_top, Yother_bottom) that all the other stroke track distribute respectively again.In the present embodiment, they are respectively: the going up point most, descend point most of this stroke track, the most left point, the rightest point.If four extreme points of all the other stroke track satisfy: Xfir_left<Xother_left, Xfir_right>Xother_right, Yfir_top>Yother_top, Yfir_bottom<Yother_bottom illustrates that then the character script of writing is besieged.Dismiss the first stroke stroke data in the person's handwriting, character script can be separated from the curve that surrounds and be used as identification character and discern.
Situation (2)
If user elder generation written character, the back is drawn and is surrounded line, then extracts four extreme points (Xlast_left, Xlast_right, Ylast_top, Ylast_bottom) of finishing touch track in the person's handwriting and four extreme points (Xother_left, Xother_right, Yother_top, Yother_bottom) of all the other stroke track respectively.Similar with the decision criteria of situation (1), if Xlast_left<Xother_left, Xlast_right>Xother_right, Ylast_top>Yother_top, Ylast_bottom<Yother_bottom illustrates that then the character script of writing is besieged.Dismiss finishing touch stroke data in the person's handwriting, character script can be separated from the curve that surrounds and be used as identification character and discern.
(2) transmission of recognition result
The present invention need do some special processings to recognition result, its processing procedure following (referring to Fig. 6) before sending recognition data to the text editing application program:
Step 601, obtain recognition result;
The flag data message of the recognition result that step 602, detection are obtained its objective is for distinguishing identifier character and non-identification character.If flag=1 shows that this recognition result belongs to identification character, then change next step over to, further process; Otherwise, belonging to non-identification character (being common character), its recognition result can directly be sent to the text editing zone in the application program;
Step 603, read in advance the data message in the mapping table of setting up, record the replacement of identification character and correspondence thereof in this table.In the specific implementation process, can be at the inner character information of creating the file of an xml form as shown below in order to record and read-write user definition of program, in this document,<Dictionary〉comprised the information of all identification characters in the element (being the identification character data bank), each identification character is all by<Item〉unit usually describes, and each<Item〉the nested description<Defined-char in the element〉and<Content〉element, they represent identification character and corresponding replacement thereof respectively, therefore only need promptly to can read the identification character information that stores in this data file according to some specified standard methods.The file of concrete xml form is as follows:
<?xml?version=“1.0”?>
<Dictionary>
<Item>
<Defined-char〉Chinese king</Defined-char 〉
<Content〉Hanwang Technology Co., Ltd</Content 〉
</Item>
<Item>
<Defined-char〉smile</Defined-char 〉
<Content>^_^^_^^</Content>
</Item>
</Dictionary>
Step 604, search the identification character that writes down in the above-mentioned mapping table, as conform to, then the replacement of this identification character correspondence is sent to the text editing zone in the application program.
(3) management of identification character
Increase for the convenience of the users, delete and revise identification character in the mapping table (being the xml file in this example), the present invention can load the character information that is stored in the xml file, and mode to tabulate, be shown on the hand-writing input method Application Program Interface, so that the user checks and selects that the list box that this interface provides can show all identification character data (referring to Fig. 7) of storing in the xml file.
When the user increased new identification character, input method also can provide corresponding interface that the identification character and the replacement thereof of user's definition are passed to internal system; To travel through owning<Item in the xml file during program internal operation〉node, search and mate, as with a certain nodal information in<Defined-char the information described of element conforms to, then upgrade in this node<Content〉element " replacement " described; As the match information that does not conform to, then create and add a new node<Item, give each corresponding in new node element with the data of user's input.
When the user need delete and revise a certain identification character that shows in the list box, input method will at first be obtained the information of its corresponding node according to the index value of this identification character; If the user wants to delete this identification character, then this identification character of the inner deletion of program corresponding in the xml file<Item data message; If the user wants to revise the existing information of this identification character, then program is inner upgrades this node<Item with new data message (being the modification information that the user imports)〉in data message.
In addition, the mode of the xml file storage identification character information that is adopted in present embodiment, the present invention can also adopt alternative document form or memory storage to come the record identification character information.
Referring to Fig. 8, show the system embodiment of a kind of hand-written quick input of the present invention, can comprise:
Interface unit 801 is used to receive user's handwriting information; For example, handwriting screen is exactly a kind of common interface unit equipment;
Triggered mark identifying unit 802 is used to judge whether described handwriting information comprises the preset trigger mark; If then notify the person's handwriting recognition unit to discern at described triggered mark handwriting information pointed;
Person's handwriting recognition unit 803 is used to finish person's handwriting identification, obtains recognition result;
Converting unit 804 is used for according to this recognition result, obtains and this recognition result bulk information corresponding from described preset mapping table 807; Described mapping table 807 is used to store each identification character and corresponding bulk information thereof;
Output unit 805 is used to export described bulk information.
In a preferred embodiment of the invention, preset trigger described in the described embodiment of Fig. 8 is labeled as an outside of finishing and surrounds line, the person's handwriting of handwriting information for being surrounded by this encirclement line that described triggered mark is pointed.Concrete triggered mark identifying unit 802 can be used to judge whether described handwriting information comprises that an outside of finishing surrounds line; If then notify the person's handwriting recognition unit to discern at the person's handwriting that is surrounded by this encirclement line.
In a preferred embodiment of the invention, the described embodiment of Fig. 8 can also comprise: identification character administrative unit 806, be used to receive the user-defined identification character and the corresponding bulk information thereof of user's input, in mapping table 807, upgrade or add a data recording.
Generally speaking,, then can notify 803 pairs of whole handwritings of person's handwriting recognition unit to discern, be about to it and discern as common language if triggered mark identifying unit 802 does not find triggered mark.
In another preferred embodiment of the present invention, when described preset trigger was labeled as an outside encirclement line of finishing, described triggered mark identifying unit can be further broken down as follows:
The track acquisition module is used for obtaining the specific track of described handwriting information; A described specific track is the first stroke track or finishing touch track;
Coordinate extreme value acquisition module is used to obtain the X coordinate maximum value and the minimal value of a described specific track, Y coordinate maximum value and minimal value; Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value;
Compare determination module, be used for the coordinate extreme value of a more above-mentioned specific track and other stroke track; If the X coordinate extreme value of described other stroke track is all between the X of described specific track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track all between the Y of described specific track coordinate maximum value and minimal value, determines that then a described specific track is that the outside surrounds line.
In another preferred embodiment of the present invention, when described preset trigger was labeled as an outside encirclement line of finishing, described triggered mark identifying unit can be further broken down as follows:
The track acquisition module is used for obtaining the first stroke track of described handwriting information;
Coordinate extreme value acquisition module is used to obtain the X coordinate maximum value and the minimal value of described the first stroke track, Y coordinate maximum value and minimal value; Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value;
Compare determination module, be used for the coordinate extreme value of more above-mentioned the first stroke track and other stroke track; If the X coordinate extreme value of described other stroke track is all between the X of described the first stroke track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track is all between the Y of described the first stroke track coordinate maximum value and minimal value, determine that then described the first stroke track is that the outside surrounds line, finishes to judge; Otherwise, notify described track acquisition module to continue to obtain the next record track, until the finishing touch track.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For system embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
More than to the method and system of a kind of hand-written quick input provided by the present invention, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (13)

1. the method for a hand-written quick input is characterized in that, comprising:
Receive user's handwriting information;
Judge whether described handwriting information comprises the preset trigger mark;
If then discern at described triggered mark handwriting information pointed;
According to this recognition result, from preset mapping table, obtain and this recognition result bulk information corresponding; Described mapping table is used to store each identification character and corresponding bulk information thereof;
Export described bulk information.
2. the method for claim 1 is characterized in that, described preset trigger is labeled as an outside of finishing and surrounds line, the person's handwriting of handwriting information for being surrounded by this encirclement line that described triggered mark is pointed.
3. the method for claim 1 is characterized in that, if described bulk information is a text message, then sends described bulk information to the text editing district; Described text message comprises long sentence, long word, phrase or special symbol.
4. the method for claim 1 is characterized in that, if described bulk information is a command execution information, then sends described bulk information to the corresponding interface, to carry out corresponding function.
5. method as claimed in claim 2 is characterized in that, when described preset trigger is labeled as an outside encirclement line of finishing, finishes in the following manner surrounding the judgement of line:
Obtain the specific track in the described handwriting information; A described specific track is the first stroke track or finishing touch track;
Obtain the X coordinate maximum value and the minimal value of a described specific track, Y coordinate maximum value and minimal value; Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value;
The coordinate extreme value of a more above-mentioned specific track and other stroke track;
If the X coordinate extreme value of described other stroke track is all between the X of described specific track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track all between the Y of described specific track coordinate maximum value and minimal value, determines that then a described specific track is that the outside surrounds line.
6. method as claimed in claim 2 is characterized in that, when described preset trigger is labeled as an outside encirclement line of finishing, finishes in the following manner surrounding the judgement of line:
Obtain the first stroke track in the described handwriting information;
Obtain the X coordinate maximum value and the minimal value of described the first stroke track, Y coordinate maximum value and minimal value; Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value;
The coordinate extreme value of more above-mentioned the first stroke track and other stroke track;
If the X coordinate extreme value of described other stroke track is all between the X of described the first stroke track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track is all between the Y of described the first stroke track coordinate maximum value and minimal value, determine that then described the first stroke track is that the outside surrounds line, finishes to judge;
Otherwise, continue to obtain the next record track, repeat above-mentioned determining step, up to the judgement of finishing the finishing touch track, finish.
7. the method for claim 1 is characterized in that, also comprises:
Receive the user-defined identification character and the corresponding bulk information thereof of user's input;
In mapping table, upgrade or add a data recording.
8. the method for claim 1 is characterized in that,
Described identification character is the same-language literal abbreviation of corresponding bulk information;
Perhaps, described identification character is other spoken and written languages abbreviations of corresponding bulk information.
9. the system of a hand-written quick input is characterized in that, comprising:
Interface unit is used to receive user's handwriting information;
The triggered mark identifying unit is used to judge whether described handwriting information comprises the preset trigger mark; If then notify the person's handwriting recognition unit to discern at described triggered mark handwriting information pointed;
The person's handwriting recognition unit is used to finish person's handwriting identification, obtains recognition result;
Converting unit is used for according to this recognition result, obtains from preset mapping table and this recognition result bulk information corresponding; Described mapping table is used to store each identification character and corresponding bulk information thereof;
Output unit is used to export described bulk information.
10. system as claimed in claim 9 is characterized in that, described preset trigger is labeled as an outside of finishing and surrounds line, the person's handwriting of handwriting information for being surrounded by this encirclement line that described triggered mark is pointed.
11. system as claimed in claim 10 is characterized in that, when described preset trigger was labeled as an outside encirclement line of finishing, described triggered mark identifying unit further comprised:
The track acquisition module is used for obtaining the specific track of described handwriting information; A described specific track is the first stroke track or finishing touch track;
Coordinate extreme value acquisition module is used to obtain the X coordinate maximum value and the minimal value of a described specific track, Y coordinate maximum value and minimal value; Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value;
Compare determination module, be used for the coordinate extreme value of a more above-mentioned specific track and other stroke track; If the X coordinate extreme value of described other stroke track is all between the X of described specific track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track all between the Y of described specific track coordinate maximum value and minimal value, determines that then a described specific track is that the outside surrounds line.
12. system as claimed in claim 10 is characterized in that, when described preset trigger was labeled as an outside encirclement line of finishing, described triggered mark identifying unit further comprised:
The track acquisition module is used for obtaining the first stroke track of described handwriting information;
Coordinate extreme value acquisition module is used to obtain the X coordinate maximum value and the minimal value of described the first stroke track, Y coordinate maximum value and minimal value; Obtain the X coordinate maximum value and the minimal value of other stroke track, Y coordinate maximum value and minimal value;
Compare determination module, be used for the coordinate extreme value of more above-mentioned the first stroke track and other stroke track; If the X coordinate extreme value of described other stroke track is all between the X of described the first stroke track coordinate maximum value and minimal value, the Y coordinate extreme value of described other stroke track is all between the Y of described the first stroke track coordinate maximum value and minimal value, determine that then described the first stroke track is that the outside surrounds line, finishes to judge; Otherwise, notify described track acquisition module to continue to obtain the next record track, until the finishing touch track.
13. system as claimed in claim 9 is characterized in that, also comprises:
The identification character administrative unit is used to receive the user-defined identification character and the corresponding bulk information thereof of user's input, upgrades in mapping table or adds a data recording.
CN2008101042167A 2008-04-16 2008-04-16 Method and system of fast handwriting input Active CN101561725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101042167A CN101561725B (en) 2008-04-16 2008-04-16 Method and system of fast handwriting input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101042167A CN101561725B (en) 2008-04-16 2008-04-16 Method and system of fast handwriting input

Publications (2)

Publication Number Publication Date
CN101561725A CN101561725A (en) 2009-10-21
CN101561725B true CN101561725B (en) 2010-12-08

Family

ID=41220541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101042167A Active CN101561725B (en) 2008-04-16 2008-04-16 Method and system of fast handwriting input

Country Status (1)

Country Link
CN (1) CN101561725B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033928B (en) * 2010-12-15 2013-01-23 北京壹人壹本信息科技有限公司 Handwritten original handwriting recording and querying system and electronic device
CN102156577B (en) * 2011-03-28 2013-05-29 安徽科大讯飞信息科技股份有限公司 Method and system for realizing continuous handwriting recognition input
CN102279667B (en) * 2011-08-25 2016-10-05 南京中兴新软件有限责任公司 Method, device and the communicating terminal of a kind of response screen touch event
CN103164139B (en) * 2011-12-15 2017-05-03 英顺源(上海)科技有限公司 System of displaying target data according to track properties and method thereof
CN103164162A (en) * 2013-03-26 2013-06-19 东莞宇龙通信科技有限公司 Text application method and device of hand inputting
CN105408840B (en) * 2013-06-19 2019-11-01 诺基亚技术有限公司 Electronics is drawn and writes input
CN103677634A (en) * 2013-12-04 2014-03-26 安徽科大讯飞信息科技股份有限公司 Method and system for fast inputting common phrases
CN105022843B (en) * 2015-08-21 2019-05-24 科大讯飞股份有限公司 A kind of exchange method and system based on online handwriting
WO2020102937A1 (en) * 2018-11-19 2020-05-28 深圳市柔宇科技有限公司 Handwriting processing method, handwriting input device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5533147A (en) * 1990-05-29 1996-07-02 Canon Kabushiki Kaisha Segmentation of handwritten patterns using stroke and jump vectors
CN1372182A (en) * 2001-02-23 2002-10-02 无敌科技(西安)有限公司 Quick hand writing input method
US6600834B1 (en) * 1999-01-13 2003-07-29 International Business Machines Corporation Handwriting information processing system with character segmentation user interface
CN1493961A (en) * 2002-10-31 2004-05-05 株式会社日立制作所 Hand writing input device, program and hand-writing input method system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5533147A (en) * 1990-05-29 1996-07-02 Canon Kabushiki Kaisha Segmentation of handwritten patterns using stroke and jump vectors
US6600834B1 (en) * 1999-01-13 2003-07-29 International Business Machines Corporation Handwriting information processing system with character segmentation user interface
CN1372182A (en) * 2001-02-23 2002-10-02 无敌科技(西安)有限公司 Quick hand writing input method
CN1493961A (en) * 2002-10-31 2004-05-05 株式会社日立制作所 Hand writing input device, program and hand-writing input method system

Also Published As

Publication number Publication date
CN101561725A (en) 2009-10-21

Similar Documents

Publication Publication Date Title
CN101561725B (en) Method and system of fast handwriting input
US8874590B2 (en) Apparatus and method for supporting keyword input
US11307908B2 (en) Format-specific data object passing between applications
US20180314882A1 (en) Sorting and displaying digital notes on a digital whiteboard
US9449031B2 (en) Sorting and filtering a table with image data and symbolic data in a single cell
US8892990B2 (en) Automatic creation of a table and query tools
US9558170B2 (en) Creating and switching a view of a collection including image data and symbolic data
CN101373468A (en) Method for loading word stock, method for inputting character and input method system
US9569101B2 (en) User interface apparatus in a user terminal and method for supporting the same
US20210209289A1 (en) Method and apparatus for generating customized content based on user intent
WO2009007181A1 (en) A method, system and computer program for intelligent text annotation
US11562593B2 (en) Constructing a computer-implemented semantic document
US20140089841A1 (en) Device and method for providing application interface based on writing input
CN110232111A (en) A kind of text display method, device and terminal device
CN103488752A (en) POI (point of interest) searching method
CN104363349A (en) Short message processing method and portable terminal using same
CN103559512A (en) Method and system for recognizing and outputting characters
CN112835860B (en) Shared document processing method, device, equipment and computer readable storage medium
US11314793B2 (en) Query processing
WO2014163982A2 (en) Table of contents detection in a fixed format document
CN110308947A (en) Processing method, system, computer equipment and the storage medium of question and answer information
CN112487138A (en) Information extraction method and device for formatted text
CN110147358B (en) Construction method and construction system of automatic question-answering knowledge base
US11907524B2 (en) Digital ink processing system, method, and program
KR20120133149A (en) Data tagging apparatus and method thereof, and data search method using the same

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
EE01 Entry into force of recordation of patent licensing contract

Assignee: Hanvon Manufacture Co.,Ltd

Assignor: Hanwang Tech Co., Ltd.

Contract record no.: 2011990000852

Denomination of invention: Method and system of fast handwriting input

Granted publication date: 20101208

License type: Exclusive License

Open date: 20091021

Record date: 20110902