CN104778044B - The method and device of touch-screen gesture event stream distribution - Google Patents
The method and device of touch-screen gesture event stream distribution Download PDFInfo
- Publication number
- CN104778044B CN104778044B CN201510158991.0A CN201510158991A CN104778044B CN 104778044 B CN104778044 B CN 104778044B CN 201510158991 A CN201510158991 A CN 201510158991A CN 104778044 B CN104778044 B CN 104778044B
- Authority
- CN
- China
- Prior art keywords
- control
- event
- gesture
- flow
- stream
- 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
Links
- 238000009826 distribution Methods 0.000 title claims abstract description 102
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000004044 response Effects 0.000 claims abstract description 48
- 238000003825 pressing Methods 0.000 claims abstract description 23
- 230000009471 action Effects 0.000 claims description 11
- 230000008569 process Effects 0.000 claims description 11
- 230000000694 effects Effects 0.000 abstract description 10
- 230000003993 interaction Effects 0.000 abstract description 8
- 230000006870 function Effects 0.000 description 12
- 230000008901 benefit Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000001727 in vivo Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
Abstract
The invention discloses a kind of method and device of touch-screen gesture event stream distribution.Wherein method includes:The complete gesture event stream of user's input is obtained, complete gesture event stream includes pressing event, at least one moving event and lifting event;According to complete gesture event stream, respectively to the first gesture flow of event of the first control and the distribution of the second control by the response of the first control and the second gesture flow of event by the response of the second control;The gesture operation according to corresponding to being realized the first gesture flow of event for being distributed to the first control and the second gesture flow of event for being distributed to the second control.The present invention allows user and easily completes the effect that multi-pass operation could complete with once-through operation, reduce number of operations, improve Consumer's Experience, make overall interaction more smooth more reasonable by the way that complete gesture event flow point is issued into multiple controls.
Description
Technical field
The present invention relates to Internet technical field, and in particular to a kind of method and dress of touch-screen gesture event stream distribution
Put.
Background technology
The case distribution mechanism of android system, for the gesture event stream of same touch-screen event, one can only be distributed to
On individual control.Since the action_down (pressing) of event, action_move (movement), tied to action_up (lifting)
Beam, this gesture event stream are locked in a control, therefore, on a complicated control combing, if different gesture groups
Closing needs different controls to be handled, and can not just be completed using existing android case distributions mechanism.
For some application programs (app), same touch screen gesture event stream is also required to multiple controls to handle, substantially all
It is to allow user to carry out touch screen at twice, the gesture event stream of first time touch screen gives a control, the gesture thing of second of touch screen
Part stream gives second control, and the carry out one that user can not link up is operated to complete due effect, reduces Consumer's Experience.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State the method for the touch-screen gesture event stream distribution of problem and the device of corresponding touch-screen gesture event stream distribution.
According to an aspect of the invention, there is provided a kind of method of touch-screen gesture event stream distribution, it includes:
The complete gesture event stream of user's input is obtained, complete gesture event stream includes pressing event, at least one movement
Event and lift event;
According to complete gesture event stream, respectively to the first control and the distribution of the second control by the first-hand of the first control response
Gesture flow of event and the second gesture flow of event responded by the second control;
It is real according to the first gesture flow of event for being distributed to the first control and the second gesture flow of event for being distributed to the second control
Gesture operation corresponding to existing.
According to another aspect of the present invention, there is provided a kind of device of touch-screen gesture event stream distribution, it includes:
Input interface, the complete gesture event stream inputted suitable for obtaining user by touch-screen, complete gesture event stream bag
Include the event of pressing, at least one moving event and lift event;
Distribution module, suitable for according to complete gesture event stream, being controlled respectively to the first control and the distribution of the second control by first
The first gesture flow of event of part response and the second gesture flow of event responded by the second control;
Operation module, it is distributed to the first gesture flow of event of the first control suitable for basis and is distributed to the second of the second control
Gesture operation corresponding to the realization of gesture event stream.
According to scheme provided by the invention, the complete gesture event stream that user inputs is obtained, complete gesture event stream includes
Press event, at least one moving event and lift event;According to complete gesture event stream, controlled respectively to the first control and second
First gesture flow of event of the part distribution by the response of the first control and the second gesture flow of event by the response of the second control;According to distribution
To the first control first gesture flow of event and be distributed to the second control second gesture flow of event realize corresponding to gesture operation,
By the way that complete gesture event flow point is issued into multiple controls, allow user and multi-pass operation ability is easily completed with once-through operation
The effect of completion, reduces number of operations, improves Consumer's Experience, makes overall interaction more smooth more reasonable.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is the sectional drawing of the application program of an example of the present invention;
Fig. 2 is the sectional drawing of the application program gauge outfit of an example of the present invention;
Fig. 3 is the sectional drawing of the application program particular content of an example of the present invention;
Fig. 4 shows the flow chart of the method for touch-screen gesture event stream distribution according to an embodiment of the invention;
Fig. 5 shows the flow chart of the method for touch-screen gesture event stream distribution in accordance with another embodiment of the present invention;
Fig. 6 shows the flow chart of the method for touch-screen gesture event stream distribution in accordance with another embodiment of the present invention;
Fig. 7 shows the flow chart of the method for touch-screen gesture event stream distribution in accordance with another embodiment of the present invention;
Fig. 8 shows the structured flowchart of the device of touch-screen gesture event stream distribution according to an embodiment of the invention;
Fig. 9 shows the structural frames of the device of touch-screen gesture event stream distribution in accordance with another embodiment of the present invention
Figure.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Present inventor has found in R&D process, is entering app:360 mobile phone assistant, click to enter it is any can
After the Application Program Interface of download, Fig. 1 is the sectional drawing that application program is searched well, and user needs logical when reading the application program and introducing
After finger down twice, movement, lift and could realize related reading, first time finger down, movement, lift only control should
With the action (as shown in Figure 2) of program gauge outfit, after gauge outfit disappears, can not continue to control the action of application program particular content;Second
Secondary finger down, movement, lift be control application program particular content it is (as shown in Figure 3) act.User can not be by once grasping
Make to realize and control application program gauge outfit and application program particular content to act simultaneously, present inventor proposes this based on this
Application.
Fig. 4 shows the flow chart of the method for touch-screen gesture event stream distribution according to an embodiment of the invention.Such as
Shown in Fig. 4, this method comprises the following steps:
Step S400, obtain the complete gesture event stream of user's input.
Wherein, complete gesture event stream includes pressing event, at least one moving event and lifting event.Press event tool
Body refers to user's finger point touching screen;Moving event refers to user's finger and moved on the touchscreen;The event of lifting refer to user's finger from
Open touch-screen.Here the complete gesture event stream of user's input includes user's finger point touching screen, user's finger is touching
Mobile and user's finger leaves touch-screen on screen.
Step S410, according to complete gesture event stream, rung respectively to the first control and the distribution of the second control by the first control
The first gesture flow of event answered and the second gesture flow of event responded by the second control.
Wherein, control can control touch-screen display interface to make corresponding operation according to user gesture flow of event.For example,
User gesture flow of event is that user's finger moves vertically upward, then control can control touch-screen display interface to move up;With
Family gesture event stream is that user's finger level moves right, then control can control touch-screen display interface to move horizontally.This step
The first control and the second control in rapid only respond its corresponding gesture event stream, and other gesture event streams are not responded, and lift
Example explanation, the gesture event stream of the first control level of response movement, the first control are not responding to the gesture event stream vertically moved,
Here it is merely illustrative, those skilled in the art should understand that it does not have any specific restriction effect.
Step S420, the first gesture flow of event of the first control and the second gesture of the second control is distributed to according to being distributed to
Gesture operation corresponding to flow of event realization.
Wherein, the first control and the second control are after the gesture event stream of distribution is received, according to respective gesture event
Flow control touch-screen display interface acts, for example, the gesture event stream that the first control receives moves right for level, then first
Control control touch-screen display interface level moves right.
The method provided according to the above embodiment of the present invention, responded to the first control and the distribution of the second control by the first control
First gesture flow of event and by the second control respond second gesture flow of event, according to the first gesture for being distributed to the first control
Flow of event and be distributed to the second control second gesture flow of event realize corresponding to gesture operation, by complete gesture event stream distribution
To multiple controls, allow user and the effect that multi-pass operation could complete easily is completed with once-through operation, reduce operation time
Number, improves Consumer's Experience, makes overall interaction more smooth more reasonable.
Fig. 5 shows the flow chart of the method for touch-screen gesture event stream distribution in accordance with another embodiment of the present invention.
As shown in figure 5, this method comprises the following steps:
Step S500, obtain the complete gesture event stream of user's input.
Wherein, complete gesture event stream includes pressing event, at least one moving event and lifting event.Press event tool
Body refers to user's finger point touching screen;Moving event refers to user's finger and moved on the touchscreen;The event of lifting refer to user's finger from
Open touch-screen.Here the complete gesture event stream of user's input includes user's finger point touching screen, user's finger is touching
Mobile and user's finger leaves touch-screen on screen.So that user reads the display interface that application program shown in Fig. 1 is searched well as an example, completely
Gesture event stream clicked on including user and search application program display interface, user's finger mobile and user's hand on display interface
Finger lifts from application program display interface.
Step S510, by the part for pressing event and at least one moving event included by complete gesture event stream
The first control is distributed to, so that the first control is responded.
First control of this step, which is used to control, searches the action of application program gauge outfit, specifically controls application program gauge outfit to exist
Vertical direction moves up and down;Second control, which is used to control, searches the action of application program particular content, specific to control application program tool
Hold lower in vertical direction move in vivo.
In this step, a part for pressing event and at least one moving event is specifically that user clicks on and searched using journey
Sequence display interface and user's finger control display interface are move upwardly until that to search application program gauge outfit this part that disappears mobile
Event.Specifically, MotionEvent.ACTION_DOWN functions and action_move functions are sent to first control, for
First control is responded.
Step S520, will be complete by way of redefining event when the first control cannot respond to follow-up moving event
Another part of at least one moving event included by whole gesture event stream and case distribution is lifted to the second control, for the
Two controls are responded.
Specifically, the first control cannot respond to follow-up moving event and be specially:First control is from front-end user interface
Disappear;Or follow-up moving event is not belonging to the response events scope of the first control.The side for redefining event in this step
Formula refers to dependent event being distributed to corresponding control, redefines event here with setAction functions, and utilize
User's finger after dispatchTouchEvent functions disappear application program gauge outfit moves on application program display interface
Gesture event stream and user's finger lift case distribution to the second control from application program display interface.
Step S530, the first gesture flow of event of the first control and the second gesture of the second control is distributed to according to being distributed to
Gesture operation corresponding to flow of event realization.
Specifically, the first control moves vertically upward according to received first gesture event flow control application program table head
It is dynamic;Second control moves vertically upward according to received second gesture event flow control application program particular content, and second
After control receives MotionEvent.ACTION_UP functions, terminate the control to application program particular content, application program tool
Hold in vivo and no longer move vertically upward.
Step S540, the demand for terminating gesture event stream according to the first control lift event to terminate to the distribution of the first control
Corresponding gesture event stream.
The event of lifting is the tenth skill of gesture event stream, control only receive distribution lift event in the case of,
Corresponding gesture event stream can just be terminated.When control receives after lifting event of distribution, follow-up gesture event will be no longer responded
Stream, the display interface of application program also do not reoperate.First control after MotionEvent.ACTION_UP functions are received,
Terminate the control to application program table head.
In the present embodiment, the first control and the second control each respond a part at least one moving event, that is, control
The part of application program particular content action processed.
The method provided according to the above embodiment of the present invention, event and extremely will be pressed included by complete gesture event stream
A part for a few moving event is distributed to the first control, so that the first control is responded, when the first control cannot respond to
During follow-up moving event, by way of redefining event by complete gesture event stream included by least one moving event
Another part and lift case distribution to the second control, so that the second control is responded, the first control and the second control root
According to gesture operation corresponding to the gesture event stream realization of distribution, the demand for terminating gesture event stream according to the first control is controlled to first
Part distribution lifts event to terminate corresponding gesture event stream, and complete gesture event flow point is issued into multiple controls, makes user can
With the effect that could be easily completed with once-through operation completion multi-pass operation, reduce number of operations, improve Consumer's Experience, make
Overall interaction is more smooth more reasonable, and distribution gesture event stream can be operated according to achieved by control, has flexibility.
Fig. 6 shows the flow chart of the method for touch-screen gesture event stream distribution in accordance with another embodiment of the present invention.
As shown in fig. 6, this method comprises the following steps:
Step S600, obtain the complete gesture event stream of user's input.
This step is similar with the step S500 in embodiment illustrated in fig. 5, will not be repeated here.
Step S610, by pressing event, at least one moving event and lift thing included by complete gesture event stream
Part is distributed to the first control, so that the first control is responded.
In this step, user's finger clicks on application program display interface, will control the shifting of application program display interface movement
Dynamic event and user's finger leave application program display interface and are distributed to the first control, and the first control is only receiving user's finger
After leaving the event of Application Program Interface, it can just terminate the control to Application Program Interface.Specifically, will
MotionEvent.ACTION_DOWN functions, action_move functions and MotionEvent.ACTION_UP functions are sent to
First control, so that the first control is responded.
Step S620, by way of redefining event by complete gesture event stream included by least one moving event
A part and lift case distribution to the second control, so that the second control is responded.
The mode for redefining event in this step refers to dependent event being distributed to corresponding control, at least one here
A part for moving event is to control the part of application program particular content action.Thing is redefined using setAction functions
Part, and the moving event and user's finger for being acted control application program particular content using dispatchTouchEvent functions
Case distribution is lifted to the second control from application program display interface.
Step S630, the first gesture flow of event of the first control and the second gesture of the second control is distributed to according to being distributed to
Gesture operation corresponding to flow of event realization.
This step is similar with the step S530 in embodiment illustrated in fig. 5, will not be repeated here.
In the present embodiment, the first control and the second control can respond a part at least one moving event simultaneously,
Control the part of application program particular content action.
The method provided according to the above embodiment of the present invention, event, at least will be pressed included by complete gesture event stream
One moving event and case distribution is lifted to the first control, so that the first control is responded, by redefining event
Mode is by a part at least one moving event included by complete gesture event stream and lifts case distribution to the second control,
So that the second control is responded, the first control and the second control the gesture behaviour according to corresponding to being realized the gesture event stream of distribution
Make, complete gesture event flow point is issued into multiple controls, allow user and multi-pass operation ability is easily completed with once-through operation
The effect of completion, reduces number of operations, improves Consumer's Experience, makes overall interaction more smooth more reasonable, and being capable of basis
The achieved operation distribution gesture event stream of control, has flexibility.
Fig. 7 shows the flow chart of the method for touch-screen gesture event stream distribution in accordance with another embodiment of the present invention.
As shown in fig. 7, this method comprises the following steps:
Step S700, obtain the complete gesture event stream of user's input.
This step is similar with the step S500 in embodiment illustrated in fig. 5, will not be repeated here.
Step S710, gesture recognition process is carried out to complete gesture event stream, the response events model of the first control will be belonged to
The first gesture flow of event enclosed is distributed to the first control, will belong to the second gesture flow of event of the response events scope of the second control
It is distributed to the second control.
Wherein, response events scope includes moving horizontally event or vertically moves event.In this step, the first control rings
Event should be moved horizontally, the response of the second control vertically moves event, and user inputs the moving event of 45 ° of an oblique upper, passed through
Gesture recognition process is carried out to the movement, is horizontal moving event to the left and movement vertically upward by the moving event cutting
Event, according to the first control and the second control response events scope, horizontal moving event to the left is distributed to the first control, will
Moving event vertically upward is distributed to the second control.
Step S720, the first gesture flow of event of the first control and the second gesture of the second control is distributed to according to being distributed to
Gesture operation corresponding to flow of event realization.
This step is similar with the step S530 in embodiment illustrated in fig. 5, will not be repeated here.
Step S730, according to the first control and/or the second control terminate the demand of gesture event stream to the first control and/or
The distribution of second control lifts event to terminate corresponding gesture event stream.
This step is similar with the step S540 in embodiment illustrated in fig. 5, will not be repeated here.
The method provided according to the above embodiment of the present invention, gesture recognition process is carried out to complete gesture event stream, will be belonged to
The first control is distributed in the first gesture flow of event of the response events scope of the first control, the response thing of the second control will be belonged to
The second gesture flow of event of part scope is distributed to the second control, and the first control and the second control are according to the gesture event received
Stream realize corresponding to gesture operation, the demand of gesture event stream is terminated to the first control according to the first control and/or the second control
And/or second control distribution lift event to terminate corresponding gesture event stream, complete gesture event flow point is issued into multiple controls
Part, allow user and the effect that could complete of multi-pass operation is easily completed with once-through operation, reduce number of operations, improve
Consumer's Experience, make overall interaction more smooth more reasonable, and distribution gesture event stream can be operated according to achieved by control, and
And user can input arbitrary gesture has flexibility.
Fig. 8 shows the structured flowchart of the device of touch-screen gesture event stream distribution according to an embodiment of the invention.
As shown in figure 8, the device includes:Input interface 800, distribution module 810, operation module 820.
Input interface 800, the complete gesture event stream inputted suitable for obtaining user by touch-screen, complete gesture event stream
Including pressing event, at least one moving event and lifting event.
Distribution module 810, suitable for according to complete gesture event stream, distributing respectively to the first control and the second control by first
The first gesture flow of event of control response and the second gesture flow of event responded by the second control.
Operation module 820, it is distributed to the first gesture flow of event of the first control suitable for basis and is distributed to the second control
Gesture operation corresponding to the realization of second gesture flow of event.
The device provided according to the above embodiment of the present invention, responded to the first control and the distribution of the second control by the first control
First gesture flow of event and by the second control respond second gesture flow of event, according to the first gesture for being distributed to the first control
Flow of event and be distributed to the second control second gesture flow of event realize corresponding to gesture operation, by complete gesture event stream distribution
To multiple controls, allow user and the effect that multi-pass operation could complete easily is completed with once-through operation, reduce operation time
Number, improves Consumer's Experience, makes overall interaction more smooth more reasonable.
Fig. 9 shows the structural frames of the device of touch-screen gesture event stream distribution in accordance with another embodiment of the present invention
Figure.As shown in figure 9, the device includes:Input interface 900, distribution module 910, operation module 920, terminate module 930.
Input interface 900, the complete gesture event stream inputted suitable for obtaining user by touch-screen, complete gesture event stream
Including pressing event, at least one moving event and lifting event.
Distribution module 910, suitable for according to complete gesture event stream, distributing respectively to the first control and the second control by first
The first gesture flow of event of control response and the second gesture flow of event responded by the second control.
Alternatively, distribution module 910 is further adapted for:Event and at least will be pressed included by complete gesture event stream
A part for one moving event is distributed to the first control, so that the first control is responded;After the first control cannot respond to
During continuous moving event, by least one moving event included by complete gesture event stream by way of redefining event
Another part and case distribution is lifted to the second control, so that the second control is responded.
Wherein, the first control cannot respond to follow-up moving event and be specially:First control disappears from front-end user interface
Lose;Or follow-up moving event is not belonging to the response events scope of the first control.
Alternatively, distribution module 910 is further adapted for:Event, at least one will be pressed included by complete gesture event stream
Individual moving event and case distribution is lifted to the first control, so that the first control is responded;By the side for redefining event
Formula is by a part at least one moving event included by complete gesture event stream and lifts case distribution to the second control, with
Responded for the second control.
Alternatively, distribution module 910 is further adapted for:Gesture recognition process is carried out to complete gesture event stream, will be belonged to
The first gesture flow of event of the response events scope of first control is distributed to the first control, will belong to the response events of the second control
The second gesture flow of event of scope is distributed to the second control.
Wherein, response events scope includes moving horizontally event or vertically moves event.
Operation module 920, it is distributed to the first gesture flow of event of the first control suitable for basis and is distributed to the second control
Gesture operation corresponding to the realization of second gesture flow of event.
Terminate module 930, the demand suitable for terminating gesture event stream according to the first control and/or the second control are controlled to first
Part and/or the distribution of the second control lift event to terminate corresponding gesture event stream.
The device provided according to the above embodiment of the present invention, issues multiple controls by complete gesture event flow point, makes user
The effect that could easily can be completed with once-through operation completion multi-pass operation, is reduced number of operations, improves Consumer's Experience,
Make overall interaction more smooth more reasonable, and distribution gesture event stream can be operated according to achieved by control, and user can
There is flexibility to input arbitrary gesture.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize touch-screen gesture event stream distribution according to embodiments of the present invention
The some or all functions of some or all parts in equipment.The present invention is also implemented as being used to perform being retouched here
The some or all equipment or program of device (for example, computer program and computer program product) for the method stated.
Such program for realizing the present invention can store on a computer-readable medium, or can have one or more signal
Form.Such signal can be downloaded from internet website and obtained, either provide on carrier signal or with it is any its
He provides form.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
The invention discloses:A1, a kind of method of touch-screen gesture event stream distribution, it includes:
Obtain the complete gesture event stream of user's input, the complete gesture event stream includes pressing event, at least one
Moving event and lift event;
According to the complete gesture event stream, responded respectively to the first control and the distribution of the second control by first control
First gesture flow of event and by second control respond second gesture flow of event;
The first gesture flow of event of first control and the second gesture of second control is distributed to according to being distributed to
Gesture operation corresponding to flow of event realization.
A2, the method according to A1, wherein, after gesture operation corresponding to the realization, methods described is further
Including:
The demand of gesture event stream is terminated to first control according to first control and/or second control
And/or the second control distribution lifts event to terminate corresponding gesture event stream.
A3, the method according to A1, wherein, it is described according to the complete gesture event stream, respectively to the first control and
First gesture flow of event of the second control distribution by first control response and the second gesture by second control response
Flow of event further comprises:
The part for pressing event and at least one moving event included by the complete gesture event stream is distributed
To the first control, so that first control is responded;
, will be described complete by way of redefining event when first control cannot respond to follow-up moving event
Another part of at least one moving event included by gesture event stream and case distribution is lifted to the second control, for described
Second control is responded.
A4, the method according to A3, wherein, first control cannot respond to follow-up moving event and be specially:Institute
The first control is stated to disappear from front-end user interface;Or the follow-up moving event is not belonging to the sound of first control
Answer event range.
A5, the method according to A1, wherein, it is described according to the complete gesture event stream, respectively to the first control and
First gesture flow of event of the second control distribution by first control response and the second gesture by second control response
Flow of event further comprises:
By pressing event, at least one moving event and lift case distribution included by the complete gesture event stream
To the first control, so that first control is responded;
By one of at least one moving event included by the complete gesture event stream by way of redefining event
Partly and case distribution is lifted to the second control, so that second control is responded.
A6, the method according to A1, wherein, it is described according to the complete gesture event stream, respectively to the first control and
First gesture flow of event of the second control distribution by first control response and the second gesture by second control response
Flow of event further comprises:
Gesture recognition process is carried out to the complete gesture event stream, the response events scope of first control will be belonged to
First gesture flow of event be distributed to the first control, the second gesture event of the response events scope of second control will be belonged to
Flow point issues the second control.
A7, the method according to A6, wherein, the response events scope includes moving horizontally event or vertically moves thing
Part.
The invention also discloses:B8, a kind of device of touch-screen gesture event stream distribution, it includes:
Input interface, suitable for obtaining the complete gesture event stream of user's input, the complete gesture event stream includes pressing
Event, at least one moving event and lift event;
Distribution module, suitable for according to the complete gesture event stream, distributing respectively to the first control and the second control by institute
The second gesture flow of event stated the first gesture flow of event of the first control response and responded by second control;
Operation module, suitable for being controlled according to the first gesture flow of event for being distributed to first control with being distributed to described second
Gesture operation corresponding to the second gesture flow of event realization of part.
B9, the device according to B8, wherein, described device further comprises:
Terminate module, suitable for terminated according to first control and/or second control demand of gesture event stream to
First control and/or second control distribution lift event to terminate corresponding gesture event stream.
B10, the device according to B8, wherein, the distribution module is further adapted for:
The part for pressing event and at least one moving event included by the complete gesture event stream is distributed
To the first control, so that first control is responded;
, will be described complete by way of redefining event when first control cannot respond to follow-up moving event
Another part of at least one moving event included by gesture event stream and case distribution is lifted to the second control, for described
Second control is responded.
B11, the device according to B10, wherein, first control cannot respond to follow-up moving event and be specially:
First control disappears from front-end user interface;Or the follow-up moving event is not belonging to first control
Response events scope.
B12, the device according to B8, wherein, the distribution module is further adapted for:
By pressing event, at least one moving event and lift case distribution included by the complete gesture event stream
To the first control, so that first control is responded;
By one of at least one moving event included by the complete gesture event stream by way of redefining event
Partly and case distribution is lifted to the second control, so that second control is responded.
B13, the device according to B8, wherein, the distribution module is further adapted for:
Gesture recognition process is carried out to the complete gesture event stream, the response events scope of first control will be belonged to
First gesture flow of event be distributed to the first control, the second gesture event of the response events scope of second control will be belonged to
Flow point issues the second control.
B14, the device according to B13, wherein, the response events scope includes moving horizontally event or vertically moving
Event.
Claims (14)
1. a kind of method of touch-screen gesture event stream distribution, it includes:
The complete gesture event stream of user's input is obtained, the complete gesture event stream includes pressing event, at least one movement
Event and lift event;
According to the complete gesture event stream, respectively to the first control and the distribution of the second control by first control response the
One gesture flow of event and the second gesture flow of event responded by second control;
The first gesture flow of event of first control and the second gesture event of second control is distributed to according to being distributed to
Gesture operation corresponding to stream realization, wherein, the control application program gauge outfit action of the first control, the second control control application program tool
Body content action.
2. according to the method for claim 1, wherein, after gesture operation corresponding to the realization, methods described enters one
Step includes:
According to first control and/or second control terminate the demand of gesture event stream to first control and/or
The second control distribution lifts event to terminate corresponding gesture event stream.
3. the method according to claim 11, wherein, it is described according to the complete gesture event stream, respectively to the first control
With the distribution of the second control by the first gesture flow of event of first control response and the second-hand responded by second control
Gesture flow of event further comprises:
The part for pressing event and at least one moving event included by the complete gesture event stream is distributed to the
One control, so that first control is responded;
When first control cannot respond to follow-up moving event, by the complete gesture by way of redefining event
Another part of at least one moving event included by flow of event and case distribution is lifted to the second control, for described second
Control is responded.
4. according to the method for claim 3, wherein, first control cannot respond to follow-up moving event and be specially:
First control disappears from front-end user interface;Or the follow-up moving event is not belonging to first control
Response events scope.
5. the method according to claim 11, wherein, it is described according to the complete gesture event stream, respectively to the first control
With the distribution of the second control by the first gesture flow of event of first control response and the second-hand responded by second control
Gesture flow of event further comprises:
By pressing event, at least one moving event and lift case distribution to the included by the complete gesture event stream
One control, so that first control is responded;
By a part at least one moving event included by the complete gesture event stream by way of redefining event
With lift case distribution to the second control, so that second control is responded.
6. the method according to claim 11, wherein, it is described according to the complete gesture event stream, respectively to the first control
With the distribution of the second control by the first gesture flow of event of first control response and the second-hand responded by second control
Gesture flow of event further comprises:
Gesture recognition process is carried out to the complete gesture event stream, the of the response events scope of first control will be belonged to
One gesture flow of event is distributed to the first control, will belong to the second gesture event flow point of the response events scope of second control
Issue the second control.
7. according to the method for claim 6, wherein, the response events scope includes moving horizontally event or vertically moving
Event.
8. a kind of device of touch-screen gesture event stream distribution, it includes:
Input interface, suitable for obtaining the complete gesture event stream of user's input, the complete gesture event stream include pressing event,
At least one moving event and lift event;
Distribution module, suitable for according to the complete gesture event stream, respectively to the first control and the distribution of the second control by described the
The first gesture flow of event of one control response and the second gesture flow of event responded by second control;
Operation module, it is distributed to the first gesture flow of event of first control suitable for basis and is distributed to second control
Gesture operation corresponding to the realization of second gesture flow of event, wherein, the control application program gauge outfit action of the first control, the second control control
Application program particular content action processed.
9. device according to claim 8, wherein, described device further comprises:
Terminate module, suitable for terminating the demand of gesture event stream according to first control and/or second control to described
First control and/or second control distribution lift event to terminate corresponding gesture event stream.
10. device according to claim 8, wherein, the distribution module is further adapted for:
The part for pressing event and at least one moving event included by the complete gesture event stream is distributed to the
One control, so that first control is responded;
When first control cannot respond to follow-up moving event, by the complete gesture by way of redefining event
Another part of at least one moving event included by flow of event and case distribution is lifted to the second control, for described second
Control is responded.
11. device according to claim 10, wherein, it is specific that first control cannot respond to follow-up moving event
For:First control disappears from front-end user interface;Or the follow-up moving event is not belonging to first control
Response events scope.
12. device according to claim 8, wherein, the distribution module is further adapted for:
By pressing event, at least one moving event and lift case distribution to the included by the complete gesture event stream
One control, so that first control is responded;
By a part at least one moving event included by the complete gesture event stream by way of redefining event
With lift case distribution to the second control, so that second control is responded.
13. device according to claim 8, wherein, the distribution module is further adapted for:
Gesture recognition process is carried out to the complete gesture event stream, the of the response events scope of first control will be belonged to
One gesture flow of event is distributed to the first control, will belong to the second gesture event flow point of the response events scope of second control
Issue the second control.
14. device according to claim 13, wherein, the response events scope includes moving horizontally event or vertical shifting
Dynamic event.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510158991.0A CN104778044B (en) | 2015-04-03 | 2015-04-03 | The method and device of touch-screen gesture event stream distribution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510158991.0A CN104778044B (en) | 2015-04-03 | 2015-04-03 | The method and device of touch-screen gesture event stream distribution |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104778044A CN104778044A (en) | 2015-07-15 |
CN104778044B true CN104778044B (en) | 2018-03-20 |
Family
ID=53619530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510158991.0A Active CN104778044B (en) | 2015-04-03 | 2015-04-03 | The method and device of touch-screen gesture event stream distribution |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104778044B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106227422A (en) * | 2016-07-15 | 2016-12-14 | 乐视控股(北京)有限公司 | Video player control method and relevant apparatus |
CN114237413A (en) * | 2020-09-09 | 2022-03-25 | 华为技术有限公司 | Method and device for processing interaction event |
CN113110791B (en) * | 2021-05-11 | 2024-04-05 | 长沙康欧创新科技有限公司 | To-do task creation method and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840299A (en) * | 2010-03-18 | 2010-09-22 | 华为终端有限公司 | Touch operation method, device and mobile terminal |
CN102541331A (en) * | 2010-12-30 | 2012-07-04 | 福建星网视易信息系统有限公司 | Multi-area sliding click responding method and system in touch display |
CN103309483A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Electronic device and touch information input method |
CN103440107A (en) * | 2013-09-04 | 2013-12-11 | 北京奇虎科技有限公司 | Method and device for processing touch operation of electronic device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9645986B2 (en) * | 2011-02-24 | 2017-05-09 | Google Inc. | Method, medium, and system for creating an electronic book with an umbrella policy |
-
2015
- 2015-04-03 CN CN201510158991.0A patent/CN104778044B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840299A (en) * | 2010-03-18 | 2010-09-22 | 华为终端有限公司 | Touch operation method, device and mobile terminal |
CN102541331A (en) * | 2010-12-30 | 2012-07-04 | 福建星网视易信息系统有限公司 | Multi-area sliding click responding method and system in touch display |
CN103309483A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Electronic device and touch information input method |
CN103440107A (en) * | 2013-09-04 | 2013-12-11 | 北京奇虎科技有限公司 | Method and device for processing touch operation of electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN104778044A (en) | 2015-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2012504290A5 (en) | ||
CN107408043A (en) | System and method for the intelligence tool in sequence streamline | |
CN105511860A (en) | On-line graphical programming system | |
CN111190718A (en) | Method, device and system for realizing task scheduling | |
US10387161B2 (en) | Techniques for capturing state information and performing actions for threads in a multi-threaded computing environment | |
US10664011B2 (en) | Wearable apparatus and method for controlling VR apparatus | |
US20140359538A1 (en) | Systems and methods for moving display objects based on user gestures | |
CN107463331A (en) | Gesture path analogy method, device and electronic equipment | |
CN107589828A (en) | The man-machine interaction method and system of knowledge based collection of illustrative plates | |
CN106201167A (en) | The multi-screen display method of terminal screen, device and terminal | |
CN104778044B (en) | The method and device of touch-screen gesture event stream distribution | |
CN107340964A (en) | The animation effect implementation method and device of a kind of view | |
CN106407472B (en) | A kind of the big data calculating analysis task visual edit and management system of order form mode | |
CN104699408A (en) | Operation method and device of touch screen and touch device | |
CN103577388A (en) | Excel template based data processing method and device | |
CN103473041A (en) | Visualized data processing method and system | |
CN107704241A (en) | A kind of display methods and device of page status switching | |
WO2022072012A1 (en) | Optimizing job runtimes via prediction-based token allocation | |
CN104598133B (en) | The specification generation method and device of object | |
CN103578020A (en) | Commodity information pushing system and method | |
CN107229330B (en) | A kind of character input method and device based on Steady State Visual Evoked Potential | |
CN107346255A (en) | A kind of electric energy meter system upgrade method and electric energy meter system | |
CN104199629B (en) | Multiple solutions linked system and its method that multiple solutions linkage is realized by network connection | |
US9792000B2 (en) | System construction assistance apparatus, method, and recording medium | |
CN104677376B (en) | Navigation system gesture instruction input method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220725 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |