CN108924414B - Shooting method and terminal equipment - Google Patents

Shooting method and terminal equipment Download PDF

Info

Publication number
CN108924414B
CN108924414B CN201810679095.2A CN201810679095A CN108924414B CN 108924414 B CN108924414 B CN 108924414B CN 201810679095 A CN201810679095 A CN 201810679095A CN 108924414 B CN108924414 B CN 108924414B
Authority
CN
China
Prior art keywords
camera
shooting
terminal equipment
terminal device
parameters
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
CN201810679095.2A
Other languages
Chinese (zh)
Other versions
CN108924414A (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 CN201810679095.2A priority Critical patent/CN108924414B/en
Publication of CN108924414A publication Critical patent/CN108924414A/en
Application granted granted Critical
Publication of CN108924414B publication Critical patent/CN108924414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • 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
    • 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/65Control of camera operation in relation to power supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to the technical field of communication, and provides a shooting method and terminal equipment, which aim to solve the problem of low shooting efficiency caused by long preview delay time of a camera. The method comprises the following steps: acquiring environmental parameters through an environment acquisition device of the terminal equipment; starting the first camera, and acquiring a shot image according to the shooting parameters corresponding to the environmental parameters; and displaying the shot image on a shooting preview interface of the terminal equipment. Because the terminal equipment already obtains the environmental parameters before the first camera is started, the shooting parameters can be obtained by utilizing the environmental parameters for shooting, the shooting preview image can be quickly displayed, the time for previewing delay is reduced, and the shooting efficiency is improved.

Description

Shooting method and terminal equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a shooting method and a terminal device.
Background
With the improvement of living standard of people, the beautiful scenery shot at any time and any place becomes a life style of people, and the camera gradually becomes an indispensable tool in the life of people.
In the prior art, after a user starts a camera, the camera is usually displayed as a fuzzy interface, and then is gradually switched to a clear shooting preview interface, and at this time, the user can shoot. However, in a scene that a user needs to shoot quickly, especially when the user sees a scene that is evanescent immediately before taking a snapshot, after the user turns on the camera, the user misses the shooting opportunity due to the long time of the blurred interface, and the shooting experience of the user is poor.
Therefore, the camera in the prior art has low shooting efficiency due to long preview delay time.
Disclosure of Invention
The embodiment of the invention provides a shooting method and terminal equipment, and aims to solve the problem of low shooting efficiency caused by long preview delay time of a camera.
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 shooting method and a terminal device, including:
Acquiring environmental parameters through an environment acquisition device of the terminal equipment;
Starting the first camera, and acquiring a shot image according to the shooting parameters corresponding to the environmental parameters;
and displaying the shot image on a shooting preview interface of the terminal equipment.
In a second aspect, an embodiment of the present invention further provides a terminal device, including:
The acquisition module is used for acquiring environmental parameters through an environment acquisition device of the terminal equipment;
The acquisition module is used for starting the first camera and acquiring a shot image according to the shooting parameters corresponding to the environmental parameters;
And the display module is used for displaying the shot image on a shooting preview interface of the terminal equipment.
in a third aspect, an embodiment of the present invention further provides a terminal device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the shooting method as described above when executing the computer program.
in a fourth aspect, the embodiment of the present invention further provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps in the shooting method as described above.
In the embodiment of the invention, the environment parameters are obtained through an environment acquisition device of the terminal equipment; starting the first camera, and acquiring a shot image according to the shooting parameters corresponding to the environmental parameters; and displaying the shot image on a shooting preview interface of the terminal equipment. Because the terminal equipment already obtains the environmental parameters before the first camera is started, the shooting parameters can be obtained by utilizing the environmental parameters for shooting, the shooting preview image can be quickly displayed, the time for previewing delay is reduced, and the shooting efficiency is improved.
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 exercise.
Fig. 1 is a flowchart of a photographing method according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a photographing method according to an embodiment of the present invention;
FIG. 2-1 is a schematic diagram of a connection of a first camera and a second camera in an embodiment of the present invention;
fig. 2-2 is a pin diagram of a camera according to an embodiment of the invention;
Fig. 3 is a third flowchart of a photographing method according to an embodiment of the present invention;
Fig. 4 is one of the structural diagrams of the terminal device provided in the embodiment of the present invention;
Fig. 5 is a structural diagram of an acquisition module in a terminal device according to an embodiment of the present invention;
fig. 6 is a second structural diagram of a terminal device according to the embodiment of the present invention;
fig. 7 is a structural diagram of an acquisition module in the terminal device according to the embodiment of the present invention;
Fig. 8 is a third structural 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.
Referring to fig. 1, fig. 1 is a flowchart of a shooting method provided by an embodiment of the present invention, and is applied to a terminal device having a first camera. As shown in fig. 1, the method comprises the following steps:
and 101, acquiring environmental parameters through an environment acquisition device of the terminal equipment.
The environmental parameter may be a parameter affecting a photographing effect in an environment, such as brightness of an external environment, temperature of the environment, humidity, and the like. The environment acquisition device may be the first camera, other cameras or a sensor of the terminal device, for example, an infrared distance sensor, a photosensitive sensor, etc. For example, the first camera may be turned on in the low power operation mode, and the first camera may be kept normally on in the low power operation mode. Specifically, the operating power of the first camera is smaller than the preset power value in a mode of operating a part of pixel units of the first camera, so that the environmental parameters are acquired through the first camera in a low-power-consumption operating mode. For another example, in a case where the terminal device is separately configured with a camera with a relatively low pixel, the camera may be controlled to operate in a low power consumption mode, so as to obtain the environmental parameter through the camera.
optionally, the environment parameter includes at least one of an environment brightness, an environment temperature, and a distance between a shooting object and the terminal device.
The ambient brightness can be obtained through a camera sensor; the ambient temperature can be determined by reading the relevant register parameters from a CMOS Sensor with a temperature Sensor; the distance between the shooting object and the terminal device can be determined by acquiring the phase difference. The above specific process of acquiring the environmental parameters may refer to the prior art, and is not described herein again. This embodiment can also be applied to the corresponding embodiment of fig. 2 and achieve the same advantageous effects.
and 102, starting the first camera, and acquiring a shot image according to the shooting parameters corresponding to the environmental parameters.
Starting the first camera can be understood as electrifying the first camera, so that the first camera enters a shooting preview interface. The photographing parameters may be parameters acquired according to environmental parameters, for example, an automatic white balance parameter acquired according to environmental brightness, a relative focus parameter determined according to a distance of a photographing object, a temperature compensation parameter determined according to an environmental temperature, and the like. Specifically, the shooting parameters may be obtained according to the environmental parameters according to a preset calculation rule.
After the shooting parameters are obtained, the first camera acquires a shot image by using the shooting parameters.
In a specific implementation scenario of this step, for example, while the first camera is started, the CPU of the terminal device may send information for calling an environmental parameter, and the first camera may determine a shooting parameter in advance according to the information, so as to shoot an image using the shooting parameter.
if in step 101, the terminal device obtains the environmental parameters through the first camera in the low power consumption operation mode, then in this step, starting the first camera may be understood as starting the shooting mode of the first camera, that is, controlling the first camera to enter a shooting preview interface, and collecting a shot image.
And 103, displaying the shot image on a shooting preview interface of the terminal equipment.
And after the terminal equipment collects the shot image, displaying the shot image on a shooting preview interface. Therefore, the terminal equipment can display the shooting effect matched with the environmental conditions in time, reduce the time delay of the preview picture and improve the shooting efficiency.
In the embodiment of the present invention, the shooting method may be applied to a terminal device, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
According to the shooting method, the environmental parameters are obtained; starting the first camera, and acquiring a shot image according to the shooting parameters corresponding to the environmental parameters; and displaying the shot image on a shooting preview interface of the terminal equipment. Because the terminal equipment already obtains the environmental parameters before the first camera is started, the shooting parameters can be obtained by utilizing the environmental parameters for shooting, the shooting preview image can be quickly displayed, the time for previewing delay is reduced, and the shooting efficiency is improved.
Referring to fig. 2, the main difference between the present embodiment and the above-described embodiment is that the terminal device obtains the environmental parameters through the second camera in the low power consumption operating state. Fig. 2 is a flowchart of a shooting method according to an embodiment of the present invention, and as shown in fig. 2, the shooting method includes the following steps:
Step 201, under the condition that the terminal device includes a second camera, acquiring an environmental parameter through the second camera in a low power consumption running state, wherein the low power consumption running state is a state in which running power is smaller than a preset power value.
The second camera can be a camera independently arranged on the terminal equipment, and the first camera and the second camera can be connected during specific implementation so as to transmit signals.
For example, the first camera and the second camera are designed in a conjoined manner. As shown in fig. 2-1, the input terminal shown in the figure is connected to the second camera, the output terminal is connected to the first camera, the first camera and the second camera are connected to the same circuit board, and the second camera transmits signals to the first camera.
The first camera and the second camera can be designed in a split mode. For example, as shown in fig. 2-2, pin No. 18 is added to a first camera circuit board, and pin No. 18 is added to a second camera circuit board in the same manner, so that two cameras are connected through pin No. 18, thereby performing signal transmission.
when the pixels of the second camera are high, only some pixel units of the second camera may be turned on, so that the operating power of the second camera is smaller than a preset power value, for example, the operating power is smaller than a low power consumption operating state such as 50 mw, 60 mw, or 100 mw. For example, in a camera with 1200 ten thousand pixels, 30 ten thousand pixels are uniformly selected to work, and the rest pixels do not work, so that the first camera is controlled to be in a low-power-consumption operation state. When the pixel of the second camera is low, all the pixel units of the second camera can be started, wherein when all the pixel units of the second camera operate, the operating power is smaller than the preset power value.
When the intelligent camera is implemented, the second camera can be controlled to be in a normally open state due to the fact that the operating power of the second camera is low, and therefore environmental parameters can be collected in real time.
Optionally, before the step of acquiring the environmental parameter by the second camera in the low power consumption operating state, the method further includes: and when the terminal equipment is started or turned off, starting the second camera and controlling the second camera to be in the low-power-consumption running state.
the terminal device is turned off, which can be understood as a state that the terminal device is in an operating state and the screen does not display information. For example, the state when the screen of the terminal device does not display information after the terminal device is locked.
In this embodiment, the second camera may be turned on when the terminal device is turned on, that is, the second camera is in a low power consumption operating state when the terminal device is in the on state. Therefore, the second camera is in a normally open state under the condition that the terminal equipment is started, and the environmental parameters can be acquired in real time.
The second camera can also be started when the terminal equipment is in the screen-off state, namely, the second camera is in the low-power-consumption running state under the condition that the terminal equipment is in the screen-off state. Therefore, the second camera is in a normally open state under the condition that the terminal equipment is turned off, and the environmental parameters can be acquired in real time. Optionally, when the terminal device is on the screen, the second camera can be turned off, so that energy consumption can be saved.
In the embodiment, the second camera is in a normally open state, so that the environmental information can be acquired in real time and shared to the first camera as basic data, and the first camera can acquire the environmental information in advance, thereby improving the shooting efficiency. In addition, the second camera is in a low-power-consumption running state, only simple and specific data processing can be carried out, real images do not need to be output to the terminal, and energy consumption can be saved.
Step 201 may be replaced with: and acquiring environmental parameters through at least one of an infrared distance sensor and a photosensitive sensor of the terminal equipment.
Under the condition that the terminal device does not have the second camera, the terminal device may acquire the environmental parameter through other components, for example, the distance information between the photographed object and the terminal device is acquired through the infrared distance sensor, and the ambient light brightness is acquired through the photosensitive sensor, and the specific acquisition mode may refer to the prior art.
The implementation mode can be used for applying the scheme to more types of terminal equipment.
Step 202, starting the first camera, and acquiring a shot image according to the shooting parameters corresponding to the environmental parameters.
The specific implementation of this step can be referred to as step 102, and is not described here again.
Optionally, the step of starting the first camera and acquiring the shot image according to the shooting parameters corresponding to the environmental parameters includes: starting the first camera; acquiring corresponding shooting parameters according to the environment parameters; and controlling the first camera to acquire a shot image according to the shooting parameters.
In this embodiment, the first camera may acquire an environmental parameter acquired in advance while the first camera is started or within a preset time after the first camera is started, and acquire a shooting parameter corresponding to the environmental parameter by using the environmental parameter, where the specific acquisition mode may be obtained according to a preset calculation mode or a preset corresponding relationship. The first camera adjusts the shooting parameters to the shooting parameters corresponding to the current environment parameters, so that shooting can be performed, and the shooting effect can be improved.
and 203, displaying the shot image on a shooting preview interface of the terminal equipment.
The specific implementation manner of this step can be referred to as step 103, and is not described herein again.
To facilitate understanding of the present solution, the following description is given by way of example with reference to specific embodiments. As shown in fig. 3, fig. 3 is a flowchart of the photographing method.
The terminal equipment is provided with a main camera and a low-power-consumption auxiliary camera, wherein the low-power-consumption camera is in a normal working state, namely, the low-power-consumption camera is in a working state under the condition that the terminal equipment is started. The low-power-consumption camera collects the environmental parameters such as the environmental brightness, the temperature and the like in real time and updates the environmental parameters in real time.
When a user starts the main camera to shoot, the main camera obtains a starting instruction, the main camera is powered on and started, meanwhile, the CPU synchronously sends and calls the environmental parameters obtained by the low-power-consumption camera, and the main camera calculates according to the obtained environmental parameters to obtain shooting parameters, such as parameters of automatic white balance, temperature compensation and the like. The main camera performs shooting after adjusting the shooting parameters, and displays a preview image acquired by shooting with the adjusted shooting parameters.
according to the shooting method provided by the embodiment of the invention, the shooting parameters are determined by utilizing the environmental parameters acquired by the second camera in advance, so that the first camera shoots according to the shooting parameters, the shot image matched with the environmental conditions can be rapidly displayed, and the shooting efficiency can be improved.
Referring to fig. 4, fig. 4 is a structural diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 4, the terminal device 400 includes: an acquisition module 401 and an acquisition module 402.
an obtaining module 401, configured to obtain an environmental parameter through an environment acquisition device of the terminal device;
An acquisition module 402, configured to start the first camera and acquire a captured image according to the capturing parameters corresponding to the environmental parameters;
A display module 403, configured to display the captured image on a capture preview interface of the terminal device.
optionally, as shown in fig. 5, the obtaining module 401 includes:
the first obtaining submodule 4011 is configured to, when the terminal device includes a second camera, obtain an environmental parameter through the second camera in a low power consumption operating state, where the low power consumption operating state is a state where operating power is smaller than a preset power value; or
And the second obtaining sub-module 4012 is configured to obtain the environmental parameter through at least one of an infrared distance sensor and a photosensitive sensor of the terminal device.
Optionally, as shown in fig. 6, the terminal device further includes:
A starting module 404, configured to start the second camera and control the second camera to be in the low power consumption operating state when the terminal device is turned on or turned off.
Optionally, the environment parameter includes at least one of an environment brightness, an environment temperature, and a distance between a shooting object and the terminal device.
Optionally, as shown in fig. 7, the acquisition module 402 includes:
the promoter module 4021 is used for starting the first camera;
a third obtaining sub-module 4022, configured to obtain corresponding shooting parameters according to the environment parameters;
and the acquisition sub-module 4023 is used for controlling the first camera to acquire the shot image according to the shooting parameters.
The terminal device 400 can implement each process implemented by the terminal device in the above method embodiments, and is not described here again to avoid repetition.
according to the terminal device 400 of the embodiment of the invention, the terminal device already obtains the environmental parameters before the first camera is started, so that the shooting parameters can be obtained by utilizing the environmental parameters for shooting, the shooting preview image can be rapidly displayed, the time for previewing is shortened, and the shooting efficiency is improved.
Fig. 8 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where 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. 8 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, 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 mobile terminal, a wearable device, a pedometer, and the like.
The processor 810 acquires an environment parameter through an environment acquisition device of the terminal device; starting the first camera, and acquiring a shot image according to the shooting parameters corresponding to the environmental parameters; and displaying the shot image on a shooting preview interface of the terminal equipment.
because the terminal equipment already obtains the environmental parameters before the first camera is started, the shooting parameters can be obtained by utilizing the environmental parameters for shooting, the shooting preview image can be quickly displayed, the time for previewing delay is reduced, and the shooting efficiency is improved.
Optionally, the processor 810 executes the step of obtaining the environmental parameters through the environment acquisition device of the terminal device, including: under the condition that the terminal equipment comprises a second camera, acquiring an environmental parameter through the second camera in a low-power-consumption running state, wherein the low-power-consumption running state is a state that running power is smaller than a preset power value; or acquiring the environmental parameters through at least one of an infrared distance sensor and a photosensitive sensor of the terminal equipment.
Optionally, the processor 810 is further configured to, when the terminal device is turned on or turned off, turn on the second camera and control the second camera to be in the low power consumption operating state.
Optionally, the processor 810 is further configured to determine the environmental parameter includes at least one of an environmental brightness, an environmental temperature, and a distance between the shooting object and the terminal device.
Optionally, the step of starting the first camera and acquiring the shot image according to the shooting parameters corresponding to the environmental parameters by the processor 810 includes: starting the first camera; acquiring corresponding shooting parameters according to the environment parameters; and controlling the first camera to acquire a shot image according to the shooting parameters.
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 provides wireless broadband internet access to the user through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal 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 device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The terminal 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. 8, 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; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
terminal device 800 may also include a power supply 811 (such as a battery) for powering the various components, and preferably, power supply 811 may be logically coupled to processor 810 via a power management system to provide management of charging, discharging, and power consumption via the power management system.
in addition, the terminal device 800 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 810, 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 in the above shooting 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 above-mentioned shooting 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 device (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 (8)

1. a shooting method is applied to terminal equipment comprising a first camera, and is characterized by comprising the following steps:
Acquiring environmental parameters through an environment acquisition device of the terminal equipment;
Acquiring a starting instruction for starting a first camera to shoot by a user, starting the first camera, and acquiring a shot image according to shooting parameters corresponding to the environment parameters;
Displaying the shot image on a shooting preview interface of the terminal equipment;
The step of obtaining the environmental parameters through the environment acquisition device of the terminal equipment comprises the following steps:
And under the condition that the terminal equipment comprises a second camera, acquiring the environmental parameters through the second camera in a low-power-consumption running state, wherein the low-power-consumption running state is a state that the running power is smaller than a preset power value.
2. the method of claim 1, wherein prior to the step of obtaining environmental parameters by the second camera in a low power consumption operating state, the method further comprises:
And when the terminal equipment is started or turned off, starting the second camera and controlling the second camera to be in the low-power-consumption running state.
3. The method according to any one of claims 1 to 2, wherein the environment parameter includes at least one of an environment brightness, a distance of a photographic subject from the terminal device.
4. a terminal device, the terminal device including a first camera, comprising:
the acquisition module is used for acquiring environmental parameters through an environment acquisition device of the terminal equipment;
The acquisition module is used for acquiring a starting instruction for starting a first camera to shoot by a user, starting the first camera and acquiring a shot image according to shooting parameters corresponding to the environmental parameters;
the display module is used for displaying the shot image on a shooting preview interface of the terminal equipment;
The acquisition module includes:
The first obtaining submodule is used for obtaining the environmental parameters through the second camera in a low-power-consumption running state under the condition that the terminal equipment comprises the second camera, wherein the low-power-consumption running state is a state that the running power is smaller than a preset power value.
5. the terminal device according to claim 4, wherein the terminal device further comprises:
And the starting module is used for starting the second camera and controlling the second camera to be in the low-power-consumption running state when the terminal equipment is started or is turned off.
6. The terminal device according to any one of claims 4 to 5, wherein the environment parameter includes at least one of an environment brightness, and a distance between a subject and the terminal device.
7. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps in the shooting method according to any one of claims 1 to 3.
8. 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 in the photographing method according to any one of claims 1 to 3.
CN201810679095.2A 2018-06-27 2018-06-27 Shooting method and terminal equipment Active CN108924414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810679095.2A CN108924414B (en) 2018-06-27 2018-06-27 Shooting method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810679095.2A CN108924414B (en) 2018-06-27 2018-06-27 Shooting method and terminal equipment

Publications (2)

Publication Number Publication Date
CN108924414A CN108924414A (en) 2018-11-30
CN108924414B true CN108924414B (en) 2019-12-10

Family

ID=64422728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810679095.2A Active CN108924414B (en) 2018-06-27 2018-06-27 Shooting method and terminal equipment

Country Status (1)

Country Link
CN (1) CN108924414B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688335A (en) * 2018-12-04 2019-04-26 珠海格力电器股份有限公司 Control method and device, the unlocking method and a device of terminal, mobile phone of camera
CN110753188A (en) * 2019-11-04 2020-02-04 深圳传音控股股份有限公司 Terminal shooting method, terminal and readable storage medium
CN110830717B (en) * 2019-11-12 2021-06-25 维沃移动通信有限公司 Parameter value acquisition method and electronic equipment
CN112104802B (en) * 2020-08-21 2021-07-20 深圳市睿联技术股份有限公司 Camera circuit and camera device
CN112312034B (en) * 2020-10-29 2023-02-21 北京小米移动软件有限公司 Exposure method and device of image acquisition module, terminal equipment and storage medium
CN112672069B (en) * 2020-12-24 2023-02-03 维沃移动通信有限公司 Exposure method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013247492A (en) * 2012-05-25 2013-12-09 Konica Minolta Inc Object detector
CN105847680A (en) * 2016-03-28 2016-08-10 维沃移动通信有限公司 Camera power consumption control method and mobile terminal
JP2017525052A (en) * 2014-09-17 2017-08-31 インテル コーポレイション Technology that adjusts the field of view of captured images for display
CN108012082A (en) * 2017-12-12 2018-05-08 青岛海信移动通信技术股份有限公司 A kind of terminal reduces the method and terminal of power consumption
CN108156388A (en) * 2018-02-08 2018-06-12 云丁网络技术(北京)有限公司 Power consumption control method and photographic device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954699B (en) * 2015-06-15 2017-09-29 广东欧珀移动通信有限公司 A kind of acquisition parameters method to set up and user terminal
CN108108008A (en) * 2017-12-29 2018-06-01 深圳市金立通信设备有限公司 Camera virtualization control method, terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013247492A (en) * 2012-05-25 2013-12-09 Konica Minolta Inc Object detector
JP2017525052A (en) * 2014-09-17 2017-08-31 インテル コーポレイション Technology that adjusts the field of view of captured images for display
CN105847680A (en) * 2016-03-28 2016-08-10 维沃移动通信有限公司 Camera power consumption control method and mobile terminal
CN108012082A (en) * 2017-12-12 2018-05-08 青岛海信移动通信技术股份有限公司 A kind of terminal reduces the method and terminal of power consumption
CN108156388A (en) * 2018-02-08 2018-06-12 云丁网络技术(北京)有限公司 Power consumption control method and photographic device

Also Published As

Publication number Publication date
CN108924414A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN108924414B (en) Shooting method and terminal equipment
CN108307109B (en) High dynamic range image preview method and terminal equipment
CN109688322B (en) Method and device for generating high dynamic range image and mobile terminal
CN107846583B (en) Image shadow compensation method and mobile terminal
CN107730460B (en) Image processing method and mobile terminal
CN108040209B (en) Shooting method and mobile terminal
CN108449541B (en) Panoramic image shooting method and mobile terminal
CN107749046B (en) Image processing method and mobile terminal
CN110213485B (en) Image processing method and terminal
CN110933302B (en) Shooting method and electronic equipment
CN110290331B (en) Screen control method and terminal
CN109819166B (en) Image processing method and electronic equipment
CN108174109B (en) Photographing method and mobile terminal
CN108174110B (en) Photographing method and flexible screen terminal
CN110881105B (en) Shooting method and electronic equipment
CN110290263B (en) Image display method and mobile terminal
CN109462727B (en) Filter adjusting method and mobile terminal
CN109005337B (en) Photographing method and terminal
CN108924413B (en) Shooting method and mobile terminal
CN108243489B (en) Photographing control method and mobile terminal
CN107911585B (en) Image processing method and device of mobile terminal and mobile terminal
CN108282611B (en) Image processing method and mobile terminal
CN111147745B (en) Shooting method, shooting device, electronic equipment and storage medium
CN111028192B (en) Image synthesis 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