WO2018113055A1 - 一种摄像头控制方法及终端 - Google Patents

一种摄像头控制方法及终端 Download PDF

Info

Publication number
WO2018113055A1
WO2018113055A1 PCT/CN2017/070928 CN2017070928W WO2018113055A1 WO 2018113055 A1 WO2018113055 A1 WO 2018113055A1 CN 2017070928 W CN2017070928 W CN 2017070928W WO 2018113055 A1 WO2018113055 A1 WO 2018113055A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
terminal
working state
preset
working
Prior art date
Application number
PCT/CN2017/070928
Other languages
English (en)
French (fr)
Inventor
靳林芳
李思杨
刘佳驹
康南波
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780009515.XA priority Critical patent/CN108605088A/zh
Priority to EP17884214.2A priority patent/EP3550822A4/en
Priority to US16/472,398 priority patent/US20190364221A1/en
Priority to JP2019534223A priority patent/JP2020516094A/ja
Priority to KR1020197020840A priority patent/KR20190097193A/ko
Publication of WO2018113055A1 publication Critical patent/WO2018113055A1/zh

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/65Control of camera operation in relation to power supply
    • H04N23/651Control of camera operation in relation to power supply for reducing power consumption by affecting camera operations, e.g. sleep mode, hibernation mode or power off of selective parts of the camera
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B17/00Details of cameras or camera bodies; Accessories therefor
    • G03B17/55Details of cameras or camera bodies; Accessories therefor with provision for heating or cooling, e.g. in aircraft
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/52Elements optimising image sensor operation, e.g. for electromagnetic interference [EMI] protection or temperature control by heat transfer or cooling elements
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • 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
    • 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

Definitions

  • the present application relates to the field of terminal devices, and in particular, to a camera control method and a terminal.
  • Smart terminals play a very important role in people's daily lives with their rich functions, stylish appearance and portable features.
  • the camera function is favored by consumers, and the major manufacturers of major terminals will almost always promote the camera function as the main selling point.
  • the terminal takes a picture it needs to call multiple physical chips to complete the imaging. The higher the imaging quality, the greater the power consumption that needs to be consumed. Therefore, when the terminal is taking a picture, the power consumption of the terminal is high, resulting in the terminal temperature being too high.
  • many terminal manufacturers have successively released terminals with dual camera configurations. When the terminal of the dual camera configuration is photographed, the power consumption is further increased.
  • the terminal is in a low battery state, it often happens that the dual camera is working, and a low-temperature low-power camera shutdown event occurs.
  • the existing overheat protection technical solutions mainly include: when the terminal is photographed, when the detected temperature exceeds a preset temperature threshold, the image frame rate of the camera is lowered, thereby achieving the effects of reducing load, power consumption and terminal temperature.
  • the purpose of the embodiments of the present application is to provide a camera control method and a terminal, which are used to reduce power consumption generated by a camera in a multi-camera scenario.
  • An embodiment of the present application provides a camera control method, including:
  • the terminal opens the first camera and the second camera; the first camera and the second camera are located on the same side of the terminal, and the first camera operates in a first working state;
  • the first camera is switched from the first working state to the second working state, and the second working state is a low power state or a closed state.
  • the terminal switches the first camera from the first working state to the second working state when determining that the working parameter meets the preset condition, and the second working state is a low power state or a closed state, thereby reducing the first camera and The total power consumption of the second camera, thereby reducing the temperature of the mobile phone, and reducing the camera generated in the multi-camera scene The purpose of power consumption.
  • the working parameter includes one or more of the following:
  • the battery voltage of the terminal The battery voltage of the terminal
  • the preset condition includes one or more of the following:
  • the working time after the first camera is turned on is greater than the first preset duration
  • the battery voltage of the terminal is less than a preset voltage
  • the photographing parameter of the first camera is higher than the first preset value, or the photographing parameter of the first camera is lower than the second preset value;
  • the temperature of the preset area in the terminal is greater than the first preset temperature
  • the temperature of the preset area in the terminal is less than the second preset temperature; and the second preset temperature is less than the first preset temperature.
  • the method before the switching the first camera from the first working state to the second working state, the method further includes:
  • the terminal determines that the first camera is allowed to operate in the second working state.
  • the method further includes:
  • the terminal detects whether there is an event that triggers the first camera to work in the first working state
  • the working state of the first camera is switched to the first working state.
  • the terminal detects whether there is an event that triggers the first camera to work in the first working state, including:
  • the terminal detects whether an operation mode of the camera application is switched from a second operation mode to a first operation mode, where the first operation mode is an operation mode that does not allow the first camera to operate in a second operation state, the The second operating mode is an operating mode that allows the first camera to operate in the second operating state.
  • the terminal detects whether there is an event that triggers the first camera to work in the first working state, including:
  • the terminal detects whether the user triggers the recording of the image.
  • An embodiment of the present application provides a terminal, including:
  • a working parameter determining unit configured to determine whether the working parameter of the terminal meets a preset condition
  • a camera control unit configured to turn on the first camera and the second camera; the first camera and the second camera are located on the same side of the terminal, the first camera works in a first working state; when the working parameter is determined
  • the unit determines that the working parameter of the terminal meets a preset condition, and switches the first camera from a first working state to a second working state, where the second working state is a low power state or a closed state.
  • the working parameter includes one or more of the following:
  • the battery voltage of the terminal The battery voltage of the terminal
  • the preset condition includes one or more of the following:
  • the working time after the first camera is turned on is greater than the first preset duration
  • the battery voltage of the terminal is less than a preset voltage
  • the photographing parameter of the first camera is higher than the first preset value, or the photographing parameter of the first camera is lower than the second preset value;
  • the temperature of the preset area in the terminal is greater than the first preset temperature
  • the temperature of the preset area in the terminal is less than the second preset temperature; and the second preset temperature is less than the first preset temperature.
  • the camera control unit is further configured to: before the first camera is switched from the first working state to the second working state, determine that the first camera is allowed to work in the second working state, when A camera allows the first camera to be switched from the first operational state to the second operational state when operating in the second operational state.
  • the camera control unit is further configured to:
  • the working state of the first camera is switched to the first working state.
  • the detecting whether there is an event that triggers the first camera to work in the first working state is:
  • the operating mode of the camera application Detecting whether the operating mode of the camera application is switched from the second operating mode to the first operating mode, the first operating mode being an operating mode that does not allow the first camera to operate in the second operating state, the second operating mode An operating mode for allowing the first camera to operate in the second operating state.
  • the detecting whether there is an event that triggers the first camera to work in the first working state is:
  • the terminal detects whether the user triggers the recording of the image.
  • An embodiment of the present application provides a terminal, including:
  • the memory is used to store program instructions
  • a processor configured to execute the program instructions, performs the following steps:
  • the first camera and the second camera are located on the same side of the terminal, and the first camera is operated in a first working state;
  • the first camera is switched from the first working state to the second working state, and the second working state is a low power state or a closed state.
  • the working parameter includes one or more of the following:
  • the battery voltage of the terminal The battery voltage of the terminal
  • the preset condition includes one or more of the following:
  • the working time after the first camera is turned on is greater than the first preset duration
  • the battery voltage of the terminal is less than a preset voltage
  • the photographing parameter of the first camera is higher than the first preset value, or the photographing parameter of the first camera is lower than the second preset value;
  • the temperature of the preset area in the terminal is greater than the first preset temperature
  • the temperature of the preset area in the terminal is less than the second preset temperature; and the second preset temperature is less than the first preset temperature.
  • the method further includes:
  • the method further includes: detecting whether there is an event that triggers the first camera to work in the first working state;
  • the working state of the first camera is switched to the first working state.
  • the processor detects whether there is an event that triggers the first camera to work in the first working state, including:
  • the first operating mode is an operating mode corresponding to the first working state of the first working state
  • the second operating mode is An operating mode that allows the first camera to operate in a second operational state
  • the terminal detects whether there is an event that triggers the first camera to work in the first working state, including:
  • the embodiments of the present application provide a computer readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform the methods described in the above aspects.
  • the embodiments of the present application provide a computer program product comprising instructions that, when run on a computer, cause the computer to perform the methods described in the above aspects.
  • FIG. 1 is a schematic flowchart of a camera control method according to an embodiment of the present application.
  • FIG. 2 is a schematic view showing a position of a first camera and a second camera
  • FIG. 3 is a schematic diagram of area division according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a camera control method according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a camera control method according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a camera application program according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic flowchart of a camera control method according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic flowchart of a camera control method according to an embodiment of the present application.
  • first, second, third, etc. may be used in the embodiments of the present application to describe various messages, Requests and terminals, but these messages, requests and terminals should not be limited to these terms. These terms are only used to distinguish messages, requests, and terminals from one another.
  • the first terminal may also be referred to as a second terminal without departing from the scope of the embodiments of the present application.
  • the second terminal may also be referred to as a first terminal.
  • the words “if” or “if” as used herein may be interpreted as “when” or “when” or “in response to determining” or “in response to detecting.”
  • the phrase “if determined” or “if detected (conditions or events stated)” may be interpreted as “when determined” or “in response to determination” or “when detected (stated condition or event) “Time” or “in response to a test (condition or event stated)”.
  • a terminal also called a User Equipment (UE)
  • UE User Equipment
  • Common terminals include, for example, mobile phones, tablets, notebook computers, PDAs, mobile internet devices (MIDs), wearable devices such as smart watches, smart bracelets, pedometers, and the like.
  • FIG. 1 a schematic flowchart of a camera control method provided by an embodiment of the present application is shown.
  • the method includes:
  • Step 101 The terminal turns on the first camera and the second camera; the first camera and the second camera are located on the same side of the terminal, and the first camera operates in a first working state.
  • the terminal may include at least two cameras.
  • the first camera and the second camera may be any two of the at least two cameras, and each of the at least two cameras may be applicable to the embodiments of the present application.
  • the camera control method is described below by taking only the first camera and the second camera as an example, and other details are not described herein.
  • the first camera works in a first working state
  • the first working state may be an operating state that enables the first camera to implement image acquisition, which may be referred to as a normal working state.
  • Step 102 When the working parameter of the terminal meets a preset condition, the first camera is switched from a first working state to a second working state, and the second working state is a low power state or a closed state.
  • the power consumption of the first camera when in the second operating state is less than the power consumption when in the first operating state.
  • the first camera and the second camera may be cameras of the same configuration, or may be cameras of different configurations.
  • the first camera may include a black and white sensor that records light and dark, and a black and white image is captured;
  • the second camera may include a color sensor to capture a color image.
  • the terminal may synthesize the image signal collected by the first camera and the image signal collected by the second camera to implement optical zoom, dark light compensation, 3D shooting, 3D modeling and the like.
  • the terminal can synthesize the black and white image and the color image, and finally produce a high definition, color reproduction realistic image.
  • the first camera and the second camera are located on the same side of the terminal, and a distance between the first camera and the second camera is a preset distance.
  • Figure 2 illustrates a schematic view of the position of the first camera and the second camera.
  • step 102 there may be a camera application for controlling the operation of the first camera and the second camera in the terminal, and the user controls the first camera and the second camera to collect images through the camera application.
  • the camera application program may be a program for controlling the first camera and the second camera to collect images in the terminal, and may be a program that is provided when the terminal is shipped from the factory, or may be a program that is downloaded and installed.
  • the camera application can have multiple modes of operation, such as large aperture mode, panoramic mode, shooting video mode, time-lapse photo mode, photo mode, and more.
  • the camera application is set to different operating modes, the power consumption required for the first camera and the second camera to acquire images is different, and the number of cameras required is also different.
  • the camera application needs the first camera and the second camera to simultaneously capture images; for example, in the photo mode, the camera application can only acquire images by the second camera, and the first camera is in a low power state or a closed state. .
  • the operation mode of the camera application may include a first operation mode and a second operation mode
  • the first operation mode is an operation mode that requires the first camera to operate in the first working state, such as a large aperture mode
  • the second operation mode is allowed
  • a camera operates in a second working mode, such as a photo mode, a video shooting mode, and the like.
  • Different terminal or camera applications may set different first operation modes and second operation modes, for example, the photo mode is the first operation mode, which is not limited by the embodiment of the present invention.
  • the first working state may be an operating state in which the first camera works when the camera application in the terminal operates in any of the operating modes described above.
  • the first working state can also be other working states, and will not be exemplified one by one.
  • the second working state may be an operating state such as a low power mode or a closed state.
  • the first camera when the first camera works in the low power mode, it may be in a sleep state, and the power consumption is small.
  • the working current is 100 mA during operation, and the operating current of the first camera when operating in the low power mode may be 4 mA.
  • the power consumption may be 0 or infinitely close to zero.
  • the first camera is in the second working state, the image may not be acquired.
  • the camera may be composed of a lens, a motor system, an imaging chip, and the like, wherein the motor system and the imaging chip are the main sources of power consumption of the camera.
  • the operation of the first camera in the low power mode may mean that one or more of the lens of the first camera, the motor system of the first camera, and the imaging chip of the first camera are in low power consumption.
  • a mode, such as a sleep state; correspondingly, the working of the first camera in the off state may mean that one or more of the lens of the first camera, the motor system of the first camera, and the imaging chip of the first camera are closed. status.
  • the working parameters of the terminal may include one or more of the following: a working duration after the first camera of the terminal is turned on; a battery voltage of the terminal; a camera parameter of the first camera; and a preset in the terminal The temperature of the area.
  • the preset condition may include but is not limited to one or more of the following:
  • the working time after the first camera is turned on is greater than the first preset duration
  • the battery voltage of the terminal is less than a preset voltage
  • the battery power of the terminal is less than a preset power
  • the camera parameter of the first camera is higher than the first preset value, or the camera parameter of the first camera is lower than the second preset value; the camera parameter value may be an exposure parameter of the camera, an ISO value of the screen, and the like.
  • the temperature of the preset area in the terminal is greater than the first preset temperature
  • the temperature of the preset area in the terminal is less than the second preset temperature; and the second preset temperature is less than the first preset temperature.
  • the terminal may be determined.
  • the working parameters meet the preset conditions.
  • the terminal may determine that the working parameter of the terminal meets the preset. condition.
  • the working parameter of the terminal may also be a total power consumption of the first camera and the second camera.
  • the preset condition may be that the total power consumption of the first camera and the second camera is greater than a power consumption threshold.
  • the terminal can directly determine the total power consumption of the first camera and the second camera. Specifically, the terminal acquires an operating voltage and an operating current of the first camera, and acquires an operating voltage and an operating current of the second camera, thereby calculating power consumption of the first camera and the second camera respectively. Power consumption, thereby determining the total power consumption of the first camera and the second camera.
  • the terminal may determine the battery voltage through a feedback signal of a module such as a battery, a power management chip, or a coulomb counter.
  • a module such as a battery, a power management chip, or a coulomb counter.
  • the terminal can also determine the battery voltage by other means, which is not limited by the embodiment of the present application.
  • the interior of the terminal may be divided into multiple regions, and at least one temperature sensor may be disposed in each region, and the terminal may read the temperature measured by each temperature sensor in real time, thereby determining the temperature of each region.
  • FIG. 3 it is a schematic diagram of area division provided by an embodiment of the present application.
  • the terminal is divided into area 1 to area 8, for a total of 8 areas.
  • At least one temperature sensor is disposed in each zone, and the terminal can determine the temperature of each zone by a temperature sensor.
  • the preset area may be any area in the terminal, and may be determined according to actual conditions.
  • the terminal may use the maximum temperature read from all the temperature sensors in the preset area as the temperature of the preset area, or may average the temperature measured by all the temperature sensors in the preset area. And the average value is taken as the temperature of the preset area.
  • the temperature of the preset area may also be an average value after weighting the temperature of the multiple areas in the terminal. For example, in combination with FIG. 3, the terminal takes the temperature of the area 1 in the terminal to the temperature of the area 8 as an average value. And the average of the temperature of the region 1 to the temperature of the region 8 is taken as the temperature of the preset region.
  • the temperature of the preset area can also be determined by other means, and details are not described herein again.
  • the preset area is an area where the first camera and/or the second camera are located.
  • the type of the temperature sensor inside the terminal is not limited in the embodiment of the present application, and may be, for example, a negative temperature coefficient (NTC) temperature sensor.
  • NTC negative temperature coefficient
  • the terminal before determining that the working parameter of the terminal meets the preset condition, the terminal further needs to determine whether the first camera is allowed to work in the second working state. Specifically, if the terminal determines that the first camera is allowed to work in the second working state, step 102 is performed; if the terminal determines that the first camera is not allowed to work in the second working state, Keeping the first camera working in the first working state.
  • the method of the present application is not limited to how the terminal determines whether the first camera is allowed to work in the second working state.
  • the user can set whether the first camera is allowed to work in the second working state through software, for example, the user sets whether the first camera is allowed to work in the second working state through the camera application. If the terminal determines that the first camera is set to allow operation in the second operational state, it is determined that the first camera is allowed to operate in the second operational state.
  • the terminal may determine whether the current running mode of the camera application is a preset mode, and if it is a preset mode, determine that the first camera is not allowed to work in the second working state. For example, if the preset mode is a large aperture mode, if the terminal determines that the camera application is currently working in the large aperture mode, it may be determined that the first camera is not allowed to work in the second working state.
  • the terminal may further determine whether the first camera is allowed to work in the second working state by other means, and is not illustrated here one by one.
  • the terminal sets the first working state of the current working state of the first camera to the second working state, Keeping the working state of the second camera unchanged, since the power consumption of the second working state of the first camera is smaller than the power consumption of the first working state, the power consumption of the first camera can be reduced, thereby reducing the The total power consumption of the first camera and the second camera is described.
  • the first camera can be set to work in the first working state according to the need, and the image is collected by the first camera.
  • the user sets the operation mode of the camera application in the terminal to the first operation mode, wherein the camera application running in the first operation mode needs to collect images by using the first camera working in the first working state, first The operation mode can be a large aperture mode or the like.
  • the terminal determines that the camera application in the terminal needs to work in the first operation mode, it may be determined that the first camera needs to work in the first working state.
  • FIG. 4 is a schematic flowchart diagram of a camera control method according to an embodiment of the present application.
  • Step 401 The terminal turns on the first camera and the second camera.
  • the terminal can start the first camera and the second camera after receiving the instruction of the user to open the camera application, and the running mode of the camera application can be a large aperture mode, a panoramic mode, a shooting video mode, a delayed shooting mode, and a photo mode.
  • the first camera operates in the first working state, and the first camera can acquire images when working in the first working state.
  • the user can instruct the terminal to exit the camera application at any time. In the embodiment of the present application, it is only an example to determine whether to exit the camera application in step 405. For other cases, reference may be made to the description herein. Narration.
  • Step 402 The terminal determines whether the first camera is allowed to work in the second working state, and if yes, proceeds to step 403, otherwise proceeds to step 402.
  • the second working state may be a sleep state or a closed state.
  • the operation mode of the camera application is a large aperture operation mode
  • the first camera and the second camera are required to simultaneously acquire images, and the first camera is not allowed to work in the second working state at this time;
  • the operation mode of the camera application is In the photo mode, the photographing can be performed separately by the second camera, so the first camera is allowed to operate in the second working state at this time.
  • Step 403 The terminal determines whether the working parameter of the terminal meets the preset condition. If yes, the process goes to step 404, otherwise, the process goes to step 403.
  • step 402 and step 403 are not limited in the embodiment of the present application.
  • Step 402 may also be performed after step 403, that is, it is first determined whether the working parameters of the terminal meet the preset condition, and when the preset condition is met, Whether a camera is allowed to operate in the second working state, and when it is determined that the first camera is allowed to operate in the second working state, then the process proceeds to step 404.
  • the working parameters of the terminal may consider the working time after the first camera is turned on and the temperature of the preset area in the terminal; the preset condition is that the working time after the first camera is turned on is greater than the first preset time length and the temperature of the preset area in the terminal is greater than The first preset temperature.
  • the operating parameters of the terminal can also take into account the battery voltage or power; the preset condition is that the battery voltage is lower than the preset voltage or the battery power is lower than the preset power.
  • the terminal may start a timer when the first camera and the second camera are started, and the alarm is started when the duration of the timer is the first preset duration.
  • the terminal can clear the timer; of course, when the process goes to step 404, the terminal may not clear the timer until the terminal exits the camera application, and the timer is cleared. This example is not limited to this.
  • Step 404 The terminal operates the first camera setting in a second working state.
  • the second operating state can be a low power state or a closed state, thereby reducing power consumption of the terminal.
  • Step 405 The terminal determines whether to exit the camera application, and if yes, proceeds to step 408, otherwise proceeds to step 406.
  • step 406 the terminal determines whether the first camera needs to work in the first working state, and if yes, proceeds to step 407; otherwise, proceeds to step 405.
  • the first camera When the operating mode of the camera application is switched from the second operating mode to the first operating mode, the first camera needs to operate in the first operating state. For example, when it is detected that the operation mode of the user selects the camera application is switched to the large aperture mode, the first camera and the second camera are required to collect images together, that is, the terminal determines that the first camera needs to work in the first working state. If it is detected that the operation mode of the user selecting the camera application is switched to the shooting video mode, the image can still be acquired by the second camera at this time, so the terminal determines that the first camera does not need to work in the first working state.
  • the first camera when the operation mode of the camera application remains in the second operation mode, when the user triggers the operation of recording the image, the first camera is set to operate in the first working state.
  • the camera application runs in the photo mode, allowing the first camera to work in the second working state, and when the working parameter of the terminal meets the preset condition, setting the working state of the first camera to the second working state, when When the user presses the camera button, the image needs to be recorded at this time, that is, the photo needs to be completed, and the photo is generated.
  • the working state of the first camera can be switched to the first working state after the user presses the camera button.
  • the first camera and the second camera together capture images to form a photo.
  • the terminal may further determine whether the first camera needs to work in the first working state by other means.
  • Step 407 The terminal operates the first camera setting in the first working state, and proceeds to step 402.
  • Step 408 End.
  • the first camera and the second camera are turned off.
  • the second camera is always in the state of acquiring images after the camera application is turned on until the camera application exits.
  • the second camera can be turned off or hibernated when the camera application is running in the background.
  • the embodiment of the present application is mainly applied to when the camera application is opened by the user after the camera application is opened.
  • the corresponding camera application when the first camera is operating in the first working state, can run in any of the first operating mode and the second operating mode, and can switch between various operating modes. For example, when the first camera is working in the first working state, the corresponding camera application can run in any of the large aperture mode, the photo mode, the delayed photography mode, and the captured video mode, and can be in these modes. Switch.
  • the first camera When the first camera works in the first working state, it may be divided into a first working sub state, a second working sub state, a third working sub state, and the like according to an operating mode of the camera application.
  • the first working sub-state is a shooting video state
  • the corresponding working mode of the camera application is a shooting video mode
  • the second working sub-state is a large aperture state
  • the operating mode of the corresponding camera application is a large aperture mode
  • the working sub-state is the photo state
  • the running mode of the corresponding camera application is the photo mode.
  • the first working sub-state is a shooting video state, and the running mode of the corresponding camera application is a shooting video mode;
  • the working sub-state is a large aperture state, and the running mode of the corresponding camera application is a large aperture mode;
  • the third working sub-state is a photo state, and the running mode of the corresponding camera application is a photo mode.
  • the first mode of operation of the camera application includes a large aperture mode
  • the second mode of operation includes a photo mode and a shooting video mode.
  • the preset condition is that the working time after the first camera is turned on is greater than the first preset time length and the temperature of the preset area in the terminal is greater than the first preset temperature.
  • the working state of the first camera is the first working sub state; when the first camera is in the low power state or is turned off, the working state of the first camera is the second working state; the camera application When the program runs in the first running mode, the first camera needs to work correspondingly in the second working substate.
  • Step 501 The terminal turns on the first camera and the second camera.
  • the terminal may turn on the first camera and the second camera after receiving an instruction from the user to open the camera application. It should be noted that the user can instruct the terminal to exit the camera application at any time. In the embodiment of the present application, it is only an example to determine whether to exit the camera application in step 505. For other cases, reference may be made to the description herein. Narration.
  • Step 502 The terminal determines whether the first camera is allowed to work in the second working state, and if yes, proceeds to step 503, otherwise proceeds to step 502.
  • the camera application runs in the shooting video mode, so the first camera is allowed to work in the second working state.
  • Step 503 The terminal determines whether the working duration of the first camera is greater than the first preset duration and whether the temperature of the preset region in the terminal is greater than the first preset temperature. If yes, go to step 504, otherwise go to Step 503.
  • the terminal may start a timer when the first camera and the second camera are started, and the alarm is started when the duration of the timer is the first preset duration.
  • step 502 may be performed after the step 503, that is, whether the working duration after the first camera is turned on is greater than the first preset duration and the terminal is Whether the temperature of the preset area is greater than the first preset temperature, if the above conditions are all, then determining whether the first camera is allowed to work in the second working state, and when determining whether the first camera is allowed to work in the second working state, then Go to step 504.
  • the terminal can clear the timer; of course, when the process goes to step 504, the terminal may not clear the timer until the terminal exits the camera application, and the timer is cleared. This example is not limited to this.
  • Step 504 The terminal operates the first camera setting in a second working state.
  • the second operating state is a low power state or a closed state, thereby reducing power consumption of the terminal.
  • Step 505 The terminal determines whether to exit the camera application, and if yes, proceeds to step 508, otherwise proceeds to step 506.
  • step 506 the terminal determines whether the camera application needs to run in the first running mode, and if yes, proceeds to step 507, otherwise proceeds to step 505.
  • the working state of the corresponding first camera is the second working sub state, such as the large aperture state, and the process proceeds to step 507.
  • the camera application is still running in the shooting video mode and proceeds to step 505.
  • Step 507 The terminal sets the first camera setting to work in the second working sub state, and proceeds to step 502.
  • step 502 determines that the first camera is not allowed to operate in the second working state. If the camera application switches from the large aperture mode to the photo mode, and accordingly the first camera switches to the photo state (the third working substate), the step 502 determines that the first camera is allowed to operate in the second working state, thereby executing step 503. . If the camera application switches from the large aperture mode to the photo mode, the first camera is switched to the photo state accordingly, and if there is no user triggering, the first camera can be kept in the photo state for a certain period of time, and after the certain time period is exceeded, the step 502 is triggered. Step 502 determines that the first camera is allowed to operate in the second working state, thereby performing step 503.
  • Step 508 End.
  • the first camera and the second camera are turned off, such as not supplying power to the first camera and the second camera.
  • the working parameters of the terminal may have met the preset condition, so the first camera can directly work in the second state.
  • the terminal is configured with a first camera and a second camera.
  • select the operating mode of the camera application For example, as shown in FIG. 5, it is a schematic diagram of a camera application provided by an embodiment of the present application.
  • the user can select modes such as: panoramic mode, delayed shooting mode, large aperture mode, video mode, and camera mode.
  • the default camera application can work in the photographing mode, at which time the terminal activates the first camera and the second camera. At the same time, the terminal starts the timer and starts timing when the first camera is started.
  • the interior of the terminal is divided into multiple areas, and each area will be arranged with a plurality of temperature sensors, as shown in FIG. 3 .
  • the terminal reads the temperature detected by each temperature sensor in real time and determines the temperature of each zone.
  • the following is a description of the area where the preset area is the first camera and the second camera.
  • the terminal Before setting the first camera to the second working state, the terminal first determines whether the first camera is allowed to work in the second working state.
  • the user can select different operating modes under the camera application, and the camera application itself will determine the algorithm to be called in real time.
  • the terminal determines that the first camera is allowed to work in the second working state, as the timer timing increases, the first camera and the second camera continuously consume power during use, and the terminal may experience heat generation.
  • the temperature in the preset area detected by the terminal also increases.
  • the terminal determines that the timer duration of the timer is the first preset duration and/or the temperature of the preset region is greater than the first preset temperature, it is determined that the first camera needs to be set to a low power state or a closed state.
  • the first preset duration may be 2 minutes, and the first preset temperature may be 51 ° C. Of course, the first preset duration and the first preset temperature may be set according to specific products.
  • the terminal sets the first camera to a low power state or a closed state, it is possible to maintain only the second camera in the running mode, that is, the mode in which the image is normally acquired. At this time, the total power consumption of the first camera and the second camera is lowered, and the temperature of the preset area is no longer rising or the rising speed is decreased.
  • the timer may be cleared to wait for the next timing.
  • the terminal may not clear the timer until the terminal exits the camera application, and the timer is cleared. This embodiment of the present application is not limited thereto.
  • the action scheme includes two aspects: one is the mechanism for restarting the first camera.
  • the restart mechanism includes but is not limited to the user selecting the running mode of the camera application in the interface of the camera application, the algorithm of the camera application determines that the first camera needs to be called; on the other hand, the terminal is allowed to trigger again after restarting the first camera.
  • the mechanism for setting the first camera to a low power state or a closed state for example, 30s after the above restart mechanism condition fails (the time threshold of the specific product), "whether the first camera is allowed to work in the second working state” Set to "Yes".
  • the terminal will restart the first camera, and then the user applies the camera.
  • the running mode of the program is set to exit the large aperture mode
  • the timer is started, the timer duration is the second preset duration, and the second preset duration can be 30s.
  • the terminal is not allowed to set the first camera. It is a low power state or a closed state.
  • the terminal allows the first camera to be set to a low power state or a closed state.
  • the embodiment of the present application further provides a terminal, where the terminal can perform the foregoing method embodiments.
  • the terminal 700 can be a device such as a mobile phone.
  • the terminal 700 includes:
  • a camera control unit 701 configured to turn on the first camera and the second camera; the first camera and the second camera are located on the same side of the terminal, and the first camera operates in a first working state;
  • the working parameter determining unit 702 is configured to determine whether the working parameter of the terminal meets a preset condition
  • the camera control unit 701 is configured to: in the working parameter determining unit 702, determine that the working parameter of the terminal meets a preset condition, and switch the first camera from the first working state to the second working state, where the second working state is low Power state or shutdown state.
  • the camera control unit 701 keeps the first camera operating in the first working state when the working parameter determining unit 702 determines that the working parameter of the terminal does not meet the preset condition.
  • the working parameter includes one or more of the following:
  • the battery voltage of the terminal The battery voltage of the terminal
  • the preset condition includes one or more of the following:
  • the working time after the first camera is turned on is greater than the first preset duration
  • the battery voltage of the terminal is less than a preset voltage
  • the photographing parameter of the first camera is higher than the first preset value, or the photographing parameter of the first camera is lower than the second preset value;
  • the temperature of the preset area in the terminal is greater than the first preset temperature
  • the temperature of the preset area in the terminal is less than the second preset temperature; and the second preset temperature is less than the first preset temperature.
  • the second working state is a low power mode or a closed state.
  • the camera control unit 701 is further configured to:
  • the camera control unit 701 is further configured to:
  • the working state of the first camera is switched to the first working state.
  • the detecting whether the event that triggers the first camera to work in the first working state is specifically:
  • the first operating mode is an operating mode corresponding to the first working state of the first working state
  • the second operating mode is An operating mode that allows the first camera to operate in a second operational state
  • detecting whether there is an event that triggers the first camera to work in the first working state is specifically:
  • the terminal detects whether the user triggers the recording of the image, such as detecting whether the user presses the camera button or the recording button.
  • the division of each unit above is only a division of a logical function, and the actual implementation may be integrated into one physical entity in whole or in part, or may be physically separated.
  • the camera control unit and the working parameter determining unit may be implemented by a processor. As shown in FIG. 8, a structure of a terminal provided by an embodiment of the present application is shown.
  • the terminal may be a terminal device including a mobile phone, a tablet computer, a personal digital assistant (PDA), a point of sales (POS), a car computer, and the like.
  • a terminal as a mobile phone as an example, FIG. 8 is a block diagram showing a partial structure of a mobile phone 800 related to a terminal provided by an embodiment of the present application.
  • the mobile phone 800 includes a radio frequency (RF) circuit 810 , a memory 820 , an input unit 830 , a display unit 840 , a sensor 850 , an audio circuit 860 , a wireless fidelity (WiFi) module 870 , and a processor 880 .
  • RF radio frequency
  • FIG. 8 the structure of the mobile phone shown in FIG. 8 is only an example of implementation, and does not constitute a limitation on the mobile phone, and may include more or less components than the illustrated ones, or combine some components, or Different parts are arranged.
  • the components of the mobile phone 800 will be specifically described below with reference to FIG. 8:
  • the RF circuit 810 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 880. In addition, the uplink data is designed to be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuitry 810 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code). Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General
  • the memory 820 can be used to store software programs and modules, and the processor 880 executes various functional applications and data processing of the mobile phone 800 by running software programs and modules stored in the memory 820.
  • the memory 820 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Mobile phone 800 Use the created data (such as audio data, phone book, etc.).
  • memory 820 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 input unit 830 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 800.
  • the input unit 830 may include a touch panel 831 and other input devices 832.
  • the touch panel 831 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 831 or near the touch panel 831. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 831 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 880 is provided and can receive commands from the processor 880 and execute them.
  • the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 830 may also include other input devices 832.
  • other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 840 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 800.
  • the display unit 840 can include a display panel 841.
  • the display panel 841 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 831 can cover the display panel 841. When the touch panel 831 detects a touch operation thereon or nearby, the touch panel 831 transmits to the processor 880 to determine the type of the touch event, and then the processor 880 according to the touch event. The type provides a corresponding visual output on display panel 841.
  • the touch panel 831 and the display panel 841 are two independent components to implement the input and input functions of the mobile phone 800, in some embodiments, the touch panel 831 can be integrated with the display panel 841. The input and output functions of the mobile phone 800 are implemented.
  • the mobile phone 800 can also include at least two cameras, and the camera 851 and the camera 852 are disposed on the same side of the mobile phone, such as the back of the mobile phone 800, for capturing images.
  • the front side of the mobile phone 800 can also be provided with a camera.
  • Sensors 850 such as light sensors, motion sensors, and other sensors.
  • An audio circuit 860, a speaker 861, and a microphone 862 can provide an audio interface between the user and the handset 800.
  • the audio circuit 860 can transmit the converted electrical data of the received audio data to the speaker 861 for conversion to the sound signal output by the speaker 861; on the other hand, the microphone 862 converts the collected sound signal into an electrical signal by the audio circuit 860. After receiving, it is converted into audio data, and then processed by the audio data output processor 880, sent to the other mobile phone via the RF circuit 810, or outputted to the memory 820 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone 800 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 870, which provides wireless broadband Internet access for users.
  • FIG. 8 shows the WiFi module 870, it can be understood that it does not belong to the essential configuration of the mobile phone 800, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 880 is the control center of the handset 800, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 820, and recalling data stored in the memory 820,
  • the mobile phone 800 performs various functions and processing data to perform overall monitoring of the mobile phone.
  • the processor 880 may include one or more processing units; optionally, the processor 880 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc., modem processor master To handle wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 880.
  • the mobile phone 800 also includes a power supply 890 (such as a battery) for supplying power to various components.
  • a power supply 890 such as a battery
  • the power supply can be logically connected to the processor 880 through a power management system to manage functions such as charging, discharging, and power management through the power management system. .
  • the handset 800 can also include at least one sensor 850, such as a temperature sensor or the like, for detecting temperature.
  • at least one sensor 850 such as a temperature sensor or the like, for detecting temperature.
  • the mobile phone 800 may further include a Bluetooth module or the like, and details are not described herein again.
  • the processor 880 can control the cameras 851 and 852 by running a software program stored in the memory 820.
  • the control process can call a temperature sensor or the like. For details, refer to the method embodiment of the present application.
  • the mobile phone is equipped with dual Cameras (A and B), in which A is the primary Camera and B is the secondary Camera.
  • A is the primary Camera
  • B is the secondary Camera.
  • the interface starts to preview.
  • the mobile phone will open both Cameras A and B at the same time.
  • the power consumption of the mobile phone is X1 value; and when the user opens the camera application interface, the mobile phone starts timing t, and this t value will be cleared when the user exits the camera interface.
  • NTC1, NTC2...NTCn multiple temperature monitoring points
  • the mobile phone will read the values of each NTC in real time. When the NTC value reaches the set threshold Tm, it will respond accordingly. Actions.
  • the user can select different functional modes under the camera application, and the application itself can intelligently determine the algorithm to be called in real time.
  • These functions and algorithms have different requirements for the number of cameras, which affects the local machine. The limit on the number of cameras. Therefore, under the camera application, the function mode, algorithm, and power consumption control scheme are prioritized, and the mobile phone judges in real time whether to "turn off the sub-Camera-B" scheme.
  • the value of the timing t and the value of each NTC are changing; after the application determines "whether it is allowed to turn off the secondary Camera-B” to “yes”, when the "time t value reaches 2 min ( When the specific product time threshold) or / and “specify the NTCi temperature value reaches 51 ° C (specific product set threshold)", the phone will make the “close the Deputy Camera-B” action, then the phone will only maintain The main Camera-A is turned on, and subsequent functions such as previewing according to its data are processed, and the power consumption value becomes X2.
  • the action scheme includes two aspects: one is to restart the mechanism of the secondary Camera-B, and the restart mechanism Including but not limited to the user's function selection operation on the mobile phone interface, the algorithm of the camera application determines that the secondary camera needs to be called; on the other hand, after restarting the secondary Camera-B, the mobile phone allows the mechanism of "turning off the secondary Camera-B” action again. For example, after 30s of the above-mentioned restart mechanism condition is invalid (the time threshold of the specific product), "whether or not to enable 'turn off the secondary Camera-B'" is set to "yes".
  • the mobile phone is equipped with dual Cameras (A and B), in which A is the primary Camera and B is the secondary Camera.
  • A is the primary Camera
  • B is the secondary Camera.
  • the interface starts to preview.
  • the mobile phone will open both Cameras A and B at the same time.
  • the power consumption of the mobile phone is X1 value.
  • NTC1, NTC2...NTCn multiple temperature monitoring points
  • the mobile phone will read the values of each NTC in real time; at the same time, the mobile phone monitors the current battery related status parameters in real time (for example, Battery voltage V).
  • the mobile phone may make corresponding action.
  • the user can select different functional modes under the camera application, and the application itself can intelligently determine the algorithm to be called in real time.
  • These functions and algorithms have different requirements for the number of cameras, which affects the local machine. The limit on the number of cameras. Therefore, under the camera application, the function mode, algorithm, and power consumption control scheme are prioritized, and the mobile phone judges in real time whether to "turn off the sub-Camera-B" scheme.
  • the mobile phone monitors the values of each NTC value and battery parameter V in real time; after the application determines whether "Allow 'Close Camera-B'" is “Yes”, when "NTC temperature is lower than Y1 (specific product When the battery voltage V is lower than Y2 (the set threshold of the specific product), the mobile phone will make the action of "turn off the secondary Camera-B", then the mobile phone will only open the main Camera-A, and According to the subsequent processing such as previewing the data, the power consumption value becomes X2.
  • the action scheme includes two aspects: one is to restart the mechanism of the secondary Camera-B, and the restart mechanism Including but not limited to the user's function selection operation on the mobile phone interface, the algorithm of the camera application determines that the secondary camera needs to be called; on the other hand, after restarting the secondary Camera-B, the mobile phone allows the mechanism of "turning off the secondary Camera-B” action again. For example, after 30s of the above-mentioned restart mechanism condition is invalid (the time threshold of the specific product), "whether or not to enable 'turn off the secondary Camera-B'" is set to "yes".
  • FIG. 9 is a schematic flowchart diagram of a camera control method according to an embodiment of the present application.
  • NTC Physical component temperature sensor
  • FIG. 9 is a schematic flowchart diagram of a camera control method according to an embodiment of the present application.
  • the mobile phone is equipped with dual Cameras (A and B), in which A is the primary Camera and B is the secondary Camera.
  • A is the primary Camera
  • B is the secondary Camera.
  • the interface starts to preview.
  • the mobile phone will open both Cameras A and B at the same time.
  • the power consumption of the mobile phone is X1 value; and when the user opens the camera application interface, the mobile phone starts timing t, and this t value will be cleared when the user exits the camera interface.
  • NTC1, NTC2...NTCn multiple temperature monitoring points
  • the mobile phone will read the values of each NTC in real time and output a temperature parameter NTCi (for example, NTCi is the selected NTC value, or the average of n NTCs.)
  • NTCi is the selected NTC value, or the average of n NTCs.
  • the user can select different functional modes under the camera application, and the application itself can intelligently determine the algorithm to be called in real time.
  • These functions and algorithms have different requirements for the number of cameras, which affects the local machine. The limit on the number of cameras. Therefore, under the camera application, the function mode, algorithm, and power consumption control scheme are prioritized, and the mobile phone judges in real time whether to "turn off the sub-Camera-B" scheme. For example, when the user selects the "large aperture” mode or clicks the "photograph” button, the mobile phone does not allow the "close the secondary Camera-B” scheme.
  • the value of the timing t and the value of the temperature parameter NTCi are changing; after the application determines "whether it is allowed to turn off the secondary Camera-B" to "yes", when the "time t value reaches tm"
  • the mobile phone will make the action of “turn off the secondary Camera-B”.
  • the mobile phone will only maintain the main Camera-A on, and perform subsequent functions such as previewing according to its data, and the power consumption value becomes X2.
  • the action scheme includes two aspects: one is to re-open the mechanism of the secondary Camera-B, and the restart mechanism includes but is not limited to the user's function selection operation on the mobile phone interface, and the algorithm of the camera application determines that the secondary camera needs to be called; After restarting the secondary Camera-B, the mobile phone is allowed to trigger the mechanism of "turn off the secondary Camera-B" action again, for example, after 30s of the above-mentioned restart mechanism condition is invalid (the time threshold of the specific product), "Is it allowed to close the secondary Camera-B?" '' is set to "yes".
  • the dual Camera operation is changed to a single Camera operation, which can greatly reduce the real-time power consumption of the camera scene and reduce the scene.
  • the dual Camera is changed to the single Camera operation according to the threshold determination, which can greatly reduce the power consumption and heat generation risk of the whole machine compared with the prior art.
  • the threshold value can be set according to product requirements, and the product can be guaranteed to open multiple cameras and achieve related performance during the time period.
  • FIG. 10 is a schematic flowchart diagram of a camera control method according to an embodiment of the present application.
  • the mobile phone is equipped with dual Cameras (A and B), in which A is the primary Camera and B is the secondary Camera.
  • A is the primary Camera
  • B is the secondary Camera.
  • the interface starts to preview.
  • the mobile phone will open both Cameras A and B at the same time.
  • the power consumption of the mobile phone is X1 value.
  • NTC1, NTC2...NTCn multiple temperature monitoring points
  • the mobile phone will read the values of each NTC in real time and output a temperature parameter NTCi (for example, NTCi is a selected NTC value, or an average of n NTCs).
  • NTCi is a selected NTC value, or an average of n NTCs.
  • the mobile phone monitors current battery related status parameters (eg, battery voltage V) in real time.
  • the mobile phone may make corresponding action.
  • the user can select different functional modes under the camera application, and the application itself can intelligently determine the algorithm to be called in real time.
  • These functions and algorithms have different requirements for the number of cameras, which affects the local machine. The limit on the number of cameras. Therefore, under the camera application, the function mode, algorithm, and power consumption control scheme are prioritized, and the mobile phone judges in real time whether to "turn off the sub-Camera-B" scheme. For example, when the user selects the "large aperture” mode or clicks the "photograph” button, the mobile phone does not allow the "close the secondary Camera-B” scheme.
  • the mobile phone monitors the values of each NTC value and battery parameter V in real time; after the application determines "whether to allow 'turn off the secondary Camera-B'" to "yes", when the value of the temperature parameter NTCi is lower than Y1 (The time threshold of the specific product)" and “The battery voltage V is lower than Y2 (the set threshold of the specific product)", the mobile phone will make the action of "turn off the secondary Camera-B", then the mobile phone will only open the main Camera- A, and according to its data for preview and other subsequent function processing, the power consumption value becomes X2.
  • the action scheme includes two aspects: one is to restart the mechanism of the secondary Camera-B, and the restart mechanism Including but not limited to the user's function selection operation on the mobile phone interface, the algorithm of the camera application determines that the secondary camera needs to be called; on the other hand, after restarting the secondary Camera-B, the mobile phone allows the mechanism of "turning off the secondary Camera-B” action again. For example, after 30s of the above-mentioned restart mechanism condition is invalid (the time threshold of the specific product), "whether or not to enable 'turn off the secondary Camera-B'" is set to "yes".
  • the multi-camera scene has a high power consumption countermeasure blank, which can greatly reduce the load and current of the Camera scene under this condition, thereby reducing the probability of high load and large current shutdown in the Camera scene under this condition.
  • the dual Camera operation is changed to a single Camera operation, which can greatly reduce the real-time power consumption of the camera scene and reduce the scene.
  • this solution fills in the blank of high-power countermeasures for multi-camera scenes in low-temperature and low-power scenarios, which can greatly reduce the load and current of Camera scene under this condition, thereby reducing the high load and high current of Camera scene under such conditions. The probability of shutting down.
  • the solution supports the power control scheme and the application mode, the priority judgment of the algorithm, and can flexibly set whether to allow the power control scheme to be enabled, and whether the secondary Camera-B needs to be restarted.
  • the dual Camera switch to a single Camera action also can be m Camera switched to n Camera work action, m> n
  • condition determination the temperature, Time and battery parameters are included in the judgment basis.
  • each device embodiment may refer to related methods in the related method embodiments. Partial understanding.

Abstract

一种摄像头控制方法及终端。其中方法包括:终端开启第一摄像头和第二摄像头;所述第一摄像头和所述第二摄像头位于所述终端的同一侧,所述第一摄像头工作在第一工作状态;当所述终端的工作参数满足预设条件,将所述第一摄像头由第一工作状态切换为第二工作状态,所述第二工作状态为低功耗状态或关闭状态。

Description

一种摄像头控制方法及终端
本申请要求在2016年12月24日提交国知局、申请号为201611210208.1、发明名称为“一种终端控制摄像头的方法和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端设备领域,特别涉及一种摄像头控制方法及终端。
背景技术
智能终端凭借其丰富的功能、时尚的外观与便携的特性在人们的日常生活中扮演非常重要的角色。其中,拍照功能更是深受消费者青睐,各大终端主流厂商几乎都会将拍照功能作为主打卖点而大力宣传。然而,终端在拍照时,需要调用多个物理芯片完成成像,成像质量越高,需要消耗的功耗越大,因此终端在拍照时,终端功耗会很高,从而导致终端温度过高。目前,很多终端厂商都陆续发布了双摄像头(camera)配置的终端。双摄像头配置的终端在拍照时,功耗进一步增大。同时,当终端处于低电量时,经常发生双摄像头在工作时,产生低温低电量拍照关机的事件。
现有的过热保护技术方案主要包括:终端在拍照时,当检测温度超过预设的温度门限后,降低摄像头的图像帧率,从而达到降低负载、功耗与终端温度的效果。
当前双摄像头场景下,采用现有的过热保护技术方案时,降低帧率的仅仅能降低一部分功耗,对双摄像头场景的发热问题无法起到显著改善的作用。同时,降帧后的预览显示刷新率有明显降低,在拍摄移动的画面时,因为画面的景物在快速变化,降帧后会影响动态画面的直观体验、带来画面卡顿的体验风险。同时,双摄像头在工作时,会产生大电流,导致终端内的芯片由于低温低电压而自动关机,该问题尚无好的解决方案。
为此,需要提供一种摄像头控制方法,以降低多个摄像头在工作时,产生的功耗对终端性能的影响。
发明内容
本申请实施例实施方式的目的在于提供一种摄像头控制方法及终端,用以实现在多摄像头场景下,降低摄像头产生的功耗。
本申请实施例提供一种摄像头控制方法,包括:
终端开启第一摄像头和第二摄像头;所述第一摄像头和所述第二摄像头位于所述终端的同一侧,所述第一摄像头工作在第一工作状态;
当所述终端的工作参数满足预设条件,将所述第一摄像头由第一工作状态切换为第二工作状态,所述第二工作状态为低功耗状态或关闭状态。
根据上述方法,终端在确定工作参数满足预设条件将第一摄像头由第一工作状态切换为第二工作状态,由于第二工作状态为低功耗状态或关闭状态,因此会减低第一摄像头和第二摄像头的总功耗,从而降低手机的温度,实现在多摄像头场景下,降低摄像头产生的 功耗的目的。
可选的,所述工作参数包括以下一项或多项:
所述第一摄像头开启后的工作时长;
所述终端的电池电压;
所述第一摄像头的拍照参数;
所述终端内预设区域的温度;
所述预设条件包括以下一项或多项:
所述第一摄像头开启后的工作时长大于第一预设时长;
所述终端的电池电压小于预设电压;
所述第一摄像头的拍照参数高于第一预设值,或所述第一摄像头的拍照参数低于第二预设值;
所述终端内预设区域的温度大于第一预设温度;
所述终端内预设区域的温度小于第二预设温度;所述第二预设温度小于所述第一预设温度。
可选的,所述将所述第一摄像头由第一工作状态切换为第二工作状态之前,还包括:
所述终端确定所述第一摄像头允许工作在所述第二工作状态。
可选的,所述终端将所述第一摄像头当前工作的第一工作状态设置为第二工作状态之后,还包括:
所述终端检测是否有触发第一摄像头工作在第一工作状态的事件;
当检测到触发第一摄像头工作在第一工作状态的事件,将所述第一摄像头的工作状态切换为第一工作状态。
可选的,所述终端检测是否有触发第一摄像头工作在第一工作状态的事件,包括:
所述终端检测摄像头应用程序的运行模式是否从第二运行模式切换到第一运行模式,所述第一运行模式为不允许所述第一摄像头工作在第二工作状态的运行模式,所述第二运行模式为允许所述第一摄像头工作在第二工作状态的运行模式。
可选的,所述终端检测是否有触发第一摄像头工作在第一工作状态的事件,包括:
所述终端检测用户是否触发记录图像。
本申请实施例提供一种终端,包括:
工作参数判断单元,用于确定所述终端的工作参数是否满足预设条件,
摄像头控制单元,用于开启第一摄像头和第二摄像头;所述第一摄像头和所述第二摄像头位于所述终端的同一侧,所述第一摄像头工作在第一工作状态;当工作参数判断单元确定所述终端的工作参数满足预设条件,将所述第一摄像头由第一工作状态切换为第二工作状态,所述第二工作状态为低功耗状态或关闭状态。
可选的,所述工作参数包括以下一项或多项:
所述第一摄像头开启后的工作时长;
所述终端的电池电压;
所述第一摄像头的拍照参数;
所述终端内预设区域的温度;
所述预设条件包括以下一项或多项:
所述第一摄像头开启后的工作时长大于第一预设时长;
所述终端的电池电压小于预设电压;
所述第一摄像头的拍照参数高于第一预设值,或所述第一摄像头的拍照参数低于第二预设值;
所述终端内预设区域的温度大于第一预设温度;
所述终端内预设区域的温度小于第二预设温度;所述第二预设温度小于所述第一预设温度。
可选的,所述摄像头控制单元还用于在将所述第一摄像头由第一工作状态切换为第二工作状态之前,确定所述第一摄像头允许工作在所述第二工作状态,当第一摄像头允许工作在第二工作状态时,将第一摄像头从所述第一工作状态切换到第二工作状态。
可选的,所述将所述第一摄像头由第一工作状态切换为第二工作状态之后,所述摄像头控制单元还用于:
检测是否有触发第一摄像头工作在第一工作状态的事件;
当检测到触发第一摄像头工作在第一工作状态的事件,将所述第一摄像头的工作状态切换为第一工作状态。
可选的,所述检测是否有触发第一摄像头工作在第一工作状态的事件为:
检测摄像头应用程序的运行模式是否从第二运行模式切换到第一运行模式,所述第一运行模式为不允许所述第一摄像头工作在第二工作状态的运行模式,所述第二运行模式为允许所述第一摄像头工作在第二工作状态的运行模式。
可选的,所述检测是否有触发第一摄像头工作在第一工作状态的事件为:
所述终端检测用户是否触发记录图像。
本申请实施例提供一种终端,包括:
第一摄像头、第二摄像头;
存储器用于存储程序指令;
处理器,用于执行所述程序指令,执行以下步骤:
开启所述第一摄像头和所述第二摄像头;所述第一摄像头和所述第二摄像头位于所述终端的同一侧,所述第一摄像头工作在第一工作状态;
当所述终端的工作参数满足预设条件,将所述第一摄像头由第一工作状态切换为第二工作状态,所述第二工作状态为低功耗状态或关闭状态。
可选的,所述工作参数包括以下一项或多项:
所述第一摄像头开启后的工作时长;
所述终端的电池电压;
所述第一摄像头的拍照参数;
所述终端内预设区域的温度;
所述预设条件包括以下一项或多项:
所述第一摄像头开启后的工作时长大于第一预设时长;
所述终端的电池电压小于预设电压;
所述第一摄像头的拍照参数高于第一预设值,或所述第一摄像头的拍照参数低于第二预设值;
所述终端内预设区域的温度大于第一预设温度;
所述终端内预设区域的温度小于第二预设温度;所述第二预设温度小于所述第一预设温度。
可选的,所述处理器将所述第一摄像头由第一工作状态切换为第二工作状态之前,还包括:
确定所述第一摄像头允许工作在所述第二工作状态。
可选的,所述处理器将所述第一摄像头当前工作的第一工作状态设置为第二工作状态之后,还包括:检测是否有触发第一摄像头工作在第一工作状态的事件;
当检测到触发第一摄像头工作在第一工作状态的事件,将所述第一摄像头的工作状态切换为第一工作状态。
可选的,所述处理器检测是否有触发第一摄像头工作在第一工作状态的事件,包括:
检测摄像头应用程序的运行模式是否从第二运行模式切换到第一运行模式,所述第一运行模式为所述第一摄像头工作在第一工作状态对应的运行模式,所述第二运行模式为允许所述第一摄像头工作在第二工作状态的运行模式。
可选的,所述终端检测是否有触发第一摄像头工作在第一工作状态的事件,包括:
检测用户是否触发记录图像。
本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
附图说明
图1为本申请实施例提供的一种摄像头控制方法流程示意图;
图2示意出了一种第一摄像头与第二摄像头位置示意图;
图3为本申请实施例提供的一种区域划分示意图;
图4为本申请实施例提供的一种摄像头控制方法流程示意图;
图5为本申请实施例提供的一种摄像头控制方法流程示意图;
图6为本申请实施例提供的一种摄像头应用程序示意图
图7为本申请实施例提供的一种终端结构示意图;
图8为本申请实施例提供的一种终端结构示意图;
图9为本申请实施例提供的一种摄像头控制方法流程示意图;
图10为本申请实施例提供的一种摄像头控制方法流程示意图。
具体实施方式
下面将结合附图对本申请实施例作进一步地详细描述。
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应当理解,尽管在本申请实施例中可能采用术语第一、第二、第三等来描述各种消息、 请求和终端,但这些消息、请求和终端不应限于这些术语。这些术语仅用来将消息、请求和终端彼此区分开。例如,在不脱离本申请实施例范围的情况下,第一终端也可以被称为第二终端,类似地,第二终端也可以被称为第一终端。
取决于语境,如在此所使用的词语“如果”或“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。
本申请实施例中,终端,又称之为用户设备(User Equipment,UE),是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。常见的终端例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,例如智能手表、智能手环、计步器等。
结合上述描述,如图1所示,为本申请实施例提供的一种摄像头控制方法流程示意图。
参见图1,该方法包括:
步骤101:终端开启第一摄像头和第二摄像头;所述第一摄像头和所述第二摄像头位于所述终端的同一侧,所述第一摄像头工作在第一工作状态。
需要说明的是,本申请实施例中,终端可能包括至少两个摄像头。终端包括至少两个摄像头时,第一摄像头和第二摄像头可以为所述至少两个摄像头中的任意两个摄像头,所述至少两个摄像头中的每个摄像头都可以适用于本申请实施例提供的摄像头控制方法,下面仅以第一摄像头和第二摄像头为例进行描述,其他情况不再赘述。
第一摄像头工作在第一工作状态,所述第一工作状态可以为使得所述第一摄像头能够实现图像采集的工作状态,可以称为正常工作状态。
步骤102:当所述终端的工作参数满足预设条件,将所述第一摄像头由第一工作状态切换为第二工作状态,所述第二工作状态为低功耗状态或关闭状态。
第一摄像头处于在第二工作状态时的功耗小于处于第一工作状态时的功耗。
步骤101中,所述第一摄像头与所述第二摄像头可以为相同配置的摄像头,也可以为不同配置的摄像头。例如,第一摄像头可以包括记录明暗的黑白传感器,采集黑白图像;第二摄像头可以包括彩色传感器,采集彩色图像。终端可以对所述第一摄像头采集到的图像信号与所述第二摄像头采集到的图像信号合成处理,实现光学变焦、暗光补偿、3D拍摄、3D建模等功能。结合上面的描述,第一摄像头采集黑白图像、第二摄像头采集彩色图像时,终端可以对黑白图像和彩色图像进行合成,最终产生一张清晰度高,色彩还原逼真的图像。
所述第一摄像头与所述第二摄像头位于所述终端的同一侧,所述第一摄像头与所述第二摄像头之间的距离为预设距离。图2示意出了一种第一摄像头与第二摄像头位置示意图。
步骤102中,终端中可以存在控制第一摄像头以及第二摄像头工作的摄像头应用程序,用户通过摄像头应用程序控制第一摄像头以及第二摄像头采集图像。
本申请实施例中,摄像头应用程序可以为终端中控制第一摄像头以及第二摄像头采集图像的程序,可以为终端出厂时自带的程序,也可以为下载安装的程序。
摄像头应用程序可以有多种运行模式,例如,大光圈模式、全景模式、拍摄视频模式、延时拍照模式、照片模式等。摄像头应用程序设置在不同运行模式时,第一摄像头以及第二摄像头采集图像所需的功耗不同,需要的摄像头数量也不同。例如,在大光圈模 式下,摄像头应用程序需要第一摄像头以及第二摄像头同时采集图像;例如,照片模式下,摄像头应用程序可以只由需要第二摄像头采集图像,此时第一摄像头处于低功耗状态或关闭状态。
摄像头应用程序的运行模式可以包括第一运行模式和第二运行模式,第一运行模式为需要第一摄像头工作在第一工作状态的运行模式,如大光圈模式等;第二运行模式为允许第一摄像头工作在第二工作状态的运行模式,如照片模式、拍摄视频模式等。不同的终端或摄像头应用程序可能会设置不同的第一运行模式和第二运行模式,比如照片模式为第一运行模式,本发明的实施例对此不作限定。
第一工作状态可以为,终端中的摄像头应用程序工作在上面描述的任意一种运行模式时,第一摄像头工作的工作状态。当然,第一工作状态还可以为其他工作状态,在此不再逐一举例说明。
本申请实施例中,所述第二工作状态可以为低功耗模式或关闭状态等工作状态。其中,所述第一摄像头工作在低功耗模式时,可以是处于休眠状态,功耗很小。举例来说,摄像头应用程序在照片模式下,所述第一摄像头处于第一工作状态,工作时的工作电流为100mA,所述第一摄像头工作在低功耗模式时的工作电流可以为4mA。所述第一摄像头工作在关闭状态时,功耗可以为0或无限接近于0。第一摄像头处于第二工作状态时,可以不采集图像。
本申请实施例中,摄像头可以由镜头、马达系统、成像芯片等部分组成,其中马达系统、成像芯片是摄像头功耗的主要来源。针对第一摄像头,所述第一摄像头工作在低功耗模式可以是指,第一摄像头的镜头、第一摄像头的马达系统、第一摄像头的成像芯片中的一种或多种处于低功耗模式,如休眠状态;相应的,所述第一摄像头工作在关闭状态可以是指,第一摄像头的镜头、第一摄像头的马达系统、第一摄像头的成像芯片中的一种或多种处于关闭状态。
本申请实施例中,所述终端的工作参数可以包括以下一项或多项:终端的第一摄像头开启后的工作时长;终端的电池电压;所述第一摄像头的拍照参数;终端内预设区域的温度。相应的,所述预设条件可以包括但不限于以下一项或多项:
所述第一摄像头开启后的工作时长大于第一预设时长;
所述终端的电池电压小于预设电压;
所述终端的电池电量小于预设电量;
所述第一摄像头的拍照参数高于第一预设值,或所述第一摄像头的拍照参数低于第二预设值;拍照参数值可以为摄像头的曝光参数、画面ISO值等参数。
所述终端内预设区域的温度大于第一预设温度;
所述终端内预设区域的温度小于第二预设温度;所述第二预设温度小于所述第一预设温度。
举例来说,所述终端若确定所述第一摄像头开启后的工作时长大于第一预设时长,且所述终端内预设区域的温度大于第一预设温度,则可以确定所述终端的工作参数满足预设条件。
再举例来说,所述终端若确定所述终端内预设区域的温度小于第二预设温度,且所述终端的电池电压小于预设电压,则可以确定所述终端的工作参数满足预设条件。
可选的,所述终端的工作参数还可以为所述第一摄像头和所述第二摄像头的总功耗, 此时所述预设条件可以为:所述第一摄像头和所述第二摄像头的总功耗大于功耗阈值。所述终端可以直接确定所述第一摄像头和所述第二摄像头的总功耗。具体的,终端获取所述第一摄像头的工作电压和工作电流,以及获取所述第二摄像头的工作电压和工作电流,从而分别计算出所述第一摄像头的功耗和所述第二摄像头的功耗,从而可以确定所述第一摄像头和所述第二摄像头的总功耗。
当然,以上只是示例,所述预设条件还可以有其他组合形式,在此不再逐一举例说明。
需要说明的是,本申请实施例中,终端可以通过电池、电源管理芯片、库仑计等模块的反馈信号,确定电池电压。当然终端也可以通过其他方式确定电池电压,本申请实施例对此并不限定。
本申请实施例中,可以将终端内部划分为多个区域,每个区域内可以布置有至少一个温度传感器,终端可以实时读取每个温度传感器测得的温度,从而确定每个区域的温度。例如,如图3所示,为本申请实施例提供的一种区域划分示意图。图3中,终端划分为区域1至区域8,共8个区域。每个区域中布置有至少一个温度传感器,终端可以通过温度传感器确定每个区域的温度。
本申请实施例中,所述预设区域可以为终端内部任意一个区域,具体可以根据实际情况确定。终端可以将从所述预设区域内的所有温度传感器中读取到的最大温度,作为所述预设区域的温度,也可以将所述预设区域内的所有温度传感器测得的温度取均值,并将均值作为所述预设区域的温度。可选的,预设区域的温度还可以为所述终端中多个区域的温度经过加权运算后的平均值,例如,结合图3,终端将终端中区域1的温度至区域8的温度取均值,并将区域1的温度至区域8的温度的均值作为所述预设区域的温度。
当然,还可以通过其他方式确定预设区域的温度,在此不再赘述。
可选的,所述预设区域为所述第一摄像头和/或所述第二摄像头所处的区域。
需要说明的是,本申请实施例对终端内部的温度传感器的类型并不限定,例如可以为负温度系数(Negative temperature coefficient,NTC)温度传感器。
可选的,所述终端确定所述终端的工作参数满足预设条件之前,还需要确定所述第一摄像头是否允许工作在所述第二工作状态。具体的,所述终端若确定所述第一摄像头允许工作在所述第二工作状态,则执行步骤102;所述终端若确定所述第一摄像头不允许工作在所述第二工作状态,则保持所述第一摄像头工作在第一工作状态。
需要说明的是,终端如何确定所述第一摄像头是否允许工作在所述第二工作状态,本申请实施例并不限定。举例来说,用户可以通过软件设置第一摄像头是否允许工作在所述第二工作状态,例如用户通过摄像头应用程序设置第一摄像头是否允许工作在所述第二工作状态。若终端确定所述第一摄像头被设置为允许工作在所述第二工作状态,则确定所述第一摄像头允许工作在所述第二工作状态。
再举例来说,终端可以通过判断摄像头应用程序当前的运行模式是否为预设模式,若是预设模式,则确定所述第一摄像头不允许工作在第二工作状态。例如预设模式为大光圈模式,终端若确定摄像头应用程序当前工作在大光圈模式,则可以确定所述第一摄像头不允许工作在第二工作状态。
当然,以上只是示例,终端还可以通过其他方式确定所述第一摄像头是否允许工作在所述第二工作状态,在此不再逐一举例说明。
所述终端将所述第一摄像头当前工作的第一工作状态设置为第二工作状态之后,可以 保持第二摄像头的工作状态不变,由于第一摄像头的所述第二工作状态的功耗小于所述第一工作状态的功耗,因此可以降低所述第一摄像头的功耗,从而降低所述第一摄像头和所述第二摄像头的总功耗。
进一步的,所述终端将所述第一摄像头设置工作在第二工作状态之后,还可以根据需要,设置所述第一摄像头工作在第一工作状态,通过第一摄像头采集图像。具体的,用户将终端中的摄像头应用程序的运行模式设置为第一运行模式,其中,运行在第一运行模式的摄像头应用程序需要使用工作在第一工作状态的第一摄像头采集图像,第一运行模式可以为大光圈模式等。此时,终端确定所述终端中摄像头应用程序需要工作在第一运行模式时,可以确定所述第一摄像头需要工作在第一工作状态。
下面将结合具体的实施例描述前面的过程。
如图4所示,为本申请实施例提供的一种摄像头控制方法流程示意图。
步骤401:终端开启第一摄像头和第二摄像头。
终端可以在接收到用户开启摄像头应用程序的指令之后,开启第一摄像头和第二摄像头,摄像头应用程序的运行模式可以为大光圈模式、全景模式、拍摄视频模式、延时拍照模式、照片模式中的任意一种,第一摄像头工作于第一工作状态,第一摄像头工作于第一工作状态时可以采集图像。需要说明的是,用户任意一个时刻都可以指示终端退出摄像头应用程序,本申请实施例中,在步骤405中判断是否退出摄像头应用程序只是示例,其他情况可以参考此处的描述,在此不再赘述。
步骤402:终端判断所述第一摄像头是否允许工作在第二工作状态,若是则转至步骤403,否则转至步骤402。
第二工作状态可以是休眠状态或关闭状态。举例来说,摄像头应用程序的运行模式为大光圈运行模式时,需要第一摄像头和第二摄像头同时采集图像,此时不允许第一摄像头工作在第二工作状态;摄像头应用程序的运行模式为照片模式时,可以由第二摄像头单独执行拍照,所以此时允许第一摄像头工作在第二工作状态。
步骤403:终端判断终端的工作参数是否符合预设条件,若是则转至步骤404,否则转至步骤403。
本申请实施例对步骤402以及步骤403的执行顺序并不限定,步骤402也可以在步骤403之后执行,即先判断终端的工作参数是否符合预设条件,当符合预设条件时,再判断第一摄像头是否允许工作在第二工作状态,当确定第一摄像头否允许工作在第二工作状态,则转至步骤404。
终端的工作参数可以考虑第一摄像头开启后的工作时长以及终端内预设区域的温度;预设条件为第一摄像头开启后的工作时长大于第一预设时长且终端内预设区域的温度大于第一预设温度。
终端的工作参数也可以考虑电池电压或电量;预设条件为电池电压低于预设电压或电池电量低于预设电量。
终端可以在启动第一摄像头和第二摄像头时,启动计时器,计时器计时的时长为第一预设时长时,启动告警。
在转至步骤404时,终端可以将计时器清零;当然,在转至步骤404时,终端也可以不将计时器清零,直到终端退出摄像头应用程序时将计时器清零,本申请实施例对此并不限定。
终端如何确定预设区域的温度,可以参考前面的描述,在此不再赘述。
步骤404:所述终端将所述第一摄像头设置工作在第二工作状态。
第二工作状态可以为低功耗状态或关闭状态,从而降低终端的功耗。
步骤405:所述终端判断是否退出摄像头应用程序,若是则转至步骤408,否则转至步骤406。
可选的,步骤406:终端判断所述第一摄像头是否需要工作在第一工作状态,若是,则转至步骤407,否则转至步骤405。
当摄像头应用程序的运行模式由第二运行模式切换到第一运行模式时,第一摄像头需要工作在第一工作状态。举例来说,检测到用户选择摄像头应用程序的运行模式切换到大光圈模式时,此时需要第一摄像头和第二摄像头一起采集图像,即终端判断第一摄像头需要工作在第一工作状态。如果检测到用户选择摄像头应用程序的运行模式切换到拍摄视频模式,此时仍可以由第二摄像头单独采集图像,因此终端判断第一摄像头不需要工作在第一工作状态。
可选地,摄像头应用程序的运行模式仍保持在第二运行模式时,检测到用户触发记录图像的操作时,将第一摄像头设置为工作在第一工作状态。举例来说,摄像头应用程序运行在照片模式下,允许第一摄像头工作在第二工作状态,当终端的工作参数满足预设条件时,将第一摄像头的工作状态设置为第二工作状态,当用户按下拍照按钮,此时需要记录图像,即需要完成拍照,产生照片,为了保证照片的质量,可以在用户按下拍照按钮后,将第一摄像头的工作状态切换为第一工作状态,由第一摄像头和第二摄像头一起采集图像,形成照片。
当然,以上只是示例,终端还可以通过其他方式判断第一摄像头是否需要工作在第一工作状态。
步骤407:所述终端将所述第一摄像头设置工作在所述第一工作状态,并转至步骤402。
步骤408:结束。
摄像头应用程序退出运行,则关闭第一摄像头和第二摄像头。
第二摄像头在摄像头应用程序开启后可一直处于采集图像的状态,直至摄像头应用程序退出运行。当然不排除摄像头应用程序在后台运行时,第二摄像头也可关闭或休眠。本申请实施例主要应用于摄像头应用程序开启后,用户使用该摄像头应用程序时。
上述实施例中第一摄像头工作在第一工作状态时,对应的摄像头应用程序可以运行在第一运行模式和第二运行模式中任一种运行模式,并且可以在各种运行模式之间切换。举例来说,第一摄像头工作在第一工作状态时,对应的摄像头应用程序可以运行在大光圈模式,照片模式,延迟拍照模式,拍摄视频模式中的任一种模式,并且可以在这些模式中切换。
第一摄像头工作在第一工作状态时,可以对应摄像头应用程序的运行模式分为第一工作子状态,第二工作子状态,第三工作子状态等。举例来说,第一工作子状态为拍摄视频状态,对应摄像头应用程序的运行模式为拍摄视频模式;第二工作子状态为大光圈状态,对应摄像头应用程序的运行模式为大光圈模式;第三工作子状态为照片状态,对应摄像头应用程序的运行模式为照片模式。
如图5所示,为本申请实施例提供的一种摄像头控制方法流程示意图。本实施例中,第一工作子状态为拍摄视频状态,对应摄像头应用程序的运行模式为拍摄视频模式;第二 工作子状态为大光圈状态,对应摄像头应用程序的运行模式为大光圈模式;第三工作子状态为照片状态,对应摄像头应用程序的运行模式为照片模式。
摄像头应用程序的第一运行模式包括大光圈模式,第二运行模式包括照片模式和拍摄视频模式。
图5所示的流程中,预设条件为第一摄像头开启后的工作时长大于第一预设时长且终端内预设区域的温度大于第一预设温度。
图5中,终端启动第一摄像头时,第一摄像头的工作状态为第一工作子状态;第一摄像头处于低功耗状态或者关闭时,第一摄像头的工作状态为第二工作状态;摄像头应用程序运行在第一运行模式时,第一摄像头需要对应工作在第二工作子状态。
步骤501:终端开启第一摄像头和第二摄像头。
终端可以在接收到用户开启摄像头应用程序的指令之后,开启第一摄像头和第二摄像头。需要说明的是,用户任意一个时刻都可以指示终端退出摄像头应用程序,本申请实施例中,在步骤505中判断是否退出摄像头应用程序只是示例,其他情况可以参考此处的描述,在此不再赘述。
步骤502:终端判断所述第一摄像头是否允许工作在第二工作状态,若是则转至步骤503,否则转至步骤502。
因此时摄像头应用程序运行在拍摄视频模式下,所以第一摄像头允许工作在第二工作状态。
步骤503:终端判断所述第一摄像头开启后的工作时长是否大于第一预设时长且所述终端内预设区域的温度是否大于第一预设温度,若是则转至步骤504,否则转至步骤503。
终端可以在启动第一摄像头和第二摄像头时,启动计时器,计时器计时的时长为第一预设时长时,启动告警。
本申请实施例对步骤502以及步骤503的执行顺序并不限定,步骤502也可以在步骤503之后执行,即先判断第一摄像头开启后的工作时长是否大于第一预设时长且所述终端内预设区域的温度是否大于第一预设温度,上述条件均为是时,再判断第一摄像头是否允许工作在第二工作状态,当确定第一摄像头否允许工作在第二工作状态,则转至步骤504。
在转至步骤504时,终端可以将计时器清零;当然,在转至步骤504时,终端也可以不将计时器清零,直到终端退出摄像头应用程序时将计时器清零,本申请实施例对此并不限定。
终端如何确定预设区域的温度,可以参考前面的描述,在此不再赘述。
步骤504:所述终端将所述第一摄像头设置工作在第二工作状态。
第二工作状态为低功耗状态或关闭状态,从而降低终端的功耗。
步骤505:所述终端判断是否退出摄像头应用程序,若是则转至步骤508,否则转至步骤506。
可选的,步骤506:终端判断摄像头应用程序是否需要运行在第一运行模式,若是,则转至步骤507,否则转至步骤505。
用户设置摄像头应用程序运行在第一运行模式,如大光圈模式时,对应的第一摄像头的工作状态为第二工作子状态,如大光圈状态,转至步骤507。
摄像头应用程序仍运行在拍摄视频模式下,转至步骤505。
步骤507:所述终端将所述第一摄像头设置工作在第二工作子状态,并转至步骤502。
第一摄像头设置为大光圈状态,转至步骤502,摄像头应用程序保持运行在大光圈模式下,则步骤502判断为第一摄像头不允许工作在第二工作状态。若摄像头应用程序从大光圈模式切换到照片模式,相应地第一摄像头切换为照片状态(第三工作子状态),则步骤502判断为第一摄像头允许工作在第二工作状态,从而执行步骤503。若摄像头应用程序从大光圈模式切换到照片模式,相应地第一摄像头切换为照片状态,如没有用户触发,可以保持第一摄像头工作在照片状态一定时长,超过该一定时长后触发步骤502,则步骤502判断为第一摄像头允许工作在第二工作状态,从而执行步骤503。
步骤508:结束。关闭第一摄像头和第二摄像头,如对第一摄像头和第二摄像头不供电。
需要说明的是本申请实施例中,摄像头应用程序开始运行时,终端的工作参数可能已满足预设条件,所以第一摄像头可直接工作在第二状态。
终端配置了第一摄像头和第二摄像头。当用户打开摄像头应用程序时,选择摄像头应用程序的运行模式。举例来说,如图5所示,为本申请实施例提供的一种摄像头应用程序示意图。用户在摄像头应用程序中,可以选择的模式可以有:全景模式、延时拍照模式、大光圈模式、视频模式、拍照模式等。
当用户打开摄像头应用程序时,可以默认摄像头应用程序工作在拍照模式,此时,终端启动第一摄像头和第二摄像头。同时,终端在启动第一摄像头的时刻,开启计时器,开始计时。
终端内部会划分为多个区域,每个区域将布置有多个温度传感器,具体可以参考图3所示。终端会实时读取每个温度传感器检测到的温度,并确定每个区域的温度。下面以预设区域为第一摄像头与第二摄像头所处的区域为了进行说明。
终端在将第一摄像头设置为第二工作状态之前,先判断第一摄像头是否允许工作在第二工作状态。根据实际产品的设计,用户在摄像头应用程序下可以选择不同的运行模式、摄像头应用程序本身也会实时判定要调用的算法,摄像头应用程序的运行模式与调用的算法对于需要使用的摄像头的个数有不同的要求,因此,在摄像头应用程序下,对运行模式、算法、功耗控制方案进行优先级设计,终端实时判断第一摄像头是否允许工作在第二工作状态。例如,在摄像头应用程序工作在大光圈模式时,不允许第一摄像头工作在第二工作状态。
结合前面的描述,终端确定第一摄像头允许工作在第二工作状态之后,随着计时器计时时长的增加,第一摄像头和第二摄像头的使用过程中不断消耗电能,终端会出现发热等现象,终端检测到的预设区域内的温度也不断增加。当终端确定计时器的计时时长为第一预设时长和/或预设区域的温度大于第一预设温度时,确定需要将所述第一摄像头设置为低功耗状态或关闭状态。其中,第一预设时长可以为2分钟,第一预设温度可以为51℃,当然第一预设时长以及第一预设温度的取值可以根据具体的产品设置。终端将第一摄像头设置为低功耗状态或关闭状态之后,可以只维持第二摄像头处于运行模式,即正常采集图像的模式。此时,第一摄像头和第二摄像头的总功耗降低,预设区域的温度不再上升或者上升速度下降。
需要说明的是,终端将所述第一摄像头设置工作在第二工作状态时,可以将计时器清零,等待下次计时。或者,终端也可以不将计时器清零,直到终端退出摄像头应用程序时将计时器清零,本申请实施例对此并不限定。
在触发了将第一摄像头设置为低功耗状态或关闭状态之后,终端可以根据具体的功能需求,可以再次启动第一摄像头,该动作方案包含两方面设计:一方面是重启第一摄像头的机制,该重启机制包含但不限于用户在摄像头应用程序的界面选择摄像头应用程序的运行模式、摄像头应用程序的算法判断需要调用第一摄像头;另一方面是当重启第一摄像头后,终端允许再次触发将第一摄像头设置为低功耗状态或关闭状态的动作的机制,例如在上述重启机制条件失效的30s后(具体产品的时间门限),“第一摄像头是否允许工作在第二工作状态”才设置为“是”。例如,在“将第一摄像头设置为低功耗状态或关闭状态”动作触发后,用户将摄像头应用程序的运行模式设置为大光圈模式时,终端将重启第一摄像头,而后在用户将摄像头应用程序的运行模式设置为退出大光圈模式的时刻,启动定时器,定时器定时时长为第二预设时长,第二预设时长可以为30s,定时器超时之前,终端不允许将第一摄像头设置为低功耗状态或关闭状态。当定时器超时后,终端允许将第一摄像头设置为低功耗状态或关闭状态。
在用户退出摄像头应用程序界面的同时,上述“第一摄像头的工作状态为低功耗状态或关闭状态”的状态记录失效;再次启动摄像头应用程序时,将重复上述方案。
基于相同的技术构思,本申请实施例还提供一种终端,该终端可执行上述方法实施例。
如图7所示,为本申请实施例提供一种终端结构示意图。该终端700可以为手机等设备。
参见图7,该终端700包括:
摄像头控制单元701,用于开启第一摄像头和第二摄像头;所述第一摄像头和所述第二摄像头位于所述终端的同一侧,所述第一摄像头工作在第一工作状态;
工作参数判断单元702,用于确定所述终端的工作参数是否符合预设条件,
摄像头控制单元701用于在工作参数判断单元702确定所述终端的工作参数符合预设条件,将所述第一摄像头由第一工作状态切换为第二工作状态,所述第二工作状态为低功耗状态或关闭状态。
可选的,摄像头控制单元701在所述工作参数判断单元702确定所述终端的工作参数不满足预设条件,则保持所述第一摄像头工作在所述第一工作状态。
可选的,所述工作参数包括以下一项或多项:
所述第一摄像头开启后的工作时长;
所述终端的电池电压;
所述第一摄像头的拍照参数;
所述终端内预设区域的温度;
所述预设条件包括以下一项或多项:
所述第一摄像头开启后的工作时长大于第一预设时长;
所述终端的电池电压小于预设电压;
所述第一摄像头的拍照参数高于第一预设值,或所述第一摄像头的拍照参数低于第二预设值;
所述终端内预设区域的温度大于第一预设温度;
所述终端内预设区域的温度小于第二预设温度;所述第二预设温度小于所述第一预设温度。
可选,所述第二工作状态为低功耗模式或关闭状态。
可选的,将所述第一摄像头由第一工作状态切换为第二工作状态之前,所述摄像头控制单元701还用于:
确定所述第一摄像头允许工作在所述第二工作状态。
可选的,所述将所述第一摄像头由第一工作状态切换为第二工作状态之后,所述摄像头控制单元701还用于:
检测是否有触发第一摄像头工作在第一工作状态的事件;
当检测到触发第一摄像头工作在第一工作状态的事件,将所述第一摄像头的工作状态切换为第一工作状态。
可选的,所述检测是否有触发第一摄像头工作在第一工作状态的事件具体为:
检测摄像头应用程序的运行模式是否从第二运行模式切换到第一运行模式,所述第一运行模式为所述第一摄像头工作在第一工作状态对应的运行模式,所述第二运行模式为允许所述第一摄像头工作在第二工作状态的运行模式。
可选的,检测是否有触发第一摄像头工作在第一工作状态的事件具体为:
所述终端检测用户是否触发记录图像,如检测用户是否按下拍照按钮或录像按钮。
应理解,以上各个单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。本申请实施例中,摄像头控制单元以及工作参数判断单元可以由处理器实现。如图8所示,示出了本申请实施例提供的一种终端的结构。
该终端可以为包括手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、销售终端(Point of Sales,POS)、车载电脑等终端设备。以终端为手机为例,图8示出的是与本申请实施例提供的终端相关的手机800的部分结构的框图。参考图8,手机800包括射频(Radio Frequency,RF)电路810、存储器820、输入单元830、显示单元840、传感器850、音频电路860、无线保真(wireless fidelity,WiFi)模块870、处理器880、以及电源890等部件。本领域技术人员可以理解,图8中示出的手机结构只做实现方式的举例,并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图8对手机800的各个构成部件进行具体的介绍:
RF电路810可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器880处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路810还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器820可用于存储软件程序以及模块,处理器880通过运行存储在存储器820的软件程序以及模块,从而执行手机800的各种功能应用以及数据处理。存储器820可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机800的 使用所创建的数据(比如音频数据、电话本等)等。此外,存储器820可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元830可用于接收输入的数字或字符信息,以及产生与手机800的用户设置以及功能控制有关的键信号输入。具体地,输入单元830可包括触控面板831以及其他输入设备832。触控面板831,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板831上或在触控面板831附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器880,并能接收处理器880发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板831。除了触控面板831,输入单元830还可以包括其他输入设备832。具体地,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元840可用于显示由用户输入的信息或提供给用户的信息以及手机800的各种菜单。显示单元840可包括显示面板841,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板841。进一步的,触控面板831可覆盖显示面板841,当触控面板831检测到在其上或附近的触摸操作后,传送给处理器880以确定触摸事件的类型,随后处理器880根据触摸事件的类型在显示面板841上提供相应的视觉输出。虽然在图8中,触控面板831与显示面板841是作为两个独立的部件来实现手机800的输入和输入功能,但是在某些实施例中,可以将触控面板831与显示面板841集成而实现手机800的输入和输出功能。
手机800还可包括至少两个摄像头,摄像头851和摄像头852设置于手机的同一侧,如手机800的背面,用于采集图像。尽管未示出,手机800正面也可设置有摄像头。传感器850,比如光传感器、运动传感器以及其他传感器。
音频电路860、扬声器861,传声器862可提供用户与手机800之间的音频接口。音频电路860可将接收到的音频数据转换后的电信号,传输到扬声器861,由扬声器861转换为声音信号输出;另一方面,传声器862将收集的声音信号转换为电信号,由音频电路860接收后转换为音频数据,再将音频数据输出处理器880处理后,经RF电路810以发送给比如另一手机,或者将音频数据输出至存储器820以便进一步处理。
WiFi属于短距离无线传输技术,手机800通过WiFi模块870可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了WiFi模块870,但是可以理解的是,其并不属于手机800的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器880是手机800的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器820内的软件程序和/或模块,以及调用存储在存储器820内的数据,执行手机800的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器880可包括一个或多个处理单元;可选的,处理器880可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主 要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器880中。
手机800还包括给各个部件供电的电源890(比如电池),可选的,电源可以通过电源管理系统与处理器880逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
手机800还可包括至少一种传感器850,比如温度传感器等,温度传感器用于检测温度。
尽管未示出,手机800还可以包括蓝牙模块等,在此不再赘述。
处理器880可以通过运行存储在存储器820的软件程序控制摄像头851和852,控制过程可以调用温度传感器等,具体可以参考本申请的方法实施例。
手机配置了双Camera(A与B),其中A命为主Camera,而B命为副Camera,当用户打开摄像头应用时界面开始预览,默认状态时手机将同时开启A、B这两个Camera,这时手机的功耗为X1值;并且在用户打开摄像头应用界面的同时,手机开始计时t,这个t值将在用户退出摄像头界面时清零。
根据实际产品的需要,手机内部的不同位置将布置有多个温度监控点(NTC1、NTC2…NTCn),手机会实时读取各个NTC的数值,当NTC数值达到设定门限Tm时将做出相应的动作。
根据实际产品的设计,用户在摄像头应用下可以选择不同的功能模式、应用本身也会实时智能判定要调用的算法,这些功能与算法对于Camera的个数有不同的要求、这会影响到本机对Camera的个数限制。因此,在摄像头应用下,对功能模式、算法、功耗控制方案进行优先级设计,手机实时判断“是否允许‘关闭副Camera-B’方案”。
随着摄像头应用的使用、手机发热,计时t的值与各个NTC的数值在变化;在应用判断“是否允许‘关闭副Camera-B’”为“是”之后,当“计时t值达到2min(具体产品的时间门限)”或/且“指定NTCi的温度数值达到51℃(具体产品的设定门限)”时,手机将做出“关闭副Camera-B”的动作,这时手机将只维持主Camera-A开启、并根据其数据进行预览等后续功能处理,功耗值变为X2。
在触发了“关闭副Camera-B”后,手机根据具体的功能需求,可以再次启用副Camera-B,该动作方案包含两方面设计:一方面是重新开启副Camera-B的机制,该重启机制包含但不限于用户在手机界面的功能选择操作、摄像头应用的算法判断需要调用副Camera;另一方面是当重启副Camera-B后,手机允许再次触发“关闭副Camera-B”动作的机制,例如在上述重启机制条件失效的30s后(具体产品的时间门限),“是否允许‘关闭副Camera-B’”才设置为“是”。
在用户退出摄像头应用界面的同时,上述“关闭副Camera-B,只开启主Camera-A”的状态记录失效;再次启动摄像头应用时,将重复上述方案。
手机配置了双Camera(A与B),其中A命为主Camera,而B命为副Camera,当用户打开摄像头应用时界面开始预览,默认状态时手机将同时开启A、B这两个Camera,这时手机的功耗为X1值。
根据实际产品的需要,手机内部的不同位置将布置有多个温度监控点(NTC1、NTC2…NTCn),手机会实时读取各个NTC的数值;同时,手机实时监测当前电池相关状态参数(例如,电池电压V)。当NTC、电池参数V等的数值达到设定门限时,手机将可能做出相应的措施动作。
根据实际产品的设计,用户在摄像头应用下可以选择不同的功能模式、应用本身也会实时智能判定要调用的算法,这些功能与算法对于Camera的个数有不同的要求、这会影响到本机对Camera的个数限制。因此,在摄像头应用下,对功能模式、算法、功耗控制方案进行优先级设计,手机实时判断“是否允许‘关闭副Camera-B’方案”。
在用户进入摄像头应用后,手机实时监测各个NTC数值、电池参数V的数值;在应用判断“是否允许‘关闭副Camera-B’”为“是”之后,当“NTC温度低于Y1(具体产品的时间门限)”且“电池电压V低于Y2(具体产品的设定门限)”时,手机将做出“关闭副Camera-B”的动作,这时手机将只开启主Camera-A、并根据其数据进行预览等后续功能处理,功耗值变为X2。
在触发了“关闭副Camera-B”后,手机根据具体的功能需求,可以再次启用副Camera-B,该动作方案包含两方面设计:一方面是重新开启副Camera-B的机制,该重启机制包含但不限于用户在手机界面的功能选择操作、摄像头应用的算法判断需要调用副Camera;另一方面是当重启副Camera-B后,手机允许再次触发“关闭副Camera-B”动作的机制,例如在上述重启机制条件失效的30s后(具体产品的时间门限),“是否允许‘关闭副Camera-B’”才设置为“是”。
在用户退出摄像头应用界面的同时,上述“关闭副Camera-B,只开启主Camera-A”的状态记录失效;再次启动摄像头应用时,将重复上述方案。参考图9所示,为本申请实施例提供的一种摄像头控制方法流程示意图。
本申请实施例涉及的物理元器件温度传感器(NTC)、手机处理器、摄像头、双Camera、电池等
参考图9所示,为本申请实施例提供的一种摄像头控制方法流程示意图。
手机配置了双Camera(A与B),其中A命为主Camera,而B命为副Camera,当用户打开摄像头应用时界面开始预览,默认状态时手机将同时开启A、B这两个Camera,这时手机的功耗为X1值;并且在用户打开摄像头应用界面的同时,手机开始计时t,这个t值将在用户退出摄像头界面时清零。
根据实际产品的需要,手机内部的不同位置将布置有多个温度监控点(NTC1、NTC2…NTCn),如图所示,手机会实时读取各个NTC的数值、输出一个温度参数NTCi(例如,NTCi为选定的某个NTC值,或者为n各NTC的平均值)当NTCi数值达到设定门限Tm时将做出相应的动作。
根据实际产品的设计,用户在摄像头应用下可以选择不同的功能模式、应用本身也会实时智能判定要调用的算法,这些功能与算法对于Camera的个数有不同的要求、这会影响到本机对Camera的个数限制。因此,在摄像头应用下,对功能模式、算法、功耗控制方案进行优先级设计,手机实时判断“是否允许‘关闭副Camera-B’方案”。例如,在用户选到“大光圈”模式、或点击“拍照”按钮时,手机不允许“关闭副Camera-B”方案。
随着摄像头应用的使用、手机发热,计时t的值与温度参数NTCi的数值在变化;在应用判断“是否允许‘关闭副Camera-B’”为“是”之后,当“计时t值达到tm=2min(具体产品的时间门限)”且“温度参数NTCi的温度数值达到Tm=51℃(具体产品的设定门限)”时,手机将做出“关闭副Camera-B”的动作,这时手机将只维持主Camera-A开启、并根据其数据进行预览等后续功能处理,功耗值变为X2。
在触发了“关闭副Camera-B”后,手机根据具体的功能需求,可以再次启用副Camera-B, 该动作方案包含两方面设计:一方面是重新开启副Camera-B的机制,该重启机制包含但不限于用户在手机界面的功能选择操作、摄像头应用的算法判断需要调用副Camera;另一方面是当重启副Camera-B后,手机允许再次触发“关闭副Camera-B”动作的机制,例如在上述重启机制条件失效的30s后(具体产品的时间门限),“是否允许‘关闭副Camera-B’”才设置为“是”。例如,在“关闭副Camera-B”动作触发后,用户选到“大光圈”模式时,手机将重启副Camera-B,而后在用户退出“大光圈”模式后30s,手机将再次允许触发“关闭副Camera-B”动作。又例如,在“关闭副Camera-B”动作触发后,当用户点击“拍照”按钮时,手机将重启副Camera-B,而在拍照流程结束后30s,手机将再次允许触发“关闭副Camera-B”动作。
在用户退出摄像头应用界面的同时,上述“关闭副Camera-B,只开启主Camera-A”的状态记录失效;再次启动摄像头应用时,将重复上述方案。
可以避免手机在高功耗摄像头场景下使用长时间的过度发热问题,在设定的门限条件下,双Camera运行变更为单Camera运行,这可大幅降低摄像头场景的实时功耗、降低该场景下手机的发热风险。
同时,该方案的时间门限判定条件,可以在指定时间tm=2min(例)内保证摄像头应用以双Camera开启的状态运行,实现产品Camera高性能、保证基础的用户体验。
在多Camera的摄像头应用场景下,根据门限判定将双Camera变更为单Camera运行的方案,与现有技术相比可更大幅度地降低整机的功耗、发热风险。双Camera切换为单Camera后,图像处理与预览显示内容的刷新频率并无变化,不会影响用户对于动态画面的体验。本申请实施例中具有一个时间门限的判定条件,该门限数值可以根据产品需要进行设定,在该时间段内可以保证产品开启多Camera、实现相关性能。
参考图10所示,为本申请实施例提供的一种摄像头控制方法流程示意图。
手机配置了双Camera(A与B),其中A命为主Camera,而B命为副Camera,当用户打开摄像头应用时界面开始预览,默认状态时手机将同时开启A、B这两个Camera,这时手机的功耗为X1值。
根据实际产品的需要,手机内部的不同位置将布置有多个温度监控点(NTC1、NTC2…NTCn),如图所示,手机会实时读取各个NTC的数值、输出一个温度参数NTCi(例如,NTCi为选定的某个NTC值,或者为n各NTC的平均值)。同时,手机实时监测当前电池相关状态参数(例如,电池电压V)。当温度参数NTCi、电池参数V等的数值达到设定门限时,手机将可能做出相应的措施动作。
根据实际产品的设计,用户在摄像头应用下可以选择不同的功能模式、应用本身也会实时智能判定要调用的算法,这些功能与算法对于Camera的个数有不同的要求、这会影响到本机对Camera的个数限制。因此,在摄像头应用下,对功能模式、算法、功耗控制方案进行优先级设计,手机实时判断“是否允许‘关闭副Camera-B’方案”。例如,在用户选到“大光圈”模式、或点击“拍照”按钮时,手机不允许“关闭副Camera-B”方案。
在用户进入摄像头应用后,手机实时监测各个NTC数值、电池参数V的数值;在应用判断“是否允许‘关闭副Camera-B’”为“是”之后,当“温度参数NTCi的数值低于Y1(具体产品的时间门限)”且“电池电压V低于Y2(具体产品的设定门限)”时,手机将做出“关闭副Camera-B”的动作,这时手机将只开启主Camera-A、并根据其数据进行预览等后续功能处理,功耗值变为X2。
在触发了“关闭副Camera-B”后,手机根据具体的功能需求,可以再次启用副Camera-B,该动作方案包含两方面设计:一方面是重新开启副Camera-B的机制,该重启机制包含但不限于用户在手机界面的功能选择操作、摄像头应用的算法判断需要调用副Camera;另一方面是当重启副Camera-B后,手机允许再次触发“关闭副Camera-B”动作的机制,例如在上述重启机制条件失效的30s后(具体产品的时间门限),“是否允许‘关闭副Camera-B’”才设置为“是”。例如,在“关闭副Camera-B”动作触发后,用户选到“大光圈”模式时,手机将重启副Camera-B,而后在用户退出“大光圈”模式后30s,手机将再次允许触发“关闭副Camera-B”动作。又例如,在“关闭副Camera-B”动作触发后,当用户点击“拍照”按钮时,手机将重启副Camera-B,而在拍照流程结束后30s,手机将再次允许触发“关闭副Camera-B”动作。
在用户退出摄像头应用界面的同时,上述“关闭副Camera-B,只开启主Camera-A”的状态记录失效;再次启动摄像头应用时,将重复上述方案。
当手机在低温低电量场景下,在摄像用应用时只开启1个Camera,可避免摄像头应用下多Camera同时启动运行的高负载、大电流,由此大幅降低该场景下高负载致手机关机的概率;
填补了低温低电量场景下,多camera场景高功耗应对措施的空白,可以大幅降低该条件下的Camera场景负载、电流,由此降低该条件下Camera场景高负载、大电流致关机的概率。
可以避免手机在高功耗摄像头场景下使用长时间的过度发热问题,在设定的门限条件下,双Camera运行变更为单Camera运行,这可大幅降低摄像头场景的实时功耗、降低该场景下手机的发热风险。
同时,该方案的时间门限判定条件,可以在指定时间tm=2min(例)内保证摄像头应用以双Camera开启的状态运行,实现产品Camera高性能、保证基础的用户体验。
另外,本方案填补了低温低电量场景下,多camera场景高功耗应对措施的空白,可以大幅降低该条件下的Camera场景负载、电流,由此降低该条件下Camera场景高负载、大电流致关机的概率。
针对手机摄像头应用的功能设计需求,本方案支持功耗控制方案与应用模式、算法的优先级判定,可灵活设定是否允许启用本功耗控制方案、是否需要重启副Camera-B。
电子产品(不限于手机产品)在预览拍照场景下,双Camera切换成单Camera的动作(也可是是m个Camera切换成n个Camera工作的动作,m>n)耦合的条件判定,将温度、时间、电池参数纳入判定依据。
本申请各方法实施例之间相关部分可以相互参考;各装置实施例所提供的装置用于执行对应的方法实施例所提供的方法,故各装置实施例可以参考相关的方法实施例中的相关部分进行理解。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关硬件来完成,所述的程序可以存储于一个设备的可读存储介质中,该程序在执行时,包括上述全部或部分步骤,所述的存储介质,如:FLASH、EEPROM等。
以上所述的具体实施方式,对本申请实施例的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,不同的实施例可以进行组合,以上所述仅为本申请实施例的具体实施方式而已,并不用于限定本申请实施例的保护范围,凡在本申请实施例的 精神和原则之内,所做的任何组合、修改、等同替换、改进等,均应包含在本申请实施例的保护范围之内。

Claims (18)

  1. 一种摄像头控制方法,其特征在于,包括:
    终端开启第一摄像头和第二摄像头;所述第一摄像头和所述第二摄像头位于所述终端的同一侧,所述第一摄像头工作在第一工作状态;
    当所述终端的工作参数满足预设条件,将所述第一摄像头由第一工作状态切换为第二工作状态,所述第二工作状态为低功耗状态或关闭状态。
  2. 根据权利要求1所述的方法,其特征在于,所述工作参数包括以下一项或多项:
    所述第一摄像头开启后的工作时长;
    所述终端的电池电压;
    所述第一摄像头的拍照参数;
    所述终端内预设区域的温度;
    所述预设条件包括以下一项或多项:
    所述第一摄像头开启后的工作时长大于第一预设时长;
    所述终端的电池电压小于预设电压;
    所述第一摄像头的拍照参数高于第一预设值,或所述第一摄像头的拍照参数低于第二预设值;
    所述终端内预设区域的温度大于第一预设温度;
    所述终端内预设区域的温度小于第二预设温度;所述第二预设温度小于所述第一预设温度。
  3. 根据权利要求1至2任一所述的方法,其特征在于,所述将所述第一摄像头由第一工作状态切换为第二工作状态之前,还包括:
    所述终端确定所述第一摄像头允许工作在所述第二工作状态。
  4. 根据权利要求1至3任一所述的方法,其特征在于,所述终端将所述第一摄像头当前工作的第一工作状态设置为第二工作状态之后,还包括:
    所述终端检测是否有触发第一摄像头工作在第一工作状态的事件;
    当检测到触发第一摄像头工作在第一工作状态的事件,将所述第一摄像头的工作状态切换为第一工作状态。
  5. 根据权利要求4所述的方法,其特征在于,所述终端检测是否有触发第一摄像头工作在第一工作状态的事件,包括:
    所述终端检测摄像头应用程序的运行模式是否从第二运行模式切换到第一运行模式,所述第一运行模式为不允许所述第一摄像头工作在第二工作状态的运行模式,所述第二运行模式为允许所述第一摄像头工作在第二工作状态的运行模式。
  6. 根据权利要求5所述的方法,其特征在于,所述终端检测是否有触发第一摄像头工作在第一工作状态的事件,包括:
    所述终端检测用户是否触发记录图像。
  7. 一种终端,其特征在于,包括:
    工作参数判断单元,用于确定所述终端的工作参数是否满足预设条件,
    摄像头控制单元,用于开启第一摄像头和第二摄像头;所述第一摄像头和所述第二摄像头位于所述终端的同一侧,所述第一摄像头工作在第一工作状态;当工作参数判断单 元确定所述终端的工作参数满足预设条件,将所述第一摄像头由第一工作状态切换为第二工作状态,所述第二工作状态为低功耗状态或关闭状态。
  8. 根据权利要求7所述的终端,其特征在于,所述工作参数包括以下一项或多项:
    所述第一摄像头开启后的工作时长;
    所述终端的电池电压;
    所述第一摄像头的拍照参数;
    所述终端内预设区域的温度;
    所述预设条件包括以下一项或多项:
    所述第一摄像头开启后的工作时长大于第一预设时长;
    所述终端的电池电压小于预设电压;
    所述第一摄像头的拍照参数高于第一预设值,或所述第一摄像头的拍照参数低于第二预设值;
    所述终端内预设区域的温度大于第一预设温度;
    所述终端内预设区域的温度小于第二预设温度;所述第二预设温度小于所述第一预设温度。
  9. 根据权利要求7至8任一所述的终端,其特征在于,所述摄像头控制单元还用于在将所述第一摄像头由第一工作状态切换为第二工作状态之前,确定所述第一摄像头允许工作在所述第二工作状态,当第一摄像头允许工作在第二工作状态时,将第一摄像头从所述第一工作状态切换到第二工作状态。
  10. 根据权利要求7至9任一所述的终端,其特征在于,所述将所述第一摄像头由第一工作状态切换为第二工作状态之后,所述摄像头控制单元还用于:
    检测是否有触发第一摄像头工作在第一工作状态的事件;
    当检测到触发第一摄像头工作在第一工作状态的事件,将所述第一摄像头的工作状态切换为第一工作状态。
  11. 根据权利要求10所述的终端,其特征在于,所述检测是否有触发第一摄像头工作在第一工作状态的事件为:
    检测摄像头应用程序的运行模式是否从第二运行模式切换到第一运行模式,所述第一运行模式为不允许所述第一摄像头工作在第二工作状态的运行模式,所述第二运行模式为允许所述第一摄像头工作在第二工作状态的运行模式。
  12. 根据权利要求10所述的终端,其特征在于,所述检测是否有触发第一摄像头工作在第一工作状态的事件为:
    所述终端检测用户是否触发记录图像。
  13. 一种终端,其特征在于,包括:
    第一摄像头、第二摄像头;
    存储器用于存储程序指令;
    处理器,用于执行所述程序指令,执行以下步骤:
    开启所述第一摄像头和所述第二摄像头;所述第一摄像头和所述第二摄像头位于所述终端的同一侧,所述第一摄像头工作在第一工作状态;
    当所述终端的工作参数满足预设条件,将所述第一摄像头由第一工作状态切换为第二工作状态,所述第二工作状态为低功耗状态或关闭状态。
  14. 根据权利要求13所述的终端,其特征在于,所述工作参数包括以下一项或多项:
    所述第一摄像头开启后的工作时长;
    所述终端的电池电压;
    所述第一摄像头的拍照参数;
    所述终端内预设区域的温度;
    所述预设条件包括以下一项或多项:
    所述第一摄像头开启后的工作时长大于第一预设时长;
    所述终端的电池电压小于预设电压;
    所述第一摄像头的拍照参数高于第一预设值,或所述第一摄像头的拍照参数低于第二预设值;
    所述终端内预设区域的温度大于第一预设温度;
    所述终端内预设区域的温度小于第二预设温度;所述第二预设温度小于所述第一预设温度。
  15. 根据权利要求13至14任一所述的终端,其特征在于,所述处理器将所述第一摄像头由第一工作状态切换为第二工作状态之前,还包括:
    确定所述第一摄像头允许工作在所述第二工作状态。
  16. 根据权利要求13至15任一所述的终端,其特征在于,所述处理器将所述第一摄像头当前工作的第一工作状态设置为第二工作状态之后,还包括:
    检测是否有触发第一摄像头工作在第一工作状态的事件;
    当检测到触发第一摄像头工作在第一工作状态的事件,将所述第一摄像头的工作状态切换为第一工作状态。
  17. 根据权利要求16所述的终端,其特征在于,所述处理器检测是否有触发第一摄像头工作在第一工作状态的事件,包括:
    检测摄像头应用程序的运行模式是否从第二运行模式切换到第一运行模式,所述第一运行模式为所述第一摄像头工作在第一工作状态对应的运行模式,所述第二运行模式为允许所述第一摄像头工作在第二工作状态的运行模式。
  18. 根据权利要求16所述的终端,其特征在于,所述终端检测是否有触发第一摄像头工作在第一工作状态的事件包括:
    检测用户是否触发记录图像。
PCT/CN2017/070928 2016-12-24 2017-01-11 一种摄像头控制方法及终端 WO2018113055A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN201780009515.XA CN108605088A (zh) 2016-12-24 2017-01-11 一种摄像头控制方法及终端
EP17884214.2A EP3550822A4 (en) 2016-12-24 2017-01-11 CAMERA CONTROL METHOD AND TERMINAL
US16/472,398 US20190364221A1 (en) 2016-12-24 2017-01-11 Camera Control Method and Terminal
JP2019534223A JP2020516094A (ja) 2016-12-24 2017-01-11 カメラ制御方法及び端末
KR1020197020840A KR20190097193A (ko) 2016-12-24 2017-01-11 카메라 제어 방법 및 단말

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611210208.1 2016-12-24
CN201611210208 2016-12-24

Publications (1)

Publication Number Publication Date
WO2018113055A1 true WO2018113055A1 (zh) 2018-06-28

Family

ID=62624298

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/070928 WO2018113055A1 (zh) 2016-12-24 2017-01-11 一种摄像头控制方法及终端

Country Status (6)

Country Link
US (1) US20190364221A1 (zh)
EP (1) EP3550822A4 (zh)
JP (1) JP2020516094A (zh)
KR (1) KR20190097193A (zh)
CN (1) CN108605088A (zh)
WO (1) WO2018113055A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020232679A1 (zh) * 2019-05-22 2020-11-26 深圳市欢太科技有限公司 拍照控制方法及相关装置
CN113747065A (zh) * 2021-09-03 2021-12-03 维沃移动通信(杭州)有限公司 拍摄方法、装置及电子设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144728B (zh) * 2018-08-22 2020-11-06 Oppo广东移动通信有限公司 相机应用的占用控制方法和装置
KR20210093565A (ko) * 2020-01-20 2021-07-28 삼성전기주식회사 카메라 모듈
CN113660599B (zh) * 2020-04-29 2023-12-01 Oppo广东移动通信有限公司 扬声器的控制方法、装置、移动终端及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150229889A1 (en) * 2014-02-13 2015-08-13 Semiconductor Components Industries, Llc Adaptive image sensor systems and methods
CN105163028A (zh) * 2015-09-11 2015-12-16 青岛海信移动通信技术股份有限公司 一种双摄像头的控制方法及装置
WO2016130325A1 (en) * 2015-02-13 2016-08-18 Qualcomm Incorporated Systems and methods for power optimization for imaging devices with dual cameras
CN105991930A (zh) * 2016-07-19 2016-10-05 广东欧珀移动通信有限公司 双摄像头的变焦处理方法、装置和移动终端
CN106131416A (zh) * 2016-07-19 2016-11-16 广东欧珀移动通信有限公司 双摄像头的变焦处理方法、装置和移动终端
CN106254765A (zh) * 2016-07-19 2016-12-21 广东欧珀移动通信有限公司 双摄像头的变焦处理方法、装置及终端设备

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003298921A (ja) * 2002-03-29 2003-10-17 Fuji Photo Film Co Ltd デジタルカメラ
JP2005202037A (ja) * 2004-01-14 2005-07-28 Fuji Photo Film Co Ltd 立体カメラ
JP4882889B2 (ja) * 2007-07-02 2012-02-22 株式会社ニコン 撮影装置
JP5609467B2 (ja) * 2010-09-15 2014-10-22 株式会社リコー 撮像装置及び撮像方法
KR101691833B1 (ko) * 2010-11-04 2017-01-09 엘지전자 주식회사 이동 단말기 및 이것의 영상 촬영 제어 방법
CN103024258B (zh) * 2011-09-28 2016-04-27 联想(北京)有限公司 一种快速拍摄方法及电子设备
JP5884421B2 (ja) * 2011-11-14 2016-03-15 ソニー株式会社 画像処理装置、画像処理装置の制御方法およびプログラム
US9560244B2 (en) * 2012-06-21 2017-01-31 Sony Corporation Image pickup device and image display method
KR20140114501A (ko) * 2013-03-14 2014-09-29 삼성전자주식회사 영상 데이터 처리 방법 및 이를 지원하는 전자 장치
US11172126B2 (en) * 2013-03-15 2021-11-09 Occipital, Inc. Methods for reducing power consumption of a 3D image capture system
US9742973B2 (en) * 2013-08-08 2017-08-22 Sony Corporation Array camera design with dedicated Bayer camera
JP2015050647A (ja) * 2013-09-02 2015-03-16 キヤノン株式会社 撮像装置、その制御方法、および制御プログラム
CN104333704B (zh) * 2014-11-28 2018-01-16 广东欧珀移动通信有限公司 一种拍照场景的预览方法、装置及终端
US9716876B2 (en) * 2015-04-01 2017-07-25 Sony Corporation Power efficient multiple camera system
CN105120135B (zh) * 2015-08-25 2019-05-24 努比亚技术有限公司 一种双目摄像头

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150229889A1 (en) * 2014-02-13 2015-08-13 Semiconductor Components Industries, Llc Adaptive image sensor systems and methods
WO2016130325A1 (en) * 2015-02-13 2016-08-18 Qualcomm Incorporated Systems and methods for power optimization for imaging devices with dual cameras
CN105163028A (zh) * 2015-09-11 2015-12-16 青岛海信移动通信技术股份有限公司 一种双摄像头的控制方法及装置
CN105991930A (zh) * 2016-07-19 2016-10-05 广东欧珀移动通信有限公司 双摄像头的变焦处理方法、装置和移动终端
CN106131416A (zh) * 2016-07-19 2016-11-16 广东欧珀移动通信有限公司 双摄像头的变焦处理方法、装置和移动终端
CN106254765A (zh) * 2016-07-19 2016-12-21 广东欧珀移动通信有限公司 双摄像头的变焦处理方法、装置及终端设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3550822A4

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020232679A1 (zh) * 2019-05-22 2020-11-26 深圳市欢太科技有限公司 拍照控制方法及相关装置
CN113747065A (zh) * 2021-09-03 2021-12-03 维沃移动通信(杭州)有限公司 拍摄方法、装置及电子设备
CN113747065B (zh) * 2021-09-03 2023-12-26 维沃移动通信(杭州)有限公司 拍摄方法、装置及电子设备

