Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the embodiments of the present invention are explained in detail.But, persons of ordinary skill in the art may appreciate that in each embodiment of the present invention, proposing many ins and outs to make reader understand the application better.But, even without these ins and outs with based on the many variations of following embodiment and amendment, each claim of the application technical scheme required for protection also can be realized.
First embodiment of the present invention relates to a kind of input method, and idiographic flow as shown in Figure 1, comprises following steps:
Step 101, display keyboard, for user input data.When user input data, display dummy keyboard, for user input data.Wherein, this dummy keyboard can be nine grids keyboard conventional at present, also can be the keyboard with other form layouts, as long as each key mapping of keyboard has at least two characters.Nine grids keyboard in present embodiment is identical with keyboard of the prior art, and as shown in Figure 2, each key mapping in numeral 2 ~ 9 key mappings at least comprises 3 characters, and wherein, character can be English alphabet, also can be the character of other languages.
In the present embodiment, user can according to key mapping being preset character input gesture data corresponding to gesture.Wherein, user or produce default gesture corresponding to each character that the manufacturer of mobile phone can pre-set in key mapping according to four-quadrant direction rule.Specifically, in rectangular coordinate system, comprise four quadrants: first quartile (+, +), the second quadrant (-,+), third quadrant (-,-) and fourth quadrant (+,-), wherein, in bracket, first symbology X-axis coordinate is positive and negative, second symbology Y-axis coordinate positive and negative; Utilize sensing between two between quadrant to characterize paddling direction in gesture key mapping on the touchscreen, simple and practical, it is convenient to realize.Utilize software will have the default gesture of specific direction and specific character one_to_one corresponding in advance and set, for comparing.
Such as, as shown in Figure 3, the key mapping at numeral 2 places there are three letter: A (a), B (b) and C (c), when arranging, specify that the gesture being pointed to first quartile by third quadrant corresponds to A (or a), the gesture pointing to third quadrant by first quartile correspond to B (or b) (not shown), the gesture pointing to fourth quadrant by the second quadrant corresponds to C (or c) (not shown); For another example, the key mapping at numeral 3 places there are three letter: D (d), E (e) and F (f), when arranging, specify that the gesture being pointed to the second quadrant by fourth quadrant corresponds to D (or d), the gesture pointing to fourth quadrant by the second quadrant corresponds to E, and (or e) (not shown), the gesture pointing to third quadrant by first quartile corresponds to F (or f) (not shown).Although the gesture direction being pointed to third quadrant by first quartile is identical, but at the character that different key mappings is corresponding different, digital 2 key mappings correspond to B (or b), digital 3 key mappings correspond to F (or f), namely, identical gesture corresponds to different characters in different key mappings.And, a key mapping has at most 4 characters (such as, digital 7 key mappings, comprise 4 characters such as P, Q, R and S), and gesture direction there are 8, are enough to distinguish and characterize different characters by the gesture of different directions.
Like this, the default gesture that each character pre-set in key mapping according to four-quadrant direction rule is corresponding, it is convenient to realize, and simply easy to remember, is easy to promote.
Step 102, detects the gesture of user on keyboard and the key mapping at gesture place.User inputs corresponding gesture according to the target data that will input in the corresponding key mapping of keyboard, and touch-screen detects the gesture of user's input and the key mapping at gesture place, to obtain target data.The technology that detection user inputs gesture is existing proven technique, does not repeat them here.
Step 103, the key mapping according to gesture and place obtains character string; Wherein, a gesture in each key mapping of keyboard is a corresponding character only.Specifically, a gesture in each key mapping of the keyboard of touch-screen is a corresponding character only, i.e. one group of gesture inputting on keyboard of user only corresponding character string uniquely, like this, user correspondingly inputs one group of gesture according to target string and just can obtain target string fast, easily.Like this, make user can obtain target data fast, easily, improve the efficiency of input data.
Those skilled in the art will appreciate that in this step, also comprise following sub-step: compare the key mapping at gesture and the place detected and the key mapping at default gesture and place; If consistent, then character corresponding to the gesture detected is character corresponding to default gesture.In other words, if the gesture of user's input and the key mapping at place consistent with the key mapping at default gesture and place, then the default gesture of acquisition and character corresponding to place key mapping.
Input method in present embodiment can be applied to the scene of input text, and when input text, repeat above-mentioned steps, can complete Text Input, like this, user can complete Text Input fast, easily.
Compared with prior art, due to the only corresponding character of a gesture in each key mapping of the keyboard at touch-screen, an i.e. gesture inputting on keyboard of a user only corresponding character string, one group of gesture of user's input only corresponding character string uniquely, and this character string user's target string that will obtain just, namely user inputs gesture and can obtain target data fast, easily.Like this, make user can obtain target data fast, easily, improve the efficiency of input data.
The step of said method divides, and just in order to be described clearly, can merge into a step or splitting some step, being decomposed into multiple step, when realizing as long as comprise identical logical relation, all in the protection domain of this patent; To adding inessential amendment in algorithm or in flow process or introducing inessential design, but the core design not changing its algorithm and flow process is all in the protection domain of this patent.
Second embodiment of the present invention relates to a kind of input method, second embodiment is roughly the same with the first embodiment, key distinction part is: in the first embodiment, the default gesture that each character pre-set in key mapping according to four-quadrant direction rule is corresponding, it is convenient to realize, and simply easy to remember, be easy to promote.And in second embodiment of the invention, the default gesture that each character pre-set in key mapping according to user is corresponding, like this, user can arrange character corresponding to input gesture according to self custom in each key mapping, facilitate user to remember, when user inputs gesture acquisition associated person information, speed is faster, further increase the dialing efficiency of user, and add the dirigibility of input gesture.
Specifically, user can according to self hobby or custom, each key mapping pre-sets the gesture that each character is corresponding, such as, in the key mapping at digital 2 places, the character arranging the gesture of horizontal direction corresponding is A, character corresponding to hook-type " ∨ " gesture is B, and character corresponding to circular gesture is C, as long as be convenient to memory, implement smoothly, and hardware supported, just can carry out personal settings according to the personal habits of user, like this, not only further increase the dialing efficiency of user, also add the dirigibility of input gesture.
3rd embodiment of the present invention relates to a kind of input method, specifically as shown in Figure 4, the 3rd embodiment is roughly the same with the first embodiment, and key distinction part is: in the first embodiment, input method is used for input text, and user can complete Text Input fast, easily.And in third embodiment of the invention, input method is used for searching linkman information with dialing, like this, the difficulty of user's memorizing phone numbers can be alleviated, facilitate subscriber dialing, and when user inputs gesture acquisition associated person information, speed is faster, improves the dialing efficiency of user.
Specifically, the input method in present embodiment comprises following steps:
Step 401, display keyboard, for user input data.When user searches associated person information, display dummy keyboard, for user according to associated person information to be retrieved input data.This step is similar to the step 101 in the first embodiment, does not repeat them here.
Step 402, detects the gesture of user on keyboard and the key mapping at gesture place.User inputs corresponding gesture according to the associated person information searched in the corresponding key mapping of keyboard, and touch-screen detects the gesture of user's input and the key mapping at gesture place, to obtain associated person information to be retrieved.This step is similar to the step 102 in the first embodiment, does not repeat them here.
Step 403, the key mapping according to gesture and place obtains character string.User inputs one group of gesture can obtain a unique character string fast, easily, and this character string and contact person's to be retrieved is information-related.Like this, user can obtain the character string relevant to associated person information fast, easily, improves the efficiency of searching.This step is similar to the step 103 in the first embodiment, does not repeat them here.
Step 404, retrieves according to character string and meets pre-conditioned associated person information and show, for subscriber dialing in contacts list.In the present embodiment, the character string that the pre-conditioned initial for name of contact person is formed comprises the character string of acquisition.Specifically, search in contacts list by the character string obtained and meet pre-conditioned associated person information, and shown when finding and meeting pre-conditioned associated person information, for subscriber dialing.Such as, the name of contact person to be retrieved is " Li Ming ", its initials is " LM ", when detect user input gesture and obtain character string for " LM " time, all comprise the associated person information of " LM " in the character string formed by the initials finding All Contacts after retrieval in contacts list, and by all associated person information being shown of retrieving, select for user and dial, wherein, associated person information comprises the information such as name of contact person, contact method.
Due to the only corresponding character of a gesture in each key mapping of the keyboard at touch-screen, user can obtain character string fast, easily according to associated person information input gesture to be retrieved; Can retrieve in contacts list according to the character string obtained and meet pre-conditioned associated person information and show, for subscriber dialing.Like this, make user to search associated person information fast, easily and to dial, improve the efficiency of dialing.
It should be noted that, pre-conditioned in present embodiment also can be other conditions, as long as rationally all can be set to pre-conditioned, is not limited to enumerate in present embodiment pre-conditioned.Due to pre-conditioned diversity, will not enumerate at this.In addition, existing method of carrying out associated person information retrieval according to character string all can be used for the present invention, does not also enumerate at this.
4th embodiment of the present invention relates to a kind of input method.4th embodiment is roughly the same with the 3rd embodiment, and key distinction part is: in the third embodiment, and input method is used for searching linkman information with dialing, and like this, speed is faster, improves the dialing efficiency of user.And in four embodiment of the invention, input method is used for searching linkman information to select receiving party, like this, speed is faster, improves the efficiency of the transmission information of user.
5th embodiment of the present invention relates to a kind of input media, specifically as shown in Figure 5, comprises: setting unit, detecting unit, acquisition string elements and the second display unit.
Second display unit, for display keyboard, for user input data.
Setting unit, the default gesture that each character for pre-setting in key mapping according to four-quadrant direction rule is corresponding.
Detecting unit, for detecting the gesture of user on keyboard and the key mapping at gesture place.
Obtain string elements, obtain character string for the key mapping according to gesture and place; Wherein, a gesture in each key mapping of keyboard is a corresponding character only.
It will be understood by those skilled in the art that acquisition string elements comprises and compare subelement (not shown); This compares subelement, for the key mapping of the key mapping and default gesture and place that compare gesture and the place detected; If consistent, then character corresponding to the gesture detected is character corresponding to default gesture.
Be not difficult to find, present embodiment is the device embodiment corresponding with the first embodiment, and present embodiment can be worked in coordination with the first embodiment and be implemented.The relevant technical details mentioned in first embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the first embodiment.
6th embodiment of the present invention relates to a kind of input media, 6th embodiment is roughly the same with the 5th embodiment, key distinction part is: in the 5th embodiment, setting unit, for the default gesture that each character pre-set in key mapping according to four-quadrant direction rule is corresponding, it is convenient to realize, and simply easy to remember, is easy to promote.And in sixth embodiment of the invention, setting unit, for pre-setting default gesture corresponding to each character in key mapping according to user, like this, user can arrange character corresponding to input gesture according to self custom in each key mapping, facilitates user to remember, when user inputs gesture acquisition associated person information, speed is faster, further increases the dialing efficiency of user, and adds the dirigibility of input gesture.
Be not difficult to find, present embodiment is the device embodiment corresponding with the second embodiment, and present embodiment can be worked in coordination with the second embodiment and be implemented.The relevant technical details mentioned in second embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the second embodiment.
7th embodiment of the present invention relates to a kind of input media, specifically as shown in Figure 6, the 7th embodiment is roughly the same with the 5th embodiment, and key distinction part is: in the 5th embodiment, input media is used for input text, and user can complete Text Input fast, easily.And in seventh embodiment of the invention, input media is used for searching linkman information with dialing, like this, the difficulty of user's memorizing phone numbers can be alleviated, facilitate subscriber dialing, and when user inputs gesture acquisition associated person information, speed is faster, improves the dialing efficiency of user.
Specifically, the input media in present embodiment comprises: setting unit, detecting unit, acquisition string elements, retrieval unit, the first display unit and the second display unit.
Second display unit, for display keyboard, for user input data.
Setting unit, the default gesture that each character for pre-setting in key mapping according to four-quadrant direction rule is corresponding.
Detecting unit, for detecting the gesture of user on keyboard and the key mapping at gesture place.
Obtain string elements, obtain character string for the key mapping according to gesture and place; Wherein, a gesture in each key mapping of keyboard is a corresponding character only.
Retrieval unit, meets pre-conditioned associated person information for retrieving in contacts list according to character string.Wherein, the character string that the pre-conditioned initial for name of contact person is formed comprises the character string of acquisition.
First display unit, for showing the associated person information retrieved, for subscriber dialing.
Be not difficult to find, present embodiment is the device embodiment corresponding with the 3rd embodiment, and present embodiment can be worked in coordination with the 3rd embodiment and be implemented.The relevant technical details mentioned in 3rd embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the 3rd embodiment.
8th embodiment of the present invention relates to a kind of input media.8th embodiment is roughly the same with the 7th embodiment, and key distinction part is: in the 7th embodiment, and input media is used for searching linkman information with dialing, and like this, speed is faster, improves the dialing efficiency of user.And in eighth embodiment of the invention, input media is used for searching linkman information to select receiving party, like this, speed is faster, improves the efficiency of the transmission information of user.
Be not difficult to find, present embodiment is the device embodiment corresponding with the 4th embodiment, and present embodiment can be worked in coordination with the 4th embodiment and be implemented.The relevant technical details mentioned in 4th embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the 4th embodiment.
Persons of ordinary skill in the art may appreciate that the respective embodiments described above realize specific embodiments of the invention, and in actual applications, various change can be done to it in the form and details, and without departing from the spirit and scope of the present invention.