CN107395995A - Mobile terminal and its rotating camera control method - Google Patents
Mobile terminal and its rotating camera control method Download PDFInfo
- Publication number
- CN107395995A CN107395995A CN201710859771.XA CN201710859771A CN107395995A CN 107395995 A CN107395995 A CN 107395995A CN 201710859771 A CN201710859771 A CN 201710859771A CN 107395995 A CN107395995 A CN 107395995A
- Authority
- CN
- China
- Prior art keywords
- contact
- contacts
- horizontal direction
- rotary speed
- distance
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000001514 detection method Methods 0.000 claims abstract description 27
- 238000004364 calculation method Methods 0.000 claims abstract description 19
- 230000008569 process Effects 0.000 claims description 8
- 230000008859 change Effects 0.000 abstract description 3
- 230000007547 defect Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 5
- 230000003321 amplification Effects 0.000 description 4
- 238000003199 nucleic acid amplification method Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 208000026817 47,XYY syndrome Diseases 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Abstract
The present invention relates to technical field of mobile terminals, and the present invention provides a kind of mobile terminal and its rotating camera control method, control method comprise the following steps:Detect the number of the contact panel upper contact of mobile terminal;When the number for detecting contact panel upper contact is two, the distance of two contacts of detection in the horizontal direction;The rotary speed of camera is obtained according to the width calculation of the distance and contact panel of two contacts in the horizontal direction in the horizontal direction;When detecting two contact wipes, control camera with rotary speed rotate up to when two contacts disappear and stopped operating, when two contacts distance change in the horizontal direction, the rotary speed of camera can arbitrarily be adjusted, solves the defects of can only currently being rotated by gesture control camera with single speed, facilitate user to be operated, improve the usage experience of user.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of mobile terminal method and its rotating camera control
Method.
Background technology
At present, the rotatable camera of in the market has two kinds of implementations.One is can be manually rotated, such rotatable shooting
Motor, the angle of its uncontrollable rotation are not provided with head;Secondly rotated to be automatic, it is electronic built in such rotatable camera
Motor, the method that electro-motor rotates can be controlled to control the angle that camera rotates by control chip.Above two is existing
Technology can only all be rotated with single speed, i.e. the speed of the uncontrollable camera rotation of user, in summary, existing skill
The problem of speed of the uncontrollable camera rotation of user in art be present.
The content of the invention
It is an object of the invention to provide a kind of mobile terminal method and its rotating camera control method, it is intended to solves pin
To the problem of speed of the uncontrollable camera rotation of user in the prior art be present.
The present invention is achieved in that first aspect provides a kind of rotating camera control method of mobile terminal, described
Control method comprises the following steps:
A. the number of the contact panel upper contact of the mobile terminal is detected;
B. when the number for detecting the contact panel upper contact is two, two contacts of detection are in the horizontal direction
Distance, wherein, the distance of two contacts of the detection in the horizontal direction includes:Measure two contacts in the horizontal direction respectively
Coordinate, obtain the difference of two contacts coordinate in the horizontal direction;
C. the width of distance and the contact panel in the horizontal direction according to described two contacts in the horizontal direction
Calculate the rotary speed for obtaining the camera;
D. when detecting described two contact wipes, the camera is controlled to be rotated up to the rotary speed
Described two contacts stop operating when disappearing.
Touched with reference in a first aspect, detecting two in the first possible implementation of first aspect, in the step B
Point in the horizontal direction apart from the step of before also include:
Judge whether the distance of described two contact in the vertical directions is less than preset value, be then to detect described two touch
The distance of point in the horizontal direction, it is no, then digital zoom is carried out to the image shown on the contact panel.
With reference in a first aspect, in second of possible implementation of first aspect, the step C is specially:
Calculate the distance of described two contacts in the horizontal direction and the width of the contact panel in the horizontal direction it
Between ratio to obtain rotary speed index;
Obtained and the rotary speed according to the corresponding relation between the rotary speed index and rotary speed prestored
The corresponding rotary speed of index.
With reference in a first aspect, in the third possible implementation of first aspect, the step D is specially:
Calculate the coordinate and initial position of the current sliding position in the vertical direction of any contact in described two contacts
The difference of the coordinate of in the vertical direction;
When the difference is more than 0, judges that contact is slided to the positive direction of vertical direction, control the rotating camera to press
Rotated according to first direction;
When the difference is less than 0, judges that contact is slided to the negative direction of vertical direction, control the rotating camera to press
Rotated according to second direction.
With reference in a first aspect, in the 4th kind of possible implementation of first aspect, also include after the step A:
When the number for detecting contact panel upper contact is 1, and when the contact wipe, the rotation is controlled to take the photograph
As head is rotated according to predetermined speed.
Second aspect of the present invention provides a kind of mobile terminal, and the mobile terminal includes:
Number of contacts detection module, for detecting the number of contact panel upper contact;
Contact spacing detection module, for when the number for detecting contact panel upper contact is two, detecting two and touching
The distance of point in the horizontal direction, wherein, the distance of two contacts of the detection in the horizontal direction includes:Two are measured respectively
The coordinate of contact in the horizontal direction, obtain the difference of the coordinate of two contacts in the horizontal direction;
Speed calculation module, for according to described two contacts distance in the horizontal direction and the contact panel in water
Square upward width calculation obtains the rotary speed of the camera;
Control module, for when detecting described two contact wipes, controlling the camera with the rotary speed
Rotate up to when described two contacts disappear and stop operating.
With reference to second aspect, in the first possible implementation of second aspect, the contact distance detection module
It is additionally operable to judge whether the distance of described two contact in the vertical directions is less than preset value;
When judged result for when being, the contact distance detection module detects described two contacts in the horizontal direction again
Distance;
When judged result is no, the control module carries out digital zoom to the image shown on the contact panel.
With reference to second aspect, in second of possible implementation of second aspect, the speed calculation module according to
The width calculation of the distance and the contact panel of described two contacts in the horizontal direction in the horizontal direction is taken the photograph described in obtaining
As the process of the rotary speed of head is specially:
Calculate the distance of described two contacts in the horizontal direction and the width of the contact panel in the horizontal direction it
Between ratio to obtain rotary speed index;
Obtained and the rotary speed according to the corresponding relation between the rotary speed index and rotary speed prestored
The corresponding rotary speed of index.
With reference to second aspect, in the third possible implementation of second aspect, the control module is used for when inspection
The camera is controlled to carry out rotating up to described two contacts with the rotary speed and disappear when measuring described two contact wipes
The process to be stopped operating during mistake is specially:
Calculate the coordinate and initial position of the current sliding position in the vertical direction of any contact in described two contacts
The difference of the coordinate of in the vertical direction;
When the difference is more than 0, judges that contact is slided to the positive direction of vertical direction, control the rotating camera to press
Rotated according to first direction;
When the difference is less than 0, judges that contact is slided to the negative direction of vertical direction, control the rotating camera to press
Rotated according to second direction.
With reference to second aspect, in the 4th kind of possible implementation of second aspect, the control module is additionally operable to work as
When the number for detecting contact panel upper contact is 1, and when the contact wipe, the rotating camera is controlled according to pre-
Fixed speed is rotated.
Mobile terminal provided by the invention and its rotating camera control method, existed according to two contacts on contact panel
The width calculation of distance and contact panel in the horizontal direction in horizontal direction obtains the rotary speed of camera, is touched when two
When putting distance change in the horizontal direction, the rotary speed of camera can be arbitrarily adjusted, is solved currently by gesture control
The defects of camera processed can only be rotated with single speed, facilitates user and is operated, improve the usage experience of user.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of flow chart of the rotating camera control method for mobile terminal that an embodiment of the present invention provides;
Fig. 2 is a kind of structural representation for mobile terminal that another embodiment of the present invention provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In order to illustrate technical scheme, illustrated below by specific embodiment.
An embodiment of the present invention provides a kind of rotating camera control method of mobile terminal, as shown in figure 1, controlling party
Method comprises the following steps:
The number of the contact panel upper contact of step S101. detection mobile terminals.
In the present embodiment, mobile terminal can be electronic installation that is arbitrary, being communicated with other equipment, including but
It is not limited to:PC, handheld device, electronic plane, personal digital assistant (PDA), mobile phone, network home appliance, camera,
Video camera, smart mobile phone, network base station, media player, navigation equipment, electronic mail equipment, game station, automated information
The combination of system (such as entertainment systems with control panel) and aforementioned device.
Wherein, contact panel refers to the display screen of mobile terminal, for being realized according to user in the instruction that screen slides over
The function that user needs.
It should be noted that the finger that the contact formed on contact panel can be user is touched contact panel and formed,
Can also be used to be formed on contact panel using stylus or other touch-control parts.
When the number for detecting contact panel upper contact is 1, and when the contact wipe, the rotation is controlled to take the photograph
As head is rotated according to predetermined speed.
For step S102. when the number for detecting contact panel upper contact is two, two contacts of detection are in the horizontal direction
On distance, wherein, two contacts of detection distance in the horizontal direction includes:Two contacts are measured respectively in level side
Upward coordinate, obtain the difference of the coordinate of two contacts in the horizontal direction.
Specifically, in this step, can be by measuring the coordinate of two contacts in the horizontal direction, such as two respectively
The coordinate of contact is X1 and X2 respectively, then the difference for obtaining X1 and X2 is △ X, difference be △ X be two contacts in the horizontal direction
On distance.
Further, in step S102 detect two contacts in the horizontal direction apart from the step of before also include:
Judge whether the distance of two contact in the vertical directions is less than preset value, be, then detect two contacts in level
Distance on direction, it is no, then digital zoom is carried out to the image shown on contact panel.
Specifically, in this step, because the distance increase in mobile terminal on contact panel between double fingers is amplification
The gesture of picture, therefore, in order to prevent maloperation, upon start, double Y-coordinate referred to are detected, if the difference of Y-coordinate is less than in advance
If value, it is determined that for control rotating camera, if Y-coordinate differs by more than preset value, be judged as that amplification picture i.e. numeral becomes
It is burnt.
It should be noted that not allowing picture to amplify in camera rotary course, i.e., digital zoom is in rotary course
Forbid.
Distance and contact panel width gauges in the horizontal direction of the step S103. according to two contacts in the horizontal direction
Calculate the rotary speed for obtaining camera;
Step S103 is specially:
Step S1031. calculates the distance of two contacts in the horizontal direction and the width of contact panel in the horizontal direction
Between ratio to obtain rotary speed index.
Specifically, in this step, pass through two contacts distance △ X in the horizontal direction and the ratio of contact panel width
Rotary speed index R is worth to, wherein, rotary index R is a numeral less than 1, and the numeral can directly react camera
Rotary speed.
Step S1032. is obtained according to the corresponding relation between the rotary speed index and rotary speed prestored and rotation
The corresponding rotary speed of rotary speed index.
Specifically, in this step, it can be listed by the form of list between rotary speed index and rotary speed
Corresponding relation, in the corresponding relation, rotary speed index R is bigger closer to 1, then rotary speed is faster, if rotary speed
Index R is close to zero, then rotary speed is slower, such as during rotary speed index R=1, and during rotating speed 10r/s, R=0.5, rotating speed is
5r/s, by that analogy, rotary speed index R value and the rotating speed corresponding to it are all listed in lists respectively, according to meter
The rotary speed index calculated finds the rotary speed of motor of camera corresponding to the rotary speed index in lists.
When detecting two contact wipes, control camera carries out rotating up to two step S104. with rotary speed
Contact stops operating when disappearing.
Step S104 is specially:
Step S1041. calculate two contacts in any contact current sliding position in the vertical direction coordinate and just
The difference of the coordinate of beginning position in the vertical direction.
Specifically, in this step, the finger of user presses two contacts on contact panel, one of contact just
The beginning coordinate of position is (X0,Y0), when user starts to slide finger, the changing coordinates that contact panel detects the contact wipe are
(X1,Y1), according to the difference of the coordinate of the initial position of contact and changing coordinates calculating in the vertical direction, wherein vertical direction
Y-axis can be considered as, horizontal direction can be considered as X-axis.
Step S1042. judges that contact is slided to the positive direction of vertical direction, controls rotating camera when difference is more than 0
Rotated according to first direction.
Specifically, in this step, when difference is more than 0, double finger upward slidings, control camera carries out dextrorotation
Turn, speed is motor rotary speed corresponding to rotary speed index R, until double refer to is unclamped.
Step S1043. judges that contact is slided to the negative direction of vertical direction, controls rotating camera when difference is less than 0
Rotated according to second direction.
Specifically, in this step, when difference is less than 0, double sensing lower sliders, camera carries out rotate counterclockwise, speed
Spend for motor rotary speed corresponding to rotary speed index R, until double refer to is unclamped.
It should be noted that in camera rotary course, if double fingers are not slided after sliding without departing from touch-screen i.e. double refer to
When dynamic, camera also is continuing to rotate, i.e., user is when rotating camera starts rotation, it is not necessary to slides always, as long as keeping
Double fingers contact touch-screen simultaneously, are stopped operating until double fingers leave touch-screen rear camera.
Another embodiment of the present invention also provides a kind of mobile terminal, and mobile terminal includes:
Number of contacts detection module 201, for detecting the number of contact panel upper contact;
Contact spacing detection module 202, for when the number for detecting contact panel upper contact is two, detecting two
The distance of contact in the horizontal direction, wherein, the distance of two contacts of the detection in the horizontal direction includes:Two are measured respectively
The coordinate of individual contact in the horizontal direction, obtain the difference of the coordinate of two contacts in the horizontal direction;
Speed calculation module 203, for according to two contacts distance in the horizontal direction and contact panel in level side
Upward width calculation obtains the rotary speed of camera;
Control module 204, for when detecting two contact wipes, control camera with rotary speed rotate directly
Stopped operating when being disappeared to two contacts.
Specifically, contact spacing detection module 202 can by measuring the coordinate of two contacts in the horizontal direction respectively,
Such as the coordinate of two contacts is X1 and X2 respectively, then the difference for obtaining X1 and X2 is △ X, and difference is that △ X are that two contacts exist
Distance in horizontal direction.
Further, contact spacing detection module 202 be additionally operable to judge two contact in the vertical directions distance whether
Less than preset value;
When judged result for when being, contact spacing detection module 202 detects the distance of two contacts in the horizontal direction again;
When judged result is no, control module 204 carries out digital zoom to the image shown on contact panel.
Specifically, because the distance increase in mobile terminal on contact panel between double fingers is the gesture of amplification picture,
Therefore, in order to prevent maloperation, upon start, contact spacing detection module 202 detects the Y-coordinate of double fingers, if the difference of Y-coordinate
Value is less than preset value, it is determined that for control rotating camera, if Y-coordinate differs by more than preset value, is judged as amplification picture
That is digital zoom.
Further, speed calculation module 203 according to two contacts distance in the horizontal direction and contact panel in water
The process that square upward width calculation obtains the rotary speed of camera is specially:
Calculate the ratio between the width of distance and contact panel in the horizontal direction of two contacts in the horizontal direction
To obtain rotary speed index;
Obtained and rotary speed index according to the corresponding relation between the rotary speed index and rotary speed prestored
Corresponding rotary speed.
Specifically, distance △ X and contact panel width of the speed calculation module 203 by two contacts in the horizontal direction
Ratio be worth to rotary speed index R, wherein, rotary index R be one be less than 1 numeral, the numeral, which can directly react, to be taken the photograph
As the rotary speed of head.
Specifically, speed calculation module 203 can be listed by the form of list rotary speed index and rotary speed it
Between corresponding relation, in the corresponding relation, rotary speed index R is bigger closer to 1, then rotary speed is faster, if rotation
Rate Index R is close to zero, then rotary speed is slower, such as during rotary speed index R=1, during rotating speed 10r/s, R=0.5, turns
Speed is 5r/s, by that analogy, rotary speed index R value and the rotating speed corresponding to it is all listed in lists respectively, root
Find the rotary speed of motor of camera corresponding to the rotary speed index in lists according to the rotary speed index calculated.
Further, control module 204 is used to control camera with rotary speed to enter when detecting two contact wipes
Row rotates up to the process to be stopped operating when two contacts disappear:
The coordinate of the current sliding position in the vertical direction of any contact and initial position in two contacts is calculated to erect
The difference of the upward coordinate of Nogata;
When difference is more than 0, judge that contact is slided to the positive direction of vertical direction, control rotating camera is according to first party
To rotation;
When difference is less than 0, judge that contact is slided to the negative direction of vertical direction, control rotating camera is according to second party
To rotation.
Specifically, the finger of user presses two contacts, the seat of the initial position of one of contact on contact panel
It is designated as (X0,Y0), when user starts to slide finger, the changing coordinates that contact panel detects the contact wipe are (X1,Y1), root
The difference of in the vertical direction is calculated according to the coordinate and changing coordinates of the initial position of contact, wherein vertical direction can be considered as Y
Axle, horizontal direction can be considered as X-axis.
Specifically, during double finger upward slidings, when the difference of the coordinate of in the vertical direction is more than 0, control camera is carried out
Turn clockwise, speed is motor rotary speed corresponding to rotary speed index R, until double refer to is unclamped.
Specifically, during double sensing lower sliders, when the difference of the coordinate of in the vertical direction is less than 0, control camera is carried out
Rotate counterclockwise, speed are motor rotary speed corresponding to rotary speed index R, until double refer to is unclamped.
Control module 204 is additionally operable to when number of contacts detection module 201 detects that the number of contact panel upper contact is 1
When, and when contact wipe, control rotating camera is rotated according to predetermined speed.
Mobile terminal provided by the invention and its rotating camera control method, existed according to two contacts on contact panel
The width calculation of distance and contact panel in the horizontal direction in horizontal direction obtains the rotary speed of camera, is touched when two
When putting distance change in the horizontal direction, the rotary speed of camera can be arbitrarily adjusted, is solved currently by gesture control
The defects of camera processed can only be rotated with single speed, facilitates user and is operated, improve the usage experience of user.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to is assert
The specific implementation of the present invention is confined to these explanations.For general technical staff of the technical field of the invention,
Some equivalent substitutes or obvious modification are made on the premise of not departing from present inventive concept, and performance or purposes are identical, all should
It is considered as belonging to the scope of patent protection that the present invention is determined by the claims submitted.
Claims (10)
1. the rotating camera control method of a kind of mobile terminal, it is characterised in that the control method comprises the following steps:
A. the number of the contact panel upper contact of the mobile terminal is detected;
B. when detect the contact panel upper contact number be two when, detection two contacts in the horizontal direction away from
From, wherein, the distance of two contacts of the detection in the horizontal direction includes:Measure two contacts in the horizontal direction respectively
Coordinate, obtain the difference of the coordinate of two contacts in the horizontal direction;
C. the width calculation of distance and the contact panel in the horizontal direction according to described two contacts in the horizontal direction
Obtain the rotary speed of the camera;
D. when detecting described two contact wipes, control described in the camera rotated up to the rotary speed
Two contacts stop operating when disappearing.
2. control method as claimed in claim 1, it is characterised in that detect two contacts in the horizontal direction in the step B
On apart from the step of before also include:
Judge whether the distance of described two contact in the vertical directions is less than preset value, be then to detect described two contacts to exist
Distance in horizontal direction, it is no, then digital zoom is carried out to the image shown on the contact panel.
3. control method as claimed in claim 1, it is characterised in that the step C is specially:
Calculate between the width of distance and the contact panel in the horizontal direction of described two contacts in the horizontal direction
Ratio is to obtain rotary speed index;
Obtained and the rotary speed index according to the corresponding relation between the rotary speed index and rotary speed prestored
Corresponding rotary speed.
4. control method as claimed in claim 1, it is characterised in that the step D is specially:
The coordinate and initial position for calculating the current sliding position in the vertical direction of any contact in described two contacts are erecting
The difference of the upward coordinate of Nogata;
When the difference is more than 0, judges that contact is slided to the positive direction of vertical direction, control the rotating camera according to the
One direction rotates;
When the difference is less than 0, judges that contact is slided to the negative direction of vertical direction, control the rotating camera according to the
Two directions rotate.
5. control method as claimed in claim 1, it is characterised in that also include after the step A:
When the number for detecting contact panel upper contact is 1, and when the contact wipe, control the rotating camera
Rotated according to predetermined speed.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Number of contacts detection module, for detecting the number of contact panel upper contact;
Contact spacing detection module, for when the number for detecting contact panel upper contact is two, two contacts of detection to exist
Distance in horizontal direction, wherein, the distance of two contacts of the detection in the horizontal direction includes:Two contacts are measured respectively
Coordinate in the horizontal direction, obtain the difference of the coordinate of two contacts in the horizontal direction;
Speed calculation module, for according to described two contacts distance in the horizontal direction and the contact panel in level side
Upward width calculation obtains the rotary speed of the camera;
Control module, for when detecting described two contact wipes, controlling the camera to be carried out with the rotary speed
Rotate up to when described two contacts disappear and stop operating.
7. mobile terminal as claimed in claim 6, it is characterised in that
Whether the contact distance detection module is additionally operable to judge the distance of described two contact in the vertical directions less than default
Value;
When judged result for be when, the contact distance detection module detect again described two contacts in the horizontal direction away from
From;
When judged result is no, the control module carries out digital zoom to the image shown on the contact panel.
8. mobile terminal as claimed in claim 6, it is characterised in that the speed calculation module exists according to described two contacts
The width calculation of distance and the contact panel in the horizontal direction in horizontal direction obtains the rotary speed of the camera
Process be specially:
Calculate between the width of distance and the contact panel in the horizontal direction of described two contacts in the horizontal direction
Ratio is to obtain rotary speed index;
Obtained and the rotary speed index according to the corresponding relation between the rotary speed index and rotary speed prestored
Corresponding rotary speed.
9. mobile terminal as claimed in claim 6, it is characterised in that the control module is used for described two tactile when detecting
Point controls the camera to carry out rotating up to what is stopped operating when described two contacts disappear with the rotary speed when sliding
Process is specially:
The coordinate and initial position for calculating the current sliding position in the vertical direction of any contact in described two contacts are erecting
The difference of the upward coordinate of Nogata;
When the difference is more than 0, judges that contact is slided to the positive direction of vertical direction, control the rotating camera according to the
One direction rotates;
When the difference is less than 0, judges that contact is slided to the negative direction of vertical direction, control the rotating camera according to the
Two directions rotate.
10. mobile terminal as claimed in claim 6, it is characterised in that
The control module is additionally operable to when the number for detecting contact panel upper contact is 1, and when the contact wipe,
The rotating camera is controlled to be rotated according to predetermined speed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710859771.XA CN107395995B (en) | 2015-02-26 | 2015-02-26 | Mobile terminal and its rotating camera control method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510088712.8A CN104618658B (en) | 2015-02-26 | 2015-02-26 | Mobile terminal and its rotating camera control method |
CN201710859771.XA CN107395995B (en) | 2015-02-26 | 2015-02-26 | Mobile terminal and its rotating camera control method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510088712.8A Division CN104618658B (en) | 2015-02-26 | 2015-02-26 | Mobile terminal and its rotating camera control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107395995A true CN107395995A (en) | 2017-11-24 |
CN107395995B CN107395995B (en) | 2019-07-19 |
Family
ID=53152922
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510088712.8A Expired - Fee Related CN104618658B (en) | 2015-02-26 | 2015-02-26 | Mobile terminal and its rotating camera control method |
CN201710859771.XA Expired - Fee Related CN107395995B (en) | 2015-02-26 | 2015-02-26 | Mobile terminal and its rotating camera control method |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510088712.8A Expired - Fee Related CN104618658B (en) | 2015-02-26 | 2015-02-26 | Mobile terminal and its rotating camera control method |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN104618658B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112000259A (en) * | 2020-06-30 | 2020-11-27 | 深圳点猫科技有限公司 | Method and device for controlling camera based on touch event of mobile terminal |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104902173B (en) * | 2015-05-19 | 2018-07-06 | 广东欧珀移动通信有限公司 | A kind of method and apparatus for shooting control |
CN104834447B (en) * | 2015-05-19 | 2017-10-17 | 广东欧珀移动通信有限公司 | Method of controlling rotation and system, the camera device of rotating camera |
CN104822029B (en) * | 2015-05-22 | 2018-11-27 | 广东欧珀移动通信有限公司 | A kind of method, apparatus that control rotating camera rotates and a kind of mobile terminal |
CN104954671B (en) * | 2015-05-27 | 2018-01-19 | 广东欧珀移动通信有限公司 | The method and device of panoramic shooting |
CN105092883B (en) * | 2015-06-01 | 2019-01-15 | 浙江宇视科技有限公司 | A kind of method and device thereof measuring holder revolving speed |
CN105554378A (en) * | 2015-12-09 | 2016-05-04 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN105867362A (en) * | 2016-04-20 | 2016-08-17 | 北京博瑞爱飞科技发展有限公司 | Terminal equipment and control system of unmanned aerial vehicle |
CN109032486B (en) * | 2018-07-10 | 2021-01-22 | 维沃移动通信有限公司 | Display control method and terminal equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034451A (en) * | 2012-12-21 | 2013-04-10 | 广东欧珀移动通信有限公司 | Page location method and page location system for mobile terminals |
CN103995788A (en) * | 2014-05-27 | 2014-08-20 | 广东欧珀移动通信有限公司 | Method and device for controlling camera of touch screen terminal to rotate |
CN104238669A (en) * | 2014-09-04 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling rotation of camera of mobile terminal and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101090322B1 (en) * | 2009-07-27 | 2011-12-07 | (주)빅트론닉스 | Control method and device for touch panel, and mobile devices using the same |
-
2015
- 2015-02-26 CN CN201510088712.8A patent/CN104618658B/en not_active Expired - Fee Related
- 2015-02-26 CN CN201710859771.XA patent/CN107395995B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034451A (en) * | 2012-12-21 | 2013-04-10 | 广东欧珀移动通信有限公司 | Page location method and page location system for mobile terminals |
CN103995788A (en) * | 2014-05-27 | 2014-08-20 | 广东欧珀移动通信有限公司 | Method and device for controlling camera of touch screen terminal to rotate |
CN104238669A (en) * | 2014-09-04 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling rotation of camera of mobile terminal and mobile terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112000259A (en) * | 2020-06-30 | 2020-11-27 | 深圳点猫科技有限公司 | Method and device for controlling camera based on touch event of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104618658A (en) | 2015-05-13 |
CN107395995B (en) | 2019-07-19 |
CN104618658B (en) | 2017-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104618658B (en) | Mobile terminal and its rotating camera control method | |
US9880655B2 (en) | Method of disambiguating water from a finger touch on a touch sensor panel | |
US9612675B2 (en) | Emulating pressure sensitivity on multi-touch devices | |
US20160004373A1 (en) | Method for providing auxiliary information and touch control display apparatus using the same | |
US20150268789A1 (en) | Method for preventing accidentally triggering edge swipe gesture and gesture triggering | |
WO2018107901A1 (en) | Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium | |
EP2837992A1 (en) | User interface interaction method and apparatus applied in touchscreen device, and touchscreen device | |
JP6273081B2 (en) | Content moving method and apparatus using pointing device | |
EP2840471A1 (en) | Method, device, and electronic terminal for unlocking | |
CN104423855B (en) | A kind of information processing method and electronic equipment | |
WO2014160436A1 (en) | Baseline management for sensing device | |
CN103513859A (en) | Icon display method and icon display device | |
CN103412720A (en) | Method and device for processing touch-control input signals | |
CN103257825B (en) | A kind of method and apparatus regulating playing progress rate | |
WO2015131630A1 (en) | Replacement method and device for desktop icon | |
CN106469000A (en) | A kind of screen content amplification method and terminal unit | |
CN103488428A (en) | Interface unlocking method and mobile terminal | |
CN104978030B (en) | The software and method of display interface of mobile phone are automatically adjusted based on right-hand man | |
CN103713849A (en) | Method and device for image shooting and terminal device | |
JP2012203440A (en) | Information processor, information processing method, and program | |
TWI480792B (en) | Operating method of electronic apparatus | |
US9875020B2 (en) | Method for capturing user input from a touch screen and device having a touch screen | |
CN102890606A (en) | Information processing device, information processing method, and program | |
CN103176671B (en) | Touch electronic device and touch track correction method | |
CN104503697A (en) | Information handling method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190719 |