Summary of the invention
Technical problem to be solved by this invention provides a kind of mobile terminal number input method and device, with the operating habit according to the blind person, provides a and can satisfy the mobile terminal of touch screen that the blind person uses.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of mobile terminal number input method is provided, this method may further comprise the steps: when calling by the touch screen operation of this portable terminal, receive the touch point number and the touch action of user's input, this touch point number and this touch action are judged, to obtain judged result; Obtain according to this judged result and to Enter Number, wherein, this Enters Number corresponding to this touch point number and this touch action; Enter Number according to this that obtains and to call out.
Wherein, this touch point number and this touch action are judged that the step to obtain judged result specifically comprises: judge that according to this touch point number and this touch action the type of this touch action belongs to one in single-point touches and hold part, single-point touches and sliding action, multiple point touching and hold part and multiple point touching and the sliding action.
Wherein, obtain the step that Enters Number according to this judged result and specifically comprise: determining this touch action when being single-point touches and hold part, obtaining that single-point touches and hold part are pairing to Enter Number; When this touch action is single-point touches and sliding action, further obtain the glide direction of single-point touches and sliding action, obtain this single-point touches and sliding action is pairing Enters Number according to this glide direction; When this touch action is multiple point touching and hold part, obtain that multiple point touching and hold part are pairing to Enter Number; When this touch action is multiple point touching and sliding action, further obtain the glide direction of multiple point touching and sliding action, obtain this multiple point touching and sliding action is pairing Enters Number according to this glide direction, wherein, this glide direction comprise left slide, slide to the right, to lower slider and upwards slide.
Wherein, this method also comprises: set in advance the pairing also corresponding stored that Enters Number of this single-point touches and hold part and multiple point touching and hold part, set in advance glide direction in this single-point touches and the sliding action for slide left, slide to the right, to lower slider and Entering Number and corresponding stored of correspondence such as slips upwards, set in advance glide direction in this multiple point touching and the sliding action for slide left, slide to the right, to Entering Number the also corresponding stored of the lower slider and the correspondences such as slip that make progress.
Wherein, obtain after the step that Enters Number according to this judged result, this method also comprises: this is Entered Number is prompted to the user by voice mode.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of mobile terminal number input unit is provided, this device comprises: the touch action judge module, when calling by the touch screen operation of this portable terminal, receive the touch point number and the touch action of user's input, this touch point number and this touch action are judged, to obtain judged result; The acquisition module that Enters Number obtains according to this judged result and to Enter Number, and wherein, this Enters Number corresponding to this touch point number and this touch action; Calling module Enters Number according to this that obtains and to call out.
Wherein, this touch action judge module judges that according to this touch point number and this touch action the type of this touch action belongs to one in single-point touches and hold part, single-point touches and sliding action, multiple point touching and hold part and multiple point touching and the sliding action when obtaining judged result in that this touch point number and this touch action are judged.
Wherein, this Enters Number acquisition module when obtaining number, comprising: determine this touch action when being single-point touches and hold part at this touch action judge module, this acquisition module that Enters Number obtains single-point touches and hold part is pairing Enters Number; Determine this touch action when being single-point touches and sliding action at this touch action judge module, this touch action judge module further obtains the glide direction of single-point touches and sliding action, and this acquisition module that Enters Number obtains this single-point touches according to this glide direction and sliding action is pairing Enters Number; Determine this touch action when being multiple point touching and hold part at this touch action judge module, this acquisition module that Enters Number obtains multiple point touching and hold part is pairing Enters Number; Determine this touch action when being multiple point touching and sliding action at this touch action judge module, this touch action judge module further obtains the glide direction of multiple point touching and sliding action, and this acquisition module that Enters Number obtains this multiple point touching according to this glide direction and sliding action is pairing Enters Number.
Wherein, this device also comprises: memory module is set, be used to set in advance the pairing also corresponding stored that Enters Number of this single-point touches and hold part and multiple point touching and hold part, set in advance glide direction in this single-point touches and the sliding action for slide left, slide to the right, to lower slider and Entering Number and corresponding stored of correspondence such as slips upwards, set in advance glide direction in this multiple point touching and the sliding action for slide left, slide to the right, to Entering Number the also corresponding stored of the lower slider and the correspondences such as slip that make progress.
Wherein, this device also comprises: voice cue module is used for this mode that Enters Number by voice is prompted to the user.
By above embodiment, the present invention provides a and can satisfy the mobile terminal of touch screen that the blind person uses according to blind person's operating habit, greatly facilitates the use of blind users, is beneficial to the popularization of portable terminal.
Embodiment
Consult Fig. 1, mobile terminal number input method of the present invention may further comprise the steps:
Step 100 when calling by the touch screen operation of portable terminal, receives the touch point number and the touch action of user's input, touch point number and touch action is judged, to obtain judged result;
Step 101 is obtained according to judged result and to be Entered Number, and wherein, Enters Number corresponding to touch point number and touch action;
Step 102 is called out according to Entering Number of obtaining.
In a preferred embodiment, touch point number and touch action judged specifically also comprise: judge that according to touch point number and touch action the type of touch action belongs to one in single-point touches and hold part, single-point touches and sliding action, multiple point touching and hold part and multiple point touching and the sliding action when obtaining judged result.Wherein, it is the touch at center that single-point touches is defined as on touch-screen with single coordinate points, as, with a finger touches touch-screen, touch-screen can be judged to be single-point touches with it; Accordingly, it is the touch at center that multiple point touching is defined as with a plurality of coordinate points, may be defined as 2 points usually, and analogy is touched touch-screen simultaneously with two fingers, and the screen that then can be touched is judged to be multiple point touching.These two kinds of touches to the different numbers of coordinate points are defined as two digit groups with 0~9 numeral accordingly, and each touches corresponding digit groups, certainly, this only is the execution mode of one embodiment of the present invention, also can be extended to a plurality of digit groups, does not limit at this.
In a preferred embodiment, set in advance the pairing also corresponding stored that Enters Number of single-point touches and hold part and multiple point touching and hold part, set in advance glide direction in single-point touches and the sliding action for slide left, slide to the right, to lower slider and corresponding the Entering Number and corresponding stored of upwards sliding, set in advance in multiple point touching and the sliding action glide direction for slide left, slide to the right, to lower slider and corresponding the Entering Number and corresponding stored of upwards sliding.
In a preferred embodiment, according to judging that structure obtains the step that Enters Number and specifically also comprise: determining touch action when being single-point touches and hold part, obtaining that single-point touches and hold part are pairing to Enter Number; When touch action is single-point touches and sliding action, further obtain the glide direction of single-point touches and sliding action, obtain single-point touches and sliding action is pairing Enters Number according to glide direction; When touch action is multiple point touching and hold part, obtain that multiple point touching and hold part are pairing to Enter Number; When touch action is multiple point touching and sliding action, further obtain the glide direction of multiple point touching and sliding action, obtain multiple point touching and sliding action is pairing Enters Number according to glide direction.Wherein, as previously mentioned, when according to the touch point number numeral definition grouping after, select one of them numeral in each group numeral according to the sliding action of continuity again; As the first step, choose 1,3,5,7 and 9 these group numerals according to the touch point number, in second step, do not select numeral 5 according to user static (having sliding action), then with numeral 5 Entering Number as the user.
In a preferred embodiment, obtain after the step that Enters Number, also comprise: will Enter Number and be prompted to the user by voice mode according to judged result.Enter Number wrongly if the user thinks, can carry out the deletion of one number by button; If the user confirms to Enter Number correct, again by other buttons carry out one number give up really into.The flow process of this affirmation can avoid the user because misoperation and the input error number has more hommization.
See also Fig. 2, the concrete steps of mobile terminal number input method of the present invention comprise:
Step 20, set in advance the pairing also corresponding stored that Enters Number of single-point touches and hold part and multiple point touching and hold part, set in advance glide direction in single-point touches and the sliding action for slide left, slide to the right, to lower slider and corresponding the Entering Number and corresponding stored of upwards sliding, set in advance in multiple point touching and the sliding action glide direction for slide left, slide to the right, to lower slider and corresponding the Entering Number and corresponding stored of upwards sliding;
Step 200 when calling by the touch screen operation of portable terminal, receives the touch point number and the touch action of user's input;
Step 201 is judged touch point number and touch action;
Step 202 judges that according to touch point number and touch action the type of touch action belongs to one in single-point touches and hold part, single-point touches and sliding action, multiple point touching and hold part and multiple point touching and the sliding action;
Step 203 is obtained according to judged result and to be Entered Number, and wherein, this Enters Number to should touch point number and this touch action;
Step 204, this is Entered Number is prompted to the user by voice mode;
Step 205 Enters Number according to this that obtains and to call out.
See also Fig. 3 to Fig. 5, mobile terminal number input method of the present invention mainly comprises following principle:
By a touch-screen control chip 31 is set in portable terminal, touch-screen control chip 31 is connected with interruption pin INT by the I2C bus with the baseband chip 32 of portable terminal.Wherein, the I2C bus is made up of two holding wires, and one is serial data line I2C_SDA, and another root is serial time clock line I2C_SCL.Baseband chip 32 is by the I2C signal of senses touch screen control chip 31 and the laying state that interrupt signal is judged portable terminal.In addition, see also Fig. 4 during single-point touches, see also Fig. 5 during multiple point touching, for making things convenient for blind users switching on and shutting down, unlock screen and making a phone call, portable terminal also is provided with button 1, button 2 and button 3.
Touch-screen control chip 31 defines a two-dimensional coordinate system on portable terminal, the residing plane of touch-screen is the X-Y axial plane, X-direction is equilibrated at this three rectilinear directions that button is linked to be, during work, user's the touch or the action of slip can make the X or the Y of touch-screen control chip 31, and perhaps the coordinate of X and Y changes.Touch-screen control chip 21 triggers and interrupts producing interrupt signal to baseband chip 22 when coordinate figure changes, and baseband chip 22 is made corresponding operation according to interrupt signal.Such as, be A (x if the user touches the coordinate of this touch-screen
0, y
0), when user's touch action is slided, the corresponding B (x that changes into of its coordinate
1, y
1), C (x
2, y
2) or D (x
3, y
3) etc., at this moment, this touch-screen control chip 31 is according to x
1-x
0Value or y
1-y
0Value and judge glide direction from A to B, in like manner, this touch-screen control chip 31 is according to x
2-x
0Value or y
2-y
0Value and judge glide direction from A to C, according to x
3-x
0Value or y
3-y
0Value and judge glide direction from A to D.
For example, when the user need import as shown in Figure 4 numeral 3: this touch-screen of user's single-point touches, then, slide to the right.At this moment, touch-screen control chip 31 obtains a plurality of coordinate figures that change on the X-axis according to certain frequency, at this moment, on Y-axis, may also can change certain coordinate figure, if but baseband chip 32 determines the absolute value that the absolute value of the coordinate figure change on the X-axis changes much larger than the coordinate figure on the Y-axis, then can confirm as is that the coordinate figure of X-axis changes, thereby is judged as the action of sliding to the right, again the numeral 3 of corresponding pre-stored is accessed and by loudspeaker plays to the user in order to confirming;
In addition, when the user need import as shown in Figure 5 numeral 0: this touch-screen of user's multiple point touching, follow the static action of sliding do not done, at this moment, on X-axis and Y-axis, all do not produce the change of coordinate figure, perhaps the change of Chan Shenging is tending towards infinitely small, at this moment, baseband chip 32 judges that the change amount of the coordinate figure of touch-screen control chip 31 detected X-axis or Y-axis is 0, thereby the action of judging the user is static, again the numeral 0 of corresponding pre-stored is accessed and by loudspeaker plays to the user in order to confirming.
Certainly, said circumstances only is a preferred embodiment of the present invention, and the user also can hand this portable terminal sidewards, at this moment, the digit groups of single-point touches and multiple point touching can correspondingly be adjusted, and corresponding glide direction also can correspondingly be adjusted, under the situation that present technique field personnel understand, do not give unnecessary details.
See also Fig. 6, mobile terminal number input unit of the present invention comprises:
Touch action judge module 61 when calling by the touch screen operation of portable terminal, receives the touch point number and the touch action of user's input, touch point number and this touch action is judged, to obtain judged result;
The acquisition module 62 that Enters Number obtains according to judged result and to Enter Number, and wherein, this Enters Number corresponding to this touch point number and touch action;
Calling module 63 is called out according to Entering Number of obtaining.
In a preferred embodiment, touch action judge module 61 judges that according to touch point number and this touch action the type of this touch action belongs to one in single-point touches and hold part, single-point touches and sliding action, multiple point touching and hold part and multiple point touching and the sliding action when obtaining judged result in that touch point number and touch action are judged.
In a preferred embodiment, Enter Number acquisition module 62 when obtaining number, comprising:
Determine touch action when being single-point touches and hold part at touch action judge module 61, the acquisition module 62 that Enters Number obtains single-point touches and hold part is pairing Enters Number;
Determine touch action when being single-point touches and sliding action at touch action judge module 61, touch action judge module 61 further obtains the glide direction of single-point touches and sliding action, and the acquisition module 62 that Enters Number obtains single-point touches according to this glide direction and sliding action is pairing Enters Number;
Determine touch action when being multiple point touching and hold part at touch action judge module 61, the acquisition module 62 that Enters Number obtains multiple point touching and hold part is pairing Enters Number;
Determine touch action when being multiple point touching and sliding action at touch action judge module 61, touch action judge module 61 further obtains the glide direction of multiple point touching and sliding action, and the acquisition module 62 that Enters Number obtains multiple point touching according to glide direction and sliding action is pairing Enters Number.
In a preferred embodiment, mobile terminal number input unit of the present invention also comprises: memory module 64 is set, be used to set in advance the pairing also corresponding stored that Enters Number of single-point touches and hold part and multiple point touching and hold part, setting in advance in this single-point touches and the sliding action glide direction is to slide left, slide to the right, to the lower slider and the also corresponding stored that Enters Number of correspondence such as slips upwards, set in advance that glide direction is slip left in this multiple point touching and the sliding action, slide to the right, to Entering Number and corresponding stored of correspondences such as the lower slider and the slip that makes progress.
In a preferred embodiment, mobile terminal number input unit of the present invention also comprises: voice cue module 65, the mode that is used for Entering Number by voice is prompted to the user.
See also above at the description of mobile terminal number input method about the concrete workflow of mobile terminal number input unit, repeat no more herein.
The present invention provides a and can satisfy the mobile terminal of touch screen that the blind person uses according to blind person's operating habit, greatly facilitates the use of blind users, is beneficial to the popularization of portable terminal.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.