CN103324329B - A kind of method of toch control and device - Google Patents

A kind of method of toch control and device Download PDF

Info

Publication number
CN103324329B
CN103324329B CN201210080723.8A CN201210080723A CN103324329B CN 103324329 B CN103324329 B CN 103324329B CN 201210080723 A CN201210080723 A CN 201210080723A CN 103324329 B CN103324329 B CN 103324329B
Authority
CN
China
Prior art keywords
area
gesture
control
control command
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210080723.8A
Other languages
Chinese (zh)
Other versions
CN103324329A (en
Inventor
田艳军
高峰
程雪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210080723.8A priority Critical patent/CN103324329B/en
Publication of CN103324329A publication Critical patent/CN103324329A/en
Application granted granted Critical
Publication of CN103324329B publication Critical patent/CN103324329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to touch control field, particularly relate to a kind of method of toch control and device, described method is applied to the electronic equipment with touch screen, and described method includes: touch screen is divided into first area and second area;Wherein, described first area at least has display function, and described second area at least has touch function;Detection user inputs in the gesture of described second area;The object executive control operation that described first area is shown is inputted according to described gesture.In the method that the embodiment of the present invention provides, owing to touch display screen being divided into first area and second area, first area is used for showing image, and user performs gesture operation at second area, thus without the sight line blocking user, user is hindered to watch the image in first area.On the other hand, realize corresponding touch control by detecting the gesture input of user, convenient and swift, improve the experience of user.

Description

A kind of method of toch control and device
Technical field
The present invention relates to touch control field, particularly relate to a kind of method of toch control and device.
Background technology
When using the electronic equipment such as mobile phone, camera, PAD, it is often necessary to perform some with button and control, for instance realize zoom by button, realized file by directionkeys, the amplification of picture, the function such as reduce.To zoom to example, we, when using camera or having the electronic equipment of camera model, are frequently run onto the situation needing that reference object carries out zoom operation.At present, on the electronic equipment with camera model, it is frequently used touch view-finder and carrys out the object that preview to shoot, and realize zoom by button.When user needs to carry out zoom operation, press corresponding function key, namely can realize zooming in or out of focal length.But the mode of this button zoom generally only has limited zoom distance, often by function key next time, performs one section of zoom, mode of operation is relatively coarse, and when user needs saltatory zoom, it is necessary to repeatedly press function key and could realize desirable effect, operate efficient and convenient not.Prior art there is also and a kind of show that bar carries out the mode of zoom touching in view-finder, but when making to carry out zoom in this way, during user operation, finger engaged position relatively greatly, often blocks the preview sight line of user, and user experience is low.
Summary of the invention
For solving above-mentioned technical problem, embodiments provide a kind of method of toch control, it is possible to realize touch control quickly and easily, do not block user's sight line, improve the experience of user.Technical scheme is as follows:
On the one hand, embodiments providing a kind of method of toch control, be applied to electronic equipment, described electronic equipment has touch screen, and described method includes:
Touch screen is divided into first area and second area;Wherein, described first area at least has display function, and described second area at least has touch function;
Detection user inputs in the gesture of described second area;
The object executive control operation that described first area is shown is inputted according to described gesture.
Preferably, the described object executive control operation described first area shown according to the input of described gesture includes:
Corresponding relation according to default gesture input with control instruction, obtains the control instruction corresponding with the input of described gesture;
According to the object executive control operation that described first area is shown by described control instruction.
Preferably, described method also includes:
Detect described first area and the relative position of described second area, obtain testing result;
Described according to the input object executive control operation that described first area is shown of described gesture it is:
The object executive control operation that described first area is shown is inputted according to described testing result and described gesture.
Preferably, described input, according to described testing result and described gesture, the object executive control operation that described first area is shown and be:
When described testing result shows right side or the lower section that described second area is positioned at described first area, the gesture corresponding to first direction according to obtaining inputs, obtain the first control command, according to the object executive control operation that described first area is shown by described first control command;
When described testing result shows left side or the top that described second area is positioned at described first area, the gesture corresponding to second direction according to obtaining inputs, obtain the second control command, according to the object executive control operation that described first area is shown by described second control command;
Wherein, described first direction and described second direction are opposite direction, and described first control command is identical with described second control command.
Preferably, described input, according to described testing result and described gesture, the object executive control operation that described first area is shown and be:
When described testing result shows right side or the lower section that described second area is positioned at described first area, the corresponding relation according to default input gesture Yu control command, obtain the positive control order corresponding with the input of described gesture;According to the object executive control operation that described first area is shown by described positive control order;
When described testing result shows left side or the top that described second area is positioned at described first area, the corresponding relation according to default input gesture Yu control command, obtain the control command that the control command corresponding with the input of described gesture is contrary;According to the object executive control operation that described first area is shown by the control command that the control command that the input of described and described gesture is corresponding is contrary.
Preferably, described according to the input object executive control operation that described first area is shown of described gesture it is:
Obtain the sliding distance that the input of described gesture is corresponding;
Variation coefficient is obtained, according to the object executive control operation that described first area is shown by the variation coefficient obtained according to described sliding distance.
Preferably, the described object executive control operation that described first area is shown includes any one situation following:
The object that described first area is shown performs zoom operation;
The object that described first area is shown performs to zoom in or out operation;
The object that described first area is shown performs page turn over operation;
The object that described first area is shown performs rotation process.
On the other hand, the embodiment of the invention also discloses a kind of touch control device, be applied to electronic equipment, described electronic equipment has touch screen, and described device includes:
Division unit, for being divided into first area and second area by touch screen;Wherein, described first area at least has display function, and described second area at least has touch function;
First detection unit, inputs in the gesture of described second area for detecting user;
Control unit, for inputting the object executive control operation that described first area is shown according to described gesture.
Preferably, described control unit is:
First control unit, for the corresponding relation according to the gesture input preset with control instruction, obtains the control instruction corresponding with the input of described gesture;According to the object executive control operation that described first area is shown by described control instruction.
Preferably, described device also includes:
Second detection unit, for detecting described first area and the relative position of described second area, obtains testing result;
Described control unit is:
Second control unit, for inputting, according to described testing result and described gesture, the object executive control operation that described first area is shown.
Preferably, described second control unit includes:
First controls subelement, for when described testing result shows right side or the lower section that described second area is positioned at described first area, the gesture corresponding to first direction according to obtaining inputs, obtain the first control command, according to the object executive control operation that described first area is shown by described first control command;
Second controls subelement, for when described testing result shows left side or the top that described second area is positioned at described first area, the gesture corresponding to second direction according to obtaining inputs, obtain the second control command, according to the object executive control operation that described first area is shown by described second control command;
Wherein, described first direction and described second direction are opposite direction, and described first control command is identical with described second control command.
Preferably, described second control unit includes:
3rd controls subelement, and for when described testing result shows right side or the lower section that described second area is positioned at described first area, the corresponding relation according to default input gesture Yu control command, acquisition inputs corresponding positive control order with described gesture;According to the object executive control operation that described first area is shown by described positive control order;
4th controls subelement, for when described testing result shows left side or the top that described second area is positioned at described first area, corresponding relation according to default input gesture Yu control command, obtains the control command that the control command corresponding with the input of described gesture is contrary;According to the object executive control operation that described first area is shown by the control command that the control command that the input of described and described gesture is corresponding is contrary.
Preferably, described control unit is:
3rd control unit, the sliding distance corresponding for obtaining the input of described gesture;Variation coefficient is obtained, according to the object executive control operation that described first area is shown by the variation coefficient obtained according to described sliding distance.
Preferably, described control unit includes any one unit following:
4th control unit, performs zoom operation for the object that described first area is shown;
5th control unit, the object for described first area is shown performs to zoom in or out operation;
6th control unit, performs page turn over operation for the object that described first area is shown;
7th control unit, performs rotation process for the object that described first area is shown.
Having the beneficial effect that of the embodiment of the present invention embodiments provides a kind of method of toch control, and touch display screen is divided into first area and second area, detection user gesture input in second area;The object executive control operation that described first area is shown is inputted according to described gesture.Owing to touch display screen being divided into first area and second area, first area is used for showing image, and user performs gesture operation at second area, thus without the sight line blocking user, hinders user to watch the image in first area.On the other hand, realize corresponding touch control by detecting the gesture input of user, convenient and swift, improve the experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is method of toch control first embodiment flow chart provided by the invention;
Fig. 2 is method of toch control provided by the invention second embodiment flow chart;
Fig. 3 is method of toch control the 3rd embodiment flow chart provided by the invention;
The touch control device schematic diagram that Fig. 4 provides for the embodiment of the present invention.
Detailed description of the invention
Embodiments provide a kind of method of toch control, it is possible to realize touch control quickly and easily, do not block user's sight line, improve the experience of user.
In order to make those skilled in the art be more fully understood that the technical scheme in the present invention, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, all should belong to the scope of protection of the invention.
Referring to Fig. 1, for method of toch control first embodiment flow chart provided by the invention.
The method that the embodiment of the present invention provides is applied to the electronic equipment with touch screen, and described electronic equipment can be mobile phone, camera, PAD etc..
S101, is divided into first area and second area by touch screen;Wherein, described first area at least has display function, and described second area at least has touch function.
In embodiments of the present invention, electronic equipment has touch screen, and the touch screen of electronic equipment is divided into first area and second area.Wherein, first area at least has display function, say, that first area is image display area, is used for showing, the information such as preview figure, image, word.Such as, when taking pictures, the first area image for showing, in preview view-finder.And for example, first area can display photos, e-book, video file etc..Wherein, second area at least has touch function, it is possible to accept the touch gestures input of user.Usually, second area is non-image viewing area.Thus, touch screen is divided into image display area and non-image viewing area, so, user can watch in image display area, preview image, and carry out touch operation in non-image viewing area, so, the sight line of user will not be blocked during operation, and convenient and swift.
It will be appreciated by persons skilled in the art that it is master image viewing area that touch screen can also be arranged to first area, second area is sub-picture region.Wherein, sub-picture viewing area is except having touch function, it is possible to have display function, but the object that the object of display shows from first area is different.Concrete, user can at the preview of master image viewing area, viewing viewfinder image, photo, e-book, video etc.;And can show for controlling the contents such as the handle icon of the object in master image viewing area, information in sub-picture viewing area.
S102, detection user inputs in the gesture of described second area.
It is previously noted that second area at least has touch function, it is possible to accept the gesture input of user.User is inputted the object executive control operation of display in first area by gesture in second area.
S103, inputs the object executive control operation that described first area is shown according to described gesture.
After obtaining the gesture input of user, namely input the object executive control operation that first area is shown according to described gesture.Concrete, step S103 specifically can be realized by following steps:
S103A, the corresponding relation according to default gesture input with control instruction, obtain the control instruction corresponding with the input of described gesture.
The corresponding relation of gesture input and control instruction, the control instruction that different gesture inputs is corresponding different can be pre-set.For example, it is possible to when arranging gesture input user being detected for sliding from the top down, corresponding is that the object of display in first area is performed reduction operation;And for example, it is possible to when arranging gesture input user being detected for sliding from bottom to top, corresponding is that the object of display in first area is performed amplifieroperation.The corresponding relation of gesture input and control instruction can be preset by system, it is also possible to is set by User Defined.
Further, in different application scenarios, the gesture input of acquisition can be different from the corresponding relation of control instruction.It is to say, system can first judge the application scenarios residing for electronic equipment, further obtain gesture input with the corresponding relation of control instruction thus the object executive control operation that first area is shown.Such as, when detecting that electronic equipment is in exposal model, then detect that when the gesture of user inputs as sliding from the top down, the control instruction of acquisition can be carried out focal length reduction operation;When detecting that electronic equipment is in viewing electronic book mode, detect that when the gesture of user inputs as sliding from the top down, the control instruction of acquisition can be carried out page turn over operation backward.It is to say, when electronic equipment is in different application scenarios, the control command performing identical gesture input acquisition can be different.
S103B, according to the object executive control operation that described first area is shown by described control instruction.
Concrete, step S103B can include any one situation following:
The object that described first area is shown performs zoom operation;
The object that described first area is shown performs to zoom in or out operation;
The object that described first area is shown performs page turn over operation;
The object that described first area is shown performs rotation process.
More than be the embodiment of the present invention preferred embodiment, the present invention is not for being defined the mode of executive control operation, and other implementations that those skilled in the art obtain under not paying creative work belong to protection scope of the present invention.
In the method that first embodiment of the invention provides, owing to the touch screen of electronic equipment to be divided into first area and second area, first area is used for showing image, second area is used for receiving touch gestures input, by detecting user's gesture input in second area, according to the input of described gesture to the object executive control operation of display in first area, can not blocking the object that user watches, preview first area shows, Consumer's Experience is good.Further, touch input is used to realize controlling operation, convenient and swift.
Referring to Fig. 2, for method of toch control provided by the invention second embodiment flow chart.
S201, is divided into first area and second area by touch screen.
In embodiments of the present invention, electronic equipment has touch screen, and the touch screen of electronic equipment is divided into first area and second area.Wherein, first area at least has display function, say, that first area is image display area, is used for showing, the information such as preview figure, image, word.Wherein, second area at least has touch function, it is possible to accept the touch gestures input of user.
S202, detection user inputs in the gesture of described second area.
It is previously noted that second area at least has touch function, it is possible to accept the gesture input of user.User is inputted the object executive control operation of display in first area by gesture in second area.
Concrete, detection user inputs in the gesture of second area and includes: obtain multiple touch points that the gesture input of user is corresponding, obtains one or more of location coordinate information etc. of direction corresponding to described gesture input, the distance of slip, the location coordinate information of starting point (first touch point that the input of described gesture is corresponding), terminating point (last first touch point that the input of described gesture is corresponding) according to the plurality of touch point.
S203, detects described first area and the relative position of described second area, obtains testing result.
The relative position of first area and second area is particularly as follows: second area is positioned at the right side of first area, left side, top, lower section etc..In second embodiment of the invention, it is possible to by detecting the relative position relation of first area and second area, it is judged that the use habit of user and screen orientation, thus the corresponding control instruction of adaptive adjustment.Such as, when user uses electronic equipment under exposal model, the user of right-handed, laterally disposed for electronic equipment and second area are positioned at the right side of first area by ordinary practice, and such user can use the right hand to perform touch operation at second area easily.And the user of lefthanded, laterally disposed for electronic equipment and second area are positioned at the left side of first area by ordinary practice, and user can use left hand to perform touch operation at second area easily.In order to make user obtain better experience, make the touch gestures operation that user is identical, such as slip from left to right, even if when different use habits, screen orientation difference, also identical operating effect can be reached, at this moment, it is necessary to the relative position relation of detection first area and second area, it is generally possible to according to testing result executive control operation.
It will be appreciated by persons skilled in the art that the order of step S202 and step S203 can perform reversedly, it is also possible to performing, this is not defined by the present invention simultaneously.
S204, inputs, according to described testing result and described gesture, the object executive control operation that described first area is shown.
In order to make user (say it is identical from user perspective in the gesture input that execution is identical, it is all such as slip, from the top down slip etc. from left to right) all can reach identical operating effect at different screen orientations (when first area is different with second area relative position), second embodiment of the invention can pass through to detect the relative position relation of first area and second area, is adaptively adjusted control operation.
Concrete, it is possible to arrange when detecting first area and being different with the relative position relation of second area, the different gesture inputs rule of correspondence with control instruction is set to adjust control instruction.Illustrate with a concrete example below, it will be appreciated by persons skilled in the art that the rule of correspondence that different gesture inputs and control instruction according to actual needs, can be set.Such as, can arrange when detecting that second area is positioned on the right side of first area (" right-handed mode " can also be called), user's slide (for user perspective) from left to right, the control instruction of the gesture namely slided from direction, first area towards second area direction input correspondence is that focal length increases operation;And when detecting that second area is positioned on the left of first area (" left-handed mode " can also be called), user's slide (for user perspective) from left to right, the control command of the gesture input correspondence namely slided from second area to first area is that focal length increases operation.Certainly, the embodiment of the present invention is not limited to examples detailed above, when electronic equipment is laterally disposed, it is also possible to setting user's corresponding control command of sliding from top to bottom as focal length reduction operation, user's corresponding control command of sliding from the bottom up is that focal length increases operation;Equally, it is also possible to contrary setting.Other implementations that those skilled in the art obtain under not paying creative work, belong to protection scope of the present invention.
Optionally, alternatively possible self-adaptative adjustment mode is: when relative position relation first area and second area being detected meets and imposes a condition, and according to default gesture input and the corresponding relation of control instruction, obtains the control instruction contrary with control instruction.It is to say, during screen orientation difference, the control instruction of execution is probably contrary.
Below above two implementation is described in detail.
Concrete, step S204 specifically can be accomplished by:
When described testing result shows right side or the lower section that described second area is positioned at described first area, the gesture corresponding to first direction according to obtaining inputs, obtain the first control command, according to the object executive control operation that described first area is shown by described first control command;When described testing result shows left side or the top that described second area is positioned at described first area, the gesture corresponding to second direction according to obtaining inputs, obtain the second control command, according to the object executive control operation that described first area is shown by described second control command;Wherein, described first direction and described second direction are opposite direction, and described first control command is identical with described second control command.
Citing illustrates, and example is not intended as limitation of the invention.We can pre-set following corresponding relation: (1) when on the right side of second area is positioned at first area or lower section, when detect gesture input direction be slide from direction, first area towards second area direction time, correspondence focal length amplifieroperation;When the direction detecting gesture input is slide from second area direction towards direction, first area, corresponding focal length reduction operation.(2) when on the left of second area is positioned at first area or top, when the direction detecting gesture input is slide from direction, first area towards second area direction, corresponding focal length reduction operation;When the direction detecting gesture input is slide from second area direction towards direction, first area, corresponding focal length amplifieroperation.
To take pictures, when the user with right-handed uses electronic equipment under exposal model, laterally disposed for electronic equipment and second area are positioned at the right side of first area by ordinary practice, at this moment, user performs a slide (for a user) from left to right, is referred to as first gesture input.At this moment system detects that the first direction of first gesture input correspondence is for sliding from direction, first area towards second area direction, at this moment, corresponding relation according to default gesture input with control instruction, the control instruction obtained is for performing focal length amplifieroperation, at this moment, the image that first area is shown performs zoom operation, is specially execution focal length amplifieroperation.And the user of lefthanded, laterally disposed for electronic equipment and second area are positioned at the left side of first area by ordinary practice, at this moment, when user performs an operation slided from left to right equally (for a user), are referred to as second gesture input.At this moment system detects that the second direction of second gesture input correspondence is for sliding from second area direction towards direction, first area, at this moment, corresponding relation according to default gesture input with control instruction, the control instruction obtained is for performing focal length amplifieroperation, at this moment, image first area shown performs focal length amplifieroperation.Can be seen that from examples detailed above, user is (corresponding first area is different with the relative position of second area) under different operating habits, execution gesture inputs, although first direction and second direction are rightabout, the first control command performed is identical with the second control command, has reached identical control effect.Visible, the method that the embodiment of the present invention provides can pass through to detect the relative position relation of first area and second area, the corresponding control instruction of adaptive adjustment so that gesture input identical in the angle of user, it is possible to reach identical control effect.
The implementation of step S204 another possibility is:
When described testing result shows right side or the lower section that described second area is positioned at described first area, the corresponding relation according to default input gesture Yu control command, obtain the positive control order corresponding with the input of described gesture;According to the object executive control operation that described first area is shown by described positive control order;When described testing result shows left side or the top that described second area is positioned at described first area, the corresponding relation according to default input gesture Yu control command, obtain the control command that the control command corresponding with the input of described gesture is contrary;According to the object executive control operation that described first area is shown by the control command that the control command that the input of described and described gesture is corresponding is contrary.
Here, pre-set gesture input and the corresponding relation of control instruction, be positioned on the right side of first area or during lower section when detecting second area, perform the control instruction identical with described control instruction and positive control instruction;It is positioned on the left of first area or during top when detecting second area, performs the control instruction contrary with described control instruction and revertive control instruction.So so that the user of different use habits, perform the gesture from user perspective read fortune is same to input, it is possible to reach identical control effect.
Citing illustrates, and we can pre-set following corresponding relation: when the direction of (1) detection gesture input is for sliding from direction, first area towards second area direction, corresponding focal length amplifieroperation;(2) when the direction detecting gesture input is slide from second area direction towards direction, first area, corresponding focal length reduction operation.
To take pictures, when the user with right-handed uses electronic equipment under exposal model, laterally disposed for electronic equipment and second area are positioned at the right side of first area by ordinary practice, at this moment, user performs a slide (for a user) from left to right, is referred to as first gesture input.At this moment system detects that the first direction of first gesture input correspondence is for sliding from direction, first area towards second area direction, at this moment, corresponding relation according to default gesture input with control instruction, the control instruction obtained is that namely positive control instruction performs focal length amplifieroperation, and the object that at this moment first area is shown by system performs focal length amplifieroperation.And the user of lefthanded, laterally disposed for electronic equipment and second area are positioned at the left side of first area by ordinary practice, at this moment, when user performs an operation slided from left to right equally (for a user), are referred to as second gesture input.At this moment system detects that the second direction of second gesture input correspondence is for sliding from second area direction towards direction, first area, at this moment, corresponding relation according to default gesture input with control instruction, the control instruction of this gesture input correspondence is for performing focal length reduction operation, at this moment we obtain the control instruction contrary with this control instruction and focal length amplifieroperation, and the display object of first area is performed focal length amplifieroperation.Can be seen that from examples detailed above, the method that the embodiment of the present invention provides can pass through to detect the relative position relation of first area and second area, the corresponding control instruction of adaptive adjustment so that gesture input identical in the angle of user, it is possible to reach identical control effect.
In the method that second embodiment of the invention provides, it is possible to for the user of different use habits, when performing identical gesture input, adaptive adjustment control instruction so that it is identical control effect can be obtained.Concrete, it is the relative position relation by detecting first area and second area, by different gesture inputs and the corresponding relation of control instruction or perform different control instructions, thus the display object executive control operation to first area.In second embodiment of the invention, it is possible to according to the use habit that user is different, detection electronic equipment is in " left-handed mode " or " right-handed mode " and carrys out adaptive adjustment control operation, makes user obtain better experience.
In embodiments of the present invention, when electronic equipment is in different application scenarios, the control operation inputting the object execution that first area is shown according to the gesture obtained can be different.Such as, when electronic equipment is in exposal model, what the object that first area is shown performed can be zoom operation;When electronic equipment is in and browses electronic book mode, what the object that first area is shown performed can be page turn over operation;When electronic equipment is in browsing pictures pattern, what object that first area is shown performed can be amplifies, reduce, rotation etc. operates;When electronic equipment is in viewing video mode, what the object that first area is shown performed can be F.F., back operation.
When being in exposal model with electronic equipment below, the object that first area is shown performs zoom operation and method provided by the invention is described in detail.
Referring to Fig. 3, for inventive touch control method the 3rd embodiment flow chart.
S301, is divided into first area and second area by touch screen.
In embodiments of the present invention, electronic equipment has touch screen, and the touch screen of electronic equipment is divided into first area and second area.Wherein, first area at least has display function, say, that first area is image display area, is used for showing, the information such as preview figure, image, word.Wherein, second area at least has touch function, it is possible to accept the touch gestures input of user.
S302, detects described first area and the relative position of described second area, obtains testing result.
Identical with the second embodiment, when second area is positioned at right side or the lower section of first area, we can be referred to as " right-handed mode ";When second area is positioned at left side or the top of first area, we can be referred to as " left-handed mode ".
S303, detection user inputs in the gesture of described second area, obtains the multiple touch points inputted corresponding to described gesture.
Obtaining the positional information of each touch point, described positional information can be the coordinate of touch point.
S304, the positional information according to the plurality of touch point, obtain the first direction inputted corresponding to described gesture.
S305, according to described first direction and described testing result, obtains the first control instruction.
Concrete, system can pre-set the corresponding relation of gesture input and control command.Such as, when user is in " right-handed mode ", it is possible to arrange when the direction detecting gesture input is slide from direction, first area towards second area direction, corresponding focal length amplifieroperation;When the direction detecting gesture input is slide from second area direction towards direction, first area, corresponding focal length reduction operation.(2) when on the left of second area is positioned at first area or top, when the direction detecting gesture input is slide from direction, first area towards second area direction, corresponding focal length reduction operation;When the direction detecting gesture input is slide from second area direction towards direction, first area, corresponding focal length amplifieroperation.
Input corresponding direction by the first area detected with the relative position relation of second area and gesture, obtain corresponding control instruction.
S306, the position according to the plurality of touch point, obtain the sliding distance of described gesture input, obtain variation coefficient according to described sliding distance.
The positional information of the positional information according to the first touch point and last touch point, obtains the distance that gesture input is slided.In this embodiment of the present invention, variation coefficient is the increment of the distance slided.Namely from position L1Slide into LX, the increment Delta L of distance change.
S307, according to described variation coefficient, performs zoom operation to the object of first area according to the first control instruction.
The length assuming first area is L, and what corresponding focal length was maximum ranges for Fa, and electronic equipment is F when front focal length1, then from optional position L1Slide into LX, focal length F after the change of acquisitionXFor:
FX=F1+(LX-L1)*Fa/L(1)
The focal length after conversion can be obtained according to formula 1.
Optionally, it is also possible to perform zoom operation by calculating Δ F, wherein,
Δ F=Δ L*Fa/L (2)
As such, it is possible to according to the first control instruction, increase or reduce F step size controlling electronic equipment execution zoom operation of Δ.
In the method that third embodiment of the invention provides, it is possible to the gesture input according to user realizes stepless zooming rapidly, convenient and swift, and user performs operation at second area, does not block the display image of first area, therefore can obtain good experience.
In fourth embodiment of the invention, when user is in and browses e-book state, it is also possible to according to the direction of user's gesture input correspondence, distance, obtain variation coefficient, perform page turn over operation.Such as, slide as performing page turn over operation backward from the top down, slide from bottom to top as performing Page forward operation.
In fifth embodiment of the invention, when user is in browsing pictures state, browses e-book, it is also possible to according to the direction of user's gesture input correspondence, distance, obtain variation coefficient, perform amplification, reduction operation.Such as, sliding from the top down is reduction operation, slides as amplifieroperation from bottom to top.Concrete, it is possible to obtain distance corresponding to gesture input to obtain variation coefficient, it is determined that amplification, reduced scale.
In an alternative embodiment of the invention, it is also possible to inputted by the gesture at second area, the display object of first area is performed rotation process, performs video fast forward, back operation etc..
It will be appreciated by persons skilled in the art that and these are only present pre-ferred embodiments that other embodiments that those skilled in the art obtain under not paying creative work belong to protection scope of the present invention.
Referring to Fig. 4, for embodiment of the present invention touch control device schematic diagram.
A kind of touch control device, is applied to electronic equipment, and described electronic equipment has touch screen, and described device includes:
Division unit 401, for being divided into first area and second area by touch screen;Wherein, described first area at least has display function, and described second area at least has touch function.
First detection unit 402, inputs in the gesture of described second area for detecting user.
Control unit 403, for inputting the object executive control operation that described first area is shown according to described gesture.
Preferably, described control unit is the first control unit, for the corresponding relation according to the gesture input preset with control instruction, obtains the control instruction corresponding with the input of described gesture;According to the object executive control operation that described first area is shown by described control instruction.
Preferably, described device also includes:
Second detection unit, for detecting described first area and the relative position of described second area, obtains testing result;
At this moment, described control unit is the second control unit, for inputting, according to described testing result and described gesture, the object executive control operation that described first area is shown.
Preferably, described second control unit includes:
First controls subelement, for when described testing result shows right side or the lower section that described second area is positioned at described first area, the gesture corresponding to first direction according to obtaining inputs, obtain the first control command, according to the object executive control operation that described first area is shown by described first control command.
Second controls subelement, for when described testing result shows left side or the top that described second area is positioned at described first area, the gesture corresponding to second direction according to obtaining inputs, obtain the second control command, according to the object executive control operation that described first area is shown by described second control command.
Wherein, described first direction and described second direction are opposite direction, and described first control command is identical with described second control command.
Preferably, described second control unit includes:
3rd controls subelement, and for when described testing result shows right side or the lower section that described second area is positioned at described first area, the corresponding relation according to default input gesture Yu control command, acquisition inputs corresponding positive control order with described gesture;According to the object executive control operation that described first area is shown by described positive control order.
4th controls subelement, for when described testing result shows left side or the top that described second area is positioned at described first area, corresponding relation according to default input gesture Yu control command, obtains the control command that the control command corresponding with the input of described gesture is contrary;According to the object executive control operation that described first area is shown by the control command that the control command that the input of described and described gesture is corresponding is contrary.
Preferably, described control unit is:
3rd control unit, the sliding distance corresponding for obtaining the input of described gesture;Variation coefficient is obtained, according to the object executive control operation that described first area is shown by the variation coefficient obtained according to described sliding distance.
Preferably, described control unit includes any one unit following:
4th control unit, performs zoom operation for the object that described first area is shown.
5th control unit, the object for described first area is shown performs to zoom in or out operation.
6th control unit, performs page turn over operation for the object that described first area is shown.
7th control unit, performs rotation process for the object that described first area is shown.
It should be noted that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
The present invention can described in the general context of computer executable instructions, for instance program module.Usually, program module includes performing particular task or realizing the routine of particular abstract data type, program, object, assembly, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these distributed computing environment, the remote processing devices connected by communication network perform task.In a distributed computing environment, program module may be located in the local and remote computer-readable storage medium including storage device.
The above is only the specific embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also making some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (6)

1. a method of toch control, it is characterised in that be applied to electronic equipment, described electronic equipment has touch screen, and described method includes:
Touch screen is divided into first area and second area;Wherein, described first area at least has display function, and described second area at least has touch function;
Detection user inputs in the gesture of described second area;
Detect described first area and the relative position of described second area, obtain testing result;
The object executive control operation that described first area is shown is inputted according to described gesture;
Wherein, the described object executive control operation described first area shown according to the input of described gesture includes:
When described testing result shows right side or the lower section that described second area is positioned at described first area, the gesture corresponding to first direction according to obtaining inputs, obtain the first control command, according to the object executive control operation that described first area is shown by described first control command;
When described testing result shows left side or the top that described second area is positioned at described first area, the gesture corresponding to second direction according to obtaining inputs, obtain the second control command, according to the object executive control operation that described first area is shown by described second control command;
Wherein, described first direction and described second direction are opposite direction, and described first control command is identical with described second control command;
Or, when described testing result shows right side or the lower section that described second area is positioned at described first area, the corresponding relation according to default input gesture Yu control command, obtain the positive control order corresponding with the input of described gesture;According to the object executive control operation that described first area is shown by described positive control order;
When described testing result shows left side or the top that described second area is positioned at described first area, the corresponding relation according to default input gesture Yu control command, obtain the control command that the control command corresponding with the input of described gesture is contrary;According to the object executive control operation that described first area is shown by the control command that the control command that the input of described and described gesture is corresponding is contrary.
2. method according to claim 1, it is characterised in that the described object executive control operation described first area shown according to described first control command includes: obtain the sliding distance that the input of described gesture is corresponding;
Variation coefficient is obtained, according to the object executive control operation that described first area is shown by the variation coefficient obtained and described first control instruction according to described sliding distance.
3. method according to claim 1, it is characterised in that the described object executive control operation that described first area is shown includes any one situation following:
The object that described first area is shown performs zoom operation;
The object that described first area is shown performs to zoom in or out operation;
The object that described first area is shown performs page turn over operation;
The object that described first area is shown performs rotation process.
4. a touch control device, it is characterised in that be applied to electronic equipment, described electronic equipment has touch screen, and described device includes:
Division unit, for being divided into first area and second area by touch screen;Wherein, described first area at least has display function, and described second area at least has touch function;
First detection unit, inputs in the gesture of described second area for detecting user;
Second detection unit, for detecting described first area and the relative position of described second area, obtains testing result
Control unit, for inputting the object executive control operation that described first area is shown according to described gesture;
Wherein, described control unit includes:
First controls subelement, for when described testing result shows right side or the lower section that described second area is positioned at described first area, the gesture corresponding to first direction according to obtaining inputs, obtain the first control command, according to the object executive control operation that described first area is shown by described first control command;
Second controls subelement, for when described testing result shows left side or the top that described second area is positioned at described first area, the gesture corresponding to second direction according to obtaining inputs, obtain the second control command, according to the object executive control operation that described first area is shown by described second control command;
Wherein, described first direction and described second direction are opposite direction, and described first control command is identical with described second control command;Or,
3rd controls subelement, and for when described testing result shows right side or the lower section that described second area is positioned at described first area, the corresponding relation according to default input gesture Yu control command, acquisition inputs corresponding positive control order with described gesture;According to the object executive control operation that described first area is shown by described positive control order;
4th controls subelement, for when described testing result shows left side or the top that described second area is positioned at described first area, corresponding relation according to default input gesture Yu control command, obtains the control command that the control command corresponding with the input of described gesture is contrary;According to the object executive control operation that described first area is shown by the control command that the control command that the input of described and described gesture is corresponding is contrary.
5. device according to claim 4, it is characterised in that described first control subelement specifically for:
Obtain the sliding distance that the input of described gesture is corresponding;Variation coefficient is obtained, according to the object executive control operation that described first area is shown by the variation coefficient obtained and described first control instruction according to described sliding distance.
6. device according to claim 4, it is characterised in that described control unit includes any one unit following:
4th control unit, performs zoom operation for the object that described first area is shown;
5th control unit, the object for described first area is shown performs to zoom in or out operation;
6th control unit, performs page turn over operation for the object that described first area is shown;
7th control unit, performs rotation process for the object that described first area is shown.
CN201210080723.8A 2012-03-23 2012-03-23 A kind of method of toch control and device Active CN103324329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210080723.8A CN103324329B (en) 2012-03-23 2012-03-23 A kind of method of toch control and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210080723.8A CN103324329B (en) 2012-03-23 2012-03-23 A kind of method of toch control and device

Publications (2)

Publication Number Publication Date
CN103324329A CN103324329A (en) 2013-09-25
CN103324329B true CN103324329B (en) 2016-07-06

Family

ID=49193126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210080723.8A Active CN103324329B (en) 2012-03-23 2012-03-23 A kind of method of toch control and device

Country Status (1)

Country Link
CN (1) CN103324329B (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866081A (en) * 2014-02-25 2015-08-26 中兴通讯股份有限公司 Terminal operation method and device as well as terminal
CN104915132A (en) * 2014-03-12 2015-09-16 联想(北京)有限公司 Information processing method and equipment
CN104407753A (en) * 2014-10-31 2015-03-11 东莞宇龙通信科技有限公司 Operation method of touch screen interface and terminal equipment
CN105677193A (en) * 2014-11-18 2016-06-15 夏普株式会社 Object operation method and electronic equipment
EP3286915B1 (en) 2015-04-23 2021-12-08 Apple Inc. Digital viewfinder user interface for multiple cameras
CN104793749B (en) * 2015-04-30 2018-11-30 小米科技有限责任公司 Intelligent glasses and its control method, device
CN104932817B (en) * 2015-05-27 2018-10-02 努比亚技术有限公司 The method and apparatus of terminal side frame induction interaction
WO2016191938A1 (en) * 2015-05-29 2016-12-08 华为技术有限公司 Method for adjusting photographing focus of mobile terminal through touch control panel and mobile terminal
CN106325721A (en) * 2015-06-18 2017-01-11 联想移动通信软件(武汉)有限公司 Operation method and device for sensing areas on terminal touch screen and terminal
KR20170014356A (en) * 2015-07-29 2017-02-08 엘지전자 주식회사 Mobile terminal and method of controlling the same
CN105515952B (en) * 2015-12-17 2019-03-08 小米科技有限责任公司 Method of sending message in multimedia and device
US10009536B2 (en) 2016-06-12 2018-06-26 Apple Inc. Applying a simulated optical effect based on data received from multiple camera sensors
WO2018066026A1 (en) * 2016-10-03 2018-04-12 三菱電機株式会社 Device for changing autonomous driving control parameters and method for changing autonomous driving control parameters
CN106502561A (en) * 2016-10-12 2017-03-15 乐视控股(北京)有限公司 Terminal operation method and device
DK180859B1 (en) 2017-06-04 2022-05-23 Apple Inc USER INTERFACE CAMERA EFFECTS
CN107728923B (en) * 2017-10-20 2020-11-03 维沃移动通信有限公司 Operation processing method and mobile terminal
CN108494958B (en) * 2018-03-15 2021-01-08 维沃移动通信有限公司 Image processing method and flexible screen terminal
US11722764B2 (en) 2018-05-07 2023-08-08 Apple Inc. Creative camera
US10375313B1 (en) 2018-05-07 2019-08-06 Apple Inc. Creative camera
US11770601B2 (en) 2019-05-06 2023-09-26 Apple Inc. User interfaces for capturing and managing visual media
US10674072B1 (en) 2019-05-06 2020-06-02 Apple Inc. User interfaces for capturing and managing visual media
US11128792B2 (en) 2018-09-28 2021-09-21 Apple Inc. Capturing and displaying images with multiple focal planes
US11321857B2 (en) 2018-09-28 2022-05-03 Apple Inc. Displaying and editing images with depth information
US11706521B2 (en) 2019-05-06 2023-07-18 Apple Inc. User interfaces for capturing and managing visual media
US11054973B1 (en) 2020-06-01 2021-07-06 Apple Inc. User interfaces for managing media
US11212449B1 (en) 2020-09-25 2021-12-28 Apple Inc. User interfaces for media capture and management
CN112445148A (en) * 2020-12-08 2021-03-05 厦门立林科技有限公司 User-defined key control method with display screen and device thereof
CN113259615A (en) * 2021-04-01 2021-08-13 海南视联通信技术有限公司 Focal length adjusting method and device, terminal equipment and storage medium
US11778339B2 (en) 2021-04-30 2023-10-03 Apple Inc. User interfaces for altering visual media
US11539876B2 (en) 2021-04-30 2022-12-27 Apple Inc. User interfaces for altering visual media

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101432677A (en) * 2005-03-04 2009-05-13 苹果公司 Electronic device having display and surrounding touch sensitive bezel for user interface and control
CN101911006A (en) * 2007-10-24 2010-12-08 造型逻辑有限公司 Electronic document reader
CN102279699A (en) * 2010-06-08 2011-12-14 索尼公司 Information processing apparatus, information processing method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010262557A (en) * 2009-05-11 2010-11-18 Sony Corp Information processing apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101432677A (en) * 2005-03-04 2009-05-13 苹果公司 Electronic device having display and surrounding touch sensitive bezel for user interface and control
CN101911006A (en) * 2007-10-24 2010-12-08 造型逻辑有限公司 Electronic document reader
CN102279699A (en) * 2010-06-08 2011-12-14 索尼公司 Information processing apparatus, information processing method, and program

Also Published As

Publication number Publication date
CN103324329A (en) 2013-09-25

Similar Documents

Publication Publication Date Title
CN103324329B (en) A kind of method of toch control and device
US9270889B2 (en) Electronic device and camera switching method thereof
US9015618B2 (en) Methods and apparatus for processing application windows
US8723988B2 (en) Using a touch sensitive display to control magnification and capture of digital images by an electronic device
US20140165013A1 (en) Electronic device and page zooming method thereof
TWI441051B (en) Electronic device and information display method thereof
US20130152024A1 (en) Electronic device and page zooming method thereof
US9170728B2 (en) Electronic device and page zooming method thereof
EP2722748A2 (en) Method and apparatus for displaying data in terminal
US20130208163A1 (en) Camera shutter key display apparatus and method
US9557904B2 (en) Information processing apparatus, method for controlling display, and storage medium
US20130106842A1 (en) Information processing apparatus, information processing method, and program
US20130120289A1 (en) Information processing apparatus and method of controlling same
TW201525843A (en) Method, apparatus and computer program product for zooming and operating screen frame
WO2017059734A1 (en) Image zoom in/out method and electronic device
US20140043255A1 (en) Electronic device and image zooming method thereof
CN104461312A (en) Display control method and electronic equipment
US20120124468A1 (en) Electronic Apparatus Having a Touch-Controlled Interface and Method of Displaying Figures Related to Files within a certain Time Period
DE112008003689B4 (en) User interface for a mobile device
CN109413325B (en) Camera control method based on flexible screen and mobile terminal
US9277117B2 (en) Electronic apparatus including a touch panel and control method thereof for reducing erroneous operation
KR101083158B1 (en) Contents conversion method for mobile terminal with touch screen
CN104063111A (en) Information processing method and electronic equipment
KR101520812B1 (en) Apparatus and method for providing items based on scrolling
CN112486449A (en) Display control method, display control device, electronic device, and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant