CN104714675B - A kind of gesture identification method and device - Google Patents

A kind of gesture identification method and device Download PDF

Info

Publication number
CN104714675B
CN104714675B CN201310684417.XA CN201310684417A CN104714675B CN 104714675 B CN104714675 B CN 104714675B CN 201310684417 A CN201310684417 A CN 201310684417A CN 104714675 B CN104714675 B CN 104714675B
Authority
CN
China
Prior art keywords
gesture
threshold value
displacement
preset
touch
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
CN201310684417.XA
Other languages
Chinese (zh)
Other versions
CN104714675A (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Dongguan 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 Huawei Device Dongguan Co Ltd filed Critical Huawei Device Dongguan Co Ltd
Priority to CN201310684417.XA priority Critical patent/CN104714675B/en
Priority to PCT/CN2014/092593 priority patent/WO2015085874A1/en
Publication of CN104714675A publication Critical patent/CN104714675A/en
Application granted granted Critical
Publication of CN104714675B publication Critical patent/CN104714675B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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 invention discloses a kind of gesture identification method and device.Wherein, the gesture identification method includes:Receive the gesture that user is inputted by touch-screen;The gesture is divided into multiple sampled points, obtains the contact area of each sampled point and the touch-screen;By the mean exposure area of the multiple sampled point compared with preset contact area threshold value, and the contact area data of the multiple sampled point carry out curve fitting, it is adjusted according to the initial displacement threshold value that comparative result and fitting result are preset to identification gesture;According to the displacement threshold value after adjustment, the gesture of the user is identified.By the embodiment of the present invention, the accuracy that touch-screen identifies to user gesture can be improved.

Description

A kind of gesture identification method and device
Technical field
The present invention relates to touch screen technology field, more particularly to a kind of gesture identification method and device.
Background technology
At present, most intelligent terminal(Including:Smart mobile phone, tablet personal computer etc.)All be by user on the touchscreen Operation carries out information exchange.In order to improve the accuracy of touch screen operation, user to the performance requirement of touch operation also increasingly Height, user wish that the process that gesture is slided during touch operation is more better with hand, and it is more accurate better that gesture clicks on icon.
In the prior art, touch-screen generally comes in the gesture of identification response user according to the distance threshold pre-set Determine that user carries out on the touchscreen is how to operate.Specifically, X and the threshold values of Y-direction, the threshold value of X-direction are set in advance in For X0, the threshold value of Y-direction is Y0, as shown in figure 1, when user finger on the touchscreen in X-direction caused displacement X1 and Caused displacement Y1 meets following condition in the Y direction:X1<X0 and Y1<Y0, then the current operation of user is identified as clicking on Operation, and then, respond the clicking operation of the user;Work as X1>X0 or Y1>During Y0, then the current operation of user is identified as sliding Dynamic operation, and then, respond the slide of the user.
In the prior art, the preset X0 and Y0 threshold values of distance that touch-screen is set during the gesture of identification response user is equal It is fixed value.In the different scenes of practical application, threshold X 0 and Y0 are likely to the defects of appearance sets too small or be excessive.Example Such as:If threshold X 0 and Y0 settings are smaller, when user is in point touching screen, finger contact area is larger(Such as thumb point Hit), easily on the touchscreen produce a larger displacement, now, will cause touch-screen by the clicking operation of user mistakenly Slide is identified as, cannot respond to the clicking operation of user;And if threshold values X0 and Y0 set it is excessive, user slide when It will can be deteriorated with chiral, since it is desired that when user's finger manufactures bigger displacement on the touchscreen, touch-screen could be by user Current gesture identification be slide, Consumer's Experience is poor.
It can be seen that in the prior art, identification of the touch-screen to user gesture generally has the defects of accuracy is poor, it would be highly desirable to skill Art personnel solve.
The content of the invention
A kind of gesture identification method and device are provided in the embodiment of the present invention, user gesture is identified with improving touch-screen Accuracy.
In order to solve the above-mentioned technical problem, the embodiment of the invention discloses following technical scheme:
First aspect, there is provided a kind of gesture identification method, including:
Receive the gesture that user is inputted by touch-screen;
The gesture is divided into multiple sampled points, obtains the contact area of each sampled point and the touch-screen;
By the mean exposure area of the multiple sampled point compared with preset contact area threshold value, and will be the multiple The contact area data of sampled point carry out curve fitting, according to comparative result and fitting result it is preset to identification gesture just Beginning displacement threshold value is adjusted;
According to the displacement threshold value after adjustment, the gesture of the user is identified.
With reference to above-mentioned in a first aspect, in the first possible implementation, being averaged the multiple sampled point Contact area is compared with preset contact area threshold value, according to the comparative result initial displacement threshold value preset to identification gesture It is adjusted, including:When the mean exposure area of the multiple sampled point is less than preset contact area threshold value, and the multiple adopt The contact area data of sampling point are fitted to form of straight lines, then reduce the initial displacement threshold value.
With reference to above-mentioned in a first aspect, in second of possible implementation, being averaged the multiple sampled point Contact area is carried out compared with preset contact area threshold value according to the position threshold that comparative result is preset to identification gesture Adjustment, including:When the mean exposure area of the multiple sampled point is higher than preset contact area threshold value, and the multiple sampled point Contact area data be fitted to conic section form, then increase the initial displacement threshold value.
With reference to one side face, and the first possible implementation, in the third possible implementation, described According to the displacement threshold value after adjustment, the gesture of the user is identified, including:
When the gesture is preset less than the displacement after reducing in caused displacement on the touch-screen, the gesture is known Wei not clicking operation;
When the gesture is preset higher than the displacement after reducing in caused displacement on the touch-screen, the gesture is known Wei not slide.
With reference to one side face, and second of possible implementation, in the 4th kind of possible implementation, described According to the displacement threshold value after adjustment, the gesture of the user is identified, including:
When the gesture is preset less than the displacement after increase in caused displacement on the touch-screen, the gesture is known Wei not clicking operation;
When the gesture is preset higher than the displacement after increase in caused displacement on the touch-screen, the gesture is known Wei not slide.
Second aspect, there is provided a kind of gesture identifying device, including:
Gesture receiving module, the gesture inputted for receiving user by touch-screen;
Contact area acquisition module, for the gesture to be divided into multiple sampled points, obtain each sampled point with it is described The contact area of touch-screen;
Adjusting module is fitted, for the mean exposure area of the multiple sampled point and preset contact area threshold value to be carried out Compare, and the contact area data of the multiple sampled point are carried out curve fitting, according to comparative result and fitting result pair The preset initial displacement threshold value of identification gesture is adjusted;
Identification module, for according to the displacement threshold value after adjustment, the gesture of the user to be identified.
With reference to above-mentioned second aspect, in the first possible implementation, the fitting adjusting module, including:
First fitting unit, for providing the first fitting result;
First adjustment unit, for receiving first fitting result, when first fitting result is:It is the multiple to adopt The mean exposure area of sampling point is less than preset contact area threshold value, and the contact area data of the multiple sampled point are fitted to directly During line form, reduce the initial displacement threshold value.
With reference to above-mentioned second aspect, in second of possible implementation, the fitting adjusting module, including:
Second fitting unit, for providing the second fitting result;
Second adjustment unit, for receiving second fitting result, when second fitting result is:It is the multiple to adopt The mean exposure area of sampling point is higher than preset contact area threshold value, and the contact area data of the multiple sampled point are fitted to two During secondary curve form, increase the initial displacement threshold value.
With reference to above-mentioned second aspect, and the first possible implementation, it is described in the third possible implementation Identification module, including:
First recognition unit, it is pre- for the displacement when the gesture after caused displacement on the touch-screen is less than reduction It is clicking operation by the gesture identification when putting;
Second recognition unit, it is pre- for the displacement when the gesture after caused displacement on the touch-screen is higher than reduction It is slide by the gesture identification when putting.
It is described in the 4th kind of possible implementation with reference to above-mentioned second aspect, and second of possible implementation Identification module, including:
3rd recognition unit, it is pre- for the displacement when the gesture after caused displacement on the touch-screen is less than increase It is clicking operation by the gesture identification when putting;
4th recognition unit, it is pre- for the displacement when the gesture after caused displacement on the touch-screen is higher than increase It is slide by the gesture identification when putting.
In the embodiment of the present invention, the contact area threshold value of preset finger and touch screen, when touch-screen receives user's input Gesture after, the gesture is divided into multiple sampled points, obtains the contact area of each sampled point and the touch-screen, by institute The mean exposure area of multiple sampled points is stated compared with preset contact area threshold value, and by the contact of the multiple sampled point Area data carries out curve fitting, to obtain the variation tendency that finger contacts with touch-screen, according to the variation tendency, to identifying hand The preset displacement threshold value of gesture adjusts accordingly, and the problem of to prevent to user gesture wrong identification, improves touch-screen To the accuracy of user gesture identification.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram for identifying user gesture in the prior art;
Fig. 2 is the schematic flow sheet of gesture identification method in the embodiment of the present invention;
Fig. 3 is that the mean exposure area of the first sampled point in the embodiment of the present invention is fitted form schematic diagram;
Fig. 4 is that the mean exposure area of second of sampled point in the embodiment of the present invention is fitted form schematic diagram;
Fig. 5 is a kind of gesture identifying device schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of gesture identification dress that user gesture identification is realized based on computer system provided in an embodiment of the present invention Put schematic diagram.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present invention, and make of the invention real Apply the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention Case is described in further detail.
First, a kind of gesture identification method provided by the invention is introduced.
Referring to Fig. 2, for the flow of a gesture identification method embodiment provided by the invention, handling process can specifically wrap Include:
Step 201, receive the gesture that user is inputted by touch-screen;
In the step, when user contacts touch-screen by finger to be operated, touch-screen receives the hand of user's input Gesture, start that the gesture is identified.
Step 202, the gesture is divided into multiple sampled points, obtains the contact surface of each sampled point and the touch-screen Product.
In the embodiment of the present invention, not only according to finger, whether caused displacement reaches identification gesture institute on the touchscreen Preset initial displacement threshold value, carry out gesture identification.In particular it is required that position is produced on the touchscreen further combined with user's finger During shifting, the variation tendency of contact action, user gesture is identified when finger contacts with touch-screen.
Thus, the variation tendency of contact action when finger contacts with touch-screen need to such as be obtained, it is necessary first to divide gesture For multiple sampled points, and further obtain the contact area of each sampled point and the touch-screen.
Step 203, by the mean exposure area of the multiple sampled point compared with preset contact area threshold value, and will The contact area data of the multiple sampled point carry out curve fitting, according to comparative result and fitting result to identification gesture institute Preset initial displacement threshold value is adjusted.
In the embodiment, the contact area threshold value of preset finger and touch screen, connecing for multiple sampled points and touch-screen is calculated The average value of contacting surface product, and by the average value compared with preset contact area threshold value, to determine whether the average value is higher than Or less than the preset contact area threshold value.Then, the contact area data of multiple sampled points are carried out curve fitting, to obtain hand Refer to the variation tendency contacted with touch-screen.Finally, it is preset to identification gesture according to foregoing comparative result and fitting result Initial displacement threshold value is adjusted.
The initial displacement threshold value is used to primarily determine that the gesture operation of user to be clicking operation or slide.The present invention In embodiment, in specific identification process, can according to aforesaid plurality of sampled point and the average value of the contact area of touch-screen with The comparative result of preset contact area threshold value, and curve-fitting results carry out the corresponding adjustment of initial displacement threshold value.
During specific implementation, the setting of initial displacement threshold value is empirical value, can have difference according to certain amount Age, height, the crowd of finger size and operating habit are determined.When the finger displacement of user exceedes the displacement threshold value, The operation that active user can be primarily determined that is slip;, can be tentatively true when the finger displacement of user is less than the displacement threshold value The operation for determining active user is click.
For contact area threshold value, can be set and various integrated chips pair according to the processing attribute of different integrated chips The contact area threshold value answered.
Step 204, according to the displacement threshold value after adjustment, the gesture of the user is identified.
In the embodiment of the present invention, the contact area threshold value of preset finger and touch screen, when touch-screen receives user's input Gesture after, the gesture is divided into multiple sampled points, obtains the contact area of each sampled point and the touch-screen, by institute The mean exposure area of multiple sampled points is stated compared with preset contact area threshold value, and by the contact of the multiple sampled point Area data carries out curve fitting, to obtain the variation tendency that finger contacts with touch-screen, according to the variation tendency, to identifying hand The preset initial displacement threshold value of gesture adjusts accordingly, and the problem of to prevent to user gesture wrong identification, improves and touches Touch accuracy of the screen to user gesture identification.
In the embodiment of the present invention, the mean exposure area of the multiple sampled point and preset contact area threshold value are compared Compared with according to comparative result to identifying that the preset initial displacement threshold value of gesture is adjusted, mainly including following form:
(1)When the mean exposure area of the multiple sampled point is less than preset contact area threshold value, and the multiple sampling The contact area data of point are fitted to form of straight lines, then reduce the initial displacement threshold value.
In this kind of scheme, when the mean exposure area of multiple sampled points is less than preset contact area threshold value, then it can determine that The touch area of user's finger and touch-screen is smaller, such as:According to the use habit of most of users, gesture is carried out using forefinger Operation.Further, the contact area data of multiple sampled points are fitted, when fitting result is form of straight lines, then it represents that User's finger uniform force application on the touchscreen, is easier to that the gesture is identified.It is thereby possible to reduce the initial bit of initial preset Move threshold value so that quickly identify active user's gesture, improve identification sensitivity.
After preset initial displacement threshold value is reduced, you can active user's gesture is identified, specifically included:
(a)When the gesture is preset less than the displacement after reducing in caused displacement on the touch-screen, by the hand Gesture is identified as clicking operation;
(b)When the gesture is preset higher than the displacement after reducing in caused displacement on the touch-screen, by the hand Gesture is identified as slide.
(2)When the mean exposure area of the multiple sampled point is higher than preset contact area threshold value, and the multiple sampling The contact area data of point are fitted to conic section form, then increase the initial displacement threshold value.
In this kind of scheme, when the mean exposure area of multiple sampled points is higher than preset contact area threshold value, then it can determine that The touch area of user's finger and touch-screen is larger, such as:The thumb being of little use using most of users carries out gesture operation.Enter One step, the contact area data of multiple sampled points are fitted, when fitting result is conic section form, then it represents that user Finger exerts a force and uneven on the touchscreen, than less easily the gesture is identified.Therefore, initial preset can be increased Initial displacement threshold value so that the identification more accurate and effective to active user's gesture.
After preset initial displacement threshold value is increased, you can active user's gesture is identified, specifically included:
(c)When the gesture is preset less than the displacement after increase in caused displacement on the touch-screen, by the hand Gesture is identified as clicking operation;
(d)When the gesture is preset higher than the displacement after increase in caused displacement on the touch-screen, by the hand Gesture is identified as slide.
For the ease of the understanding to technical solution of the present invention, above-mentioned technical proposal is carried out below by specific implementation Detailed description.
Assuming that the initial displacement threshold values that touch-screen is set is 16 pixels(pixel).
When user is clicked on or during slide on the touchscreen every time, touch-screen can all report a series of gesture Sampled point, it is as follows:Down (0), Move (1), Move (2) ... Move (N-1), Move (N) and Up (N+1).Wherein, Down (0) it is used for the starting point for representing user's finger contacts touch-screen, Up (N+1) is used to represent that user's finger finally contacts touch-screen Terminating point, Move (1)~Move (N) are used to represent N number of sampled point during user's click or slide.Specifically, N Value depend on touch-screen report dot frequency, frequency is higher, and N is smaller, and frequency is lower, and N is bigger, to report dot frequency as 120MHz Exemplified by, N value is 5 or 6.
Judge whether pair with preset displacement is preset be adjusted when, it is necessary to reference to Down (0) and click on or sliding N number of sampled point in dynamic operating process is judged.
Specifically, N number of sampled point corresponding contact respectively during Down (0) and click or slide is obtained Area figures, calculate the average value of contact area numerical value corresponding to these sampled points, and by the average value and preset contact area Threshold value is compared.Each touch-screen producer may be different to the value of preset contact area threshold definitions, below with preset contact Area threshold illustrates for 100.
If mean exposure area is less than 100, and the curve approximation of these sampled points fitting is in linear function form, example Such as:Form of straight lines y=k, as shown in Figure 3.Then this kind of situation shows, the contact area of active user's finger and touch-screen is smaller, by This, current setting is used to determine that user to be click on operating or the displacement threshold value of slide is for the user, numerical value It is bigger than normal.Therefore, it is necessary to which the displacement threshold value is reduced.
If mean exposure area is more than 100, and the curve approximation of these sampled points fitting is in quadratic function form, example Such as:Parabolic, as shown in Figure 4.Then this kind of situation shows, the contact area of active user's finger and touch-screen is larger, by This, current setting is used to determine that user to be click on operating or the displacement threshold value of slide is for the user, numerical value It is less than normal.Therefore, it is necessary to which the displacement threshold value is increased.
During specific implementation, amplitude that displacement threshold value is specifically decreased or increased is empirical value.
The determination method for the amplitude that displacement threshold value is specifically decreased or increased is exemplified below.Such as:Utilize a touch Screen dimensions are the mobile phone of 4.5 inch(Resolution ratio 960*540, picture element density 1.5), allow what different crowds was clicked on and slided Operation, the displacement that finger in click and slide occurs on the touchscreen count, when statistical result is found:For with Finger and touch-screen contact area less crowd when forefinger is clicked on or slided, finger displacement generally in 6pixel or so, The finger displacement is generally less than initial displacement threshold value, and during slide, finger displacement is more than 6pixel;For with thumb Finger and touch-screen contact area larger crowd when being clicked on or being slided, finger displacement may in 20~24pixel or so, The finger displacement is generally higher than initial displacement threshold value, and during slide, finger displacement is more than 24pixel.Thus, in order to carry The accuracy that high touch-screen identifies to user gesture, the size of user's finger and the contact area of touch-screen can be combined, is adapted to Property adjustment initial setting up displacement threshold value:When finger is smaller with touch-screen contact area in operation, initial displacement threshold value is subtracted Small is 6pixel;When finger is larger with touch-screen contact area in operation, initial displacement threshold value is increased to 24pixel.
Corresponding with gesture identification method embodiment provided by the invention, present invention also offers a kind of gesture identification dress Put.
As shown in figure 5, for a kind of embodiment of gesture identifying device provided by the invention, the device can specifically include:
Gesture receiving module 501, the gesture inputted for receiving user by touch-screen;
Contact area acquisition module 502, for the gesture to be divided into multiple sampled points, obtain each sampled point and institute State the contact area of touch-screen;
Adjusting module 503 is fitted, for by the mean exposure area of the multiple sampled point and preset contact area threshold value It is compared, and the contact area data of the multiple sampled point is carried out curve fitting, is tied according to comparative result and fitting The fruit initial displacement threshold value preset to identification gesture is adjusted;
Identification module 504, for according to the displacement threshold value after adjustment, the gesture of the user to be identified.
It should be noted that in the device embodiment, not only according to finger on the touchscreen caused displacement whether Reach the preset initial displacement threshold value of identification gesture, carry out gesture identification.In particular it is required that exist further combined with user's finger During producing displacement on touch-screen, the variation tendency of contact action when finger contacts with touch-screen, user gesture is carried out Identification.The variation tendency for such as needing to obtain contact action when finger contacts with touch-screen is, it is necessary to by contact area acquisition module 502, gesture is divided into multiple sampled points, and further obtain the contact area of each sampled point and the touch-screen.The dress Put the contact area threshold value of preset finger and touch screen.By being fitted adjusting module 503, multiple sampled points and touch-screen are calculated The average value of contact area, and by the average value compared with preset contact area threshold value, to determine whether the average value is high In or less than the preset contact area threshold value.Then, the contact area data of multiple sampled points are carried out curve fitting, to obtain The variation tendency that finger contacts with touch-screen.Finally, it is preset to identification gesture institute according to foregoing comparative result and fitting result Initial displacement threshold value be adjusted.During specific implementation, the setting of initial displacement threshold value is empirical value, can be according to one The crowd that fixed number measurer has all ages and classes, height, finger size and operating habit is determined., can for contact area threshold value According to the processing attribute of different integrated chips, to set contact area threshold value corresponding with various integrated chips.
In said apparatus embodiment, the contact area threshold value of preset finger and touch screen, when touch-screen, to receive user defeated After the gesture entered, the gesture is divided into multiple sampled points, obtains the contact area of each sampled point and the touch-screen, will The mean exposure area of the multiple sampled point is compared with preset contact area threshold value, and connecing the multiple sampled point Contacting surface volume data carries out curve fitting, to obtain the variation tendency that finger contacts with touch-screen, according to the variation tendency, to identification The preset initial displacement threshold value of gesture adjusts accordingly, and the problem of to prevent to user gesture wrong identification, improves The accuracy that touch-screen identifies to user gesture.
In specific implementation process, the fitting adjusting module, it can specifically include:
First fitting unit, for providing the first fitting result;
First adjustment unit, for receiving first fitting result, when first fitting result is:It is the multiple to adopt The mean exposure area of sampling point is less than preset contact area threshold value, and the contact area data of the multiple sampled point are fitted to directly During line form, reduce the initial displacement threshold value.
In this kind of embodiment, when the mean exposure area of multiple sampled points is less than preset contact area threshold value, then may be used Determine that the touch area of user's finger and touch-screen is smaller, such as:According to the use habit of most of users, carried out using forefinger Gesture operation.Further, the contact area data of multiple sampled points are fitted, when fitting result is form of straight lines, then User's finger uniform force application on the touchscreen is represented, is easier to that the gesture is identified.It is thereby possible to reduce initial preset is first Beginning displacement threshold value so that quickly identify active user's gesture, improve identification sensitivity.
In addition, in the implementation of another fitting adjusting module, the fitting adjusting module can specifically include:
Second fitting unit, for providing the second fitting result;
Second adjustment unit, for receiving second fitting result, when second fitting result is:It is the multiple to adopt The mean exposure area of sampling point is higher than preset contact area threshold value, and the contact area data of the multiple sampled point are fitted to two During secondary curve form, increase the initial displacement threshold value.
In this kind of embodiment, when the mean exposure area of multiple sampled points is higher than preset contact area threshold value, then may be used Determine that the touch area of user's finger and touch-screen is larger, such as:The thumb being of little use using most of users carries out gesture behaviour Make.Further, the contact area data of multiple sampled points are fitted, when fitting result is conic section form, then table Show that user's finger exerts a force and uneven on the touchscreen, than less easily the gesture is identified.Therefore, can increase initial Preset initial displacement threshold value so that the identification more accurate and effective to active user's gesture.
For the implementation of above-mentioned fitting adjusting module, the identification module, can specifically include:
First recognition unit, it is pre- for the displacement when the gesture after caused displacement on the touch-screen is less than reduction It is clicking operation by the gesture identification when putting;
Second recognition unit, it is pre- for the displacement when the gesture after caused displacement on the touch-screen is higher than reduction It is slide by the gesture identification when putting;
3rd recognition unit, it is pre- for the displacement when the gesture after caused displacement on the touch-screen is less than increase It is clicking operation by the gesture identification when putting;
4th recognition unit, it is pre- for the displacement when the gesture after caused displacement on the touch-screen is higher than increase It is slide by the gesture identification when putting.
Correspondingly, the embodiment of the present invention additionally provides a kind of gesture knowledge that user gesture identification is realized based on computer system Other device, as shown in fig. 6, in the specific implementation, the terminal of the embodiment of the present invention can include:It is processor 601, memory 602, total Line 603 and receiver 604;Wherein, the processor 601 and memory 602 are connected with each other by the bus 603;It is described to deposit Reservoir 602 is used to store computer executed instructions;The receiver is used to receive the gesture that user is inputted by touch-screen;It is described Processor 601 performs the computer executed instructions that the memory 602 stores, and performs following operation:The gesture is drawn It is divided into multiple sampled points, obtains the contact area of each sampled point and the touch-screen;Being averaged for the multiple sampled point is connect Contacting surface is accumulated compared with preset contact area threshold value, and the contact area data of the multiple sampled point are carried out into curve plan Close, be adjusted according to the initial displacement threshold value that comparative result and fitting result are preset to identification gesture;According to adjustment Displacement threshold value afterwards, the gesture of the user is identified.
In the embodiment of the present invention, processor can be central processing unit(central processing unit,CPU), specially Use integrated circuit(application-specific integrated circuit,ASIC)Deng.
Computer-readable storage medium can have program stored therein, and the program may include that data provided in an embodiment of the present invention pass when performing Part or all of step in each embodiment of defeated method.Described storage medium can be magnetic disc, CD, read-only store-memory Body(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of equipment and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, can be with Realize by another way.For example, apparatus embodiments described above are only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, equipment or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment(Can be People's computer, server, or network equipment etc.)Or processor(processor)Perform side described in each embodiment of the present invention The all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage(ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

  1. A kind of 1. gesture identification method, it is characterised in that including:
    Receive the gesture that user is inputted by touch-screen;
    The gesture is divided into multiple sampled points, obtains the contact area of each sampled point and the touch-screen;
    By the mean exposure area of the multiple sampled point compared with preset contact area threshold value, and by the multiple sampling The contact area data of point carry out curve fitting, according to comparative result and the fitting result initial bit preset to identification gesture Threshold value is moved to be adjusted;
    According to the displacement threshold value after adjustment, the gesture of the user is identified.
  2. 2. according to the method for claim 1, it is characterised in that the mean exposure area by the multiple sampled point with Preset contact area threshold value is compared, and is adjusted according to the initial displacement threshold value that comparative result is preset to identification gesture, Including:
    When the mean exposure area of the multiple sampled point is less than preset contact area threshold value, and the contact of the multiple sampled point Area data is fitted to form of straight lines, then reduces the initial displacement threshold value.
  3. 3. according to the method for claim 1, it is characterised in that the mean exposure area by the multiple sampled point with Preset contact area threshold value is compared, and is adjusted according to the position threshold that comparative result is preset to identification gesture, including:
    When the mean exposure area of the multiple sampled point is higher than preset contact area threshold value, and the contact of the multiple sampled point Area data is fitted to conic section form, then increases the initial displacement threshold value.
  4. 4. according to the method for claim 2, it is characterised in that the displacement threshold value according to after adjustment, to the use The gesture at family is identified, including:
    When the gesture is preset less than the displacement after reducing in caused displacement on the touch-screen, it is by the gesture identification Clicking operation;
    When the gesture is preset higher than the displacement after reducing in caused displacement on the touch-screen, it is by the gesture identification Slide.
  5. 5. according to the method for claim 3, it is characterised in that the displacement threshold value according to after adjustment, to the use The gesture at family is identified, including:
    When the gesture is preset less than the displacement after increase in caused displacement on the touch-screen, it is by the gesture identification Clicking operation;
    When the gesture is preset higher than the displacement after increase in caused displacement on the touch-screen, it is by the gesture identification Slide.
  6. A kind of 6. gesture identifying device, it is characterised in that including:
    Gesture receiving module, the gesture inputted for receiving user by touch-screen;
    Contact area acquisition module, for the gesture to be divided into multiple sampled points, obtain each sampled point and the touch The contact area of screen;
    Adjusting module is fitted, for the mean exposure area of the multiple sampled point and preset contact area threshold value to be compared Compared with, and the contact area data of the multiple sampled point are carried out curve fitting, according to comparative result and fitting result to knowing The preset initial displacement threshold value of other gesture is adjusted;
    Identification module, for according to the displacement threshold value after adjustment, the gesture of the user to be identified.
  7. 7. device according to claim 6, it is characterised in that the fitting adjusting module, including:
    First fitting unit, for providing the first fitting result;
    First adjustment unit, for receiving first fitting result, when first fitting result is:The multiple sampled point Mean exposure area be less than preset contact area threshold value, and the contact area data of the multiple sampled point are fitted to linear During formula, reduce the initial displacement threshold value.
  8. 8. device according to claim 6, it is characterised in that the fitting adjusting module, including:
    Second fitting unit, for providing the second fitting result;
    Second adjustment unit, for receiving second fitting result, when second fitting result is:The multiple sampled point Mean exposure area be higher than preset contact area threshold value, and the contact area data of the multiple sampled point are fitted to secondary song During line form, increase the initial displacement threshold value.
  9. 9. device according to claim 7, it is characterised in that the identification module, including:
    First recognition unit, it is preset for the displacement when the gesture after caused displacement on the touch-screen is less than reduction When, it is clicking operation by the gesture identification;
    Second recognition unit, it is preset for the displacement when the gesture after caused displacement on the touch-screen is higher than reduction When, it is slide by the gesture identification.
  10. 10. device according to claim 8, it is characterised in that the identification module, including:
    3rd recognition unit, it is preset for the displacement when the gesture after caused displacement on the touch-screen is less than increase When, it is clicking operation by the gesture identification;
    4th recognition unit, it is preset for the displacement when the gesture after caused displacement on the touch-screen is higher than increase When, it is slide by the gesture identification.
CN201310684417.XA 2013-12-13 2013-12-13 A kind of gesture identification method and device Active CN104714675B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310684417.XA CN104714675B (en) 2013-12-13 2013-12-13 A kind of gesture identification method and device
PCT/CN2014/092593 WO2015085874A1 (en) 2013-12-13 2014-11-29 Method and device for identifying gesture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310684417.XA CN104714675B (en) 2013-12-13 2013-12-13 A kind of gesture identification method and device

Publications (2)

Publication Number Publication Date
CN104714675A CN104714675A (en) 2015-06-17
CN104714675B true CN104714675B (en) 2017-12-05

Family

ID=53370611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310684417.XA Active CN104714675B (en) 2013-12-13 2013-12-13 A kind of gesture identification method and device

Country Status (2)

Country Link
CN (1) CN104714675B (en)
WO (1) WO2015085874A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302467B (en) * 2015-11-05 2018-10-23 网易(杭州)网络有限公司 Touch control operation identifies and response method, device and game control method, device
CN107256124B (en) * 2017-04-21 2023-01-10 海信视像科技股份有限公司 Electronic whiteboard touch control method and device
CN107894861A (en) * 2017-10-31 2018-04-10 广州视源电子科技股份有限公司 Touch-screen control method and device, intelligent terminal
CN108829475B (en) * 2018-05-29 2021-08-17 北京小米移动软件有限公司 UI drawing method, device and storage medium
CN111624572B (en) 2020-05-26 2023-07-18 京东方科技集团股份有限公司 Human hand and human gesture recognition method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101963863A (en) * 2010-09-30 2011-02-02 华为终端有限公司 User touch operation mode self-adapting method and device
CN102722254A (en) * 2012-06-20 2012-10-10 清华大学深圳研究生院 Method and system for location interaction
CN103092498A (en) * 2011-11-07 2013-05-08 联想(北京)有限公司 Method and device for determining response mode and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101962445B1 (en) * 2011-08-30 2019-03-26 삼성전자 주식회사 Mobile terminal having touch screen and method for providing user interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101963863A (en) * 2010-09-30 2011-02-02 华为终端有限公司 User touch operation mode self-adapting method and device
CN103092498A (en) * 2011-11-07 2013-05-08 联想(北京)有限公司 Method and device for determining response mode and electronic device
CN102722254A (en) * 2012-06-20 2012-10-10 清华大学深圳研究生院 Method and system for location interaction

Also Published As

Publication number Publication date
CN104714675A (en) 2015-06-17
WO2015085874A1 (en) 2015-06-18

Similar Documents

Publication Publication Date Title
CN104714675B (en) A kind of gesture identification method and device
CN103019508B (en) Mobile terminal and icon arrangement display packing
CN101963863B (en) User touch operation mode self-adapting method and device
CN105807997B (en) A kind of touch screen sensitivity regulation method and device
US8760435B2 (en) Touch panel
CN106775087A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
US20150378965A1 (en) Method And Device For Text Input And Display Of Intelligent Terminal
CN104679358A (en) Terminal
WO2014160436A1 (en) Baseline management for sensing device
CN106681555A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN102087575A (en) Electronic device and method for dynamic arrangement of icons
CN105260103B (en) A kind of picture Zoom method and electronic equipment
CN104679336A (en) Method and device for adjusting touch screen parameters
CN105867821A (en) Icon arranging method and device and terminal
CN106354404B (en) Page operation method and device
CN105224222B (en) A kind of method for deleting, erasing apparatus and electronic equipment
CN109739385B (en) Method and device for touch finger identification based on capacitance signal and touch screen
CN104765560A (en) Display control method
CN109213413A (en) A kind of recommended method, device, equipment and storage medium
CN106469059A (en) A kind of method of operation interface display pattern of adjustment mobile terminal and mobile terminal
CN105867805B (en) Information loading method and electronic equipment
CN107656677B (en) Method for adjusting position of application icon, storage medium and mobile terminal
CN109885444B (en) Testing method and device based on gesture recognition, storage medium and terminal equipment
CN103744609B (en) A kind of data extraction method and device
CN108307044A (en) A kind of terminal operation method and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20171027

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: Huawei Device Co., Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171102

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: Huawei Device Co., Ltd.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.