Summary of the invention
In view of this, be necessary to provide the control method of a kind of handheld device and automatic call answering and locking touch-screen, to address the above problem.
, comprise touch-screen, regulon, sensing cell, comparing unit and control unit, when having detected incoming call, the sensitivity of this regulon automatic adjustment height touch-screen.Touch on this this touch-screen of sensing cell sensing or touch sources near and produce capacitive sensing value.Capacitive sensing value and one first predetermined value that this comparing unit produces this sensing cell compare, and judge whether this capacitive sensing value is greater than this first predetermined value.If this capacitive sensing value is greater than this first predetermined value, this control unit continues to judge whether touch-screen is contacted by large area or close.If judgement touch-screen is contacted by large area or is close, this comparing unit more further relatively and judge the touch of sensing cell sensing touch screen the first half or the capacitive sensing value near producing of touch sources whether be greater than the touch of sensing the latter half or touch sources near the capacitive sensing value producing, and whether this state maintains and surpassed for one first scheduled time.If the touch of sensing cell sensing touch screen the first half or touch sources are greater than near the capacitive sensing value producing, sensing the latter half touches or the close capacitive sensing value producing of touch sources, and this state maintained over this first scheduled time, this control unit is controlled auto-pickup incoming call.
, comprise touch-screen, regulon, sensing cell, comparing unit, control unit and timing unit, when call starts, this timing unit starts timing, and judges whether timing surpassed for one second scheduled time.If timing surpasses second scheduled time, the sensitivity of this regulon automatic adjustment height touch-screen.Touch on this this touch-screen of sensing cell sensing or touch sources near and produce capacitive sensing value.Capacitive sensing value and one first predetermined value that this comparing unit produces this sensing cell compare, and judge whether this capacitive sensing value is greater than this first predetermined value.If this capacitive sensing value is not more than this first predetermined value, this control unit is judged as remote call, and release touch-screen.If this capacitive sensing value is greater than this first predetermined value, this control unit continues to judge whether touch-screen is contacted by large area or close.If judgement touch-screen is contacted by large area or be close, this control unit is judged as closely call, and locks touch-screen.
A control method for automatic call answering, the method comprises the following steps:
When having detected incoming call, the sensitivity of automatic adjustment height touch-screen;
Touch on sensing touch screen or touch sources near and produce capacitive sensing value;
Judge whether this capacitive sensing value is greater than one first predetermined value;
If this capacitive sensing value is greater than the first predetermined value, continue to judge whether touch-screen is contacted by large area or close;
If judgement touch-screen is contacted by large area or is close, judge again that sensing touch shields the touch of the first half or whether the capacitive sensing value near producing of touch sources is greater than the touch of sensing the latter half or the capacitive sensing value near generation of touch sources, and this state maintained over one first scheduled time;
If the touch of sensing touch screen the first half or touch sources are greater than near the capacitive sensing value producing, sensing the latter half touches or the close capacitive sensing value producing of touch sources, and maintains over this first scheduled time, auto-pickup incoming call.
A control method that automatically locks touch-screen, the method comprises the following steps:
Call starts;
Start timing, and judge whether timing surpassed for one second scheduled time;
If timing surpasses second scheduled time, the sensitivity of automatic adjustment height touch-screen;
Touch on sensing touch screen or touch sources near and produce capacitive sensing value;
Judge whether this capacitive sensing value is greater than one first predetermined value;
If this capacitive sensing value is not more than this first predetermined value, be judged as remote call, and release touch-screen;
If this capacitive sensing value is greater than this first predetermined value, continue to judge whether touch-screen is contacted by large area or close;
If judgement touch-screen is contacted by large area or be close, be judged as closely call, and lock touch-screen.
Whether the present invention was responded to and by large area, is contacted or close by the sensitivity of automatic adjustment height touch-screen in when incoming call, whether to determine auto-pickup incoming call, was user-friendly to; In communication process, by induction touch panel, whether by large area, contacted or near judging whether it is that closely architrave is conversed, to determine being locking or release touch-screen, thus the false triggering operation of effectively avoiding the face due to user too to cause near touch-screen.
Embodiment
Referring to Fig. 1, is the functional block diagram of a kind of handheld device provided by the invention.This handheld device 100 comprises: touch-screen 10, regulon 30, sensing cell 40, comparing unit 50, control unit 60 and timing unit 70.Wherein, this regulon 30 is for regulating the sensitivity of touch-screen 10.This sensing cell 40 produces capacitive sensing value for the close of the touch on this touch-screen 10 of sensing or touch sources.This comparing unit 50 compares for capacitive sensing value and the predetermined value that sensing cell 40 is produced, this control unit 60 for according to the comparative result of this comparing unit 50, determine whether automatic call answering and communication process according to user near or away from this touch-screen 10, control and lock or release touch-screen 10.Wherein, the concrete function that these handheld device 100 each functional modules are carried out will be introduced as follows in detail.
Referring to Fig. 2, is the control method flow chart of handheld device automatic call answering of the present invention.The method comprises the following steps:
Step S201, when having detected incoming call, the sensitivity of these regulon 30 automatic adjustment height touch-screens 10.
Step S202, the touch on this this touch-screen 10 of sensing cell 40 sensings or touch sources near and produce capacitive sensing value.
Step S203, this comparing unit 50 compares this capacitive sensing value and one first predetermined value X1, by judging whether this capacitive sensing value is greater than this first predetermined value X1 and has determined whether that touch sources is close.In present embodiment, this first predetermined value X1 be user's skin apart from touch-screen 10 1 predetermined distance range, in the time of for example, in 6cm, the capacitive sensing value that this sensing cell 40 senses.If the capacitive sensing value that this senses is greater than this first predetermined value X1, perform step S204; Otherwise flow process is back to step S203.Obviously, user's skin is nearer apart from touch-screen 10 surfaces, and the capacitive sensing value that sensing cell 40 senses is larger, thereby, when user's skin is apart from touch-screen 10 surfaces in this predetermined distance range time, this capacitive sensing value is greater than the first predetermined value X1, and it is close that this control unit 60 defines touch sources.Wherein, this sensing cell 40 comprises the inductor that a plurality of matrixes are arranged, each inductor for respond to touch on relevant position or touch sources near and produce corresponding capacitive sensing value.
Step S204, this control unit 60 continues to judge whether touch-screen 10 is contacted by large area or close.In present embodiment, the corresponding coordinate of each inductor, control unit 60 determines that according to the comparative result of this comparing unit 50 capacitive sensing value is greater than the inductor of this first predetermined value X1, by defining each coordinate of the close point of touch sources, obtain the region area that this multiple spot covers, thereby judge whether touch-screen 10 is contacted by large area or close.For example as shown in Figure 3, a plurality of inductors are from top to bottom evenly set on touch-screen 10, for example inductor 1 ~ 6, and the capacitive sensing value that the plurality of inductor is produced is as judgement parameter, if comparing unit 50 is determined the capacitive sensing value more than the inductor generation of half quantity and is all greater than the first predetermined value X1, for example inductor 1 ~ 4 or 1 ~ 6 capacitive sensing value are all greater than the first predetermined value X1, the point of determining inductor 1 ~ 4 or 1 ~ 6 correspondence has all sensed that touch sources is close, these control unit 60 judgement touch-screens 10 are contacted by large area or are close, and perform step S205, otherwise, perform step S209.
Step S205, when the capacitive sensing value that these control unit 60 these sensing cells 40 of judgement sense increases gradually, when distance reduces gradually between user's skin and touch-screen 10, progressively reduces ringing volume.
Step S206, this comparing unit 50 further relatively also judges whether the capacitive sensing value of the inductor generation that is positioned at touch-screen 10 the first half is greater than the capacitive sensing value of the inductor generation that is positioned at the latter half again, and whether this state maintains surpasses one first scheduled time, for example 0.5 second.Need the receiver near handheld device owing to receiving calls, nearer than the latter half apart from touch-screen 10 first half branches because of this person's face, the capacitive sensing value that the induction area of touch-screen 10 the first half and inductor produce can be larger.In present embodiment, take Fig. 3 as example, if the capacitive sensing value of inductor 1 ~ 2 is all greater than the capacitive sensing value of inductor 3 ~ 4, and the capacitive sensing value of inductor 3 ~ 4 is greater than again the capacitive sensing value of inductor 5 ~ 6, be that the capacitive sensing value that produces than the inductor of the latter half of capacitive sensing value that the inductor of touch-screen 10 the first half produces is large, and there is the trend weakening successively from top to bottom, perform step S207; Otherwise flow process is back to step S206.
Step S207, this control unit 60 is controlled auto-pickup incoming call, establishes a communications link.
Step S208, this regulon 30 is recalled to default value by the sensitivity of touch-screen 10.
Step S209, if this control unit 60 judgement touch-screens 10 are not touched by large area, this comparing unit 50 more further relatively and judge whether the capacitive sensing value that sensing cell 40 senses is greater than one second predetermined value X2.In present embodiment, when this second predetermined value X2 touches touch-screen 10 for user, the capacitive sensing value corresponding to touch location that this sensing cell 40 senses, and this second predetermined value X2 is greater than this first predetermined value X1.If the capacitive sensing value that this senses is greater than the second predetermined value X2, perform step S210; Otherwise flow process is back to step S203.
Step S210, this control unit 60 has been judged as and has touched input, and user touches touch-screen 10, and touches the corresponding operation of input execution according to this.
Refer to Fig. 4, for handheld device of the present invention automatically locks the control method flow chart of touch-screen.The method comprises the following steps:
Step S401, call starts.
Step S402, this timing unit 70 starts timing, and judges whether timing surpasses one second scheduled time, for example 3 ~ 5 seconds.If so, perform step S403; Otherwise flow process is back to step S402 and continues timing.
Step S403, the sensitivity of these regulon 30 automatic adjustment height touch-screens 10.
Step S404, the touch on this this touch-screen 10 of sensing cell 40 sensings or touch sources near and produce capacitive sensing value.
Step S405, this comparing unit 50 compares this capacitive sensing value and the first predetermined value X1, judges whether this capacitive sensing value is greater than this first predetermined value X1.If not, this control unit 60 is judged as remote call, and performs step S410; Otherwise, execution step S406.
Step S406, this control unit 60 continues to judge whether touch-screen 10 is contacted by large area or close.If so, this control unit 60 is judged as closely call, and performs step S407, locking touch-screen 10, and then flow process skips to step S411; Otherwise, execution step S408.
Step S408, this comparing unit 50 more further relatively and judge whether the capacitive sensing value that sensing cell 40 senses is greater than the second predetermined value X2.If so, perform step S409; Otherwise flow process skips to step S411.
Step S409, this control unit 60 has been judged as and has touched input.
Step S410, release touch-screen 10.
Step S411, this regulon 30 is recalled to default value by the sensitivity of touch-screen 10.
Step S412, these timing unit 70 timing zero clearings, flow process is back to step S402, reclocking.
Whether the present invention was responded to and by large area, is contacted or close by the sensitivity of automatic adjustment height touch-screen in when incoming call, to determine whether reduce ringing volume and auto-pickup incoming call, be user-friendly to; In communication process, by induction touch panel, whether by large area, contacted or near judging whether it is that closely architrave is conversed, to determine being locking or release touch-screen, thus the false triggering operation of effectively avoiding the face due to user too to cause near touch-screen.
Those skilled in the art will be appreciated that; above execution mode is only for the present invention is described; and be not used as limitation of the invention; as long as within connotation scope of the present invention, within the appropriate change that above embodiment is done and variation all drop on the scope of protection of present invention.