CN103777856A - Method and system for processing touch event into remote control gesture and remote control terminal - Google Patents
Method and system for processing touch event into remote control gesture and remote control terminal Download PDFInfo
- Publication number
- CN103777856A CN103777856A CN201210409913.XA CN201210409913A CN103777856A CN 103777856 A CN103777856 A CN 103777856A CN 201210409913 A CN201210409913 A CN 201210409913A CN 103777856 A CN103777856 A CN 103777856A
- Authority
- CN
- China
- Prior art keywords
- sliding
- event
- slip
- finger
- short
- 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
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention is suitable for the technical field of computers and provides a method and system for processing a touch event into a remote control gesture and a remote control terminal. The method comprises the steps that firstly, the touch event generated in the mode that one finger is pressed and then slid is obtained, and namely a single-finger sliding event is obtained; secondly, according to the length of time for which the finger stays after pressing in the single-finger sliding event, whether a mouse mode or a sliding mode is started is judged; finally, according to the sliding time and the sliding distance of the finger in the sliding mode, the touch event is processed into the corresponding remote control gesture. According to the method and system for processing the touch event into the remote control gesture and the remote control terminal, remote control operation is optimized and operation is quite easy and convenient.
Description
Technical field
The invention belongs to field of computer technology, relate in particular to a kind of method, system and remote terminal that touch event is processed into remote control gesture.
Background technology
Along with development in science and technology, more and more electronic products adopt remote control mode to control.But existing straighforward operation is easy not.For example, the telepilot of televisor mostly adopts the mode of button up and down to realize, and can only be the progressive movements of lattice one lattice to the control of focus on TV.For Focal Point Shift in a big way, need to pin the button of telepilot or press certain button and repeatedly just can reach re-set target.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of method that touch event is processed into remote control gesture, is intended to solve the easy not problem of existing straighforward operation.
The embodiment of the present invention is achieved in that a kind of method that touch event is processed into remote control gesture, comprises the following steps:
Obtain and singly refer to slip event, singly refer to if described in slip event that finger presses the time of rear stop and be greater than mouse mode time threshold, make describedly singly to refer to that slip event enters mouse mode, otherwise make describedly singly to refer to that slip event enters sliding-modes;
Be greater than mouse sliding distance threshold value if point total sliding distance in described mouse mode, the slip event that singly refers to that enters mouse mode be designated to mouse slip event, and trigger mouse slip gesture by described mouse slip event;
Be greater than short sliding distance threshold if point total sliding distance in described sliding-modes, and slip did not occur before, the slip event that singly refers to that enters sliding-modes is designated to short sliding event, and by the short sliding gesture of described short sliding Event triggered;
If there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, and points total sliding distance and be greater than middle sliding distance threshold, described short sliding event is switched to middle sliding event, and by sliding gesture in described middle sliding Event triggered;
Wherein, describedly singly refer to that slip event is that a finger is pressed the touch event of rear slip, described middle sliding distance threshold is greater than short sliding distance threshold, the distance that the total sliding distance of described finger slides to current location depressed position for finger.
Another object of the embodiment of the present invention is to provide a kind of system that touch event is processed into remote control gesture, and described system comprises with lower unit:
The first discrimination unit, be used for obtaining and singly refer to slip event, singly refer to if described in slip event that finger presses the time of rear stop and be greater than mouse mode time threshold, make describedly singly to refer to that slip event enters mouse mode, otherwise make describedly singly to refer to that slip event enters sliding-modes;
The first trigger element, be used for calculating described mouse mode and point total sliding distance, be greater than mouse sliding distance threshold value if point total sliding distance in described mouse mode, the slip event that singly refers to that enters mouse mode is designated to mouse slip event, and triggers mouse slip gesture by described mouse slip event;
The second trigger element, be used for calculating described sliding-modes and point total sliding distance, be greater than short sliding distance threshold if point total sliding distance in described sliding-modes, and there is not slip before, the slip event that singly refers to that enters sliding-modes is designated to short sliding event, and by the short sliding gesture of described short sliding Event triggered;
The 3rd trigger element, be used for judging current finger sliding direction and calculate the total sliding distance of finger, if there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, and point total sliding distance and be greater than middle sliding distance threshold, described short sliding event is switched to middle sliding event, and by sliding gesture in described middle sliding Event triggered;
Wherein, describedly singly refer to that slip event is that a finger is pressed the touch event of rear slip, described middle sliding distance threshold is greater than short sliding distance threshold, the distance that the total sliding distance of described finger slides to current location depressed position for finger.
Another object of the embodiment of the present invention is to provide a kind of remote terminal, comprises touch-screen, and described remote terminal adopts the above-mentioned system that touch event is processed into remote control gesture.
Another object of the embodiment of the present invention is to provide a kind of display terminal, and described display terminal adopts the system that touch event is processed into remote control gesture as above-mentioned in claim.
The embodiment of the present invention is according to the temporal information and the positional information that singly refer to finger sliding in slip event (a finger is pressed the touch event of rear slip), to singly refer to that slip event is processed into corresponding remote control gesture (as mouse slip gesture, short sliding gesture, middle sliding gesture etc.), optimize straighforward operation, extremely easy.For example, when user wants the volume of display terminal significantly to regulate, only need apply at the touch-screen of remote terminal the slip of longer distance.
Accompanying drawing explanation
Fig. 1 is the method realization flow figure that touch event is processed into remote control gesture that the embodiment of the present invention provides;
Fig. 2 is remote control gesture and slip speed trend map;
Fig. 3 is the system architecture diagram that touch event is processed into remote control gesture that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The embodiment of the present invention is according to the temporal information and the positional information that singly refer to finger sliding in slip event (a finger is pressed the touch event of rear slip), to singly refer to that slip event is processed into corresponding remote control gesture (as mouse slip gesture, short sliding gesture, middle sliding gesture etc.), optimize straighforward operation, extremely easy.
Take the display terminal of remote terminal remote control no touch screen with touch-screen as example, realization of the present invention is described in detail below.
embodiment mono-
Fig. 1 shows the method realization flow that touch event is processed into remote control gesture that the embodiment of the present invention provides, and details are as follows.
In step S101, obtain and singly refer to slip event, singly refer to if described in slip event that finger presses the time of rear stop and be greater than mouse mode time threshold, make describedly singly to refer to that slip event enters mouse mode, otherwise make describedly singly to refer to that slip event enters sliding-modes.
The embodiment of the present invention is obtained a finger and is pressed the touch event of rear slip and singly refer to slip event.Singly refer to if described in slip event that finger is greater than mouse mode time threshold (MOUSE_TIME_INTERVAL) by the time stopping on touch-screen (finger is pressed the rear motionless time), make describedly singly to refer to that slip event enters mouse mode.Singly refer to if described in slip event that finger is less than or equal to mouse mode time threshold (MOUSE_TIME_INTERVAL) by the time stopping on touch-screen (finger is pressed the rear motionless time), make describedly singly to refer to that slip event enters sliding-modes.Conventionally, described mouse mode time threshold is made as to 1000ms.
For example, describedly singly refer in slip event that it is 1200ms that finger is pressed the time of rear stop, described mouse mode time threshold is 1000ms, now describedly singly refers to that slip event enters mouse mode.And for example, describedly singly refer in slip event that it is 800ms that finger is pressed the time of rear stop, described mouse mode time threshold is 1000ms, now describedly singly refers to that slip event enters sliding-modes.
In step S102, be greater than mouse sliding distance threshold value if point total sliding distance in described mouse mode, the slip event that singly refers to that enters mouse mode is designated to mouse slip event, and triggers mouse slip gesture by described mouse slip event.
Be greater than mouse sliding distance threshold value (MOUSE_MIN_SCROLL_DISTANCE) if point total sliding distance in above-mentioned mouse mode, described mouse mode be designated to mouse slip event, and trigger mouse slip gesture by described mouse slip event.Wherein, the distance that the total sliding distance of described finger slides to current location depressed position for finger.Conventionally, described mouse sliding distance threshold value is made as to 100px.
For example, in described mouse mode, pointing total sliding distance is 120px, and described mouse sliding distance threshold value is 100px, now the slip event that singly refers to that enters mouse mode is designated to mouse slip event, and triggers mouse slip gesture by described mouse slip event.And for example, in described mouse mode, pointing total sliding distance is 80px, and described mouse sliding distance threshold value is 100px, does not now trigger any gesture.
In step S 103, be greater than short sliding distance threshold if point total sliding distance in described sliding-modes, and slip did not occur before, the slip event that singly refers to that enters sliding-modes is designated to short sliding event, and by the short sliding gesture of described short sliding Event triggered.
Be greater than short sliding distance threshold (MIN_SCROLL_DISTANCE) if point total sliding distance in above-mentioned sliding-modes, and slip did not occur before, described sliding-modes is designated to short sliding event, and by the short sliding gesture of described short sliding Event triggered.Conventionally, described short sliding distance threshold is made as to 25px.
For example, in described sliding-modes, pointing total sliding distance is 80px, and described short sliding distance threshold is 25px, now the slip event that singly refers to that enters sliding-modes is designated to short sliding event, and by the short sliding gesture of described short sliding Event triggered.And for example, in described sliding-modes, pointing total sliding distance is 10px, and described short sliding distance threshold is 25px, does not now trigger any gesture.
In step S104, if there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, and points total sliding distance and be greater than middle sliding distance threshold, described short sliding event is switched to middle sliding event, and by sliding gesture in described middle sliding Event triggered.
If there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, and point total sliding distance and be greater than middle sliding distance threshold (MID_SCROLL_DISTANCE), described short sliding event is switched to middle sliding event, and by sliding gesture in sliding Event triggered in this.In triggering, before sliding gesture, trigger short sliding gesture herein, to guarantee slide trigger Operational Figure Of Merit.Conventionally, described middle sliding distance threshold is made as to 300px.
In described in the embodiment of the present invention, sliding distance threshold is greater than short sliding distance threshold.For example, too short sliding event has occurred, current finger sliding direction is identical with the glide direction of described short sliding event, is all down sliding.Pointing total sliding distance is 350px, and described middle sliding distance threshold is 300px.Now described short sliding event is switched to middle sliding event, and by sliding gesture in described middle sliding Event triggered.And for example, pointing total sliding distance is 230px, and described middle sliding distance threshold is 300px, does not now trigger any gesture.
Wherein, aforementioned mouse slip gesture, short sliding gesture and middle sliding gesture all belong to the remote control gesture described in the embodiment of the present invention.Usually, it is that focus is followed finger movement that described mouse slip gesture is followed operation for focus, for example, for accurately searching the program of display terminal.Described short sliding gesture single-frame operates for upper and lower, left and right, for example, for regulating step by step the volume of display terminal, be that user is while thinking to regulate volume step by step, only need with pointing short cunning (distance of finger sliding is greater than 25px and is less than 300px) once, now the volume of display terminal will regulate step by step, every short taking a slide, volume increases or reduces one-level.Described middle sliding gesture for the operation of upper and lower, left and right tabbing, for example, regulates the volume of display terminal for step, when user thinks significantly to regulate volume, only need, to operate extremely easy once with sliding (distance of finger sliding is greater than 300px) in finger.
embodiment bis-
Different from embodiment mono-, the present embodiment has increased fast sliding time threshold (FLING_INTERVAL) and two parameters of the sliding distance threshold (MID_FLING_SCROLL_DISTANCE) of brachymedial, with the probability that in improving, sliding event occurs.If there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, the current finger sliding time is greater than fast sliding time threshold, and point total sliding distance between the sliding distance threshold of brachymedial and middle sliding distance threshold, described short sliding event is switched to middle sliding event, and by sliding gesture in described middle sliding Event triggered.Conventionally, described fast sliding time threshold and the sliding distance threshold of brachymedial are made as respectively to 120ms and 200px.Because the sliding distance threshold of described brachymedial is between short sliding distance threshold and middle sliding distance threshold, can significantly improve the probability that middle sliding event occurs.Wherein, the described current finger sliding time is the time of finger sliding after last event occurs, and last event is short sliding event herein.
For example, too short sliding event has occurred, current finger sliding direction is identical with the glide direction of described short sliding event, is all down sliding.The current finger sliding time is 130ms, and described fast sliding time threshold is 120ms.Pointing total sliding distance is 230px, and the sliding distance threshold of described brachymedial is 200px, and described middle sliding distance threshold is 300px.Now described short sliding event is switched to middle sliding event, and by sliding gesture in described middle sliding Event triggered.Although the total sliding distance of this finger is less than middle sliding distance threshold, but triggered middle sliding gesture, thereby it improves the probability that middle sliding event occurs.
embodiment tri-
Different from embodiment mono-, two, the present embodiment increases following steps.If there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, the current finger sliding time is less than or equal to fast sliding time threshold, and point total sliding distance between the sliding distance threshold of brachymedial and middle sliding distance threshold, only record current finger sliding time and distance, described short sliding event is not switched to middle sliding event, sliding gesture in not triggering, so that the probability that middle sliding event occurs is suitable.Wherein, the described current finger sliding time is the time of finger sliding after last event occurs, and last event is short sliding event herein.
For example, too short sliding event has occurred, current finger sliding direction is identical with the glide direction of described short sliding event, is all down sliding.The current finger sliding time is 100ms, and described fast sliding time threshold is 120ms.Pointing total sliding distance is 230px, and the sliding distance threshold of described brachymedial is 200px, and described middle sliding distance threshold is 300px.Now only record current finger sliding time and distance, described short sliding event is not switched to middle sliding event, sliding gesture in not triggering, so that the probability that middle sliding event occurs is suitable.
Should be noted that, once the current finger sliding time is greater than fast sliding time threshold, or current finger sliding distance is greater than middle sliding distance threshold with short sliding distance threshold sum (pointing total sliding distance), switch to middle sliding event by described short sliding event, and by sliding gesture in sliding Event triggered in this, to guarantee sensitivity.
embodiment tetra-
The embodiment of the present invention is upper in embodiment mono-, two bases, has increased the step that realizes long sliding gesture, so that fast moving operation.Particularly, if sliding event in having occurred, current finger sliding direction is identical with the glide direction of described middle sliding event, and point total sliding distance and be greater than long sliding distance threshold (MAX_SCROLL_DISTANCE), described middle sliding event is switched to long sliding event, and by the long sliding gesture of described long sliding Event triggered.Wherein, described long sliding distance threshold is greater than middle sliding distance threshold.Conventionally, described long sliding distance threshold is made as to 400px.
For example, sliding event in having occurred, current finger sliding direction is identical with the glide direction of described middle sliding event, is all downwards.Pointing total sliding distance is 401px, and described long sliding distance threshold is 400px.Now described middle sliding event is switched to long sliding event, and by the long sliding gesture of described long sliding Event triggered.
Certainly, described long sliding gesture belongs to the remote control gesture described in the embodiment of the present invention.Wherein, described long sliding gesture is for the operation of upper and lower, left and right fast moving, for example, for the program of fast finding display terminal.With respect to middle sliding gesture, long sliding gesture sliding distance is long, is applicable to searching on a large scale.For example, when user wants a quick top set of the rendition list or bottom set, only need to slide (distance of finger sliding is greater than 400px) once with finger is long, operate extremely easy.
embodiment five
The embodiment of the present invention is upper in embodiment mono-, two bases, has increased the step that realizes long sliding gesture, so that fast moving operation, and the probability that long sliding event is occurred is appropriate.Particularly, if sliding event in having occurred, current finger sliding direction is identical with the glide direction of described middle sliding event, the current finger sliding time is greater than long sliding time threshold (MID_SCROLL_INTERVAL), and point total sliding distance and be greater than long sliding distance threshold (MAX_SCROLL_DISTANCE), described middle sliding event is switched to long sliding event, and by the long sliding gesture of described long sliding Event triggered.Wherein, described long sliding distance threshold is greater than middle sliding distance threshold, and the described current finger sliding time is current sliding time when tracing back to last event and occurring, and last event is middle sliding event herein.Because having increased a time threshold condition, can significantly suppress the probability that long sliding event occurs, the probability that long sliding gesture is occurred is suitable.Conventionally, described long sliding time threshold and long sliding distance threshold are made as respectively to 100ms and 400px.
For example, sliding event in having occurred, current finger sliding direction is identical with the glide direction of described middle sliding event, is all downwards.The current finger sliding time is 120ms, and pointing total sliding distance is 410px, and described long sliding distance threshold is 400px, and described long sliding time threshold is 100ms.Now described middle sliding event is switched to long sliding event, and by the long sliding gesture of described long sliding Event triggered.
Certainly, described long sliding gesture belongs to the remote control gesture described in the embodiment of the present invention.Wherein, described long sliding gesture is for the operation of upper and lower, left and right fast moving, for example, for the program of fast finding display terminal.With respect to middle sliding gesture, long sliding gesture sliding distance is long, is applicable to searching on a large scale.For example, when user wants a quick top set of the rendition list or bottom set, only need to slide (distance of finger sliding is greater than 400px) once with finger is long, operate extremely easy.
embodiment six
The embodiment of the present invention, on aforementioned each embodiment basis, has increased following steps.Particularly, if there is too short sliding event, middle sliding event or long sliding event in the various embodiments described above, current finger sliding direction is different from the glide direction of corresponding event, and current finger sliding distance is greater than short sliding distance threshold, trigger short sliding gesture by current slip event, and make current slip event enter mouse mode (be mainly used in focus and follow, realize and accurately searching).It has been generally acknowledged that after user slides to its region of wanting and think accurately to search, and enter mouse mode.Should be appreciated that described current slip event is still for singly referring to slip event, current slip event is with respect to the short sliding event having occurred, middle sliding event or long sliding event, and only glide direction changes, and finger number does not become.
For example, the downward middle sliding event of glide direction had occurred before, upwards, they are different from the glide direction of described middle sliding event for current finger sliding direction, and in finger sliding process, glide direction changes to some extent.Current finger sliding distance is 50px, and described short sliding distance threshold is 25px.Now trigger short sliding gesture by current slip event, and make current slip event enter mouse mode, accurately to search.
embodiment seven
The embodiment of the present invention, on aforementioned each embodiment basis, has increased following steps: obtain touch event, if finger is pressed rear slip in described touch event, described touch event is designated to slip event; If finger lifts after pressing in described touch event, and the time interval that this finger is pressed, lifted be less than click time threshold, described touch event is designated to click event, and by described click event trigger point hitter's gesture.Calculate the finger number of described slip event, if the finger number of described slip event is one, described slip event is designated and singly refers to slip event; If the finger number of described slip event is more than two, described slip event is designated and refers to slip event more.Certainly, describedly refer to slip gesture more and click gesture all belong to the remote control gesture described in the embodiment of the present invention.
For example, once user's finger touches on the touch-screen of release, form a touch event and send to touch controller, this touch event comprises temporal information and positional information.If finger, by start slip on touch-screen, is designated slip event by this touch event in this touch event.If finger is by lifting on touch-screen in this touch event, and this finger time interval of pressing, lifting be less than and click time threshold (CLICK_INTERVAL), this touch event is designated to click event, and by this click event trigger point hitter's gesture.Conventionally, described click time threshold is made as to 100ms.
The number of embodiment of the present invention detecting real-time touch point, calculates the finger number of above-mentioned slip event with this.If the number of touch-screen institute touch sensitive point is one, the finger number of slip event is one, above-mentioned slip event is designated and singly refers to slip event.If the number of touch-screen institute touch sensitive point is more than two, the finger number of slip event is more than two, above-mentioned slip event is designated and refers to slip event more.
User operation, generally uses two fingers to touch operation except singly referring to.It is correspondingly, above-mentioned that how finger slip event is two slip event that refer to.This pair refers to that slip event meets certain condition, can trigger two slip gestures that refer to.For example, it is two that touch-screen is detected current finger number, now be two slip event that refer to, if this pair refers to that in slip event, each finger sliding direction is consistent, and respectively point total sliding distance and be all greater than two sliding distance threshold values (DOUBLE_MIN_SCROLL_DISTANCE) that refer to, refer to that by this pair slip event triggers two slip gestures that refer to, this pair refers to that slip gesture is generally used for mobile background or page turn over operation.If this pair refer to before slip event for singly referring to slip event, this singly refer to point in slip event total sliding distance for after a finger press the distance that it slides afterwards.Usually, described two finger sliding distance threshold values are made as to 100px.
In the embodiment of the present invention, all touch events, after touch controller (TouchController) is processed, call existing gesture Processing Interface:
public?boolean?moveTo(int?direction,int?distance);
public?boolean?scrollTo(int?direction);
public?void?click();
Wherein, moveTo is conventional slide, can distinguish four direction.Distance is divided into:
public?static?final?int?MIN_MOVE=0;
public?static?final?int?MID_MOVE=1;
public?static?final?int?MAX_MOVE=2;
public?static?final?int?MOUSE_MOVE=3;
Four kinds, corresponding with short sliding gesture, middle sliding gesture, long sliding gesture and mouse slip gesture respectively.
In addition, the embodiment of the present invention both can be installed on remote terminal (as mobile phone etc.) in order to process the touch controller of touch event, also can be installed on display terminal (as intelligent television etc.).Be that touch event on remote terminal is processed into remote control gesture on remote terminal, more directly call the display terminal operation corresponding with this remote control gesture.Or, first by remote terminal, touch event is sent to display terminal, then processes these touch events by display terminal, and then develop into the remote control gesture that display terminal is operated.For ease of understanding, following table is described further aforementioned parameters.
In addition, Fig. 2 enumerated four kinds of directions constant singly refer to slip event, it adopts table parameter present worth, remote control gesture and the actual scene of each Event triggered match.
embodiment eight
Fig. 3 shows the framework of the system of remote control gesture that touch event is processed into that the embodiment of the present invention provides, and details are as follows.
The system that touch event is processed into remote control gesture that the embodiment of the present invention provides comprises that the first discrimination unit 301, the first trigger element 302, the second trigger element 303 and the 3rd trigger single 304.Wherein, described the first discrimination unit 301 singly refers to slip event for obtaining, singly refer to if described in slip event that finger presses the time of rear stop and be greater than mouse mode time threshold, make describedly singly to refer to that slip event enters mouse mode, otherwise make describedly singly to refer to that slip event enters sliding-modes.Described the first trigger element 302 is pointed total sliding distance for calculating described mouse mode, be greater than mouse sliding distance threshold value if point total sliding distance in described mouse mode, the slip event that singly refers to that enters mouse mode is designated to mouse slip event, and triggers mouse slip gesture by described mouse slip event.Described the second trigger element 303 is pointed total sliding distance for calculating described sliding-modes, be greater than short sliding distance threshold if point total sliding distance in described sliding-modes, and there is not slip before, the slip event that singly refers to that enters sliding-modes is designated to short sliding event, and by the short sliding gesture of described short sliding Event triggered.Described the 3rd trigger element 304 is for judging current finger sliding direction and calculating the total sliding distance of finger, if there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, and point total sliding distance and be greater than middle sliding distance threshold, described short sliding event is switched to middle sliding event, and by sliding gesture in described middle sliding Event triggered.Wherein, describedly singly refer to that slip event is that a finger is pressed the touch event of rear slip, described middle sliding distance threshold is greater than short sliding distance threshold, the distance that the total sliding distance of described finger slides to current location depressed position for finger.
It should be noted that above-mentioned each unit specific works principle as mentioned before, no longer repeated herein.In addition, the unit of the above-mentioned system that touch event is processed into remote control gesture can be the unit of software unit, hardware cell or software and hardware combining, software unit part can be stored in a computer read/write memory medium, as ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.
Claims (13)
1. a method that touch event is processed into remote control gesture, is characterized in that, said method comprising the steps of:
Obtain and singly refer to slip event, singly refer to if described in slip event that finger presses the time of rear stop and be greater than mouse mode time threshold, make describedly singly to refer to that slip event enters mouse mode, otherwise make describedly singly to refer to that slip event enters sliding-modes;
Be greater than mouse sliding distance threshold value if point total sliding distance in described mouse mode, the slip event that singly refers to that enters mouse mode be designated to mouse slip event, and trigger mouse slip gesture by described mouse slip event;
Be greater than short sliding distance threshold if point total sliding distance in described sliding-modes, and slip did not occur before, the slip event that singly refers to that enters sliding-modes is designated to short sliding event, and by the short sliding gesture of described short sliding Event triggered;
If there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, and points total sliding distance and be greater than middle sliding distance threshold, described short sliding event is switched to middle sliding event, and by sliding gesture in described middle sliding Event triggered;
Wherein, describedly singly refer to that slip event is that a finger is pressed the touch event of rear slip, described middle sliding distance threshold is greater than short sliding distance threshold, the distance that the total sliding distance of described finger slides to current location depressed position for finger.
2. the method for claim 1, it is characterized in that, be greater than short sliding distance threshold if point total sliding distance in described sliding-modes, and there is not slip before, described sliding-modes is designated to short sliding event, and afterwards further comprising the steps of by the step of the short sliding gesture of described short sliding Event triggered:
If there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, the current finger sliding time is greater than fast sliding time threshold, and point total sliding distance between the sliding distance threshold of brachymedial and middle sliding distance threshold, described short sliding event is switched to middle sliding event, and by sliding gesture in described middle sliding Event triggered;
Wherein, the sliding distance threshold of described brachymedial is between short sliding distance threshold and middle sliding distance threshold, and the described current finger sliding time is the time of finger sliding after last event occurs.
3. method as claimed in claim 1 or 2, it is characterized in that, be greater than short sliding distance threshold if point total sliding distance in described sliding-modes, and there is not slip before, described sliding-modes is designated to short sliding event, and afterwards further comprising the steps of by the step of the short sliding gesture of described short sliding Event triggered:
If there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, the current finger sliding time is less than or equal to fast sliding time threshold, and point total sliding distance between the sliding distance threshold of brachymedial and middle sliding distance threshold, only record current finger sliding time and distance;
Wherein, the sliding distance threshold of described brachymedial is between short sliding distance threshold and middle sliding distance threshold, and the described current finger sliding time is the time of finger sliding after last event occurs.
4. method as claimed in claim 1 or 2, it is characterized in that, there is too short sliding event if described, current finger sliding direction is identical with the glide direction of described short sliding event, and point total sliding distance and be greater than middle sliding distance threshold, described short sliding event is switched to middle sliding event, and afterwards further comprising the steps of by the step of sliding gesture in described middle sliding Event triggered:
If sliding event in having occurred, current finger sliding direction is identical with the glide direction of described middle sliding event, and points total sliding distance and be greater than long sliding distance threshold, described middle sliding event is switched to long sliding event, and slides gesture by described long sliding Event triggered length;
Wherein, described long sliding distance threshold is greater than middle sliding distance threshold.
5. method as claimed in claim 1 or 2, it is characterized in that, there is too short sliding event if described, current finger sliding direction is identical with the glide direction of described short sliding event, and point total sliding distance and be greater than middle sliding distance threshold, described short sliding event is switched to middle sliding event, and afterwards further comprising the steps of by the step of sliding gesture in described middle sliding Event triggered:
If sliding event in having occurred, current finger sliding direction is identical with the glide direction of described middle sliding event, the current finger sliding time is greater than long sliding time threshold, and point total sliding distance and be greater than long sliding distance threshold, described middle sliding event is switched to long sliding event, and by the long sliding gesture of described long sliding Event triggered;
Wherein, described long sliding distance threshold is greater than middle sliding distance threshold, and the described current finger sliding time is the time of finger sliding after last event occurs.
6. method as claimed in claim 5, it is characterized in that, sliding event in having occurred if described, current finger sliding direction is identical with the glide direction of described middle sliding event, the current finger sliding time is greater than long sliding time threshold, and point total sliding distance and be greater than long sliding distance threshold, described middle sliding event is switched to the long event of sliding, and afterwards further comprising the steps of by the step of the long sliding gesture of described long sliding Event triggered:
If there is too short sliding event, middle sliding event or long sliding event, current finger sliding direction is different from the glide direction of corresponding event, and current finger sliding distance is greater than short sliding distance threshold, triggers short sliding gesture by current slip event, makes afterwards current slip event enter mouse mode.
7. the method as described in claim 1,2 or 5, it is characterized in that, described obtaining singly refers to slip event, singly refer to if described in slip event that finger presses the time of rear stop and be greater than mouse mode time threshold, make describedly singly to refer to that slip event enters mouse mode, otherwise make that described singly to refer to that slip event enters before sliding-modes further comprising the steps of:
Obtain touch event, if finger is pressed rear slip in described touch event, described touch event is designated to slip event; If finger lifts after pressing in described touch event, and the time interval that this finger is pressed, lifted be less than click time threshold, described touch event is designated to click event, and by described click event trigger point hitter's gesture;
Calculate the finger number of described slip event, if the finger number of described slip event is one, described slip event is designated and singly refers to slip event; If the finger number of described slip event is more than two, described slip event is designated and refers to slip event more.
8. method as claimed in claim 7, is characterized in that, refers to that in slip event, each finger sliding direction is consistent if described more, and respectively points total sliding distance and be all greater than the sliding distance threshold values that refer to more, by the described how finger slip gestures of slip event triggering that refer to more.
9. method as claimed in claim 8, is characterized in that, described how finger slip event is two slip event that refer to, described how finger slip gesture is two finger slip gestures.
10. method as claimed in claim 9, it is characterized in that, described two finger slip gesture is for mobile background or page turning, described short sliding gesture single-frame operates for upper and lower, left and right, described middle sliding gesture is for the operation of upper and lower, left and right tabbing, described long sliding gesture is for the operation of upper and lower, left and right fast moving, and described mouse slip gesture is followed operation for focus, and described click gesture is used for entering or amplifieroperation.
11. 1 kinds are processed into touch event the system of remote control gesture, it is characterized in that, described system comprises with lower unit:
The first discrimination unit, be used for obtaining and singly refer to slip event, singly refer to if described in slip event that finger presses the time of rear stop and be greater than mouse mode time threshold, make describedly singly to refer to that slip event enters mouse mode, otherwise make describedly singly to refer to that slip event enters sliding-modes;
The first trigger element, be used for calculating described mouse mode and point total sliding distance, be greater than mouse sliding distance threshold value if point total sliding distance in described mouse mode, the slip event that singly refers to that enters mouse mode is designated to mouse slip event, and triggers mouse slip gesture by described mouse slip event;
The second trigger element, be used for calculating described sliding-modes and point total sliding distance, be greater than short sliding distance threshold if point total sliding distance in described sliding-modes, and there is not slip before, the slip event that singly refers to that enters sliding-modes is designated to short sliding event, and by the short sliding gesture of described short sliding Event triggered;
The 3rd trigger element, be used for judging current finger sliding direction and calculate the total sliding distance of finger, if there is too short sliding event, current finger sliding direction is identical with the glide direction of described short sliding event, and point total sliding distance and be greater than middle sliding distance threshold, described short sliding event is switched to middle sliding event, and by sliding gesture in described middle sliding Event triggered;
Wherein, describedly singly refer to that slip event is that a finger is pressed the touch event of rear slip, described middle sliding distance threshold is greater than short sliding distance threshold, the distance that the total sliding distance of described finger slides to current location depressed position for finger.
12. 1 kinds of remote terminals, have a touch-screen, it is characterized in that, described remote terminal adopts the system that touch event is processed into remote control gesture as claimed in claim 11.
13. 1 kinds of display terminals, is characterized in that, described display terminal adopts the system that touch event is processed into remote control gesture as claimed in claim 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210409913.XA CN103777856B (en) | 2012-10-24 | 2012-10-24 | A kind of method, system and remote terminal that touch event is processed into remote control gesture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210409913.XA CN103777856B (en) | 2012-10-24 | 2012-10-24 | A kind of method, system and remote terminal that touch event is processed into remote control gesture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103777856A true CN103777856A (en) | 2014-05-07 |
CN103777856B CN103777856B (en) | 2017-12-15 |
Family
ID=50570173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210409913.XA Active CN103777856B (en) | 2012-10-24 | 2012-10-24 | A kind of method, system and remote terminal that touch event is processed into remote control gesture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103777856B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101532A (en) * | 2016-06-13 | 2016-11-09 | 惠州Tcl移动通信有限公司 | The method and system of camera focus are adjusted based on mobile terminal side multifunction push key |
TWI563444B (en) * | 2015-04-13 | 2016-12-21 | Elan Microelectronics Corp | Gesture Identifying Method For A Touch Device |
CN106354411A (en) * | 2016-08-26 | 2017-01-25 | 维沃移动通信有限公司 | Interface startup method and mobile terminal |
CN106909293A (en) * | 2015-12-22 | 2017-06-30 | 深圳富泰宏精密工业有限公司 | The method and electronic installation of analog mouse operation |
CN107018312A (en) * | 2015-11-19 | 2017-08-04 | 卡西欧计算机株式会社 | Electronic equipment and touch operation control method |
CN107272988A (en) * | 2017-06-13 | 2017-10-20 | 上海闻泰电子科技有限公司 | The operating method and device of desktop application |
CN108932079A (en) * | 2018-07-04 | 2018-12-04 | Oppo广东移动通信有限公司 | Processing method, device, storage medium and the electronic equipment of touch information |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090158149A1 (en) * | 2007-12-18 | 2009-06-18 | Samsung Electronics Co., Ltd. | Menu control system and method |
CN102073437A (en) * | 2009-11-23 | 2011-05-25 | 英业达股份有限公司 | Method for controlling touch electronic device |
CN102103461A (en) * | 2010-12-29 | 2011-06-22 | 杨开艳 | Method for realizing shortcut key mode on touch pad of notebook computer |
CN102265254A (en) * | 2008-12-26 | 2011-11-30 | 富士胶片株式会社 | Information display apparatus, information display method and recording medium |
CN102426504A (en) * | 2010-07-30 | 2012-04-25 | 索尼公司 | Information processing device, information processing method, and information processing program |
-
2012
- 2012-10-24 CN CN201210409913.XA patent/CN103777856B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090158149A1 (en) * | 2007-12-18 | 2009-06-18 | Samsung Electronics Co., Ltd. | Menu control system and method |
CN102265254A (en) * | 2008-12-26 | 2011-11-30 | 富士胶片株式会社 | Information display apparatus, information display method and recording medium |
CN102073437A (en) * | 2009-11-23 | 2011-05-25 | 英业达股份有限公司 | Method for controlling touch electronic device |
CN102426504A (en) * | 2010-07-30 | 2012-04-25 | 索尼公司 | Information processing device, information processing method, and information processing program |
CN102103461A (en) * | 2010-12-29 | 2011-06-22 | 杨开艳 | Method for realizing shortcut key mode on touch pad of notebook computer |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI563444B (en) * | 2015-04-13 | 2016-12-21 | Elan Microelectronics Corp | Gesture Identifying Method For A Touch Device |
CN107018312A (en) * | 2015-11-19 | 2017-08-04 | 卡西欧计算机株式会社 | Electronic equipment and touch operation control method |
CN106909293A (en) * | 2015-12-22 | 2017-06-30 | 深圳富泰宏精密工业有限公司 | The method and electronic installation of analog mouse operation |
CN106101532A (en) * | 2016-06-13 | 2016-11-09 | 惠州Tcl移动通信有限公司 | The method and system of camera focus are adjusted based on mobile terminal side multifunction push key |
CN106101532B (en) * | 2016-06-13 | 2019-12-10 | 惠州Tcl移动通信有限公司 | Method and system for adjusting camera focal length based on multifunctional keys on side edge of mobile terminal |
CN106354411A (en) * | 2016-08-26 | 2017-01-25 | 维沃移动通信有限公司 | Interface startup method and mobile terminal |
CN106354411B (en) * | 2016-08-26 | 2019-08-20 | 维沃移动通信有限公司 | A kind of interface starting method and mobile terminal |
CN107272988A (en) * | 2017-06-13 | 2017-10-20 | 上海闻泰电子科技有限公司 | The operating method and device of desktop application |
CN108932079A (en) * | 2018-07-04 | 2018-12-04 | Oppo广东移动通信有限公司 | Processing method, device, storage medium and the electronic equipment of touch information |
Also Published As
Publication number | Publication date |
---|---|
CN103777856B (en) | 2017-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11604560B2 (en) | Application association processing method and apparatus | |
CN103777856A (en) | Method and system for processing touch event into remote control gesture and remote control terminal | |
US9696767B2 (en) | Command recognition method including determining a hold gesture and electronic device using the method | |
KR102240088B1 (en) | Application switching method, device and graphical user interface | |
US8686966B2 (en) | Information processing apparatus, information processing method and program | |
CN109428969B (en) | Edge touch method and device of double-screen terminal and computer readable storage medium | |
US10198421B2 (en) | Method for inserting or deleting cells, rows or columns in spreadsheet and a device therefor | |
US8654076B2 (en) | Touch screen hover input handling | |
CN103135818B (en) | Quick operation response method and electronic equipment | |
EP2825944B1 (en) | Touch screen hover input handling | |
US20140300559A1 (en) | Information processing device having touch screen | |
US20120162105A1 (en) | Information processing device, method of processing information, and computer program storage device | |
KR20180081133A (en) | Rapid screen segmentation method and apparatus, electronic device, display interface, and storage medium | |
US20140071171A1 (en) | Pinch-and-zoom, zoom-and-pinch gesture control | |
US20120297336A1 (en) | Computer system with touch screen and associated window resizing method | |
WO2014056338A1 (en) | Method and device for interaction of list data of mobile terminal | |
WO2015078300A1 (en) | Television control method and remote controller for television | |
CN106873891B (en) | Touch operation method and mobile terminal | |
CN105573653A (en) | Multi-object selecting method and terminal | |
WO2014059810A1 (en) | Human-computer interaction method and related device and system | |
WO2017114194A1 (en) | Mobile terminal operation bar arrangement method and apparatus | |
US20220004287A1 (en) | Layout method, device and equipment for window control bars | |
CN105320316B (en) | Method and device for removing jitter of touch screen and terminal | |
CN111198644A (en) | Method and system for identifying screen operation of intelligent terminal | |
CN108021313B (en) | Picture browsing method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |