Nothing Special   »   [go: up one dir, main page]

CN105530385B - Control method of voice coil motor of mobile terminal and mobile terminal - Google Patents

Control method of voice coil motor of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN105530385B
CN105530385B CN201510931162.1A CN201510931162A CN105530385B CN 105530385 B CN105530385 B CN 105530385B CN 201510931162 A CN201510931162 A CN 201510931162A CN 105530385 B CN105530385 B CN 105530385B
Authority
CN
China
Prior art keywords
mobile terminal
voice coil
coil motor
state
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510931162.1A
Other languages
Chinese (zh)
Other versions
CN105530385A (en
Inventor
李德健
朱娜涛
蒋复岱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510931162.1A priority Critical patent/CN105530385B/en
Publication of CN105530385A publication Critical patent/CN105530385A/en
Application granted granted Critical
Publication of CN105530385B publication Critical patent/CN105530385B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/02Mountings, adjusting means, or light-tight connections, for optical elements for lenses
    • G02B7/04Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a control method of a voice coil motor of a mobile terminal, which comprises the following steps: detecting whether the mobile terminal is switched to a pre-photographing state; if the mobile terminal is switched to a pre-photographing state, judging whether the mobile terminal is in an unused state; and if the mobile terminal is not in use, adjusting the driving current of a voice coil motor of the mobile terminal to enable the voice coil motor to return to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state. The invention also provides a corresponding mobile terminal, which solves the problem of power consumption increase caused by continuous automatic focusing of the voice coil motor when the camera is not started without taking pictures, reduces the energy consumption of the mobile terminal and prolongs the standby time.

Description

Control method of voice coil motor of mobile terminal and mobile terminal
Technical Field
The present invention relates to the field of mobile communication technologies, and in particular, to a method for controlling a voice coil motor of a mobile terminal and a mobile terminal.
Background
Nowadays, cameras of many mobile terminals are provided with an automatic focusing function. The most common automatic focusing is contrast type focusing, and the voice coil motor drives the camera to move, so that the position of a focus is continuously changed, and the position with the clearest picture is found, thereby completing the automatic focusing.
When a user uses the mobile terminal, the user often happens that the photographing function is inadvertently turned on but the user does not take a picture, for example, the mobile terminal is placed in a pocket to trigger the photographing function by mistake, or forgets to turn off the photographing application after photographing, and the like. If the camera is turned on and no picture is taken, the voice coil motor is continuously driven to carry out automatic focusing according to the change of the object distance, which causes larger power consumption.
Disclosure of Invention
The embodiment of the invention provides a control method of a voice coil motor of a mobile terminal and the mobile terminal, and aims to solve the problem of power consumption increase caused by continuous automatic focusing of the voice coil motor when a camera is not used for taking a picture without being started.
In a first aspect, a method for controlling a voice coil motor of a mobile terminal is provided, where the method is applied to the mobile terminal and includes:
detecting whether the mobile terminal is switched to a pre-photographing state;
if the mobile terminal is switched to a pre-photographing state, judging whether the mobile terminal is in an unused state;
and if the mobile terminal is not in use, adjusting the driving current of a voice coil motor of the mobile terminal to enable the voice coil motor to return to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state.
In a second aspect, a mobile terminal is further provided, where the mobile terminal includes a detection module, a determination module, and an adjustment module, where:
the detection module is used for detecting whether the mobile terminal is switched to a pre-photographing state;
the judging module is used for judging whether the mobile terminal is in an unused state or not when the detecting module detects that the mobile terminal is switched to a pre-photographing state;
and the adjusting module is used for adjusting the driving current of the voice coil motor of the mobile terminal when the judging module judges that the mobile terminal is in the unused state, so that the voice coil motor returns to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state.
Compared with the prior art, the embodiment of the invention adjusts the driving current of the voice coil motor when the camera of the mobile terminal is detected to be in the state of being opened but not used, solves the problem of power consumption increase caused by continuous automatic focusing of the voice coil motor when the camera is not opened and the camera is not used for taking pictures, reduces the energy consumption of the mobile terminal and prolongs the standby time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating a method for controlling a voice coil motor of a mobile terminal according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for controlling a voice coil motor of a mobile terminal according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a first method for controlling a voice coil motor of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a second method for controlling a voice coil motor of a mobile terminal according to a third embodiment of the present invention;
fig. 5 is a block diagram showing a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a block diagram showing an internal physical structure of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First embodiment
Fig. 1 is a flowchart of a method for controlling a voice coil motor of a mobile terminal according to a first embodiment of the present invention, including the following steps:
step 101: and detecting whether the mobile terminal is switched to a pre-photographing state.
In this step 101, the switching of the mobile terminal to the pre-photographing state may be that an application related to the camera is started, and enters a photographing preview interface, and the mobile terminal is switched from the original non-photographing state to the pre-photographing state. The non-photographing state may be a standby state, may also be a state in which a part of applications are running, and may also be a state in which other cameras are not turned on and do not enter a photographing preview interface.
Step 102: and if the mobile terminal is switched to the pre-photographing state, judging whether the mobile terminal is in an unused state.
The unused state in step 102 is a state in which the user does not use the mobile terminal for operation. Specifically, the unused state may be that an object exists within a preset distance range facing the touch screen of the mobile terminal, for example, a shield exists within a preset distance in front of the mobile terminal, or the ambient light intensity within the preset distance range of the camera of the mobile terminal is smaller than a preset intensity, for example, the camera is shielded, or the mobile terminal has a preset acceleration or displacement in a preset direction, for example, the mobile terminal generates a large amplitude shake. These states may be detected by a distance sensor, a camera photosensitive element, an acceleration sensor, or the like of the mobile terminal, and the embodiment of the present invention is not limited herein.
Step 103: and if the mobile terminal is not in use, adjusting the driving current of a voice coil motor of the mobile terminal to enable the voice coil motor to return to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state.
In step 103, the driving current of the voice coil motor may be adjusted by directly turning off the driving so as to make the driving current value zero, that is, powering off the voice coil motor, or reducing the driving current to a preset current value, or adjusting the magnitude of the driving current, which is not limited herein.
It should be noted that the position of the voice coil motor before the voice coil motor is switched to the pre-photographing state, specifically, the original position of the voice coil motor when the camera of the mobile terminal is in the non-photographing state, where the non-photographing state may be a standby state, a state in which a part of applications are running, or a state in which other cameras are not turned on and do not enter the photographing preview interface, which is not limited herein in the embodiments of the present invention.
According to the embodiment of the invention, the driving current of the voice coil motor is adjusted when the camera of the mobile terminal is started but not used, so that the problem of power consumption increase caused by continuous automatic focusing of the voice coil motor when the camera is not started yet for taking a picture is solved, the energy consumption of the mobile terminal is reduced, and the standby time is prolonged.
Second embodiment
Fig. 2 is a flowchart of a control method for implementing a voice coil motor of a mobile terminal according to a second embodiment of the present invention, including the following steps:
step 201: and detecting whether the mobile terminal is switched to a pre-photographing state.
In this step 201, the mobile terminal is switched to the pre-photographing state, specifically, the application related to the camera is started, and enters a photographing preview interface, and the mobile terminal is switched from the original non-photographing state to the pre-photographing state. The non-photographing state may be a standby state, a state in which a part of applications are running, or a state in which other cameras are not turned on and do not enter a photographing preview interface, which is not limited herein. Specifically, whether the mobile terminal starts the camera or not can be judged by detecting whether the power supply of the control chip related to the camera is switched on or not, or whether the mobile terminal enters a shooting preview interface or not can be judged by identifying that the camera of the mobile terminal obtains a surrounding environment image and displays the surrounding environment image on the interface. For example, when the mobile terminal detects that the camera control chip is powered on or the touch screen interface of the mobile terminal displays an image of the surrounding environment acquired by the camera, it may be considered that the mobile terminal is switched to a pre-photographing state.
Step 202: and if the mobile terminal is switched to the pre-photographing state, judging whether the mobile terminal is in an unused state.
In the unused state in step 202, an object exists within a preset distance facing the touch screen of the mobile terminal, or the ambient light intensity within a preset distance range of the camera of the mobile terminal is smaller than a preset intensity, or the mobile terminal has a preset acceleration or displacement in a preset direction.
The unused state of the mobile terminal may be that an object exists within a preset distance of a touch screen facing the mobile terminal, that is, the mobile terminal is in a situation where the touch screen is blocked, for example, the mobile terminal is placed in a pocket by a user, the touch screen is turned upside down on a desktop, and the like, so that detection of whether an object exists in a direction facing the touch screen of the mobile terminal can be performed, if the object is blocked, the distance between the object and the touch screen of the mobile terminal is further obtained, and whether the distance is smaller than the preset distance is determined, and if the distance is smaller than the preset distance, the mobile terminal is in the unused state.
Specifically, whether an object exists within a preset distance facing a touch screen of the mobile terminal may be determined using a distance sensor. The distance sensor may be an inductive distance sensor, an ultrasonic distance sensor, a photoelectric distance sensor, etc., and the embodiment of the present invention is not limited herein.
The unused state of the mobile terminal can also be that the ambient light intensity within the preset distance range of the mobile terminal camera is less than the preset intensity, that is, the camera is shielded, for example, the mobile terminal touch screen is placed on a desktop upwards or downwards, so that whether the detection of the shielded light is performed on the rear-mounted or front-mounted camera respectively, and whether the ambient light intensity around the rear-mounted or front-mounted camera is less than the preset intensity is judged.
Specifically, the ambient light intensity around the camera can be detected by using the photosensitive element of the camera or the image quality of the photo preview interface. If the light sensing element is utilized, the ambient light intensity is obtained by detecting the light incoming quantity of the light sensing element, whether the current ambient light intensity is smaller than the preset intensity or not is further judged, and if the current ambient light intensity is smaller than the preset intensity, the mobile terminal is in an unused state; if the photographing preview interface is utilized, whether the current ambient light intensity is smaller than the preset intensity or not can be judged by calculating the average brightness value of the current ambient image displayed in the photographing preview interface and comparing the average brightness value with the image average brightness value corresponding to the preset intensity value, and if the current ambient light intensity is smaller than the preset intensity, the mobile terminal is in an unused state.
The unused state of the mobile terminal may also be a situation where the mobile terminal has a preset acceleration or displacement in a preset direction, that is, is in motion, such as when the user walks, the mobile terminal is held in a hand, and the mobile terminal is placed in a bag to shake. It is noted that the situation in motion herein does not include motion in which the mobile terminal is relatively stationary with respect to the environment, such as a user using a cell phone while in a vehicle, using a cell phone while walking, etc.
Specifically, the acceleration sensor may be used to determine whether the mobile terminal has a preset acceleration or displacement in a preset direction. Acquiring the motion acceleration and the displacement of the mobile terminal through an acceleration sensor, judging whether the mobile terminal shakes according to the change of the motion acceleration and the displacement, and if the motion acceleration of the mobile terminal is smaller than a preset acceleration value or the displacement value of the mobile terminal is smaller than a preset displacement value, determining that the mobile terminal does not shake; and if the motion acceleration of the mobile terminal is greater than or equal to the preset acceleration value and the displacement value of the mobile terminal is greater than or equal to the preset displacement value, the mobile terminal is considered to shake, and the mobile terminal is judged to be in an unused state.
Step 203: and if the mobile terminal is in an unused state, powering off a voice coil motor of the mobile terminal, and returning the voice coil motor to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state.
Specifically, the voice coil motor is powered off, that is, the driving current of the voice coil motor is set to zero, and the voice coil motor automatically returns to the position where it was before the pre-photographing state was switched to due to the loss of the force generated by the driving current.
Before the mobile terminal is switched to the pre-photographing state, the position of the voice coil motor is the initial position of the voice coil motor when the power is not on. For example, when the voice coil motor is a mid-type motor, the initial position is a neutral position; when the voice coil motor is a conventional motor, the initial position is the lowermost position.
In step 203, the voice coil motor is powered off when the mobile terminal is not in use, so that meaningless power consumption caused by continuous automatic focusing of the voice coil motor when the camera does not take a picture is effectively prevented.
Optionally, after the voice coil motor of the mobile terminal is powered off and the voice coil motor returns to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state, whether the mobile terminal is in the use state is continuously judged, where the use state may be that no object exists within a preset distance facing the touch screen of the mobile terminal, the intensity of ambient light within a preset distance range of the camera of the mobile terminal is greater than or equal to the preset intensity, and the mobile terminal does not have the preset acceleration or displacement in the preset direction. The use state of the embodiment of the invention refers to the state that the user operates the mobile terminal.
And if the mobile terminal is in a use state, the voice coil motor is electrified again, so that the position of the voice coil motor moves according to a photographing scene, and an automatic focusing function is realized.
According to the embodiment of the invention, the voice coil motor is powered off when the camera of the mobile terminal is detected to be opened but not used, so that the problem of power consumption increase caused by continuous automatic focusing of the voice coil motor when the camera is not opened and the camera is not used for taking a picture is solved, the energy consumption of the mobile terminal is reduced, and the standby time is prolonged.
Third embodiment
Fig. 3 is a flowchart of a control method for implementing a voice coil motor of a mobile terminal according to a third embodiment of the present invention, which is different from the second embodiment in that the voice coil motor is powered off, and the third embodiment mainly adjusts the driving current of the voice coil motor to a preset value.
The control method of the voice coil motor of the third embodiment includes the steps of:
step 301: and detecting whether the mobile terminal is switched to a pre-photographing state.
In step 301, the detection method is the same as that in step 201 in the second embodiment of the present invention, and is not described herein again.
Step 302: and when the mobile terminal is detected to be switched to a pre-photographing state, judging whether the mobile terminal is in an unused state.
In this step 302, the unused state is that an object exists within a preset distance facing the touch screen of the mobile terminal, or the intensity of ambient light within a preset distance range of the camera of the mobile terminal is smaller than a preset intensity, or the mobile terminal has a preset acceleration or displacement in a preset direction. The specific method for determining whether the device is in an unused state is the same as the method for determining in step 202 in the second embodiment, and is not described herein again.
Step 303: and if the mobile terminal is not in use, adjusting the driving current of the voice coil motor of the mobile terminal to a preset current value, and enabling the voice coil motor to return to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state.
Specifically, when the mobile terminal determines that the mobile terminal is in an unused state, the driving current of the voice coil motor is adjusted to a preset current value, and the voice coil motor returns to the position where the voice coil motor was located before being switched to the pre-photographing state according to the driving of the preset current. Before the mobile terminal is switched to the pre-photographing state, the position of the voice coil motor is the initial position of the voice coil motor when the power is not on. For example, when the voice coil motor is a mid-type motor, the initial position is a neutral position; when the voice coil motor is a conventional motor, the initial position is the lowermost position.
In the embodiment of the present invention, the preset current value is set in relation to the starting current of the voice coil motor. Since the auto-focusing is suspended in order to return or maintain the voice coil motor to the initial position where the voice coil motor is located when not energized, the preset current value is smaller than the start current of the voice coil motor. For example, if the starting current of the voice coil motor used by the mobile terminal is 15mA, the preset current value may be 10mA, or may also be 5mA, or may be any other value smaller than 15mA and larger than 0, and the embodiment of the present invention is not limited herein.
In this step 303, by adjusting the driving current of the voice coil motor to a smaller preset value, the power consumption caused by auto-focusing of the mobile terminal in an unused state is reduced, and the voice coil motor is kept in a powered-on state, that is, the driving current of the voice coil motor is kept at the preset current value, and the voice coil motor does not need to be powered on again when the auto-focusing is resumed, so that the control efficiency of photographing is improved.
Step 304: judging whether the mobile terminal is in a use state or not; and if the mobile terminal is in the use state, adjusting the driving current of the voice coil motor according to the preset current value, so that the position of the voice coil motor moves according to a photographing scene.
Specifically, in the embodiment of the present invention, the use state may be that no object exists within a preset distance facing the touch screen of the mobile terminal, the ambient light intensity of the preset distance range of the camera of the mobile terminal is greater than or equal to a preset intensity, and the mobile terminal does not have the preset acceleration or displacement in the preset direction.
Specifically, the principle of determining whether the mobile terminal is in a use state is similar to the principle of determining whether the mobile terminal is in an unused state in step 302 of the embodiment of the present invention, and when the mobile terminal is in a use state, the driving current is increased on the basis of the original driving current, instead of being powered on again in a power-off situation, so that the voice coil motor reaches the start condition, and changes the position along with the change of the photographing scene, thereby achieving the recovery of the auto-focusing function.
Optionally, another implementation manner of the embodiment of the present invention is shown in fig. 4, and step 303 includes, after step 404: and if the time that the mobile terminal is in the unused state is more than a time threshold, powering off the voice coil motor.
Specifically, the time that the mobile terminal is in the non-use state may be obtained by a timer, and the obtained time is compared with a preset time threshold, and when the time that the mobile terminal is in the non-use state is greater than the time threshold, the driving current of the voice coil motor is turned off.
Therefore, the problem that the electric quantity is still consumed due to the fact that the voice coil motor is powered on all the time when the mobile terminal is in an unused state for a long time is solved, energy consumption is further reduced, and the standby time of the mobile terminal is prolonged.
According to the embodiment of the invention, when the state that the camera of the mobile terminal is started but not used is detected, the driving current of the voice coil motor is adjusted to a preset current value, so that the problem that the delay is large when the automatic focusing of the voice coil motor is closed again of the mobile terminal is solved, the energy consumption of the mobile terminal is reduced, and the use efficiency and the user experience of the mobile terminal are improved.
Fourth embodiment
Fig. 5 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention. The mobile terminal 500 shown in fig. 5 includes a detection module 501, a determination module 502, and an adjustment module 503.
The detecting module 501 is configured to detect whether the mobile terminal 500 is switched to a pre-photographing state.
Here, the switching of the mobile terminal 500 to the pre-photographing state may be that an application related to the camera is started, and enters a photographing preview interface to switch from an original non-photographing state to the pre-photographing state. The non-photographing state may be a standby state, a state in which a part of applications are running, or a state in which other cameras are not turned on and do not enter a photographing preview interface, which is not limited herein.
A determining module 502, configured to determine whether the mobile terminal 500 is in an unused state when the detecting module 501 detects that the mobile terminal 500 is switched to a pre-photographing state.
Specifically, the unused state of the embodiment of the present invention may be that an object exists within a preset distance facing the touch screen of the mobile terminal 500, or the intensity of the ambient light within a preset distance range of the camera of the mobile terminal 500 is smaller than a preset intensity, or the mobile terminal 500 has a preset acceleration or displacement in a preset direction, which is not limited herein.
An adjusting module 503, configured to adjust a driving current of a voice coil motor of the mobile terminal 500 when the determining module 502 determines that the mobile terminal 500 is in an unused state, so that the voice coil motor returns to a position where the voice coil motor is located before being switched to a pre-photographing state. Specifically, there are two ways:
in a first mode, if the mobile terminal 500 is not in use, the voice coil motor is powered off, so that the voice coil motor returns to the position where the voice coil motor is located before being switched to the pre-photographing state;
in a second mode, if the mobile terminal 500 is not in use, the driving current of the voice coil motor is adjusted to a preset current value, so that the voice coil motor returns to the position where the voice coil motor was before being switched to the pre-photographing state.
Optionally, the determining module 502 is further configured to, after the adjusting module 503 adjusts the driving current of the voice coil motor to a preset current value to enable the voice coil motor to return to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state, determine whether the mobile terminal 500 is in the use state, where the use state may be that no object exists within a preset distance of the touch screen of the mobile terminal 500, and the intensity of the ambient light within the preset distance range of the camera of the mobile terminal 500 is greater than or equal to the preset intensity, and the mobile terminal 500 does not have the preset acceleration or displacement in the preset direction.
The adjusting module 503 is further configured to, when the determining module 502 determines that the mobile terminal 500 is in the use state, adjust the driving current of the voice coil motor of the mobile terminal 500 according to the preset current value, so that the position of the voice coil motor moves according to a photographing scene.
Optionally, the adjusting module 503 is further configured to, after adjusting the driving current of the voice coil motor to a preset current value and returning the voice coil motor to the position before the voice coil motor is switched to the pre-photographing state, power off the voice coil motor if the time that the mobile terminal 500 is in the unused state is greater than a time threshold.
The mobile terminal provided in this embodiment is capable of implementing each process of the control method of the voice coil motor of the mobile terminal in the first, second, and third embodiments.
According to the embodiment of the invention, the driving current of the voice coil motor is adjusted when the camera of the mobile terminal is detected to be opened but not used, so that the problem of power consumption increase caused by continuous automatic focusing of the voice coil motor when the camera is not opened but not used for taking a picture is solved, the energy consumption of the mobile terminal is reduced, and the standby time is prolonged.
Fifth embodiment
Fig. 6 is a block diagram of an internal entity structure of a mobile terminal according to a fifth embodiment of the present invention. The mobile terminal 600 shown in fig. 6 includes: at least one processor 601, memory 602, camera module 605, at least one network interface 604, and user interface 603. The various components in the mobile terminal 600 are coupled together by a bus system 606. It is understood that the bus system 606 is used to enable communications among the components. The bus system 606 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 606 in FIG. 6.
The mobile terminal 600 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
It will be appreciated that the memory 602 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 602 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 602 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 6021 and application programs 6022.
The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs such as a Media Player (Media Player), a Browser (Browser), and the like, and is used to implement various application services. A program implementing the method of an embodiment of the invention can be included in the application program 6022.
In an embodiment of the present invention, the processor 601 may include various sensors on the mobile terminal 600, such as a distance sensor, a light sensor, an acceleration sensor, etc., the user interface 603 includes a touch screen, a keyboard input device, a headset, etc., of the mobile terminal 600, the camera module 605 includes, but is not limited to, a driving device and a voice coil motor, and the user interface may be implemented by invoking programs or instructions stored in the memory 602, specifically, which may be a program or an instruction stored in the application 6022, the camera module 605 is configured to detect whether the mobile terminal 600 is switched to the pre-photographing state, the processor 601 is configured to determine whether the mobile terminal 600 is in the non-use state when the camera module 605 detects that the mobile terminal 600 is switched to the pre-photographing state, when the mobile terminal 600 is not in use, the camera module 605 adjusts the driving current of the voice coil motor, so that the voice coil motor returns to the position where the voice coil motor was before the voice coil motor was switched to the pre-photographing state.
The camera module 605 detects whether the mobile terminal 600 is switched to the pre-photographing state, specifically, whether to start the camera or enter a photographing preview interface. Specifically, the camera module 605 may determine whether the mobile terminal 600 has turned on the camera by detecting whether the power of the control chip related to the camera is turned on, or determine whether the mobile terminal 600 enters the preview interface by identifying that the camera of the mobile terminal 600 obtains an image of the surrounding environment and displays the image on the touch screen interface. For example, when the camera module 605 detects that the camera control chip is powered on or the touch screen interface displays an image of the surrounding environment acquired by the camera, it may be determined that the mobile terminal 600 is switched to the pre-photographing state.
Alternatively, the adjustment of the driving current of the voice coil motor by the camera module 605 may be to power off the voice coil motor.
Alternatively, the adjustment of the driving current of the voice coil motor by the camera module 605 may be to adjust the driving current of the voice coil motor to a preset current value.
The method disclosed by the embodiment of the invention can be applied to the camera module 605 controlled by the processor 601 or realized by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The Processor 601 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing modules may be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic modules configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the camera module 605 is further configured to adjust a driving current of the voice coil motor of the mobile terminal 600 to a preset current value, so that after the voice coil motor returns to a position where the voice coil motor is located before being switched to the pre-photographing state, the processor 601 determines whether the mobile terminal 600 is in a use state, where the use state is that no object exists within a preset distance facing the touch screen of the mobile terminal 600, and an ambient light intensity within a preset distance range of the camera of the mobile terminal 600 is greater than or equal to the preset intensity, and the mobile terminal 600 does not have the preset acceleration or displacement in the preset direction; when the mobile terminal 600 is in a use state, the driving current of the voice coil motor of the mobile terminal 600 is adjusted according to the preset current value, so that the position of the voice coil motor moves according to a photographing scene.
Optionally, as another implementation manner of this embodiment, the camera module 605 is further configured to adjust the driving current of the voice coil motor to a preset current value, so that after the voice coil motor returns to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state, if the time that the mobile terminal 600 is in the unused state is greater than a time threshold, the voice coil motor is powered off.
The mobile terminal 600 can implement the processes of implementing voice coil motor control of the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
According to the embodiment of the invention, the driving current of the voice coil motor is adjusted when the camera of the mobile terminal is detected to be opened but not used, so that the problem of power consumption increase caused by continuous automatic focusing when the camera is not used but opened unintentionally is solved, the energy consumption of the mobile terminal is reduced, and the standby time is prolonged.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A control method of a voice coil motor of a mobile terminal is characterized by comprising the following steps:
detecting whether the mobile terminal is switched to a pre-photographing state;
if the mobile terminal is switched to a pre-photographing state, judging whether the mobile terminal is in an unused state;
if the mobile terminal is not in use, adjusting the driving current value of the voice coil motor of the mobile terminal, adjusting the driving current of the voice coil motor of the mobile terminal to a preset current value, and enabling the voice coil motor to return to the position where the voice coil motor is located before being switched to the pre-photographing state; the preset current value is smaller than the starting current of the voice coil motor; when the mobile terminal is switched to a pre-photographing state and the mobile terminal is not in use, the voice coil motor keeps a power-on state;
after the step of adjusting the driving current of the voice coil motor of the mobile terminal to return the voice coil motor to the position before the voice coil motor is switched to the pre-photographing state, the method further includes:
judging whether the mobile terminal is in a use state or not;
and if the mobile terminal is in a use state, increasing the driving current of the voice coil motor according to the preset current value, so that the position of the voice coil motor moves according to a photographing scene.
2. The method according to claim 1, wherein the unused state is that an object exists within a preset distance facing a touch screen of the mobile terminal, or that an ambient light intensity within a preset distance range of a camera of the mobile terminal is smaller than a preset intensity, or that the mobile terminal has a preset acceleration or displacement in a preset direction.
3. The method according to claim 1, wherein after the step of adjusting the driving current of the voice coil motor of the mobile terminal to a preset current value and returning the voice coil motor to the position before switching to the pre-photographing state, the method further comprises:
and if the time that the mobile terminal is in the unused state is greater than a time threshold, powering off the voice coil motor.
4. The mobile terminal is characterized by comprising a detection module, a judgment module and an adjustment module, wherein:
the detection module is used for detecting whether the mobile terminal is switched to a pre-photographing state;
the judging module is used for judging whether the mobile terminal is in an unused state or not when the detecting module detects that the mobile terminal is switched to a pre-photographing state;
the adjusting module is used for adjusting the driving current value of the voice coil motor of the mobile terminal when the judging module judges that the mobile terminal is in the unused state, adjusting the driving current of the voice coil motor of the mobile terminal to a preset current value, and enabling the voice coil motor to return to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state; the preset current value is smaller than the starting current of the voice coil motor; when the mobile terminal is switched to a pre-photographing state and the mobile terminal is not in use, the voice coil motor keeps a power-on state;
the judging module is further configured to judge whether the mobile terminal is in a use state after the step of adjusting the driving current of the voice coil motor of the mobile terminal to return the voice coil motor to the position before the voice coil motor is switched to the pre-photographing state;
the adjusting module is further configured to increase the driving current of the voice coil motor according to the preset current value when the judging module judges that the mobile terminal is in the use state, so that the position of the voice coil motor moves according to a photographing scene.
5. The mobile terminal according to claim 4, wherein the unused state is that an object exists within a preset distance facing a touch screen of the mobile terminal, or an ambient light intensity within a preset distance range of a camera of the mobile terminal is smaller than a preset intensity, or the mobile terminal has a preset acceleration or displacement in a preset direction.
6. The mobile terminal of claim 4,
the adjusting module is used for adjusting the driving current of the voice coil motor of the mobile terminal to a preset current value, so that after the voice coil motor returns to the position where the voice coil motor is located before the voice coil motor is switched to the pre-photographing state, if the time of the mobile terminal in the unused state is greater than a time threshold value, the voice coil motor is powered off.
CN201510931162.1A 2015-12-14 2015-12-14 Control method of voice coil motor of mobile terminal and mobile terminal Active CN105530385B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510931162.1A CN105530385B (en) 2015-12-14 2015-12-14 Control method of voice coil motor of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510931162.1A CN105530385B (en) 2015-12-14 2015-12-14 Control method of voice coil motor of mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN105530385A CN105530385A (en) 2016-04-27
CN105530385B true CN105530385B (en) 2021-02-26

Family

ID=55772350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510931162.1A Active CN105530385B (en) 2015-12-14 2015-12-14 Control method of voice coil motor of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN105530385B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430272B (en) * 2015-12-16 2019-04-23 深圳市金立通信设备有限公司 A kind of method and terminal reducing camera power consumption
CN105959518B (en) * 2016-05-20 2019-02-05 Oppo广东移动通信有限公司 Motor control method, device and picture pick-up device
JP2018032453A (en) * 2016-08-23 2018-03-01 株式会社東芝 Attachment position correction method of disk device and disk device
CN106338807B (en) * 2016-11-04 2019-10-25 Oppo广东移动通信有限公司 A kind of Atomatic focusing method, device and terminal
CN110798600B (en) * 2019-11-28 2022-03-22 Oppo广东移动通信有限公司 Lens module, control method and electronic equipment
CN111479069B (en) * 2020-04-23 2021-09-24 深圳创维-Rgb电子有限公司 Camera control method, display terminal and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725770A (en) * 2004-07-21 2006-01-25 三星电子株式会社 The method of control camera mode in the portable terminal
CN102253467A (en) * 2010-05-19 2011-11-23 佳能企业股份有限公司 Automatic focusing device for mobile communication device
CN103605419A (en) * 2013-10-29 2014-02-26 厦门美图网科技有限公司 Energy saving and protecting method and device for mobile device camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725770A (en) * 2004-07-21 2006-01-25 三星电子株式会社 The method of control camera mode in the portable terminal
CN102253467A (en) * 2010-05-19 2011-11-23 佳能企业股份有限公司 Automatic focusing device for mobile communication device
CN103605419A (en) * 2013-10-29 2014-02-26 厦门美图网科技有限公司 Energy saving and protecting method and device for mobile device camera

Also Published As

Publication number Publication date
CN105530385A (en) 2016-04-27

Similar Documents

Publication Publication Date Title
CN105530385B (en) Control method of voice coil motor of mobile terminal and mobile terminal
JP5365885B2 (en) Handheld electronic device, double image acquisition method applied thereto, and program loaded thereon
US9069407B2 (en) Display control apparatus and display control method
US8319883B2 (en) Image pickup apparatus and control method thereof
KR102023179B1 (en) Dual recording method and apparatus for electronic device having dual camera
US20150116544A1 (en) Method and apparatus of working mode control, and electronic device
WO2010136853A1 (en) Self-portrait assistance in image capturing devices
KR20140128885A (en) Power efficient image sensing apparatus, method of operating the same and eye/gaze tracking system
WO2014105507A1 (en) Front camera face detection for rear camera zoom function
KR20120070502A (en) Image display control apparatus and image display control method
CN104539844A (en) Terminal
KR20160065920A (en) Controlling a camera with face detection
US20130155041A1 (en) Display control device and control method for display control device
CN104539843A (en) Terminal shooting method
RU2701057C1 (en) Method and device for displaying time on a mobile device
CN107690043B (en) Image pickup apparatus, control method thereof, and storage medium
US20170094189A1 (en) Electronic apparatus, imaging method, and non-transitory computer readable recording medium
JP2013179536A (en) Electronic apparatus and control method therefor
US20140148218A1 (en) Handheld electronic apparatus and method thereof
KR20210101009A (en) Method for Recording Video using a plurality of Cameras and Device thereof
KR20130030212A (en) Imaging device, imaging method and storage medium
US10291856B2 (en) Image capturing apparatus having self-image display mode, and control therefor
US20130010169A1 (en) Imaging apparatus
EP3766040B1 (en) Method and electronic device for recommending image capture mode
JP2015119259A (en) Display controller, control method and program for the same, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant