Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of method and system realizing side functions key, be intended to solve the problem that the function key area occupied of existing mobile terminal bottom it is large, impact bottom antenna.
Technical scheme of the present invention is as follows:
Realize a method for side functions key, wherein, comprise step:
Whether the side of A, detection mobile terminal has at least two finger touch points, if then enter step B simultaneously;
B, icon at mobile terminal touch screen side show function keys, realize corresponding function by the icon clicking described function key.
The described method realizing side functions key, wherein, described step B specifically comprises:
B1, when detect there is at least two finger touch points simultaneously time, open a timer;
When B2, timer arrive, the change in location detecting finger touch point whether in preset range, if so, then at the icon of mobile terminal touch screen side show function keys.
The described method realizing side functions key, wherein, described steps A also comprises: whether the side detecting mobile terminal has at least two finger touch points and another relative side whether to have a finger touch point, if then enter step B simultaneously.
The described method realizing side functions key, wherein, also comprises after described step B:
C, when described touch-screen exceed the schedule time do not receive click commands time, then the icon of not show function keys.
The described method realizing side functions key, wherein, in described step B, the icon of described function key is with translucent or opaque state display.
The described method realizing side functions key, wherein, in described step B, the icon of described function key shows in upright or edge-on mode.
Realize a system for side functions key, wherein, comprising:
Detection module, whether the side for detecting mobile terminal has at least two finger touch points simultaneously;
Display module, for when detect there is at least two finger touch points simultaneously time, then at the icon of mobile terminal touch screen side show function keys, realize corresponding function by the icon clicking described function key.
The described system realizing side functions key, wherein, described display module specifically comprises:
Timer open unit, for when detect there is at least two finger touch points simultaneously time, open a timer;
Judging unit, when arriving for timer, the change in location detecting finger touch point whether in preset range, if so, then at mobile terminal touch screen side show function keys.
The described system realizing side functions key, whether wherein, in described detection module, detect the side of mobile terminal has at least two finger touch points and the relative side of mobile terminal whether all to have finger touch point, if then enter display module simultaneously.
The described system realizing side functions key, wherein, also comprises:
Cancel module, for exceed when described touch-screen the schedule time do not receive click commands time, then the icon of not show function keys.
Beneficial effect: the present invention is by surveying finger touch point, if at least two finger touch points detected, then show function keys, thus the function realizing mobile terminal side function key simultaneously to mobile terminal side frontier inspection.
Embodiment
The invention provides a kind of method and system realizing side functions key, for making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is a kind of process flow diagram realizing the method preferred embodiment of side functions key of the present invention, and as shown in the figure, it comprises step:
Whether the side of S1, detection mobile terminal has at least two finger touch points simultaneously;
S2, when detect there is at least two finger touch points simultaneously time, then at the icon of mobile terminal touch screen side show function keys, realize corresponding function by the icon clicking described function key.
As shown in Figure 2, be generally hold by one hand the posture of mobile terminal (for mobile phone), five fingers can be reduced to the point of five shown in figure (right hand-held set), point 1,2,3,4 represents four fingers in left side respectively, and point 5 represents thumb.Therefore for highly sensitive handset touch panel, when being hold by one hand mobile phone, by the software algorithm of touch control, the object that can be reduced to five conductions, on the impact of touch-screen, can detect that these five points are on the impact of touch-screen, that is can detect five finger touch points.But detecting these five finger touch points is not object of the present invention, that is tester's five finger touch points are by common method of the prior art, as realized by modes such as proximity transducers.And the difference of usual holding method, not necessarily five finger touch points that systems axiol-ogy arrives also may be four finger touch points or less.
The present invention is exactly the positional information of the finger touch point utilizing these to be detected, set up a kind of dynamic icon (icon of function key), this icon is positioned at touch-screen side (as limit, left side or the right edge of touch-screen, or limit, top side or bottom side), the icon of function key can be shown as translucent or non-transparent state, this function key is virtual, the function key be used for below alternative mobile phone, and is dynamic change.When needs function key time, by the side of finger presses at mobile phone, after touch screen controller detects that side has the information of at least two finger touch points simultaneously, just can show the icon of corresponding function key, corresponding function can be realized by clicking this icon, as returned button, homepage button, menu key etc.
Be illustrated in fig. 3 shown below, cancel function key original below mobile phone, larger space can be saved as other functional areas, also can, by the area reduction of below, make mobile phone smaller and more exquisite.During normal use, in time not needing function key, show function keys icon (namely not show function keys icon) can be omitted, so that display other information more, when needs using function key time, by mobile for finger near mobile terminal side, now touch screen controller detects finger touch point, the positional information of four or five finger touch points under normal circumstances, the present invention can select the positional information of wherein at least two finger touch points, so-called position here refers to that finger touch point is relative to the distance bottom mobile phone, the vertical direction namely usually said or Y-axis, this is because need the side icon of function key being presented at touch-screen, prevent from affecting other display information, as shown in Figure 4, the present invention can selected element 2, 3, 4 three some display positions as three function key icons, and the icon of three function keys is shown at side, icon can cover original display information, also translucent state can be adopted to be presented at above original image, depend primarily on design requirement.
After the icon display of function key, just can open corresponding function by clickable icon, for less can directly the clicking, for larger can being operated by the finger of another hand of screen with thumb of screen.The icon of function key can certainly be presented at opposite side, as shown in Figure 5, at this time icon is relatively near thumb, facilitates one-handed performance.
Specifically, described step S102 specifically comprises:
S201, when detect there is at least two finger touch points simultaneously time, open a timer;
When S202, timer arrive, the change in location detecting finger touch point whether in preset range, if so, then at mobile terminal touch screen side show function keys.
Under the state that handset touch panel display is opened, if the information of finger touch point detected in the left side of mobile phone or right side, as two or more finger information detected simultaneously, now open a timer, touch controller can postpone a period of time (i.e. timer), this time can be 100 milliseconds, also can be other numerical value, depend on the needs of control chip, then continue to detect, if the change in location of finger touch point not in preset range, then detects again; If detect that the change in location of finger touch point is in preset range, such as identical with data before or close, then demonstrate the icon of function key accordingly, can be 2 or 3 icons, maximum 4 icons, icon is positioned at the side of touch-screen, be as the criterion with the displaying contents not affecting other as far as possible, as shown in Fig. 4 or Fig. 5, the position at Primary Reference finger place, position in the vertical direction, the sustained height level being namely positioned at finger touch point is better.The icon of function key in the same side of finger touch point, also can may be displayed on opposite side.If now click corresponding icon, then display interface switches to new interface, and the icon of original function key can continue to retain to be presented at original position as required, also can no longer show.
As for this preset range, can arrange a change threshold, whether the change in location detecting each finger touch point exceedes this change threshold, if what finger touch point was then described has exceeded preset range.Can be detect that the change in location of each finger touch point has exceeded preset range, also can be that the change in location of wherein at least 2 finger touch points has exceeded preset range, then be judged to not need show function keys icon, otherwise need display.
Also comprise after described step S102:
S103, when touch-screen exceed the schedule time do not receive click commands time, then the icon of not show function keys.
Such as, if system touch screen exceedes the schedule time do not receive click commands, 5 seconds, then can exit the display state of this function key, and no longer show the icon of corresponding function key, until the condition detected is set up next time.Certainly, such as, if also the schedule time can be exceeded specific to the icon of function key do not receive click commands, 5 seconds, then can exit the display state of this function key, and no longer show the icon of corresponding function key, until the condition detected is set up next time.That is, user is non-click function key for a long time, then without the need to show function keys.
Whether in addition, in described step S101, detect the side of mobile terminal has at least two finger touch points and the relative side of mobile terminal whether all to have finger touch point, if then enter step S102 simultaneously.That is, preferably, be not only and there are at least two finger touch points simultaneously, and relative side (side another side corresponding thereto) all has finger touch point, then the icon of show function keys.So more meet the situation of one hand or held by both hands machine.
Further, in described step S101, whether the side detecting mobile terminal has two, three or four finger touch points simultaneously; And whether another relative side has a finger touch point.Such as right hand-held set, then that the limit, left side of mobile terminal has at least two, three or four finger touch points, the right edge of mobile terminal has a finger touch point and thumb, so, can determine that user is at right hand-held set, the icon of keys visible, for the situation of left hand-held set, be then that the right edge of mobile terminal has at least two, three or four finger touch points, there are a finger touch point and thumb in the limit, left side of mobile terminal
In addition, the icon of described function key shows in upright or edge-on mode.For the icon display mode that upright mode can be according to script function key, as is seen in fig. 6 or fig. 7, edge-on mode is then show, as shown in Fig. 4 or Fig. 5 according to the mode vertical with standing manner.
Based on said method, the present invention also provides a kind of system realizing side functions key, as shown in Figure 8, comprising:
Detection module 100, whether the side for detecting mobile terminal has at least two finger touch points simultaneously;
Display module 200, for when detect there is at least two finger touch points simultaneously time, then at the icon of mobile terminal touch screen side show function keys, realize corresponding function by the icon clicking described function key.
Further, described display module 200 specifically comprises:
Timer open unit, for when detect there is at least two finger touch points simultaneously time, open a timer;
Judging unit, when arriving for timer, the change in location detecting finger touch point whether in preset range, if so, then at mobile terminal touch screen side show function keys.
Whether further, in described detection module 100, detect the side of mobile terminal has at least two finger touch points and the relative side of mobile terminal whether all to have finger touch point, if then enter display module simultaneously.
Further, system also comprises:
Cancel module, for exceed when described touch-screen the schedule time do not receive click commands time, then the icon of not show function keys.
In sum, the present invention is by surveying finger touch point, if at least two finger touch points detected, then show function keys, thus the function realizing mobile terminal side function key simultaneously to mobile terminal side frontier inspection.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.