The method of work of the handwriting input of guider
Technical field
The present invention relates to a kind of method of work of handwriting input of guider.
Background technology
The method of the touch screen input character by portable terminal (as mobile phone) is familiar with by masses.
Chinese patent literature publication number CN1413334 discloses a kind of handwritten character recognition equipment and has comprised its electronic equipment, and for the input equipment of wireless telephone and the use of other electronic equipments, identification also shows hand-written alphanumeric character on display.A plurality of adjacent contact-making switches are arranged in the array below the contact plate of exposure.Each contact-making switch in array, a zone user during hand-written starting writing being activated contact plate responds, and produces analog voltage signal separately.The analog voltage signal sequence that analog digital converter reception and conversion user during hand-written starting writing activate one or more contact-making switches generations becomes digital value sequence.Together with the processor of handwriting recognition algorithm work, handle digital value sequence, discern the alphanumeric character corresponding with user's hand-written stroke, then the alphanumeric character that is identified is presented in the display.
Chinese patent literature publication number CN1991722 discloses a kind of portable terminal with hand-write input function, comprise stylus, touch-screen, also comprise the hand input device that is connected with touch-screen, this hand input device comprises: the hand-written perception unit that is used to experience stylus and touch-screen contact condition, be used to read the action message of stylus at touch-screen, judge whether it carries out the hand-written state recognition unit of hand-written state, be used for the handwriting input track of discerning is temporarily stored and storage of the handwriting tracks that shows and display unit, be used to store the dot matrix recognizer unit that this word is carried out recognizer according to input trajectory information, being used for calling related algorithm from described dot matrix recognizer unit according to input trajectory carries out literal identification and carries out relevant treatment, output result's the hand-written processing unit of finishing.
Chinese patent literature publication number CN1991721 discloses a kind of portable terminal with automatic realization hand-write input function, comprise stylus, touch-screen, and the hand-written input system that is connected with touch-screen, hand-written input system comprises: hand-written procedure identification unit, be used for judging whether to carry out the handwriting input process according to the relative operating state of stylus with handwriting pad; Dot matrix recognizer unit is used to store the algorithm of this word being discerned according to input trajectory information; Hand-written logical algorithm unit, be used for calling related algorithm from dot matrix recognizer unit and carry out literal identification according to input trajectory, carry out the reading of other related data, calculating and judgment processing, the hand-written processing unit of finishing is used for the word that identification is finished dealing with is exported.
The weak point of above-mentioned hand-written predictive input mode of the prior art is: often according to common phrase or carry out the association of correlation word according to frequency of utilization, such as when importing " people " word, can demonstrate word to be selected on the touch-screen, for example: " ", " family ", " ", " literary composition ", " life ", " many ", " ", " " etc., select for the user, thereby improve the speed of handwriting input.But this method is in being applied to need the guider of contents such as input place name, link name the time, and is often not too convenient, because place name, link name etc. often are not everyday expressions.
Summary of the invention
Technical matters to be solved by this invention provides a kind of method of work of handwriting input of the guider that is suitable for improving handwriting input place name or road name efficient.
For solving the problems of the technologies described above, the method for work of the handwriting input of guider of the present invention may further comprise the steps:
The handwriting recognition unit of A, guider is discerned first literal from the handwriting input of the touch-screen of guider, and will identify and send into the CPU element of guider through first Word message that the user confirms, simultaneously by this first literal of screen displaying;
B, CPU element retrieve the key word that all and first literal are complementary from the lteral data that is used for describing place name and road name of the map data base of guider, and show these key words on touch-screen;
After the user selected key word that one of them and first literal be complementary as second literal, CPU element drew first word of being made up of first literal and second literal successively, and by screen displaying;
C, when the user confirms that this first word is required place name or road name, then CPU element enters according to first word and carries out geographic position retrieval and localization step; Otherwise then CPU element continues to retrieve the key word that all are complementary with first word from the described lteral data of map data base, and on touch-screen these key words of demonstration;
After the user selected key word that one of them and first word be complementary as the 3rd literal, CPU element drew second word of being made up of first literal, second literal and the 3rd literal successively, and by screen displaying;
D, when the user confirms that this second word is required place name or road name, then CPU element enters according to second word and carries out geographic position retrieval and localization step; Otherwise then CPU element retrieves all place name that comprises second word or road names from the described lteral data of map data base, and by screen displaying; When the user selected to confirm one of them as required place name or road name, CPU element entered corresponding geographical location retrieval and localization step.
In the technique scheme, the CPU element of described guider retrieves the key word that all and first literal or first word are complementary or the method that retrieves all place names that comprise second word or road name is from the lteral data that is used for describing place name and road name of map data base: CPU element is earlier according to the position of determining self place from the gps signal of gps receiver, in map data base, find out position with self place then and be the center, the lteral data that is used to describe place name and road name in the predeterminable range on every side therefrom retrieves at last key word that all and first literal or first word are complementary or place name or the road name that all comprise second word.
In the technique scheme, the key word that described and first literal or first word are complementary, be meant have in described place name or the road name with this first literal or the right mutually adjacent word of first word.
The present invention has positive effect: in the method for work of the handwriting input of (1) guider of the present invention, behind handwriting input first literal, can on touch-screen, show the key word that is complementary with first literal, and these key words only limit to description place name in the map data base and the literal in the road name, thereby dwindled the range of search of the key word that is complementary with first literal greatly, reduced the quantity of the 3rd literal that supplies user's selection of screen displaying, and to make first literal and any one described key word make up first word that the back forms successively must be required place name or road name (or the part in place name or the road name), greatly facilitates the mode of user by handwriting input in time required place name of acquisition or road name.If comprise first word and have 3 more than the word in required place name or the road name, then can retrieve the key word that is complementary with first word from the lteral data that is used for describing place name and road name of map data base, any one second word of forming in first word and this key word must be required place name or road name (or the part in place name or the road name), therefore this method can effectively reduce the quantity of the 3rd literal that supplies user's selection of screen displaying, improve recall precision, convenient for users.For example, if inquiry " talents market ", in the prior art, after drawing " talent ", must artificial handwriting input " city " word, it is selective just to draw " field " word etc. at last, because " " of the prior art and " city " can not arrange in pairs or groups; But in the present invention, after drawing " talent ", can directly on touch-screen, show in " city ", " in ", words such as " clothes " is selected for the user, its corresponding respectively place name is " talents market ", " human resources centers ", " talent service station " etc., selected " city " the user after, show directly again that on touch-screen " field " word etc. is selective, greatly facilitate user's use.(2) among the present invention, the lteral data that will be used to describe place name and road name is limited in the certain limit of position at self place, as 50Km (concrete value range can be preestablished by the user), can further dwindle the range of search of key word, reduce the quantity of the key word that supplies user's selection of screen displaying, can improve user's service efficiency.(3) among the present invention, with the key word that first literal or first word are complementary, be meant have in described place name or the road name with the right mutually adjacent word of this first literal or first word.Undertaken by the order of each literal in the required title when having guaranteed handwriting input, prevent confusion.
Description of drawings
Fig. 1 is the circuit block diagram of the guider among the present invention;
Fig. 2 is the flow chart of method of work of the handwriting input of guider of the present invention.
Embodiment
(embodiment 1)
As Fig. 1, the guider of present embodiment comprises: CPU element 1, with the CPU element 1 two-way gps receiver 2 that is used to receive gps signal that is electrically connected, with the CPU element 1 two-way map data base that is used for store map data 3 that is electrically connected, with the CPU element 1 two-way program data base 4 that is used to store Navigator that is electrically connected; Be electrically connected with CPU element 1 be used for voice mode output transport information instantaneous speech power 5, with CPU element 1 two-way be electrically connected be used for displays image information and receive touch input signal, handwriting input signal touch-screen 6, with CPU element 1 and the touch-screen 6 two-way handwriting recognition unit 7 that are electrically connected and the stylus that is used for the handwriting input literal.
The storage map datum of depositing in the map data base 3 comprises: be used to describe road attribute data, be used to describe place name and road name lteral data, be used to describe the data of sea level elevation and be used to describe data of landform etc.
Handwriting recognition unit 7 comprises: hand-written procedure identification unit is used for judging whether to carry out the handwriting input process according to the relative operating state of stylus with touch-screen 6; Dot matrix recognizer unit is used to store the algorithm of this word being discerned according to input trajectory information; Hand-written logical algorithm unit is used for calling related algorithm from dot matrix recognizer unit according to input trajectory and carries out literal identification, carries out the reading of other related data, calculating and judgment processing; The hand-written processing unit of finishing is used for exporting the word that identification is finished dealing with to CPU element 1 and touch-screen 6.
See Fig. 2, the method for work of the handwriting input of the guider of present embodiment may further comprise the steps:
7 pairs of first literal from the handwriting input of the touch-screen 6 of guider in the handwriting recognition unit of A, guider are discerned, and will identify and send into the CPU element 1 of guider through first Word message that the user confirms, show these first literal by touch-screen 6 simultaneously; For example, by pointer handwriting input on touch-screen 6 " people ", after this font is handled in handwriting recognition unit 7, on touch-screen 6, show " people ", " eight ", " going into ", words such as " K ", after the user selected to confirm " people " word, first literal of promptly confirming handwriting input was " people " word.
B, CPU element 1 is earlier according to the position of determining self place from the gps signal of gps receiver 2, in map data base 3, find out position with self place then and be the center, on every side 20Km (concrete value range can be preestablished by the user, be generally the arbitrary value in the 1-100Km) in the lteral data that is used to describe place name and road name (hereinafter referred to as: first lteral data), last CPU element 1 retrieves all key words that are complementary with first literal from first lteral data, and on touch-screen 6 these key words of demonstration; For example: show words such as " people ", " greatly ", " ", " longevity ", " edge ", its place name or road name corresponding respectively in described lteral data is " people road ", " people's main road ", " talents market ", " life insurance company "; The position difference at guider self place, the first corresponding lteral data are also different, so when definite first literal was " people " word, at the position at different guider self place, the correspondent keyword that retrieves also may be different.
After the user selected key word that one of them and first literal be complementary as second literal, CPU element 1 drew first word of being made up of first literal and second literal successively, and is shown by touch-screen 6; For example, selection be " ", then show " talent ".
C, when the user confirms that this first word is required place name or road name, then CPU element 1 enters according to first word and carries out geographic position retrieval and localization step.
Otherwise then CPU element 1 continues to retrieve the key word that all are complementary with first word from described first lteral data, and on touch-screen 6 these key words of demonstration; For example, show: " city ", " in ", word such as " clothes ".
After the user selected key word that one of them and first word be complementary as the 3rd literal, CPU element 1 drew second word of being made up of first literal, second literal and the 3rd literal successively, and is shown by touch-screen 6; For example, if the user selects " city ", then show in " talent city ".
D, when the user confirms that this second word is required place name or road name, then CPU element 1 enters according to second word and carries out geographic position retrieval and localization step.
Otherwise then CPU element 1 retrieves all place name that comprises second word or road names from described first lteral data, and is shown by touch-screen 6; When the user selected to confirm one of them as required place name or road name, (for example, select and draw " talents market " back) CPU element 1 entered corresponding geographical location retrieval and localization step.
The CPU element 1 of described guider retrieves the key word that all and first word be complementary or retrieves the method that all comprise the place name or the road name of second word from the lteral data that is used for describing place name and road name of map data base 3, can also for: CPU element 1 earlier according to the position of determining self place from the gps signal of gps receiver 2, in map data base 3, find out position with self place then and be the center, (concrete value range can be preestablished by the user 20Km on every side, be generally the arbitrary value in the 1-100Km) in the lteral data that is used to describe place name and road name, therefrom retrieve key word that all and first word be complementary or place name or the road name that all comprise second word at last.
The described key word that is complementary with first literal or first word, be meant have in described place name or the road name with the right mutually adjacent word of this first literal or first word, undertaken by the order of each literal in the required title when having guaranteed handwriting input, prevent confusion, character search is continued in order, guarantee work efficiency.