Capacitive touch screen control methodTechnical field
The present invention relates to a kind of touch-screen to control, particularly relate to the control method of capacitive touch screen.
Background technology
Intelligent hand held equipment now, especially mobile phone and flat board, be equipped with capacitance type multi-point touch-control screen nearly all.This is because multipoint sensing is necessary for the gesture detecting of user or the design of the man-machine interface such as virtual game bar, add the degree of reaction of capacitive Touch Screen and fluency is high and price is relatively cheap in recent years, so no matter the grade of intelligent hand held equipment is high-order or low order, be all almost equipped with capacitance type multi-point touch-control screen.And modern for the dependency degree of intelligent hand held equipment high, almost can see that people are at slip mobile phone or flat board whenever and wherever possible.And under some situation, user has to use singlehanded and its palmtop device interaction.Such as a feeding edge, uses mobile phone; When travelling frequently, stand on bus, another hand of handle hand uses mobile phone on the other hand; Maximum situations is portable the handbag that walks the Line, and another hand uses mobile phone.More and more many situations cause user regularly to use single hand operation of mobile phone even dull and stereotyped, and how to allow user that one hand can be used easily to operate mobile phone plane plate, are also the problems that a lot of user's experience (UX) team is studied.
In the situation of one-handed performance, most operation is used in viewing information, such as news in brief, e-book or webpage.Finger must be slided unavoidably with scrolling picture on screen to read information during viewing.But during one-handed performance, horizontally slip comparatively comfort and convenient, but just compare when needing to slide up and down and can run into the upper ill problem of operation.
Palmtop device is toward larger sized future development now, utilize finger sliding to carry out scrolling interface (ScreenScrolling) when one-handed performance, at lasting scrolling picture, such as webpage to be scrolled to bottom, user must reach by the finger sliding small size with repetition, not only be inconvenient to operate, also can increase the danger that device drops.
Summary of the invention
The object of this invention is to provide a kind of capacitive touch screen control method, during with one-handed performance Touch Screen, user need not utilize finger sliding, but while can single-point being pinned, utilize capacitance touch control screen can calculate the characteristic of contact area, relatively change with the use of person's gesture according to the area of this point, easily can send corresponding touch-control order.
In order to realize there is object, the invention discloses a kind of capacitive touch screen control method, comprise: the touch-control event detecting touch-screen, judge whether described touch-control event is lasting touch-control event, if then judge whether the center of the contact point of described touch-control event moves, if then obtain the touch-control area change of described touch-control event, send corresponding touch-control order according to described touch-control area change, be then considered as general touch-control event if not.
The present invention in lasting touch-control event and contact point center is moved time, corresponding touch-control order is sent according to touch-control area change, not only avoid maloperation, and can effectively judge user's gesture, thus easily send touch-control order according to the gesture of user, accurately, user can grasp method of operating without the need to repeatedly training in operation.When the invention enables one-handed performance Touch Screen, user need not utilize finger sliding, but while can pinning single-point, utilizes capacitance touch control screen can calculate the characteristic of contact area, relatively change with the use of person's gesture according to the area of this point, corresponding touch-control order can be sent.
Preferably, described touch-control order comprises the order of the order of the display rolling controlling touch-screen and/or the display frame convergent-divergent of control touch-screen.Certainly, described touch-control order can also comprise the orders such as other volume controls.
Preferably, send in touch-control order according to touch-control event, obtain the touch-control area change direction of described touch-control event, send corresponding touch-control order according to described touch-control area change direction.
Preferably, the concrete steps sending touch-control order according to touch-control event comprise: judge whether described touch-control event is lasting touch-control event, if then judge whether the center of described contact point moves, if then calculate the touch-control area change direction of described touch-control event and contact the center moving direction of described contact point, send corresponding touch-control order according to described touch-control area change direction and center moving direction.
Particularly, the concrete steps sending corresponding touch-control order according to described touch-control area change direction and center moving direction comprise: when described center is moved to preset direction, judge whether touch-control area surpasses to change to preset direction, if then export corresponding touch-control order, be then considered as general touch-control event if not.
More specifically, described touch-control order comprises the order of the order of the display rolling controlling touch-screen and/or the display frame convergent-divergent of control touch-screen; When described touch-control order is the order of the display rolling controlling touch-screen, described touch-control area become large and the center moving direction of described contact point upwards time control on touch-screen display frame on roll up, control described display frame last volume when described touch-control area diminishes and the center moving direction of described contact point is downward; When described touch-control order is the order of the display frame convergent-divergent controlling touch-screen, described touch-control area become large and the center moving direction of described contact point upwards time the display frame controlled on touch-screen amplify, control described display frame when described touch-control area diminishes and the center moving direction of described contact point is downward and reduce.
Preferably, the method for the center judging described contact point whether movement is specially, and judges whether described touch-control event is slide by a small margin, if then perform next step, is then considered as general touch-control event if not.
Particularly, judge whether described touch-control event is slide by a small margin specifically to comprise: the center mobile range calculating described contact point, judge whether described center mobile range is greater than low predetermined threshold value and is less than high predetermined threshold value, if be then considered as sliding by a small margin.
Preferably, send in the step of touch-control order according to touch-control event, also calculate the touch-control rate of change of area of described touch-control event, and control the execution amplitude of described touch-control order according to described touch-control rate of change of area.
Particularly, described touch-control order comprises the order of the order of the display rolling controlling touch-screen and/or the display frame convergent-divergent of control touch-screen; When described touch-control order is the order of the display rolling controlling touch-screen, corresponding translational speed is obtained according to described touch-control rate of change of area, when described touch-control area becomes large, the display frame controlled on touch-screen is rolled up according in described translational speed, controls described display frame according to described translational speed last volume when described touch-control area diminishes; When described touch-control order is the order of the display frame convergent-divergent controlling touch-screen, corresponding convergent-divergent amplitude is obtained according to described touch-control rate of change of area, corresponding convergent-divergent amplitude is amplified in the display frame controlled when described touch-control area becomes large on touch-screen, controls described display frame reduce corresponding convergent-divergent amplitude when described touch-control area diminishes.
Preferably, send in the step of touch-control order according to touch-control event, also calculate the center translational speed of described contact point, and control the execution amplitude of described touch-control order according to described center translational speed.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the control method of capacitive touch screen described in one embodiment of the invention.
Fig. 2 is the process flow diagram of capacitive touch screen control method described in another preferred embodiment of the present invention.
Fig. 3 is the operation chart that the present invention carries out that one-handed performance Touch Screen carries out display frame last volume.
Fig. 4 is the operation chart that the present invention carries out one-handed performance Touch Screen and carries out display frame is rolled up.
Fig. 5 is the process flow diagram of capacitive touch screen control method described in the another preferred embodiment of the present invention.
Fig. 6 is the process flow diagram of the present invention's capacitive touch screen control method described in a preferred embodiment again.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, realized object and effect, accompanying drawing is coordinated to be explained in detail below in conjunction with embodiment.
With reference to figure 1, the invention discloses a kind of capacitive touch screen control method 100, comprise: (11) detect the touch-control event of touch-screen, when receiving touch-control event, (12) judge whether described touch-control event is lasting touch-control event and performs step (13) or (16), namely judge that whether touch-screen is by sustained hold, (16) general touch-control event is then considered as if not, if then (13) judge whether the center of the contact point of described touch-control event moves and perform step (14) or (15), (15) general touch-control event is then considered as if not, (14) if then obtain touch-control area change (the such as touch-control area change direction of described touch-control event, amplitude of variation, pace of change), thus send corresponding touch-control order according to described touch-control area change (18).Wherein, contact area when contact point refers to user operation touch-screen and between touch-screen.Such as, when user's one-handed performance, user first becomes finger tip with the finger that refers to raise one's hand on abdomen contact screen again, then point and screen contact area diminishes, system thus send the touch-control event diminishing corresponding with touch-control area.
Preferably, send in touch-control order according to touch-control event, described step (14) is specially, and obtains the touch-control area change direction of described touch-control event, described step (18) is specially, and sends corresponding touch-control order according to described touch-control area change direction.
Preferably, the step sending touch-control order according to touch-control event comprises: judge whether described touch-control event is lasting touch-control event, if then judge whether the center of described contact point moves, if the center moving direction of the touch-control area change direction then calculating described touch-control event and the contact point contacting described touch-screen, send corresponding touch-control order according to described touch-control area change direction and center moving direction.That is, touch-control area change direction and center moving direction are carried out combinations matches, with the touch-control order that correspondence is different, when change direction and center moving direction are not mated, be considered as general touch-control event.
Particularly, the concrete steps sending corresponding touch-control order according to described touch-control area change direction and center moving direction comprise: when preset direction is shifted at described center, judge whether touch-control area surpasses to change to preset direction, if then export corresponding touch-control order, be then considered as general touch-control event if not.
With reference to figure 2, in the present embodiment, described touch-control order is the order of the display rolling controlling touch-screen, the concrete steps sending touch-control order according to touch-control event comprise: (11) detect the touch-control event of touch-screen, when receiving touch-control event, (12) judge whether described touch-control event is lasting touch-control event and performs step (13) or (16), if then (13) judge whether the center of described contact point moves and perform step (14a), (14b) or (19), (14a) when the center of contact point moves up, judge whether touch-control area diminishes, if then (18a) sends a touch-control order, control the display frame on touch-screen is rolled up, if not then (16) are considered as general touch-control event.(14b) when the center of contact point moves down, judge whether touch-control area becomes large, if then (18b) sends another touch-control order, control the display frame last volume on touch-screen, then perform step (16) if not.Certainly, described touch-control order can also be control the orders such as the order of display frame convergent-divergent of touch-screen or volume control.
When described touch-control order is the order of the display frame convergent-divergent controlling touch-screen, in described step (18a), described touch-control area diminish and the center moving direction of described contact point upwards time the display frame controlled on touch-screen amplify, control described display frame when described touch-control area becomes large and the center moving direction of described contact point is downward in described step (18b) and reduce.
With reference to figure 3, for the present invention carries out the operation chart that one-handed performance Touch Screen carries out display frame last volume: when user's one-handed performance, when touching screen with finger fingertip (the first half as Fig. 3), screen induction contact point area, following user pressure under the situation of not moveable finger position refers to abdomen (the latter half as Fig. 3), then finger and screen contact area become large, touch-control area S1 is less than touch-control area S2, and contact center point change in location as shown by the arrows in Figure 3, now touch-screen not only there occurs lasting touch-control event, and the center of its contact point moves down along the direction of arrow in Fig. 3, touch-control area becomes large, system thus send the order of display frame last volume, move down to make the display frame of touch-screen.
With reference to figure 4, for the present invention carries out the operation chart that one-handed performance Touch Screen carries out display frame is rolled up: when user's one-handed performance, user first becomes finger tip (as shown in the latter half of Fig. 4) with the finger that refers to raise one's hand on abdomen contact screen (as shown in the first half of Fig. 4) again, then finger and screen contact area diminish, touch-control area S1 is greater than touch-control area S2, and the center of contact point along the direction of arrow in Fig. 4 upwards, system thus to send in display frame volume order, moves up to make the display frame of touch-screen.
When user utilizes finger fingertip and refers to that side grafting contacts screen, when capacitance touch control screen operates according to the change difference of contact area, the center of contact point is moved very little, is slip event by a small margin.With reference to figure 5 and Fig. 6, in two other preferred embodiment, the method for the center judging described contact point whether movement is specially, and (13`) judges whether described touch-control event is slide by a small margin, if then perform next step.Particularly, judge whether described touch-control event is slide by a small margin specifically to comprise: the center mobile range calculating described contact point, judge whether described center mobile range is greater than low predetermined threshold value and is less than high predetermined threshold value, if be then considered as sliding by a small margin.
Preferably, sends in the step of touch-control order according to touch-control event, also calculates the touch-control rate of change of area of described touch-control event, and control the execution amplitude of described touch-control order according to described touch-control rate of change of area.
When described touch-control order is the order of the display rolling controlling touch-screen, corresponding translational speed is obtained according to described touch-control rate of change of area, when described touch-control area becomes large, the display frame controlled on touch-screen is rolled up according in described translational speed, controls described display frame according to described translational speed last volume when described touch-control area diminishes.
When described touch-control order is the order of the display frame convergent-divergent controlling touch-screen, corresponding convergent-divergent amplitude is obtained according to described touch-control rate of change of area, corresponding convergent-divergent amplitude is amplified in the display frame controlled when described touch-control area becomes large on touch-screen, controls described display frame reduce corresponding convergent-divergent amplitude when described touch-control area diminishes.
Preferably, sends in the step of touch-control order according to touch-control event, also calculates the center translational speed of described contact point, and control the execution amplitude of described touch-control order according to described center translational speed.
When described touch-control order is the order of the display rolling controlling touch-screen, corresponding translational speed is obtained according to described center translational speed, when described touch-control area becomes large, the display frame controlled on touch-screen is rolled up according in described translational speed, controls described display frame according to described translational speed last volume when described touch-control area diminishes.
When described touch-control order is the order of the display frame convergent-divergent controlling touch-screen, corresponding convergent-divergent amplitude is obtained according to described center translational speed, corresponding convergent-divergent amplitude is amplified in the display frame controlled when described touch-control area becomes large on touch-screen, controls described display frame reduce corresponding convergent-divergent amplitude when described touch-control area diminishes.
Wherein, the present embodiment adopts touch chip and core to drive the parameter of the touch-control event returned to judge central point and the area thereof of user's touch screen screen, thus calculates concrete touch-control area change and contact point center moving direction.In the present invention the center of the contact point of touch-control event move and touch-control event touch-control area change in touch-control event refer to same touch-control event, the center of indication contact point is moved and is simultaneous with touch-control area change above.
Above disclosedly be only the preferred embodiments of the present invention, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the present patent application the scope of the claims is done, still belong to the scope that the present invention is contained.