CN111031249B - Auxiliary focusing method and electronic equipment - Google Patents

Auxiliary focusing method and electronic equipment Download PDF

Info

Publication number
CN111031249B
CN111031249B CN201911364792.XA CN201911364792A CN111031249B CN 111031249 B CN111031249 B CN 111031249B CN 201911364792 A CN201911364792 A CN 201911364792A CN 111031249 B CN111031249 B CN 111031249B
Authority
CN
China
Prior art keywords
input
preview interface
shooting
receiving
auxiliary focusing
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
CN201911364792.XA
Other languages
Chinese (zh)
Other versions
CN111031249A (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 CN201911364792.XA priority Critical patent/CN111031249B/en
Publication of CN111031249A publication Critical patent/CN111031249A/en
Application granted granted Critical
Publication of CN111031249B publication Critical patent/CN111031249B/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses an auxiliary focusing method and electronic equipment, which are used for solving the problems that an auxiliary focusing device in the prior art is high in power consumption and has influence on a wireless communication network. The method comprises the following steps: receiving a first input aiming at a shooting preview interface; and responding to the first input, and starting a preset auxiliary focusing device to perform auxiliary focusing.

Description

Auxiliary focusing method and electronic equipment
Technical Field
The invention relates to the technical field of terminals, in particular to a focusing assisting method and electronic equipment.
Background
With the rapid development of electronic devices, in order to meet the requirements of users on the definition of images obtained by photographing or recording, many electronic devices support auxiliary focusing by using a preset auxiliary focusing device during photographing or recording, so as to improve the focusing speed and precision of an automatic focusing camera.
In general, when a user controls an electronic device to enter a photographing or recording state, the electronic device starts an auxiliary focusing function of an auxiliary focusing device until the photographing or recording is finished. That is, the user starts a photographing operation such as adjusting the angle of the camera after the auxiliary focusing function of the auxiliary focusing apparatus is activated. Obviously, the auxiliary focusing device is started too early, which increases the power consumption of the electronic device; on the other hand, the auxiliary focusing device can generate a rapidly changing pulse signal during working, which can generate strong electromagnetic interference radiation to a wireless communication network of the electronic equipment, thereby influencing the user's experience of photographing, recording and communication to a certain extent.
Therefore, how to reduce the power consumption of the auxiliary focusing device in the focusing module and reduce the influence of the auxiliary focusing device on the wireless communication network still needs a further solution.
Disclosure of Invention
The embodiment of the invention provides an auxiliary focusing method and electronic equipment, which can solve the problems that an auxiliary focusing device in the prior art is high in power consumption and has influence on a wireless communication network.
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 assisting focusing, including:
receiving a first input aiming at a shooting preview interface;
in response to the first input, a second aspect of auxiliary focusing performed by a preset auxiliary focusing device is started, and an embodiment of the present invention further provides an electronic device, including:
the device comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving a first input aiming at a shooting preview interface;
and the starting unit is used for responding to the first input and starting a preset auxiliary focusing device to carry out auxiliary focusing.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: memory, a processor 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 method of assisted focusing according to the first aspect.
In a fourth aspect, the embodiments of the present invention further provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for assisting focusing according to the first aspect.
In the embodiment of the invention, a first input aiming at a shooting preview interface is received; and responding to the first input, and starting a preset auxiliary focusing device to perform auxiliary focusing. Therefore, the auxiliary focusing device is started only when the user inputs the first input to the shooting preview interface, and the starting time of the auxiliary focusing device in the whole shooting process is greatly shortened. This reduces the power consumption of the auxiliary focusing device on one hand and reduces the electromagnetic interference of the auxiliary focusing device on the wireless communication network of the electronic equipment on the other hand.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic flow chart illustrating an implementation of a method for assisting focusing according to an embodiment of the present invention;
fig. 2 is a schematic flowchart illustrating a process of starting focusing based on a touch operation of a laser sensor in the method for assisting focusing according to the embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a process of starting focusing based on a voice command operation of a laser sensor in the method for assisting focusing according to the embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a process of starting focusing of a target object based on a laser sensor in the method for assisting focusing according to the embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic 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 technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
In order to solve the problem that the preset auxiliary focusing device in the prior art consumes much power and affects a wireless communication network, the invention provides an auxiliary focusing method, and an execution main body of the method, which can be but is not limited to a mobile phone, a tablet computer, a wearable device and the like, can be configured to execute at least one of the user terminals of the method provided by the embodiment of the invention, or the execution main body of the method, and can also be a client itself capable of executing the method.
For convenience of description, the following description will be made on embodiments of the method, taking an execution subject of the method as an example of an electronic device capable of executing the method. It is to be understood that the implementation of the method as an electronic device is merely an exemplary illustration and should not be construed as a limitation of the method.
Specifically, the method for assisting focusing provided by the invention comprises the following steps: receiving a first input aiming at a shooting preview interface; and responding to the first input, and starting a preset auxiliary focusing device to perform auxiliary focusing.
In the embodiment of the invention, a first input aiming at a shooting preview interface is received; and responding to the first input, and starting a preset auxiliary focusing device to perform auxiliary focusing. Therefore, the auxiliary focusing device is started only when the user inputs the first input to the shooting preview interface, and the starting time of the auxiliary focusing device in the whole shooting process is greatly shortened. This reduces the power consumption of the auxiliary focusing device on one hand and reduces the electromagnetic interference of the auxiliary focusing device on the wireless communication network of the electronic equipment on the other hand.
The following describes in detail an implementation process of the method with reference to a flowchart of a specific implementation of the method for assisting focusing shown in fig. 1, including:
step 101, receiving a first input aiming at a shooting preview interface;
it should be understood that, in practical applications, in order to make a shot picture or a video picture clear enough, the implementation of the shooting function and the video recording function of the electronic device often requires an accurate focusing operation, and the embodiment of the present invention may adopt an auto-focusing camera that is assisted by a laser sensor to focus as a preset auxiliary focusing device.
The principle of the auxiliary focusing of the laser sensor is that when the mobile electronic equipment enters a photographing or video recording state, a transmitter of the laser sensor transmits a beam of laser in a pulse form to a photographed object and then returns to a receiver of the laser sensor, and then the actual distance from the mobile terminal to the photographed object is calculated by calculating the time difference between the transmission and the reception of the laser, so that the focal length of a lens of a camera on the mobile electronic equipment is adjusted. A laser sensor typically includes a transmitter module and a receiver module within the sensor.
It should be understood that when the user turns on the camera to prepare to take or record a picture, the user may add a favorite special effect, such as a photo frame and a beauty special effect, to the image of the target shooting object. Before adding the special effect, the user can complete the operation of adding the special effect without starting the auxiliary focusing function of the preset auxiliary focusing device because the camera is only required to obtain the image edge of the target shooting object without focusing operation.
In addition, in the embodiment of the invention, if some special effects need to be focused first and can be added to the shot image corresponding to the target shot object, when the special effects are selected by a user, the auxiliary focusing function of the preset auxiliary focusing device can be started through the first input, so that the special effects can be more attached to the image of the target shot object on one hand, and on the other hand, the starting time of the preset auxiliary focusing device can also be reduced.
In the embodiment of the invention, when a first input aiming at the shooting preview interface is received, the electronic equipment can start the preset auxiliary focusing device and can complete the focusing operation in a short time such as 5 milliseconds; and when receiving a second input aiming at the shooting preview interface, the electronic equipment can also finish shooting or start video recording, so that the starting time of the preset auxiliary focusing device is maintained within a few seconds, and the shooting or video recording experience of a user is not influenced.
Step 102, in response to the first input, starting a preset auxiliary focusing device to perform auxiliary focusing.
Specifically, when the first input of the user for the shooting preview interface is detected, the preset auxiliary focusing device can be started, so that the standard focal length value of the camera is obtained through a software algorithm based on the distance between the camera and the target shooting object measured by the preset auxiliary focusing device, and the central processing unit can control the focusing camera to adjust the focal length to the standard focal length value.
It should be understood that the first input and the second input may or may not be related. When the first input is related to the second input, the first input and the second input may be two consecutive uninterrupted inputs, which are pulse-bearing (as will be described in detail below), and the time interval between the user and the first input is short, and the time interval between the user and the second input is usually short, so that within a few seconds after the preset auxiliary focusing device is activated, the electronic device may complete taking a picture or start recording in response to the second input.
Optionally, after the auxiliary focusing is performed by using a preset auxiliary focusing device, in order to enable the electronic device to finish taking a picture or start recording within a short time, the method provided in the embodiment of the present invention may further include:
and receiving a second input aiming at the shooting preview interface, and executing the shooting operation.
The shooting operation includes, but is not limited to, one of a photographing operation and a video recording operation.
Optionally, in an implementation manner, when the second input includes a touch input for a target area in the shooting preview interface, in order to reduce the turn-on time of the preset auxiliary focusing device while not affecting the shooting experience of the user, an inductive capacitor may be disposed in the screen, and configured to detect whether the first target object is close to the screen (specifically, whether the first target object is close to the target area in the shooting preview interface), and start the preset auxiliary focusing device when the first target object is detected to be close to the screen, that is, when a distance between the first target object and the screen is smaller than or equal to a preset threshold value.
Specifically, receiving a first input for a capture preview interface includes:
when the distance between the first target object and the screen of the electronic equipment is smaller than or equal to a preset threshold value, determining that a first input aiming at a shooting preview interface is received, wherein the first input is an operation that the first target object approaches the screen;
receiving a second input for the capture preview interface, comprising:
a touch input for a target area in a capture preview interface is received.
It should be understood that when the second input includes a touch input for a target area in the shooting preview interface, if the user wants to perform a shooting or video recording operation, the user may touch the first target object to the target area in the shooting preview interface or the screen, and in this process, the first target object is necessarily close to the screen. In order to detect whether the first target object is close to the screen, the embodiment of the invention may set an inductive capacitor and a conversion circuit connected to the inductive capacitor in the screen of the electronic device.
Taking the first target object as a finger of the user, and the target area is an area where the shooting button is located in the shooting preview interface or the screen, when the user wants to touch the shooting button to finish shooting or start recording, the user will usually move the finger to be close to the screen. In the process, if the finger of the user is close to the shooting button, the capacitance value of the induction capacitor arranged in the screen changes, and then the conversion circuit connected with the induction capacitor can convert the capacitance value into a voltage value and send the voltage value to the central processing unit. Then, the central processing unit compares the voltage value with a preset voltage threshold, and if the voltage value exceeds the preset voltage threshold, it indicates that the distance between the finger of the user and the screen is less than or equal to the preset threshold, and the electronic device may start the preset auxiliary focusing device in response to a first input that the finger approaches the shooting button.
As an exemplary introduction, the target area may be centered on a shooting or video-recording button, and the range of the target area may specifically be a spherical area range with a radius of 2 centimeters. Then, after the preset auxiliary focusing apparatus is activated, a touch input for a photographing button in the photographing preview interface may also be received, and when a finger touches the photographing button, a photographing operation may be performed.
The first embodiment of the present invention is described in detail below in the form of a flow chart diagram.
Specifically, taking a preset auxiliary focusing device as a laser sensor, where the first input is an operation of a user finger approaching a screen, and the second input is a touch input of a finger touching a target area in a shooting preview interface, as shown in fig. 2, a schematic flow diagram of starting focusing based on a touch operation of the laser sensor in the auxiliary focusing method provided by the embodiment of the present invention is shown, and a specific implementation process includes:
step 201, if it is detected that a user opens a photographing or video recording interface, a camera is started;
at this time, the user may aim the camera at the target object so that the image of the target object meets the shooting requirement of the user; then, if the user possibly wants to perform second input on the shooting preview interface, moving the finger to approach to the target area of the screen;
step 202, detecting whether the distance between the finger of the user and the target area is smaller than or equal to a preset threshold value;
step 203, if the distance between the finger of the user and the target area is detected to be smaller than or equal to a preset threshold value, starting a laser sensor to perform auxiliary focusing; if the distance between the finger of the user and the target area is detected to be larger than the preset threshold value, waiting for the operation of the user and continuing to step 202;
step 204, calculating to obtain a standard focal length value of the camera through a software algorithm based on the distance between the camera and the target shooting object obtained by the laser sensor;
step 205, the central processing unit controls the automatic focusing camera to adjust the focal length to a standard focal length value;
step 206, detecting whether a second input is received, wherein the second input is a touch input of touching the shooting button by a finger of a user;
step 207, if not, waiting for the operation of the user and continuously executing step 206;
and step 208, if so, executing a photographing operation or a video recording operation to finish photographing or start video recording.
Optionally, in an embodiment, the first input may include a first preset voice instruction input for the shooting preview interface, and at this time, the second input may include a second preset instruction input for the shooting preview interface. Specifically, receiving a first input for a capture preview interface includes:
receiving a first preset voice instruction input aiming at a shooting preview interface;
receiving a second input for the capture preview interface, comprising:
and receiving a second preset voice instruction input aiming at the shooting preview interface.
It should be understood that the user may specifically set the contents of the first preset voice command and the second preset voice command according to the preference. In one aspect, the first preset voice instruction and the second preset voice instruction may be two unrelated voice instructions.
On the other hand, in order to reduce the on-time of the auxiliary focusing device and not affect the shooting experience of the user, the second preset voice command may also be a part of the voice command in the first preset voice command.
For example, the user may vocally issue a voice instruction to perform a corresponding photographing or video recording operation on a photographing preview interface for photographing or video recording without contacting the electronic device. Taking the example that the second predetermined voice command is the voice command "ABCD", the first predetermined voice command may be the voice command "AB". When a user wants to finish photographing or start video recording by sending a second preset voice instruction, the user can send out the word tones of 'A', 'B', 'C' and 'D' in sequence according to the sequence of the voice in the second preset voice instruction, and when detecting that a part of voice instructions 'AB' sent by the user are used as first input, the preset auxiliary focusing device can be started in response to the first input.
Taking the example that the second preset voice command is a voice command of 'take a picture', the first preset voice command can be a voice command of 'take a picture'. When the user wants to finish photographing by sending a second preset voice instruction, the user firstly sends out the character sounds of 'shooting' and 'photographing' according to the sequence of the voice in the second preset voice instruction, and if the fact that the user sends out the partial voice instruction 'shooting' as the first input is detected, the preset auxiliary focusing device can be started in response to the first input.
Under the condition that the second preset voice instruction is a part of the first preset voice instruction, in order to enable the first preset voice instruction to be distinguished from the second preset voice instruction, the second preset voice instruction for the shooting preview interface at least comprises 2 characters.
A second embodiment of the present invention is described in detail below in the form of a flow chart.
Specifically, taking the preset auxiliary focusing device as a laser sensor and the second preset voice instruction as the voice instruction "ABCD" as an example, the first preset voice instruction may be a part of the voice instruction "AB" in the voice instruction "ABCD", as shown in fig. 3, which is a schematic flow diagram for starting focusing based on the voice instruction of the laser sensor in the auxiliary focusing method provided in the embodiment of the present invention, and the specific implementation process includes:
step 301, if it is detected that a user opens a photographing or video recording interface, starting a camera;
at this time, the user may aim the camera at the target object so that the image of the target object meets the shooting requirement of the user; then, if the user possibly wants to perform second input on the shooting preview interface, an ABCD voice command is sent out;
step 302, detecting whether a user sends a first preset voice instruction "AB";
step 303, if detecting that a part of voice commands "AB" of "ABCD" sent by a user is used as a first input, starting a preset auxiliary focusing device to perform auxiliary focusing; if detecting that the finger of the user does not send out the partial voice instruction "AB" of "ABCD" as a first input, waiting for the operation of the user and continuing to step 302;
304, calculating to obtain a standard focal length value of the camera through a software algorithm based on the distance between the camera and the target shooting object obtained by the preset auxiliary focusing device;
305, controlling an automatic focusing camera to adjust the focal length to a standard focal length value by a central processing unit;
step 306, detecting whether the user sends a voice command 'ABCD' as a second input;
step 307, if not, waiting for the operation of the user and continuing to step 306;
and step 38, if the detection result is detected, triggering the photographing or video recording function to finish photographing or start video recording.
Optionally, in an implementation manner, when the second input includes an input for a display target object of the shooting preview interface, in order to reduce the turn-on time of the preset auxiliary focusing device while not affecting the shooting experience of the user, the embodiment of the present invention may start the preset auxiliary focusing device when a partial feature of the target object is acquired. The first input may include presenting the second target object within a photographing range of a camera of the electronic device, and at this time, the second input may include presenting the third target object within the photographing range of the camera of the electronic device. Specifically, receiving a first input for a capture preview interface includes:
when a second target object appears in the shooting preview interface, determining that a first input aiming at the shooting preview interface is received, wherein the first input is that the second target object is displayed in a shooting range of a camera of the electronic equipment;
receiving a second input for the capture preview interface, comprising:
when a third target object appears in the shooting preview interface, determining that a second input aiming at the shooting preview interface is received, wherein the second input is that the third target object is displayed in a shooting range of a shooting device of the electronic equipment.
It should be understood that the user may specifically set the characteristics of the second target object and the third target object according to the preference. In one aspect, the second target object and the third target object may be two unrelated objects.
On the other hand, in order to reduce the on-time of the preset auxiliary focusing device without affecting the shooting experience of the user, the third target object may also be a partial feature of the second target object.
For example, the user may display the second target object and the third target object within a shooting range of a camera of the electronic device without contacting the electronic device, so as to perform corresponding shooting or video recording operations on a shooting preview interface for shooting or video recording. Taking the third target object as an example of a complete human hand (including 5 fingers and a palm), then the second target object may be 3 fingers of a complete human hand. When a user wants to finish photographing or start video recording by an input mode of displaying a target object, the user can stretch out a hand of the user from a photographing range of a camera of the electronic equipment, and when 3 fingers of the user displaying one complete hand are detected as first input, the preset auxiliary focusing device can be started in response to the first input.
The third embodiment of the present invention will be described in detail below in the form of a flow chart.
Specifically, taking the third target object as an example of a complete human hand (including 5 fingers and a palm), then the second target object may be 3 fingers of the complete human hand, as shown in fig. 4, which is a schematic flow diagram for starting focusing of the display target object based on the laser sensor in the auxiliary focusing method provided by the embodiment of the present invention, and the specific implementation process includes:
step 401, if it is detected that a user opens a photographing or video recording interface, starting a camera;
at this time, the user may aim the camera at the target object so that the image of the target object meets the shooting requirement of the user; then, if the user possibly wants to perform second input on the shooting preview interface, displaying a complete hand in the shooting range of the camera;
step 402, detecting whether a user displays 3 fingers of a complete hand in a shooting range of a camera as a first input;
step 403, if it is detected that the user shows 3 fingers of a complete hand in the shooting range of the camera as a first input, starting a preset auxiliary focusing device to perform auxiliary focusing; if the user is detected not to display 3 fingers of a complete hand in the shooting range of the camera as a first input, waiting for the operation of the user and continuing to step 404;
step 404, calculating to obtain a standard focal length value of the camera through a software algorithm based on the distance between the camera and the target shooting object obtained by the preset auxiliary focusing device;
step 405, the central processing unit controls the automatic focusing camera to adjust the focal length to a standard focal length value;
step 406, detecting whether the user shows a complete hand in the shooting range of the camera as a second input;
step 407, if not, waiting for the user's operation and continuing with step 406;
and step 408, if the detection result is detected, triggering a photographing or video recording function to finish photographing or start video recording.
In the embodiment of the invention, a first input aiming at a shooting preview interface is received; and responding to the first input, and starting a preset auxiliary focusing device to perform auxiliary focusing. Therefore, the auxiliary focusing device is started only when the user inputs the first input to the shooting preview interface, and the starting time of the auxiliary focusing device in the whole shooting process is greatly shortened. This reduces the power consumption of the auxiliary focusing device on one hand and reduces the electromagnetic interference of the auxiliary focusing device on the wireless communication network of the electronic equipment on the other hand.
An embodiment of the present invention further provides an electronic device 500, as shown in fig. 5, including:
a receiving unit 501, configured to receive a first input for a shooting preview interface;
the starting unit 502 is configured to start a preset auxiliary focusing device to perform auxiliary focusing in response to the first input.
Optionally, in an embodiment, after the starting of the preset auxiliary focusing device to perform auxiliary focusing, the electronic device further includes:
a shooting unit 503, configured to receive a second input for the shooting preview interface, and perform a shooting operation.
Optionally, in an embodiment, the receiving unit 501 is configured to:
when the distance between a first target object and a screen of the electronic equipment is smaller than or equal to a preset threshold value, determining that a first input aiming at the shooting preview interface is received, wherein the first input is an operation that the first target object approaches the screen;
the shooting unit 503 is configured to:
receiving a touch input for a target area in the photographing preview interface.
Optionally, in an embodiment, the receiving unit 501 is configured to:
receiving a first preset voice instruction input aiming at the shooting preview interface;
the shooting unit 503 is configured to:
and receiving a second preset voice instruction input aiming at the shooting preview interface.
Optionally, in an embodiment, the receiving unit 501 is configured to:
when a second target object appears in the shooting preview interface, determining that a first input aiming at the shooting preview interface is received, wherein the first input is that the second target object is displayed in a shooting range of a camera of the electronic equipment;
the shooting unit 503 is configured to:
when a third target object appears in the shooting preview interface, determining that a second input aiming at the shooting preview interface is received, wherein the second input is that the third target object is displayed in a shooting range of a shooting device of the electronic equipment.
The electronic device 500 can implement the method of the embodiment of the method shown in fig. 1 to 4, and specifically refer to the method of focusing assistance of the embodiment shown in fig. 1 to 4, which is not described again.
Figure 6 is a schematic diagram of a hardware configuration of an electronic device implementing various embodiments of the invention,
the electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device 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 electronic 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 processor 610 is configured to receive a first input for the shooting preview interface; and responding to the first input, and starting a preset auxiliary focusing device to perform auxiliary focusing.
In the embodiment of the invention, a first input aiming at a shooting preview interface is received; and responding to the first input, and starting a preset auxiliary focusing device to perform auxiliary focusing. Therefore, the auxiliary focusing device is started only when the user inputs the first input to the shooting preview interface, and the starting time of the auxiliary focusing device in the whole shooting process is greatly shortened. This reduces the power consumption of the auxiliary focusing device on one hand and reduces the electromagnetic interference of the auxiliary focusing device on the wireless communication network of the electronic equipment on the other hand.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 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 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 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 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 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 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an 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 posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 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 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts 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 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. 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 608 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 electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage 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 609 may include high speed random access memory, and may 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 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 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 the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program is executed by the processor 610 to implement each process of the foregoing focusing assisting 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 focusing assisting 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 (7)

1. An auxiliary focusing method is applied to electronic equipment and is characterized by comprising the following steps:
receiving a first input aiming at a shooting preview interface;
responding to the first input, and starting a preset auxiliary focusing device to perform auxiliary focusing;
receiving a second input aiming at the shooting preview interface, and executing shooting operation;
the receiving a first input for a capture preview interface includes:
receiving a first preset voice instruction input aiming at the shooting preview interface;
the receiving a second input for the capture preview interface includes:
receiving a second preset voice instruction input aiming at the shooting preview interface;
the second preset voice instruction is a part of the first preset voice instruction.
2. The method of claim 1, wherein the receiving a first input for a capture preview interface is replaced with:
when the distance between a first target object and a screen of the electronic equipment is smaller than or equal to a preset threshold value, determining that a first input aiming at the shooting preview interface is received, wherein the first input is an operation that the first target object approaches the screen;
the receiving a second input for the capture preview interface is replaced with:
receiving a touch input for a target area in the shooting preview interface;
the first input and the second input are two consecutive uninterrupted inputs.
3. The method of claim 1,
the receiving a first input for the capture preview interface is replaced with:
when a second target object appears in the shooting preview interface, determining that a first input aiming at the shooting preview interface is received, wherein the first input is that the second target object is displayed in a shooting range of a camera of the electronic equipment;
the receiving a second input for the capture preview interface is replaced with:
when a third target object appears in the shooting preview interface, determining that a second input aiming at the shooting preview interface is received, wherein the second input is that the third target object is displayed in a shooting range of a shooting device of the electronic equipment;
the first input and the second input are two consecutive uninterrupted inputs.
4. An electronic device, comprising:
the device comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving a first input aiming at a shooting preview interface;
the starting unit is used for responding to the first input and starting a preset auxiliary focusing device to carry out auxiliary focusing;
the shooting unit is used for receiving a second input aiming at the shooting preview interface and executing shooting operation;
the receiving unit is used for receiving a first preset voice instruction input aiming at the shooting preview interface;
the shooting unit is used for receiving a second preset voice instruction input aiming at the shooting preview interface;
the second preset voice instruction is a part of the first preset voice instruction.
5. The electronic device of claim 4, wherein the receiving unit is to be replaced with:
when the distance between a first target object and a screen of the electronic equipment is smaller than or equal to a preset threshold value, determining that a first input aiming at the shooting preview interface is received, wherein the first input is an operation that the first target object approaches the screen;
the capture unit being replaced for:
receiving a touch input for a target area in the shooting preview interface;
the first input and the second input are two consecutive uninterrupted inputs.
6. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method of assisted focusing according to any one of claims 1 to 3.
7. 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 method of assisted focusing according to any one of claims 1 to 3.
CN201911364792.XA 2019-12-26 2019-12-26 Auxiliary focusing method and electronic equipment Active CN111031249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911364792.XA CN111031249B (en) 2019-12-26 2019-12-26 Auxiliary focusing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911364792.XA CN111031249B (en) 2019-12-26 2019-12-26 Auxiliary focusing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111031249A CN111031249A (en) 2020-04-17
CN111031249B true CN111031249B (en) 2021-07-13

Family

ID=70213675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911364792.XA Active CN111031249B (en) 2019-12-26 2019-12-26 Auxiliary focusing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111031249B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741217A (en) * 2020-06-23 2020-10-02 上海闻泰信息技术有限公司 Photographing method and photographing device of mobile terminal, mobile terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869801A (en) * 2005-05-25 2006-11-29 明基电通股份有限公司 Autofocus assistance apparatus, systems and methods
CN102158645A (en) * 2011-01-11 2011-08-17 华为终端有限公司 Shooting control method, shooting control device and photographic device
CN103607537A (en) * 2013-10-31 2014-02-26 北京智谷睿拓技术服务有限公司 Control method of camera and the camera
CN103780843A (en) * 2014-03-03 2014-05-07 联想(北京)有限公司 Image processing method and electronic device
CN105554363A (en) * 2015-06-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Method for laser-assisted automatic focusing, and apparatus
CN107454312A (en) * 2017-06-14 2017-12-08 普联技术有限公司 Automatic photographing method and device
CN107835359A (en) * 2017-10-25 2018-03-23 捷开通讯(深圳)有限公司 Triggering method of taking pictures, mobile terminal and the storage device of a kind of mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079015A (en) * 2013-01-23 2013-05-01 广东欧珀移动通信有限公司 Method for using mobile terminal to take pictures and mobile terminal
CN104506765B (en) * 2014-11-21 2018-05-11 惠州Tcl移动通信有限公司 A kind of mobile terminal and its focusing method based on touch gestures
CN104967778B (en) * 2015-06-16 2018-03-02 广东欧珀移动通信有限公司 One kind focusing reminding method and terminal
CN105872384A (en) * 2016-05-12 2016-08-17 深圳市金立通信设备有限公司 Photographing method and terminal
CN107257433B (en) * 2017-06-16 2020-01-17 Oppo广东移动通信有限公司 Focusing method, device, terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869801A (en) * 2005-05-25 2006-11-29 明基电通股份有限公司 Autofocus assistance apparatus, systems and methods
CN102158645A (en) * 2011-01-11 2011-08-17 华为终端有限公司 Shooting control method, shooting control device and photographic device
CN103607537A (en) * 2013-10-31 2014-02-26 北京智谷睿拓技术服务有限公司 Control method of camera and the camera
CN103780843A (en) * 2014-03-03 2014-05-07 联想(北京)有限公司 Image processing method and electronic device
CN105554363A (en) * 2015-06-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Method for laser-assisted automatic focusing, and apparatus
CN107454312A (en) * 2017-06-14 2017-12-08 普联技术有限公司 Automatic photographing method and device
CN107835359A (en) * 2017-10-25 2018-03-23 捷开通讯(深圳)有限公司 Triggering method of taking pictures, mobile terminal and the storage device of a kind of mobile terminal

Also Published As

Publication number Publication date
CN111031249A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN108471498B (en) Shooting preview method and terminal
CN109461117B (en) Image processing method and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
AU2020263183B2 (en) Parameter Obtaining Method and Terminal Device
CN110300267B (en) Photographing method and terminal equipment
CN110602389B (en) Display method and electronic equipment
CN111405181B (en) Focusing method and electronic equipment
CN111049510A (en) Touch key, control method and electronic equipment
CN108174110B (en) Photographing method and flexible screen terminal
CN111443815A (en) Vibration reminding method and electronic equipment
CN111510623B (en) Shooting method and electronic equipment
CN108174109B (en) Photographing method and mobile terminal
CN110881105B (en) Shooting method and electronic equipment
CN111142679A (en) Display processing method and electronic equipment
CN108924413B (en) Shooting method and mobile terminal
CN109104573B (en) Method for determining focusing point and terminal equipment
CN109164908B (en) Interface control method and mobile terminal
CN108196663B (en) Face recognition method and mobile terminal
CN111182206B (en) Image processing method and device
CN111031249B (en) Auxiliary focusing method and electronic equipment
CN109947345B (en) Fingerprint identification method and terminal equipment
CN109194793B (en) Screen adjusting method and mobile terminal
CN108089799B (en) Control method of screen edge control and mobile terminal
CN110769153B (en) Image processing method and electronic equipment
CN111045583B (en) Camera control 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