CN105045501A - Electronic equipment and sliding action response method and system applied to electronic equipment - Google Patents
Electronic equipment and sliding action response method and system applied to electronic equipment Download PDFInfo
- Publication number
- CN105045501A CN105045501A CN201510353787.4A CN201510353787A CN105045501A CN 105045501 A CN105045501 A CN 105045501A CN 201510353787 A CN201510353787 A CN 201510353787A CN 105045501 A CN105045501 A CN 105045501A
- Authority
- CN
- China
- Prior art keywords
- action
- sliding action
- type
- axis
- angle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention provides electronic equipment and a sliding action response method and system applied to the electronic equipment. According to the shape of a touch screen, a rectangular plane coordinate system is established, sliding action is divided into various types according to the range of an included angle between a sliding action direction and an X axis, a list is preset in the electronic equipment and the electronic equipment stores various types and response action corresponding to each type, and the type of the sliding action is judged according to the obtained sliding action to execute the corresponding response action. The sliding action response method is rich in sliding action processing, can carry out directly corresponding response on various types of sliding action, can improve efficiency and experience effects of a user operating an application, and more conforms to the operation requirements of the user.
Description
Technical field
The present invention relates to touch-screen response mechanism, particularly relate to sliding action response method and the system of a kind of electronic equipment and application thereof.
Background technology
The touch-screen of electronic equipment carries out simple action, control electronic equipment and perform convenience and the experience effect that corresponding function can improve user operation, such as pass through sliding action, in the enterprising line slip of the touch-screen of electronic equipment to unlock, page turning, or the manipulation of game, the existing process to touch-screen sliding action, just simply action is divided into upwards, downwards, left, and to the right, to the angled slip that user performs on the touchscreen, can not effectively process, process range is comparatively limited to, and owing to there is no directly corresponding with angled slip response, make the sliding action response time longer, efficiency is low.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide sliding action response method and the system of a kind of electronic equipment and application thereof, for solving single to the process of sliding action on the touchscreen in prior art, not intelligent and inefficient problem.
For achieving the above object and other relevant objects, the invention provides a kind of sliding action response method to be applied to and to have in the electronic equipment of touch-screen, described electronic equipment sets up a plane right-angle coordinate according to the shape of described touch-screen, according to the direction of sliding action and the angular range of X-axis, sliding action is divided into polytype, a list is preset in described electronic equipment, store each described type and the response action corresponding with each described type, describedly respectively to said method comprising the steps of: obtain the starting point of a sliding action and the coordinate of end point; According to the coordinate of described starting point and end point, calculate direction and the X-axis angle of described sliding action; According to described angle, judge the type of described sliding action; According to the type of described sliding action, perform and respond action accordingly.
Optionally, according to the coordinate of described starting point and end point, the displacement of described sliding action is calculated; According to type and the displacement of described sliding action, perform and respond action accordingly.
Optionally, make X-direction be right, the direction in 90 ° with X-axis is upper, becomes the direction of 180 ° for left with X-axis, becomes under the direction of-90 ° is with X-axis, described response action comprise in following action one or more: execution is slided to the right; Perform upward sliding; Perform and slide left; Perform slide downward; Perform and upward sliding to the right simultaneously; Perform and upward sliding left simultaneously; Perform bottom left and slide downward simultaneously; Perform and slide downward to the right simultaneously.
Optionally, when the direction of described sliding action and the angle of X-axis are for being more than or equal to-15 ° and being less than or equal to 15 °, described sliding action is the first kind, and the response action corresponding with the described first kind is slided to the right for performing; When the direction of described sliding action and the angle of X-axis are more than or equal to 75 ° and are less than or equal to 105 °, described sliding action is Second Type, and the response action corresponding with described Second Type is for perform upward sliding; When the direction of described sliding action and the angle of X-axis are for being more than or equal to 165 ° and being less than or equal to-165 °, described sliding action is the 3rd type, and the response action corresponding with described 3rd type is slided left for performing; When the direction of described sliding action and the angle of X-axis are for being more than or equal to-105 ° and being less than or equal to-75 °, described sliding action is the 4th type, and the response action corresponding with described 4th type is for perform slide downward; When the direction of described sliding action and the angle of X-axis are for being greater than 15 ° and being less than 75 °, described sliding action is the 5th type, and the response action corresponding with described 5th type is for performing to the right and upward sliding simultaneously; When the direction of described sliding action and the angle of X-axis are for being greater than 105 ° and being less than 165 °, described sliding action is the 6th type, and the response action corresponding with described 6th type is for performing left and upward sliding simultaneously; When the direction of described sliding action and the angle of X-axis are for being greater than-165 ° and being less than-105 °, described sliding action is the 7th type, and the response action corresponding with described 7th type is perform bottom left and slide downward simultaneously; When the direction of described sliding action and the angle of X-axis are for being greater than-75 ° and being less than-15 °, described sliding action is the 8th type, and the response action corresponding with described 8th type is for performing to the right and slide downward simultaneously.
For achieving the above object and other relevant objects, the present invention also provides a kind of sliding action responding system, be applied to and have in the electronic equipment of touch-screen, described electronic equipment sets up a plane right-angle coordinate according to the shape of described touch-screen, according to the direction of sliding action and the angular range of X-axis, sliding action is divided into polytype, a list is preset in described electronic equipment, store each described type and the response action corresponding with each described type, described responding system comprises: coordinate obtaining module, for the coordinate of the starting point and end point that obtain a sliding action, angle calcu-lation module, for the coordinate according to described starting point and end point, calculates direction and the X-axis angle of described sliding action, type judging module, for according to described angle, judges the type of described sliding action, action executing module, for the type according to described sliding action, performs and responds action accordingly.
Optionally, also comprise displacement computing module, for the coordinate according to described starting point and end point, calculate the displacement of described sliding action; Described action executing module, for according to the type of described sliding action and displacement, performs and responds action accordingly.
Optionally, make X-direction be right, the direction in 90 ° with X-axis is upper, becomes the direction of 180 ° for left with X-axis, becomes under the direction of-90 ° is with X-axis, described response action comprise in following action one or more: execution is slided to the right; Perform upward sliding; Perform and slide left; Perform slide downward; Perform and upward sliding to the right simultaneously; Perform and upward sliding left simultaneously; Perform bottom left and slide downward simultaneously; Perform and slide downward to the right simultaneously.
Optionally, when the direction of described sliding action and the angle of X-axis are for being more than or equal to-15 ° and being less than or equal to 15 °, described sliding action is the first kind, and the response action corresponding with the described first kind is slided to the right for performing; When the direction of described sliding action and the angle of X-axis are more than or equal to 75 ° and are less than or equal to 105 °, described sliding action is Second Type, and the response action corresponding with described Second Type is for perform upward sliding; When the direction of described sliding action and the angle of X-axis are for being more than or equal to 165 ° and being less than or equal to-165 °, described sliding action is the 3rd type, and the response action corresponding with described 3rd type is slided left for performing; When the direction of described sliding action and the angle of X-axis are for being more than or equal to-105 ° and being less than or equal to-75 °, described sliding action is the 4th type, and the response action corresponding with described 4th type is for perform slide downward; When the direction of described sliding action and the angle of X-axis are for being greater than 15 ° and being less than 75 °, described sliding action is the 5th type, and the response action corresponding with described 5th type is for performing to the right and upward sliding simultaneously; When the direction of described sliding action and the angle of X-axis are for being greater than 105 ° and being less than 165 °, described sliding action is the 6th type, and the response action corresponding with described 6th type is for performing left and upward sliding simultaneously; When the direction of described sliding action and the angle of X-axis are for being greater than-165 ° and being less than-105 °, described sliding action is the 7th type, and the response action corresponding with described 7th type is perform bottom left and slide downward simultaneously; When the direction of described sliding action and the angle of X-axis are for being greater than-75 ° and being less than-15 °, described sliding action is the 8th type, and the response action corresponding with described 8th type is for performing to the right and slide downward simultaneously.
As mentioned above, the sliding action response method of electronic equipment of the present invention and application thereof and system, a plane right-angle coordinate is set up according to the shape of touch-screen, according to the direction of sliding action and the angular range of X-axis, sliding action is divided into polytype, a list is preset in described electronic equipment, store each described type and the response action corresponding with each described type, the type of sliding action is judged according to the sliding action obtained, action is responded accordingly to perform, abundanter to the process of sliding action, and, for multiple sliding action, all there is directly corresponding response, the efficiency of user when operational applications and experience effect can be improved, more meet the operation requirements of user.
Accompanying drawing explanation
Fig. 1 is shown as sliding action response method of the present invention schematic flow sheet in one embodiment.
Fig. 2 is shown as sliding action responding system of the present invention modular structure schematic diagram in one embodiment.
Fig. 3 is shown as in one embodiment to the division schematic diagram of slip clamp angular region.
Element numbers explanation
1 sliding action responding system
11 coordinate obtaining module
12 angle calcu-lation modules
13 type judging module
14 make execution module
S11 ~ S14 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in diagram but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
In the prior art, we can by carrying out sliding to make electronic equipment respond accordingly on the touchscreen, comparatively be usually used in the switching of menu page, the page turning of e-book, and the manipulation in electronic game, in prior art, can respond preferably and perform and carry out upwards relative to a preset direction, under, left, and the slip on the right side, but for described preset direction, there is the slide of certain angle, such as, when execution and described preset direction have the slide of 45 ° of angles, system does not carry out this responding or by the slip of concluding up or down, process is intelligent and diversified not, and owing to there is no directly corresponding response action, the judgement time of increase system.The present invention proposes sliding action response method and the system of a kind of electronic equipment and application thereof, a plane right-angle coordinate is set up according to the shape of touch-screen, according to the direction of sliding action and the angular range of X-axis, sliding action is divided into polytype, a list is preset in described electronic equipment, store each described type and the response action corresponding with each described type, the type of sliding action is judged according to the sliding action obtained, respond action accordingly to perform, can address this problem preferably.
Refer to Fig. 1, be shown as sliding action response method of the present invention schematic flow sheet in one embodiment.
Described method is applied to be had in the electronic equipment of touch-screen, described electronic equipment comprises storer, Memory Controller, one or more processor (CPU), interface circuit, RF (radio frequency) circuit, voicefrequency circuit, loudspeaker, microphone, I/O (I/O) subsystem, touch display screen, other output or opertaing devices, and outside port.These assemblies are communicated by one or more communication bus or signal wire.Equipment can be any portable electric appts, includes but not limited to notebook computer, panel computer, smart mobile phone, multimedia player, personal digital assistant (PDA) etc., also may comprise wherein two or multinomial combination.Should be appreciated that the equipment enumerated in the present embodiment is an example of portable electric appts, the assembly of this equipment can have more or less assembly than what provide in diagram, or has different arrangement of components.Various assemblies shown in figure can realize with the combination of hardware, software or software and hardware, comprise one or more signal transacting and/or special IC.The operating system of described electronic apparatus application is such as android operating system or ios operating system etc., and described electronic equipment is such as the electronic equipments such as smart mobile phone, computer, PAD.Touch-screen provides output interface and input interface between equipment and user simultaneously.Touch screen controller receive/send from/go to the electric signal of touch-screen.Described touch-screen then exports to user's display of visually.This visual output can comprise text, figure, video and combination in any thereof.Some or all visual output can be corresponding with user-interface object, are described hereinafter by its more details.
Described touch-screen accepts the input of user based on sense of touch and/or tactile contact.This touch-screen forms the touch sensitive surface that accepts user's input.This touch-screen and touch screen controller (together with the module that is associated any in storer and/or instruction set) detect contacting on touch-screen (and any movement of described touch or interruption), and it is mutual the contact transformation detected to be become with the user interface object of display such as one or more soft-key buttons on the touchscreen and so on.In one exemplary embodiment, the contact point between touch-screen and user corresponds to one or more fingers of user.This touch-screen can use LCD (liquid crystal display) technology or LPD (light emitting polymer displays) technology, but can use other display techniques in other embodiments.Touch-screen and touch screen controller can use any one in multiple Touch technologies to detect and contact and mobile or interruption, these Touch technologies include but not limited to electric capacity, resistance, infrared and surface acoustic wave techniques, and other proximity sensor arrays, or for determining the other technologies of the one or more points contacted with touch-screen.User can use any suitable object or accessory, and such as stylus, finger etc., contact touch-screen.
Described electronic equipment sets up a plane right-angle coordinate according to the shape of described touch-screen, such as when described electronic equipment is smart mobile phone, existing most of smart mobile phone is rectangle, then with the direction consistent with the Width of described rectangle for X-axis, the direction consistent with the length direction of described rectangle is Y-axis, according to the direction of sliding action and the angular range of X-axis, sliding action is divided into polytype, a list is preset in described electronic equipment, store each described type and the response action corresponding with each described type, preferably, in one embodiment, division shown in Fig. 3 is entered to the direction of described sliding action and the angular range of X-axis, when the direction of described sliding action and the angle of X-axis are for being more than or equal to-15 ° and being less than or equal to 15 °, namely angular range is in first area, described sliding action is the first kind, the response action corresponding with the described first kind is slided to the right for performing, when the direction of described sliding action and the angle of X-axis are more than or equal to 75 ° and are less than or equal to 105 °, namely angular range is in the 3rd region, and described sliding action is Second Type, and the response action corresponding with described Second Type is for perform upward sliding, when the direction of described sliding action and the angle of X-axis are for being more than or equal to 165 ° and being less than or equal to-165 °, namely angular range is in the 5th region, and described sliding action is the 3rd type, and the response action corresponding with described 3rd type is slided left for performing, when the direction of described sliding action and the angle of X-axis are for being more than or equal to-105 ° and being less than or equal to-75 °, namely angular range is in SECTOR-SEVEN territory, and described sliding action is the 4th type, and the response action corresponding with described 4th type is for perform slide downward, when the direction of described sliding action and the angle of X-axis are for being greater than 15 ° and being less than 75 °, namely angular range is in second area, and described sliding action is the 5th type, and the response action corresponding with described 5th type is for performing to the right and upward sliding simultaneously, when the direction of described sliding action and the angle of X-axis are for being greater than 105 ° and being less than 165 °, namely angular range is in the 4th region, and described sliding action is the 6th type, and the response action corresponding with described 6th type is for performing left and upward sliding simultaneously, when the direction of described sliding action and the angle of X-axis are for being greater than-165 ° and being less than-105 °, namely angular range is in the 6th region, and described sliding action is the 7th type, and the response action corresponding with described 7th type is perform bottom left and slide downward simultaneously, when the direction of described sliding action and the angle of X-axis are for being greater than-75 ° and being less than-15 °, namely angular range is in Section Eight territory, and described sliding action is the 8th type, and the response action corresponding with described 8th type is for performing to the right and slide downward simultaneously.
Describedly respectively to said method comprising the steps of:
S11: obtain the starting point of a sliding action and the coordinate of end point;
S12: according to the coordinate of described starting point and end point, calculate direction and the X-axis angle of described sliding action; In the present embodiment, when the direction of sliding action and the angle of X-axis are 60 °.
S13: according to described angle, judges the type of described sliding action; Become the sliding action of 60 ° of angles to be in second area with X-axis described in judging, belong to the sliding action of five types.
S14: according to the type of described sliding action, performs and responds action accordingly, namely performs the response action corresponding with described 5th type, namely performs to the right and upward sliding simultaneously.
Such as, in a specific embodiment, the electronic equipment of described sliding action response method application is based on Android system, the method that the current operation to touch-screen uses is such as the onTouchEvent () method utilizing View class, only has a MotionEventevent parameter in this approach, the various actions of touch screen are saved in this type of example, common are: press action, shift action, multipoint touch screen, screen pressure etc., the static constant value of a lot of action is defined in this type of, obtain the action of user operation by event.getAction () method and mate with required action constant value, namely current touch-responsive is obtained by event.getAction () function, event.getAction () is the type of keying, it is the systems approach of MotionEvent class, such as, when upward sliding screen, just this action of response MotionEvent.ACTION_UP, when glide direction meets given interval range, just perform corresponding operation, when slide downward screen, just this action of response MotionEvent.ACTION_DOWN, when glide direction meets given interval range, just performs corresponding operation.Glide direction when determining with starting and ending coordinate for reference point, calculate with this and touch end point relatively and the position of starting point, on the mobile phone of any resolution, can calculate by the method.
What perform touch key-press when being MotionEvent.ACTION_DOWN to event.getAction () state catches operation, and touch key-press catches the reference position of operation, and the concrete acquisition methods of initial touch point coordinate is:
Intx1=event.getX (); // starting point x-axis coordinate
Inty1=event.getY (); // starting point y-axis coordinate
Perform the release of touch key-press when event.getAction () state is MotionEvent.ACTION_UP, end point and the concrete acquisition methods of end point coordinate are:
Intx2=event.getX (); // end point x-axis coordinate
Inty2=event.getY (); // end point y-axis coordinate
Obtain the angle value method of current release and starting point:
PrivateintgetAngle()
{
intx=Math.abs(x2-x1);
inty=Math.abs(y2-y1);
doublez=Math.sqrt(x*x+y*y);
ReturnMath.round((float)(Math.asin(y/z)/Math.PI*180));
}
Namely according to described angle value, judge the type of described sliding action, and execution responds action accordingly.
Preferably, in another specific embodiment, according to the coordinate of described starting point and end point, calculate the displacement of described sliding action; According to type and the displacement of described sliding action, perform and respond action accordingly.Such as in game manipulation, after determining glide direction, then according to the length of sliding action displacement, the amplitude of determining to play manipulation or dynamics, to control more accurately.
Refer to Fig. 2, be shown as sliding action responding system of the present invention modular structure schematic diagram in one embodiment.Be applied to and have in the electronic equipment of touch-screen, described electronic equipment sets up a plane right-angle coordinate according to the shape of described touch-screen, according to the direction of sliding action and the angular range of X-axis, sliding action is divided into polytype, a list is preset in described electronic equipment, store each described type and the response action corresponding with each described type, described responding system comprises: coordinate obtaining module, for the coordinate of the starting point and end point that obtain a sliding action; Angle calcu-lation module, for the coordinate according to described starting point and end point, calculates direction and the X-axis angle of described sliding action; Type judging module, for according to described angle, judges the type of described sliding action; Action executing module, for the type according to described sliding action, performs and responds action accordingly.
Preferably, in a specific embodiment, described sliding action responding system also comprises displacement computing module, for the coordinate according to described starting point and end point, calculates the displacement of described sliding action; Described action executing module, for according to the type of described sliding action and displacement, performs and responds action accordingly.
Preferably, in a specific embodiment, X-direction is made to be right, the direction in 90 ° with X-axis is upper, become with X-axis the direction of 180 ° for left, become with X-axis under the direction of-90 ° is, described response action comprise in following action one or more: execution is slided to the right; Perform upward sliding; Perform and slide left; Perform slide downward; Perform and upward sliding to the right simultaneously; Perform and upward sliding left simultaneously; Perform bottom left and slide downward simultaneously; Perform and slide downward to the right simultaneously.
Preferably, in a specific embodiment, when the direction of described sliding action and the angle of X-axis are for being more than or equal to-15 ° and being less than or equal to 15 °, described sliding action is the first kind, and the response action corresponding with the described first kind is slided to the right for performing; When the direction of described sliding action and the angle of X-axis are more than or equal to 75 ° and are less than or equal to 105 °, described sliding action is Second Type, and the response action corresponding with described Second Type is for perform upward sliding; When the direction of described sliding action and the angle of X-axis are for being more than or equal to 165 ° and being less than or equal to 195 °, described sliding action is the 3rd type, and the response action corresponding with described 3rd type is slided left for performing; When the direction of described sliding action and the angle of X-axis are for being more than or equal to-105 ° and being less than or equal to-75 °, described sliding action is the 4th type, and the response action corresponding with described 4th type is for perform slide downward; When the direction of described sliding action and the angle of X-axis are for being greater than 15 ° and being less than 75 °, described sliding action is the 5th type, and the response action corresponding with described 5th type is for performing to the right and upward sliding simultaneously; When the direction of described sliding action and the angle of X-axis are for being greater than 105 ° and being less than 165 °, described sliding action is the 6th type, and the response action corresponding with described 6th type is for performing left and upward sliding simultaneously; When the direction of described sliding action and the angle of X-axis are for being greater than-165 ° and being less than-105 °, described sliding action is the 7th type, and the response action corresponding with described 7th type is perform bottom left and slide downward simultaneously; When the direction of described sliding action and the angle of X-axis are for being greater than-75 ° and being less than-15 °, described sliding action is the 8th type, and the response action corresponding with described 8th type is for performing to the right and slide downward simultaneously.
Described sliding action responding system know-why is roughly the same with above-mentioned embodiment of the method, and when not conflicting, the feature in said method embodiment all can be applicable to native system embodiment, and therefore to the technical characteristic repeated, it is no longer repeated.
In sum, the sliding action response method of electronic equipment of the present invention and application thereof and system, a plane right-angle coordinate is set up according to the shape of touch-screen, according to the direction of sliding action and the angular range of X-axis, sliding action is divided into polytype, a list is preset in described electronic equipment, store each described type and the response action corresponding with each described type, the type of sliding action is judged according to the sliding action obtained, action is responded accordingly to perform, abundanter to the process of sliding action, and, for multiple sliding action, all there is directly corresponding response, the efficiency of user when operational applications and experience effect can be improved, more meet the operation requirements of user.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.
Claims (10)
1. a sliding action response method, it is characterized in that, be applied to and have in the electronic equipment of touch-screen, described electronic equipment sets up a plane right-angle coordinate according to the shape of described touch-screen, according to the direction of sliding action and the angular range of X-axis, sliding action is divided into polytype, in described electronic equipment, presets a list, store each described type and the response action corresponding with each described type, describedly respectively to said method comprising the steps of:
Obtain the starting point of a sliding action and the coordinate of end point;
According to the coordinate of described starting point and end point, calculate direction and the X-axis angle of described sliding action;
According to described angle, judge the type of described sliding action;
According to the type of described sliding action, perform and respond action accordingly.
2. sliding action response method according to claim 1, is characterized in that:
According to the coordinate of described starting point and end point, calculate the displacement of described sliding action;
According to type and the displacement of described sliding action, perform and respond action accordingly.
3. sliding action response method according to claim 1, is characterized in that:
Make X-direction be right, the direction in 90 ° with X-axis is upper, becomes the direction of 180 ° for left with X-axis, becomes under the direction of-90 ° is with X-axis, described response action comprise in following action one or more:
Perform and slide to the right;
Perform upward sliding;
Perform and slide left;
Perform slide downward;
Perform and upward sliding to the right simultaneously;
Perform and upward sliding left simultaneously;
Perform bottom left and slide downward simultaneously;
Perform and slide downward to the right simultaneously.
4. sliding action response method according to claim 3, is characterized in that:
When the direction of described sliding action and the angle of X-axis are for being more than or equal to-15 ° and being less than or equal to 15 °, described sliding action is the first kind, and the response action corresponding with the described first kind is slided to the right for performing;
When the direction of described sliding action and the angle of X-axis are more than or equal to 75 ° and are less than or equal to 105 °, described sliding action is Second Type, and the response action corresponding with described Second Type is for perform upward sliding;
When the direction of described sliding action and the angle of X-axis are for being more than or equal to 165 ° and being less than or equal to-165 °, described sliding action is the 3rd type, and the response action corresponding with described 3rd type is slided left for performing;
When the direction of described sliding action and the angle of X-axis are for being more than or equal to-105 ° and being less than or equal to-75 °, described sliding action is the 4th type, and the response action corresponding with described 4th type is for perform slide downward;
When the direction of described sliding action and the angle of X-axis are for being greater than 15 ° and being less than 75 °, described sliding action is the 5th type, and the response action corresponding with described 5th type is for performing to the right and upward sliding simultaneously;
When the direction of described sliding action and the angle of X-axis are for being greater than 105 ° and being less than 165 °, described sliding action is the 6th type, and the response action corresponding with described 6th type is for performing left and upward sliding simultaneously;
When the direction of described sliding action and the angle of X-axis are for being greater than-165 ° and being less than-105 °, described sliding action is the 7th type, and the response action corresponding with described 7th type is perform bottom left and slide downward simultaneously;
When the direction of described sliding action and the angle of X-axis are for being greater than-75 ° and being less than-15 °, described sliding action is the 8th type, and the response action corresponding with described 8th type is for performing to the right and slide downward simultaneously.
5. sliding action response method according to claim 1, is characterized in that: the operating system of described electronic equipment is android operating system.
6. a sliding action responding system, it is characterized in that, be applied to and have in the electronic equipment of touch-screen, described electronic equipment sets up a plane right-angle coordinate according to the shape of described touch-screen, according to the direction of sliding action and the angular range of X-axis, sliding action is divided into polytype, in described electronic equipment, presets a list, store each described type and the response action corresponding with each described type, described responding system comprises:
Coordinate obtaining module, for the coordinate of the starting point and end point that obtain a sliding action;
Angle calcu-lation module, for the coordinate according to described starting point and end point, calculates direction and the X-axis angle of described sliding action;
Type judging module, for according to described angle, judges the type of described sliding action;
Action executing module, for the type according to described sliding action, performs and responds action accordingly.
7. sliding action responding system according to claim 6, is characterized in that:
Also comprise displacement computing module, for the coordinate according to described starting point and end point, calculate the displacement of described sliding action;
Described action executing module, for according to the type of described sliding action and displacement, performs and responds action accordingly.
8. sliding action responding system according to claim 6, is characterized in that:
Make X-direction be right, the direction in 90 ° with X-axis is upper, becomes the direction of 180 ° for left with X-axis, becomes under the direction of-90 ° is with X-axis, described response action comprise in following action one or more:
Perform and slide to the right;
Perform upward sliding;
Perform and slide left;
Perform slide downward;
Perform and upward sliding to the right simultaneously;
Perform and upward sliding left simultaneously;
Perform bottom left and slide downward simultaneously;
Perform and slide downward to the right simultaneously.
9. sliding action responding system according to claim 8, is characterized in that:
When the direction of described sliding action and the angle of X-axis are for being more than or equal to-15 ° and being less than or equal to 15 °, described sliding action is the first kind, and the response action corresponding with the described first kind is slided to the right for performing;
When the direction of described sliding action and the angle of X-axis are more than or equal to 75 ° and are less than or equal to 105 °, described sliding action is Second Type, and the response action corresponding with described Second Type is for perform upward sliding;
When the direction of described sliding action and the angle of X-axis are for being more than or equal to 165 ° and being less than or equal to-165 °, described sliding action is the 3rd type, and the response action corresponding with described 3rd type is slided left for performing;
When the direction of described sliding action and the angle of X-axis are for being more than or equal to-105 ° and being less than or equal to-75 °, described sliding action is the 4th type, and the response action corresponding with described 4th type is for perform slide downward;
When the direction of described sliding action and the angle of X-axis are for being greater than 15 ° and being less than 75 °, described sliding action is the 5th type, and the response action corresponding with described 5th type is for performing to the right and upward sliding simultaneously;
When the direction of described sliding action and the angle of X-axis are for being greater than 105 ° and being less than 165 °, described sliding action is the 6th type, and the response action corresponding with described 6th type is for performing left and upward sliding simultaneously;
When the direction of described sliding action and the angle of X-axis are for being greater than-165 ° and being less than-105 °, described sliding action is the 7th type, and the response action corresponding with described 7th type is perform bottom left and slide downward simultaneously;
When the direction of described sliding action and the angle of X-axis are for being greater than-75 ° and being less than-15 °, described sliding action is the 8th type, and the response action corresponding with described 8th type is for performing to the right and slide downward simultaneously.
10. sliding action response method according to claim 6, is characterized in that: the operating system of described electronic equipment is android operating system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510353787.4A CN105045501A (en) | 2015-06-23 | 2015-06-23 | Electronic equipment and sliding action response method and system applied to electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510353787.4A CN105045501A (en) | 2015-06-23 | 2015-06-23 | Electronic equipment and sliding action response method and system applied to electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105045501A true CN105045501A (en) | 2015-11-11 |
Family
ID=54452075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510353787.4A Pending CN105045501A (en) | 2015-06-23 | 2015-06-23 | Electronic equipment and sliding action response method and system applied to electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105045501A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107992251A (en) * | 2017-11-24 | 2018-05-04 | 网易(杭州)网络有限公司 | Technical ability control method, device, electronic equipment and storage medium |
CN108496151A (en) * | 2017-05-23 | 2018-09-04 | 深圳市大疆创新科技有限公司 | Method and apparatus for manipulating movable fixture |
CN108681665A (en) * | 2018-04-08 | 2018-10-19 | 维沃移动通信有限公司 | A kind of operation execution method, device and mobile terminal |
CN111866381A (en) * | 2020-07-08 | 2020-10-30 | Oppo广东移动通信有限公司 | Focusing method, device, equipment and computer readable storage medium |
WO2022247185A1 (en) * | 2021-05-27 | 2022-12-01 | 网易(杭州)网络有限公司 | Operation identification method and apparatus, electronic device, and computer readable medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408824A (en) * | 2008-11-18 | 2009-04-15 | 广东威创视讯科技股份有限公司 | Method for recognizing mouse gesticulation |
US20120007826A1 (en) * | 2010-07-09 | 2012-01-12 | Mitac Research (Shanghai) Ltd. | Touch-controlled electric apparatus and control method thereof |
CN102902483A (en) * | 2012-09-29 | 2013-01-30 | 广东欧珀移动通信有限公司 | Sliding touch method of touch screen |
CN103164050A (en) * | 2011-12-15 | 2013-06-19 | 三星电子株式会社 | Device and method for executing function of portable terminal |
CN103529976A (en) * | 2012-07-02 | 2014-01-22 | 英特尔公司 | Interference elimination in gesture recognition system |
CN104375708A (en) * | 2014-12-02 | 2015-02-25 | 厦门飞游信息科技有限公司 | Touch input event processing method and device |
CN104536659A (en) * | 2014-12-15 | 2015-04-22 | 小米科技有限责任公司 | Target object information processing method and device |
CN104636047A (en) * | 2013-11-07 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Method and device for operating objects in list and touch screen terminal |
-
2015
- 2015-06-23 CN CN201510353787.4A patent/CN105045501A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408824A (en) * | 2008-11-18 | 2009-04-15 | 广东威创视讯科技股份有限公司 | Method for recognizing mouse gesticulation |
US20120007826A1 (en) * | 2010-07-09 | 2012-01-12 | Mitac Research (Shanghai) Ltd. | Touch-controlled electric apparatus and control method thereof |
CN103164050A (en) * | 2011-12-15 | 2013-06-19 | 三星电子株式会社 | Device and method for executing function of portable terminal |
CN103529976A (en) * | 2012-07-02 | 2014-01-22 | 英特尔公司 | Interference elimination in gesture recognition system |
CN102902483A (en) * | 2012-09-29 | 2013-01-30 | 广东欧珀移动通信有限公司 | Sliding touch method of touch screen |
CN104636047A (en) * | 2013-11-07 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Method and device for operating objects in list and touch screen terminal |
CN104375708A (en) * | 2014-12-02 | 2015-02-25 | 厦门飞游信息科技有限公司 | Touch input event processing method and device |
CN104536659A (en) * | 2014-12-15 | 2015-04-22 | 小米科技有限责任公司 | Target object information processing method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108496151A (en) * | 2017-05-23 | 2018-09-04 | 深圳市大疆创新科技有限公司 | Method and apparatus for manipulating movable fixture |
CN107992251A (en) * | 2017-11-24 | 2018-05-04 | 网易(杭州)网络有限公司 | Technical ability control method, device, electronic equipment and storage medium |
CN107992251B (en) * | 2017-11-24 | 2020-04-17 | 网易(杭州)网络有限公司 | Skill control method, skill control device, electronic equipment and storage medium |
CN108681665A (en) * | 2018-04-08 | 2018-10-19 | 维沃移动通信有限公司 | A kind of operation execution method, device and mobile terminal |
CN111866381A (en) * | 2020-07-08 | 2020-10-30 | Oppo广东移动通信有限公司 | Focusing method, device, equipment and computer readable storage medium |
CN111866381B (en) * | 2020-07-08 | 2022-05-10 | Oppo广东移动通信有限公司 | Focusing method, device, equipment and computer readable storage medium |
WO2022247185A1 (en) * | 2021-05-27 | 2022-12-01 | 网易(杭州)网络有限公司 | Operation identification method and apparatus, electronic device, and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105045501A (en) | Electronic equipment and sliding action response method and system applied to electronic equipment | |
CN109445600B (en) | Haptic feedback method, haptic feedback device, haptic feedback terminal, and computer-readable storage medium | |
TWI590147B (en) | Touch modes | |
JP2014203183A (en) | Information processing device and program | |
CN103279295A (en) | Method and device for terminal desktop icon switching | |
US9201587B2 (en) | Portable device and operation method thereof | |
CN105246015A (en) | Electronic device and method and system for detecting loudspeaker sound source thereof | |
CN105302693A (en) | Time management method and system and electronic device | |
CN104360814A (en) | Electronic equipment and unlocking method thereof | |
CN106527955B (en) | Method and device for controlling page sliding | |
CN104808906A (en) | Electronic equipment with touch display screen and touch display screen control method | |
CN105117132A (en) | Touch control method and apparatus | |
CN102768597B (en) | Method and device for operating electronic equipment | |
CN104808936A (en) | Interface operation method and interface operation method applied portable electronic device | |
CN103188362A (en) | System and method for incoming call answer and hangup management | |
CN103927114A (en) | Display method and electronic equipment | |
CN105446598A (en) | Icon position switching method and system, and electronic device | |
CN103370680A (en) | Touch input device, electronic apparatus, and input method | |
CN105549828A (en) | Electronic device with touch display screen and information processing method thereof | |
CN104063142A (en) | Information processing method, device and electronic equipment | |
JP2018139158A (en) | Portable terminal and program | |
US20140267030A1 (en) | Computer and mouse cursor control method | |
CN108021313B (en) | Picture browsing method and terminal | |
CN105892897A (en) | Terminal operation method and equipment | |
US8806381B2 (en) | Method and system to improve GUI use efficiency |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151111 |
|
RJ01 | Rejection of invention patent application after publication |