CN103777856B - A kind of method, system and remote terminal that touch event is processed into remote control gesture - Google Patents

A kind of method, system and remote terminal that touch event is processed into remote control gesture Download PDF

Info

Publication number
CN103777856B
CN103777856B CN201210409913.XA CN201210409913A CN103777856B CN 103777856 B CN103777856 B CN 103777856B CN 201210409913 A CN201210409913 A CN 201210409913A CN 103777856 B CN103777856 B CN 103777856B
Authority
CN
China
Prior art keywords
event
sliding
finger
slip
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.)
Active
Application number
CN201210409913.XA
Other languages
Chinese (zh)
Other versions
CN103777856A (en
Inventor
吴沛秋
杨云
丁寻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210409913.XA priority Critical patent/CN103777856B/en
Publication of CN103777856A publication Critical patent/CN103777856A/en
Application granted granted Critical
Publication of CN103777856B publication Critical patent/CN103777856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention is applied to field of computer technology, provide a kind of method, system and remote terminal that touch event is processed into remote control gesture, methods described first obtains the touch event slided after a finger down and singly refers to slip event, then residence time after finger down is singly referred in slip event according to described, judge whether to enter mouse mode or sliding-modes, finally according to finger sliding time and distance under sliding-modes, touch event is processed into corresponding remote control gesture, optimize straighforward operation, it is extremely simple.

Description

A kind of method, system and remote terminal that touch event is processed into remote control gesture
Technical field
The invention belongs to field of computer technology, more particularly to it is a kind of by touch event be processed into remote control gesture method, System and remote terminal.
Background technology
With development in science and technology, more and more electronic products are controlled using remote control mode.However, existing straighforward operation is not Enough simplicity.For example, the remote control of television set is realized mostly by the way of button up and down, the control to focus on TV It can only be the progressive movement of the lattice of a lattice one.For the movement of large range of focus, it is necessary to pin the button of remote control or press Some button repeatedly can be only achieved target.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method that touch event is processed into remote control gesture, it is intended to solves The problem of existing straighforward operation is not easy enough.
The embodiment of the present invention is achieved in that a kind of method that touch event is processed into remote control gesture, including following Step:
Acquisition singly refers to slip event, singly refers in slip event that residence time is more than mouse mode after finger down if described Time threshold, then the slip event that singly refers to is entered mouse mode, the slip event that singly refers to is entered sliding-modes;
If the total sliding distance of finger is more than mouse sliding distance threshold value in the mouse mode, mouse mode will be entered Singly refer to slip event and be identified as mouse slip event, and mouse slip gesture is triggered by the mouse slip event;
If the total sliding distance of finger is more than short sliding distance threshold in the sliding-modes, and slip did not occurred before, then The slip event that singly refers to for entering sliding-modes is identified as short sliding event, and short skating gesture is triggered by the short sliding event;
If too short sliding event has occurred, current finger glide direction is identical with the glide direction of the short sliding event, and hand Refer to total sliding distance and be more than middle sliding distance threshold, then the short sliding event is switched into middle sliding event, and by the middle sliding event Skating gesture in triggering;
Wherein, the slip event that singly refers to is the touch event slided after a finger down, the middle sliding distance threshold More than short sliding distance threshold, distance that the total sliding distance of finger is slided by finger down position to current location.
The 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, described System is included with lower unit:
First discrimination unit, singly refer to slip event for obtaining, if described singly refer in slip event stops after finger down Time be more than mouse mode time threshold, then the slip event that singly refers to is entered mouse mode, otherwise make described singly to refer to cunning Dynamic event enters sliding-modes;
First trigger element, for calculating the total sliding distance of finger in the mouse mode, if hand in the mouse mode Refer to total sliding distance and be more than mouse sliding distance threshold value, then the slip event that singly refers to for entering mouse mode is identified as mouse slip Event, and mouse slip gesture is triggered by the mouse slip event;
Second trigger element, for calculating the total sliding distance of finger in the sliding-modes, if hand in the sliding-modes Refer to total sliding distance and be more than short sliding distance threshold, and slip did not occurred before, then will singly refer to slip thing into sliding-modes Part is identified as short sliding event, and triggers short skating gesture by the short sliding event;
3rd trigger element, for judging current finger glide direction and calculating the total sliding distance of finger, if having occurred During short sliding event, current finger glide direction is identical with the glide direction of the short sliding event, and the total sliding distance of finger is more than Sliding distance threshold, then the short sliding event is switched into middle sliding event, and by skating gesture in the middle sliding event triggering;
Wherein, the slip event that singly refers to is the touch event slided after a finger down, the middle sliding distance threshold More than short sliding distance threshold, distance that the total sliding distance of finger is slided by finger down position to current location.
The another object of the embodiment of the present invention is to provide a kind of remote terminal, including touch-screen, and the remote terminal is adopted With the above-mentioned system that touch event is processed into remote control gesture.
The another object of the embodiment of the present invention is to provide a kind of display terminal, and the display terminal uses such as claim The above-mentioned system that touch event is processed into remote control gesture.
The embodiment of the present invention is according to singly referring to slip event(That is the touch event slided after a finger down)Middle finger is slided Dynamic temporal information and positional information, it will singly refer to slip event and be processed into corresponding remote control gesture(Such as mouse slip gesture, short skating Gesture, middle skating gesture etc.), optimize straighforward operation, it is extremely simple.For example, user wants significantly to adjust the volume of display terminal During section, it need to only apply the slip of relatively long distance in the touch-screen of remote terminal.
Brief description of the drawings
Fig. 1 is the method implementation process figure provided in an embodiment of the present invention that touch event is processed into remote control gesture;
Fig. 2 is remote control gesture with sliding speed tendency chart;
Fig. 3 is the system architecture diagram provided in an embodiment of the present invention that touch event is processed into remote control gesture.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The embodiment of the present invention is according to singly referring to slip event(That is the touch event slided after a finger down)Middle finger is slided Dynamic temporal information and positional information, it will singly refer to slip event and be processed into corresponding remote control gesture(Such as mouse slip gesture, short skating Gesture, middle skating gesture etc.), optimize straighforward operation, it is extremely simple.
Below by taking the display terminal of the remote terminal remote control no touch screen with touch-screen as an example, the realization to the present invention is entered Row is described in detail.
Embodiment one
Fig. 1 shows the method implementation process provided in an embodiment of the present invention that touch event is processed into remote control gesture, in detail State as follows.
In step S101, acquisition singly refer to slip event, if it is described singly refer to stopped in slip event after finger down when Between be more than mouse mode time threshold, then the slip event that singly refers to is entered mouse mode, otherwise make described singly to refer to slip thing Part enters sliding-modes.
The embodiment of the present invention obtains the touch event slided after a finger down and singly refers to slip event.If described singly refer to Finger is by residence time on the touchscreen in slip event(That is the time motionless after finger down)More than the mouse mode time Threshold value(MOUSE_TIME_INTERVAL), then the slip event that singly refers to is made to enter mouse mode.If described singly refer to slip event Middle finger is by residence time on the touchscreen(That is the time motionless after finger down)Less than or equal to mouse mode time threshold (MOUSE_TIME_INTERVAL), then the slip event that singly refers to is made to enter sliding-modes.When generally, by the mouse mode Between threshold value be set to 1000ms.
For example, described, singly to refer in slip event residence time after finger down be 1200ms, the mouse mode time Threshold value is 1000ms, and the now described slip event that singly refers to enters mouse mode.And for example, it is described singly to refer to finger down in slip event Residence time is 800ms afterwards, and the mouse mode time threshold is 1000ms, and the now described slip event that singly refers to enters slip Pattern.
In step s 102, will if the total sliding distance of finger is more than mouse sliding distance threshold value in the mouse mode The slip event that singly refers into mouse mode is identified as mouse slip event, and is slided by mouse slip event triggering mouse Gesture.
If the total sliding distance of finger is more than mouse sliding distance threshold value in above-mentioned mouse mode(MOUSE_MIN_ SCROLL_DISTANCE), then the mouse mode is identified as mouse slip event, and triggered by the mouse slip event Mouse slip gesture.Wherein, the distance that the total sliding distance of the finger is slided by finger down position to current location.It is logical Often, the mouse sliding distance threshold value is set to 100px.
For example, the total sliding distance of finger is 120px in the mouse mode, the mouse sliding distance threshold value is 100px, The slip event that singly refers to for entering mouse mode is now identified as mouse slip event, and mouse is triggered by the mouse slip event Mark slip gesture.And for example, the total sliding distance of finger is 80px in the mouse mode, and the mouse sliding distance threshold value is 100px, any gesture is not triggered now.
In step S 103, if the total sliding distance of finger is more than short sliding distance threshold in the sliding-modes, and before not Generation, which is crossed, to be slided, then the slip event that singly refers to for entering sliding-modes is identified as into short sliding event, and triggered by the short sliding event Short skating gesture.
If the total sliding distance of finger is more than short sliding distance threshold in above-mentioned sliding-modes(MIN_SCROLL_ DISTANCE), and slip did not occurred before, then the sliding-modes are identified as short sliding event, and by the short sliding event Trigger short skating gesture.Generally, the short sliding distance threshold is set to 25px.
For example, the total sliding distance of finger is 80px in the sliding-modes, the short sliding distance threshold is 25px, now will The slip event that singly refers into sliding-modes is identified as short sliding event, and triggers short skating gesture by the short sliding event.And for example, institute It is 10px to state the total sliding distance of finger in sliding-modes, and the short sliding distance threshold is 25px, does not trigger any gesture now.
In step S104, if too short sliding event has occurred, the slip of current finger glide direction and the short sliding event Direction is identical, and the total sliding distance of finger is more than middle sliding distance threshold, then the short sliding event is switched into middle sliding event, and by Skating gesture in the middle sliding event triggering.
If too short sliding event has occurred, current finger glide direction is identical with the glide direction of the short sliding event, and The total sliding distance of finger is more than middle sliding distance threshold(MID_SCROLL_DISTANCE), then during the short sliding event is switched to Sliding event, and by skating gesture in sliding event triggering in this.Short skating gesture is triggered before skating gesture trigger herein in, to ensure to slide Dynamic trigger action sensitivity.Generally, the middle sliding distance threshold is set to 300px.
Middle sliding distance threshold described in the embodiment of the present invention is more than short sliding distance threshold.For example, too short sliding event has occurred, Current finger glide direction is identical with the glide direction of the short sliding event, is all slide downward.The total sliding distance of finger is 350px, the middle sliding distance threshold are 300px.The short sliding event is now switched into middle sliding event, and by the middle sliding thing Skating gesture in part triggering.And for example, the total sliding distance of finger is 230px, and the middle sliding distance threshold is 300px, is not triggered now Any gesture.
Wherein, foregoing mouse slip gesture, short skating gesture and middle skating gesture belong to distant described in the embodiment of the present invention Control gesture.Usually, the mouse slip gesture follows the i.e. focus of operation to follow finger to move for focus, such as accurate Search the program of display terminal.The short skating gesture single-frame operates for upper and lower, left and right, such as adjusting display step by step eventually When the volume at end, i.e. user think to adjust volume step by step, only the short cunning of finger need to be used(The distance that finger slides is more than 25px and is less than 300px)Once, now the volume of display terminal will be adjusted step by step, be taken a slide per short, volume increases or decreases one-level.Institute State middle skating gesture and be used for upper and lower, left and right Tab operation, such as the volume for step regulation display terminal, i.e. user think significantly During degree regulation volume, it need to only use sliding in finger(The distance that finger slides is more than 300px)Once, operate extremely simple.
Embodiment two
Unlike embodiment one, embodiment adds fast sliding time threshold(FLING_INTERVAL)Slided with brachymedial Distance threshold(MID_FLING_SCROLL_DISTANCE)Two parameters, with the probability that sliding event occurs in raising.If occur Too short sliding event, current finger glide direction is identical with the glide direction of the short sliding event, and current finger sliding time is more than Fast sliding time threshold, and the total sliding distance of finger is slided between distance threshold and middle sliding distance threshold between brachymedial, then will be described short Sliding event switches to middle sliding event, and by skating gesture in the middle sliding event triggering.Generally, by the fast sliding time threshold and short Middle sliding distance threshold is set to 120ms and 200px.Because the brachymedial slides distance threshold between short sliding distance threshold and middle actual relative movement From between threshold value, you can significantly improve the probability that middle sliding event occurs.Wherein, the current finger sliding time is previous event The time that finger slides after generation, previous event is short sliding event herein.
For example, too short sliding event has occurred, current finger glide direction is identical with the glide direction of the short sliding event, together For slide downward.Current finger sliding time is 130ms, and the fast sliding time threshold is 120ms.The total sliding distance of finger is 230px, it is 200px that the brachymedial, which slides distance threshold, and the middle sliding distance threshold is 300px.Now the short sliding event is cut Middle sliding event is changed to, and by skating gesture in the middle sliding event triggering.Although the total sliding distance of the finger is less than middle actual relative movement from threshold Value, but middle skating gesture is triggered, thus which raises the probability that middle sliding event occurs.
Embodiment three
Unlike embodiment one, two, the present embodiment increase following steps.If too short sliding event has occurred, work as remote holder It is identical with the glide direction of the short sliding event to refer to glide direction, current finger sliding time is less than or equal to fast sliding time threshold, And the total sliding distance of finger is slided between distance threshold and middle sliding distance threshold between brachymedial, then only records current finger sliding time And distance, i.e., the short sliding event is not switched into middle sliding event, skating gesture in not triggering, so that the probability that middle sliding event occurs Suitably.Wherein, the current finger sliding time is the time that finger slides after previous event occurs, and previous event is short herein Sliding event.
For example, too short sliding event has occurred, current finger glide direction is identical with the glide direction of the short sliding event, together For slide downward.Current finger sliding time is 100ms, and the fast sliding time threshold is 120ms.The total sliding distance of finger is 230px, it is 200px that the brachymedial, which slides distance threshold, and the middle sliding distance threshold is 300px.Current finger is now only recorded to slide Dynamic time and distance, i.e., do not switch to middle sliding event by the short sliding event, skating gesture in not triggering, so that middle sliding event occurs Probability it is appropriate.
It should be noted that once current finger sliding time is more than fast sliding time threshold, or current finger sliding distance With short sliding distance threshold sum(That is the total sliding distance of finger), will be during the short sliding event switches to more than middle sliding distance threshold Sliding event, and by skating gesture in sliding event triggering in this, to ensure sensitivity.
Example IV
The embodiment of the present invention adds the step of realizing long skating gesture on the basis of embodiment one, two, quickly to move Operation.Specifically, if middle sliding event had occurred, current finger glide direction is identical with the glide direction of the middle sliding event, And the total sliding distance of finger is more than long sliding distance threshold(MAX_SCROLL_DISTANCE), then the middle sliding event is switched to Long sliding event, and long skating gesture is triggered by the long sliding event.Wherein, the long sliding distance threshold is more than middle sliding distance threshold. Generally, the long sliding distance threshold is set to 400px.
For example, middle sliding event had occurred, current finger glide direction is identical with the glide direction of the middle sliding event, together To be downward.The total sliding distance of finger is 401px, and the long sliding distance threshold is 400px.Now the middle sliding event is switched to Long sliding event, and long skating gesture is triggered by the long sliding event.
Certainly, the long skating gesture belongs to the remote control gesture described in the embodiment of the present invention.Wherein, the long skating gesture is used for The quick moving operation in upper and lower, left and right, such as quickly searching the program of display terminal.Relative to middle skating gesture, long skating Gesture sliding distance is grown, and is adapted to a wide range of search.For example, when user is want the quick top set of a rendition list or bottom set, only need to use Finger length is slided(The distance that finger slides is more than 400px)Once, operate extremely simple.
Embodiment five
The embodiment of the present invention adds the step of realizing long skating gesture on the basis of embodiment one, two, quickly to move Operation, and the probability for long sliding event occur is appropriate.Specifically, if middle sliding event had occurred, current finger glide direction with The glide direction of the middle sliding event is identical, and current finger sliding time is more than long sliding time threshold(MID_SCROLL_ INTERVAL), and the total sliding distance of finger is more than long sliding distance threshold(MAX_SCROLL_DISTANCE), then by the middle cunning Event switches to long sliding event, and triggers long skating gesture by the long sliding event.Wherein, the long sliding distance threshold is more than middle cunning Distance threshold, the current finger sliding time is currently to trace back to sliding time when previous event occurs, herein previous thing Part is middle sliding event.Because adding a time threshold condition, you can significantly inhibit the probability that long sliding event occurs, make long skating The probability that gesture occurs is appropriate.Generally, the long sliding time threshold and long sliding distance threshold are set to 100ms and 400px.
For example, middle sliding event had occurred, current finger glide direction is identical with the glide direction of the middle sliding event, together To be downward.Current finger sliding time is 120ms, and the total sliding distance of finger is 410px, and the long sliding distance threshold is 400px, The long sliding time threshold is 100ms.The middle sliding event is now switched into long sliding event, and by the long sliding event triggering Long skating gesture.
Certainly, the long skating gesture belongs to the remote control gesture described in the embodiment of the present invention.Wherein, the long skating gesture is used for The quick moving operation in upper and lower, left and right, such as quickly searching the program of display terminal.Relative to middle skating gesture, long skating Gesture sliding distance is grown, and is adapted to a wide range of search.For example, when user is want the quick top set of a rendition list or bottom set, only need to use Finger length is slided(The distance that finger slides is more than 400px)Once, operate extremely simple.
Embodiment six
The embodiment of the present invention adds following steps on the basis of foregoing embodiments.Specifically, if the various embodiments described above In too short sliding event, middle sliding event or long sliding event has occurred, the glide direction of current finger glide direction and corresponding event is not Together, and current finger sliding distance is more than short sliding distance threshold, then triggers short skating gesture by current slip event, and make when advancing slip Dynamic event enters mouse mode(It is mainly used in focus to follow, realizes accurate search).It has been generally acknowledged that user slides to its desired area Think accurately to search behind domain, and enter mouse mode.It should be appreciated that the current slip event is worked as still singly to refer to slip event Front slide event is relative to the short sliding event, middle sliding event or long sliding event that had occurred, and only glide direction changes, and finger number It is unchanged.
For example, the downward middle sliding event of glide direction had occurred before, current finger glide direction is upward, its with it is described The glide direction of middle sliding event is different, i.e., glide direction changes in finger sliding process.Currently finger sliding distance is 50px, the short sliding distance threshold are 25px.Short skating gesture is now triggered by current slip event, and enters current slip event Enter mouse mode, accurately to search.
Embodiment seven
The embodiment of the present invention adds following steps on the basis of foregoing embodiments:Touch event is obtained, if described touch Touch in event and slided after finger down, then the touch event is identified as slip event;If finger is pressed in the touch event Lifted after lower, and the finger down, the time interval lifted are less than and click on time threshold, then are identified as the touch event a little Event is hit, and by click event trigger point hitter's gesture.The finger number of the slip event is calculated, if the slip event Finger number is one, then is identified as the slip event and singly refers to slip event;If the finger number of the slip event is more than two, The slip event is then identified as finger slip event more.Certainly, the finger slip gesture more and click gesture belong to this hair Remote control gesture described in bright embodiment.
For example, the finger of user is once touched on the touch-screen unlocked, i.e., one touch event of formation is sent to tactile Controller is touched, the touch event includes temporal information and positional information.If in the touch event finger by the touchscreen i.e. open Begin to slide, then the touch event is identified as slip event.If in the touch event finger by the touchscreen i.e. lift, and should Finger down, the time interval lifted, which are less than, clicks on time threshold(CLICK_INTERVAL), then the touch event is identified as Click event, and by click event trigger point hitter's gesture.Generally, the click time threshold is set to 100ms.
The number of detecting real-time of embodiment of the present invention touch point, the finger number of above-mentioned slip event is calculated with this.If touch The number that screen senses touch point is one, i.e. the finger number of slip event is one, then is identified as above-mentioned slip event and singly refers to cunning Dynamic event.If the number that touch-screen senses touch point is more than two, i.e., the finger number of slip event is more than two, then will be above-mentioned Slip event is identified as finger slip event more.
User is general to carry out touch operation using two fingers in addition to operation is singly referred to.Correspondingly, above-mentioned refer to more is slided Dynamic event refers to slip event to be double.This pair refers to slip event and meets certain condition, you can triggering is double to refer to slip gesture.For example, touch It is two to touch screen and detect current finger number, is now double finger slip events, if this pair refers to each finger slip side in slip event To consistent, and the total sliding distance of each finger is all higher than double referring to sliding distance threshold values(DOUBLE_MIN_SCROLL_DISTANCE), The double finger slip gestures of slip event triggering are then referred to by this pair, this pair refers to slip gesture and be generally used for moving background or page turn over operation. If this pair is singly to refer to slip event before referring to slip event, it is latter finger that this, which singly refers to the total sliding distance of finger in slip event, Press the rear distance that it is slided.Usually, double sliding distance threshold values that refer to are set to 100px.
All touch events are through touch controller in the embodiment of the present invention(TouchController)After processing, call existing Some gesture Processing Interfaces:
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 points are:
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;
It is four kinds, corresponding with short skating gesture, middle skating gesture, long skating gesture and mouse slip gesture respectively.
In addition, the embodiment of the present invention is both mountable to remote terminal to handle the touch controller of touch event(Such as hand Machine etc.), also it is mountable to display terminal(Such as intelligent television).Touch event i.e. on remote terminal is handled on remote terminal Into remote control gesture, then directly invoke display terminal operation corresponding with the remote control gesture.Or thing first will be touched by remote terminal Part is sent to display terminal, then handles these touch events by display terminal, and then develops into what display terminal was operated It is remotely controlled gesture.For ease of understanding, following table is described further to aforementioned parameters.
In addition, Fig. 2 list four kinds of directions it is constant singly refer to slip event, it uses upper table parameter present worth, and each event is touched The remote control gesture of hair matches with actual scene.
Embodiment eight
Fig. 3 shows the framework of the system provided in an embodiment of the present invention that touch event is processed into remote control gesture, is described in detail It is as follows.
It is provided in an embodiment of the present invention by touch event be processed into remote control gesture system include the first discrimination unit 301, First trigger element 302, the second trigger element 303 and the 3rd triggering single 304.Wherein, first discrimination unit 301 is used to obtain Take and singly refer to slip event, singly refer in slip event that residence time is more than mouse mode time threshold after finger down if described, The slip event that singly refers to is entered mouse mode, the slip event that singly refers to is entered sliding-modes.Described first Trigger element 302 be used for calculate the total sliding distance of finger in the mouse mode, if in the mouse mode finger always slide away from From more than mouse sliding distance threshold value, then the slip event that singly refers to for entering mouse mode is identified as mouse slip event, and by The mouse slip event triggers mouse slip gesture.Second trigger element 303 is used to calculate hand in the sliding-modes Refer to total sliding distance, if the total sliding distance of finger is more than short sliding distance threshold in the sliding-modes, and do not occurred to slide before It is dynamic, then the slip event that singly refers to for entering sliding-modes is identified as short sliding event, and short skating gesture is triggered by the short sliding event. 3rd trigger element 304 is used to judge current finger glide direction and calculate the total sliding distance of finger, if having occurred too short Sliding event, current finger glide direction is identical with the glide direction of the short sliding event, and the total sliding distance of finger is more than middle cunning Distance threshold, then the short sliding event is switched into middle sliding event, and by skating gesture in the middle sliding event triggering.Wherein, institute The touch event for singly referring to slip event to be slided after a finger down is stated, the middle sliding distance threshold is more than short actual relative movement from threshold Value, the distance that the total sliding distance of finger is slided by finger down position to current location.
It should be noted that above-mentioned each unit concrete operating principle is as it was noted above, be not repeated here herein.In addition, The unit of the above-mentioned system that touch event is processed into remote control gesture can be software unit, hardware cell or software and hardware With reference to unit, software unit part can be stored in a computer read/write memory medium, such as ROM/RAM, disk, CD Deng.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.

Claims (13)

  1. A kind of 1. method that touch event is processed into remote control gesture, it is characterised in that whole applied to the remote control with touch-screen End, using obtained remote control gesture, realizes the remote control to display terminal, the described method comprises the following steps:
    Acquisition singly refers to slip event, singly refers in slip event that residence time is more than the mouse mode time after finger down if described Threshold value, then the slip event that singly refers to is entered mouse mode, the slip event that singly refers to is entered sliding-modes;
    If the total sliding distance of finger is more than mouse sliding distance threshold value in the mouse mode, singly referring to for mouse mode will be entered Slip event is identified as mouse slip event, and triggers mouse slip gesture by the mouse slip event;
    If the total sliding distance of finger is more than short sliding distance threshold in the sliding-modes, and slip did not occurred before, then will enter The slip event that singly refers to for entering sliding-modes is identified as short sliding event, and triggers short skating gesture by the short sliding event;
    If too short sliding event has occurred, current finger glide direction is identical with the glide direction of the short sliding event, and finger is total Sliding distance is more than middle sliding distance threshold, then the short sliding event is switched into middle sliding event, and triggered by the middle sliding event Middle skating gesture;
    Wherein, the touch event for singly referring to slip event to slide after one finger down, the middle sliding distance threshold are more than Short sliding distance threshold, the distance that the total sliding distance of finger is slided by finger down position to current location.
  2. 2. the method as described in claim 1, it is characterised in that if the total sliding distance of finger is more than in the sliding-modes Short sliding distance threshold, and slip did not occurred before, then the sliding-modes are identified as short sliding event, and by the short sliding thing It is further comprising the steps of after the step of part triggering short skating gesture:
    If too short sliding event has occurred, current finger glide direction is identical with the glide direction of the short sliding event, current finger Sliding time is more than fast sliding time threshold, and the total sliding distance of finger between brachymedial slide distance threshold and middle sliding distance threshold it Between, then the short sliding event is switched into middle sliding event, and by skating gesture in the middle sliding event triggering;
    Wherein, the brachymedial slides distance threshold between short sliding distance threshold and middle sliding distance threshold, and the current finger is slided The dynamic time is the time that finger slides after previous event occurs.
  3. 3. method as claimed in claim 1 or 2, it is characterised in that if the total sliding distance of finger in the sliding-modes More than short sliding distance threshold, and slip did not occurred before, then the sliding-modes are identified as short sliding event, and by described short It is further comprising the steps of after the step of sliding event triggers short skating gesture:
    If too short sliding event has occurred, current finger glide direction is identical with the glide direction of the short sliding event, current finger Sliding time is less than or equal to fast sliding time threshold, and the total sliding distance of finger slides distance threshold and middle sliding distance threshold between brachymedial Between, then only record current finger sliding time and distance;
    Wherein, the brachymedial slides distance threshold between short sliding distance threshold and middle sliding distance threshold, and the current finger is slided The dynamic time is the time that finger slides after previous event occurs.
  4. 4. method as claimed in claim 1 or 2, it is characterised in that if described occurred too short sliding event, current finger slides Direction is identical with the glide direction of the short sliding event, and the total sliding distance of finger is more than middle sliding distance threshold, then will be described short Sliding event switches to middle sliding event, and by the middle sliding event triggering the step of skating gesture after it is further comprising the steps of:
    If middle sliding event had occurred, current finger glide direction is identical with the glide direction of the middle sliding event, and finger is total Sliding distance is more than long sliding distance threshold, then the middle sliding event is switched into long sliding event, and by the long sliding event triggering Long skating gesture;
    Wherein, the long sliding distance threshold is more than middle sliding distance threshold.
  5. 5. method as claimed in claim 1 or 2, it is characterised in that if described occurred too short sliding event, current finger slides Direction is identical with the glide direction of the short sliding event, and the total sliding distance of finger is more than middle sliding distance threshold, then will be described short Sliding event switches to middle sliding event, and by the middle sliding event triggering the step of skating gesture after it is further comprising the steps of:
    If middle sliding event had occurred, current finger glide direction is identical with the glide direction of the middle sliding event, current finger Sliding time is more than long sliding time threshold, and the total sliding distance of finger is more than long sliding distance threshold, then cuts the middle sliding event Long sliding event is changed to, and long skating gesture is triggered by the long sliding event;
    Wherein, the long sliding distance threshold is more than middle sliding distance threshold, and the current finger sliding time occurs for previous event The time that finger slides afterwards.
  6. 6. method as claimed in claim 5, it is characterised in that if described occurred middle sliding event, current finger slip side To identical with the glide direction of the middle sliding event, current finger sliding time is more than long sliding time threshold, and finger always slides Distance is more than long sliding distance threshold, then the middle sliding event is switched into long sliding event, and slided by the long sliding event triggering is long It is further comprising the steps of after the step of gesture:
    If too short sliding event, middle sliding event or long sliding event, the slip side of current finger glide direction and corresponding event occurs To difference, and current finger sliding distance is more than short sliding distance threshold, then triggers short skating gesture by current slip event, make afterwards Current slip event enters mouse mode.
  7. 7. method as claimed in claim 1 or 2, it is characterised in that the acquisition singly refers to slip event, if described singly refer to slip Residence time is more than mouse mode time threshold after finger down in event, then the slip event that singly refers to is entered mouse mould Formula, otherwise make the slip event that singly refers into further comprising the steps of before sliding-modes:
    Touch event is obtained, if being slided in the touch event after finger down, the touch event is identified as slip thing Part;If lifted in the touch event after finger down, and the finger down, the time interval lifted are less than and click on time threshold Value, then the touch event is identified as click event, and by click event trigger point hitter's gesture;
    The finger number of the slip event is calculated, if the finger number of the slip event is one, the slip event is identified Singly to refer to slip event;If the finger number of the slip event is more than two, the slip event is identified as to refer to more and slided Event.
  8. 8. method as claimed in claim 7, it is characterised in that if described refer to each finger glide direction one in slip event more Cause, and the total sliding distance of each finger is all higher than referring to sliding distance threshold value more, then is slided by the slip event triggering finger more that refers to more Gesture.
  9. 9. method as claimed in claim 8, it is characterised in that the slip event that refers to more is described more for double finger slip events Refer to slip gesture and refer to slip gesture to be double.
  10. 10. method as claimed in claim 9, it is characterised in that double slip gestures that refer to are used to move background or page turning, institute State short skating gesture single-frame to operate for upper and lower, left and right, the middle skating gesture is used for upper and lower, left and right Tab operation, long skating Gesture is used for the quick moving operation in upper and lower, left and right, and the mouse slip gesture follows operation for focus, and the click gesture is used In entrance or amplifieroperation.
  11. 11. a kind of system that touch event is processed into remote control gesture, it is characterised in that the system is included with lower unit:
    First discrimination unit, for obtain singly refer to slip event, if it is described singly refer to stopped in slip event after finger down when Between be more than mouse mode time threshold, then the slip event that singly refers to is entered mouse mode, otherwise make described singly to refer to slip thing Part enters sliding-modes;
    First trigger element, for calculating the total sliding distance of finger in the mouse mode, if finger is total in the mouse mode Sliding distance is more than mouse sliding distance threshold value, then the slip event that singly refers to for entering mouse mode is identified as into mouse slip thing Part, and mouse slip gesture is triggered by the mouse slip event;
    Second trigger element, for calculating the total sliding distance of finger in the sliding-modes, if finger is total in the sliding-modes Sliding distance is more than short sliding distance threshold, and slip did not occurred before, then will singly refer to slip event mark into sliding-modes Know for short sliding event, and short skating gesture is triggered by the short sliding event;
    3rd trigger element, for judging current finger glide direction and calculating the total sliding distance of finger, if too short cunning has occurred Event, current finger glide direction is identical with the glide direction of the short sliding event, and the total sliding distance of finger is more than middle actual relative movement From threshold value, then the short sliding event is switched into middle sliding event, and by skating gesture in the middle sliding event triggering;
    Wherein, the touch event for singly referring to slip event to slide after one finger down, the middle sliding distance threshold are more than Short sliding distance threshold, the distance that the total sliding distance of finger is slided by finger down position to current location.
  12. 12. a kind of remote terminal, there is a touch-screen, it is characterised in that the remote terminal is using as claimed in claim 11 Touch event is processed into remote control gesture system.
  13. 13. a kind of display terminal, it is characterised in that the display terminal is using as claimed in claim 11 by touch event The system for managing into remote control gesture.
CN201210409913.XA 2012-10-24 2012-10-24 A kind of method, system and remote terminal that touch event is processed into remote control gesture Active CN103777856B (en)

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 CN103777856A (en) 2014-05-07
CN103777856B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
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
JP6143023B2 (en) * 2015-11-19 2017-06-07 カシオ計算機株式会社 Electronic device, touch operation control method, and program
CN106909293A (en) * 2015-12-22 2017-06-30 深圳富泰宏精密工业有限公司 The method and electronic installation of analog mouse operation
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
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
CN108932079B (en) * 2018-07-04 2022-01-07 Oppo广东移动通信有限公司 Touch information processing method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073437A (en) * 2009-11-23 2011-05-25 英业达股份有限公司 Method for controlling touch electronic device
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090065919A (en) * 2007-12-18 2009-06-23 삼성전자주식회사 Menu-control system and method
CN102103461A (en) * 2010-12-29 2011-06-22 杨开艳 Method for realizing shortcut key mode on touch pad of notebook computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN103777856A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
CN103777856B (en) A kind of method, system and remote terminal that touch event is processed into remote control gesture
TWI575369B (en) Battery usage tracking user interface
US8654076B2 (en) Touch screen hover input handling
CN104281385B (en) The method of adjustment of input method dummy keyboard and input subtraction unit
CN103455496B (en) A kind of exchange method based on browser and equipment
CN103412763B (en) Background program management method of mobile terminal and mobile terminal
DE202015006055U1 (en) User interface for receiving user input
CN103853439B (en) terminal and page turning method
DE112013002412T5 (en) Apparatus, method and graphical user interface for providing feedback for changing activation states of a user interface object
CA2862435A1 (en) Method for manipulating a graphical object and an interactive input system employing the same
JP2013530587A5 (en)
DE202008000269U1 (en) Portable electronic device
CN102393797B (en) Mouse and method for controlling window switching through the same
CN103324440A (en) Text content selecting method utilizing multi-point touch control
WO2012091862A1 (en) Systems and methods for adaptive gesture recognition
CN108920066B (en) Touch screen sliding adjustment method and device and touch equipment
CN107193519A (en) Display control method and device, computer installation and computer-readable recording medium
CN106415471A (en) Processing method for user interface of terminal, user interface and terminal
CN104866188A (en) Display interface adjusting method
CN102955650A (en) Cursor gesture input method and device
SG195014A1 (en) Interaction method and device in touch terminal, and interaction method, server and computer storage medium in network application
US20140085223A1 (en) Apparatus and method capable of switching displayed pictures
US20130293477A1 (en) Electronic apparatus and method for operating the same
CN105589636A (en) Method and mobile terminal used for realizing virtual pointer control on touch screen
CN102929527A (en) Device with picture switching function and picture switching method

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