CN104035578A - Method and device for controlling capacitance touch screen terminal - Google Patents
Method and device for controlling capacitance touch screen terminal Download PDFInfo
- Publication number
- CN104035578A CN104035578A CN201410224761.5A CN201410224761A CN104035578A CN 104035578 A CN104035578 A CN 104035578A CN 201410224761 A CN201410224761 A CN 201410224761A CN 104035578 A CN104035578 A CN 104035578A
- Authority
- CN
- China
- Prior art keywords
- action
- touch
- current action
- execution object
- directly over
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and device for controlling a capacitance touch screen terminal. The method includes the steps of judging whether a current motion is a TP clicking motion or not; if the current motion is the TP clicking motion, determining a landing area of an execution object of a current object on the TP, wherein the landing area is a corresponding area on the TP when the execution object is suspended right above the TP in the process of approaching to the TP; determining coordinates of a touch point in the area where the execution object is in contact with the landing area with a coordinate track filtering algorithm, and controlling the capacitance touch screen terminal to execute operation corresponding to the coordinates of the touch point. By means of the method and device, due to the fact that whether the current motion is the TP clicking motion or not is judged, and the landing area of the execution object on the TP when the current motion is the TP clicking motion is determined, when an area where the coordinate track filtering algorithm is implemented is determined, a filtering area in proper size can be directly selected in the area where the execution object is in contact with the landing area to determine the coordinates of the touch point, the coordinates of the determined touch point are accurate, the application range is wide, and the accuracy of control over the capacitance touch screen terminal can be improved.
Description
Technical field
The disclosure relates to touch screen technology field, particularly a kind of method and device of control capacitance formula touch screen terminal.
Background technology
Along with developing rapidly of touch screen technology, there is increasing touch screen terminal, for example, utilize the induction current of human body to carry out capacitive touch screens terminal of work etc.In practical application, user often clicks by finger or slip TP (Touch Panel, touch panel) carrys out control capacitance formula touch screen terminal.The touch-control chip of capacitive touch screens terminal determines that user points after the contact coordinate that touches TP, and this contact coordinate is reported to processor, carries out the operation corresponding with this contact coordinate by processor control capacitance formula touch screen terminal.But, because the sensitivity of touch-control chip is very high, make touch-control chip can be resolved to the finger causing due to people's the interference such as heartbeat, blood pressure change and slightly move, therefore, in the time that user's finger touches TP, touch-control chip can be resolved to contact and slight movement occur and obtain multiple contact coordinates.
In order to report contact coordinate more accurately to processor, the region that common meeting touches TP at finger is used Grid Track filtering algorithm to process slightly moving due to contact the multiple contact coordinates that obtain, the contact coordinate with filtering due to interference acquisition.Wherein, Grid Track filtering algorithm be for user by clicking the method for the processing contact coordinate proposing when the action of TP touches TP, the method can in filter field, comprise because the slight mobile multiple contact coordinates that obtain of finger process to determine contact coordinate.Particularly, the method determines that point that finger touches TP is whether all the time in the filter field of application Grid Track filtering algorithm.If finger touches the point of TP all the time in filter field, using the center point coordinate of filter field as the contact coordinate reporting to processor of determining; If finger touches the point of TP and drops on multiple filter field, respectively using the central point of multiple filter field as the multiple contact coordinates that report to processor.The action that touches TP due to finger is divided into click action and sliding action, and owing to also not having at present pair click action and sliding action to carry out the solution of accurately distinguishing, therefore, correlation technique, in the time of control capacitance formula touch screen terminal, all adopts Grid Track filtering algorithm to process contact coordinate.In concrete processing procedure, in the time that finger touches TP, contact coordinate is determined by Grid Track filtering algorithm in the region of all touching TP at finger.The region of touching TP due to finger may comprise multiple filter field.Therefore, correlation technique is determined multiple contact coordinates by Grid Track filtering algorithm, and further control capacitance formula touch screen terminal is carried out the operation corresponding with each contact coordinate of determining.
Realizing in process of the present disclosure, inventor finds that correlation technique at least exists following problem:
Because correlation technique is in the process of control capacitance formula touch screen terminal, the situation of no matter being touched the situation of TP or being touched TP for finger by click action by sliding action for finger, all determines contact coordinate in the some place filter field that finger touches TP by Grid Track filtering algorithm.Therefore, the region that may cause touching TP at finger has two or more by the definite contact coordinate of Grid Track filtering algorithm, thereby the precision of control capacitance formula touch screen terminal is not high.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of method and device of control capacitance formula touch screen terminal.
According to the first aspect of disclosure embodiment, a kind of method of control capacitance formula touch screen terminal is provided, comprising:
Judge whether current action is the action of clicking the TP of capacitive touch screens terminal;
If described current action is the action of clicking described TP, the touch-down zone of the execution object that judges described current action on described TP, described touch-down zone is that described execution object approaches while being suspended in directly over described TP in the process of described TP region corresponding on described TP;
Touch the region in described touch-down zone at described execution object and determine a contact coordinate by Grid Track filtering algorithm, and control described capacitive touch screens terminal and carry out the operation corresponding with described contact coordinate.
In conjunction with first aspect, in the possible implementation of the first of first aspect, describedly judge that whether current action is the action of clicking the touch panel TP of capacitive touch screens terminal, comprising:
Judge whether current action is directly over described TP, to draw near to approach the action of described TP;
If described current action is to draw near to approach the action of described TP, judge that described current action is the action of clicking the TP of described capacitive touch screens terminal directly over described TP.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second of first aspect, describedly judge that whether current action is to draw near and approach the action of described TP, comprising directly over described TP:
Detect the capacitance signal variable quantity of described execution object in the unit interval;
Judge according to the capacitance signal variable quantity of described execution object whether described current action is directly over described TP, to draw near to approach the action of described TP.
In conjunction with the possible implementation of the first of first aspect, in the third possible implementation of first aspect, describedly judge that whether current action is to draw near and approach the action of described TP, comprising directly over described TP:
Detect described execution object and the described TP capacitance signal when the predeterminable range and whether reach predetermined threshold value, described predetermined threshold value be when described current action be to carry out object and the described TP value of corresponding capacitance signal when predeterminable range apart described in while clicking the action of described TP;
The testing result whether capacitance signal according to described execution object and described TP when the predeterminable range reaches predetermined threshold value judges whether described current action is directly over described TP, to draw near to approach the action of described TP.
In conjunction with first aspect to any the possible implementation in the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, a contact coordinate is determined by Grid Track filtering algorithm in the described region of touching described touch-down zone at described execution object, comprising:
The central point by Grid Track filtering algorithm, described execution object being touched in the default size area in described touch-down zone is defined as contact coordinate.
According to the second aspect of disclosure embodiment, a kind of device of control capacitance formula touch screen terminal is provided, comprising:
The first judge module, for judging whether current action is the action of clicking the TP of capacitive touch screens terminal;
The second judge module, be used in the time that described current action is the action of the described TP of click, the touch-down zone of the execution object that judges described current action on described TP, described touch-down zone is that described execution object approaches while being suspended in directly over described TP in the process of described TP region corresponding on described TP;
Determination module, determines a contact coordinate for the region of touching described touch-down zone at described execution object by Grid Track filtering algorithm;
Control module, carries out the operation corresponding with described contact coordinate for controlling described capacitive touch screens terminal.
In conjunction with second aspect, in the possible implementation of the first of second aspect, described the first judge module, comprising:
Judging unit, for judging whether current action is to draw near to approach the action of described TP directly over described TP;
Determining unit, for being to draw near directly over described TP while approaching the action of described TP when described current action, judges that described current action is the action of clicking the TP of described capacitive touch screens terminal.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second of second aspect, described judging unit, comprising:
The first detection sub-unit, for detection of the capacitance signal variable quantity of described execution object in the unit interval;
The first judgment sub-unit, for judging according to the capacitance signal variable quantity of described execution object whether described current action is to draw near to approach the action of described TP directly over described TP.
In conjunction with the possible implementation of the first of second aspect, in the third possible implementation of second aspect, described judging unit, comprising:
The second detection sub-unit, whether the capacitance signal for detection of described execution object and described TP when the predeterminable range reaches predetermined threshold value, described predetermined threshold value be when described current action be to carry out object and the described TP value of corresponding capacitance signal when predeterminable range apart described in while clicking the action of described TP;
The second judgment sub-unit, judges for the testing result that whether capacitance signal when the predeterminable range reaches predetermined threshold value according to described execution object and described TP whether described current action is directly over described TP, to draw near to approach the action of described TP.
In conjunction with second aspect to any the possible implementation in the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described determination module, is defined as contact coordinate for the central point by Grid Track filtering algorithm, described execution object being touched in the default size area in described touch-down zone.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By judging that current action is to click the action of TP, and judge that current action is the execution object of current action while clicking the action of the TP touch-down zone on TP.Therefore, in the time determining the region of implementing Grid Track filtering algorithm, can be directly select the filter field of suitable size to determine a contact coordinate by Grid Track filtering algorithm in the region of carrying out object and touch touch-down zone, not only definite contact coordinate is more accurate, and the scope of application is wider, and then can improve the precision of control capacitance formula touch screen terminal.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the present invention.
Brief description of the drawings
Accompanying drawing is herein merged in instructions and forms the part of this instructions, shows embodiment according to the invention, and is used from and explains principle of the present invention with instructions one.
Fig. 1 is according to the process flow diagram of the method for a kind of control capacitance formula touch screen terminal shown in an exemplary embodiment.
Fig. 2 is according to the process flow diagram of the method for a kind of control capacitance formula touch screen terminal shown in an exemplary embodiment.
Fig. 3 is according to the block diagram of the device of a kind of control capacitance formula touch screen terminal shown in an exemplary embodiment.
Fig. 4 is according to the block diagram of a kind of the first judge module shown in an exemplary embodiment.
Fig. 5 is according to the block diagram of a kind of judging unit shown in an exemplary embodiment.
Fig. 6 is according to the block diagram of a kind of judging unit shown in an exemplary embodiment.
Fig. 7 is according to the block diagram of a kind of device shown in an exemplary embodiment.
Embodiment
Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they are only and the example of apparatus and method as consistent in some aspects that described in detail in appended claims, of the present invention.
Fig. 1 is according to the process flow diagram of the method for a kind of control capacitance formula touch screen terminal shown in an exemplary embodiment, and as shown in Figure 1, the method for control capacitance formula touch screen terminal is applied in terminal, comprises the following steps.
In step S101, judge whether current action is the action of clicking the TP of capacitive touch screens terminal.
Alternatively, judge that whether current action is the action of clicking the TP of capacitive touch screens terminal, comprising:
Judge whether current action is directly over TP, to draw near to approach the action of TP;
If current action is to draw near to approach the action of TP, judge that current action is the action of clicking the TP of capacitive touch screens terminal directly over TP.
Alternatively, judge that whether current action is to draw near and approach the action of TP, comprising directly over TP:
Detect the capacitance signal variable quantity of carrying out object in the unit interval;
Judge according to carrying out object capacitance signal variable quantity whether current action is directly over TP, to draw near to approach the action of TP.
Alternatively, judge that whether current action is to draw near and approach the action of TP, comprising directly over TP:
Detect and carry out object and the TP capacitance signal in the time of predeterminable range and whether reach predetermined threshold value, predetermined threshold value is in the time that current action is the action of click TP, to carry out object and the TP value of corresponding capacitance signal when predeterminable range apart;
Judge according to carrying out object and the TP testing result that whether capacitance signal when predeterminable range reaches predetermined threshold value apart whether current action is directly over TP, to draw near to approach the action of TP.
In step S102, if current action is to click the action of TP, the touch-down zone of the execution object that judges current action on TP, wherein, touch-down zone is to carry out while being suspended in directly over TP in the process that object approaches TP region corresponding on TP.
In step S103, touch the region in touch-down zone at execution object and determine a contact coordinate by Grid Track filtering algorithm, and control capacitance formula touch screen terminal is carried out the operation corresponding with contact coordinate.
Alternatively, touch the region in touch-down zone at execution object and determine a contact coordinate by Grid Track filtering algorithm, comprising:
Be defined as contact coordinate by Grid Track filtering algorithm by carrying out the central point that object touches in the default size area in touch-down zone.
The method that disclosure embodiment provides, by judging that current action is to click the action of TP, and judges that current action is the execution object of current action while clicking the action of the TP touch-down zone on TP.Therefore, in the time determining the region of implementing Grid Track filtering algorithm, can be directly select the filter field of suitable size to determine a contact coordinate by Grid Track filtering algorithm in the region of carrying out object and touch touch-down zone, not only definite contact coordinate is more accurate, and the scope of application is wider, and then can improve the precision of control capacitance formula touch screen terminal.
Fig. 2 is according to the process flow diagram of the method for a kind of control capacitance formula touch screen terminal shown in an exemplary embodiment, and as shown in Figure 2, the method for control capacitance formula touch screen terminal is applied in terminal, comprises the following steps.
In step S201, judge whether current action is the action of clicking the TP of capacitive touch screens terminal.
Wherein, about the execution object of current action, the embodiment of the present invention is not done concrete restriction, and while specifically enforcement, this execution object can be user's finger, can be also capacitance pen, etc.
Particularly, when user is by carrying out the action control capacitive touch screens terminal of object click TP, thereby while making capacitive touch screens terminal can carry out the operation corresponding with the action of carrying out object click TP, need to determine the contact coordinate of the action correspondence of carrying out object click TP.In actual applications, thereby the region of often by Grid Track filtering algorithm, user being touched TP by carrying out object is processed and is determined that execution object touches the contact coordinate of TP, and when object touches TP by clicking the action of TP, touch for carrying out the algorithm that the coordinate in the region of TP is processed because Grid Track filtering algorithm is generally to carrying out object, therefore, need to judge whether current action is the action of clicking the TP of capacitive touch screens terminal.
About judging whether current action is the mode of clicking the action of the TP of capacitive touch screens terminal, and disclosure embodiment does not do concrete restriction.When concrete enforcement, due in the time that user clicks the action control capacitive touch screens terminal of TP by carrying out object, touch TP from operation execution object to execution object and have a process, from operation carry out object to carry out object do not touch before TP during this period of time in, carry out object approach TP from drawing near directly over TP and be suspended in TP directly over.And in the time that user passes through to carry out the sliding action control capacitance formula touch screen terminal of object, the process that execution object touches TP is often for to slide to TP center from the lateral edges of TP.That is to say, carrying out the direction of carrying out object in object touches TP process by clicking the action of TP and the action of slip TP has obvious difference.Therefore, can touch the direction of carrying out object in TP process and judge whether current action is the action of clicking the TP of capacitive touch screens terminal by carrying out object.To sum up, judge whether current action is that the mode of clicking the action of the TP of capacitive touch screens terminal includes but not limited to: judge whether current action is directly over TP, to draw near to approach the action of TP; If current action is to draw near to approach the action of TP, judge that current action is the action of clicking the TP of capacitive touch screens terminal directly over TP.
Wherein, judge that whether current action is the mode of the action that approaches TP that draws near, and can have a variety of directly over TP.When concrete enforcement, include but not limited to realize by following two kinds of modes:
First kind of way: be generally a conductor owing to carrying out object, therefore, execution object draws near and approaches the process of TP directly over TP, can produce certain influence to the electric capacity on TP.For example, if to carry out object be user finger, the process that finger touches TP will make the self-capacitance on TP increase or mutual capacitance reduces.And in the process of the capacitance variations on TP, it is upper that a part of electric capacity will be transferred to finger, and the built-in touch-control chip of TP can detect the situation of change of finger capacitance signal.Therefore, judging that whether current action is to draw near while approaching the action of TP directly over TP, can detect the capacitance signal variable quantity of carrying out object in the unit interval, and judge according to the capacitance signal variable quantity of this execution object whether current action is directly over TP, to draw near to approach the action of TP.
About judging that according to carrying out the capacitance signal variable quantity of object whether current action is the mode of the action that approaches TP that draws near directly over TP, disclosure embodiment does not do concrete restriction.When concrete enforcement, can determine that carrying out object approach the speed of TP by carrying out the capacitance signal variable quantity of object in the unit interval, and further judge according to the speed of carrying out object and approach TP whether current action is directly over TP, to draw near to approach the action of TP.For example, when carrying out object for when finger, finger touches TP process by clicking the action of TP is the process of a freely falling body, and therefore, finger and TP are in the time of different distance, and the speed that finger approaches TP is also different.Therefore, can judge whether finger movement is directly over TP, to draw near to approach the action of TP whether reaching predetermined threshold value with TP digit speed when the predeterminable range according to finger.Certainly, herein only to judge finger illustrates judge whether current action approaches TP action as drawing near directly over TP according to the capacitance signal variable quantity of carrying out object whether reaching predetermined threshold value with TP digit speed when the predeterminable range.When concrete enforcement, can also adopt alternate manner to judge according to the capacitance signal variable quantity of carrying out object whether current action is directly over TP, to draw near to approach the action of TP, and disclosure embodiment does not do concrete restriction to this.
The second way: due in the time that execution object touches TP by clicking the action of TP, with TP when the different distance, the capacitance signal of the execution object that touch-control chip detection arrives is often also different, therefore, can carry out the capacitance signal that object and TP carry out object when the predeterminable range by detection and whether reach predetermined threshold value, and judge according to carrying out object and the TP testing result that whether capacitance signal when predeterminable range reaches predetermined threshold value apart whether current action is directly over TP, to draw near to approach the action of TP.Wherein, due in the time touching TP by the click action of TP and the action of slip TP, not identical in the value of capacitance signal of carrying out object with TP when the predeterminable range yet, therefore, predetermined threshold value be herein when current action be while clicking the action of TP, to carry out object and the TP value of corresponding capacitance signal when predeterminable range apart.
Concrete, if execution object and the TP capacitance signal in the time of predeterminable range reaches predetermined threshold value, judge that current action is directly over TP, to draw near to approach the action of TP; Do not reach predetermined threshold value if carry out object and the TP capacitance signal in the time of predeterminable range, judge that current action for not drawing near and approach the action of TP directly over TP.
In addition, disclosure embodiment not to carry out predeterminable range apart of object and TP and carry out object and TP apart the size of the predetermined threshold value of capacitance signal when predeterminable range limit.When concrete enforcement, can rule of thumb arrange and carry out predeterminable range apart of object and TP and carry out object and the TP size of the predetermined threshold value of capacitance signal when predeterminable range apart.
In step S202, if current action is to click the action of TP, the touch-down zone of the execution object that judges current action on TP, wherein, touch-down zone is to carry out while being suspended in directly over TP in the process that object approaches TP region corresponding on TP.
Wherein, because touch-down zone is to approach while being suspended in directly over TP in the process of TP region corresponding on TP when carrying out object, therefore, touch-down zone is to carry out the region that may touch on TP when object is carried out the action of clicking TP.
Judging that current action is to click after the action of TP, in order to determine the action of carrying out object and can or can not sport in the action of the click TP that approaches TP of drawing near slip TP directly over TP, the touch-down zone of the execution object that can also further judge current action on TP.Particularly, judging behind touch-down zone, because touch-down zone is to carry out the region that may touch on TP when object is carried out the action of clicking TP.Therefore,, in the time that execution object touches touch-down zone, can determine that current action is the action of clicking TP; And judging behind touch-down zone, just started as drawing near and approach the action of TP directly over TP if there is carrying out object, but while becoming sliding action suddenly, carry out object touch the region of TP may be not in touch-down zone, now, can determine that current action is not for clicking the action of TP.
The mode in the touch-down zone about the execution object that judges current action on TP, disclosure embodiment does not do concrete restriction.When concrete enforcement, owing to being while clicking the action of TP when current action, carry out object draws near and will have the process being suspended in directly over TP approaching process directly over TP, again because the built-in sensor matrices of TP has laterally longitudinal two kinds of arrangement modes, and each sensor only can be identified the capacitance signal of the execution object directly over its passage.Therefore, can be by the touch-down zone of the execution object of carrying out the current action of region decision that the sensor of capacitance signal of object is corresponding on TP being detected.For example, if carry out object for finger, and the built-in sensor matrices of TP is 10*10, if touched in the process of TP by the action of clicking TP at finger, second sensor of transversely arranged second sensor and longitudinal arrangement detects respectively finger capacitance signal, can determine that finger will touch the region at these two sensor places, therefore, can be using the region at these two sensor places as the touch-down zone of pointing on TP.
Alternatively, judge behind the touch-down zone of finger on TP at the capacitance signal of carrying out object by detection, can in touch-down zone, touch TP by the action of clicking TP in order to ensure carrying out object, can suitably expand the size in touch-down zone.For example, if detect that the area size at sensor place of finger capacitance signal is 50*50 pixel, at judgement finger when the touch-down zone on TP, can this 50*50 pixel centered by, by the expanded in size in touch-down zone to 70*70 pixel.
In step S203, touch the region in touch-down zone at execution object and determine a contact coordinate by Grid Track filtering algorithm.
While touching TP due to execution object by clicking the action of TP, touch-control chip often can detect that carrying out object occurs slight mobile, and in the time that execution object slightly moves, can on TP, form a contact track, thereby make touch-control chip be resolved to multiple contact coordinates.In actual applications, often corresponding different operation of the different contact coordinate on TP.Owing to having determined that by step S201 and step S202 current action is the action of clicking TP, and in the time of the action control capacitive touch screens terminal by clicking TP, making coordinate by a contact just can control capacitance formula touch screen terminal.Therefore,, in the time determining contact coordinate by Grid Track filtering algorithm, determine a contact coordinate.Therefore, in order to ensure that user is when clicking the action control capacitive touch screens terminal of TP, capacitive touch screens terminal can be carried out the operation that user expects, need to determine a contact coordinate by Grid Track filtering algorithm in the region of carrying out object and touch touch-down zone.
Determine a contact coordinate by the region of touching touch-down zone at execution object by Grid Track filtering algorithm, can guarantee that the contact coordinate that touch-control chip reports to processor only has one, therefore, guarantee that processor can be in a subsequent control execution unique operation corresponding to contact coordinate definite with this.
The mode of determining a contact coordinate about the region of touching touch-down zone at execution object by Grid Track filtering algorithm, disclosure embodiment does not do concrete restriction.When concrete enforcement, include but not limited to, by Grid Track filtering algorithm, the central point of carrying out object and touching in the default size area in touch-down zone is defined as to contact coordinate.Particularly, can touch by Grid Track filtering algorithm the default size area of TP processes carrying out object, determine and carry out contact that object touches TP whether all the time in this default size area, if carry out contact that object touches TP all the time in this default size area, the central point of carrying out object and touching in the default size area in touch-down zone is defined as to contact coordinate.
Wherein, disclosure embodiment does not limit the concrete size of default size area.When concrete enforcement, due to the TP for different TP specifications and different TP resolution, touch the region in touch-down zone for execution object, the number of its contact coordinate that can identify is also often different.Therefore, this default size area can be determined in conjunction with the resolution situation of TP specification and display screen.In addition, if carry out object for finger, this default size area also can be selected according to finger thickness the region of suitable size.Alternatively, in order to ensure that the process that the thicker user of finger clicks the action control capacitive touch screens terminal of TP by finger can successfully realize, and can arrange larger default size area.For example, if conventionally determine contact coordinate by Grid Track filtering algorithm in finger touches the filter field of pixel of the 30*30 of TP in correlation technique, in disclosure embodiment, can in touching the pixel region of 50*50 in touch-down zone, finger determine contact coordinate by Grid Track filtering algorithm.By the default size area of flexible selection, make to determine that by Grid Track filtering algorithm the mode of contact coordinate has more dirigibility.
In step S204, control capacitance formula touch screen terminal is carried out the operation corresponding with contact coordinate.
Due to when the control capacitance formula touch screen terminal, the different contact coordinate on TP is corresponding different operation often.Touch TP and realize the operation of control capacitance formula touch screen terminal in order to meet user by clicking the action of TP, determining after a contact coordinate by Grid Track filtering algorithm, need control capacitance formula touch screen terminal to carry out the operation corresponding with contact coordinate.The mode of carrying out the operation corresponding with contact coordinate about control capacitance formula touch screen terminal, disclosure embodiment does not do concrete restriction.When concrete enforcement, can be first from the mapping relations of pre-stored contact coordinate and operation, inquire about the operation that definite contact coordinate is corresponding, and control the control capacitance formula touch screen terminal execution operation corresponding with the contact coordinate inquiring.
The method that disclosure embodiment provides, by judging that current action is to click the action of TP, and judges that current action is the execution object of current action while clicking the action of the TP touch-down zone on TP.Therefore, in the time determining the region of implementing Grid Track filtering algorithm, can be directly select the filter field of suitable size to determine a contact coordinate by Grid Track filtering algorithm in the region of carrying out object and touch touch-down zone, not only definite contact coordinate is more accurate, and the scope of application is wider, and then can improve the precision of control capacitance formula touch screen terminal.
Fig. 3 is according to the block diagram of the device of a kind of control capacitance formula touch screen terminal shown in an exemplary embodiment.With reference to Fig. 3, this device comprises the first judge module 301, the second judge modules 302, determination module 303 and control module 304.
This first judge module 301 is configured to judge whether current action is the action of clicking the TP of capacitive touch screens terminal;
This second judge module 302 is configured in the time that current action is the action of click TP, the touch-down zone of the execution object that judges current action on TP, wherein, touch-down zone is to approach while being suspended in directly over TP in the process of TP region corresponding on TP when carrying out object;
This determination module 303 is configured to determine a contact coordinate by Grid Track filtering algorithm carrying out the region that object touches touch-down zone;
This control module 304 is configured to control capacitance formula touch screen terminal and carries out the operation corresponding with contact coordinate.
Alternatively, referring to Fig. 4, the first judge module 301 comprises judging unit 3011 and determining unit 3012.
This judging unit 3011 is configured to judge whether current action is directly over TP, to draw near to approach the action of TP;
This determining unit 3012 be configured to when current action be directly over TP, to draw near while approaching the action of TP, judge that current action is the action of clicking the TP of capacitive touch screens terminal.
Alternatively, referring to Fig. 5, judging unit 3011 comprises the first detection sub-unit 30111 and the first judgment sub-unit 30112.
This first detection sub-unit 30111 is configured to detect the capacitance signal variable quantity of carrying out object in the unit interval;
This first judgment sub-unit 30112 is configured to judge according to the capacitance signal variable quantity of carrying out object whether current action is directly over TP, to draw near to approach the action of TP.
Alternatively, referring to Fig. 6, judging unit 3011 comprises the second detection sub-unit 30113 and the second judgment sub-unit 30114.
This second detection sub-unit 30113 is configured to detect to be carried out object and the TP capacitance signal in the time of predeterminable range and whether reaches predetermined threshold value, and predetermined threshold value is in the time that current action is the action of click TP, to carry out object and the TP value of corresponding capacitance signal when predeterminable range apart;
This second judgment sub-unit 30114 is configured to judge according to carrying out object and the TP testing result that whether capacitance signal when predeterminable range reaches predetermined threshold value apart whether current action is directly over TP, to draw near to approach the action of TP.
Alternatively, determination module 303 is configured to be defined as contact coordinate by Grid Track filtering algorithm by carrying out the central point that object touches in the default size area in touch-down zone.
The device that disclosure embodiment provides, by judging that current action is to click the action of TP, and judges that current action is the execution object of current action while clicking the action of the TP touch-down zone on TP.Therefore, in the time determining the region of implementing Grid Track filtering algorithm, can be directly select the filter field of suitable size to determine a contact coordinate by Grid Track filtering algorithm in the region of carrying out object and touch touch-down zone, not only definite contact coordinate is more accurate, and the scope of application is wider, and then can improve the precision of control capacitance formula touch screen terminal.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations have been described in detail in the embodiment about the method, will not elaborate explanation herein.
Fig. 7 is according to the block diagram of a kind of device 700 for control capacitance formula touch screen terminal shown in an exemplary embodiment.For example, device 700 can be mobile phone, computing machine, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 7, device 700 can comprise following one or more assembly: processing components 702, storer 704, power supply module 706, multimedia groupware 708, audio-frequency assembly 710, I/O (Input/Output, I/O) interface 712, sensor module 714, and communications component 716.
The integrated operation of processing components 702 common control device 700, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Processing components 702 can comprise that one or more processors 720 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 702 can comprise one or more modules, is convenient to mutual between processing components 702 and other assembly.For example, processing components 702 can comprise multi-media module, to facilitate mutual between multimedia groupware 708 and processing components 702.
Storer 704 is configured to store various types of data to be supported in the operation of device 700.The example of these data comprises for any application program of operation on device 700 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 704 can be realized by the volatibility of any type or non-volatile memory device or their combination, as SRAM (Static Random Access Memory, static RAM), EEPROM (Electrically-Erasable Programmable Read-Only Memory, Electrically Erasable Read Only Memory), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, programmable read only memory), ROM (Read-Only Memory, ROM (read-only memory)), magnetic store, flash memory, disk or CD.
Power supply module 706 provides electric power for installing 700 various assemblies.Power supply module 706 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 700.
Multimedia groupware 708 is included in the screen that an output interface is provided between device 700 and user.In certain embodiments, screen can comprise LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen comprises TP, screen may be implemented as touch-screen, to receive the input signal from user.TP comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Touch sensor is the border of sensing touch or sliding action not only, but also detection duration and the pressure relevant to touch or slide.In certain embodiments, multimedia groupware 708 comprises a front-facing camera and/or post-positioned pick-up head.When device 700 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 710 is configured to output and/or input audio signal.For example, audio-frequency assembly 710 comprises a MIC (Microphone, microphone), and when device 700 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal receiving can be further stored in storer 704 or be sent via communications component 716.In certain embodiments, audio-frequency assembly 710 also comprises a loudspeaker, for output audio signal.
I/O interface 712 is for providing interface between processing components 702 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 714 comprises one or more sensors, is used to device 700 that the state estimation of various aspects is provided.For example, sensor module 714 can detect the opening/closing state of device 700, the relative positioning of assembly, for example assembly is display and the keypad of device 700, the position of all right pick-up unit 700 of sensor module 714 or 700 1 assemblies of device changes, user is with device 700 existence that contact or do not have the temperature variation of device 700 orientation or acceleration/deceleration and device 700.Sensor module 714 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 714 can also comprise optical sensor, as CMOS (Complementary Metal Oxide Semiconductor, CMOS (Complementary Metal Oxide Semiconductor)) or CCD (Charge-coupled Device, charge coupled cell) imageing sensor, for using in imaging applications.In certain embodiments, this sensor module 714 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 716 is configured to be convenient to the communication of wired or wireless mode between device 700 and miscellaneous equipment.Device 700 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 716 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, communications component 716 also comprises NFC (Near Field Communication, near-field communication) module, to promote junction service.For example, can be based on RFID (Radio Frequency Identification in NFC module, radio-frequency (RF) identification) technology, IrDA (Infra-red Data Association, Infrared Data Association) technology, UWB (Ultra Wideband, ultra broadband) technology, BT (Bluetooth, bluetooth) technology and other technology realize.
In the exemplary embodiment, device 700 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital signal Processor, digital signal processor), DSPD (Digital signal Processor Device, digital signal processing appts), PLD (Programmable Logic Device, programmable logic device (PLD)), FPGA) (Field Programmable Gate Array, field programmable gate array), controller, microcontroller, microprocessor or other electronic components are realized, be used for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the storer 704 of instruction, above-mentioned instruction can have been carried out said method by the processor 720 of device 700.For example, described non-provisional computer-readable recording medium can be ROM, RAM (Random Access Memory, random access memory), CD-ROM (Compact Disc Read-Only Memory, compact disc read-only memory), tape, floppy disk and optical data storage equipment etc.
A kind of non-provisional computer-readable recording medium, in the time that the instruction in this storage medium is carried out by the processor 720 that installs 700, makes device 700 can carry out a kind of method of control capacitance formula touch screen terminal, and described method comprises:
Judge whether current action is the action of clicking the touch panel TP of capacitive touch screens terminal;
If current action is to click the action of TP, the touch-down zone of the execution object that judges current action on TP, wherein, touch-down zone is to carry out while being suspended in directly over TP in the process that object approaches TP region corresponding on TP;
Touch the region in touch-down zone at execution object and determine a contact coordinate by Grid Track filtering algorithm, and control capacitance formula touch screen terminal is carried out the operation corresponding with contact coordinate.
The non-provisional computer-readable recording medium that disclosure embodiment provides, by judging that current action is to click the action of TP, and judges that current action is the execution object of current action while clicking the action of the TP touch-down zone on TP.Therefore, in the time determining the region of implementing Grid Track filtering algorithm, can be directly select the filter field of suitable size to determine a contact coordinate by Grid Track filtering algorithm in the region of carrying out object and touch touch-down zone, not only definite contact coordinate is more accurate, and the scope of application is wider, and then can improve the precision of control capacitance formula touch screen terminal.
Those skilled in the art, considering instructions and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendments and change not departing from its scope.Scope of the present invention is only limited by appended claim.
Claims (10)
1. a method for control capacitance formula touch screen terminal, is characterized in that, described method comprises:
Judge whether current action is the action of clicking the touch panel TP of capacitive touch screens terminal;
If described current action is the action of clicking described TP, the touch-down zone of the execution object that judges described current action on described TP, described touch-down zone is that described execution object approaches while being suspended in directly over described TP in the process of described TP region corresponding on described TP;
Touch the region in described touch-down zone at described execution object and determine a contact coordinate by Grid Track filtering algorithm, and control described capacitive touch screens terminal and carry out the operation corresponding with described contact coordinate.
2. method according to claim 1, is characterized in that, describedly judges that whether current action is the action of clicking the touch panel TP of capacitive touch screens terminal, comprising:
Judge whether current action is directly over described TP, to draw near to approach the action of described TP;
If described current action is to draw near to approach the action of described TP, judge that described current action is the action of clicking the TP of described capacitive touch screens terminal directly over described TP.
3. method according to claim 2, is characterized in that, describedly judges that whether current action is to draw near and approach the action of described TP, comprising directly over described TP:
Detect the capacitance signal variable quantity of described execution object in the unit interval;
Judge according to the capacitance signal variable quantity of described execution object whether described current action is directly over described TP, to draw near to approach the action of described TP.
4. method according to claim 2, is characterized in that, describedly judges that whether current action is to draw near and approach the action of described TP, comprising directly over described TP:
Detect described execution object and the described TP capacitance signal when the predeterminable range and whether reach predetermined threshold value, described predetermined threshold value be when described current action be to carry out object and the described TP value of corresponding capacitance signal when predeterminable range apart described in while clicking the action of described TP;
The testing result whether capacitance signal according to described execution object and described TP when the predeterminable range reaches predetermined threshold value judges whether described current action is directly over described TP, to draw near to approach the action of described TP.
5. according to the method described in arbitrary claim in claim 1 to 4, it is characterized in that, a contact coordinate is determined by Grid Track filtering algorithm in the described region of touching described touch-down zone at described execution object, comprising:
The central point by Grid Track filtering algorithm, described execution object being touched in the default size area in described touch-down zone is defined as contact coordinate.
6. a device for control capacitance formula touch screen terminal, is characterized in that, described device comprises:
The first judge module, for judging whether current action is the action of clicking the touch panel TP of capacitive touch screens terminal;
The second judge module, be used in the time that described current action is the action of the described TP of click, the touch-down zone of the execution object that judges described current action on described TP, described touch-down zone is that described execution object approaches while being suspended in directly over described TP in the process of described TP region corresponding on described TP;
Determination module, determines a contact coordinate for the region of touching described touch-down zone at described execution object by Grid Track filtering algorithm;
Control module, carries out the operation corresponding with described contact coordinate for controlling described capacitive touch screens terminal.
7. device according to claim 6, is characterized in that, described the first judge module, comprising:
Judging unit, for judging whether current action is to draw near to approach the action of described TP directly over described TP;
Determining unit, for being to draw near directly over described TP while approaching the action of described TP when described current action, judges that described current action is the action of clicking the TP of described capacitive touch screens terminal.
8. device according to claim 7, is characterized in that, described judging unit, comprising:
The first detection sub-unit, for detection of the capacitance signal variable quantity of described execution object in the unit interval;
The first judgment sub-unit, for judging according to the capacitance signal variable quantity of described execution object whether described current action is to draw near to approach the action of described TP directly over described TP.
9. device according to claim 7, is characterized in that, described judging unit, comprising:
The second detection sub-unit, whether the capacitance signal for detection of described execution object and described TP when the predeterminable range reaches predetermined threshold value, described predetermined threshold value be when described current action be to carry out object and the described TP value of corresponding capacitance signal when predeterminable range apart described in while clicking the action of described TP;
The second judgment sub-unit, judges for the testing result that whether capacitance signal when the predeterminable range reaches predetermined threshold value according to described execution object and described TP whether described current action is directly over described TP, to draw near to approach the action of described TP.
10. according to the device described in arbitrary claim in claim 6 to 9, it is characterized in that, described determination module, is defined as contact coordinate for the central point by Grid Track filtering algorithm, described execution object being touched in the default size area in described touch-down zone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410224761.5A CN104035578B (en) | 2014-05-26 | 2014-05-26 | Method and device for controlling capacitance touch screen terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410224761.5A CN104035578B (en) | 2014-05-26 | 2014-05-26 | Method and device for controlling capacitance touch screen terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104035578A true CN104035578A (en) | 2014-09-10 |
CN104035578B CN104035578B (en) | 2017-02-22 |
Family
ID=51466377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410224761.5A Active CN104035578B (en) | 2014-05-26 | 2014-05-26 | Method and device for controlling capacitance touch screen terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104035578B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201073A (en) * | 2016-06-28 | 2016-12-07 | 维沃移动通信有限公司 | The signal processing method of a kind of electric capacity touch screen and mobile terminal |
WO2018076447A1 (en) * | 2016-10-28 | 2018-05-03 | 宇龙计算机通信科技(深圳)有限公司 | Tapping method and system for preventing damage to screen |
CN108279846A (en) * | 2018-01-31 | 2018-07-13 | 北京硬壳科技有限公司 | A kind of gesture model establishes, the method and device of gesture authentication |
CN108965583A (en) * | 2018-06-15 | 2018-12-07 | Oppo广东移动通信有限公司 | Proximity test method and relevant device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7932896B2 (en) * | 2007-06-13 | 2011-04-26 | Apple Inc. | Techniques for reducing jitter for taps |
CN101340559A (en) * | 2008-03-13 | 2009-01-07 | 北京雷石天地电子技术有限公司 | Sliding type video demanding method |
CN101963863B (en) * | 2010-09-30 | 2015-07-08 | 华为终端有限公司 | User touch operation mode self-adapting method and device |
-
2014
- 2014-05-26 CN CN201410224761.5A patent/CN104035578B/en active Active
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201073A (en) * | 2016-06-28 | 2016-12-07 | 维沃移动通信有限公司 | The signal processing method of a kind of electric capacity touch screen and mobile terminal |
CN106201073B (en) * | 2016-06-28 | 2019-08-20 | 维沃移动通信有限公司 | A kind of signal processing method and mobile terminal of capacitance touch screen |
WO2018076447A1 (en) * | 2016-10-28 | 2018-05-03 | 宇龙计算机通信科技(深圳)有限公司 | Tapping method and system for preventing damage to screen |
CN108279846A (en) * | 2018-01-31 | 2018-07-13 | 北京硬壳科技有限公司 | A kind of gesture model establishes, the method and device of gesture authentication |
CN108965583A (en) * | 2018-06-15 | 2018-12-07 | Oppo广东移动通信有限公司 | Proximity test method and relevant device |
Also Published As
Publication number | Publication date |
---|---|
CN104035578B (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104020878A (en) | Touch input control method and device | |
CN104571923A (en) | Touch feedback method, device and terminal | |
CN104951159A (en) | Touch key and fingerprint identification method | |
CN105242870A (en) | False touch method and device of terminal with touch screen | |
CN106127129A (en) | Fingerprint typing reminding method and device | |
CN104598076B (en) | Touch information screen method and device | |
CN105511631A (en) | Gesture recognition method and device | |
CN105160320B (en) | Fingerprint identification method, device and mobile terminal | |
CN103995666A (en) | Method and device for setting work mode | |
CN104536684A (en) | Interface displaying method and device | |
CN105159496A (en) | Touch event response method and mobile terminal | |
CN106201108B (en) | Gloves control mode touch mode control method and device and electronic equipment | |
CN105260115A (en) | Method and device for realizing single-hand mode, and intelligent terminal | |
US10061497B2 (en) | Method, device and storage medium for interchanging icon positions | |
CN105718056A (en) | Gesture recognition method and device | |
CN104571709A (en) | Mobile terminal and processing method of virtual keys | |
CN105139378A (en) | Card boundary detection method and apparatus | |
CN105373334A (en) | Interactive screen control method and device | |
CN106325623A (en) | Method and apparatus for monitoring touch on touch screen and terminal device | |
CN104035578A (en) | Method and device for controlling capacitance touch screen terminal | |
CN105204713A (en) | Incoming call responding method and device | |
CN105005445A (en) | Control display method and apparatus | |
CN107958239A (en) | Fingerprint identification method and device | |
CN112905035A (en) | Touch screen control method and device and computer storage medium | |
EP3246805B1 (en) | Gesture operation response method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |