Summary of the invention
In view of this, the control method that a kind of handheld device and automatic call answering and locking touch-screen are provided is necessary, to solve the problem.
A kind of handheld device, comprises touch-screen, regulon, sensing cell, comparing unit and control unit, when having detected incoming call, and the sensitivity of this regulon automatic adjustment height touch-screen.This sensing cell sense touch on this touch-screen or touch sources near and produce capacitive sensing value.The capacitive sensing value that this sensing cell produces by this comparing unit and one first predetermined value 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 that whether touch-screen is by bump contact or close.If judge that touch-screen is by bump contact or close, this comparing unit more further relatively and judge sensing cell sensing touch shield the touch of the first half or touch sources near the capacitive sensing value produced whether be greater than the touch of sensing the latter half or touch sources near the capacitive sensing value produced, and whether this state maintained more than one first scheduled time.If the capacitive sensing value of touch or the close generation of touch sources that sensing cell sensing touch shields the first half is greater than the capacitive sensing value near generation of the touch of sensing the latter half or touch sources, and the maintenance of this state exceedes this first scheduled time, this control unit controls auto-pickup incoming call.
A kind of handheld device, comprises touch-screen, regulon, sensing cell, comparing unit, control unit and timing unit, and when conversing beginning, this timing unit starts timing, and judges that whether timing is more than one second scheduled time.If timing is more than second scheduled time, the sensitivity of this regulon automatic adjustment height touch-screen.This sensing cell sense touch on this touch-screen or touch sources near and produce capacitive sensing value.The capacitive sensing value that this sensing cell produces by this comparing unit and one first predetermined value 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 unlocks touch-screen.If this capacitive sensing value is greater than this first predetermined value, this control unit continues to judge that whether touch-screen is by bump contact or close.If judge that touch-screen is by bump contact or close, then this control unit is judged as closely conversing, 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;
Sensing touch screen on touch 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, then continue to judge that whether touch-screen is by bump contact or close;
If judge that touch-screen is by bump contact or close, then judge that sensing touch shields the touch of the first half or the capacitive sensing value whether being greater than the touch of sensing the latter half or the close generation of touch sources near the capacitive sensing value produced of touch sources again, and this state maintained more than one first scheduled time;
If the capacitive sensing value of touch or the close generation of touch sources that sensing touch shields the first half is greater than the capacitive sensing value near generation of the touch of sensing the latter half or touch sources, and maintenance exceedes this first scheduled time, then auto-pickup incoming call.
Automatically lock a control method for touch-screen, the method comprises the following steps:
Call starts;
Start timing, and judge that whether timing is more than one second scheduled time;
If timing is more than second scheduled time, then the sensitivity of automatic adjustment height touch-screen;
Sensing touch screen on touch 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, is then judged as remote call, and unlocks touch-screen;
If this capacitive sensing value is greater than this first predetermined value, then continue to judge that whether touch-screen is by bump contact or close;
If judge that touch-screen is by bump contact or close, be then judged as closely conversing, and lock touch-screen.
Whether the present invention responds to by bump contact or close when sending a telegram here by the sensitivity of automatic adjustment height touch-screen, to determine whether auto-pickup incoming call, is user-friendly to; In communication process by induction touch panel whether by bump contact or near judging whether it is that closely architrave is conversed, to determine being locking or unblock touch-screen, thus the false triggering effectively avoiding the face due to user too to cause near touch-screen operation.
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 for sense touch on this touch-screen 10 or touch sources near and produce capacitive sensing value.This comparing unit 50 compares for the capacitive sensing value that produced by sensing cell 40 and predetermined value, this control unit 60 for determine whether automatic call answering according to the comparative result of this comparing unit 50 and in communication process according to user near or control locking away from this touch-screen 10 or unlock touch-screen 10.Wherein, the concrete function that this each functional module of handheld device 100 performs 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 this regulon 30 automatic adjustment height touch-screen 10.
Step S202, this sensing cell 40 sense touch on this touch-screen 10 or touch sources near and produce capacitive sensing value.
Step S203, this capacitive sensing value and one first predetermined value X1 compare by this comparing unit 50, 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 is user's skin distance touch-screen 10 1 predetermined distance range, such as, within 6cm time, and 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, then perform step S204; Otherwise flow process is back to step S203.Obviously, user's skin distance touch-screen 10 surface is nearer, and the capacitive sensing value that sensing cell 40 senses is larger, thus, when user's skin distance touch-screen 10 surface is in this predetermined distance range, 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 of multiple matrix arrangement, 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 that whether touch-screen 10 is by bump contact or close.In present embodiment, the corresponding coordinate of each inductor, control unit 60 is greater than the inductor of this first predetermined value X1 according to the comparative result determination capacitive sensing value of this comparing unit 50, obtain by each coordinate defining the close point of touch sources the region area that this multiple spot covers, thus judge that whether touch-screen 10 is by bump contact or close.Such as shown in Figure 3, touch-screen 10 evenly arranges multiple inductor from top to bottom, such as inductor 1 ~ 6, and the capacitive sensing value produced by the plurality of inductor is as judging parameter, if comparing unit 50 determines that the capacitive sensing value produced more than the inductor of half quantity is all greater than the first predetermined value X1, such as the capacitive sensing value of inductor 1 ~ 4 or 1 ~ 6 is all greater than the first predetermined value X1, then determine that the point of inductor 1 ~ 4 or 1 ~ 6 correspondence has all sensed that touch sources is close, then this control unit 60 judges that touch-screen 10 is by bump contact or close, and perform step S205, otherwise, then step S209 is performed.
Step S205, when this control unit 60 judges that the capacitive sensing value that this sensing cell 40 senses increases gradually, when namely the spacing of user's skin and touch-screen 10 reduces gradually, progressively reduces ringing volume.
Step S206, this comparing unit 50 relatively also judges whether the capacitive sensing value of the inductor generation being positioned at touch-screen 10 the first half is greater than the capacitive sensing value of the inductor generation being positioned at the latter half more further, and whether this state maintains more than one first scheduled time, such as 0.5 second.Need the receiver near handheld device during owing to receiving calls, therefore face distance touch-screen 10 first half branch is nearer than the latter half, and the capacitive sensing value that the induction area of touch-screen 10 the first half and inductor produce can be larger.In present embodiment, for Fig. 3, 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, namely the capacitive sensing value that the capacitive sensing value that the inductor of touch-screen 10 the first half produces produces than the inductor of the latter half is large, and have the trend weakened successively from top to bottom, then perform step S207; Otherwise flow process is back to step S206.
Step S207, this control unit 60 controls auto-pickup incoming call, establishes a communications link.
Step S208, the sensitivity of touch-screen 10 is recalled to default value by this regulon 30.
Step S209, if this control unit 60 judges that touch-screen 10 is not by wide area touch, then 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, this second predetermined value X2 for user touch touch-screen 10 time, what this sensing cell 40 sensed corresponds to the capacitive sensing value of touch location, 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, then perform step S210; Otherwise flow process is back to step S203.
Step S210, this control unit 60 has been judged as touching input, and namely user touches touch-screen 10, and performs corresponding operation according to this touch input.
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 that whether timing is more than one second scheduled time, such as 3 ~ 5 seconds.If so, then step S403 is performed; Otherwise flow process is back to step S402 and continues timing.
Step S403, the sensitivity of this regulon 30 automatic adjustment height touch-screen 10.
Step S404, this sensing cell 40 sense touch on this touch-screen 10 or touch sources near and produce capacitive sensing value.
Step S405, this capacitive sensing value and the first predetermined value X1 compare by this comparing unit 50, judge whether this capacitive sensing value is greater than this first predetermined value X1.If not, then this control unit 60 is judged as remote call, and performs step S410; Otherwise, perform step S406.
Step S406, this control unit 60 continues to judge that whether touch-screen 10 is by bump contact or close.If so, then this control unit 60 is judged as closely conversing, and performs step S407, locking touch-screen 10, and then flow process skips to step S411; Otherwise, perform 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, then step S409 is performed; Otherwise flow process skips to step S411.
Step S409, this control unit 60 has been judged as touching input.
Step S410, unlocks touch-screen 10.
Step S411, the sensitivity of touch-screen 10 is recalled to default value by this regulon 30.
Step S412, this timing unit 70 timing resets, and flow process is back to step S402, reclocking.
Whether the present invention responds to by bump contact or close when sending a telegram here by the sensitivity of automatic adjustment height touch-screen, to determine whether reduce ringing volume and auto-pickup incoming call, be user-friendly to; In communication process by induction touch panel whether by bump contact or near judging whether it is that closely architrave is conversed, to determine being locking or unblock touch-screen, thus the false triggering effectively avoiding the face due to user too to cause near touch-screen operation.
Those skilled in the art will be appreciated that; above execution mode is only used to the present invention is described; and be not used as limitation of the invention; as long as within spirit of the present invention, the appropriate change do above embodiment and change all drop within the scope of protection of present invention.