CN108965709B - Focusing method and terminal - Google Patents

Focusing method and terminal Download PDF

Info

Publication number
CN108965709B
CN108965709B CN201810825327.0A CN201810825327A CN108965709B CN 108965709 B CN108965709 B CN 108965709B CN 201810825327 A CN201810825327 A CN 201810825327A CN 108965709 B CN108965709 B CN 108965709B
Authority
CN
China
Prior art keywords
input
focusing
screen
distance
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.)
Active
Application number
CN201810825327.0A
Other languages
Chinese (zh)
Other versions
CN108965709A (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 CN201810825327.0A priority Critical patent/CN108965709B/en
Publication of CN108965709A publication Critical patent/CN108965709A/en
Application granted granted Critical
Publication of CN108965709B publication Critical patent/CN108965709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly

Abstract

The invention provides a focusing method and a terminal, and solves the problems that when a professional mode is used for manual focusing, the corresponding mode needs to be switched first, the operation complexity is high, and a focus cannot be selected. The focusing method of the invention comprises the following steps: receiving a first input of a user to a first screen; responding to the first input, displaying a focusing identifier at a first position in a photographing preview interface of a second screen, wherein the focusing identifier indicates that the first position is a focusing point; performing a focusing operation based on the first position; wherein the first location is associated with the first input. According to the focusing method provided by the embodiment of the invention, the focus can be conveniently and quickly selected through the two screens of the double-sided screen, the problems that when a professional mode is used for manual focusing, the corresponding mode needs to be switched first, the operation complexity is high, and the focus cannot be selected are solved, and the two screens of the double-sided screen terminal are fully utilized.

Description

Focusing method and terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a focusing method and a terminal.
Background
At present, along with the continuous popularization of intelligent terminal equipment, the use requirements of people on the terminal equipment are higher and higher. At present, the conventional focusing manner in the photographing process is automatic focusing, and the other is dynamic focusing.
When the professional mode is used for manual focusing, the mode needs to be switched to the corresponding mode, a focus cannot be selected, focusing is usually performed by sliding a certain assembly, the occupied screen area is large, the visual focusing viewing effect is influenced, and the operation complexity is high.
Disclosure of Invention
The embodiment of the invention provides a focusing method and a focusing terminal, and aims to solve the problems that when a professional mode is used for manual focusing, the corresponding mode needs to be switched first, the operation complexity is high, and a focus cannot be selected.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a focusing method, which is applied to a terminal, where the terminal includes a first screen, a second screen, and a camera module, and includes:
receiving a first input of a user to a first screen;
responding to the first input, displaying a focusing identifier at a first position in a photographing preview interface of a second screen, wherein the focusing identifier indicates that the first position is a focusing point;
performing a focusing operation based on the first position;
wherein the first location is associated with the first input.
In a second aspect, an embodiment of the present invention further provides a terminal, including a first screen, a second screen, and a camera module, further including:
the first receiving module is used for receiving a first input of a user to the first screen;
the first response module is used for responding to the first input and displaying a focusing identifier at a first position in a photographing preview interface of the second screen, wherein the focusing identifier indicates that the first position is a focusing point;
a processing module for performing a focusing operation based on the first position;
wherein the first location is associated with the first input.
In a third aspect, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the focusing method as described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the focusing method as described above.
In the embodiment of the invention, a first input of a user to a first screen is received; responding to the first input, displaying a focusing identifier at a first position in a photographing preview interface of a second screen, wherein the focusing identifier indicates that the first position is a focusing point; performing a focusing operation based on the first position; the focusing method provided by the embodiment of the invention can conveniently and quickly select the focus through the two screens of the double-sided screen, solves the problems that when a professional mode is used for manual focusing, the corresponding mode needs to be switched first, the operation complexity is high, and the focus cannot be selected, and fully utilizes the two screens of the double-sided screen terminal.
Drawings
FIG. 1 is a flowchart illustrating a focusing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a display effect of a photo preview interface according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a focus indication displayed on a second screen according to an embodiment of the present invention;
FIG. 4 is a first schematic diagram of adjusting a distance between a focus point and a lens of a camera module according to an embodiment of the present invention;
FIG. 5 is a second schematic diagram of adjusting a distance between a focus point and a lens of a camera module according to an embodiment of the invention;
fig. 6 is a schematic block diagram of a terminal according to an embodiment of the present invention;
fig. 7 is a second schematic block diagram of a terminal according to an embodiment of the present invention;
fig. 8 is a block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a focusing method according to an embodiment of the present invention. The implementation of the method is described in detail below with reference to this figure.
The embodiment of the invention provides a focusing method, which is applied to a terminal, wherein the terminal comprises a first screen, a second screen and a camera module, and the camera module comprises a lens, wherein the focusing method comprises the following steps:
step 101: a first input to the first screen by a user is received.
The terminal is a dual-screen terminal, the first screen may be a back screen of the terminal, and the second screen may be a front screen of the terminal.
Firstly, a camera of the terminal is started, after a photographing preview interface is displayed on a second screen, a first input of a user to the first screen is received, and a display effect of the photographing preview interface of the second screen 10 is shown in fig. 2.
The first input may be a blank input, or may be a touch screen input, such as a click input or a long-press input, and the first input may also be a first operation.
Step 102: and responding to the first input, displaying a focusing identifier at a first position in a photographing preview interface of the second screen, wherein the focusing identifier indicates that the first position is a focusing point.
Wherein the first location is associated with the first input. For example, the first position may be specifically a position in contact with the screen when the user inputs the first input. The focusing mark may be a circular mark.
Step 103: based on the first position, a focusing operation is performed.
The focusing operation may be an automatic focusing operation or a manual focusing operation based on the automatic focusing operation.
The focusing method of the embodiment of the invention receives a first input of a user to a first screen; responding to the first input, displaying a focusing identifier at a first position in a photographing preview interface of a second screen, wherein the focusing identifier indicates that the first position is a focusing point; performing a focusing operation based on the first position; the focusing method provided by the embodiment of the invention can conveniently and quickly select the focus through the two screens of the double-sided screen, solves the problems that when a professional mode is used for manual focusing, the corresponding mode needs to be switched first, the operation complexity is high, and the focus cannot be selected, and fully utilizes the two screens of the double-sided screen terminal.
Further, the first input includes a touch input;
based on this, the step 102 displays the focusing mark at the first position in the photo preview interface of the second screen in response to the first input, and includes:
as shown in fig. 3, a first touch position 30 of the touch input on the first screen 20 is obtained; determining a first position of the first touch position 30 mapped on the second screen 10; in the first position, the in-focus flag 40 is displayed.
The touch input is click input or long-press input. For example, a finger of the user, such as the index finger, presses on the back side of the phone (the first screen), and the front side of the phone (the second screen) displays a bright spot representing the selected focus.
Through the steps, a pair of focuses can be selected, so that automatic focusing can be performed according to the pair of focuses subsequently.
Further, the step 103 performs a focusing operation based on the first position, and includes:
and taking the first position as a focusing point to carry out automatic focusing.
In the embodiment of the invention, one focusing point can be selected by utilizing two screens of the mobile terminal, and automatic focusing is carried out based on the focusing point.
Further, after performing auto-focusing with the first position as a focusing point, the method further includes:
receiving a second input of the first screen by a user;
responding to the second input, updating the focusing identification to a second position in a photographing preview interface of the second screen, and carrying out automatic focusing by taking the second position as a focusing point;
wherein the second location is associated with the second input.
Specifically, a second touch position of a second input on the first screen is obtained; and determining a second position of the second touch position mapped on the second screen, and updating the focusing identifier to the second position.
The second input is a touch input, such as a click input or a long-time press input, and the position of the focusing identifier in the second screen can be changed through the second input, that is, the focusing identifier in the embodiment of the present invention can change the position with the re-click of the finger on the secondary screen (the first screen), so that the user can change the focusing point of the automatic focusing.
Further, after performing the focusing operation based on the first position in step 103, the method further includes:
receiving a third input of the first screen or the second screen by a user;
and responding to the third input, and adjusting the distance between the focusing point and the lens of the camera module.
The third input is a touch input, such as a press input, a long press input, or a click input.
According to the focusing method provided by the embodiment of the invention, a focus can be selected firstly, the distance between the focus and the lens of the camera module is adjusted, namely, manual focusing is carried out based on the selected focus, so that the problems that when a professional mode is used for manual focusing, the corresponding mode needs to be switched firstly, the operation complexity is high, and the focus cannot be selected are solved, and two screens of a double-sided screen terminal are fully utilized.
Specifically, the input characteristics of the third input are obtained; and adjusting the distance between the focusing point and the lens of the camera module based on the input characteristics.
The input feature may be specifically an input direction and an input distance, and for example, the size of the focal length to be adjusted may be determined and adjusted according to a corresponding relationship between a preset input direction, an input distance, and a focal length. The focal length refers to the distance between a focusing point and a lens of the camera module.
Here, the distance between the focusing point and the lens of the camera module can be quickly adjusted through the input characteristics of the third input, and the operation is simple and convenient to realize.
As an optional implementation manner, the third input includes a first touch sub-input and a second touch sub-input;
the adjusting a distance between the focus point and a lens of the camera module based on the input feature includes:
acquiring a first input direction of the first touch sub-input and a second input direction of the second touch sub-input;
acquiring a first input distance of the first touch sub-input and a second input distance of the second touch sub-input;
determining a change direction of a distance between the focusing point and a lens of the camera module based on the first input direction and the second input direction, wherein the change direction comprises a zooming-in distance or a zooming-out distance;
determining a variation value of a distance between the focusing point and a lens of the camera module based on the first input distance and the second input distance;
and adjusting the distance between the focusing point and the lens of the camera module based on the change direction and the change value.
For example, the first touch sub-input is that a finger of a user approaches a target position along a first direction, and a second finger of the user approaches the target position along a second direction, and the second touch sub-input is that the first finger of the user moves away from the target position along the first direction, and the second finger of the user moves away from the target position along the second direction, where the first direction and the second direction are opposite directions. The target position may be any position in the first screen or the second screen, and preferably, the target position is a position corresponding to the focus in the first screen or the second screen. As shown in fig. 4, the second screen 10 receives the second touch sub-input 50, and at this time, the distance between the focus point and the lens of the camera module is enlarged according to the moving distance of the two fingers of the user, that is, the image is enlarged. As shown in fig. 5, the first screen 20 receives the first touch sub-input 60, and at this time, the distance between the focus point and the lens of the camera module is reduced according to the moving distance of the two fingers of the user, that is, the image is reduced, wherein the larger the moving distance of the two fingers of the user is, the larger the variation value of the focus distance is.
In the embodiment of the present invention, a user directly pulls out (second touch sub input) or retracts in (first touch sub input) the first screen or the second screen by using two fingers, and at this time, a manual focusing mode is triggered, the camera turns off the automatic focusing, but the position of the motor is still kept at the previous automatic focusing position. Then, the bright spot of the front main screen disappears automatically, and at the moment, the voice coil motor VCM moves back and forth on the previous manual focusing base position, so that the manual focusing effect is achieved.
It should be noted that, the third input is an input received in the input process of the first input;
or, the third input is an input received after the input of the first input is finished.
In the embodiment of the present invention, when the third input is an input received after the input of the first input is received, that is, when the first input of the user on the first screen is detected, a focus is selected and autofocus is performed, and then the manual focusing mode is performed when the third input is received.
And if the third input is received, if the user pulls out or retracts in the front main screen by using two fingers, the displayed focus point disappears, and the voice coil motor VCM moves back and forth on the basic position of the previous automatic focusing, so that the purpose of manual adjustment is achieved, and in the process, the fingers on the back screen cannot leave the back screen.
The embodiment of the invention can realize the purpose of focusing by correspondingly operating other screens except the screen where the photographing preview interface is positioned, increases the focusing mode of the terminal and fully utilizes two screens of the double-sided screen terminal.
As shown in fig. 6, an embodiment of the present invention further provides a terminal 600, which includes a first screen, a second screen, and a camera module, and further includes:
a first receiving module 601, configured to receive a first input of a first screen from a user;
a first response module 602, configured to respond to the first input, display a focusing identifier at a first position in a photo preview interface of a second screen, where the focusing identifier indicates that the first position is a focus point;
a processing module 603 configured to perform a focusing operation based on the first position;
wherein the first location is associated with the first input.
In the terminal of the embodiment of the invention, the first input comprises a touch input;
as shown in fig. 7, the first response module 602 includes:
a first obtaining sub-module 6021 configured to obtain a first touch position of the touch input on the first screen;
a determination sub-module 6022 configured to determine a first position of the first touch position mapped on the second screen;
and the display sub-module 6023 is used for displaying the focusing identification at the first position.
In the terminal according to the embodiment of the present invention, the processing module 603 is configured to perform auto focusing by using the first position as a focusing point.
The terminal of the embodiment of the invention further comprises:
a second receiving module 604, configured to receive a second input of the first screen from the user after the processing module 603 performs auto-focusing with the first position as a focusing point;
a second response module 605, configured to respond to the second input, update the focusing identifier to a second position in the photographing preview interface of the second screen, and perform auto focusing with the second position as a focusing point;
wherein the second location is associated with the second input.
The terminal of the embodiment of the invention further comprises:
a third receiving module 606, configured to receive a third input of the first screen or the second screen from the user after the processing module 603 performs a focusing operation based on the first position;
a third response module 607, configured to adjust a distance between the focus point and a lens of the camera module in response to the third input.
In the terminal of the embodiment of the present invention, the third response module 607 includes:
a second obtaining sub-module 6071, configured to obtain an input feature of the third input;
an adjusting submodule 6072, configured to adjust a distance between the focus point and a lens of the camera module based on the input feature.
In the terminal of the embodiment of the present invention, the third input includes a first touch sub-input and a second touch sub-input;
the adjustment submodule 6072 includes:
a first obtaining unit 60721, configured to obtain a first input direction of the first touch sub-input and a second input direction of the second touch sub-input;
a second obtaining unit 60722, configured to obtain a first input distance of the first touch sub-input and a second input distance of the second touch sub-input;
a first determination unit 60723, configured to determine a change direction of a distance between the focus point and a lens of the camera module based on the first input direction and the second input direction, where the change direction includes a zoom-in distance or a zoom-out distance;
a second determination unit 60724, configured to determine a variation value of a distance between the focus point and a lens of the camera module based on the first input distance and the second input distance;
an adjusting unit 60725, configured to adjust a distance between the focus point and a lens of the camera module based on the change direction and the change value.
In the terminal of the embodiment of the present invention, the third input is an input received in the input process of the first input;
or, the third input is an input received after the input of the first input is finished.
It should be noted that the terminal is a terminal corresponding to the above method embodiment, and all implementation manners in the above method embodiment are applicable to the embodiment of the terminal, and the same technical effect can be achieved.
The terminal of the embodiment of the invention receives a first input of a user to a first screen; responding to the first input, displaying a focusing identifier at a first position in a photographing preview interface of a second screen, wherein the focusing identifier indicates that the first position is a focusing point; performing a focusing operation based on the first position; the focusing method provided by the embodiment of the invention can conveniently and quickly select the focus through the two screens of the double-sided screen, solves the problems that when a professional mode is used for manual focusing, the corresponding mode needs to be switched first, the operation complexity is high, and the focus cannot be selected, and fully utilizes the two screens of the double-sided screen terminal.
Fig. 8 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the terminal configuration shown in fig. 8 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 810 is configured to receive a first input of the first screen from the user through the user input unit 807; responding to the first input, displaying a focusing identifier at a first position in a photographing preview interface of a second screen, wherein the focusing identifier indicates that the first position is a focusing point; performing a focusing operation based on the first position; wherein the first location is associated with the first input.
The processor can realize each process of the focusing method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
According to the technical scheme of the embodiment of the invention, the first input of the user to the first screen is received; responding to the first input, displaying a focusing identifier at a first position in a photographing preview interface of a second screen, wherein the focusing identifier indicates that the first position is a focusing point; performing a focusing operation based on the first position; the focusing method provided by the embodiment of the invention can conveniently and quickly select the focus through the two screens of the double-sided screen, solves the problems that when a professional mode is used for manual focusing, the corresponding mode needs to be switched first, the operation complexity is high, and the focus cannot be selected, and fully utilizes the two screens of the double-sided screen terminal.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the terminal 800 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 808 is an interface for connecting an external device to the terminal 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the terminal 800 or may be used to transmit data between the terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the terminal. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to provide management of charging, discharging, and power consumption via the power management system.
In addition, the terminal 800 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing focusing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing focusing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A focusing method is applied to a terminal, the terminal comprises a first screen, a second screen and a camera module, and the focusing method is characterized by comprising the following steps:
receiving a first input of a user to a first screen;
responding to the first input, displaying a focusing identifier at a first position in a photographing preview interface of a second screen, wherein the focusing identifier indicates that the first position is a focusing point;
performing a focusing operation based on the first position;
wherein the first location is associated with the first input;
based on the first position, after the focusing operation is executed, the method further comprises the following steps:
receiving a third input of the first screen or the second screen by a user, wherein the third input is an input received in the input process of the first input;
and responding to the third input, and adjusting the distance between the focusing point and the lens of the camera module.
2. The focusing method of claim 1, wherein the first input comprises a touch input;
the responding to the first input, displaying a focusing mark at a first position in a photographing preview interface of the second screen, and the method comprises the following steps:
acquiring a first touch position of the touch input on the first screen;
determining a first position of the first touch position mapped on the second screen;
and displaying a focusing mark at the first position.
3. The focusing method according to claim 1, wherein the performing a focusing operation based on the first position comprises:
and taking the first position as a focusing point to carry out automatic focusing.
4. The focusing method of claim 3, wherein after performing auto-focusing with the first position as a focusing point, further comprising:
receiving a second input of the first screen by a user;
responding to the second input, updating the focusing identification to a second position in a photographing preview interface of the second screen, and carrying out automatic focusing by taking the second position as a focusing point;
wherein the second location is associated with the second input.
5. The focusing method of claim 1, wherein the adjusting the distance between the focusing point and the lens of the camera module in response to the third input comprises:
acquiring input features of the third input;
and adjusting the distance between the focusing point and the lens of the camera module based on the input characteristics.
6. The focusing method of claim 5, wherein the third input comprises a first touch sub-input and a second touch sub-input;
the adjusting a distance between the focus point and a lens of the camera module based on the input feature includes:
acquiring a first input direction of the first touch sub-input and a second input direction of the second touch sub-input;
acquiring a first input distance of the first touch sub-input and a second input distance of the second touch sub-input;
determining a change direction of a distance between the focusing point and a lens of the camera module based on the first input direction and the second input direction, wherein the change direction comprises a zooming-in distance or a zooming-out distance;
determining a variation value of a distance between the focusing point and a lens of the camera module based on the first input distance and the second input distance;
and adjusting the distance between the focusing point and the lens of the camera module based on the change direction and the change value.
7. The utility model provides a terminal, includes first screen, second screen and camera module, its characterized in that still includes:
the first receiving module is used for receiving a first input of a user to the first screen;
the first response module is used for responding to the first input and displaying a focusing identifier at a first position in a photographing preview interface of the second screen, wherein the focusing identifier indicates that the first position is a focusing point;
a processing module for performing a focusing operation based on the first position;
wherein the first location is associated with the first input;
a third receiving module, configured to receive a third input of the first screen or the second screen from the user after the processing module performs a focusing operation based on the first position, where the third input is an input received in an input process of the first input;
and the third response module is used for responding to the third input and adjusting the distance between the focusing point and the lens of the camera module.
8. The terminal of claim 7, wherein the first input comprises a touch input;
the first response module comprises:
the first obtaining submodule is used for obtaining a first touch position of the touch input on the first screen;
the determining submodule is used for determining a first position of the first touch position mapped on the second screen;
and the display submodule is used for displaying the focusing mark at the first position.
9. The terminal of claim 7, wherein the processing module is configured to perform auto-focusing with the first position as a focus point.
10. The terminal of claim 9, further comprising:
the second receiving module is used for receiving second input of the user to the first screen after the processing module takes the first position as a focusing point and carries out automatic focusing;
the second response module is used for responding to the second input, updating the focusing identifier to a second position in a photographing preview interface of the second screen, and carrying out automatic focusing by taking the second position as a focusing point;
wherein the second location is associated with the second input.
11. The terminal of claim 7, wherein the third response module comprises:
the second obtaining submodule is used for obtaining the input characteristics of the third input;
and the adjusting submodule is used for adjusting the distance between the focusing point and the lens of the camera module based on the input characteristics.
12. The terminal of claim 11, wherein the third input comprises a first touch sub-input and a second touch sub-input;
the adjustment submodule includes:
a first obtaining unit, configured to obtain a first input direction of the first touch sub-input and a second input direction of the second touch sub-input;
a second obtaining unit, configured to obtain a first input distance of the first touch sub-input and a second input distance of the second touch sub-input;
a first determining unit, configured to determine a change direction of a distance between the focus point and a lens of the camera module based on the first input direction and the second input direction, where the change direction includes a zoom-in distance or a zoom-out distance;
a second determining unit, configured to determine a variation value of a distance between the focus point and a lens of the camera module based on the first input distance and the second input distance;
and the adjusting unit is used for adjusting the distance between the focusing point and the lens of the camera module based on the change direction and the change value.
13. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the focusing method as claimed in any one of claims 1 to 6.
14. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the focusing method as set forth in any one of claims 1 to 6.
CN201810825327.0A 2018-07-25 2018-07-25 Focusing method and terminal Active CN108965709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810825327.0A CN108965709B (en) 2018-07-25 2018-07-25 Focusing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810825327.0A CN108965709B (en) 2018-07-25 2018-07-25 Focusing method and terminal

Publications (2)

Publication Number Publication Date
CN108965709A CN108965709A (en) 2018-12-07
CN108965709B true CN108965709B (en) 2020-08-14

Family

ID=64463768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810825327.0A Active CN108965709B (en) 2018-07-25 2018-07-25 Focusing method and terminal

Country Status (1)

Country Link
CN (1) CN108965709B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1895360A1 (en) * 2006-09-01 2008-03-05 Research In Motion Limited Camera-steady focus requirements for preventing inconspicuous use of cameras on handheld mobile communication devices
CN101937315A (en) * 2010-06-29 2011-01-05 上海复创计算机信息技术有限公司 Multi-screen display operation control system and method
CN102486689A (en) * 2010-12-06 2012-06-06 联想(北京)有限公司 Input method and terminal
CN103297699A (en) * 2013-05-31 2013-09-11 北京小米科技有限责任公司 Method and terminal for shooting images
CN103516977A (en) * 2012-06-21 2014-01-15 三星电子株式会社 Digital photographing apparatus and control method of the same
CN103729128A (en) * 2012-10-10 2014-04-16 腾讯科技(深圳)有限公司 Method and device for transforming focal length of camera shooting equipment
CN104144321A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Video monitoring system, method for controlling front end lens in video monitoring system and intelligent terminal
CN105141852A (en) * 2015-10-10 2015-12-09 李彦辰 Control method and control device under double-screen mobile phone shooting mode
CN106982326A (en) * 2017-03-29 2017-07-25 华勤通讯技术有限公司 Its focalization method and terminal
CN107529010A (en) * 2017-08-16 2017-12-29 维沃移动通信有限公司 A kind of photographic method, mobile terminal and storage medium
CN108111750A (en) * 2017-12-12 2018-06-01 维沃移动通信有限公司 A kind of zooming adjustment method and mobile terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360189B (en) * 2008-07-03 2011-01-19 明基电通有限公司 Camera control method and camera thereof
KR101505681B1 (en) * 2008-09-05 2015-03-30 엘지전자 주식회사 Mobile Terminal With Touch Screen And Method Of Photographing Image Using the Same
KR101532610B1 (en) * 2009-01-22 2015-06-30 삼성전자주식회사 A digital photographing device, a method for controlling a digital photographing device, a computer-readable storage medium
JP6281562B2 (en) * 2013-02-21 2018-02-21 日本電気株式会社 Image processing apparatus, image processing method, and program
CN103220464B (en) * 2013-03-13 2016-08-17 广东欧珀移动通信有限公司 A kind of method and system taken pictures
KR102123945B1 (en) * 2013-07-08 2020-06-17 엘지전자 주식회사 Electronic device and operating method thereof
CN104506765B (en) * 2014-11-21 2018-05-11 惠州Tcl移动通信有限公司 A kind of mobile terminal and its focusing method based on touch gestures
CN105611143B (en) * 2015-09-15 2018-03-02 广东欧珀移动通信有限公司 The photographic method and electronic equipment of a kind of electronic equipment
CN106686213A (en) * 2016-12-01 2017-05-17 努比亚技术有限公司 Shooting method and apparatus thereof
CN107454321A (en) * 2017-07-28 2017-12-08 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and computer-readable recording medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1895360A1 (en) * 2006-09-01 2008-03-05 Research In Motion Limited Camera-steady focus requirements for preventing inconspicuous use of cameras on handheld mobile communication devices
CN101937315A (en) * 2010-06-29 2011-01-05 上海复创计算机信息技术有限公司 Multi-screen display operation control system and method
CN102486689A (en) * 2010-12-06 2012-06-06 联想(北京)有限公司 Input method and terminal
CN103516977A (en) * 2012-06-21 2014-01-15 三星电子株式会社 Digital photographing apparatus and control method of the same
CN103729128A (en) * 2012-10-10 2014-04-16 腾讯科技(深圳)有限公司 Method and device for transforming focal length of camera shooting equipment
CN104144321A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Video monitoring system, method for controlling front end lens in video monitoring system and intelligent terminal
CN103297699A (en) * 2013-05-31 2013-09-11 北京小米科技有限责任公司 Method and terminal for shooting images
CN105141852A (en) * 2015-10-10 2015-12-09 李彦辰 Control method and control device under double-screen mobile phone shooting mode
CN106982326A (en) * 2017-03-29 2017-07-25 华勤通讯技术有限公司 Its focalization method and terminal
CN107529010A (en) * 2017-08-16 2017-12-29 维沃移动通信有限公司 A kind of photographic method, mobile terminal and storage medium
CN108111750A (en) * 2017-12-12 2018-06-01 维沃移动通信有限公司 A kind of zooming adjustment method and mobile terminal

Also Published As

Publication number Publication date
CN108965709A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108668083B (en) Photographing method and terminal
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN108536365B (en) Image sharing method and terminal
CN107835321B (en) Incoming call processing method and mobile terminal
CN108471498B (en) Shooting preview method and terminal
CN108495029B (en) Photographing method and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN108174103B (en) Shooting prompting method and mobile terminal
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN110913139B (en) Photographing method and electronic equipment
CN110445984B (en) Shooting prompting method and electronic equipment
CN110209313B (en) Icon moving method and terminal equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN110602389B (en) Display method and electronic equipment
WO2019184947A1 (en) Image viewing method and mobile terminal
CN111562896B (en) Screen projection method and electronic equipment
CN107728923B (en) Operation processing method and mobile terminal
CN111031248A (en) Shooting method and electronic equipment
CN110830713A (en) Zooming method and electronic equipment
CN108174110B (en) Photographing method and flexible screen terminal
CN108174109B (en) Photographing method and mobile terminal
CN111405181B (en) Focusing method and electronic equipment
CN108111750B (en) Zoom adjustment method, mobile terminal and computer readable storage medium
CN110944114B (en) Photographing method and electronic equipment

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