CN108429888B - Light supplementing method and mobile terminal - Google Patents

Light supplementing method and mobile terminal Download PDF

Info

Publication number
CN108429888B
CN108429888B CN201810400480.9A CN201810400480A CN108429888B CN 108429888 B CN108429888 B CN 108429888B CN 201810400480 A CN201810400480 A CN 201810400480A CN 108429888 B CN108429888 B CN 108429888B
Authority
CN
China
Prior art keywords
light
supplement lamp
light supplement
synchronization signal
frame synchronization
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
CN201810400480.9A
Other languages
Chinese (zh)
Other versions
CN108429888A (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 CN201810400480.9A priority Critical patent/CN108429888B/en
Publication of CN108429888A publication Critical patent/CN108429888A/en
Priority to PCT/CN2019/084295 priority patent/WO2019206225A1/en
Application granted granted Critical
Publication of CN108429888B publication Critical patent/CN108429888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the invention discloses a light supplementing method and a mobile terminal. The method comprises the following steps: when a frame synchronization signal output by a frame synchronization signal output pin of the camera is output to a driving circuit of the light supplement lamp, the frame synchronization signal is used as a trigger signal through the driving circuit to drive the light supplement lamp to be started, and the frame synchronization signal output pin is connected with an enabling pin of the driving circuit of the light supplement lamp. The method provided by the embodiment of the invention can realize synchronous control of the lighting of the light supplementing lamp and the data acquisition of the camera, so that the lighting time of the light supplementing lamp is at least the time of acquiring one frame of image, namely, enough exposure brightness can be provided for data acquisition, the lighting time of the light supplementing lamp is reduced, the service life of the light supplementing lamp is prolonged, and the power consumption of the light supplementing lamp is reduced.

Description

Light supplementing method and mobile terminal
Technical Field
The invention relates to the field of terminals, in particular to a light supplementing method and a mobile terminal.
Background
With the rapid development of mobile communication technology, mobile terminals have become essential electronic products for people's life, and the photographing function or face recognition function in mobile terminals is one of the functions commonly used by people at present. Generally, a camera and a light supplement lamp are arranged in a mobile terminal, the camera is used for collecting image data or video data of a shot object when a user takes a picture or recognizes a face, and the light supplement lamp is used for supplementing light to the shot object.
However, at present, the time point when the camera starts to collect data and the time point when the light supplement lamp is turned on are separately controlled, in order to provide sufficient exposure brightness for data collection, the lighting time of the light supplement lamp is required to be at least the time for collecting two frames of images, and the lighting time of the light supplement lamp is long, so that the service life of the light supplement lamp is short, and the power consumption is high.
Disclosure of Invention
The embodiment of the invention provides a light supplementing method, which aims to solve the problems of short service life and high power consumption caused by long lighting time of a light supplementing lamp.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, a method for supplementing light is provided, where the method includes:
when a frame synchronization signal output by a frame synchronization signal output pin of the camera is output to a driving circuit of the light supplement lamp, the frame synchronization signal is used as a trigger signal through the driving circuit to drive the light supplement lamp to be started, and the frame synchronization signal output pin is connected with an enabling pin of the driving circuit of the light supplement lamp.
In a second aspect, a mobile terminal is provided, which includes:
and the driving circuit of the light supplement lamp is used for driving the light supplement lamp to be started by taking the frame synchronization signal as a trigger signal when the frame synchronization signal output by the frame synchronization signal output pin of the camera is output to the driving circuit of the light supplement lamp, and the frame synchronization signal output pin is connected with an enabling pin of the driving circuit of the light supplement lamp.
In a third aspect, a mobile terminal is provided, which includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of supplementing light according to the first aspect.
In a fourth aspect, a computer-readable medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method of supplementing light according to the first aspect.
In the embodiment of the invention, the frame synchronization signal output pin of the camera is connected with the enable pin of the drive circuit of the light supplement lamp, so that when the frame synchronization signal is output to the drive circuit of the light supplement lamp, the drive circuit drives the light supplement lamp to be turned on by taking the frame synchronization signal as a trigger signal, synchronous control of the light supplement lamp and data acquisition of the camera can be realized, the light-on duration of the light supplement lamp is at least the time of acquiring one frame of image, and sufficient exposure brightness can be provided for data acquisition, the light-on duration of the light supplement lamp is reduced, the service life of the light supplement lamp is prolonged, and the power consumption of the light supplement lamp is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart of a method of supplementing light according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a method of supplementing light according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a mobile terminal according to another 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.
Fig. 1 is a schematic flow chart of a method of supplementing light according to an embodiment of the present invention. The method shown in fig. 1 may be performed by a mobile terminal, and the method shown in fig. 1 includes:
and S110, when a frame synchronization signal output by a frame synchronization signal output pin of the camera is output to a driving circuit of a light supplement lamp, the frame synchronization signal is used as a trigger signal through the driving circuit to drive the light supplement lamp to be started, and the frame synchronization signal output pin is connected with an enabling pin of the driving circuit of the light supplement lamp.
It should be noted that the frame synchronization signal output pin (VSYNC _ OUT) of the camera may also be referred to as a frame synchronization signal pin, and when the camera is to expose the acquired data, the level of the frame synchronization signal output pin is pulled high, and the frame synchronization signal is output at the same time. The frame synchronization signal output pin is connected with the enable pin of the drive circuit, so that the frame synchronization signal output by the frame synchronization signal output pin is directly output to the drive circuit. The frequency of the frame synchronization signal is the same as the sampling frequency of the camera.
It should be further noted that the specific implementation manner of connecting the frame synchronization signal output pin and the enable pin of the driving circuit of the fill-in lamp may be that the frame synchronization signal output pin is directly connected to the enable pin of the driving circuit of the fill-in lamp, or may be that the frame synchronization signal output pin is indirectly connected to the enable pin of the driving circuit of the fill-in lamp.
Optionally, in some embodiments, the camera is a Complementary Metal Oxide semiconductor camera Module (CCM).
Optionally, in some embodiments, the camera is used for ordinary photographing, in which case, the fill-in light is a visible light fill-in light. Or the camera is used for face recognition, and under the condition, the light supplement lamp is an infrared light supplement lamp. Because the infrared light belongs to the invisible light, the infrared light filling lamp is used for filling light to the process of face recognition, uncomfortable feeling of people can not be generated, and the comfort of users can be improved.
Optionally, as an example, the fill-in light is an infrared fill-in light, and before S110, the method shown in fig. 1 further includes: acquiring light information of a current environment, wherein the light information comprises one of the following information: light intensity information, illuminance information, and luminance information; and determining whether the condition of turning on a light supplement lamp under the current environment is met or not according to the light information. It will be appreciated that the light information may also include other parameter information for characterizing the light.
For example, the light information includes illuminance information, the illuminance of the current environment is detected by an ambient light sensor in the mobile terminal, an illuminance value is obtained, the obtained illuminance value is compared with a preset illuminance threshold (e.g., 2lux), and if the obtained illuminance value is lower than the preset illuminance threshold, it is determined that the condition for turning on the infrared light supplement lamp in the current environment is satisfied. Here, an environment in which the illuminance value is lower than the preset illuminance threshold may be referred to as a "dark environment".
Further, as another example, the fill-in light is an infrared fill-in light, and before S110, the method illustrated in fig. 1 further includes: whether a user inputs a face recognition triggering operation for triggering face recognition is detected. That is to say, when it is detected that the face recognition under the dark environment is triggered, when the frame synchronization signal output by the frame synchronization signal output pin of the camera is output to the driving circuit of the infrared fill-in light, the driving circuit drives the infrared fill-in light to be turned on by taking the frame synchronization signal as a trigger signal.
For example, the face recognition triggering operation may be an operation of a touch switch (Power) key when the mobile terminal is in a screen-off state, or a wrist-lifting operation when the mobile terminal is in a screen-off state, and whether a user has the wrist-lifting operation may be detected through a three-axis gyroscope and a gravity accelerometer disposed in the mobile terminal.
In the embodiment of the present invention, it is understood that the driving circuit using the frame synchronization signal as the trigger signal may be regarded as using the frame synchronization signal as the enable signal of the driving circuit. Although the camera starts to acquire data at a preset time interval after the level of the frame synchronization signal pin is pulled high in a normal condition, and the frame synchronization signal output when the level of the frame synchronization signal pin is pulled high is directly output to the driving circuit to serve as a trigger signal so that the driving circuit drives the fill-in light to be turned on, the preset time is usually very short, for example, 1ms, so that the preset time can be ignored, and it can be considered that the turn-on of the fill-in light and the start of data acquisition by the camera are controlled simultaneously.
Optionally, in some embodiments, the driving circuit drives the fill-in light to turn on by using the frame synchronization signal as a trigger signal, and specifically includes: and outputting a target current to drive the infrared light supplement lamp to be turned on at the moment of receiving the frame synchronization signal through the driving circuit.
Generally, a camera on a mobile terminal is used for both common photographing and face recognition, and in order to meet the two requirements, the transmittance of an infrared film of the camera is usually made to be very low, for example, lower than 1%. In this case, if face recognition is to be performed, the current of the infrared fill light is increased, and is usually increased to more than 1A. And the excessive current can cause the infrared fill-in lamp to be lighted for hundreds of ms, and the junction temperature can be reached, so that the infrared fill-in lamp cannot be used. Therefore, simulation can be performed according to the ambient brightness and the required fill light intensity, the current value of the target current required to be output by the driving circuit is determined, and the determined current value is preset in the mobile terminal, so that the implementation of the mobile terminal can be simplified.
Further, in some embodiments, the method of fig. 1 further comprises: and determining the current value of the target current according to the light information and a preset corresponding relation, wherein the preset corresponding relation comprises the corresponding relation between the light information and the current value.
For example, a corresponding relationship between the illuminance value and the current value is preset in the mobile terminal, and after the illuminance value of the current environment is obtained, the current value for driving the supplementary lighting lamp can be obtained according to the obtained illuminance value and the corresponding relationship. Therefore, the appropriate driving current can be determined according to the brightness condition of the current environment, and the problem of junction temperature of the light supplement lamp caused by using large current all the time is avoided.
It should be noted that, in the embodiment of the present invention, the fact that the fill light is turned on means that a turn-on/turn-off period of the fill light is triggered. In the primary on-off period, the light supplement lamp is turned on and off according to the period of lighting the first time length and turning off the second time length. After a light-on and light-off period of the light supplement lamp is finished, if the frame synchronization signal output by the frame synchronization signal output pin of the camera is output to the driving circuit of the light supplement lamp again, the light-on and light-off period of the light supplement lamp is triggered again. In the prior art, the time point of data acquisition of the camera and the time point of the turn-on of the light supplement lamp are controlled separately, so that enough exposure brightness is provided for data acquisition, and in a lighting and extinguishing period, the lighting duration of the light supplement lamp is at least the time of acquiring two frames of images. In the embodiment of the invention, the on and data acquisition of the light supplement lamp are synchronously controlled, so that in a lighting and extinguishing period, the lighting time of the light supplement lamp is at least the time of acquiring one frame of image, the lighting time of the light supplement lamp is reduced, the emission power of the light supplement lamp is reduced, the effective working time of the light supplement lamp is prolonged, and the service life of the whole machine is prolonged.
Optionally, as an example, an experimental simulation is performed according to the junction temperature speed of the infrared light supplement lamp and the sampling frequency of the camera, and a time length that the light supplement lamp needs to be illuminated and a time length that the light supplement lamp needs to be extinguished in a turn-on and turn-off period are determined. For example, in an on-off period, the light supplement lamp needs to be illuminated for 90ms, and needs to be turned off for 300 ms.
Fig. 2 is a schematic flow chart of a method of supplementing light according to an embodiment of the present invention. The method shown in fig. 2 may be performed by a mobile terminal, and the method shown in fig. 2 includes:
and S210, detecting that the face recognition in the dark environment is triggered.
It will be appreciated that the dark environment may be a light environment preset according to different rules or criteria.
And S220, outputting the frame synchronization signal output by the camera to an enabling control port of a driving circuit of the light supplement lamp.
And S230, the driving circuit of the light supplement lamp drives the light supplement lamp to be on by taking the frame synchronization signal as a trigger signal.
The method for supplementary lighting according to the embodiment of the present invention is described in detail above with reference to fig. 1 and 2, and the mobile terminal according to the embodiment of the present invention will be described in detail below with reference to fig. 3. The mobile terminal 30 shown in fig. 3 includes:
and the driving circuit 31 of the light supplement lamp is used for driving the light supplement lamp to be turned on by taking the frame synchronization signal as a trigger signal when the frame synchronization signal output by the frame synchronization signal output pin of the camera is output to the driving circuit of the light supplement lamp, and the frame synchronization signal output pin is connected with an enabling pin of the driving circuit of the light supplement lamp.
According to the mobile terminal provided by the embodiment of the invention, the frame synchronization signal output pin of the camera is connected with the enable pin of the drive circuit of the light supplement lamp, when the frame synchronization signal is output to the drive circuit of the light supplement lamp, the frame synchronization signal is used as a trigger signal through the drive circuit to drive the light supplement lamp to be turned on, so that synchronous control of the light supplement lamp and data acquisition of the camera can be realized, the light-on duration of the light supplement lamp is at least the time of acquiring one frame of image, sufficient exposure brightness can be provided for data acquisition, the light-on duration of the light supplement lamp is reduced, the service life of the light supplement lamp is prolonged, and the power consumption of the light supplement lamp is reduced.
Optionally, as an embodiment, the fill light is an infrared fill light, and as shown in fig. 3, the mobile terminal 30 further includes:
the processing unit 32 is configured to acquire light information of a current environment before a frame synchronization signal output by a frame synchronization signal output pin of the camera is output to the determination circuit of the fill-in light, where the light information includes one of the following information: light intensity information, illuminance information, and luminance information;
and determining whether the condition of turning on the infrared light supplement lamp under the current environment is met or not according to the light information.
Optionally, as an embodiment, the processing unit 32 is further configured to:
before a frame synchronization signal output by a frame synchronization signal output pin of the camera is output to a driving circuit of the light supplement lamp, whether a user inputs a face recognition triggering operation for triggering face recognition is detected.
Optionally, as an embodiment, the driving circuit 31 of the fill light is specifically configured to:
and outputting a target current to drive the infrared light supplement lamp to be turned on at the moment of receiving the frame synchronization signal.
Optionally, as an embodiment, the driving circuit 31 of the fill light is further configured to:
and determining the current value of the target current according to the light information and a preset corresponding relation, wherein the preset corresponding relation comprises the corresponding relation between the light information and the current value.
The mobile terminal according to the embodiment of the present invention may refer to the flow corresponding to the method according to the embodiment of the present invention, and each unit/module and the other operations and/or functions in the mobile terminal are respectively for implementing the corresponding flow in the method shown in fig. 1, and are not described herein again for brevity.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal implementing an embodiment of the present invention. As shown in fig. 4, the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to drive the light supplement lamp to be turned on by using the frame synchronization signal as a trigger signal through the driving circuit when the frame synchronization signal output by the frame synchronization signal output pin of the camera is output to the driving circuit of the light supplement lamp, and the frame synchronization signal output pin is connected to an enable pin of the driving circuit of the light supplement lamp.
According to the mobile terminal provided by the embodiment of the invention, the frame synchronization signal output pin of the camera is connected with the enable pin of the drive circuit of the light supplement lamp, when the frame synchronization signal is output to the drive circuit of the light supplement lamp, the frame synchronization signal is used as a trigger signal through the drive circuit to drive the light supplement lamp to be turned on, so that synchronous control of the light supplement lamp and data acquisition of the camera can be realized, the light-on duration of the light supplement lamp is at least the time of acquiring one frame of image, sufficient exposure brightness can be provided for data acquisition, the light-on duration of the light supplement lamp is reduced, the service life of the light supplement lamp is prolonged, and the power consumption of the light supplement lamp is reduced.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensor 405 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., wherein the infrared sensor can measure a distance between an object and the mobile terminal by emitting and receiving infrared light, which is not described herein again.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes a camera, a fill light, and some functional modules not shown, which are not described herein again.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the method embodiment shown in fig. 1, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the method shown in fig. 1, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (4)

1. A method of supplementing light, comprising:
when a frame synchronization signal output by a frame synchronization signal output pin of a camera is output to a driving circuit of a light supplement lamp, the frame synchronization signal is used as a trigger signal through the driving circuit to drive the light supplement lamp to be started, and the frame synchronization signal output pin is connected with an enabling pin of the driving circuit of the light supplement lamp;
before the frame synchronizing signal that the frame synchronizing signal output pin of camera output exported to the drive circuit of light filling lamp, still include:
acquiring light information of a current environment;
determining whether a condition for turning on the light supplement lamp in the current environment is met or not according to the light information, and turning on the light supplement lamp when the light information of the current environment is lower than 2 lux;
before the frame synchronizing signal that the frame synchronizing signal output pin of camera output exported to the drive circuit of light filling lamp, still include:
detecting whether a user inputs a face recognition triggering operation for triggering face recognition;
wherein the face recognition triggering operation comprises: carrying out wrist lifting operation when the mobile terminal is in a screen-off state;
in a turn-on and turn-off period of the light supplement lamp, the time length of the light supplement lamp needing to be illuminated is 90ms, and the time length of the light supplement lamp needing to be turned off is 30 ms;
wherein the light supplement lamp is an infrared light supplement lamp,
the light information comprises one of the following information: light intensity information, illuminance information, and luminance information;
wherein, drive the light filling lamp to turn on with the frame synchronization signal as a trigger signal through the drive circuit, including:
outputting a target current to drive the infrared light supplement lamp to be turned on at the moment of receiving the frame synchronization signal through the driving circuit;
wherein the content of the first and second substances,
and determining the current value of the target current according to the light information and a preset corresponding relation, wherein the preset corresponding relation comprises the corresponding relation between the light information and the current value.
2. A mobile terminal, comprising:
the driving circuit of the light supplement lamp is used for driving the light supplement lamp to be started by taking the frame synchronization signal as a trigger signal when the frame synchronization signal output by the frame synchronization signal output pin of the camera is output to the driving circuit of the light supplement lamp, and the frame synchronization signal output pin is connected with an enabling pin of the driving circuit of the light supplement lamp;
the mobile terminal further includes:
the processing unit is used for acquiring the light information of the current environment before the frame synchronization signal output by the frame synchronization signal output pin of the camera is output to the driving circuit of the light supplement lamp; determining whether a condition for turning on the light supplement lamp in the current environment is met or not according to the light information, and turning on the light supplement lamp when the light information of the current environment is lower than 2 lux;
the processing unit is further to:
before a frame synchronization signal output by a frame synchronization signal output pin of the camera is output to a driving circuit of the light supplement lamp, detecting whether a user inputs a face recognition triggering operation for triggering face recognition;
wherein the face recognition triggering operation comprises: carrying out wrist lifting operation when the mobile terminal is in a screen-off state;
in a turn-on and turn-off period of the light supplement lamp, the time length of the light supplement lamp needing to be illuminated is 90ms, and the time length of the light supplement lamp needing to be turned off is 30 ms;
the light supplement lamp is an infrared light supplement lamp, and the light information comprises one of the following information: light intensity information, illuminance information, and luminance information;
the driving circuit of the light supplement lamp is specifically configured to:
outputting a target current at the moment of receiving the frame synchronization signal to drive the infrared light supplement lamp to be started;
wherein, the drive circuit of light filling lamp is still used for:
and determining the current value of the target current according to the light information and a preset corresponding relation, wherein the preset corresponding relation comprises the corresponding relation between the light information and the current value.
3. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the method of supplementing light according to claim 1.
4. A computer-readable medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method for supplementing light according to claim 1.
CN201810400480.9A 2018-04-28 2018-04-28 Light supplementing method and mobile terminal Active CN108429888B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810400480.9A CN108429888B (en) 2018-04-28 2018-04-28 Light supplementing method and mobile terminal
PCT/CN2019/084295 WO2019206225A1 (en) 2018-04-28 2019-04-25 Light supplement method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810400480.9A CN108429888B (en) 2018-04-28 2018-04-28 Light supplementing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108429888A CN108429888A (en) 2018-08-21
CN108429888B true CN108429888B (en) 2020-02-18

Family

ID=63162100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810400480.9A Active CN108429888B (en) 2018-04-28 2018-04-28 Light supplementing method and mobile terminal

Country Status (2)

Country Link
CN (1) CN108429888B (en)
WO (1) WO2019206225A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108429888B (en) * 2018-04-28 2020-02-18 维沃移动通信有限公司 Light supplementing method and mobile terminal
CN112184937A (en) * 2019-07-04 2021-01-05 钉钉控股(开曼)有限公司 Attendance checking and infrared light supplement lamp driving method, device, equipment and system
CN111741185B (en) * 2020-06-24 2022-04-26 杭州海康威视数字技术股份有限公司 Light supplement control method, device, system and equipment and storage medium
CN111988506B (en) * 2020-08-14 2022-03-01 深圳市商汤科技有限公司 Light supplementing method and device, electronic equipment and storage medium
CN112651383A (en) * 2021-01-15 2021-04-13 北京中科虹霸科技有限公司 A device and iris image acquisition system of polishing for iris image acquisition
CN113992853B (en) * 2021-10-27 2024-05-24 北京市商汤科技开发有限公司 Light supplementing lamp control method, module, equipment, system, device and electronic equipment
CN115604572B (en) * 2022-09-02 2023-12-01 荣耀终端有限公司 Image acquisition method, electronic device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658059A (en) * 2004-02-19 2005-08-24 乐金电子(中国)研究开发中心有限公司 Device and method for regulating brightness of flash lamp of camera of mobile terminal
CN101710922A (en) * 2009-11-10 2010-05-19 中兴通讯股份有限公司 Shooting method and system based on mobile terminal
CN103327229A (en) * 2012-03-19 2013-09-25 卡西欧计算机株式会社 Imaging device and imaging method
CN104079831A (en) * 2014-06-30 2014-10-01 苏州吉视电子科技有限公司 Camera with multiple paths of flash synchronizing signals
CN104092944A (en) * 2014-07-21 2014-10-08 Tcl通讯(宁波)有限公司 Flashlight control method and system used during mobile terminal photographing

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2600838Y (en) * 2003-01-07 2004-01-21 田果成 Supplementary light source for camera
JP2006005641A (en) * 2004-06-17 2006-01-05 Hitachi Eng Co Ltd Lighting system for imaging device
JP4645530B2 (en) * 2006-05-31 2011-03-09 岩崎電気株式会社 Illumination device and supplemental illumination system
JP5750577B2 (en) * 2009-05-07 2015-07-22 パナソニックIpマネジメント株式会社 Imaging device
CN102508392A (en) * 2011-10-20 2012-06-20 烟台渤海交通电子有限公司 Method and equipment for synchronizing analog video camera and light-emitting diode (LED) light compensation lamp
CN102932603A (en) * 2012-08-16 2013-02-13 浙江宇视科技有限公司 Light supplementation control method and camera
CN202818453U (en) * 2012-10-10 2013-03-20 常州宏本数码科技有限公司 Automatic light modulation system of camera
US9596390B2 (en) * 2013-04-23 2017-03-14 Olympus Corporation Imaging apparatus, imaging method, and computer-readable recording medium
CN203289537U (en) * 2013-05-25 2013-11-13 合肥德达智能科技有限公司 Video synchronization type LED stroboscope lamp circuit
JP5685668B1 (en) * 2014-06-25 2015-03-18 株式会社プラックス Imaging apparatus and imaging method
CN106210471A (en) * 2016-07-19 2016-12-07 成都百威讯科技有限责任公司 A kind of outdoor face recognition method and system
CN108429888B (en) * 2018-04-28 2020-02-18 维沃移动通信有限公司 Light supplementing method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658059A (en) * 2004-02-19 2005-08-24 乐金电子(中国)研究开发中心有限公司 Device and method for regulating brightness of flash lamp of camera of mobile terminal
CN101710922A (en) * 2009-11-10 2010-05-19 中兴通讯股份有限公司 Shooting method and system based on mobile terminal
CN103327229A (en) * 2012-03-19 2013-09-25 卡西欧计算机株式会社 Imaging device and imaging method
CN104079831A (en) * 2014-06-30 2014-10-01 苏州吉视电子科技有限公司 Camera with multiple paths of flash synchronizing signals
CN104092944A (en) * 2014-07-21 2014-10-08 Tcl通讯(宁波)有限公司 Flashlight control method and system used during mobile terminal photographing

Also Published As

Publication number Publication date
CN108429888A (en) 2018-08-21
WO2019206225A1 (en) 2019-10-31

Similar Documents

Publication Publication Date Title
CN108429888B (en) Light supplementing method and mobile terminal
CN107977144B (en) Screen capture processing method and mobile terminal
CN109343759B (en) Screen-turning display control method and terminal
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
CN108307106B (en) Image processing method and device and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
WO2019149044A1 (en) Method of controlling screen to turn on or off, and mobile terminal
CN108040209B (en) Shooting method and mobile terminal
CN108681413B (en) Control method of display module and mobile terminal
CN110162254B (en) Display method and terminal equipment
CN109947249B (en) Interaction method of wearable device, wearable device and computer storage medium
CN109257505B (en) Screen control method and mobile terminal
CN111246121A (en) Shooting light supplement method, electronic equipment and medium
CN110290331B (en) Screen control method and terminal
CN110213810B (en) Wearable device control method, wearable device and computer-readable storage medium
CN109618218B (en) Video processing method and mobile terminal
WO2019095155A1 (en) Fatigue notification method and terminal
CN108845785B (en) Display method and terminal
CN108196781B (en) Interface display method and mobile terminal
CN113220176A (en) Display method and device based on widget, electronic equipment and readable storage medium
CN110674718B (en) Face recognition method and electronic equipment
CN109743448B (en) Prompting method and terminal equipment
CN107729100B (en) Interface display control method and mobile terminal
CN110740214B (en) Prompting method, terminal and computer readable storage medium
CN110532050B (en) Motion data refreshing method, wearable device and computer readable storage medium

Legal Events

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