Summary of the invention
Object of the present invention is intended at least solve above-mentioned technological deficiency.
Embodiment of the present invention first aspect proposes a kind of control method of touch-screen, comprises the following steps: A, with first scanning frame per second scan the portion of channel of described touch-screen to obtain the first scanning result; B, judge whether touch-screen described in object proximity according to described first scanning result and first threshold; If C judges there is touch-screen described in object proximity, then scan whole passages of described touch-screen to obtain the second scanning result with the second scanning frame per second; D, judged whether that object touches described touch-screen according to described second scanning result and Second Threshold, wherein, described Second Threshold is greater than described first threshold; If E judges have object to touch described touch-screen, then calculate the coordinate of touch point according to described second scanning result; If judge do not have object to touch described touch-screen with F, then no touch state for time is accumulated, when accumulated value reaches default value, go to step A.
Embodiment of the present invention second aspect also proposed a kind of contactor control device, comprising: touch-screen, and described touch-screen has multiple row of channels and/or multiple row passage in order to detect the capacitance variations of described touch-screen; Touch screen controller, described touch screen controller is connected with described multiple row of channels and/or multiple row passage, described touch screen controller scans the portion of channel of described touch-screen to obtain the first scanning result with the first scanning frame per second, and after judging there is touch-screen described in object proximity according to described first scanning result and first threshold, scan whole passages of described touch-screen to obtain the second scanning result with the second scanning frame per second; And host computer, described host computer is connected with described touch screen controller, when described touch screen controller judges have object to touch described touch-screen according to described second scanning result and Second Threshold, described second scanning result is sent to described host computer by described touch screen controller, described host computer calculates the coordinate of touch point according to described second scanning result, wherein, described Second Threshold is greater than described first threshold.
The embodiment of the present invention third aspect also proposed a kind of mobile terminal, and described mobile terminal comprises contactor control device as above.
The embodiment of the present invention is by judging user's proximity induction, and when not closing on or touching, automatic closed portion passage and/or reduction scan frame per second, thus under the prerequisite not increasing cost, clearly can reduce the power consumption of contactor control device.
The aspect that the present invention adds and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by practice of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
When touch-screen work, touch screen controller is constantly by the touch information of touch-screen detection part scanning user, but user does not use the touch function of screen in fact when major part, such as people when seeing a film, when listening song to see the lyrics, carrying out that GPS is simple be when navigating, the power consumption that therefore this time, scanning produced just is wasted.For this situation, the embodiment of the present invention is by judging user's proximity induction, and when not closing on or touching, automatic closed portion passage and/or reduction scan frame per second, thus clearly can reduce the power consumption of contactor control device.And the embodiment of the present invention is after object proximity having been detected, enter normal duty at once, if enter normal operating conditions again and the delay of the staff touch operation caused because this reducing touch.
As shown in Figure 1, be the process flow diagram of the control method of embodiment of the present invention touch-screen, comprise the following steps:
Step S101, with the portion of channel of the first scanning frame per second touch screen scanning to obtain the first scanning result.In one embodiment of the invention, the portion of channel of touch-screen refers to the odd number of touch-screen or the row of channels of even number and/or row passage, or refers to row of channels or the row passage of touch-screen.Wherein, the first scanning frame per second is less than the second scanning frame per second of normal scan.In embodiments of the present invention, when there is no object proximity or touch, by only sweep test touch-screen or reduction scanning frame per second reduce power consumption now.Such as, for only scan line passage or row passage, do not need very high precision, without the need to accurate Calculation coordinate owing to closing on detection, as long as therefore the mutual capacitance of line scanning passage or column scan passage there occurs change, and meet corresponding condition and just can think there is object proximity.Such embodiment of the present invention is passed through the passage of closed portion and/or is reduced scanning frame per second, just can reach the object of saving power consumption.In other embodiments of the invention, the passage corresponding to a part of region that the portion of channel of touch-screen is touch-screen, the passage such as, on touch-screen corresponding to half region, or the passage etc. corresponding to core region.It should be noted that, if limit the portion of channel of only touch screen scanning, the upper half area of such as touch-screen, then also need to point out initial touch position to user, thus avoid the maloperation of user.Such as can write exactly in the description, after cell phone standby, open as needed the upper half area that first touch-screen then should touch touch-screen, or also can carry out on the touchscreen marking and pointing out simultaneously.
Step S102, has judged whether object proximity touch-screen according to the first scanning result and first threshold.If the mutual capacitance of certain row of channels or row passage changes in the first scanning result, and variable quantity is greater than first threshold, then think there is object proximity touch-screen, then go to step S103.If judge there is no object proximity touch-screen, then continue with the portion of channel of the first scanning frame per second touch screen scanning.Wherein, when whether detection has object proximity, the sensitivity of passage induction is higher, and namely first threshold is less than the Second Threshold touching and adopt when judging.As shown in Figure 2, when object proximity touch-screen, its first threshold adopted is Δ C1, and the Second Threshold adopted when object touches touch-screen is Δ C2.As Δ C1≤Δ C, namely represent that staff has and closes on, and makes controller enter normal duty, if decreased by there being touch to enter, staff touch operation that normal operating conditions causes postpones again.
Step S103, if judge there is object proximity touch-screen, then scans whole passages of frame per second (normal scan frame per second) touch screen scanning to obtain the second scanning result with second.Now, the second scanning frame per second is greater than the first scanning frame per second, and whole passages of touch screen scanning, to obtain the second scanning result of reaction touch situation.
Step S104, judged whether that object touches described touch-screen according to the second scanning result and Second Threshold, wherein, Second Threshold is greater than first threshold.When to be greater than Second Threshold be Δ C2 to the mutual capacitance variation delta C that certain point (i.e. the point of crossing of row of channels and row passage) in the second scanning result detects, illustrate that object touches touch-screen, then performed step S105 further.Otherwise, if it is Δ C2 that mutual capacitance variation delta C is less than Second Threshold, then perform step S106 further.
Step S105, calculates the coordinate of touch point according to the second scanning result, continue afterwards with whole passages of the second scanning frame per second (normal scan frame per second) touch screen scanning again.
Step S106, continues with whole passages of the second scanning frame per second (normal scan frame per second) touch screen scanning, and carries out timing, and judge in Preset Time, whether have object to touch touch-screen.If there is object to touch touch-screen in Preset Time, then calculate the coordinate of touch point.
Step S107, if do not have object to touch described touch-screen in Preset Time, then closed portion passage and/or reduction scanning frame per second, namely go to step S101.
As shown in Figure 3, be the structural drawing of embodiment of the present invention contactor control device.This contactor control device comprises touch-screen 100, touch screen controller 200 and host computer 300.Touch-screen 100 has multiple row of channels and/or multiple row passage in order to detect the capacitance variations of touch-screen 100.As shown in Figure 4, be the schematic diagram of row of channels and row passage in embodiment of the present invention contactor control device.The scan channel of touch screen controller is represent by row of channels and row passage.Touch sensible detection method needs each row and column all to detect, row of channels is used for determining the row coordinate touched, and row passage is used for the row-coordinate determining to touch, thus determines the particular location that touches, if only carry out proximity induction judgement, only line scanning or column scan mode can be adopted.The touch sensible detection method of mutual capacitance needs the mutual capacitance detecting row and column generation, when carrying out proximity induction, does not need accurate coordinates computed, can close row of channels and/or the row passage of odd number or even number.Such touch-screen by the passage of closed portion, and reduces scanning frame per second, can reach the object of saving power consumption.
Touch screen controller 200 is connected with multiple row passage with multiple row of channels of touch-screen 100, touch screen controller 200 scans the portion of channel of frame per second touch screen scanning 100 to obtain the first scanning result with first, and after judging there is touch-screen described in object proximity according to the first scanning result and first threshold, with whole passages of the second scanning frame per second touch screen scanning to obtain the second scanning result.Host computer 300 is connected with touch screen controller 200, when touch screen controller 200 judges have object to touch touch-screen according to the second scanning result and Second Threshold, second scanning result is sent to host computer 300 by touch screen controller 200, host computer 300 calculates the coordinate of touch point according to the second scanning result, wherein, Second Threshold is greater than described first threshold.
In one embodiment of the invention, the portion of channel of touch-screen 100 is the odd number of touch-screen 100 or the row of channels of even number and row passage, or, be row of channels or the row passage of touch-screen 100.
In a preferred embodiment of the invention, the first scanning frame per second is less than the second scanning frame per second, thus is reduced in the power consumption of contactor control device when not closing on or touch further.
In one embodiment of the invention, touch screen controller 200 is also for after scanning whole passages of frame per second touch screen scanning with second, no touch state for time is accumulated, and when accumulated value reaches default value, touch screen controller 200 adopts the portion of channel of the first scanning frame per second touch screen scanning.If occur to touch, accumulated value is reset.
The kind mobile terminal of the embodiment of the present invention comprises contactor control device as above.
The embodiment of the present invention is by judging user's proximity induction, and when not closing on or touching, automatic closed portion passage and/or reduction scan frame per second, thus under the prerequisite not increasing cost, clearly can reduce the power consumption of contactor control device.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention, for the ordinary skill in the art, be appreciated that and can carry out multiple change, amendment, replacement and modification to these embodiments without departing from the principles and spirit of the present invention, scope of the present invention is by claims and equivalency thereof.