CN108132753A - A kind of recognition methods, device and the terminal device of user gesture operation - Google Patents

A kind of recognition methods, device and the terminal device of user gesture operation Download PDF

Info

Publication number
CN108132753A
CN108132753A CN201711396384.3A CN201711396384A CN108132753A CN 108132753 A CN108132753 A CN 108132753A CN 201711396384 A CN201711396384 A CN 201711396384A CN 108132753 A CN108132753 A CN 108132753A
Authority
CN
China
Prior art keywords
user gesture
gesture operation
touch points
touching
page
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.)
Pending
Application number
CN201711396384.3A
Other languages
Chinese (zh)
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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Alibaba Literature Information Technology 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 Guangzhou Alibaba Literature Information Technology Co Ltd filed Critical Guangzhou Alibaba Literature Information Technology Co Ltd
Priority to CN201711396384.3A priority Critical patent/CN108132753A/en
Publication of CN108132753A publication Critical patent/CN108132753A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application provides a kind of recognition methods, device and the terminal device of user gesture operation, the method includes:Such as user gesture operation triggering touching slip event, judge whether the sliding distance of the user gesture operation meets touching continuation condition;As met, then the moving direction operated according to the user gesture enables the page generate corresponding rolling, and the function that other directions of system is forbidden to roll.The embodiment of the present application, which can be realized, accurately identifies user gesture operation, and carry out correctly operation response.

Description

A kind of recognition methods, device and the terminal device of user gesture operation
Technical field
The invention relates to the recognition methods of Internet technical field more particularly to a kind of operation of user gesture, dresses It puts and terminal device.
Background technology
With the development of mobile Internet and touch screen technology, gesture operation is more next because of its convenience and manipulation accuracy More user is received.Triggering touching beginning event (touch_down) during finger contact screen, it is continuous in finger moving process Triggering touching slip event (touch_move), when finger frames out triggering slide cancellation event (touch_cancel or touch_end)。
But commonly used program being in use, since its page can slide up and down or horizontally slip, user's Gesture is often due to inputting the angle of operation and generating oblique operation, so as to which the judgement to user gesture be caused mistake occur.It is right The misjudgment of user gesture often generates the gesture identification of mistake as a result, the operation that terminal generates mistake is enabled to respond, seriously Influence user experience.
Therefore, how to realize and accurately identify user gesture operation, carrying out correctly operation response becomes people in the art The technical issues of member is urgently to be resolved hurrily.
Invention content
The embodiment of the present application provides a kind of recognition methods, device and the terminal device of user gesture operation, can be real User gesture operation is now accurately identified, and carries out correctly operation response.
According to the one side of the embodiment of the present application, a kind of recognition methods of user gesture operation, the method are provided Including:
Such as user gesture operation triggering touching slip event, judge user gesture operation sliding distance whether Meet touching continuation condition;
As met, then the moving direction operated according to the user gesture enables the page generate corresponding rolling, and forbid be Unite other directions rolling function.
According to the other side of the embodiment of the present application, a kind of identification device of user gesture operation is additionally provided, it is described Device includes:
Velocity estimated module for such as described user gesture operation triggering touching slip event, judges the user gesture Whether the sliding distance of operation meets touching continuation condition;
Operation and control module, for such as meeting, then the moving direction operated according to the user gesture enables page generation pair The rolling answered, and the function that other directions of system is forbidden to roll.
According to the another aspect of the embodiment of the present application, a kind of terminal device is additionally provided, including:Processor, memory, Communication interface and communication bus, the processor, the memory and the communication interface complete phase by the communication bus Communication between mutually;For the memory for storing an at least executable instruction, the executable instruction performs the processor The corresponding operation of recognition methods of user gesture operation as described above.
According to technical solution provided by the embodiments of the present application, it is tactile that the application judges whether the user gesture obtained operation triggers Slip event is touched, is such as triggered, then judges whether the sliding distance of the user gesture operation meets touching continuation condition.As completely Foot, the then moving direction operated according to the user gesture enable the page generate corresponding rolling, and other directions of system is forbidden to roll Dynamic function.Therefore, after the application touches slip event according to triggering, judge whether the sliding distance of user gesture operation meets Continuation condition is touched, so as to accurately judge the direction of user gesture operation, the page is enabled slided with the touching The corresponding rolling in direction of action, the function that other directions of system is forbidden to roll, can avoid the judgement operated to user gesture Mistake.The application, which can realize, accurately identifies user gesture operation, and carry out correctly operation response, improves user experience.
Description of the drawings
Fig. 1 is the step flow chart of the recognition methods operated according to a kind of user gesture of the embodiment of the present application one;
The step of Fig. 2 is the step S101 of the recognition methods operated according to a kind of user gesture of the embodiment of the present application one is flowed Cheng Tu;
Fig. 3 is a kind of reality of the step S102 of the recognition methods operated according to a kind of user gesture of the embodiment of the present application two Existing step flow chart;
Fig. 4 is the another kind of the step S102 of the recognition methods operated according to a kind of user gesture of the embodiment of the present application two The step flow chart of realization;
Fig. 5 is the step flow chart of the recognition methods operated according to a kind of user gesture of the embodiment of the present application three;
Fig. 6 is the structure diagram of the identification device operated according to a kind of user gesture of the embodiment of the present application four;
Fig. 7 is the knot of the velocity estimated module of the identification device operated according to a kind of user gesture of the embodiment of the present application four Structure block diagram;
Fig. 8 is the one of the operation and control module of the identification device operated according to a kind of user gesture of the embodiment of the present application five The structure diagram that kind is realized;
Fig. 9 is the another of the operation and control module of the identification device operated according to a kind of user gesture of the embodiment of the present application five A kind of structure diagram realized;
Figure 10 is the structure diagram of the identification device operated according to a kind of user gesture of the embodiment of the present application six;
Figure 11 is the structure diagram according to a kind of terminal device of the embodiment of the present application seven.
Specific embodiment
(identical label represents identical element in several attached drawings) and embodiment below in conjunction with the accompanying drawings, implement the application The specific embodiment of example is described in further detail.Following embodiment is used to illustrate the application, but be not limited to the application Range.
It will be understood by those skilled in the art that the terms such as " first ", " second " in the embodiment of the present application are only used for distinguishing Different step, equipment or module etc. neither represent any particular technology meaning, also do not indicate that the inevitable logic between them is suitable Sequence.
Embodiment one
With reference to Fig. 1, the step of showing the recognition methods operated according to a kind of user gesture of the embodiment of the present application one, flows Cheng Tu.
What deserves to be explained is herein described step S101 to S103 does not represent the sequencing of its execution.
The recognition methods of the user gesture operation of the present embodiment includes the following steps:
Step S101:Such as user gesture operation triggering touching slip event, the cunning of the user gesture operation is judged Whether dynamic distance meets touching continuation condition.
Beginning event (touch_down) is touched in triggering during finger contact screen, and continuous trigger is touched in finger moving process Slip event (touch_move), triggering slip cancellation event (touch_cancel or touch_ when finger frames out end)。
User carries out gesture operation, and the application is judged according to the operation of the user gesture of reception, judges its gesture operation Whether touching slip event (touch_move) can be triggered.If the user gesture operation triggering touching slip event, into One step judges whether the sliding distance of the user gesture operation meets touching continuation condition.So as to be grasped according to the user gesture Whether the sliding distance of work, which meets touching continuation condition, further carries out the user's operation more accurately judging.
In the application one in the specific implementation, referring to Fig. 2, the step S101 includes:
Step S1011:When the user gesture operation triggering touching beginning event of acquisition, record starts the seat of touch points Mark.
Specifically, the embodiment of the present application receives user gesture operation, obtains user's finger and starts contact screen, triggering touching Beginning event (touch_down), record start the coordinate (x1, y1) of touch points.
Step S1012:When the user gesture operation triggering touching slip event of acquisition, record slides the seat of touch points Mark.
Specifically, the embodiment of the present application receives user gesture operation, obtains in user's finger moving process and continuously contacts with screen Slip event (touch_move) is touched in curtain, triggering, records the coordinate (x2, y2) of slip touch points at this time.
Step S1013:As the slip touch points and the coordinate difference for starting touch points in either direction are more than Minimum confidence values, it is determined that the sliding distance meets touching continuation condition.
Calculate the slip touch points and it is described start coordinate difference of the touch points on x directions and y directions, i.e. x '= X2-x1 and y '=y2-y1.
Specifically, a minimum confidence values r is pre-set, minimum confidence values r is a length value.That is x ' or y ' are more than minimum Confidence values r determines that the sliding distance meets touching continuation condition.If x ' either both less than or equal to r, touch y ' by lasting triggering Slip event (touch_move) is touched, records the coordinate (x3, y3) of slip touch points at this time.Reuse the coordinate of touch points (x3, y3) and start touch points coordinate (x1, y1) carry out the slip touch points and the beginning touch points in x directions and Coordinate difference x ', y ' on y directions are calculated.
Step S102:As met, then the moving direction operated according to the user gesture enables the page generate corresponding rolling, And the function that other directions of system is forbidden to roll.
It is rolled since Webpage and system framework can be operated according to user gesture, user is for page institute The gesture operation of progress is easily judged by accident, so as to generate the response of mistake.
If in the embodiment of the present application in the specific implementation, the sliding distance of the user gesture operation meets touching and continues Condition, the then moving direction operated by the user gesture enable the page generate corresponding rolling, in order to avoid operation conflicts, prohibit The rolling in other directions of locking system.
Through this embodiment, after touching slip event according to triggering according to the embodiment of the present application, judge that user gesture operates Sliding distance whether meet touching continuation condition, so as to accurately to the user gesture operation direction judge, enable page Face carries out and the corresponding rolling in direction of the touching sliding action, forbids the function of other directions of system rolling, can avoid pair The misjudgment of user gesture operation.The application, which can realize, accurately identifies user gesture operation, and carries out correctly operation and ring Should, improve user experience.
The recognition methods of the user gesture operation of the present embodiment can be by any suitable knowledge operated with user gesture The equipment of other ability performs, including but not limited to:Various terminal equipment or server, including but not limited to PC machine, tablet electricity Brain, mobile terminal etc..
Embodiment two
According to a kind of user gesture of the embodiment of the present application two operate recognition methods the step of include step S101 and Step S102.
In the application one in the specific implementation, referring to Fig. 3, the step S102 includes:
Step S1021:Judge whether the slip touch points and the coordinate difference for starting touch points in x directions are more than It is described to slide touch points and the coordinate difference for starting touch points in y directions.
Step S1022:Such as larger than, then confirm that the moving direction of the user gesture operation is horizontal for the page laterally, is enabled to generate To rolling, the function that system is forbidden longitudinally to roll.
Specifically, if x '>y’>R then shows that the intention that user gesture operation slides laterally becomes apparent from, confirms the use The moving direction of family gesture operation is laterally rolled for the page laterally, is enabled to generate.And in order to avoid operation conflicts, system is forbidden to indulge To the function of rolling.
It is another in the application in the specific implementation, referring to Fig. 4, the step S102 is further included:
Step S1023:Such as less than or it is equal to, then the moving direction for confirming the user gesture operation is longitudinal direction, enables page Face generates longitudinal direction and rolls, the function that system is forbidden laterally to roll.
Specifically, if y '>=x '>R then shows that the intention of user gesture operation longitudinal sliding motion becomes apparent from, described in confirmation The moving direction of user gesture operation is longitudinal direction, and the page is enabled to generate longitudinal direction and is rolled.And in order to avoid operation conflicts, forbid system The function of laterally rolling.
If in the embodiment of the present application in the specific implementation, the sliding distance of the user gesture operation meets touching and continues Condition, the then moving direction operated by the user gesture enable the page generate corresponding rolling, in order to avoid operation conflicts, prohibit The rolling in other directions of locking system.
Through this embodiment, after touching slip event according to triggering according to the embodiment of the present application, judge that user gesture operates Sliding distance whether meet touching continuation condition, so as to accurately to the user gesture operation direction judge, enable page Face carries out and the corresponding rolling in direction of the touching sliding action, forbids the function of other directions of system rolling, can avoid pair The misjudgment of user gesture operation.The application, which can realize, accurately identifies user gesture operation, and carries out correctly operation and ring Should, improve user experience.
The recognition methods of the user gesture operation of the present embodiment can be by any suitable knowledge operated with user gesture The equipment of other ability performs, including but not limited to:Various terminal equipment or server, including but not limited to PC machine, tablet electricity Brain, mobile terminal etc..
Embodiment three
According to a kind of user gesture of the embodiment of the present application three operate recognition methods the step of include step S101 and Step S102.
In the application one in the specific implementation, referring to Fig. 5, the method includes:
Step S103:If cancellation event is slided in user gesture operation triggering, then restore the rolling of other directions of the page Dynamic function.
Specifically, if x '>y’>R then shows that the intention that user gesture operation slides laterally becomes apparent from, confirms the use The moving direction of family gesture operation is laterally rolled for the page laterally, is enabled to generate.And in order to avoid operation conflicts, system is forbidden to indulge To the function of rolling.
When the user gesture frames out, and slides cancellation event (touch_cancel or touch_end), restore The function that system slides up and down, so that follow-up system logic is normal.
Specifically, if y '>=x '>R then shows that the intention of user gesture operation longitudinal sliding motion becomes apparent from, described in confirmation The moving direction of user gesture operation is longitudinal direction, and the page is enabled to generate longitudinal direction and is rolled.And in order to avoid operation conflicts, forbid system The function of laterally rolling.
When the user gesture frames out, and slides cancellation event (touch_cancel or touch_end), restore The function that system slides up and down, so that follow-up system logic is normal.
If in the embodiment of the present application in the specific implementation, the sliding distance of the user gesture operation meets touching and continues Condition, the then moving direction operated by the user gesture enable the page generate corresponding rolling, in order to avoid operation conflicts, prohibit The rolling in other directions of locking system.And after cancellation event is slided in the user gesture operation triggering, other directions of recovery system It rolls, so that subsequent logic is normal.
Through this embodiment, after touching slip event according to triggering according to the embodiment of the present application, judge that user gesture operates Sliding distance whether meet touching continuation condition, so as to accurately to the user gesture operation direction judge, enable page Face carries out and the corresponding rolling in direction of the touching sliding action, forbids the function of other directions of system rolling, can avoid pair The misjudgment of user gesture operation.The application, which can realize, accurately identifies user gesture operation, and carries out correctly operation and ring Should, improve user experience.
The recognition methods of the user gesture operation of the present embodiment can be by any suitable knowledge operated with user gesture The equipment of other ability performs, including but not limited to:Various terminal equipment or server, including but not limited to PC machine, tablet electricity Brain, mobile terminal etc..
Example IV
With reference to Fig. 6, the structural frames of the identification device operated according to a kind of user gesture of the embodiment of the present application four are shown Figure.
The recognition methods of the user gesture operation of the present embodiment is included with lower module:
Velocity estimated module 601 for such as described user gesture operation triggering touching slip event, judges the user hand Whether the sliding distance of gesture operation meets touching continuation condition.
Operation and control module 602, for such as meeting, then the moving direction operated according to the user gesture enables the page generate Corresponding rolling, and the function that other directions of system is forbidden to roll.
Beginning event (touch_down) is touched in triggering during finger contact screen, and continuous trigger is touched in finger moving process Slip event (touch_move), triggering slip cancellation event (touch_cancel or touch_ when finger frames out end)。
User carries out gesture operation, and the application is judged according to the operation of the user gesture of reception, judges its gesture operation Whether touching slip event (touch_move) can be triggered.If the user gesture operation triggering touching slip event, into One step judges whether the sliding distance of the user gesture operation meets touching continuation condition.So as to be grasped according to the user gesture Whether the sliding distance of work, which meets touching continuation condition, further carries out the user's operation more accurately judging.
In the application one in the specific implementation, referring to Fig. 7, the velocity estimated module 601 includes:
First coordinate unit 6011, for when the user gesture operation triggering touching beginning event obtained, record to be opened The coordinate of beginning touch points;
Second coordinate unit 6012, for when the user gesture operation triggering touching slip event obtained, record to be slided The coordinate of dynamic touch points;
Coordinate calculating unit 6013 slides touch points and the seat for starting touch points in either direction for such as described It marks difference and is more than minimum confidence values, it is determined that the sliding distance meets touching continuation condition.Specifically, the embodiment of the present application connects User gesture operation is received, user's finger is obtained and starts contact screen, triggering touching beginning event (touch_down), record starts The coordinate (x1, y1) of touch points.
Specifically, the embodiment of the present application receives user gesture operation, obtains in user's finger moving process and continuously contacts with screen Slip event (touch_move) is touched in curtain, triggering, records the coordinate (x2, y2) of slip touch points at this time.
Calculate the slip touch points and it is described start coordinate difference of the touch points on x directions and y directions, i.e. x '= X2-x1 and y '=y2-y1.
Specifically, a minimum confidence values r is pre-set, minimum confidence values r is a length value.That is x ' or y ' are more than minimum Confidence values r determines that the sliding distance meets touching continuation condition.If x ' either both less than or equal to r, touch y ' by lasting triggering Slip event (touch_move) is touched, records the coordinate (x3, y3) of slip touch points at this time.Reuse the coordinate of touch points (x3, y3) and start touch points coordinate (x1, y1) carry out the slip touch points and the beginning touch points in x directions and Coordinate difference x ', y ' on y directions are calculated.
It is rolled since Webpage and system framework can be operated according to user gesture, user is for page institute The gesture operation of progress is easily judged by accident, so as to generate the response of mistake.
If in the embodiment of the present application in the specific implementation, the sliding distance of the user gesture operation meets touching and continues Condition, the then moving direction operated by the user gesture enable the page generate corresponding rolling, in order to avoid operation conflicts, prohibit The rolling in other directions of locking system.
Through this embodiment, after touching slip event according to triggering according to the embodiment of the present application, judge that user gesture operates Sliding distance whether meet touching continuation condition, so as to accurately to the user gesture operation direction judge, enable page Face carries out and the corresponding rolling in direction of the touching sliding action, forbids the function of other directions of system rolling, can avoid pair The misjudgment of user gesture operation.The application, which can realize, accurately identifies user gesture operation, and carries out correctly operation and ring Should, improve user experience.
The recognition methods of the user gesture operation of the present embodiment can be by any suitable knowledge operated with user gesture The equipment of other ability performs, including but not limited to:Various terminal equipment or server, including but not limited to PC machine, tablet electricity Brain, mobile terminal etc..
Embodiment five
Velocity estimated module 601, behaviour are included according to the identification device that a kind of user gesture of the embodiment of the present application five operates Make control module 602.
In the application one in the specific implementation, referring to Fig. 8, the operation and control module 602 includes:
Walking direction unit 6021, for judging the slip touch points and the coordinate for starting touch points in x directions Whether difference is more than the slip touch points and the coordinate difference for starting touch points in y directions.
First forbids unit 6022, for such as larger than, then confirming the moving direction of the user gesture operation laterally, to enable The page, which generates, laterally to be rolled, the function that system is forbidden longitudinally to roll.
Specifically, if x '>y’>R then shows that the intention that user gesture operation slides laterally becomes apparent from, confirms the use The moving direction of family gesture operation is laterally rolled for the page laterally, is enabled to generate.And in order to avoid operation conflicts, system is forbidden to indulge To the function of rolling.
It is another in the application in the specific implementation, referring to Fig. 9, the operation and control module 602 further includes:
Second forbids unit 6023, for such as less than or being equal to, then confirms the moving direction of the user gesture operation For longitudinal direction, the page is enabled to generate longitudinal direction and is rolled, the function that the page is forbidden laterally to roll.
Specifically, if y '>=x '>R then shows that the intention of user gesture operation longitudinal sliding motion becomes apparent from, described in confirmation The moving direction of user gesture operation is longitudinal direction, and the page is enabled to generate longitudinal direction and is rolled.And in order to avoid operation conflicts, forbid system The function of laterally rolling.
If in the embodiment of the present application in the specific implementation, the sliding distance of the user gesture operation meets touching and continues Condition, the then moving direction operated by the user gesture enable the page generate corresponding rolling, in order to avoid operation conflicts, prohibit The rolling in other directions of locking system.
Through this embodiment, after touching slip event according to triggering according to the embodiment of the present application, judge that user gesture operates Sliding distance whether meet touching continuation condition, so as to accurately to the user gesture operation direction judge, enable page Face carries out and the corresponding rolling in direction of the touching sliding action, forbids the function of other directions of system rolling, can avoid pair The misjudgment of user gesture operation.The application, which can realize, accurately identifies user gesture operation, and carries out correctly operation and ring Should, improve user experience.
The recognition methods of the user gesture operation of the present embodiment can be by any suitable knowledge operated with user gesture The equipment of other ability performs, including but not limited to:Various terminal equipment or server, including but not limited to PC machine, tablet electricity Brain, mobile terminal etc..
Embodiment six
Velocity estimated module 601, behaviour are included according to the identification device that a kind of user gesture of the embodiment of the present application six operates Make control module 602.
In the application one in the specific implementation, referring to Figure 10, described device further includes:
Recovery module 603 is rolled, cancellation event is slided for such as described user gesture operation triggering, then restores the page The function that other directions roll.
Specifically, if x '>y’>R then shows that the intention that user gesture operation slides laterally becomes apparent from, confirms the use The moving direction of family gesture operation is laterally rolled for the page laterally, is enabled to generate.And in order to avoid operation conflicts, system is forbidden to indulge To the function of rolling.
When the user gesture frames out, and slides cancellation event (touch_cancel or touch_end), restore The function that system slides up and down, so that follow-up system logic is normal.
Specifically, if y '>=x '>R then shows that the intention of user gesture operation longitudinal sliding motion becomes apparent from, described in confirmation The moving direction of user gesture operation is longitudinal direction, and the page is enabled to generate longitudinal direction and is rolled.And in order to avoid operation conflicts, forbid system The function of laterally rolling.
When the user gesture frames out, and slides cancellation event (touch_cancel or touch_end), restore The function that system slides up and down, so that follow-up system logic is normal.
If in the embodiment of the present application in the specific implementation, the sliding distance of the user gesture operation meets touching and continues Condition, the then moving direction operated by the user gesture enable the page generate corresponding rolling, in order to avoid operation conflicts, prohibit The rolling in other directions of locking system.And after cancellation event is slided in the user gesture operation triggering, other directions of recovery system It rolls, so that subsequent logic is normal.
Through this embodiment, after touching slip event according to triggering according to the embodiment of the present application, judge that user gesture operates Sliding distance whether meet touching continuation condition, so as to accurately to the user gesture operation direction judge, enable page Face carries out and the corresponding rolling in direction of the touching sliding action, forbids the function of other directions of system rolling, can avoid pair The misjudgment of user gesture operation.The application, which can realize, accurately identifies user gesture operation, and carries out correctly operation and ring Should, improve user experience.
The recognition methods of the user gesture operation of the present embodiment can be by any suitable knowledge operated with user gesture The equipment of other ability performs, including but not limited to:Various terminal equipment or server, including but not limited to PC machine, tablet electricity Brain, mobile terminal etc..
Embodiment seven
With reference to Figure 11, a kind of structure diagram of terminal device according to the embodiment of the present application seven is shown, the application is specific Embodiment does not limit the specific implementation of terminal device.
As shown in figure 11, which can include:Processor (processor) 1102, communication interface (Communications Interface) 1104, memory (memory) 1106 and communication bus 1108.
Wherein:
Processor 1102, communication interface 1104 and memory 1106 complete mutual lead to by communication bus 1108 Letter.
Communication interface 1104, the network element for terminals such as other with miscellaneous equipment or server etc. communicate.
Processor 1102, for performing program 1110, the recognition methods that can specifically perform above-mentioned user gesture operation is real Apply the correlation step in example.
Specifically, program 1110 can include program code, which includes computer-managed instruction.
Processor 1102 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit) or be arranged to implement the embodiment of the present application one or more integrate electricity Road.The one or more processors that terminal device includes can be same type of processor, such as one or more CPU;Also may be used To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 1106, for storing program 1110.Memory 1106 may include high-speed RAM memory, it is also possible to also Including nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 1110 specifically can be used for so that processor 1102 performs following operation:Such as user gesture operation triggering Slip event is touched, judges whether the sliding distance of the user gesture operation meets touching continuation condition;As met, then basis The moving direction of the user gesture operation enables the page generate corresponding rolling, and the function that other directions of system is forbidden to roll.
In a kind of optional embodiment, program 1110 is additionally operable to when the user gesture operation triggering touching obtained Beginning event, record start the coordinate of touch points;When the user gesture operation triggering touching slip event of acquisition, record is slided The coordinate of dynamic touch points;If the slip touch points and the coordinate difference of the touch points in either direction that start are more than minimum Confidence values, it is determined that the sliding distance meets touching continuation condition.
In a kind of optional embodiment, program 1110 is additionally operable to judge the slip touch points and described starts to touch Whether coordinate difference of the point in x directions is more than the slip touch points and the coordinate difference for starting touch points in y directions;Such as It is more than, then confirms that the moving direction of the user gesture operation is laterally rolled for the page laterally, is enabled to generate, system is forbidden longitudinally to roll Dynamic function.
In a kind of optional embodiment, program 1110 is additionally operable to such as less than or is equal to, then confirms the user hand The moving direction of gesture operation is longitudinal direction, and the page is enabled to generate longitudinal direction and is rolled, the function that the page is forbidden laterally to roll.
In a kind of optional embodiment, program 1110 is additionally operable to cancel thing as the user gesture operates triggering and slides Part then restores the function of other directions of page rolling.
Through this embodiment, after touching slip event according to triggering according to the embodiment of the present application, judge that user gesture operates Sliding distance whether meet touching continuation condition, so as to accurately to the user gesture operation direction judge, enable page Face carries out and the corresponding rolling in direction of the touching sliding action, forbids the function of other directions of system rolling, can avoid pair The misjudgment of user gesture operation.The application, which can realize, accurately identifies user gesture operation, and carries out correctly operation and ring Should, improve user experience.
It may be noted that according to the needs of implementation, all parts/step described in the embodiment of the present application can be split as more The part operation of two or more components/steps or components/steps can be also combined into new component/step by multi-part/step Suddenly, to realize the purpose of the embodiment of the present application.
The above-mentioned method according to the embodiment of the present application can be realized or be implemented as in hardware, firmware to be storable in note Software or computer code in recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk) are implemented through net The original storage that network is downloaded is in long-range recording medium or nonvolatile machine readable media and will be stored in local recording medium In computer code, can be stored in using all-purpose computer, application specific processor or can compile so as to method described here Such software processing in journey or the recording medium of specialized hardware (such as ASIC or FPGA).It is appreciated that computer, processing Device, microprocessor controller or programmable hardware include can storing or receive software or computer code storage assembly (for example, RAM, ROM, flash memory etc.), when the software or computer code are by computer, processor or hardware access and when performing, realize The recognition methods of user gesture operation described here.In addition, when all-purpose computer access is used to implement the user being shown here During the code of the recognition methods of gesture operation, the execution of code is converted to all-purpose computer to perform the user being shown here The special purpose computer of the recognition methods of gesture operation.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein Member and method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The range of the embodiment of the present application.
Embodiment of above is merely to illustrate the embodiment of the present application, and is not the limitation to the embodiment of the present application, related skill The those of ordinary skill in art field in the case where not departing from the spirit and scope of the embodiment of the present application, can also make various Variation and modification, therefore all equivalent technical solutions also belong to the scope of the embodiment of the present application, the patent of the embodiment of the present application Protection domain should be defined by the claims.

