CN109639971B - Shooting focal length adjusting method and terminal equipment - Google Patents

Shooting focal length adjusting method and terminal equipment Download PDF

Info

Publication number
CN109639971B
CN109639971B CN201811545190.XA CN201811545190A CN109639971B CN 109639971 B CN109639971 B CN 109639971B CN 201811545190 A CN201811545190 A CN 201811545190A CN 109639971 B CN109639971 B CN 109639971B
Authority
CN
China
Prior art keywords
input
screen
focal length
shooting
range
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
CN201811545190.XA
Other languages
Chinese (zh)
Other versions
CN109639971A (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 CN201811545190.XA priority Critical patent/CN109639971B/en
Publication of CN109639971A publication Critical patent/CN109639971A/en
Application granted granted Critical
Publication of CN109639971B publication Critical patent/CN109639971B/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
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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/62Control of parameters via user interfaces
    • 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/63Control of cameras or camera modules by using electronic viewfinders

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a shooting focal length adjusting method and terminal equipment, relates to the technical field of communication, and aims to solve the problem that shooting focusing accuracy of existing terminal equipment is low. The method comprises the following steps: receiving a first input of a user to a first screen in the shooting process; responding to the first input, and adjusting the shooting focal length of the target image displayed in the shooting preview interface in the second screen to a target focal length value associated with the first input; wherein the first input is: bending input to the first screen or input to two focusing controls displayed by the first screen. The method can be applied to shooting focusing scenes of the terminal equipment.

Description

Shooting focal length adjusting method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a shooting focal length adjusting method and terminal equipment.
Background
With the wider application range of the terminal device, the user can trigger the terminal device to focus in an automatic focusing or manual focusing manner.
Taking a manual focusing manner as an example, at present, a user may input a manual focusing control in a shooting interface of a terminal device to trigger the terminal device to focus on a shot object. For example, taking a manual focusing control as a focusing progress bar as an example, the user may slide on the focusing progress bar to trigger the terminal device to adjust the shooting focal length.
However, since the length of the focusing progress bar in the above-described photographing interface is limited, in the case where the step size (the distance between two scales on the focusing progress bar) is fixed, the number of scales on the focusing progress bar is limited, resulting in low photographing focusing accuracy.
Disclosure of Invention
The embodiment of the invention provides a shooting focal length adjusting method and terminal equipment, and aims to solve the problem that shooting focusing accuracy of existing terminal equipment is low.
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 method for adjusting a shooting focal length, which is applied to a terminal device, where the terminal device includes a first screen and a second screen, and the method includes: receiving a first input of a user to a first screen in the shooting process; responding to the first input, and adjusting the shooting focal length of the target image displayed in the shooting preview interface in the second screen to a target focal length value associated with the first input; wherein the first input is: bending input to the first screen or input to two focusing controls displayed by the first screen.
In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes a first screen and a second screen, and the terminal device further includes a receiving module and a processing module. The receiving module is used for receiving a first input of a user to the first screen in the shooting process. The processing module is used for responding to the first input received by the receiving module, and adjusting the shooting focal length of the target image displayed in the shooting preview interface in the second screen to a target focal length value associated with the first input; wherein the first input is: bending input to the first screen or input to two focusing controls displayed by the first screen.
In a third aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and the computer program, when executed by the processor, implements the steps of the shooting focus adjusting method in the first aspect.
In a fourth aspect, an embodiment of the present invention 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 shooting focus adjustment method of the first aspect.
In the embodiment of the invention, a first input of a user to a first screen (the first input is a bending input to the first screen or an input to two focusing controls displayed on the first screen) can be received in the shooting process, and the shooting focal length of a target image displayed in a shooting preview interface in a second screen can be adjusted to a target focal length value associated with the first input in response to the first input. According to the scheme, on one hand, focusing is triggered through bending input of the first screen, the shooting focal length can be adjusted according to the folding angle between the two screens, and the detection precision of the angle value is high, so that the focal length value is determined through the angle value, and the focusing precision can be improved; or, the focusing is triggered by the input of the two focusing controls, and the focusing modes of coarse adjustment and fine adjustment can be combined to improve the focusing precision. Therefore, the embodiment of the invention can improve the focusing precision of the terminal equipment.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a method for adjusting a photographing focal length according to an embodiment of the present invention;
fig. 3 is a second schematic diagram illustrating a method for adjusting a photographing focal length according to an embodiment of the present invention;
fig. 4 is one of schematic interfaces of an application of a method for adjusting a photographing focal length according to an embodiment of the present invention;
fig. 5 is a second schematic interface diagram of an application of the method for adjusting a photographing focal length according to the embodiment of the present invention;
fig. 6 is a third schematic interface diagram of an application of the method for adjusting a photographing focal length according to the embodiment of the present invention;
fig. 7 is a third schematic view illustrating a method for adjusting a photographing focal length according to an embodiment of the present invention;
fig. 8 is a fourth schematic interface diagram of an application of the method for adjusting a photographing focal length according to the embodiment of the present invention;
fig. 9 is a fifth schematic interface diagram of an application of the method for adjusting a photographing focal length according to the embodiment of the present invention;
fig. 10 is a sixth schematic interface diagram of an application of the method for adjusting a photographing focal length according to the embodiment of the present invention;
fig. 11 is a fourth schematic view illustrating a method for adjusting a photographing focal length according to an embodiment of the present invention;
fig. 12 is a seventh schematic interface diagram of an application of the method for adjusting a photographing focal length according to the embodiment of the present invention;
fig. 13 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 14 is a hardware schematic diagram of a terminal device 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.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first focus control and the second focus control, etc. are used to distinguish between different focus controls, rather than to describe a particular order of focus controls.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of processing units means two or more processing units, and the like.
The embodiment of the invention provides a shooting focal length adjusting method and terminal equipment, which can receive a first input of a user to a first screen (the first input is a bending input to the first screen or an input to two focusing controls displayed on the first screen) in a shooting process, and can adjust a shooting focal length of a target image displayed in a shooting preview interface in a second screen to a target focal length value associated with the first input in response to the first input. According to the scheme, on one hand, focusing is triggered through bending input of the first screen, the shooting focal length can be adjusted according to the folding angle between the two screens, and the detection precision of the angle value is high, so that the focal length value is determined through the angle value, and the focusing precision can be improved; or, the focusing is triggered by the input of the two focusing controls, and the focusing modes of coarse adjustment and fine adjustment can be combined to improve the focusing precision. Therefore, the embodiment of the invention can improve the focusing precision of the terminal equipment.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
Next, a software environment applied to the method for adjusting a shooting focal length according to the embodiment of the present invention is described by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the shooting focal length adjustment method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the shooting focal length adjustment method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can realize the shooting focal length adjusting method provided by the embodiment of the invention by running the software program in the android operating system.
The terminal equipment in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution subject of the shooting focal length adjustment method provided in the embodiment of the present invention may be the terminal device, or may also be a functional module and/or a functional entity capable of implementing the shooting focal length adjustment method in the terminal device, and may specifically be determined according to actual use requirements, which is not limited in the embodiment of the present invention. The following takes a terminal device as an example to exemplarily explain the shooting focal length adjustment method provided by the embodiment of the present invention.
As shown in fig. 2, an embodiment of the present invention provides a shooting focus adjustment method, where the shooting focus adjustment method is applied to a folding screen type terminal device, where the terminal device may include a first screen and a second screen, and the shooting focus adjustment method may include steps 200 to 201 described below.
Step 200, the terminal device receives a first input of a user to the first screen in the shooting process.
In the embodiment of the invention, if a user needs to use the terminal device for shooting, the user can trigger the terminal device to run the camera application program at the moment, and under the condition that the terminal device runs the camera application program and the second screen displays the shooting preview interface, the user can trigger the terminal device to execute the action of shooting focusing through inputting to the first screen, namely, the shooting focal length is adjusted.
Optionally, in the embodiment of the present invention, when the terminal device runs the camera application, if the current mode is a Manual Focus (MF) mode, the terminal device may respond to the target input of the user and execute a shooting focusing action. For example, the user may select an MF mode (e.g., MF in the "professional" item shown in fig. 3) in which the user may trigger the terminal device to perform an action of photographing focus through the above-described target input.
Optionally, in the embodiment of the present invention, when the terminal device runs the camera application, if the current mode is the full-automatic mode (that is, all the parameters are set by the system algorithm), the terminal device may not respond to the target input of the user. For example, in the case of the full-automatic mode, even if the user folds the screen of the terminal device, the terminal device does not perform an action of photographing focus.
Step 201, the terminal device responds to the first input, and adjusts the shooting focal length of the target image displayed in the shooting preview interface in the second screen to a target focal length value associated with the first input.
Optionally, in an embodiment of the present invention, the first input may be a bending input to the first screen, or an input to two focusing controls displayed on the first screen. The following describes in detail a specific implementation manner of the shooting focus adjustment method provided by the embodiment of the present invention under different first inputs through a first implementation manner and a second implementation manner.
First embodiment
In the first embodiment, the first input is a bending input to the first screen.
Referring to fig. 2, as shown in fig. 3, the step 200 may be specifically realized by a step 200a described below, and the step 201 may be specifically realized by a step 201a described below.
Step 200a, the terminal device receives a bending input of the first screen by a user.
The bending input is used for triggering and adjusting the folding angle between the first screen and the second screen to a first angle.
In the embodiment of the present invention, when the second screen is used for displaying a shooting preview interface, the first input to the first screen by the user may be a bending input that changes a folding angle between the first screen and the second screen by folding the first screen. It may be understood that, the above exemplary description has been given by taking the first input as the user's bending input on the first screen, and the embodiment of the present invention is not limited thereto, and if the first screen is used for displaying the shooting preview interface, the first input may be a user's bending input on the second screen. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In this embodiment of the present invention, if the user folds the first screen of the terminal device, so that the folding angle between the first screen and the second screen is changed, the terminal device may detect the folding angle between the first screen and the second screen (i.e., the first angle) in response to the input.
Optionally, in the embodiment of the present invention, the terminal device may use a gyroscope (angular motion sensing device) to detect the folding angle between the first screen and the second screen, and may also use any other possible angle sensor to detect the folding angle between the first screen and the second screen, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
Step 201a, the terminal device responds to the bending input, and adjusts the shooting focal length of the target image displayed in the shooting preview interface in the second screen to a target focal length value associated with the first angle.
In the embodiment of the present invention, the terminal device may detect a folding angle (i.e., a first angle) between the first screen and the second screen in response to the bending input, determine a focal length value (i.e., a target focal length value) corresponding to the folding angle, and adjust a shooting focal length of a target image displayed in the shooting preview interface in the second screen to the target focal length value.
In the embodiment of the invention, the terminal device can pre-store the corresponding relation between the folding angle between the first screen and the second screen and the focal length value, wherein one folding angle corresponds to one focal length value. Illustratively, as shown in table 1, when the folding angle between the first screen and the second screen is 90 °, the focal length value is 0.1 m; when the folding angle between the first screen and the second screen is 120 degrees, the focal length value is 5 meters; when the folding angle between the first screen and the second screen is 180 °, the focal length value is infinite.
Folding angle Focal length value
90° 0.1 m
150° 5 m
180° +∞
TABLE 1
In this embodiment of the present invention, the terminal device may determine, according to the correspondence, a focal length value (i.e., the target focal length value) corresponding to the folding angle (i.e., the first angle) according to the folding angle between the first screen and the second screen.
It is understood that the above-mentioned correspondence between the folding angle and the focal length value is an exemplary list, that is, the embodiments of the present invention include, but are not limited to, the above-mentioned listed correspondence and the number of the correspondence. In practice, the above correspondence may also be any other possible correspondence, for example, when the folding angle between the first screen and the second screen is 120 °, the focal length value may be 5 meters. Also, the number of the correspondence relationships may be determined according to the detection accuracy of the folding angle. Specifically, the corresponding content and the number of the corresponding relationship may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
Optionally, in an embodiment of the present invention, a folding angle between the first screen and the second screen may be within a first target value range, the focal length value may be within a second target value range, a minimum value of the second target value range may correspond to a minimum value of the first target value range (i.e., the minimum focal length value corresponds to the minimum folding angle), and a maximum value of the second target value range may correspond to a maximum value of the first target value range (i.e., the maximum focal length value corresponds to the maximum folding angle), where the minimum value of the second target value range is the minimum shooting focal length, and the maximum value of the second target value range is the maximum shooting focal length. The minimum value of the first target numerical range is the same as the minimum shooting focal length, and the maximum value of the first target numerical range is the same as the maximum shooting focal length.
Illustratively, assuming that the minimum photographing focal length is 0.1 m and the maximum photographing focal length is + ∞, i.e., the photographing focal length may be in the range of [0.1 m, + ∞), and the folding angle between the first screen and the second screen may be in the range of [90 °, 180 ° ], then the folding angle of 90 ° corresponds to a focal length value of 0.1 m, and the folding angle of 180 ° corresponds to a focal length value + ∞.
It is to be understood that the above focal length ranges are exemplary lists, i.e., embodiments of the present invention include, but are not limited to, the above listed focal length values. In practice, the above focal distance range may be any other possible value range, for example, the shooting focal distance may be in the range of [15 cm, + ∞). Specifically, the numerical values of the minimum shooting focal length and the maximum shooting focal length may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
It will also be appreciated that the ranges of fold angles between the first and second panels described above are also exemplary lists, i.e., embodiments of the present invention include, but are not limited to, the above listed fold angles. In practice, the range of the folding angle may be any other possible value range, for example, the folding angle may be in the range of [100 °, 170 ° ]. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
It should be noted that, the above description is an exemplary description taking the minimum folding angle corresponding to the minimum focal length value and the maximum folding angle corresponding to the maximum focal length value as examples, and it is understood that the embodiments of the present invention are not limited thereto, and may also include the following cases: the minimum focal length value corresponds to the maximum folding angle, and the maximum focal length value corresponds to the minimum folding angle, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, the focal length value corresponding to the folding angle may be determined according to the corresponding relationship between the folding angle between the first screen and the second screen and the focal length value, and according to the folding angle between the first screen and the second screen. Because the detection precision of the angle value is higher, the focus value is determined through the angle value, and the focusing precision can be improved.
Optionally, in an embodiment of the present invention, the first target range may include M first values (M is an integer greater than 1), the second target range may include M second values, and the M first values and the M second values are in one-to-one correspondence.
In an embodiment of the present invention, a difference between any two adjacent values of the M first values is the same (i.e., the M first values may form an equal difference sequence). For example, assuming that the folding angle between the first screen and the second screen is in the range of [90 °, 180 ° ] and the detection accuracy of the folding angle is 1 °, the first target value range may include 90 (i.e., M) first values, and the difference between any two adjacent values of the 90 first values may be 1 °.
Optionally, in a possible implementation manner, the difference between any two adjacent values in the M second values is the same (that is, the M second values may form an equal difference sequence). For example, assuming that the shooting focal distance may be in the range of [0.1 meter, + ∞) and the second target numerical range includes 90 second numerical values, the difference between any two adjacent ones of the 90 second numerical values may be approximately 0.1 meter each.
It should be noted that, in the foregoing embodiment, the difference between any two adjacent values in the M second values is taken as an exemplary illustration, and it is understood that the embodiment of the present invention is not limited thereto, and the M second values may also follow other number sequence rules, and may be determined according to actual use requirements, and the embodiment of the present invention is not limited thereto.
Alternatively, in another possible implementation manner, the M second values may include first K second values and second T second values ((where M is K + T, and the K second values are all smaller than the T second values), and a difference between any two adjacent values of the first K second values is smaller than a difference between any two adjacent values of the second T second values (that is, a step size of the first K second values is smaller than a step size of the second T second values), a difference between any two adjacent values of the first K second values is the same, and a difference between any two adjacent values of the second T second values is the same.
It should be noted that, in the foregoing embodiment, the difference between any two adjacent values of the K second values is the same, and the difference between any two adjacent values of the T second values is the same as an exemplary description, it is understood that the embodiment of the present invention is not limited thereto, and the following cases may also be included: the difference value between any two adjacent values in the first K second values is the same, and the last T second values can be arranged according to other sequence rules; or the first K second values may be regularly arranged according to other number sequences, and the difference between any two adjacent values in the last T second values is the same, which may be determined specifically according to the actual use requirement, and the embodiment of the present invention is not limited.
It should be noted that, in the foregoing embodiment, the M second values including the first K second values and the last T second values are used as an exemplary description, and it is understood that the embodiment of the present invention is not limited to this, and may also include any other possible cases, for example, the M second values may include the first L second values, the middle P second values, and the last S second values (where M is L + P + S), which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
In the embodiment of the invention, after the terminal device determines the target folding angle between the first screen and the second screen and determines the target focal length value corresponding to the target folding angle, the shooting focal length can be adjusted to the target focal length value.
In the embodiment of the present invention, the correspondence between the folding angle and the focal length value between the first screen and the second screen is not limited to the above correspondence, and may be determined specifically according to actual use requirements. Because the detection precision of the angle value is higher, the focus value is determined through the angle value according to the corresponding relation between the angle value and the focus value, and the focusing precision can be improved.
A specific implementation of the shooting focus adjustment method provided by the embodiment of the present invention is exemplarily described below with reference to fig. 4, 5, and 6. First, as shown in fig. 4, 5 and 6, it is assumed that the terminal device includes a first screen 30 and a second screen 31, and in the case where the terminal device runs a camera application, the second screen 31 may display a shooting preview interface, and it is assumed that a tree 32 displayed in the shooting preview interface is far away from the terminal device (for example, the distance between the two is far greater than 5 meters, which is understood as infinity), a car 33 is 5 meters away from the terminal device, and a flower 34 is 0.1 meter away from the terminal device. In the MF mode, the user may fold or rotate the first screen 30 with respect to the second screen 31 (i.e., the above-described object input) such that the folding angle between the first screen 30 and the second screen 31 varies within a range of [90 °, 180 ° ] to trigger the terminal device to perform an action of photographing focusing.
As shown in fig. 4, when the terminal device detects that the target folding angle between the first screen 30 and the second screen 31 is 180 °, the terminal device may determine that the target focal distance value from the target folding angle 180 ° is + ∞withreference to the correspondence of table 1, and then the terminal device adjusts the photographing focal distance to the target value + ∞, that is, the focusing position is infinity, so that a tree 32 that is infinity from the terminal device is clear, and a car 33 that is 5 meters away from the terminal device and a flower 34 that is 0.1 meters away from the terminal device are blurred.
As shown in fig. 5, when the terminal device detects that the target folding angle between the first screen 30 and the second screen 31 is 150 °, the terminal device may determine that the target focal length value is 5 meters from the target folding angle of 150 ° with reference to the correspondence of table 1, and then the terminal device adjusts the photographing focal length to the target value of 5 meters, that is, the focusing position is 5 meters, so that a car 33 5 meters away from the terminal device is clear, and a tree 32 infinity from the terminal device and a flower 34 0.1 meter away from the terminal device are blurred.
As shown in fig. 6, when the terminal device detects that the target folding angle between the first screen 30 and the second screen 31 is 90 °, the terminal device may determine that the target focal distance value is 0.1 m from the target folding angle of 90 ° with reference to the correspondence of table 1, and then the terminal device adjusts the photographing focal distance to the target value of 0.1 m, that is, the focusing position is 0.1 m, so that a flower 34 that is 0.1 m from the terminal device is clear, and a tree 32 that is infinity from the terminal device and a car 33 that is 5 m from the terminal device are blurred.
As can be clearly understood from the above-described exemplary descriptions in conjunction with fig. 4, 5, and 6, the terminal device can control the photographing focus position to be adjusted within the range of [0.1 m, + ∞) during the change of the folding angle between the first screen and the second screen within the range of [90 °, 180 ° ].
In the above-described embodiment of the present invention, assuming that the detection accuracy (i.e., the step size) of the folding angle is 1 °, if the folding angle between the first screen and the second screen is in the range of [90 °, 180 ° ], the number of folding angles that can be detected by the terminal device is 90. Since each folding angle corresponds to one focal length value, 90 folding angles can correspond to 90 focal length values (corresponding to 90 scales). Assuming that the photographing focal distance is in the range of [0.1 m, + ∞), the terminal device can adjust the photographing focal distance between 90 focal distance values in the range of [0.1 m, + ∞).
Assuming that the photographing focal length is in the range of [0.1 m, + ∞) in the related art, since the number of scales on the focusing progress bar in the photographing interface is limited (e.g., 25), the terminal device can adjust the photographing focal length between 30 focal length values in the range of [0.1 m, + ∞), thereby making the focusing accuracy low. Compared with the prior art, the number of available focal length values in the same focal length range can be increased in the embodiment of the invention, so that the focusing precision of the terminal equipment can be obviously improved.
In addition, different from the action of triggering the terminal device to execute shooting focusing by sliding the focusing progress bar in the prior art, the embodiment of the invention triggers the terminal device to execute the shooting focusing action by folding the screen of the folding screen type terminal device, so that the interestingness of using the terminal device by a user can be increased.
According to the shooting focal length adjusting method provided by the embodiment of the invention, the shooting focal length of the terminal equipment can be adjusted to the target focal length value corresponding to the folding angle between the two screens, so that the focal length value can depend on the size of the folding angle, namely, the focusing accuracy can depend on the detection accuracy of the folding angle.
Second embodiment
In a second embodiment, the first input is input to two focus controls displayed on the first screen.
Referring to fig. 2, as shown in fig. 7, the step 200 may be implemented by the steps 200b to 200e described below, and the step 201 may be implemented by the step 201b described below.
Step 200b, the terminal device receives a first sub-input of a user to a first focus control in a first area of a first screen.
Wherein the first region corresponds to a first range of values.
In the embodiment of the present invention, the control for controlling the shooting focus in the terminal device may include a first focus control and a second focus control, where the first focus control is used to control the shooting focus to be adjusted within the overall focus range (i.e., for coarse adjustment), and the second focus control is used to control the shooting focus to be adjusted within the local focus range (i.e., for fine adjustment or fine adjustment).
If the user needs to use the terminal device to shoot, at this time, the user may trigger the terminal device to run the camera application, and in the case that the terminal device runs the camera application and the current mode is the MF mode, the user may trigger the terminal device to perform an action of shooting focusing, that is, adjusting a shooting focal length within the overall focal length range (i.e., coarse adjustment), by a first input to the first focus control in the first area.
In the embodiment of the present invention, the terminal device may separately lay out the first focus control and the first region corresponding to the first numerical range, and accordingly, the user may slide on the first focus control to trigger the terminal device to control focusing within the first numerical range. Or, the terminal device may lay out the first focus control and the first numerical range as a first focus progress bar, display the first numerical range on the first focus progress bar, and the user may slide on the first focus progress bar to trigger the terminal device to control focusing within the first numerical range. The layout form of the first focus control and the first region may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
And 200c, the terminal equipment responds to the first sub-input and updates the position of the first focus control in the first area.
In the embodiment of the present invention, the terminal device may update the position of the first focus control in the first area of the first screen in response to a first sub-input of the user to the first focus control in the first area, so as to adjust the shooting focal length within a first numerical range (corresponding to the entire focal length range), that is, to implement coarse adjustment of the shooting focal length.
Optionally, in the embodiment of the present invention, after the step 200b, the shooting focal length adjusting method provided in the embodiment of the present invention may further include the following step 200 f.
And 200f, the terminal equipment responds to the first sub-input and updates a second numerical range corresponding to the second area.
And the central value of the second numerical value range is the same as a second numerical value, and the second numerical value is a numerical value corresponding to the position of the updated first focus control in the first area.
It should be noted that the execution order of step 200c and step 200f may not be limited in the embodiment of the present invention. That is, in the embodiment of the present invention, step 200c may be executed first, and then step 200f may be executed; or the 200f is executed first, and then the step 200c is executed; steps 200c and 200f may also be performed simultaneously.
Optionally, in this embodiment of the present invention, the terminal device may separately lay out the second focus control and the second area corresponding to the second numerical value range, and accordingly, the user may slide on the second focus control to trigger the terminal device to control focusing within the second numerical value range. Or the terminal device may lay out the second focus control and the second numerical value range as a second focus progress bar, display the second numerical value range on the second focus progress bar, and the user may slide on the second focus progress bar to trigger the terminal device to control focusing within the second numerical value range. The layout form of the second focus control and the second region may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
In an embodiment of the invention, the first range (corresponding to the overall focal length range) is larger than the second range (corresponding to the local focal length range), and a difference between any two adjacent values in the first range is larger than a difference between any two adjacent values in the second range. Wherein, the minimum value of the first numerical range corresponds to the minimum shooting focal length, and the maximum value of the first numerical range corresponds to the maximum shooting focal length.
Optionally, in this embodiment of the present invention, as shown in fig. 8 (a), the first area is represented by a first dial 70 and includes S scales, the first focus control may be a first pointer control 71, the second area is represented by a second dial 72 and includes L scales, and the second focus control may be a second pointer control 73, where S and L are integers greater than 2.
Exemplarily, as shown in (a) of fig. 8, assuming that the shooting focal distance is within a range of [0.1 meter, + ∞) and the range is divided into 10 sub-ranges on average, the first numerical range may be [0, 10] (as shown in (a) of fig. 8, the first dial 70 includes 10 sub-ranges), wherein the value 0 corresponds to a minimum focal distance value of 0.1 meter, the value 10 corresponds to a maximum focal distance value + ∞, and a difference between any two adjacent values within the first numerical range is 1, that is, a step size of the first focus control corresponding to the first numerical range is 1. Accordingly, the second range of values may be any one of 10 sub-ranges or a consecutive plurality of sub-ranges in [0, 10 ]. Assuming that the second numerical range may be two consecutive sub-ranges of the 10 sub-ranges and each sub-range may be divided into 5 small ranges on average (as shown in fig. 8 (a), the second dial 72 includes 10 small ranges), the difference between any two adjacent numerical values in the second numerical range is 0.2 (smaller than the above difference 1), that is, the step size of the second focus control corresponding to the second numerical range is 0.2.
In the embodiment of the present invention, the terminal device may update the pointing positions of the first pointer control on the S scales on the first dial in response to the first input. For example, as shown in (b) of fig. 8, the terminal device may update the pointing position of the scale of the first pointer control 71 in the first dial 70 from 2 to 4 and update the corresponding second numerical range of the second dial 72 from [1.0, 3.0] to [3.0, 5.0] in response to a slide input of the first pointer control 71 in the first dial 70 by the user, as shown in (a) of fig. 8. Wherein the updated second numerical range has a center value of 4.0, which is the same as the numerical value (i.e., 4) corresponding to the position of the updated first pointer control 71 in the first dial 70.
It should be noted that, in the foregoing embodiment, the dividing manners of the first numerical range and the second numerical range are exemplary descriptions, and it is understood that the embodiment of the present invention is not limited thereto, and the dividing manners of the first numerical range and the second numerical range may also follow other dividing manners, and the second numerical range in the foregoing embodiment is an exemplary description, and the embodiment of the present invention is not limited thereto, and the second numerical range may also be any other possible numerical range. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
It should be noted that, for convenience of illustration and understanding, the scale values (e.g., 0 to 10) are exemplarily shown in the first dial and the corresponding scale values are also shown in the second dial in the above embodiments of the present invention. In practical implementation, the scale values in the first dial and the second dial may be displayed as actual focal length values, or neither the first dial nor the second dial may display scale values, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
And 200d, the terminal equipment receives a second sub-input of the user to a second focus control in a second area of the first screen.
Wherein the second region corresponds to a second range of values. The first value range is larger than the second value range, and the difference value between any two adjacent values in the first value range is larger than the difference value between any two adjacent values in the second value range.
In the embodiment of the present invention, the user may trigger the terminal device to perform the action of shooting focusing through a second input to the second focus control in the second area, that is, control to adjust the shooting focal length within the local focal length range (i.e., fine tuning or fine tuning).
Optionally, in the embodiment of the present invention, both the first input and the second input may be click input (for example, click input), may also be slide input, and may also be any other possible input, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
And step 200e, the terminal device responds to the second sub-input and updates the position of the second focus control in the second area.
Step 201b, the terminal device adjusts the shooting focal length of the target image displayed in the shooting preview interface in the second screen to a first numerical value.
And the second numerical value is a numerical value corresponding to the position of the updated second focus control in the second area.
In this embodiment of the present invention, when the first area includes L scales, the first focus control is a first pointer control, the second area is a second dial, and the second focus control is a second pointer control, the terminal device may update, in response to a second input, a pointing position of the second pointer control on the L scales, so as to update a position of the second focus control in the second area.
Illustratively, as shown in fig. 9 (a), the user may make a sliding input to the second pointer control 73 in the second dial 72 to trigger the terminal device to perform the action of shooting focus. As shown in (b) of fig. 9, the terminal apparatus may update the pointing position of the second pointer control 73 in the second dial 72 from 4.0 to 3.6 in response to the input, and adjust the photographing focal length to a focal length value corresponding to the scale value of 3.6.
Optionally, in this embodiment of the present invention, the terminal device may display the shooting focus control (including the first area and the first focus control, and the second area and the second focus control) in a shooting preview interface on a display screen of the terminal device. Or the terminal device may display a shooting preview interface on a first screen of the terminal device, and display the shooting focusing control on a second screen of the terminal device. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Illustratively, as shown in fig. 10, it is assumed that the terminal device includes a first screen 90 and a second screen 91, and in a case where the terminal device runs a camera application, the first screen 90 displays the shooting focus control, the second screen 91 displays a shooting preview interface, and it is assumed that a tree 92 displayed in the shooting preview interface is far away from the terminal device (for example, the distance between the two is far greater than 5 meters, which is understood as infinity), a car 93 is 5 meters away from the terminal device, and a flower 94 is 0.1 meter away from the terminal device. In the MF mode, the user can input a first pointer control 95 (i.e., a first focus control) and a second pointer control 96 (i.e., a second focus control) displayed on the first screen 90, respectively, to trigger the terminal device to perform a shooting focus action, so as to achieve coarse adjustment of the shooting focus in the entire focus range and fine adjustment of the shooting focus in the local focus range.
As shown in fig. 10, the terminal device may update the pointing position of the first pointer control 95 on the scale in the first dial to 5 and the second numerical range corresponding to the second dial to [4.0, 6.0] in response to the user's input to the first pointer control 95. The terminal device may update the pointing position of the second pointer control 96 in the second dial from 5.0 to 5.4 in response to the user's input to the second pointer control 96, and adjust the shooting focal length of the terminal device to a focal length value corresponding to the scale value of 5.4 (assuming that the numerical value of 5.4 corresponds to the focal length value of 5 meters). At this time, the focus position is a position 5 meters away from the terminal device, so the car 93 5 meters away from the terminal device is clear, and the tree 92 at infinity from the terminal device and the flower 94 at 0.1 meters away from the terminal device are blurred.
According to the shooting focal length adjusting method provided by the embodiment of the invention, the action of adjusting the shooting focal length within the local focal length range can be executed in response to the input of the user in the second focusing control, so that the shooting focal length can be further finely adjusted on the basis of roughly adjusting the shooting focal length, and the focusing precision of the terminal equipment can be improved.
The shooting focal length adjusting method provided by the embodiment of the invention can adjust the shooting focal length by combining the first focusing control for coarsely adjusting the focal length and the second focusing control for finely adjusting the focal length. Through the scheme, the terminal equipment can respond to the input of the user to the first focus control, coarsely adjust the shooting focus within the whole focus range, and further, the terminal equipment can respond to the input of the user to the second focus control, finely adjust the shooting focus within the local focus range, so that the terminal equipment can adjust the shooting focus in a mode of combining coarse adjustment and fine adjustment, and therefore the focusing precision of the terminal equipment can be improved.
Optionally, with reference to fig. 7, as shown in fig. 11, after the step 200d, the method for adjusting a shooting focal length according to the embodiment of the present invention further includes the following step 200 g.
And 200g, the terminal equipment responds to the second sub-input and updates the position of the first focus control in the first area.
In the embodiment of the present invention, it is assumed that the first area is a first dial and the first focus control is a first pointer control, and the second area is a second dial and the second focus control is a second pointer control, as shown in (a) in fig. 12, a user may slide and input the second pointer control 73 in the second dial 72 to trigger the terminal device to perform a shooting focus action. As shown in fig. 12 (b), the terminal device may update the pointing position of the first pointer control 71 in the first dial 70 from 4 to a position between 3 and 4 in response to the input.
It should be noted that the execution order of step 200g and step 200e may not be limited in the embodiment of the present invention. That is, in the embodiment of the present invention, step 200g may be executed first, and then step 200e may be executed; or the 200e is executed first, and then the step 200g is executed; steps 200g and 200e may also be performed simultaneously. It is understood that the above fig. 11 is exemplified by performing the step 200g first and then performing the step 200 e.
In the embodiment of the invention, the position of the first focus control in the first region can be further updated on the basis of updating the position of the second focus control in the second region, so that the corresponding numerical values of the pointing positions of the first focus control and the second focus control are kept consistent, a user can conveniently and intuitively check the updated focusing position of the terminal equipment, and the flexibility and the convenience of man-machine interaction are improved.
As shown in fig. 13, an embodiment of the present invention provides a terminal device 700, where the terminal device 700 may include a first screen and a second screen, and the terminal device further includes a receiving module 701 and a processing module 702. The receiving module 701 is configured to receive a first input of a user to a first screen during a shooting process. The processing module 702 is configured to adjust the shooting focal length of the target image displayed in the shooting preview interface in the second screen to a target focal length value associated with the first input in response to the first input received by the receiving module 701. Wherein the first input may be: bending input to the first screen or input to two focusing controls displayed by the first screen.
Optionally, in this embodiment of the present invention, the receiving module 701 is specifically configured to receive a bending input of the first screen by a user, where the bending input is used to trigger adjustment of a folding angle between the first screen and the second screen to a first angle. The processing module 702 is specifically configured to adjust, in response to the bending input, a shooting focal length of a target image displayed in the shooting preview interface in the second screen to a target focal length value associated with the first angle.
Optionally, in an embodiment of the present invention, the folding angle between the first screen and the second screen is within a first target value range, the shooting focal length is within a second target value range, a minimum value of the second target value range corresponds to a minimum value of the first target value range, a maximum value of the second target value range corresponds to a maximum value of the first target value range, the minimum value of the second target value range is a minimum shooting focal length, and the maximum value of the second target value range is a maximum shooting focal length.
Optionally, in an embodiment of the present invention, the first target value range includes M first values, the second target value range includes M second values, the M first values correspond to the M second values one to one, a difference between any two adjacent values in the M first values is the same, and M is an integer greater than 1. Wherein the difference between any two adjacent values of the M second values is the same. Or the difference between any two adjacent values in the K second values is the same, the difference between any two adjacent values in the T second values is the same, the difference between any two adjacent values in the K second values is smaller than the difference between any two adjacent values in the T second values, M is K + T, and the K second values are smaller than the T second values.
Optionally, in this embodiment of the present invention, the receiving module 701 is specifically configured to receive a first sub-input of a first focus control in a first area of a first screen by a user, where the first area corresponds to a first numerical range. The processing module 702 is specifically configured to update a position of the first focus control in the first area in response to the first sub-input. The receiving module 701 is further specifically configured to receive a second sub-input of the user to a second focus control in a second area of the first screen, where the second area corresponds to a second numerical range. The processing module 702 is further specifically configured to, in response to the second sub-input, update the position of the second focus control in the second area, and adjust the shooting focal length of the target image displayed in the shooting preview interface in the second screen to a first numerical value, where the first numerical value is a numerical value corresponding to the updated position of the second focus control in the second area. The first numerical range is larger than the second numerical range, and the difference value between any two adjacent numerical values in the first numerical range is larger than the difference value between any two adjacent numerical values in the second numerical range.
Optionally, in this embodiment of the present invention, the processing module 702 is further configured to, after the receiving module 701 receives a first sub-input of the first focus control in the first area by the user, update the second numerical value range corresponding to the second area in response to the first sub-input. And the central value of the second numerical value range is the same as a second numerical value, and the second numerical value is a numerical value corresponding to the position of the updated first focus control in the first area.
Optionally, in an embodiment of the present invention, the first area may include S scales, the first focus control is a first pointer control, the second area may include L scales, the second focus control is a second pointer control, and S and L may be integers greater than 2. The processing module 702 is further specifically configured to update the pointing positions of the first pointer control on the S scales in the first area, and update the pointing positions of the second pointer control on the N scales in the second area.
The terminal device provided by the embodiment of the present invention can implement each process implemented by the terminal device in the above method embodiments, and is not described here again to avoid repetition.
The terminal device provided by the embodiment of the invention can receive a first input of a user to the first screen (the first input is a bending input to the first screen or an input to two focusing controls displayed on the first screen) in the shooting process, and can adjust the shooting focal length of a target image displayed in a shooting preview interface in the second screen to a target focal length value associated with the first input in response to the first input. According to the scheme, on one hand, focusing is triggered through bending input of the first screen, the shooting focal length can be adjusted according to the folding angle between the two screens, and the detection precision of the angle value is high, so that the focal length value is determined through the angle value, and the focusing precision can be improved; or, the focusing is triggered by the input of the two focusing controls, and the focusing modes of coarse adjustment and fine adjustment can be combined to improve the focusing precision. Therefore, the embodiment of the invention can improve the focusing precision of the terminal equipment.
Fig. 14 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention. As shown in fig. 14, the terminal device 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 device configuration shown in fig. 14 is not intended to be limiting, and that terminal devices may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal device 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 user input unit 807 is configured to receive a first input of the first screen by the user during the shooting process. A processor 810 for adjusting a photographing focal length of a target image displayed in the photographing preview interface in the second screen to a target focal length value associated with the first input in response to the first input received by the user input unit 807; wherein the first input is: bending input to the first screen or input to two focusing controls displayed by the first screen.
A first input of a user to a first screen (the first input being a bending input to the first screen or an input to two focus controls displayed on the first screen) may be received during photographing, and a photographing focal length of a target image displayed in a photographing preview interface in a second screen may be adjusted to a target focal length value associated with the first input in response to the first input. According to the scheme, on one hand, focusing is triggered through bending input of the first screen, the shooting focal length can be adjusted according to the folding angle between the two screens, and the detection precision of the angle value is high, so that the focal length value is determined through the angle value, and the focusing precision can be improved; or, the focusing is triggered by the input of the two focusing controls, and the focusing modes of coarse adjustment and fine adjustment can be combined to improve the focusing precision. Therefore, the embodiment of the invention can improve the focusing precision of the terminal equipment.
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 device 800 provides the user with wireless broadband internet access 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 apparatus 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 apparatus (e.g., 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 device 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 device 800 moves 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 device 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 is operable to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. 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. 14, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the terminal device, 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 device, and this is not limited herein.
The interface unit 808 is an interface for connecting an external device to the terminal apparatus 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 an external device and transmit the received input to one or more elements within the terminal apparatus 800 or may be used to transmit data between the terminal apparatus 800 and an external device.
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 device, connects various parts of the whole terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby performing overall monitoring of the terminal device. Processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
Terminal device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and optionally, power supply 811 may be logically coupled to processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the terminal device 800 includes some functional modules that are not shown, and are not described in detail here.
Optionally, an embodiment of the present invention further provides a terminal device, which includes the processor 810 shown in fig. 14, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program is executed by the processor 810 to implement each process of the foregoing shooting focus adjustment method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
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 shooting focal length adjustment 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 include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
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 solution of the present invention or portions thereof contributing to the prior art 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 device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method disclosed in 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 (6)

1. A shooting focal length adjusting method is applied to terminal equipment, the terminal equipment comprises a first screen and a second screen, and the method is characterized by comprising the following steps:
receiving a first input of a user to a first screen in the shooting process;
in response to the first input, adjusting a shooting focal length of a target image displayed in a shooting preview interface in a second screen to a target focal length value associated with the first input;
the first input is input to two focusing controls displayed on the first screen;
receiving a first sub-input of a user to a first focus control in a first region of a first screen, the first region corresponding to a first numerical range;
in response to the first sub-input, updating a position of the first focus control in the first region;
receiving a second sub-input of a user to a second focus control in a second region of the first screen, the second region corresponding to a second numerical range;
in response to the second sub-input, updating a position of the second focus control in the second region;
the adjusting the shooting focal length of the target image displayed in the shooting preview interface in the second screen to the target focal length value associated with the first input includes:
adjusting a shooting focal length of a target image displayed in a shooting preview interface in a second screen to a first numerical value, wherein the first numerical value is a numerical value corresponding to the position of the updated second focus control in the second area;
wherein the first range of values is greater than the second range of values, and the difference between any two adjacent values in the first range of values is greater than the difference between any two adjacent values in the second range of values;
after receiving a first sub-input of a user to a first focus control in a first region, the method further comprises:
responding to the first sub-input, and updating a second numerical value range corresponding to the second area;
and the central value of the second numerical value range is the same as a second numerical value, and the second numerical value is a numerical value corresponding to the position of the updated first focus control in the first area.
2. The method of claim 1, wherein the first region includes S scales, the first focus control is a first pointer control, the second region includes L scales, the second focus control is a second pointer control, and S and L are integers greater than 2;
the updating the location of the first focus control in the first region, comprising:
updating pointing positions of the first pointer control on the S scales in the first area;
the updating the location of the second focus control in the second region, comprising:
updating pointing positions of the second pointer control on the N scales in the second region.
3. A terminal device comprises a first screen and a second screen, and is characterized by comprising a receiving module and a processing module;
the receiving module is used for receiving a first input of a user to the first screen in the shooting process;
the processing module is used for responding to the first input received by the receiving module, and adjusting the shooting focal length of the target image displayed in the shooting preview interface in the second screen to a target focal length value associated with the first input;
the first input is input to two focusing controls displayed on the first screen;
the receiving module is specifically configured to receive a first sub-input of a user to a first focus control in a first area of a first screen, where the first area corresponds to a first numerical range;
the processing module is specifically configured to update a position of the first focus control in the first area in response to the first sub-input;
the receiving module is specifically further configured to receive a second sub-input of a second focus control in a second area of the first screen by the user, where the second area corresponds to a second numerical range;
the processing module is specifically configured to update the position of the second focus control in the second area in response to the second sub-input, and adjust a shooting focal length of a target image displayed in a shooting preview interface in a second screen to a first numerical value, where the first numerical value is a numerical value corresponding to the updated position of the second focus control in the second area;
wherein the first range of values is greater than the second range of values, and the difference between any two adjacent values in the first range of values is greater than the difference between any two adjacent values in the second range of values;
the processing module is further configured to, after the receiving module receives a first sub-input of a user to a first focus control in a first area, update a second numerical value range corresponding to the second area in response to the first sub-input;
and the central value of the second numerical value range is the same as a second numerical value, and the second numerical value is a numerical value corresponding to the position of the updated first focus control in the first area.
4. A terminal device according to claim 3, wherein the first area comprises S scales, the first focus control is a first pointer control, the second area comprises L scales, the second focus control is a second pointer control, S and L are integers greater than 2;
the processing module is specifically further configured to update pointing positions of the first pointer control on the S scales in the first area; and updating the pointing positions of the second pointer control on the N scales in the second area.
5. A terminal device characterized by comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the photographing focal length adjusting method according to any one of claims 1 to 2.
6. A computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the photographing focal length adjusting method according to any one of claims 1 to 2.
CN201811545190.XA 2018-12-17 2018-12-17 Shooting focal length adjusting method and terminal equipment Active CN109639971B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811545190.XA CN109639971B (en) 2018-12-17 2018-12-17 Shooting focal length adjusting method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811545190.XA CN109639971B (en) 2018-12-17 2018-12-17 Shooting focal length adjusting method and terminal equipment

Publications (2)

Publication Number Publication Date
CN109639971A CN109639971A (en) 2019-04-16
CN109639971B true CN109639971B (en) 2021-01-08

Family

ID=66074861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811545190.XA Active CN109639971B (en) 2018-12-17 2018-12-17 Shooting focal length adjusting method and terminal equipment

Country Status (1)

Country Link
CN (1) CN109639971B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110312073B (en) * 2019-06-25 2021-03-16 维沃移动通信有限公司 Shooting parameter adjusting method and mobile terminal
CN113791701A (en) * 2019-07-18 2021-12-14 华为技术有限公司 Control method of electronic equipment with folding screen and electronic equipment
CN111147752B (en) * 2019-12-31 2021-07-02 维沃移动通信有限公司 Zoom factor adjusting method, electronic device, and medium
CN112584043B (en) * 2020-12-08 2023-03-24 维沃移动通信有限公司 Auxiliary focusing method and device, electronic equipment and storage medium
CN113473004B (en) * 2021-06-16 2023-05-23 维沃移动通信(杭州)有限公司 Shooting method and device
WO2023065168A1 (en) * 2021-10-20 2023-04-27 深圳市大疆创新科技有限公司 Lens focusing method, control method, calibration method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113150A1 (en) * 2015-12-30 2017-07-06 深圳市大疆创新科技有限公司 Zooming control method, system and device, memory, and aerial vehicle
CN107770442A (en) * 2017-10-24 2018-03-06 广东欧珀移动通信有限公司 The method, apparatus and terminal of shooting image
CN108769506A (en) * 2018-04-16 2018-11-06 Oppo广东移动通信有限公司 Image-pickup method, device, mobile terminal and computer-readable medium
CN108810403A (en) * 2018-04-27 2018-11-13 Oppo广东移动通信有限公司 Focus adjustment method, apparatus, storage medium and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5828070B2 (en) * 2010-08-20 2015-12-02 パナソニックIpマネジメント株式会社 Imaging apparatus and imaging method
EP2987026B1 (en) * 2013-04-05 2020-03-25 Andra Motion Technologies Inc. System and method for controlling an equipment related to image capture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113150A1 (en) * 2015-12-30 2017-07-06 深圳市大疆创新科技有限公司 Zooming control method, system and device, memory, and aerial vehicle
CN107770442A (en) * 2017-10-24 2018-03-06 广东欧珀移动通信有限公司 The method, apparatus and terminal of shooting image
CN108769506A (en) * 2018-04-16 2018-11-06 Oppo广东移动通信有限公司 Image-pickup method, device, mobile terminal and computer-readable medium
CN108810403A (en) * 2018-04-27 2018-11-13 Oppo广东移动通信有限公司 Focus adjustment method, apparatus, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109639971A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN109639971B (en) Shooting focal length adjusting method and terminal equipment
CN110062105B (en) Interface display method and terminal equipment
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN110908558B (en) Image display method and electronic equipment
CN109542282B (en) Interface display method and terminal equipment
CN109032445B (en) Screen display control method and terminal equipment
CN109032486B (en) Display control method and terminal equipment
CN110489029B (en) Icon display method and terminal equipment
CN109725683B (en) Program display control method and folding screen terminal
CN110769155B (en) Camera control method and electronic equipment
CN109828705B (en) Icon display method and terminal equipment
CN107846583B (en) Image shadow compensation method and mobile terminal
CN111142991A (en) Application function page display method and electronic equipment
CN109862504B (en) Display method and terminal equipment
CN110489045B (en) Object display method and terminal equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109104566B (en) Image display method and terminal equipment
CN109343693B (en) Brightness adjusting method and terminal equipment
CN108874906B (en) Information recommendation method and terminal
CN110888568B (en) Notification bar display method and terminal equipment
CN111064848B (en) Picture display method and electronic equipment
CN110231972B (en) Message display method and terminal equipment
CN110989896A (en) Control method and electronic equipment
CN108174109B (en) Photographing method and mobile terminal
CN108111750B (en) Zoom adjustment method, mobile terminal and computer readable storage medium

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