Also Published As

Publication number Publication date
JP2020516094A (ja) 2020-05-28
EP3550822A4 (en) 2020-01-29
KR20190097193A (ko) 2019-08-20
CN108605088A (zh) 2018-09-28
US20190364221A1 (en) 2019-11-28
EP3550822A1 (en) 2019-10-09

Similar Documents

Publication Publication Date Title
US11330194B2 (en) Photographing using night shot mode processing and user interface
US20220342475A1 (en) Terminal control method and terminal
WO2018113055A1 (zh) 一种摄像头控制方法及终端
EP3936992A1 (en) Control method and electronic device
JP7005646B2 (ja) 撮影方法及び端末
US11561687B2 (en) Operation method for split-screen display and electronic device
CN105049923B (zh) 唤醒电子设备的方法及装置
US20220206682A1 (en) Gesture Interaction Method and Apparatus, and Terminal Device
JP6355735B2 (ja) 省エネルギーモードを開始するための方法及び装置
WO2019129020A1 (zh) 一种摄像头自动调焦方法、存储设备及移动终端
CN108121524B (zh) 电子设备图像显示预览帧率的调节方法和装置、电子设备
WO2016019926A1 (zh) 照片拍摄方法、装置及移动终端
US11785331B2 (en) Shooting control method and terminal
RU2701057C1 (ru) Способ и устройство отображения времени на мобильном устройстве
US20230004406A1 (en) Energy-Efficient Display Processing Method and Device
WO2021037227A1 (zh) 一种图像处理方法、电子设备及云服务器
WO2023061326A1 (zh) 拍摄方法、装置及电子设备
WO2019034109A1 (zh) 一种视频数据的存储方法、装置和智能眼镜
WO2018076309A1 (zh) 一种拍摄方法和终端
WO2023083132A1 (zh) 拍摄方法、装置、电子设备和可读存储介质
CN114442970A (zh) 一种应用窗口的投屏方法与电子设备
CN105824474A (zh) 一种控制方法、装置及移动设备
WO2019034107A1 (zh) 节电方法及智能眼镜
WO2023131070A1 (zh) 一种电子设备的管理方法、电子设备及可读存储介质
WO2020051852A1 (zh) 一种通信过程中信息的记录及显示方法及终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17884214

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019534223

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017884214

Country of ref document: EP

Effective date: 20190704

ENP Entry into the national phase

Ref document number: 20197020840

Country of ref document: KR

Kind code of ref document: A