Claims (11)

1. a kind of recognition methods of user gesture operation, which is characterized in that the method includes:
Such as user gesture operation triggering touching slip event, judge whether the sliding distance of the user gesture operation meets Touch continuation condition;
As met, then the moving direction operated according to the user gesture enables the page generate corresponding rolling, and forbid system its The function that his direction rolls.
It is 2. according to the method described in claim 1, it is characterized in that, described as thing is slided in user gesture operation triggering touching Part, judges whether the sliding distance of the user gesture operation meets touching continuation condition and include:
When the user gesture operation triggering touching beginning event of acquisition, record starts the coordinate of touch points;
When the user gesture operation triggering touching slip event of acquisition, record slides the coordinate of touch points;
If the slip touch points and the coordinate difference for starting touch points in either direction are more than minimum confidence values, then really The fixed sliding distance meets touching continuation condition.
3. according to the method described in claim 2, it is characterized in that, described such as meet, then according to user gesture operation Moving direction enables the page generate corresponding rolling, and the function that other directions of system is forbidden to roll includes:
Judge whether the slip touch points and the coordinate difference for starting touch points in x directions are more than the slip touch points With coordinate difference of the beginning touch points in y directions;
Such as larger than, then confirm that the moving direction of the user gesture operation is laterally rolled for the page laterally, is enabled to generate, forbid system The function of longitudinally rolling.
4. according to the method described in claim 3, it is characterized in that, described such as trigger, then according to the touching slip event Moving direction enables the page generate corresponding rolling, and the function that other directions of system is forbidden to roll includes:
Such as less than or being equal to, then the moving direction for confirming the user gesture operation is longitudinal direction, and the page is enabled to generate longitudinal direction and is rolled, The function that the page is forbidden laterally to roll.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
If cancellation event is slided in user gesture operation triggering, then restore the function of other directions of page rolling.
6. a kind of identification device of user gesture operation, which is characterized in that described device includes:
Velocity estimated module for such as described user gesture operation triggering touching slip event, judges the user gesture operation Sliding distance whether meet touching continuation condition;
Operation and control module, for such as meeting, then the moving direction operated according to the user gesture enables page generation corresponding It rolls, and the function that other directions of system is forbidden to roll.
7. device according to claim 6, which is characterized in that the velocity estimated module includes:
First coordinate unit, for when the user gesture operation triggering touching beginning event obtained, record to start touch points Coordinate;
Second coordinate unit, for when the user gesture operation triggering touching slip event obtained, record to slide touch points Coordinate;
Coordinate calculating unit is big for such as described coordinate difference for sliding touch points and the beginning touch points in either direction In minimum confidence values, it is determined that the sliding distance meets touching continuation condition.
8. device according to claim 7, which is characterized in that the operation and control module includes:
Walking direction unit, for judge it is described slip touch points and it is described start touch points x directions coordinate difference whether More than the slip touch points and the coordinate difference for starting touch points in y directions;
First forbids unit, for such as larger than, then confirming the moving direction of the user gesture operation laterally, the page to be enabled to generate It laterally rolls, the function that system is forbidden longitudinally to roll.
9. device according to claim 8, which is characterized in that it is described as triggered, then according to the touching slip event Moving direction enables the page generate corresponding rolling, and the function that other directions of system is forbidden to roll includes:
Second forbids unit, and for such as less than or being equal to, then the moving direction for confirming the user gesture operation is longitudinal direction, is enabled The page generates longitudinal direction and rolls, the function that the page is forbidden laterally to roll.
10. device according to claim 6, which is characterized in that described device further includes:
Recovery module is rolled, for such as user gesture operation triggering slip cancellation event, then restores the page its other party To the function of rolling.
11. a kind of terminal device, including:Processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;The memory can be held for storing at least one Row instruction, the executable instruction make the processor perform such as the corresponding operations of any one of claim 1-5.
CN201711396384.3A 2017-12-21 2017-12-21 A kind of recognition methods, device and the terminal device of user gesture operation Pending CN108132753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711396384.3A CN108132753A (en) 2017-12-21 2017-12-21 A kind of recognition methods, device and the terminal device of user gesture operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711396384.3A CN108132753A (en) 2017-12-21 2017-12-21 A kind of recognition methods, device and the terminal device of user gesture operation

