CN108111750A - A kind of zooming adjustment method and mobile terminal - Google Patents

A kind of zooming adjustment method and mobile terminal Download PDF

Info

Publication number
CN108111750A
CN108111750A CN201711315767.3A CN201711315767A CN108111750A CN 108111750 A CN108111750 A CN 108111750A CN 201711315767 A CN201711315767 A CN 201711315767A CN 108111750 A CN108111750 A CN 108111750A
Authority
CN
China
Prior art keywords
touch point
displacement variable
mobile terminal
zoom
fixed touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711315767.3A
Other languages
Chinese (zh)
Other versions
CN108111750B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711315767.3A priority Critical patent/CN108111750B/en
Publication of CN108111750A publication Critical patent/CN108111750A/en
Application granted granted Critical
Publication of CN108111750B publication Critical patent/CN108111750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of zooming adjustment method and mobile terminal, the zooming adjustment method, including:Obtain the first quantity of touch point in shooting preview interface;In the case where first quantity is greater than or equal to three, the displacement variable of at least one touch point is gathered;Determine that displacement variable is greater than or equal to the number of the on-fixed touch point of predetermined threshold value;According to the number of the on-fixed touch point, zoom parameters are adjusted;Wherein, the zoom parameters include:One in focal length and focusing center position.When being greater than or equal to three by the first quantity in touch point in shooting preview interface, the adjusting of zoom parameters is carried out according to the number of on-fixed touch point for said program, is realized mostly finger zooming adjustment, is enhanced the flexibility of zoom.

Description

A kind of zooming adjustment method and mobile terminal
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of zooming adjustment method and mobile terminals.
Background technology
Consider the factors such as portable, most of zoom of camera is realized using digital zoom on mobile terminal at present, and mobile phone becomes Burnt multiplying power can be realized by physical button and virtual double finger touch-controls and adjusted.
Either physical button or double adjustings for referring to touch-control, the zoom ratio of existing regulative mode is fixed, Wu Faman Foot has zoom ratio and precision the regulatory demand of the photographed scene of requirements at the higher level.
The content of the invention
The embodiment of the present invention provides a kind of zooming adjustment method and mobile terminal, to solve to deposit in a manner of existing zooming adjustment The problem of being fixed in zoom ratio, the regulatory demand for the photographed scene for having requirements at the higher level to zoom ratio and precision can not be met.
In order to solve the above-mentioned technical problem, the present invention is realized in:
In a first aspect, the embodiment of the present invention provides a kind of zooming adjustment method, including:
Obtain the first quantity of touch point in shooting preview interface;
In the case where first quantity is greater than or equal to three, the displacement variable of at least one touch point is gathered;
Determine that displacement variable is greater than or equal to the number of the on-fixed touch point of predetermined threshold value;
According to the number of the on-fixed touch point, zoom parameters are adjusted;
Wherein, the zoom parameters include:One in focal length and focusing center position.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:
Acquisition module, for obtaining the first quantity of touch point in shooting preview interface;
Acquisition module in the case of being greater than or equal to three in first quantity, gathers at least one touch point Displacement variable;
Determining module, for determining that displacement variable is greater than or equal to the number of the on-fixed touch point of predetermined threshold value;
Adjustment module for the number according to the on-fixed touch point, adjusts zoom parameters;
Wherein, the zoom parameters include:One in focal length and focusing center position.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:It memory, processor and is stored in On reservoir and the computer program that can run on a processor, the computer program is realized above-mentioned when being performed by the processor Zooming adjustment method the step of.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, wherein, it is described computer-readable Computer program is stored on storage medium, the computer program realizes above-mentioned zooming adjustment method when being executed by processor The step of.
In embodiments of the present invention, it is greater than or equal to three by the first quantity of the touch point in shooting preview interface When, the adjusting of zoom parameters is carried out according to the number of on-fixed touch point, mostly finger zooming adjustment is realized, enhances the spirit of zoom Activity.
Description of the drawings
Fig. 1 shows the flow diagrams of the zooming adjustment method of the embodiment of the present invention;
Fig. 2 represents to carry out the specific implementation flow diagram of focus adjustment;
When Fig. 3 represents that user carries out touch control operation progress zoom ratio adjusting using 3 fingers, the state of finger touch point Schematic diagram;
When Fig. 4 represents that user carries out touch control operation progress zoom ratio adjusting using 4 fingers, the state of finger touch point Schematic diagram;
Fig. 5 expressions carry out the specific implementation flow diagram that focusing central point is adjusted;
When Fig. 6 represents that user carries out touch control operation progress zoom center point adjusting using 3 fingers, the shape of finger touch point State schematic diagram;
When Fig. 7 represents that user carries out touch control operation progress zoom center point adjusting using 4 fingers, the shape of finger touch point State schematic diagram;
One of module diagram of mobile terminal Fig. 8 shows the embodiment of the present invention;
Fig. 9 represents the two of the module diagram of the mobile terminal of the embodiment of the present invention;
Figure 10 represents that the first of the embodiment of the present invention adjusts the module diagram of submodule;
Figure 11 represents the three of the module diagram of the mobile terminal of the embodiment of the present invention;
Figure 12 represents the hardware architecture diagram of the mobile terminal of the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, belongs to the scope of protection of the invention.
As shown in Figure 1, the embodiment of the present invention provides a kind of zooming adjustment method, including:
Step 101, the first quantity of touch point in shooting preview interface is obtained;
It should be noted that the touch point refers to user when camera is used to carry out zooming adjustment, used touch Point, usual user realize touch-control zoom using finger, and therefore, which refers to the finger touch point of user's finger.
Step 102, in the case where first quantity is greater than or equal to three, the displacement of at least one touch point is gathered Variable quantity;
It should be noted that the environment that the embodiment of the present invention is applicable in is refers to zoom, so-called more refer to is what user used more The quantity of touch-control finger is greater than or equal to three.
Step 103, determine that displacement variable is greater than or equal to the number of the on-fixed touch point of predetermined threshold value;
It should be noted that because user when zooming may there are finger shake or be not intended to slide, in order to prevent this Kind happens, and causes to judge by accident, needs to carry out the identification of effective displacement variable in this step, only displacement variable is more than Or equal to the mobile of predetermined threshold value it is considered just effective.
Step 104, according to the number of the on-fixed touch point, zoom parameters are adjusted;
Specifically, the zoom parameters include:One in focal length and focusing center position (central point of focusing);It needs It is noted that because the number of on-fixed touch point directly determines it is to carry out the adjusting of focal length or carry out focusing center position Adjusting, therefore after the number of on-fixed touch point is determined, the adjusting of corresponding zoom parameters can be carried out according to the number, By way of the embodiment of the present invention, mostly finger zooming adjustment is realized, enhances the flexibility of zoom.
Separately below exemplified by different zoom parameters are adjusted, inventive embodiments are specifically described as follows.
First, when zoom parameters are focal length
In this case, the specific implementation of step 104 is:
In the case where the number of the on-fixed touch point is greater than or equal to two, it is maximum to obtain relative displacement variable quantity Two on-fixed touch points between relative displacement variable quantity;
It should be noted that user is when carrying out zoom operation, it will usually adjusting of the finger into focal length is moved, it is more when using It during a finger, is generally also adjusted as reference only with the displacement distance of two fingers, in the present embodiment, by relative displacement Reference of two fingers of variable quantity maximum as focus adjustment.
Determine the target step units of focus adjustment;
It should be noted that the target step units are negatively correlated with first quantity;It is mainly pin in the present embodiment The situation for being carried out zoom using more than three finger to user is illustrated, by using the stepping of the quantity control zoom of finger Unit, in this case, in order to realize accurate focusing, usually by target step units and the first quantity (i.e. user's zoom When the quantity of finger that uses) be arranged to negatively correlated relation, i.e., when user uses more fingering row zooms, can ensure that zoom Accuracy higher.
According to the relative displacement variable quantity and the step units, focus;
After the step units being changed, the adjusting of focal length can be carried out, finally to realize pair to target image It is burnt.
In the present embodiment, using two fingers of relative displacement variable quantity maximum as the reference of focus adjustment, two are utilized Target step units after the relative displacement variable quantity of finger and adjustment carry out the adjusting of the focal length of zoom, specifically, according to The relative displacement variable quantity and the step units, the realization method focused are:According to the relative displacement variable quantity With the target step units, focus adjustment amount is determined;According to the focus adjustment amount, focus.
When carrying out the adjusting of focal length, it is necessary first to obtain focus adjustment amount, specifically, obtain the mode of focus adjustment amount For:
According to formula d=X × L/S, focus adjustment amount is determined;
Wherein, d is focus adjustment amount, and X is target step units, and L is relative displacement variable quantity, and S is preset displacement unit.
Specifically, as shown in Fig. 2, the specific implementation flow of above-mentioned carry out focus adjustment is:
Step 201, collect user and use mostly finger touch-control camera preview interface;
At this point, user adds touch-control finger, current touch-control finger number is F (F>=3);
It should be noted that before step 201, user first can carry out zoom operation using two fingers;Specifically, Realization method is:When the instruction for collecting user's opening camera, starting camera, (specifically, user is by clicking mobile terminal Camera applications icon on display interface starts camera);It according to the operation of user, carries out two and refers to zoom operation, specifically, use Family refers to the multiplying power for scaling to preset stepping (being represented with R) control mobile phone zoom by double finger touch-control camera preview images by double.
It should be noted that the scheme that two finger zoom operations are ripe applications is carried out, by detecting double refer in screen 2 points of position of upper touch-control judges double distance changes for referring to 2 points of touch-control, is increased or decreased according to double finger touch point distances Distance (being represented with M) increases step value of the zoom ratio using size as R or less, and the central point acquiescence of zoom is image Center position, realize the accurate control to the zoom ratio of camera.
Step 202, the relative displacement variable quantity of two on-fixed touch points of relative displacement variable quantity maximum is obtained;
In this case, the step units of zoom are adjusted as R/ (F-1), herein simply a citing, as long as after adjusting Step units and touch-control finger the negatively correlated relation of number;
Step 203, the adjusting of zoom focal length is carried out according to the step units after the relative displacement variable quantity and adjustment.
Under normal conditions, user also can only use the mobile carry out zoom of two fingers, specifically more when carrying out referring to touch-control Ground, user control the position of touch of other two touch-control finger to change by the position of touch of fixed wherein F-2 finger.
For example, user carries out touch control operation using 3 fingers, user is by the touch-control of fixed wherein 1 finger, remaining 2 A finger zooms in and out touch-control, as shown in figure 3, position of the user by fixed finger touch point A, mobile finger touch point B and Finger touch point C, control zoom ratio variation, at this time zoom ratio variation step value become before 1/2 size;For example, The step value of zoom ratio variation before is 0.1, and after adjustment, current stepping becomes 0.05.
For example, when user carries out touch control operation using more fingers, such as 4 refer to, user by fixed wherein 2 fingers, 2 fingers of remaininging zoom in and out touch-control, as shown in figure 4, position of the user by fixed finger touch point A and finger touch point B, is moved It starts to refer to touch point C and finger touch point D, control control zoom ratio variation, the step value of zoom ratio variation at this time becomes 1/3 size before;For example, the step value of zoom ratio variation before is 0.1, after adjustment, current stepping becomes about 0.033.
Above-mentioned realization method refers to the zoom of touch-control more by realizing, zoom rate can be adjusted flexibly, improve zoom The precision of adjusting disclosure satisfy that the regulatory demand for the photographed scene for having requirements at the higher level to zoom ratio and precision.
2nd, when zoom parameters are focusing center position
In this case, the specific implementation of step 104 is:
In the case where the number of the on-fixed touch point is one, the position for obtaining the on-fixed touch point is sat Mark;According to the position coordinates of the on-fixed touch point, focusing center position is adjusted.
It should be noted that the adjusting of focusing central point is still carried out in the embodiment of the present invention by the way of singly referring to, i.e., When carrying out focusing central point and adjusting, it is necessary to which fixed others finger, only there are one fingers to be in mobile state.
Specifically, as shown in figure 5, the specific implementation flow for carrying out focusing central point adjusting is:
Step 501, collect user and use mostly finger touch-control camera preview interface;
Specifically, current finger touch points are F (F>=3);
It should be noted that before this step, it is also necessary to gather user and open the instruction of camera, and start camera, have Body, the camera applications icon on display interface of the user by clicking mobile terminal starts camera.
Step 502, get on-fixed touch-control finger only there are one when, the position for gathering the on-fixed touch-control finger becomes Change;
In this case, user controls touching for remaining 1 finger by the position of touch of fixed wherein F-1 finger Control change in location.
Step 503, according to the change in location of on-fixed touch-control finger, the center of camera zoom is adjusted, realizes camera The adjusting of zoom area.
It should be noted that considering the fault-tolerance to user's operation, specific implementation is as follows:
By traveling through the change in location of F touch point, judge to be more than the number N of threshold value T when change in location value, work as N=1 When, original zoom center position is image center position, and present image is wide, high W, H respectively, using image lower-left angle point to be former Point, image is upward, and edge direction is Y-axis to the right, and X-axis positive direction, then image center position coordinates is (W/2, H/2).Detection should The change in location of mobile touch point, if current detection movement touch point position is sat for (x, y) last detection touch point position (x`, y`) is designated as, then current zoom center position is adjusted to (W/2+A* (x-x`), H/2+A* (y-y`)), and wherein A is adjusting Coefficient.
For example, user carries out touch control operation using 3 fingers, user is by the touch-control of fixed wherein 2 fingers, remaining 1 A finger carries out touch-control up and down and moves, as shown in fig. 6, position of the user by fixed finger touch point A and finger touch point B It puts, mobile finger touch point C controls to adjust the variation of zoom center point, so as to adjust zoom center point position.
For example, when user carries out touch control operation using more fingers, such as 4 refer to, and user is touched by fixed wherein 3 fingers Position is controlled, remaining 1 finger carries out touch-control up and down and moves, as shown in fig. 7, user passes through fixed finger touch point A, finger The position of touch point B and finger touch point C, mobile finger touch point D, control to adjust the variation of zoom center point, so as to fulfill Flexible modulation zoom center point position.
It should also be noted that, a kind of method of quick replacement zoom center point position, user are also provided in the present embodiment By the touch-control of fixed wherein F-1 finger, the remaining finger of control performs rapid double tap action, zoom center point position weight It is set to the image center position of acquiescence.
Specifically, realization method is:It is counted out by detecting current touch-control, is F when finger touch number changes from F-1, It is F-1 by F variations, is judged as one click, when detection click event is 2 and interval time is less than certain threshold value twice, recognizes Wherein F-1 finger is fixed for user, performing a rapid double tap using one finger of residue acts, at this time by zoom center Region sets go back to the image center position (W/2, H/2) of acquiescence.
It should be noted that such realization method, realizes that the adjusting to zoom center point region interacts, and provide quick The interactive mode of replacement;When camera position fixes zoom, the flexible control to zoom image is realized by this interactive mode.
The embodiment of the present invention by the way that zoom step units are adjusted, realize the adjusting to zoom ratio, can control The speed and precision of zoom processed improve the precision of zooming adjustment;Meanwhile by realizing the tune to zoom center point position Section, realizes the flexible control to zoom image.
As shown in Figs. 8 to 11, the embodiment of the present invention also provides a kind of mobile terminal, including:
Acquisition module 801, for obtaining the first quantity of touch point in shooting preview interface;
Acquisition module 802 in the case of being greater than or equal to three in first quantity, gathers at least one touch-control The displacement variable of point;
Determining module 803, for determining that displacement variable is greater than or equal to the number of the on-fixed touch point of predetermined threshold value;
Adjustment module 804 for the number according to the on-fixed touch point, adjusts zoom parameters;
Wherein, the zoom parameters include:One in focal length and focusing center position.
Optionally, the adjustment module 804, including:
First acquisition submodule 8041, for being greater than or equal to the situation of two in the number of the on-fixed touch point Under, obtain the relative displacement variable quantity between two on-fixed touch points of relative displacement variable quantity maximum;
Determination sub-module 8042, for determining the target step units of focus adjustment;
First adjusts submodule 8043, for according to the relative displacement variable quantity and the step units, focusing;
Wherein, the target step units and first quantity are negatively correlated.
Further, described first submodule 8043 is adjusted, including:
Determination unit 80431, for according to the relative displacement variable quantity and the target step units, determining focal length tune Section amount;
Adjustment unit 80432, for according to the focus adjustment amount, focusing.
Further, the determination unit 80431 is used for:
According to formula d=X × L/S, focus adjustment amount is determined;
Wherein, d is focus adjustment amount, and X is target step units, and L is relative displacement variable quantity, and S is preset displacement unit.
Optionally, the adjustment module 804, including:
Second acquisition submodule 8044 in the case of in the number of the on-fixed touch point for one, obtains institute State the position coordinates of on-fixed touch point;
Second adjusts submodule 8045, for the position coordinates according to the on-fixed touch point, adjusts focusing central point Position.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized each in the embodiment of the method for Fig. 1 Process, to avoid repeating, which is not described herein again.The mobile terminal of the embodiment of the present invention is by obtaining touch-control in shooting preview interface First quantity of point, in the case where first quantity is greater than or equal to three, the displacement for gathering at least one touch point becomes Change amount determines that displacement variable is greater than or equal to the number of the on-fixed touch point of predetermined threshold value, according to the on-fixed touch-control The number of point adjusts zoom parameters;Mostly finger zooming adjustment is realized, enhances the flexibility of zoom.
A kind of hardware architecture diagram of Figure 12 mobile terminals of embodiment to realize the present invention.
The mobile terminal 120 includes but not limited to:Radio frequency unit 1210, network module 1220, audio output unit 1230, Input unit 1240, sensor 1250, display unit 1260, user input unit 1270, interface unit 1280, memory 1290th, the components such as processor 1211 and power supply 1212.It will be understood by those skilled in the art that the mobile end shown in Figure 12 End structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or fewer components or group Close some components or different components arrangement.In embodiments of the present invention, mobile terminal includes but not limited to mobile phone, tablet Computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 1211, for obtaining the first quantity of touch point in shooting preview interface;In first quantity In the case of more than or equal to three, the displacement variable of at least one touch point is gathered;Determine that displacement variable is more than or waits In the number of the on-fixed touch point of predetermined threshold value;According to the number of the on-fixed touch point, zoom parameters are adjusted;
Wherein, the zoom parameters include:One in focal length and focusing center position.
The mobile terminal of the embodiment of the present invention is by obtaining the first quantity of touch point in shooting preview interface, described In the case that one quantity is greater than or equal to three, the displacement variable of at least one touch point is gathered, determines that displacement variable is big In or equal to predetermined threshold value on-fixed touch point number, according to the number of the on-fixed touch point, adjust zoom parameters; Mostly finger zooming adjustment is realized, enhances the flexibility of zoom.
It should be understood that in the embodiment of the present invention, radio frequency unit 1210 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, handled to processor 1211;In addition, by uplink Data sending is to base station.In general, radio frequency unit 1210 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1210 can also pass through wireless communication system and network and other Equipment communicates.
Mobile terminal has provided wireless broadband internet to the user by network module 1220 and has accessed, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 1230 can be receiving by radio frequency unit 1210 or network module 1220 or in memory The voice data stored in 1290 is converted into audio signal and exports as sound.Moreover, audio output unit 1230 can be with The relevant audio output of specific function performed with mobile terminal 120 is provided (for example, call signal receives sound, message sink Sound etc.).Audio output unit 1230 includes loud speaker, buzzer and receiver etc..
Input unit 1240 is used to receive audio or video signal.Input unit 1240 can include graphics processor (Graphics Processing Unit, GPU) 1241 and microphone 1242, graphics processor 1241 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 1260.It can be with through treated the picture frame of graphics processor 1241 It is stored in memory 1290 (or other storage mediums) or is sent via radio frequency unit 1210 or network module 1220. Microphone 1242 can receive sound, and can be voice data by such acoustic processing.Treated, and voice data can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 1210 in the case of telephone calling model.
Mobile terminal 120 further includes at least one sensor 1250, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1261, and proximity sensor can close when mobile terminal 120 is moved in one's ear Display panel 1261 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 1250 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, Hygrometer, thermometer, infrared ray sensor etc., details are not described herein.
Display unit 1260 is used to show by information input by user or be supplied to the information of user.Display unit 126 can Including display panel 1261, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes may be employed Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 1261.
User input unit 1270 can be used for the number for receiving input or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 1270 include touch panel 1271 with And other input equipments 1272.Touch panel 1271, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1271 or in touch panel 1271 Neighbouring operation).Touch panel 1271 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1211, receiving area It manages the order that device 1211 is sent and is performed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Polytype realizes touch panel 1271.Except touch panel 1271, user input unit 127 can also be set including other inputs Standby 1272.Specifically, other input equipments 1272 can include but is not limited to physical keyboard, function key (for example press by volume control Key, switch key etc.), trace ball, mouse, operation lever, details are not described herein.
Further, touch panel 1271 can be covered on display panel 1261, when touch panel 1271 is detected at it On or near touch operation after, send to processor 1211 with determine touch event type, be followed by subsequent processing 1211 basis of device The type of touch event provides corresponding visual output on display panel 1261.Although in fig. 12, touch panel 1271 with Display panel 1261 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some implementations In example, touch panel 1271 and display panel 1261 can be integrated and realize the function that outputs and inputs of mobile terminal, specifically It does not limit herein.
Interface unit 1280 is the interface that external device (ED) is connected with mobile terminal 120.For example, external device (ED) can include Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 1280 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 120 can be used in 120 He of mobile terminal Data are transmitted between external device (ED).
Memory 1290 can be used for storage software program and various data.Memory 1290 can mainly include storage program Area and storage data field, wherein, storing program area can storage program area, needed at least one function application program (such as Sound-playing function, image player function etc.) etc.;Storage data field can be stored uses created data (ratio according to mobile phone Such as voice data, phone directory) etc..In addition, memory 1290 can include high-speed random access memory, can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1211 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 1290 and/or module and call Data in device 1290 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 1211 may include one or more processing units;Preferably, processor 1211 can integrate application processor and modulation /demodulation Processor, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor master Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1211.
Mobile terminal 120 can also be included to the power supply 1212 (such as battery) of all parts power supply, it is preferred that power supply 1212 can be logically contiguous by power-supply management system and processor 1211, so as to realize that management is filled by power-supply management system The functions such as electricity, electric discharge and power managed.
In addition, mobile terminal 120 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 1211, memory 1290, storage On memory 1290 and the computer program that can be run on the processor 1211, the computer program is by processor 1211 Each process of the zooming adjustment embodiment of the method applied to mobile terminal side is realized during execution, and identical technology effect can be reached Fruit, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realization is applied to the zooming adjustment embodiment of the method for mobile terminal side when which is executed by processor Each process, and identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, it is described computer-readable Storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes as this process, method, article or device institute inherently Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
Above-described is the preferred embodiment of the present invention, it should be pointed out that is come for the ordinary person of the art It says, several improvements and modifications can also be made under the premise of principle of the present invention is not departed from, these improvements and modifications also exist In protection scope of the present invention.

Claims (12)

  1. A kind of 1. zooming adjustment method, which is characterized in that including:
    Obtain the first quantity of touch point in shooting preview interface;
    In the case where first quantity is greater than or equal to three, the displacement variable of at least one touch point is gathered;
    Determine that displacement variable is greater than or equal to the number of the on-fixed touch point of predetermined threshold value;
    According to the number of the on-fixed touch point, zoom parameters are adjusted;
    Wherein, the zoom parameters include:One in focal length and focusing center position.
  2. 2. zooming adjustment method according to claim 1, which is characterized in that according to the on-fixed touch point Number adjusts zoom parameters, including:
    In the case where the number of the on-fixed touch point is greater than or equal to two, the two of relative displacement variable quantity maximum is obtained Relative displacement variable quantity between a on-fixed touch point;
    Determine the target step units of focus adjustment;
    According to the relative displacement variable quantity and the step units, focus;
    Wherein, the target step units and first quantity are negatively correlated.
  3. 3. zooming adjustment method according to claim 2, which is characterized in that it is described according to the relative displacement variable quantity and The step units, focus, including:
    According to the relative displacement variable quantity and the target step units, focus adjustment amount is determined;
    According to the focus adjustment amount, focus.
  4. 4. zooming adjustment method according to claim 3, which is characterized in that it is described according to the relative displacement variable quantity and The target step units, determine focus adjustment amount, including:
    According to formula d=X × L/S, focus adjustment amount is determined;
    Wherein, d is focus adjustment amount, and X is target step units, and L is relative displacement variable quantity, and S is preset displacement unit.
  5. 5. zooming adjustment method according to claim 1, which is characterized in that according to the on-fixed touch point Number adjusts zoom parameters, including:
    In the case where the number of the on-fixed touch point is one, the position coordinates of the on-fixed touch point is obtained;
    According to the position coordinates of the on-fixed touch point, focusing center position is adjusted.
  6. 6. a kind of mobile terminal, which is characterized in that including:
    Acquisition module, for obtaining the first quantity of touch point in shooting preview interface;
    Acquisition module in the case of being greater than or equal to three in first quantity, gathers the position of at least one touch point Move variable quantity;
    Determining module, for determining that displacement variable is greater than or equal to the number of the on-fixed touch point of predetermined threshold value;
    Adjustment module for the number according to the on-fixed touch point, adjusts zoom parameters;
    Wherein, the zoom parameters include:One in focal length and focusing center position.
  7. 7. mobile terminal according to claim 6, which is characterized in that the adjustment module, including:
    First acquisition submodule in the case of being greater than or equal to two in the number of the on-fixed touch point, obtains phase To the relative displacement variable quantity between two on-fixed touch points of displacement variable maximum;
    Determination sub-module, for determining the target step units of focus adjustment;
    First adjusts submodule, for according to the relative displacement variable quantity and the step units, focusing;
    Wherein, the target step units and first quantity are negatively correlated.
  8. 8. mobile terminal according to claim 7, which is characterized in that described first adjusts submodule, including:
    Determination unit, for according to the relative displacement variable quantity and the target step units, determining focus adjustment amount;
    Adjustment unit, for according to the focus adjustment amount, focusing.
  9. 9. mobile terminal according to claim 8, which is characterized in that the determination unit is used for:
    According to formula d=X × L/S, focus adjustment amount is determined;
    Wherein, d is focus adjustment amount, and X is target step units, and L is relative displacement variable quantity, and S is preset displacement unit.
  10. 10. mobile terminal according to claim 6, which is characterized in that the adjustment module, including:
    Second acquisition submodule in the case of in the number of the on-fixed touch point for one, obtains the on-fixed The position coordinates of touch point;
    Second adjusts submodule, for the position coordinates according to the on-fixed touch point, adjusts focusing center position.
  11. 11. a kind of mobile terminal, which is characterized in that including:Memory, processor and storage are on a memory and can be in processor The computer program of upper operation is realized when the computer program is performed by the processor such as any one of claim 1 to 5 The step of described zooming adjustment method.
  12. 12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the zooming adjustment method as any one of claim 1 to 5 when the computer program is executed by processor The step of.
CN201711315767.3A 2017-12-12 2017-12-12 Zoom adjustment method, mobile terminal and computer readable storage medium Active CN108111750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711315767.3A CN108111750B (en) 2017-12-12 2017-12-12 Zoom adjustment method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711315767.3A CN108111750B (en) 2017-12-12 2017-12-12 Zoom adjustment method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108111750A true CN108111750A (en) 2018-06-01
CN108111750B CN108111750B (en) 2020-04-07

Family

ID=62208445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711315767.3A Active CN108111750B (en) 2017-12-12 2017-12-12 Zoom adjustment method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108111750B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965709A (en) * 2018-07-25 2018-12-07 维沃移动通信有限公司 A kind of focusing method and terminal
WO2020259013A1 (en) * 2019-06-25 2020-12-30 维沃移动通信有限公司 Method for adjusting photographing parameter, and mobile terminal
CN112527166A (en) * 2020-12-18 2021-03-19 北京百度网讯科技有限公司 Touch instruction processing method, device, equipment and storage medium
CN112905088A (en) * 2021-02-07 2021-06-04 北京蜂巢世纪科技有限公司 Video shooting control method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102224488A (en) * 2008-12-22 2011-10-19 帕姆公司 Interpreting gesture input including introduction or removal of a point of contact while a gesture is in progress
EP2482179A2 (en) * 2011-01-28 2012-08-01 Samsung Electronics Co., Ltd Apparatus and method for controlling screen display in touch screen terminal
CN103150045A (en) * 2011-12-07 2013-06-12 义隆电子股份有限公司 Method for improving function of preventing touch of touch panel from error touch
CN103888656A (en) * 2012-12-19 2014-06-25 信泰光学(深圳)有限公司 Image acquisition device and hand vibration prevention control method thereof
CN103995663A (en) * 2014-01-26 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Single-hand touch operation method and device
US20140359438A1 (en) * 2011-09-26 2014-12-04 Kddi Corporation Imaging apparatus for taking image in response to screen pressing operation, imaging method, and program
CN104486543A (en) * 2014-12-09 2015-04-01 北京时代沃林科技发展有限公司 Equipment and method for controlling cloud deck camera by intelligent terminal in touch manner
US20150215524A1 (en) * 2012-10-10 2015-07-30 Tencent Technology (Shenzhen) Company Limited Method and apparatus for varying focal length of camera device, and camera device
CN104935811A (en) * 2015-05-29 2015-09-23 努比亚技术有限公司 Adjusting method and terminal equipment
CN105052124A (en) * 2013-02-21 2015-11-11 日本电气株式会社 Image processing device, image processing method and permanent computer-readable medium
CN105204740A (en) * 2015-09-23 2015-12-30 惠州Tcl移动通信有限公司 Manual focal length adjusting method and system for mobile terminal
CN107155055A (en) * 2016-03-02 2017-09-12 中兴通讯股份有限公司 Image pickup method and device based on pressure sensor
US20170302847A1 (en) * 2016-04-14 2017-10-19 Samsung Electronics Co., Ltd. Image capturing method and electronic device supporting the same

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102224488A (en) * 2008-12-22 2011-10-19 帕姆公司 Interpreting gesture input including introduction or removal of a point of contact while a gesture is in progress
EP2482179A2 (en) * 2011-01-28 2012-08-01 Samsung Electronics Co., Ltd Apparatus and method for controlling screen display in touch screen terminal
US20140359438A1 (en) * 2011-09-26 2014-12-04 Kddi Corporation Imaging apparatus for taking image in response to screen pressing operation, imaging method, and program
CN103150045A (en) * 2011-12-07 2013-06-12 义隆电子股份有限公司 Method for improving function of preventing touch of touch panel from error touch
US20150215524A1 (en) * 2012-10-10 2015-07-30 Tencent Technology (Shenzhen) Company Limited Method and apparatus for varying focal length of camera device, and camera device
CN103888656A (en) * 2012-12-19 2014-06-25 信泰光学(深圳)有限公司 Image acquisition device and hand vibration prevention control method thereof
CN105052124A (en) * 2013-02-21 2015-11-11 日本电气株式会社 Image processing device, image processing method and permanent computer-readable medium
CN103995663A (en) * 2014-01-26 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Single-hand touch operation method and device
CN104486543A (en) * 2014-12-09 2015-04-01 北京时代沃林科技发展有限公司 Equipment and method for controlling cloud deck camera by intelligent terminal in touch manner
CN104935811A (en) * 2015-05-29 2015-09-23 努比亚技术有限公司 Adjusting method and terminal equipment
CN105204740A (en) * 2015-09-23 2015-12-30 惠州Tcl移动通信有限公司 Manual focal length adjusting method and system for mobile terminal
CN107155055A (en) * 2016-03-02 2017-09-12 中兴通讯股份有限公司 Image pickup method and device based on pressure sensor
US20170302847A1 (en) * 2016-04-14 2017-10-19 Samsung Electronics Co., Ltd. Image capturing method and electronic device supporting the same

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965709A (en) * 2018-07-25 2018-12-07 维沃移动通信有限公司 A kind of focusing method and terminal
CN108965709B (en) * 2018-07-25 2020-08-14 维沃移动通信有限公司 Focusing method and terminal
WO2020259013A1 (en) * 2019-06-25 2020-12-30 维沃移动通信有限公司 Method for adjusting photographing parameter, and mobile terminal
US11711605B2 (en) 2019-06-25 2023-07-25 Vivo Mobile Communication Co., Ltd. Photographing parameter adjustment method, and mobile terminal
CN112527166A (en) * 2020-12-18 2021-03-19 北京百度网讯科技有限公司 Touch instruction processing method, device, equipment and storage medium
US11531463B2 (en) 2020-12-18 2022-12-20 Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd. Method for determining touch instruction, electronic device and storage medium
CN112905088A (en) * 2021-02-07 2021-06-04 北京蜂巢世纪科技有限公司 Video shooting control method and device
US11539878B2 (en) 2021-02-07 2022-12-27 Beijing SuperHexa Century Technology CO. Ltd. Method and apparatus for controlling video recording

Also Published As

Publication number Publication date
CN108111750B (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN110099213A (en) A kind of image display control method and terminal
US11843715B2 (en) Photographing method and terminal
CN108363524B (en) A kind of application icon display methods and mobile terminal
CN108111750A (en) A kind of zooming adjustment method and mobile terminal
CN109871174A (en) A kind of virtual key display methods and mobile terminal
CN109240577A (en) A kind of screenshotss method and terminal
CN108008859A (en) A kind of screen control method and mobile terminal
CN109669747A (en) A kind of method and mobile terminal of moving icon
CN108920067A (en) A kind of camera focusing method and mobile terminal
CN110032309A (en) A kind of split screen method and terminal device
CN110209313A (en) Icon moving method and terminal device
CN109710349A (en) A kind of screenshotss method and mobile terminal
CN108984082A (en) A kind of image display method and mobile terminal
CN108898555A (en) A kind of image processing method and terminal device
CN110531915A (en) Screen operating method and terminal device
CN110830713A (en) Zooming method and electronic equipment
CN109658886A (en) A kind of control method and terminal of display screen
CN110198413A (en) A kind of video capture method, video capture device and electronic equipment
CN108196757A (en) The setting method and mobile terminal of a kind of icon
CN110460774A (en) A kind of control method and terminal of video record
CN109688341A (en) A kind of method for polishing and terminal device
CN109739394A (en) A kind of processing method of SAR value, mobile terminal
CN109413333A (en) A kind of display control method and terminal
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN108174110A (en) A kind of photographic method and flexible screen terminal

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
GR01 Patent grant
GR01 Patent grant