Publications (1)

Publication Number Publication Date
CN108132753A true CN108132753A (en) 2018-06-08

Family

ID=62391272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711396384.3A Pending CN108132753A (en) 2017-12-21 2017-12-21 A kind of recognition methods, device and the terminal device of user gesture operation

Country Status (1)

Country Link
CN (1) CN108132753A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110554832A (en) * 2019-09-10 2019-12-10 首约科技(北京)有限公司 user interface interaction method for preventing App from being operated mistakenly
CN110633380A (en) * 2019-09-05 2019-12-31 北京无限光场科技有限公司 Control method and device for picture processing interface, electronic equipment and readable medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103076958A (en) * 2011-10-26 2013-05-01 索尼电脑娱乐公司 Scroll control device, terminal device, and scroll control method
CN103631408A (en) * 2012-08-21 2014-03-12 腾讯科技(深圳)有限公司 Method and device for processing touch instruction
CN104375708A (en) * 2014-12-02 2015-02-25 厦门飞游信息科技有限公司 Touch input event processing method and device
CN104679428A (en) * 2015-02-06 2015-06-03 成都品果科技有限公司 Method for judging photograph rotation direction according to single finger gestures
CN106168864A (en) * 2015-05-18 2016-11-30 佳能株式会社 Display control unit and display control method
CN106527955A (en) * 2016-12-21 2017-03-22 深圳Tcl新技术有限公司 Method and device for controlling slide of page
CN107368249A (en) * 2017-06-21 2017-11-21 维沃移动通信有限公司 A kind of touch control operation recognition methods, device and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103076958A (en) * 2011-10-26 2013-05-01 索尼电脑娱乐公司 Scroll control device, terminal device, and scroll control method
CN103631408A (en) * 2012-08-21 2014-03-12 腾讯科技(深圳)有限公司 Method and device for processing touch instruction
CN104375708A (en) * 2014-12-02 2015-02-25 厦门飞游信息科技有限公司 Touch input event processing method and device
CN104679428A (en) * 2015-02-06 2015-06-03 成都品果科技有限公司 Method for judging photograph rotation direction according to single finger gestures
CN106168864A (en) * 2015-05-18 2016-11-30 佳能株式会社 Display control unit and display control method
CN106527955A (en) * 2016-12-21 2017-03-22 深圳Tcl新技术有限公司 Method and device for controlling slide of page
CN107368249A (en) * 2017-06-21 2017-11-21 维沃移动通信有限公司 A kind of touch control operation recognition methods, device and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110633380A (en) * 2019-09-05 2019-12-31 北京无限光场科技有限公司 Control method and device for picture processing interface, electronic equipment and readable medium
CN110633380B (en) * 2019-09-05 2022-05-17 北京无限光场科技有限公司 Control method and device for picture processing interface, electronic equipment and readable medium
CN110554832A (en) * 2019-09-10 2019-12-10 首约科技(北京)有限公司 user interface interaction method for preventing App from being operated mistakenly

Similar Documents

Publication Publication Date Title
EP2738655A1 (en) Method and device of unlock screen saver
JP6105818B2 (en) Apparatus, method, and mobile terminal for adaptively adjusting layout of touch input panel
CN107944237A (en) Unlocked by fingerprint method and Related product
CN104660555B (en) A kind of confirmation processing method, relevant apparatus and system
CN108280676A (en) A kind of method, apparatus and terminal device carrying out advertising display based on sliding window
CN108132753A (en) A kind of recognition methods, device and the terminal device of user gesture operation
CN106681616A (en) Browser function bar display method, browser function bar display device and processing equipment
CN108965575A (en) A kind of gesture motion recognition methods, device and terminal device
CN105446597B (en) The methods of exhibiting of the function introduction information of application program shows device and terminal
CN105468960B (en) method and device for displaying password plaintext, mobile equipment and computer
CN106020642A (en) Method for starting association application and terminal
WO2021044680A1 (en) Layout design device, layout design method, and program
CN108052269A (en) Unlocking screen optimization method, terminal device and computer-readable medium
CN108073347A (en) Processing method, computing device and the computer storage media of multi-point touch
CN104951135B (en) A kind of information processing unit and method
CN104636041B (en) A kind of multifile fast selecting method and system based on touch screen
CN106776749A (en) Modes to open a file method to set up and system
CN107256124B (en) Electronic whiteboard touch control method and device
CN105446576B (en) Information processing method and electronic equipment
CN106897012A (en) User instruction is recognized and processing method, device
CN104808910A (en) Lock screen interface control method
CN104615921A (en) Terminal
CN114265509A (en) Input mode identification method, related equipment and readable storage medium
CN104615925B (en) The screen fixing method and device of mobile terminal
CN106843718A (en) A kind of intelligence removes the method and device of the prompting mark of people of unread information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200605

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 13 layer self unit 03

Applicant before: GUANGZHOU ALIBABA LITERATURE INFORMATION TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180608